diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-27 22:30:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-27 22:30:17 +0000 |
commit | 5d8925c7c506a54ebdfb0bc93437ec9f602eaaa0 (patch) | |
tree | dea599a5388d6da5b94fec761128353f08be2dc3 /lib/VMCore/Dominators.cpp | |
parent | 2dd3d423aae84649c434b2a58ba4ed7e918580d8 (diff) |
Eliminate RegisterAnalysis. RegisterPass now does all that is necessary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Dominators.cpp')
-rw-r--r-- | lib/VMCore/Dominators.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/VMCore/Dominators.cpp b/lib/VMCore/Dominators.cpp index f079acfdb4..9f7e5d9365 100644 --- a/lib/VMCore/Dominators.cpp +++ b/lib/VMCore/Dominators.cpp @@ -44,7 +44,7 @@ using namespace llvm; // //===----------------------------------------------------------------------===// -static RegisterAnalysis<ImmediateDominators> +static RegisterPass<ImmediateDominators> C("idom", "Immediate Dominators Construction", true); unsigned ImmediateDominators::DFSPass(BasicBlock *V, InfoRec &VInfo, @@ -243,7 +243,7 @@ void ImmediateDominatorsBase::print(std::ostream &o, const Module* ) const { // DominatorSet Implementation //===----------------------------------------------------------------------===// -static RegisterAnalysis<DominatorSet> +static RegisterPass<DominatorSet> B("domset", "Dominator Set Construction", true); // dominates - Return true if A dominates B. This performs the special checks @@ -343,7 +343,7 @@ void DominatorSetBase::print(std::ostream &o, const Module* ) const { // DominatorTree Implementation //===----------------------------------------------------------------------===// -static RegisterAnalysis<DominatorTree> +static RegisterPass<DominatorTree> E("domtree", "Dominator Tree Construction", true); // DominatorTreeBase::reset - Free all of the tree node memory. @@ -434,7 +434,7 @@ void DominatorTreeBase::print(std::ostream &o, const Module* ) const { // DominanceFrontier Implementation //===----------------------------------------------------------------------===// -static RegisterAnalysis<DominanceFrontier> +static RegisterPass<DominanceFrontier> G("domfrontier", "Dominance Frontier Construction", true); const DominanceFrontier::DomSetType & @@ -813,7 +813,7 @@ ETNode *ETNode::NCA(ETNode *other) { // ETForest implementation //===----------------------------------------------------------------------===// -static RegisterAnalysis<ETForest> +static RegisterPass<ETForest> D("etforest", "ET Forest Construction", true); void ETForestBase::reset() { |