aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-03-20 20:19:48 +0000
committerDevang Patel <dpatel@apple.com>2007-03-20 20:19:48 +0000
commit58efcd3bcdb59223d6311f25a87bdf6c016f2470 (patch)
tree373b28d65fab349079e9fcd4723b1c050f2c4cb7
parent3b57b6f36e906d69cc578f3e2f72dcd263a72a30 (diff)
LoopSimplify::FindPHIToPartitionLoops()
Use ETForest instead of DominatorSet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35222 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/Dominators.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h
index f29ed8345d..1a6320fde3 100644
--- a/include/llvm/Analysis/Dominators.h
+++ b/include/llvm/Analysis/Dominators.h
@@ -516,6 +516,10 @@ public:
}
}
+ // 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);
+
/// properlyDominates - Return true if A dominates B and A != B.
///
bool properlyDominates(BasicBlock *A, BasicBlock *B) {