projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a DominatorTree argument to isLCSSA so that it doesn't have to
[oota-llvm.git]
/
include
/
llvm
/
Analysis
/
PostDominators.h
diff --git
a/include/llvm/Analysis/PostDominators.h
b/include/llvm/Analysis/PostDominators.h
index 3681cc01f3b7ebb70662370ef3c880c1f3da667b..5552017d91800e384b4eb43efd2c445303673814 100644
(file)
--- a/
include/llvm/Analysis/PostDominators.h
+++ b/
include/llvm/Analysis/PostDominators.h
@@
-69,6
+69,10
@@
struct PostDominatorTree : public FunctionPass {
return DT->properlyDominates(A, B);
}
+ inline BasicBlock *findNearestCommonDominator(BasicBlock *A, BasicBlock *B) {
+ return DT->findNearestCommonDominator(A, B);
+ }
+
virtual void releaseMemory() {
DT->releaseMemory();
}