LoopSimplify::FindPHIToPartitionLoops()
authorDevang Patel <dpatel@apple.com>
Tue, 20 Mar 2007 20:19:48 +0000 (20:19 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 20 Mar 2007 20:19:48 +0000 (20:19 +0000)
Use ETForest instead of DominatorSet.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35222 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/Dominators.h

index f29ed8345dcaa74604976932ff9ae01a49045051..1a6320fde34369a65710489d489e676423db6fc9 100644 (file)
@@ -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) {