summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/PostDominators.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-04-07 07:17:27 +0000
committerOwen Anderson <resistor@mac.com>2007-04-07 07:17:27 +0000
commitba43963e96c9eb28d4f6862e46c5d3fbdc1f3b96 (patch)
treec7431cd8d0b9ae7636f55866f7afbf1f76bb827a /include/llvm/Analysis/PostDominators.h
parent4f9e58ecdf247f87a9b7cef69b1fa37fb5b07f0d (diff)
downloadllvm-ba43963e96c9eb28d4f6862e46c5d3fbdc1f3b96.tar.gz
llvm-ba43963e96c9eb28d4f6862e46c5d3fbdc1f3b96.tar.bz2
llvm-ba43963e96c9eb28d4f6862e46c5d3fbdc1f3b96.tar.xz
Completely purge DomSet. This is the (hopefully) final patch for PR1171.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35731 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/PostDominators.h')
-rw-r--r--include/llvm/Analysis/PostDominators.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/include/llvm/Analysis/PostDominators.h b/include/llvm/Analysis/PostDominators.h
index 4d8d140373..aea901374e 100644
--- a/include/llvm/Analysis/PostDominators.h
+++ b/include/llvm/Analysis/PostDominators.h
@@ -38,29 +38,6 @@ private:
void Link(BasicBlock *V, BasicBlock *W, InfoRec &WInfo);
};
-/// PostDominatorSet Class - Concrete subclass of DominatorSetBase that is used
-/// to compute the post-dominator set. Because there can be multiple exit nodes
-/// in an LLVM function, we calculate post dominators with a special null block
-/// which is the virtual exit node that the real exit nodes all virtually branch
-/// to. Clients should be prepared to see an entry in the dominator sets with a
-/// null BasicBlock*.
-///
-struct PostDominatorSet : public DominatorSetBase {
- PostDominatorSet() : DominatorSetBase(true) {}
-
- virtual bool runOnFunction(Function &F);
-
- /// getAnalysisUsage - This simply provides a dominator set
- ///
- virtual void getAnalysisUsage(AnalysisUsage &AU) const {
- AU.addRequired<ImmediatePostDominators>();
- AU.setPreservesAll();
- }
-
- // stub - dummy function, just ignore it
- static void stub();
-};
-
/// PostDominatorTree Class - Concrete subclass of DominatorTree that is used to
/// compute the a post-dominator tree.
///