• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/

Lines Matching refs:OnlyIfReduced

1409                                         bool OnlyIfReduced, Type *SrcTy) const {
1416 Type *OnlyIfReducedTy = OnlyIfReduced ? Ty : nullptr;
1431 return ConstantExpr::getCast(getOpcode(), Ops[0], Ty, OnlyIfReduced);
1763 bool OnlyIfReduced = false) {
1769 if (OnlyIfReduced)
1781 bool OnlyIfReduced) {
1791 return getTrunc(C, Ty, OnlyIfReduced);
1793 return getZExt(C, Ty, OnlyIfReduced);
1795 return getSExt(C, Ty, OnlyIfReduced);
1797 return getFPTrunc(C, Ty, OnlyIfReduced);
1799 return getFPExtend(C, Ty, OnlyIfReduced);
1801 return getUIToFP(C, Ty, OnlyIfReduced);
1803 return getSIToFP(C, Ty, OnlyIfReduced);
1805 return getFPToUI(C, Ty, OnlyIfReduced);
1807 return getFPToSI(C, Ty, OnlyIfReduced);
1809 return getPtrToInt(C, Ty, OnlyIfReduced);
1811 return getIntToPtr(C, Ty, OnlyIfReduced);
1813 return getBitCast(C, Ty, OnlyIfReduced);
1815 return getAddrSpaceCast(C, Ty, OnlyIfReduced);
1887 Constant *ConstantExpr::getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) {
1898 return getFoldedCast(Instruction::Trunc, C, Ty, OnlyIfReduced);
1901 Constant *ConstantExpr::getSExt(Constant *C, Type *Ty, bool OnlyIfReduced) {
1912 return getFoldedCast(Instruction::SExt, C, Ty, OnlyIfReduced);
1915 Constant *ConstantExpr::getZExt(Constant *C, Type *Ty, bool OnlyIfReduced) {
1926 return getFoldedCast(Instruction::ZExt, C, Ty, OnlyIfReduced);
1929 Constant *ConstantExpr::getFPTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) {
1938 return getFoldedCast(Instruction::FPTrunc, C, Ty, OnlyIfReduced);
1941 Constant *ConstantExpr::getFPExtend(Constant *C, Type *Ty, bool OnlyIfReduced) {
1950 return getFoldedCast(Instruction::FPExt, C, Ty, OnlyIfReduced);
1953 Constant *ConstantExpr::getUIToFP(Constant *C, Type *Ty, bool OnlyIfReduced) {
1961 return getFoldedCast(Instruction::UIToFP, C, Ty, OnlyIfReduced);
1964 Constant *ConstantExpr::getSIToFP(Constant *C, Type *Ty, bool OnlyIfReduced) {
1972 return getFoldedCast(Instruction::SIToFP, C, Ty, OnlyIfReduced);
1975 Constant *ConstantExpr::getFPToUI(Constant *C, Type *Ty, bool OnlyIfReduced) {
1983 return getFoldedCast(Instruction::FPToUI, C, Ty, OnlyIfReduced);
1986 Constant *ConstantExpr::getFPToSI(Constant *C, Type *Ty, bool OnlyIfReduced) {
1994 return getFoldedCast(Instruction::FPToSI, C, Ty, OnlyIfReduced);
1998 bool OnlyIfReduced) {
2008 return getFoldedCast(Instruction::PtrToInt, C, DstTy, OnlyIfReduced);
2012 bool OnlyIfReduced) {
2022 return getFoldedCast(Instruction::IntToPtr, C, DstTy, OnlyIfReduced);
2026 bool OnlyIfReduced) {
2034 return getFoldedCast(Instruction::BitCast, C, DstTy, OnlyIfReduced);
2038 bool OnlyIfReduced) {
2055 return getFoldedCast(Instruction::AddrSpaceCast, C, DstTy, OnlyIfReduced);
2190 Constant *C2, bool OnlyIfReduced) {
2201 return getFCmp(Predicate, C1, C2, OnlyIfReduced);
2207 return getICmp(Predicate, C1, C2, OnlyIfReduced);
2294 Constant *RHS, bool OnlyIfReduced) {
2302 if (OnlyIfReduced)
2319 Constant *RHS, bool OnlyIfReduced) {
2327 if (OnlyIfReduced)