Lines Matching refs:OnlyIfReduced
1457 bool OnlyIfReduced, Type *SrcTy) const { in getWithOperands() argument
1464 Type *OnlyIfReducedTy = OnlyIfReduced ? Ty : nullptr; in getWithOperands()
1479 return ConstantExpr::getCast(getOpcode(), Ops[0], Ty, OnlyIfReduced); in getWithOperands()
1926 bool OnlyIfReduced = false) { in getFoldedCast() argument
1932 if (OnlyIfReduced) in getFoldedCast()
1944 bool OnlyIfReduced) { in getCast() argument
1954 return getTrunc(C, Ty, OnlyIfReduced); in getCast()
1956 return getZExt(C, Ty, OnlyIfReduced); in getCast()
1958 return getSExt(C, Ty, OnlyIfReduced); in getCast()
1960 return getFPTrunc(C, Ty, OnlyIfReduced); in getCast()
1962 return getFPExtend(C, Ty, OnlyIfReduced); in getCast()
1964 return getUIToFP(C, Ty, OnlyIfReduced); in getCast()
1966 return getSIToFP(C, Ty, OnlyIfReduced); in getCast()
1968 return getFPToUI(C, Ty, OnlyIfReduced); in getCast()
1970 return getFPToSI(C, Ty, OnlyIfReduced); in getCast()
1972 return getPtrToInt(C, Ty, OnlyIfReduced); in getCast()
1974 return getIntToPtr(C, Ty, OnlyIfReduced); in getCast()
1976 return getBitCast(C, Ty, OnlyIfReduced); in getCast()
1978 return getAddrSpaceCast(C, Ty, OnlyIfReduced); in getCast()
2061 Constant *ConstantExpr::getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) { in getTrunc() argument
2072 return getFoldedCast(Instruction::Trunc, C, Ty, OnlyIfReduced); in getTrunc()
2075 Constant *ConstantExpr::getSExt(Constant *C, Type *Ty, bool OnlyIfReduced) { in getSExt() argument
2086 return getFoldedCast(Instruction::SExt, C, Ty, OnlyIfReduced); in getSExt()
2089 Constant *ConstantExpr::getZExt(Constant *C, Type *Ty, bool OnlyIfReduced) { in getZExt() argument
2100 return getFoldedCast(Instruction::ZExt, C, Ty, OnlyIfReduced); in getZExt()
2103 Constant *ConstantExpr::getFPTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) { in getFPTrunc() argument
2112 return getFoldedCast(Instruction::FPTrunc, C, Ty, OnlyIfReduced); in getFPTrunc()
2115 Constant *ConstantExpr::getFPExtend(Constant *C, Type *Ty, bool OnlyIfReduced) { in getFPExtend() argument
2124 return getFoldedCast(Instruction::FPExt, C, Ty, OnlyIfReduced); in getFPExtend()
2127 Constant *ConstantExpr::getUIToFP(Constant *C, Type *Ty, bool OnlyIfReduced) { in getUIToFP() argument
2135 return getFoldedCast(Instruction::UIToFP, C, Ty, OnlyIfReduced); in getUIToFP()
2138 Constant *ConstantExpr::getSIToFP(Constant *C, Type *Ty, bool OnlyIfReduced) { in getSIToFP() argument
2146 return getFoldedCast(Instruction::SIToFP, C, Ty, OnlyIfReduced); in getSIToFP()
2149 Constant *ConstantExpr::getFPToUI(Constant *C, Type *Ty, bool OnlyIfReduced) { in getFPToUI() argument
2157 return getFoldedCast(Instruction::FPToUI, C, Ty, OnlyIfReduced); in getFPToUI()
2160 Constant *ConstantExpr::getFPToSI(Constant *C, Type *Ty, bool OnlyIfReduced) { in getFPToSI() argument
2168 return getFoldedCast(Instruction::FPToSI, C, Ty, OnlyIfReduced); in getFPToSI()
2172 bool OnlyIfReduced) { in getPtrToInt() argument
2182 return getFoldedCast(Instruction::PtrToInt, C, DstTy, OnlyIfReduced); in getPtrToInt()
2186 bool OnlyIfReduced) { in getIntToPtr() argument
2196 return getFoldedCast(Instruction::IntToPtr, C, DstTy, OnlyIfReduced); in getIntToPtr()
2200 bool OnlyIfReduced) { in getBitCast() argument
2208 return getFoldedCast(Instruction::BitCast, C, DstTy, OnlyIfReduced); in getBitCast()
2212 bool OnlyIfReduced) { in getAddrSpaceCast() argument
2230 return getFoldedCast(Instruction::AddrSpaceCast, C, DstTy, OnlyIfReduced); in getAddrSpaceCast()
2421 Constant *C2, bool OnlyIfReduced) { in getCompare() argument
2432 return getFCmp(Predicate, C1, C2, OnlyIfReduced); in getCompare()
2438 return getICmp(Predicate, C1, C2, OnlyIfReduced); in getCompare()
2525 Constant *RHS, bool OnlyIfReduced) { in getICmp() argument
2533 if (OnlyIfReduced) in getICmp()
2550 Constant *RHS, bool OnlyIfReduced) { in getFCmp() argument
2558 if (OnlyIfReduced) in getFCmp()