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/Analysis/PostDominators.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/Analysis/PostDominators.cpp')
-rw-r--r-- | lib/Analysis/PostDominators.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Analysis/PostDominators.cpp b/lib/Analysis/PostDominators.cpp index e195d7a4c7..ec7f7c7546 100644 --- a/lib/Analysis/PostDominators.cpp +++ b/lib/Analysis/PostDominators.cpp @@ -23,7 +23,7 @@ using namespace llvm; // ImmediatePostDominators Implementation //===----------------------------------------------------------------------===// -static RegisterAnalysis<ImmediatePostDominators> +static RegisterPass<ImmediatePostDominators> D("postidom", "Immediate Post-Dominators Construction", true); unsigned ImmediatePostDominators::DFSPass(BasicBlock *V, InfoRec &VInfo, @@ -145,7 +145,7 @@ bool ImmediatePostDominators::runOnFunction(Function &F) { // PostDominatorSet Implementation //===----------------------------------------------------------------------===// -static RegisterAnalysis<PostDominatorSet> +static RegisterPass<PostDominatorSet> B("postdomset", "Post-Dominator Set Construction", true); // Postdominator set construction. This converts the specified function to only @@ -212,7 +212,7 @@ bool PostDominatorSet::runOnFunction(Function &F) { // PostDominatorTree Implementation //===----------------------------------------------------------------------===// -static RegisterAnalysis<PostDominatorTree> +static RegisterPass<PostDominatorTree> F("postdomtree", "Post-Dominator Tree Construction", true); DominatorTreeBase::Node *PostDominatorTree::getNodeForBlock(BasicBlock *BB) { @@ -258,7 +258,7 @@ void PostDominatorTree::calculate(const ImmediatePostDominators &IPD) { // PostETForest Implementation //===----------------------------------------------------------------------===// -static RegisterAnalysis<PostETForest> +static RegisterPass<PostETForest> G("postetforest", "Post-ET-Forest Construction", true); ETNode *PostETForest::getNodeForBlock(BasicBlock *BB) { @@ -322,7 +322,7 @@ void PostETForest::calculate(const ImmediatePostDominators &ID) { // PostDominanceFrontier Implementation //===----------------------------------------------------------------------===// -static RegisterAnalysis<PostDominanceFrontier> +static RegisterPass<PostDominanceFrontier> H("postdomfrontier", "Post-Dominance Frontier Construction", true); const DominanceFrontier::DomSetType & |