summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/GCSE.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* MEGAPATCH checkin.Chris Lattner2002-06-251-71/+62
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779
* * Fix bug: test/Regression/Transforms/GCSE/2002-05-14-OperandSwap.llChris Lattner2002-05-141-7/+32
| | | | | | | By making sure to consider binary expressions identical if their operands are backwards, but swappable. llvm-svn: 2629
* Implement elimination of loadsChris Lattner2002-05-141-18/+176
| | | | llvm-svn: 2620
* Add support for printing out statistics information when -stats is added toChris Lattner2002-05-101-0/+5
| | | | | | the command line llvm-svn: 2601
* Merge all individual .h files into a single Scalar.h fileChris Lattner2002-05-071-1/+1
| | | | llvm-svn: 2537
* Eliminate duplicate or unneccesary #include'sChris Lattner2002-04-291-2/+0
| | | | llvm-svn: 2397
* Remove broken assertion.Chris Lattner2002-04-291-3/+5
| | | | llvm-svn: 2396
* Add new optional getPassName() virtual function that a Pass can overrideChris Lattner2002-04-291-0/+4
| | | | | | to make debugging output a lot nicer. llvm-svn: 2395
* Tighten up the AnalysisUsage of lots of passes, primarily to correctly ↵Chris Lattner2002-04-281-1/+1
| | | | | | indicate whether or not they invalidate the CFGA llvm-svn: 2386
* Eliminate the cfg namespace, moving LoopInfo, Dominators, Interval* classesChris Lattner2002-04-281-1/+0
| | | | | | to the global namespace llvm-svn: 2370
* Initial checkin of simple&fast SSA based GCSE algorithmChris Lattner2002-04-281-0/+272
llvm-svn: 2338
OpenPOWER on IntegriCloud