aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/PostDominators.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Analysis/PostDominators.cpp')
-rw-r--r--lib/Analysis/PostDominators.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Analysis/PostDominators.cpp b/lib/Analysis/PostDominators.cpp
index cfa1b46329..3d3713b11d 100644
--- a/lib/Analysis/PostDominators.cpp
+++ b/lib/Analysis/PostDominators.cpp
@@ -42,6 +42,10 @@ PostDominatorTree::~PostDominatorTree()
delete DT;
}
+FunctionPass* llvm::createPostDomTree() {
+ return new PostDominatorTree();
+}
+
//===----------------------------------------------------------------------===//
// PostDominanceFrontier Implementation
//===----------------------------------------------------------------------===//
@@ -84,3 +88,7 @@ PostDominanceFrontier::calculate(const PostDominatorTree &DT,
return S;
}
+
+FunctionPass* llvm::createPostDomFrontier() {
+ return new PostDominanceFrontier();
+} \ No newline at end of file