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/Analysis/DataStructure | |
parent | 5d549083e2dc55cc1aa035f1069480d052717061 (diff) | |
download | external_llvm-1e43516dcf4aa152432447397334cd43744d63e1.zip external_llvm-1e43516dcf4aa152432447397334cd43744d63e1.tar.gz external_llvm-1e43516dcf4aa152432447397334cd43744d63e1.tar.bz2 |
* 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/Analysis/DataStructure')
-rw-r--r-- | lib/Analysis/DataStructure/BottomUpClosure.cpp | 2 | ||||
-rw-r--r-- | lib/Analysis/DataStructure/DataStructure.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/Analysis/DataStructure/BottomUpClosure.cpp b/lib/Analysis/DataStructure/BottomUpClosure.cpp index f7a6332..62206d9 100644 --- a/lib/Analysis/DataStructure/BottomUpClosure.cpp +++ b/lib/Analysis/DataStructure/BottomUpClosure.cpp @@ -13,6 +13,8 @@ #include "Support/StatisticReporter.h" using std::map; +static RegisterAnalysis<BUDataStructures> +X("budatastructure", "Bottom-Up Data Structure Analysis Closure"); AnalysisID BUDataStructures::ID(AnalysisID::create<BUDataStructures>()); // releaseMemory - If the pass pipeline is done with this pass, we can release diff --git a/lib/Analysis/DataStructure/DataStructure.cpp b/lib/Analysis/DataStructure/DataStructure.cpp index befbd55..f573a0b 100644 --- a/lib/Analysis/DataStructure/DataStructure.cpp +++ b/lib/Analysis/DataStructure/DataStructure.cpp @@ -15,6 +15,8 @@ using std::vector; +static RegisterAnalysis<LocalDataStructures> +X("datastructure", "Local Data Structure Analysis"); AnalysisID LocalDataStructures::ID(AnalysisID::create<LocalDataStructures>()); //===----------------------------------------------------------------------===// |