summaryrefslogtreecommitdiff
path: root/tools/opt
AgeCommit message (Expand)AuthorFilesLines
2009-09-11Fix llvm-extract's "writing bitcode to a terminal" warning, which wasn'tDan Gohman1-4/+4
2009-09-05opt: Add -S option to print output as LLVM assembly.Daniel Dunbar1-5/+14
2009-09-03Use IRReader.h in opt, to support reading of LLVM Assembly files directly.Dan Gohman3-13/+6
2009-08-31Fix some nasty callgraph dangling pointer problems in Chris Lattner1-1/+1
2009-08-25Make LLVM command-line tools overwrite their output files without -f.Dan Gohman2-6/+3
2009-08-24These flushes were only needed when the code was transitioning betweenDan Gohman1-10/+0
2009-08-23eliminate the ostream version of CheckBitcodeOutputToConsole,Chris Lattner1-2/+1
2009-08-23use raw_fd_ostream instead of fstream with graphwriter,Chris Lattner2-7/+8
2009-08-23Change Pass::print to take a raw ostream instead of std::ostream,Chris Lattner4-29/+32
2009-08-23Change raw_fd_ostream to take flags as an optional bitmask Chris Lattner1-2/+3
2009-08-21Make unit-at-a-time on by default to match the behavior of llvm-gcc.Eric Christopher1-1/+2
2009-08-21Kill trailing whitespace.Eric Christopher1-25/+25
2009-07-22Switch some clients to Value::getName(), and other getName() userDaniel Dunbar1-1/+1
2009-07-17Fix a crash in SROA. The FunctionPass::doInitialization method was neverBob Wilson1-0/+1
2009-07-17opt: Add -std-link-opts argument, matches llvm-ld's optimizations.Daniel Dunbar1-6/+39
2009-07-16Convert more tools code from cerr and cout to errs() and outs().Dan Gohman2-32/+42
2009-07-15To simplify the upcoming context-on-type change, switch all command line tool...Owen Anderson1-1/+1
2009-07-15Add a Force option to raw_fd_ostream to specify whether openingDan Gohman1-18/+11
2009-07-15Use errs() instead of std::cerr.Dan Gohman1-2/+3
2009-07-01Hold the LLVMContext by reference rather than by pointer.Owen Anderson1-1/+1
2009-07-01Add a pointer to the owning LLVMContext to Module. This requires threading L...Owen Anderson1-1/+3
2009-06-24Get rid of the global CFGOnly flag by threading a ShortNames parameters throu...Owen Anderson1-1/+2
2009-06-03Switch opt to using StandardPasses.hDaniel Dunbar1-126/+21
2009-04-01Fixed file header comment.Misha Brukman1-3/+3
2009-02-18Eliminate several more unnecessary intptr_t casts.Dan Gohman4-11/+11
2008-12-31Rename AddReadAttrs to FunctionAttrs, and teach it howDuncan Sands1-2/+2
2008-12-04Enable LoopIndexSplit pass.Devang Patel1-2/+2
2008-11-26Disable -loop-index-split for now.Devang Patel1-2/+2
2008-11-26Adjust indent.Zhongxing Xu1-2/+2
2008-11-04fix memory leak in pass manager when adding an analysis pass that already exi...Nuno Lopes1-6/+11
2008-10-22Move Print*Pass to use raw_ostream.Daniel Dunbar1-1/+2
2008-10-21Privatize PrintModulePass and PrintFunctionPass and addDaniel Dunbar1-1/+1
2008-09-23Rationalize the names of passes that print information:Duncan Sands3-9/+10
2008-09-22Initial support for the CMake build system.Oscar Fuentes1-0/+9
2008-09-19Turn on the AddReadAttrs pass.Duncan Sands1-1/+4
2008-09-19Teach -callgraph to always print the callgraph (as theDuncan Sands1-6/+5
2008-09-17Fix comments, help messages.Devang Patel1-4/+2
2008-09-17Fix cut-n-pasto.Devang Patel1-2/+2
2008-09-16Add -O1, -O2 and -O3 that matches llvm-gcc's -O1, -O2 and -O3 respectively.Devang Patel1-0/+142
2008-09-15End of the GlobalsModRef experiment.Duncan Sands1-2/+0
2008-09-12Give GlobalsModRef a whirl in the nightly testers.Duncan Sands1-1/+3
2008-08-27Backout 55429Devang Patel1-48/+4
2008-08-27Add facility to create a target.Devang Patel1-4/+48
2008-07-14Goodbye tail duplication (for good this time).Evan Cheng1-1/+0
2008-07-13Fix comment.Duncan Sands1-1/+1
2008-07-13Fix PR2231 - opt -internalize -std-compile-opts should run internalize firstChris Lattner1-8/+17
2008-06-30Move dominator info printer into tool/opt/GraphPrinters.cppDevang Patel1-0/+32
2008-05-29Re-enable the newly simplified ADCE. This fixes a regression onOwen Anderson1-1/+1
2008-05-27Remove ADCE from the optimization pipeline.Owen Anderson1-1/+1
2008-05-16Re-enable tail duplication pass (now with default threshold down to 1 instruc...Evan Cheng1-0/+1