Searched refs:OnlyIfReduced (Results 1 – 2 of 2) sorted by relevance
/external/llvm/include/llvm/IR/ |
D | Constants.h | 942 static Constant *getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced = false); 943 static Constant *getSExt(Constant *C, Type *Ty, bool OnlyIfReduced = false); 944 static Constant *getZExt(Constant *C, Type *Ty, bool OnlyIfReduced = false); 946 bool OnlyIfReduced = false); 948 bool OnlyIfReduced = false); 949 static Constant *getUIToFP(Constant *C, Type *Ty, bool OnlyIfReduced = false); 950 static Constant *getSIToFP(Constant *C, Type *Ty, bool OnlyIfReduced = false); 951 static Constant *getFPToUI(Constant *C, Type *Ty, bool OnlyIfReduced = false); 952 static Constant *getFPToSI(Constant *C, Type *Ty, bool OnlyIfReduced = false); 954 bool OnlyIfReduced = false); [all …]
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 1180 bool OnlyIfReduced, Type *SrcTy) const { in getWithOperands() argument 1187 Type *OnlyIfReducedTy = OnlyIfReduced ? Ty : nullptr; in getWithOperands() 1202 return ConstantExpr::getCast(getOpcode(), Ops[0], Ty, OnlyIfReduced); in getWithOperands() 1509 bool OnlyIfReduced = false) { in getFoldedCast() argument 1515 if (OnlyIfReduced) in getFoldedCast() 1527 bool OnlyIfReduced) { in getCast() argument 1537 return getTrunc(C, Ty, OnlyIfReduced); in getCast() 1539 return getZExt(C, Ty, OnlyIfReduced); in getCast() 1541 return getSExt(C, Ty, OnlyIfReduced); in getCast() 1543 return getFPTrunc(C, Ty, OnlyIfReduced); in getCast() [all …]
|