/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeIntegerTypes.cpp | 1114 SDValue SatMin = DAG.getConstant(MinVal, dl, PromotedType); in PromoteIntRes_ADDSUBSHLSAT() local 1119 Result = matcher.getNode(ISD::SMAX, dl, PromotedType, Result, SatMin); in PromoteIntRes_ADDSUBSHLSAT() 4270 SDValue SatMin = DAG.getConstant(MinVal, dl, VT); in ExpandIntRes_MULFIX() local 4277 Result = DAG.getSelect(dl, VT, ProdNeg, SatMin, SatMax); in ExpandIntRes_MULFIX() 4373 SDValue SatMax, SatMin; in ExpandIntRes_MULFIX() local 4426 SatMin = DAG.getNode(ISD::OR, dl, BoolNVT, HHLT, in ExpandIntRes_MULFIX() 4439 SatMin = DAG.getNode(ISD::OR, dl, BoolNVT, HHLT, in ExpandIntRes_MULFIX() 4450 SatMin = DAG.getSetCC(dl, BoolNVT, ResultHH, HHHiMask, ISD::SETLT); in ExpandIntRes_MULFIX() 4461 Hi = DAG.getSelect(dl, NVT, SatMin, DAG.getConstant(MinHi, dl, NVT), Hi); in ExpandIntRes_MULFIX() 4462 Lo = DAG.getSelect(dl, NVT, SatMin, NVTZero, Lo); in ExpandIntRes_MULFIX()
|
H A D | TargetLowering.cpp | 10427 SDValue SatMin = DAG.getConstant(MinVal, dl, VT); in expandAddSubSat() local 10428 return DAG.getSelect(dl, VT, Overflow, SatMin, SumDiff); in expandAddSubSat() 10434 SDValue SatMin = DAG.getConstant(MinVal, dl, VT); in expandAddSubSat() local 10437 Result = DAG.getNode(ISD::XOR, dl, VT, Shift, SatMin); in expandAddSubSat() 10503 SDValue SatMin = DAG.getConstant(APInt::getSignedMinValue(BW), dl, VT); in expandShlSat() local 10507 SatVal = DAG.getSelect(dl, VT, Cond, SatMin, SatMax); in expandShlSat() 10665 SDValue SatMin = DAG.getConstant(MinVal, dl, VT); in expandFixedPointMul() local 10671 Result = DAG.getSelect(dl, VT, ProdNeg, SatMin, SatMax); in expandFixedPointMul() 10753 SDValue SatMin = DAG.getConstant(APInt::getSignedMinValue(VTSize), dl, VT); in expandFixedPointMul() local 10763 SDValue ResultIfOverflow = DAG.getSelectCC(dl, Hi, Zero, SatMin, SatMax, in expandFixedPointMul() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.cpp | 8133 auto SatMin = MIRBuilder.buildConstant(Ty, APInt::getSignedMinValue(BW)); in lowerShlSat() local 8137 SatVal = MIRBuilder.buildSelect(Ty, Cmp, SatMin, SatMax); in lowerShlSat()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.cpp | 5699 SDValue SatMin = DAG.getConstant(MinVal, DL, MVT::i64); in lowerSADDSAT_SSUBSAT() local 5702 Result = DAG.getNode(ISD::SMAX, DL, MVT::i64, Result, SatMin); in lowerSADDSAT_SSUBSAT()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 28193 SDValue SatMin = DAG.getConstant(MinVal, DL, VT); in LowerADDSAT_SUBSAT() local 28197 Result = DAG.getSelect(DL, VT, SumNeg, SatMax, SatMin); in LowerADDSAT_SUBSAT()
|