summaryrefslogtreecommitdiffstats
path: root/llvm/tools/opt/opt.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate several more unnecessary intptr_t casts.Dan Gohman2009-02-181-5/+5
| | | | llvm-svn: 64888
* Rename AddReadAttrs to FunctionAttrs, and teach it howDuncan Sands2008-12-311-2/+2
| | | | | | | | to work out (in a very simplistic way) which function arguments (pointer arguments only) are only dereferenced and so do not escape. Mark such arguments 'nocapture'. llvm-svn: 61525
* Enable LoopIndexSplit pass.Devang Patel2008-12-041-2/+2
| | | | llvm-svn: 60555
* Disable -loop-index-split for now.Devang Patel2008-11-261-2/+2
| | | | llvm-svn: 60087
* Adjust indent.Zhongxing Xu2008-11-261-2/+2
| | | | llvm-svn: 60081
* fix memory leak in pass manager when adding an analysis pass that already ↵Nuno Lopes2008-11-041-6/+11
| | | | | | | | existed. as pass manager takes ownership of the added passes, it has to delete the pass if it isnt added to the pass list tweak the opt tool so that it doesnt access a Pass after the ownership was taken by the pass manager llvm-svn: 58730
* Move Print*Pass to use raw_ostream.Daniel Dunbar2008-10-221-1/+2
| | | | llvm-svn: 57946
* Privatize PrintModulePass and PrintFunctionPass and addDaniel Dunbar2008-10-211-1/+1
| | | | | | | createPrintModulePass and createPrintFunctionPass. - So clients who compile w/o RTTI can use them. llvm-svn: 57933
* Turn on the AddReadAttrs pass.Duncan Sands2008-09-191-1/+4
| | | | llvm-svn: 56345
* Fix comments, help messages.Devang Patel2008-09-171-4/+2
| | | | llvm-svn: 56282
* Fix cut-n-pasto.Devang Patel2008-09-171-2/+2
| | | | llvm-svn: 56265
* Add -O1, -O2 and -O3 that matches llvm-gcc's -O1, -O2 and -O3 respectively.Devang Patel2008-09-161-0/+142
| | | | llvm-svn: 56255
* End of the GlobalsModRef experiment.Duncan Sands2008-09-151-2/+0
| | | | llvm-svn: 56222
* Give GlobalsModRef a whirl in the nightly testers.Duncan Sands2008-09-121-1/+3
| | | | | | | | | I placed it just before GVN because that it is the pass most likely to benefit from it. Some quick and dirty testing confirms that this is a decent place for it. llvm-svn: 56144
* Backout 55429Devang Patel2008-08-271-48/+4
| | | | llvm-svn: 55432
* Add facility to create a target.Devang Patel2008-08-271-4/+48
| | | | llvm-svn: 55429
* Goodbye tail duplication (for good this time).Evan Cheng2008-07-141-1/+0
| | | | llvm-svn: 53574
* Fix comment.Duncan Sands2008-07-131-1/+1
| | | | llvm-svn: 53525
* Fix PR2231 - opt -internalize -std-compile-opts should run internalize firstChris Lattner2008-07-131-8/+17
| | | | llvm-svn: 53523
* Re-enable the newly simplified ADCE. This fixes a regression onOwen Anderson2008-05-291-1/+1
| | | | | | Dhrystone introduced by its removal. llvm-svn: 51669
* Remove ADCE from the optimization pipeline.Owen Anderson2008-05-271-1/+1
| | | | llvm-svn: 51581
* Re-enable tail duplication pass (now with default threshold down to 1 ↵Evan Cheng2008-05-161-0/+1
| | | | | | instruction). llvm-svn: 51184
* Remove tail duplication pass.Evan Cheng2008-05-151-1/+0
| | | | llvm-svn: 51139
* Recover nestedloop regression reported by nightly tester.Devang Patel2008-05-141-0/+2
| | | | llvm-svn: 51110
* Do not run instruction combiner in middle of loop optimization passes.Devang Patel2008-05-141-1/+0
| | | | llvm-svn: 51084
* Re-enable loop deletion by default.Owen Anderson2008-05-101-0/+1
| | | | llvm-svn: 50941
* Disable loop deletion until the release branch.Owen Anderson2008-05-061-1/+0
| | | | llvm-svn: 50787
* Enable dead loop elimination.Owen Anderson2008-05-051-0/+1
| | | | llvm-svn: 50682
* move libcalls to the same place llvm-gcc has it.Chris Lattner2008-05-021-1/+1
| | | | llvm-svn: 50593
* enable jump threading pass by default. This causes no miscompilations Chris Lattner2008-04-211-0/+1
| | | | | | and can significantly shrinkify some code, particularly from C++ land. llvm-svn: 50025
* Run SimplifyLibCalls near the beginning, not atDuncan Sands2008-04-171-1/+2
| | | | | | | | | | | the end. It is now run at the same moment as in llvm-gcc. Also, run StripDeadPrototypes at the end, just before running DeadTypeElimination. This may be useful when doing LTO. Note that llvm-gcc runs StripDeadPrototypes but not DeadTypeElimination. llvm-svn: 49848
* Move memcpy / memset optimization pass after GVN.Evan Cheng2008-04-101-1/+1
| | | | llvm-svn: 49457
* Factor a bunch of functionality related to memcpy and memset transforms out of Owen Anderson2008-04-091-0/+1
| | | | | | GVN and into its own pass. llvm-svn: 49419
* remove attributions from tools.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45421
* Move the space in overview output for commands out of each of theDan Gohman2007-10-081-1/+1
| | | | | | commands and into the common code. llvm-svn: 42752
* Turn GVN on by default.Owen Anderson2007-09-081-2/+1
| | | | llvm-svn: 41787
* Enable loop index split pass.Devang Patel2007-09-041-0/+1
| | | | llvm-svn: 41714
* Rename FastDSE to just DSE.Owen Anderson2007-08-011-1/+1
| | | | llvm-svn: 40668
* Remove a FIXME comment that wasn't removed when the code it accompaniedDan Gohman2007-07-301-1/+0
| | | | | | was removed. llvm-svn: 40591
* Turn on FastDSE by default.Owen Anderson2007-07-171-1/+1
| | | | | | | Note: FastDSE now equals or exceeds the results of old DSE on all of SPEC2000 and SPEC2006. Unless major problems show up in the testers, it will likely completely replace old DSE in the near future. llvm-svn: 39986
* Change sroa threshold back.Evan Cheng2007-07-171-1/+1
| | | | llvm-svn: 39980
* Temporarily set SROA threshold to 512.Evan Cheng2007-07-171-1/+2
| | | | llvm-svn: 39950
* Here is the bulk of the sanitizing.Gabor Greif2007-07-051-5/+5
| | | | | | Almost all occurrences of "bytecode" in the sources have been eliminated. llvm-svn: 37913
* Fix PR1539. Add LoopPassPrinter.Devang Patel2007-07-051-0/+29
| | | | llvm-svn: 37909
* Fix PR 1526.Devang Patel2007-06-281-0/+34
| | | | llvm-svn: 37780
* use the new MemoryBuffer interfaces to simplify error reporting in clients.Chris Lattner2007-05-061-7/+4
| | | | llvm-svn: 36900
* make sure the ofstream for opt's output file is destroyed, so that the bitsChris Lattner2007-05-061-0/+3
| | | | | | actually land on disk. llvm-svn: 36877
* switch tools to bitcode from bytecodeChris Lattner2007-05-061-29/+11
| | | | llvm-svn: 36872
* add support to llvm-prof for reading from a bitcode fileChris Lattner2007-05-061-6/+2
| | | | llvm-svn: 36836
* if -bitcode is specified, read and write a bitcode file instead of a ↵Chris Lattner2007-05-061-4/+30
| | | | | | bytecode file. llvm-svn: 36830
OpenPOWER on IntegriCloud