Add a DominatorTree argument to isLCSSA so that it doesn't have to
[oota-llvm.git] / include / llvm / Analysis / ScalarEvolutionExpressions.h
index 3645a5b12fdd990d2e7d40fc1fc0a83be03a72eb..0ab3b3f4a5e2ad40d4b061ca64638551da31264c 100644 (file)
@@ -417,6 +417,10 @@ namespace llvm {
 
     virtual bool isLoopInvariant(const Loop *QueryLoop) const;
 
+    bool dominates(BasicBlock *BB, DominatorTree *DT) const;
+
+    bool properlyDominates(BasicBlock *BB, DominatorTree *DT) const;
+
     /// isAffine - Return true if this is an affine AddRec (i.e., it represents
     /// an expressions A+B*x where A and B are loop invariant values.
     bool isAffine() const {