diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-26 21:12:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-26 21:12:44 +0000 |
commit | 1e43516dcf4aa152432447397334cd43744d63e1 (patch) | |
tree | 0287d82e3bb70e8f2140d9dc67de7d8cabf1d908 /lib/Transforms/IPO/SimpleStructMutation.cpp | |
parent | 5d549083e2dc55cc1aa035f1069480d052717061 (diff) |
* 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
* 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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3112 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/SimpleStructMutation.cpp')
-rw-r--r-- | lib/Transforms/IPO/SimpleStructMutation.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Transforms/IPO/SimpleStructMutation.cpp b/lib/Transforms/IPO/SimpleStructMutation.cpp index 464d628e10..59871556ac 100644 --- a/lib/Transforms/IPO/SimpleStructMutation.cpp +++ b/lib/Transforms/IPO/SimpleStructMutation.cpp @@ -189,10 +189,10 @@ Pass *createSortElementsPass(const TargetData &TD) { } namespace { - RegisterPass<SwapStructElements> X("swapstructs", - "Swap structure types around", - createSwapElementsPass); - RegisterPass<SortStructElements> Y("sortstructs", - "Sort structure elements by size", - createSortElementsPass); + RegisterOpt<SwapStructElements> X("swapstructs", + "Swap structure types around", + createSwapElementsPass); + RegisterOpt<SortStructElements> Y("sortstructs", + "Sort structure elements by size", + createSortElementsPass); } |