Support vector casts in more places, fixing a variety of assertion
[oota-llvm.git] / include / llvm / Analysis / ScalarEvolution.h
index aa9789c96a97958d83c1843979a1e00b978d31a6..88a4a276adfff2b5238ec191bc0579ed5859b920 100644 (file)
@@ -418,6 +418,7 @@ namespace llvm {
 
     SCEVHandle getConstant(ConstantInt *V);
     SCEVHandle getConstant(const APInt& Val);
+    SCEVHandle getConstant(const Type *Ty, uint64_t V, bool isSigned = false);
     SCEVHandle getTruncateExpr(const SCEVHandle &Op, const Type *Ty);
     SCEVHandle getZeroExtendExpr(const SCEVHandle &Op, const Type *Ty);
     SCEVHandle getSignExtendExpr(const SCEVHandle &Op, const Type *Ty);