X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FIR%2FConstants.h;h=11ca8008f2953bdf2d916e6e8248e038c31d773c;hb=eac309550f259b7f78f1e69ea8e62fea493efd43;hp=c05133a3dacf34751aeee9bfe228dbd91cb336c2;hpb=84bbcfe2009eafcde83fb7a7f54b7d1aad46f52a;p=oota-llvm.git diff --git a/include/llvm/IR/Constants.h b/include/llvm/IR/Constants.h index c05133a3dac..11ca8008f29 100644 --- a/include/llvm/IR/Constants.h +++ b/include/llvm/IR/Constants.h @@ -1175,7 +1175,8 @@ public: /// gets constant-folded, the type changes, or the expression is otherwise /// canonicalized. This parameter should almost always be \c false. Constant *getWithOperands(ArrayRef Ops, Type *Ty, - bool OnlyIfReduced = false) const; + bool OnlyIfReduced = false, + Type *SrcTy = nullptr) const; /// getAsInstruction - Returns an Instruction which implements the same /// operation as this ConstantExpr. The instruction is not linked to any basic