Searched refs:OnlyIfReduced (Results 1 – 4 of 4) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Constants.h | 950 static Constant *getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced = false); 951 static Constant *getSExt(Constant *C, Type *Ty, bool OnlyIfReduced = false); 952 static Constant *getZExt(Constant *C, Type *Ty, bool OnlyIfReduced = false); 954 bool OnlyIfReduced = false); 956 bool OnlyIfReduced = false); 957 static Constant *getUIToFP(Constant *C, Type *Ty, bool OnlyIfReduced = false); 958 static Constant *getSIToFP(Constant *C, Type *Ty, bool OnlyIfReduced = false); 959 static Constant *getFPToUI(Constant *C, Type *Ty, bool OnlyIfReduced = false); 960 static Constant *getFPToSI(Constant *C, Type *Ty, bool OnlyIfReduced = false); 962 bool OnlyIfReduced = false); [all …]
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Constants.cpp | 1184 bool OnlyIfReduced, Type *SrcTy) const { in getWithOperands() argument 1191 Type *OnlyIfReducedTy = OnlyIfReduced ? Ty : nullptr; in getWithOperands() 1206 return ConstantExpr::getCast(getOpcode(), Ops[0], Ty, OnlyIfReduced); in getWithOperands() 1490 bool OnlyIfReduced = false) { in getFoldedCast() argument 1496 if (OnlyIfReduced) in getFoldedCast() 1508 bool OnlyIfReduced) { in getCast() argument 1518 return getTrunc(C, Ty, OnlyIfReduced); in getCast() 1520 return getZExt(C, Ty, OnlyIfReduced); in getCast() 1522 return getSExt(C, Ty, OnlyIfReduced); in getCast() 1524 return getFPTrunc(C, Ty, OnlyIfReduced); in getCast() [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 …]
|