[llvm-commits] CVS: llvm/include/llvm/Analysis/Dominators.h
Devang Patel
dpatel at apple.com
Thu Jun 7 18:51:00 PDT 2007
Changes in directory llvm/include/llvm/Analysis:
Dominators.h updated: 1.98 -> 1.99
---
Log message:
Update LoopSimplify to require and preserve DominatorTree only.
Now LoopSimplify does not require nor preserve ETForest.
---
Diffs of the changes: (+4 -0)
Dominators.h | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/include/llvm/Analysis/Dominators.h
diff -u llvm/include/llvm/Analysis/Dominators.h:1.98 llvm/include/llvm/Analysis/Dominators.h:1.99
--- llvm/include/llvm/Analysis/Dominators.h:1.98 Thu Jun 7 19:21:17 2007
+++ llvm/include/llvm/Analysis/Dominators.h Thu Jun 7 20:50:32 2007
@@ -195,6 +195,10 @@
return NULL;
return Common->getData<BasicBlock>();
}
+
+ /// isReachableFromEntry - Return true if A is dominated by the entry
+ /// block of the function containing it.
+ const bool isReachableFromEntry(BasicBlock* A);
/// dominates - Returns true iff this dominates N. Note that this is not a
/// constant time operation!
More information about the llvm-commits
mailing list