Make use of @llvm.assume in ValueTracking (computeKnownBits, etc.)
[oota-llvm.git] / include / llvm / Transforms / Utils / PromoteMemToReg.h
index 22f46e5fc963c55b822a77ec5040272f9820fb26..3fdd5e9203c1e95958e27f50cd0a047be3e2667b 100644 (file)
@@ -22,6 +22,7 @@ namespace llvm {
 class AllocaInst;
 class DominatorTree;
 class AliasSetTracker;
+class AssumptionTracker;
 
 /// \brief Return true if this alloca is legal for promotion.
 ///
@@ -41,7 +42,8 @@ bool isAllocaPromotable(const AllocaInst *AI);
 /// If AST is specified, the specified tracker is updated to reflect changes
 /// made to the IR.
 void PromoteMemToReg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT,
-                     AliasSetTracker *AST = 0);
+                     AliasSetTracker *AST = nullptr,
+                     AssumptionTracker *AT = nullptr);
 
 } // End llvm namespace