Lines Matching refs:OnlyIfReduced
1528 bool OnlyIfReduced, Type *SrcTy) const { in getWithOperands() argument
1535 Type *OnlyIfReducedTy = OnlyIfReduced ? Ty : nullptr; in getWithOperands()
1550 return ConstantExpr::getCast(getOpcode(), Ops[0], Ty, OnlyIfReduced); in getWithOperands()
1961 bool OnlyIfReduced = false) { in getFoldedCast() argument
1967 if (OnlyIfReduced) in getFoldedCast()
1979 bool OnlyIfReduced) { in getCast() argument
1989 return getTrunc(C, Ty, OnlyIfReduced); in getCast()
1991 return getZExt(C, Ty, OnlyIfReduced); in getCast()
1993 return getSExt(C, Ty, OnlyIfReduced); in getCast()
1995 return getFPTrunc(C, Ty, OnlyIfReduced); in getCast()
1997 return getFPExtend(C, Ty, OnlyIfReduced); in getCast()
1999 return getUIToFP(C, Ty, OnlyIfReduced); in getCast()
2001 return getSIToFP(C, Ty, OnlyIfReduced); in getCast()
2003 return getFPToUI(C, Ty, OnlyIfReduced); in getCast()
2005 return getFPToSI(C, Ty, OnlyIfReduced); in getCast()
2007 return getPtrToInt(C, Ty, OnlyIfReduced); in getCast()
2009 return getIntToPtr(C, Ty, OnlyIfReduced); in getCast()
2011 return getBitCast(C, Ty, OnlyIfReduced); in getCast()
2013 return getAddrSpaceCast(C, Ty, OnlyIfReduced); in getCast()
2085 Constant *ConstantExpr::getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) { in getTrunc() argument
2096 return getFoldedCast(Instruction::Trunc, C, Ty, OnlyIfReduced); in getTrunc()
2099 Constant *ConstantExpr::getSExt(Constant *C, Type *Ty, bool OnlyIfReduced) { in getSExt() argument
2110 return getFoldedCast(Instruction::SExt, C, Ty, OnlyIfReduced); in getSExt()
2113 Constant *ConstantExpr::getZExt(Constant *C, Type *Ty, bool OnlyIfReduced) { in getZExt() argument
2124 return getFoldedCast(Instruction::ZExt, C, Ty, OnlyIfReduced); in getZExt()
2127 Constant *ConstantExpr::getFPTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) { in getFPTrunc() argument
2136 return getFoldedCast(Instruction::FPTrunc, C, Ty, OnlyIfReduced); in getFPTrunc()
2139 Constant *ConstantExpr::getFPExtend(Constant *C, Type *Ty, bool OnlyIfReduced) { in getFPExtend() argument
2148 return getFoldedCast(Instruction::FPExt, C, Ty, OnlyIfReduced); in getFPExtend()
2151 Constant *ConstantExpr::getUIToFP(Constant *C, Type *Ty, bool OnlyIfReduced) { in getUIToFP() argument
2159 return getFoldedCast(Instruction::UIToFP, C, Ty, OnlyIfReduced); in getUIToFP()
2162 Constant *ConstantExpr::getSIToFP(Constant *C, Type *Ty, bool OnlyIfReduced) { in getSIToFP() argument
2170 return getFoldedCast(Instruction::SIToFP, C, Ty, OnlyIfReduced); in getSIToFP()
2173 Constant *ConstantExpr::getFPToUI(Constant *C, Type *Ty, bool OnlyIfReduced) { in getFPToUI() argument
2181 return getFoldedCast(Instruction::FPToUI, C, Ty, OnlyIfReduced); in getFPToUI()
2184 Constant *ConstantExpr::getFPToSI(Constant *C, Type *Ty, bool OnlyIfReduced) { in getFPToSI() argument
2192 return getFoldedCast(Instruction::FPToSI, C, Ty, OnlyIfReduced); in getFPToSI()
2196 bool OnlyIfReduced) { in getPtrToInt() argument
2206 return getFoldedCast(Instruction::PtrToInt, C, DstTy, OnlyIfReduced); in getPtrToInt()
2210 bool OnlyIfReduced) { in getIntToPtr() argument
2220 return getFoldedCast(Instruction::IntToPtr, C, DstTy, OnlyIfReduced); in getIntToPtr()
2224 bool OnlyIfReduced) { in getBitCast() argument
2232 return getFoldedCast(Instruction::BitCast, C, DstTy, OnlyIfReduced); in getBitCast()
2236 bool OnlyIfReduced) { in getAddrSpaceCast() argument
2254 return getFoldedCast(Instruction::AddrSpaceCast, C, DstTy, OnlyIfReduced); in getAddrSpaceCast()
2389 Constant *C2, bool OnlyIfReduced) { in getCompare() argument
2400 return getFCmp(Predicate, C1, C2, OnlyIfReduced); in getCompare()
2406 return getICmp(Predicate, C1, C2, OnlyIfReduced); in getCompare()
2493 Constant *RHS, bool OnlyIfReduced) { in getICmp() argument
2501 if (OnlyIfReduced) in getICmp()
2518 Constant *RHS, bool OnlyIfReduced) { in getFCmp() argument
2526 if (OnlyIfReduced) in getFCmp()