[LoopAccesses] Make blockNeedsPredication static
[oota-llvm.git] / include / llvm / Analysis / LoopAccessAnalysis.h
index 0cdde4c25647bfc3c838eeb2ff7303917eacb426..3fbdb8bb8512cdbd60f1baff3a6adb692157912d 100644 (file)
@@ -147,7 +147,8 @@ public:
 
   /// Return true if the block BB needs to be predicated in order for the loop
   /// to be vectorized.
-  bool blockNeedsPredication(BasicBlock *BB);
+  static bool blockNeedsPredication(BasicBlock *BB, Loop *TheLoop,
+                                    DominatorTree *DT);
 
   /// Returns true if the value V is uniform within the loop.
   bool isUniform(Value *V);