summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/SimpleStructMutation.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move MutatStructTypes.h out of IPOChris Lattner2002-11-191-1/+1
| | | | llvm-svn: 4762
* Converted SimpleStructMutation to take TargetData as a required pass.Chris Lattner2002-09-261-24/+9
| | | | llvm-svn: 3932
* - 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
* * Add support for different "PassType's"Chris Lattner2002-07-261-6/+6
| | | | | | | | | | | | | | | * 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
* Eliminate several include/llvm/Transforms/IPO/*.h files, moving their ↵Chris Lattner2002-07-241-1/+1
| | | | | | contents into IPO.h llvm-svn: 3043
* * Break the two different behaviors of SimpleStructMutation into two subclassesChris Lattner2002-07-231-26/+42
| | | | | | * Register the passes llvm-svn: 3013
* MEGAPATCH checkin.Chris Lattner2002-06-251-3/+3
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2778
* Reduce dependance on TransformInternals.h, instead using the TransformUtils ↵Chris Lattner2002-05-071-3/+10
| | | | | | library llvm-svn: 2518
* Add new optional getPassName() virtual function that a Pass can overrideChris Lattner2002-04-291-2/+3
| | | | | | to make debugging output a lot nicer. llvm-svn: 2395
* * Rename MethodPass class to FunctionPassChris Lattner2002-04-271-8/+6
| | | | | | | | | | | | | | | - 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
* s/Method/FunctionChris Lattner2002-04-081-2/+0
| | | | | | Remove extraneous #includes of llvm/Assembly/Writer llvm-svn: 2178
* Change over to use new style pass mechanism, now passes only expose smallChris Lattner2002-02-261-9/+38
| | | | | | 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-15/+18
| | | | llvm-svn: 1605
* Rename SwapStructureContents -> IPO/SimpleStructMutationChris Lattner2002-01-211-4/+4
| | | | | | Move MutateStructTypes.(cpp|h) -> IPO/MutateStructTypes.(cpp|h) llvm-svn: 1510
* Implement a more powerful, simpler, pass system. This pass system can figureChris Lattner2002-01-211-16/+16
| | | | | | | | | 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/+10
| | | | llvm-svn: 1503
* Remove debugging outputChris Lattner2001-11-261-1/+1
| | | | llvm-svn: 1383
* Support selectable structure transformationsChris Lattner2001-11-261-13/+45
| | | | llvm-svn: 1342
* Better heuristics for handling arraysChris Lattner2001-11-141-7/+17
| | | | llvm-svn: 1296
* Initail checking of structure swapperChris Lattner2001-11-101-0/+98
llvm-svn: 1248
OpenPOWER on IntegriCloud