Searched refs:OnlyIfReduced (Results 1 – 2 of 2) sorted by relevance
/external/llvm/include/llvm/IR/ |
D | Constants.h | 900 static Constant *getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced = false); 901 static Constant *getSExt(Constant *C, Type *Ty, bool OnlyIfReduced = false); 902 static Constant *getZExt(Constant *C, Type *Ty, bool OnlyIfReduced = false); 904 bool OnlyIfReduced = false); 906 bool OnlyIfReduced = false); 907 static Constant *getUIToFP(Constant *C, Type *Ty, bool OnlyIfReduced = false); 908 static Constant *getSIToFP(Constant *C, Type *Ty, bool OnlyIfReduced = false); 909 static Constant *getFPToUI(Constant *C, Type *Ty, bool OnlyIfReduced = false); 910 static Constant *getFPToSI(Constant *C, Type *Ty, bool OnlyIfReduced = false); 912 bool OnlyIfReduced = false); [all …]
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 1129 bool OnlyIfReduced, Type *SrcTy) const { in getWithOperands() argument 1136 Type *OnlyIfReducedTy = OnlyIfReduced ? Ty : nullptr; in getWithOperands() 1151 return ConstantExpr::getCast(getOpcode(), Ops[0], Ty, OnlyIfReduced); in getWithOperands() 1440 bool OnlyIfReduced = false) { in getFoldedCast() argument 1446 if (OnlyIfReduced) in getFoldedCast() 1458 bool OnlyIfReduced) { in getCast() argument 1468 return getTrunc(C, Ty, OnlyIfReduced); in getCast() 1470 return getZExt(C, Ty, OnlyIfReduced); in getCast() 1472 return getSExt(C, Ty, OnlyIfReduced); in getCast() 1474 return getFPTrunc(C, Ty, OnlyIfReduced); in getCast() [all …]
|