Lines Matching refs:OnlyIfReduced
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()
1476 return getFPExtend(C, Ty, OnlyIfReduced); in getCast()
1478 return getUIToFP(C, Ty, OnlyIfReduced); in getCast()
1480 return getSIToFP(C, Ty, OnlyIfReduced); in getCast()
1482 return getFPToUI(C, Ty, OnlyIfReduced); in getCast()
1484 return getFPToSI(C, Ty, OnlyIfReduced); in getCast()
1486 return getPtrToInt(C, Ty, OnlyIfReduced); in getCast()
1488 return getIntToPtr(C, Ty, OnlyIfReduced); in getCast()
1490 return getBitCast(C, Ty, OnlyIfReduced); in getCast()
1492 return getAddrSpaceCast(C, Ty, OnlyIfReduced); in getCast()
1564 Constant *ConstantExpr::getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) { in getTrunc() argument
1575 return getFoldedCast(Instruction::Trunc, C, Ty, OnlyIfReduced); in getTrunc()
1578 Constant *ConstantExpr::getSExt(Constant *C, Type *Ty, bool OnlyIfReduced) { in getSExt() argument
1589 return getFoldedCast(Instruction::SExt, C, Ty, OnlyIfReduced); in getSExt()
1592 Constant *ConstantExpr::getZExt(Constant *C, Type *Ty, bool OnlyIfReduced) { in getZExt() argument
1603 return getFoldedCast(Instruction::ZExt, C, Ty, OnlyIfReduced); in getZExt()
1606 Constant *ConstantExpr::getFPTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) { in getFPTrunc() argument
1615 return getFoldedCast(Instruction::FPTrunc, C, Ty, OnlyIfReduced); in getFPTrunc()
1618 Constant *ConstantExpr::getFPExtend(Constant *C, Type *Ty, bool OnlyIfReduced) { in getFPExtend() argument
1627 return getFoldedCast(Instruction::FPExt, C, Ty, OnlyIfReduced); in getFPExtend()
1630 Constant *ConstantExpr::getUIToFP(Constant *C, Type *Ty, bool OnlyIfReduced) { in getUIToFP() argument
1638 return getFoldedCast(Instruction::UIToFP, C, Ty, OnlyIfReduced); in getUIToFP()
1641 Constant *ConstantExpr::getSIToFP(Constant *C, Type *Ty, bool OnlyIfReduced) { in getSIToFP() argument
1649 return getFoldedCast(Instruction::SIToFP, C, Ty, OnlyIfReduced); in getSIToFP()
1652 Constant *ConstantExpr::getFPToUI(Constant *C, Type *Ty, bool OnlyIfReduced) { in getFPToUI() argument
1660 return getFoldedCast(Instruction::FPToUI, C, Ty, OnlyIfReduced); in getFPToUI()
1663 Constant *ConstantExpr::getFPToSI(Constant *C, Type *Ty, bool OnlyIfReduced) { in getFPToSI() argument
1671 return getFoldedCast(Instruction::FPToSI, C, Ty, OnlyIfReduced); in getFPToSI()
1675 bool OnlyIfReduced) { in getPtrToInt() argument
1684 return getFoldedCast(Instruction::PtrToInt, C, DstTy, OnlyIfReduced); in getPtrToInt()
1688 bool OnlyIfReduced) { in getIntToPtr() argument
1697 return getFoldedCast(Instruction::IntToPtr, C, DstTy, OnlyIfReduced); in getIntToPtr()
1701 bool OnlyIfReduced) { in getBitCast() argument
1709 return getFoldedCast(Instruction::BitCast, C, DstTy, OnlyIfReduced); in getBitCast()
1713 bool OnlyIfReduced) { in getAddrSpaceCast() argument
1730 return getFoldedCast(Instruction::AddrSpaceCast, C, DstTy, OnlyIfReduced); in getAddrSpaceCast()
1856 Constant *C2, bool OnlyIfReduced) { in getCompare() argument
1867 return getFCmp(Predicate, C1, C2, OnlyIfReduced); in getCompare()
1873 return getICmp(Predicate, C1, C2, OnlyIfReduced); in getCompare()
1949 Constant *RHS, bool OnlyIfReduced) { in getICmp() argument
1957 if (OnlyIfReduced) in getICmp()
1974 Constant *RHS, bool OnlyIfReduced) { in getFCmp() argument
1981 if (OnlyIfReduced) in getFCmp()