[llvm-commits] CVS: llvm/include/llvm/Analysis/Dominators.h
Devang Patel
dpatel at apple.com
Thu Jun 7 16:53:02 PDT 2007
Changes in directory llvm/include/llvm/Analysis:
Dominators.h updated: 1.96 -> 1.97
---
Log message:
Add instruction level dominates(A,B) interface.
---
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.96 llvm/include/llvm/Analysis/Dominators.h:1.97
--- llvm/include/llvm/Analysis/Dominators.h:1.96 Thu Jun 7 17:17:16 2007
+++ llvm/include/llvm/Analysis/Dominators.h Thu Jun 7 18:52:40 2007
@@ -219,6 +219,10 @@
return dominates(getNode(A), getNode(B));
}
+ // dominates - Return true if A dominates B. This performs the
+ // special checks necessary if A and B are in the same basic block.
+ bool dominates(Instruction *A, Instruction *B);
+
//===--------------------------------------------------------------------===//
// API to update (Post)DominatorTree information based on modifications to
// the CFG...
More information about the llvm-commits
mailing list