add support for caching pointer dependence queries. Nothing uses this yet
[oota-llvm.git] / lib / Analysis / PostDominators.cpp
index cfa1b463295e3c219743e65b2a2f8e878d9d51b1..4853c2ac87b7998cabca44b0305eead84dc5991a 100644 (file)
@@ -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();
+}