summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/GCSE.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use DominatorTree instead of ETForest.Devang Patel2007-06-071-3/+1
| | | | llvm-svn: 37495
* Use DominatorTree instead of ETForest.Devang Patel2007-06-071-3/+3
| | | | llvm-svn: 37494
* s/llvm::DominatorTreeBase::DomTreeNode/llvm::DomTreeNode/gDevang Patel2007-06-041-1/+1
| | | | llvm-svn: 37407
* s/DominatorTreeBase::Node/DominatorTreeBase:DomTreeNode/gDevang Patel2007-06-031-1/+1
| | | | llvm-svn: 37403
* Fix typo in comment.Nick Lewycky2007-05-061-1/+1
| | | | llvm-svn: 36873
* Drop 'const'Devang Patel2007-05-031-2/+2
| | | | llvm-svn: 36662
* Use 'static const char' instead of 'static const int'.Devang Patel2007-05-021-2/+2
| | | | | | | Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652
* Do not use typeinfo to identify pass in pass manager.Devang Patel2007-05-011-0/+4
| | | | llvm-svn: 36632
* fix long linesChris Lattner2007-04-141-1/+1
| | | | llvm-svn: 36031
* Apply the VISIBILITY_HIDDEN field to the remaining anonymous classes inReid Spencer2007-02-051-1/+2
| | | | | | | the Transforms library. This reduces debug library size by 132 KB, debug binary size by 376 KB, and reduces link time for llvm tools slightly. llvm-svn: 33939
* Adjust #includes to match movement of constant folding code from ↵Chris Lattner2007-01-301-3/+2
| | | | | | transformutils to libanalysis. llvm-svn: 33680
* Switch over Transforms/Scalar to use the STATISTIC macro. For each statisticChris Lattner2006-12-191-8/+8
| | | | | | | converted, we lose a static initializer. This also allows GCC to emit warnings about unused statistics. llvm-svn: 32690
* Detemplatize the Statistic class. The only type it is instantiated withChris Lattner2006-12-061-5/+5
| | | | | | is 'unsigned'. llvm-svn: 32279
* eliminate RegisterOpt. It does the same thing as RegisterPass.Chris Lattner2006-08-271-1/+1
| | | | llvm-svn: 29925
* Switch these to using ETForest instead of DominatorSet to compute itself.Chris Lattner2006-01-111-3/+3
| | | | | | Patch written by Daniel Berlin! llvm-svn: 25202
* Remove trailing whitespaceMisha Brukman2005-04-211-5/+5
| | | | llvm-svn: 21427
* This mega patch converts us from using Function::a{iterator|begin|end} toChris Lattner2005-03-151-1/+1
| | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597
* Simplify code and do not invalidate iterators.Chris Lattner2004-12-121-46/+9
| | | | | | | This fixes a crash compiling TimberWolfMC that was exposed due to recent optimizer changes. llvm-svn: 18831
* Changes For Bug 352Reid Spencer2004-09-011-2/+2
| | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
* Expand the scope to include global values because they are now constantsReid Spencer2004-07-181-1/+1
| | | | | | too. llvm-svn: 14964
* bug 122:Reid Spencer2004-07-181-3/+2
| | | | | | - Minimize redundant isa<GlobalValue> usage llvm-svn: 14948
* Add support for replacement of formal arguments with simpler expressions.Chris Lattner2004-05-231-2/+23
| | | | llvm-svn: 13689
* Add support for removing invoke instructionsChris Lattner2004-04-121-0/+14
| | | | llvm-svn: 12858
* Update the value numbering interface.Chris Lattner2004-04-101-1/+4
| | | | llvm-svn: 12824
* Rewrite the GCSE pass to be *substantially* simpler, a bit more efficient,Chris Lattner2004-04-101-214/+121
| | | | | | and a bit more powerful llvm-svn: 12817
* Be more accurateChris Lattner2004-03-171-4/+15
| | | | llvm-svn: 12464
* Add counters for the number of calls elimiantedChris Lattner2004-03-151-0/+6
| | | | llvm-svn: 12420
* Add debug outputChris Lattner2004-02-051-0/+4
| | | | llvm-svn: 11139
* Finegrainify namespacificationChris Lattner2004-01-091-5/+2
| | | | llvm-svn: 10725
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-1/+4
| | | | llvm-svn: 9903
* Declare FunctionPasses as such so that they can be used in FunctionPassManager.Misha Brukman2003-11-071-1/+1
| | | | llvm-svn: 9768
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* Fix spelling.Misha Brukman2003-10-101-2/+2
| | | | llvm-svn: 9027
* Don't corrupt memory when removing an instruction from the program, butChris Lattner2003-06-171-0/+1
| | | | | | not the worklist llvm-svn: 6733
* Fix typoChris Lattner2003-02-011-1/+1
| | | | llvm-svn: 5458
* Remove dead codeChris Lattner2002-12-071-32/+0
| | | | llvm-svn: 4952
* - Rename AnalysisUsage::preservesAll to getPreservesAll & preservesCFG toChris Lattner2002-10-211-1/+1
| | | | | | setPreservesCFG to be less confusing. llvm-svn: 4255
* Updates to work with recent Statistic's changes:Chris Lattner2002-10-011-4/+4
| | | | | | | | | | | | * Renamed StatisticReporter.h/cpp to Statistic.h/cpp * Broke constructor to take two const char * arguments instead of one, so that indendation can be taken care of automatically. * Sort the list by pass name when printing * Make sure to print all statistics as a group, instead of randomly when the statistics dtors are called. * Updated ProgrammersManual with new semantics. llvm-svn: 4002
* Really minor cleanupsChris Lattner2002-08-301-9/+4
| | | | llvm-svn: 3549
* - GCSE now no longer counts instructions not removed (due to no commonChris Lattner2002-08-301-257/+108
| | | | | | | | dominator as being removed) - GCSE now uses new Value #'ing interface, instead of dealing with AA itself - GCSE worklist implementation much simpler, class cleaned up. llvm-svn: 3533
* Load & StoreInst no longer derive from MemAccessInst, so we don't haveChris Lattner2002-08-221-2/+0
| | | | | | to handle indexing anymore llvm-svn: 3485
* Remove long obsolete commentsChris Lattner2002-08-221-7/+0
| | | | llvm-svn: 3476
* Convert GCSE pass to use new alias analysis infrastructureChris Lattner2002-08-221-61/+35
| | | | llvm-svn: 3463
* Fix bug introduced in last checkin due to CastInst not being visibleChris Lattner2002-08-141-1/+2
| | | | llvm-svn: 3327
* Remove support for NOT instructionChris Lattner2002-08-141-4/+3
| | | | llvm-svn: 3323
* - Cleaned up the interface to AnalysisUsage to take analysis class namesChris Lattner2002-08-081-2/+2
| | | | | | | instead of ::ID's. - Pass::getAnalysis<> now no longer takes an optional argument llvm-svn: 3265
* Fix bug: test/Regression/Transforms/GCSE/2002-05-21-NoSharedDominator.llChris Lattner2002-08-021-0/+29
| | | | llvm-svn: 3215
* * Add support for different "PassType's"Chris Lattner2002-07-261-1/+1
| | | | | | | | | | | | | | | * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Add support for different "PassType's" * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Remove getPassName implementations from various subclasses llvm-svn: 3113
* *** empty log message ***Chris Lattner2002-07-231-4/+2
| | | | llvm-svn: 3016
* changes to make it compatible with 64bit gccAnand Shukla2002-06-251-0/+3
| | | | llvm-svn: 2792
OpenPOWER on IntegriCloud