aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/PostDominators.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-06-12 00:54:38 +0000
committerDevang Patel <dpatel@apple.com>2007-06-12 00:54:38 +0000
commit4d42dea25397f2f822a93edfe9930b36ea85a7e7 (patch)
tree5a0d204aefe2c5d428d27d6724f2e05760593b4f /include/llvm/Analysis/PostDominators.h
parent65d2862a60091bb4cea7ded9be38d3cb747586cb (diff)
downloadexternal_llvm-4d42dea25397f2f822a93edfe9930b36ea85a7e7.zip
external_llvm-4d42dea25397f2f822a93edfe9930b36ea85a7e7.tar.gz
external_llvm-4d42dea25397f2f822a93edfe9930b36ea85a7e7.tar.bz2
Break DominatorTree from ETNode.
Remove unused PostETForest. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37551 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/PostDominators.h')
-rw-r--r--include/llvm/Analysis/PostDominators.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/include/llvm/Analysis/PostDominators.h b/include/llvm/Analysis/PostDominators.h
index 6d29c40..091925e 100644
--- a/include/llvm/Analysis/PostDominators.h
+++ b/include/llvm/Analysis/PostDominators.h
@@ -51,30 +51,6 @@ private:
};
-/// PostETForest Class - Concrete subclass of ETForestBase that is used to
-/// compute a forwards post-dominator ET-Forest.
-struct PostETForest : public ETForestBase {
- static char ID;
- PostETForest() : ETForestBase((intptr_t)&ID, true) {}
-
- virtual void getAnalysisUsage(AnalysisUsage &AU) const {
- AU.setPreservesAll();
- AU.addRequired<PostDominatorTree>();
- }
-
- virtual bool runOnFunction(Function &F) {
- reset(); // Reset from the last time we were run...
- PostDominatorTree &DT = getAnalysis<PostDominatorTree>();
- Roots = DT.getRoots();
- calculate(DT);
- return false;
- }
-
- void calculate(const PostDominatorTree &DT);
- ETNode *getNodeForBlock(BasicBlock *BB);
-};
-
-
/// PostDominanceFrontier Class - Concrete subclass of DominanceFrontier that is
/// used to compute the a post-dominance frontier.
///