summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/ConstantMerge.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 'Pass' should now not be derived from by clients. Instead, they should deriveChris Lattner2004-09-201-4/+4
| | | | | | | from ModulePass. Instead of implementing Pass::run, then should implement ModulePass::runOnModule. llvm-svn: 16436
* Changes For Bug 352Reid Spencer2004-09-011-1/+1
| | | | | | | | 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
* Merging constants can cause further room for improvement. Iterate untilChris Lattner2003-12-281-35/+45
| | | | | | we converge llvm-svn: 10618
* Fix memory corruption bug PR193Chris Lattner2003-12-221-20/+26
| | | | llvm-svn: 10586
* Finegrainify namespacificationChris Lattner2003-11-211-4/+2
| | | | llvm-svn: 10138
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-1/+4
| | | | llvm-svn: 9903
* Fix bug: ConstantMerge/2003-10-28-MergeExternalConstants.ll & PR64Chris Lattner2003-10-291-2/+13
| | | | llvm-svn: 9579
* 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 spell-o'sChris Lattner2003-09-101-1/+1
| | | | llvm-svn: 8431
* Global constants CAN be externalChris Lattner2003-04-181-3/+3
| | | | llvm-svn: 5808
* - Dramatically simplify the ConstantMerge code now thatChris Lattner2002-10-091-102/+3
| | | | | | Value::replaceAllUsesWith works with constants correctly. llvm-svn: 4104
* Updates to work with recent Statistic's changes:Chris Lattner2002-10-011-2/+2
| | | | | | | | | | | | * 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
* Fix: ConstantMerge/2002-09-23-CPR-Update.llChris Lattner2002-09-231-14/+102
| | | | | | | | Basically, this bug boiled down to calling replaceUsesOfWith on a constant, which changed it's shape in an illegal way. This pass now goes through all of the trouble neccesary to do the replacement on constants. llvm-svn: 3895
* * Add support for different "PassType's"Chris Lattner2002-07-261-2/+2
| | | | | | | | | | | | | | | * 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: 3112
* Incorporate ConstantMerge.h into IPO.hChris Lattner2002-07-231-3/+2
| | | | llvm-svn: 3035
* * Remove getPassName implementationChris Lattner2002-07-231-2/+2
| | | | | | * Register all Passes llvm-svn: 3015
* Remove DynamicConstantMerge pass, because it did not fit in with the PassChris Lattner2002-06-251-64/+27
| | | | | | system correctly. llvm-svn: 2772
* Add support for printing out statistics information when -stats is added toChris Lattner2002-05-101-0/+4
| | | | | | the command line llvm-svn: 2601
* 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-0/+4
| | | | | | indicate whether or not they invalidate the CFGA llvm-svn: 2386
* * Rename MethodPass class to FunctionPassChris Lattner2002-04-271-5/+5
| | | | | | | | | | | | | | | - Rename runOnMethod to runOnFunction * Transform getAnalysisUsageInfo into getAnalysisUsage - Method is now const - It now takes one AnalysisUsage object to fill in instead of 3 vectors to fill in - Pass's now specify which other passes they _preserve_ not which ones they modify (be conservative!) - A pass can specify that it preserves all analyses (because it never modifies the underlying program) * s/Method/Function/g in other random places as well llvm-svn: 2333
* Change references to the Method class to be references to the FunctionChris Lattner2002-04-071-6/+6
| | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144
* Change over to use new style pass mechanism, now passes only expose smallChris Lattner2002-02-261-22/+39
| | | | | | creation functions in their public header file, unless they can help it. llvm-svn: 1816
* Convert xforms over to new pass structure.Chris Lattner2002-01-311-0/+2
| | | | llvm-svn: 1605
* Implement a more powerful, simpler, pass system. This pass system can figureChris Lattner2002-01-211-3/+3
| | | | | | | | | out how to run a collection of passes optimially given their behaviors and charactaristics. Convert code to use it. llvm-svn: 1507
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-201-4/+4
| | | | llvm-svn: 1503
* Rename ConstPoolVal -> ConstantChris Lattner2001-12-031-4/+4
| | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h llvm-svn: 1407
* Initial checkinChris Lattner2001-10-181-0/+80
llvm-svn: 897
OpenPOWER on IntegriCloud