Lines Matching refs:OnlyIfReduced

1207                                         bool OnlyIfReduced, Type *SrcTy) const {  in getWithOperands()  argument
1214 Type *OnlyIfReducedTy = OnlyIfReduced ? Ty : nullptr; in getWithOperands()
1229 return ConstantExpr::getCast(getOpcode(), Ops[0], Ty, OnlyIfReduced); in getWithOperands()
1513 bool OnlyIfReduced = false) { in getFoldedCast() argument
1519 if (OnlyIfReduced) in getFoldedCast()
1531 bool OnlyIfReduced) { in getCast() argument
1541 return getTrunc(C, Ty, OnlyIfReduced); in getCast()
1543 return getZExt(C, Ty, OnlyIfReduced); in getCast()
1545 return getSExt(C, Ty, OnlyIfReduced); in getCast()
1547 return getFPTrunc(C, Ty, OnlyIfReduced); in getCast()
1549 return getFPExtend(C, Ty, OnlyIfReduced); in getCast()
1551 return getUIToFP(C, Ty, OnlyIfReduced); in getCast()
1553 return getSIToFP(C, Ty, OnlyIfReduced); in getCast()
1555 return getFPToUI(C, Ty, OnlyIfReduced); in getCast()
1557 return getFPToSI(C, Ty, OnlyIfReduced); in getCast()
1559 return getPtrToInt(C, Ty, OnlyIfReduced); in getCast()
1561 return getIntToPtr(C, Ty, OnlyIfReduced); in getCast()
1563 return getBitCast(C, Ty, OnlyIfReduced); in getCast()
1565 return getAddrSpaceCast(C, Ty, OnlyIfReduced); in getCast()
1637 Constant *ConstantExpr::getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) { in getTrunc() argument
1648 return getFoldedCast(Instruction::Trunc, C, Ty, OnlyIfReduced); in getTrunc()
1651 Constant *ConstantExpr::getSExt(Constant *C, Type *Ty, bool OnlyIfReduced) { in getSExt() argument
1662 return getFoldedCast(Instruction::SExt, C, Ty, OnlyIfReduced); in getSExt()
1665 Constant *ConstantExpr::getZExt(Constant *C, Type *Ty, bool OnlyIfReduced) { in getZExt() argument
1676 return getFoldedCast(Instruction::ZExt, C, Ty, OnlyIfReduced); in getZExt()
1679 Constant *ConstantExpr::getFPTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) { in getFPTrunc() argument
1688 return getFoldedCast(Instruction::FPTrunc, C, Ty, OnlyIfReduced); in getFPTrunc()
1691 Constant *ConstantExpr::getFPExtend(Constant *C, Type *Ty, bool OnlyIfReduced) { in getFPExtend() argument
1700 return getFoldedCast(Instruction::FPExt, C, Ty, OnlyIfReduced); in getFPExtend()
1703 Constant *ConstantExpr::getUIToFP(Constant *C, Type *Ty, bool OnlyIfReduced) { in getUIToFP() argument
1711 return getFoldedCast(Instruction::UIToFP, C, Ty, OnlyIfReduced); in getUIToFP()
1714 Constant *ConstantExpr::getSIToFP(Constant *C, Type *Ty, bool OnlyIfReduced) { in getSIToFP() argument
1722 return getFoldedCast(Instruction::SIToFP, C, Ty, OnlyIfReduced); in getSIToFP()
1725 Constant *ConstantExpr::getFPToUI(Constant *C, Type *Ty, bool OnlyIfReduced) { in getFPToUI() argument
1733 return getFoldedCast(Instruction::FPToUI, C, Ty, OnlyIfReduced); in getFPToUI()
1736 Constant *ConstantExpr::getFPToSI(Constant *C, Type *Ty, bool OnlyIfReduced) { in getFPToSI() argument
1744 return getFoldedCast(Instruction::FPToSI, C, Ty, OnlyIfReduced); in getFPToSI()
1748 bool OnlyIfReduced) { in getPtrToInt() argument
1757 return getFoldedCast(Instruction::PtrToInt, C, DstTy, OnlyIfReduced); in getPtrToInt()
1761 bool OnlyIfReduced) { in getIntToPtr() argument
1770 return getFoldedCast(Instruction::IntToPtr, C, DstTy, OnlyIfReduced); in getIntToPtr()
1774 bool OnlyIfReduced) { in getBitCast() argument
1782 return getFoldedCast(Instruction::BitCast, C, DstTy, OnlyIfReduced); in getBitCast()
1786 bool OnlyIfReduced) { in getAddrSpaceCast() argument
1803 return getFoldedCast(Instruction::AddrSpaceCast, C, DstTy, OnlyIfReduced); in getAddrSpaceCast()
1957 Constant *C2, bool OnlyIfReduced) { in getCompare() argument
1968 return getFCmp(Predicate, C1, C2, OnlyIfReduced); in getCompare()
1974 return getICmp(Predicate, C1, C2, OnlyIfReduced); in getCompare()
2054 Constant *RHS, bool OnlyIfReduced) { in getICmp() argument
2062 if (OnlyIfReduced) in getICmp()
2079 Constant *RHS, bool OnlyIfReduced) { in getFCmp() argument
2087 if (OnlyIfReduced) in getFCmp()