aboutsummaryrefslogtreecommitdiff
path: root/tools/opt/opt.cpp
AgeCommit message (Expand)Author
2010-10-07Move tool_output_file into its own file.Dan Gohman
2010-09-08Execute all Pass Printers even if -quiet is set.Tobias Grosser
2010-09-08Include original pass name in the PassPrinter's name.Tobias Grosser
2010-09-01Make tool_output_file's raw_ostream instance a member variable insteadDan Gohman
2010-08-20Use the new tool_output_file in several tools. This fixes a varietyDan Gohman
2010-08-18Allow the -analyze option to follow the -o option, which defaults toDan Gohman
2010-08-18Don't translate "-" to outs() manually; raw_ostream does that automatically.Dan Gohman
2010-08-06Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson
2010-08-06Revert r110396 to fix buildbots.Owen Anderson
2010-08-05Don't use PassInfo* as a type identifier for passes. Instead, use the addres...Owen Anderson
2010-07-12Convert some tab stops into spaces.Duncan Sands
2010-05-27Don't special-case stdout in llvm::WriteBitcodeToFile; just considerDan Gohman
2010-05-27Don't create an output stream when output is disabled.Dan Gohman
2010-05-27Avoid calling outs() and fouts() when the stream isn't really needed.Dan Gohman
2010-05-14Use regular PassManager instead of FunctionPassManager in opt, since itDan Gohman
2010-04-16introduce a new CallGraphSCC class, and pass it aroundChris Lattner
2010-03-24Trim #includes.Dan Gohman
2010-03-22Avoid leaking the FunctionPassManager from opt.Jeffrey Yasskin
2010-02-18Avoid a dangling pointer dereference, PassManager::add can delete the Pass.Benjamin Kramer
2010-01-27Kill ModuleProvider and ghost linkage by inverting the relationship betweenJeffrey Yasskin
2010-01-22elimiante the dynamic_cast's from opt.Chris Lattner
2010-01-22simplify code.Chris Lattner
2010-01-18Make opt -O3 act more like clang -O3 etc., by making the inlining thresholdsEli Friedman
2010-01-17Don't create a (empty) output file, and don't warn about bitcode outputDan Gohman
2010-01-05Enable debug buffering.David Greene
2009-12-09when opt crashes, print its command line arguments as a pretty stack trace.Chris Lattner
2009-11-03Make opt default to not adding a target data string and update tests that dep...Kenneth Uildriks
2009-10-22nothing opt uses can throw, remove the try block and -fexceptions whenChris Lattner
2009-10-22Add some command line options for twiddling the default data layoutChris Lattner
2009-10-14There seems to be no reason for opt's -S option to be hidden.Duncan Sands
2009-09-11Fix llvm-extract's "writing bitcode to a terminal" warning, which wasn'tDan Gohman
2009-09-05opt: Add -S option to print output as LLVM assembly.Daniel Dunbar
2009-09-03Use IRReader.h in opt, to support reading of LLVM Assembly files directly.Dan Gohman
2009-08-31Fix some nasty callgraph dangling pointer problems in Chris Lattner
2009-08-25Make LLVM command-line tools overwrite their output files without -f.Dan Gohman
2009-08-24These flushes were only needed when the code was transitioning betweenDan Gohman
2009-08-23eliminate the ostream version of CheckBitcodeOutputToConsole,Chris Lattner
2009-08-23use raw_fd_ostream instead of fstream with graphwriter,Chris Lattner
2009-08-23Change Pass::print to take a raw ostream instead of std::ostream,Chris Lattner
2009-08-23Change raw_fd_ostream to take flags as an optional bitmask Chris Lattner
2009-08-21Make unit-at-a-time on by default to match the behavior of llvm-gcc.Eric Christopher
2009-08-21Kill trailing whitespace.Eric Christopher
2009-07-17Fix a crash in SROA. The FunctionPass::doInitialization method was neverBob Wilson
2009-07-17opt: Add -std-link-opts argument, matches llvm-ld's optimizations.Daniel Dunbar
2009-07-16Convert more tools code from cerr and cout to errs() and outs().Dan Gohman
2009-07-15To simplify the upcoming context-on-type change, switch all command line tool...Owen Anderson
2009-07-15Add a Force option to raw_fd_ostream to specify whether openingDan Gohman
2009-07-01Hold the LLVMContext by reference rather than by pointer.Owen Anderson
2009-07-01Add a pointer to the owning LLVMContext to Module. This requires threading L...Owen Anderson
2009-06-03Switch opt to using StandardPasses.hDaniel Dunbar