diff options
author | Devang Patel <dpatel@apple.com> | 2007-03-20 20:19:48 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-03-20 20:19:48 +0000 |
commit | b39885d23d4ffac314cad61270982d1695682fc5 (patch) | |
tree | 32b0a18771007e14ea10f7b22b7211038df257c7 | |
parent | 1758cb50deb62539cf5028b1f689adc1d3fdf7f1 (diff) | |
download | bcm5719-llvm-b39885d23d4ffac314cad61270982d1695682fc5.tar.gz bcm5719-llvm-b39885d23d4ffac314cad61270982d1695682fc5.zip |
LoopSimplify::FindPHIToPartitionLoops()
Use ETForest instead of DominatorSet.
llvm-svn: 35222
-rw-r--r-- | llvm/include/llvm/Analysis/Dominators.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/llvm/Analysis/Dominators.h b/llvm/include/llvm/Analysis/Dominators.h index f29ed8345dc..1a6320fde34 100644 --- a/llvm/include/llvm/Analysis/Dominators.h +++ b/llvm/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) { |