Lines Matching refs:getConstant
1138 auto Ops = {DAG.getConstant(0, SDLoc(), Op.getValueType()), Op.getOperand(0)}; in LowerDYNAMIC_STACKALLOC()
1240 return DAG.getConstant(Offset, SDLoc(Op), Op.getValueType()); in LowerGlobalAddress()
1375 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in split64BitValue()
1376 const SDValue One = DAG.getConstant(1, SL, MVT::i32); in split64BitValue()
1388 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in getLoHalf64()
1396 const SDValue One = DAG.getConstant(1, SL, MVT::i32); in getHiHalf64()
1598 SDValue jq = DAG.getConstant(1, DL, IntVT); in LowerDIVREM24()
1606 DAG.getConstant(BitSize - 2, DL, VT)); in LowerDIVREM24()
1609 jq = DAG.getNode(ISD::OR, DL, VT, jq, DAG.getConstant(1, DL, VT)); in LowerDIVREM24()
1659 jq = DAG.getNode(ISD::SELECT, DL, VT, cv, jq, DAG.getConstant(0, DL, VT)); in LowerDIVREM24()
1675 SDValue TruncMask = DAG.getConstant((UINT64_C(1) << DivBits) - 1, DL, VT); in LowerDIVREM24()
1693 SDValue One = DAG.getConstant(1, DL, HalfVT); in LowerUDIVREM64()
1694 SDValue Zero = DAG.getConstant(0, DL, HalfVT); in LowerUDIVREM64()
1752 SDValue Zero64 = DAG.getConstant(0, DL, VT); in LowerUDIVREM64()
1753 SDValue One64 = DAG.getConstant(1, DL, VT); in LowerUDIVREM64()
1754 SDValue Zero1 = DAG.getConstant(0, DL, MVT::i1); in LowerUDIVREM64()
1800 SDValue MinusOne = DAG.getConstant(0xffffffffu, DL, HalfVT); in LowerUDIVREM64()
1872 SDValue POS = DAG.getConstant(bitPos, DL, HalfVT); in LowerUDIVREM64()
1879 REM = DAG.getNode(ISD::SHL, DL, VT, REM, DAG.getConstant(1, DL, VT)); in LowerUDIVREM64()
1883 SDValue BIT = DAG.getConstant(1ULL << bitPos, DL, HalfVT); in LowerUDIVREM64()
1925 SDValue NegY = DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, DL, VT), Y); in LowerUDIVREM()
1937 SDValue One = DAG.getConstant(1, DL, VT); in LowerUDIVREM()
1962 SDValue Zero = DAG.getConstant(0, DL, VT); in LowerSDIVREM()
1963 SDValue NegOne = DAG.getConstant(-1, DL, VT); in LowerSDIVREM()
2061 DAG.getConstant(FractBits - 32, SL, MVT::i32), in extractF64Exponent()
2062 DAG.getConstant(ExpBits, SL, MVT::i32)); in extractF64Exponent()
2064 DAG.getConstant(1023, SL, MVT::i32)); in extractF64Exponent()
2075 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in LowerFTRUNC()
2086 const SDValue SignBitMask = DAG.getConstant(UINT32_C(1) << 31, SL, MVT::i32); in LowerFTRUNC()
2095 = DAG.getConstant((UINT64_C(1) << FractBits) - 1, SL, MVT::i64); in LowerFTRUNC()
2104 const SDValue FiftyOne = DAG.getConstant(FractBits - 1, SL, MVT::i32); in LowerFTRUNC()
2257 const SDValue Const32 = DAG.getConstant(32, SL, MVT::i32); in LowerCTLZ_CTTZ()
2275 const SDValue Const32 = DAG.getConstant(32, SL, MVT::i32); in LowerCTLZ_CTTZ()
2284 const SDValue Const64 = DAG.getConstant(64, SL, MVT::i32); in LowerCTLZ_CTTZ()
2350 DAG.getConstant(31, SL, MVT::i32)); in LowerINT_TO_FP32()
2352 DAG.getNode(ISD::ADD, SL, MVT::i32, DAG.getConstant(32, SL, MVT::i32), in LowerINT_TO_FP32()
2359 DAG.getConstant(1, SL, MVT::i32)); in LowerINT_TO_FP32()
2366 DAG.getConstant(63, SL, MVT::i64)); in LowerINT_TO_FP32()
2383 DAG.getConstant(1, SL, MVT::i32), Lo); in LowerINT_TO_FP32()
2393 ShAmt = DAG.getNode(ISD::SUB, SL, MVT::i32, DAG.getConstant(32, SL, MVT::i32), in LowerINT_TO_FP32()
2403 DAG.getConstant(23, SL, MVT::i32)); in LowerINT_TO_FP32()
2411 DAG.getConstant(31, SL, MVT::i32)); in LowerINT_TO_FP32()
2431 DAG.getConstant(32, SL, MVT::i32)); in LowerINT_TO_FP64()
2541 DAG.getConstant(31, SL, MVT::i32)); in LowerFP_TO_INT64()
2605 SDValue Zero = DAG.getConstant(0, DL, MVT::i32); in LowerFP_TO_FP16()
2606 SDValue One = DAG.getConstant(1, DL, MVT::i32); in LowerFP_TO_FP16()
2609 DAG.getConstant(32, DL, MVT::i64)); in LowerFP_TO_FP16()
2613 DAG.getConstant(20, DL, MVT::i64)); in LowerFP_TO_FP16()
2615 DAG.getConstant(ExpMask, DL, MVT::i32)); in LowerFP_TO_FP16()
2619 DAG.getConstant(-ExpBiasf64 + ExpBiasf16, DL, MVT::i32)); in LowerFP_TO_FP16()
2622 DAG.getConstant(8, DL, MVT::i32)); in LowerFP_TO_FP16()
2624 DAG.getConstant(0xffe, DL, MVT::i32)); in LowerFP_TO_FP16()
2627 DAG.getConstant(0x1ff, DL, MVT::i32)); in LowerFP_TO_FP16()
2635 DAG.getSelectCC(DL, M, Zero, DAG.getConstant(0x0200, DL, MVT::i32), in LowerFP_TO_FP16()
2636 Zero, ISD::SETNE), DAG.getConstant(0x7c00, DL, MVT::i32)); in LowerFP_TO_FP16()
2641 DAG.getConstant(12, DL, MVT::i32))); in LowerFP_TO_FP16()
2648 DAG.getConstant(13, DL, MVT::i32)); in LowerFP_TO_FP16()
2651 DAG.getConstant(0x1000, DL, MVT::i32)); in LowerFP_TO_FP16()
2660 DAG.getConstant(0x7, DL, MVT::i32)); in LowerFP_TO_FP16()
2662 DAG.getConstant(2, DL, MVT::i32)); in LowerFP_TO_FP16()
2663 SDValue V0 = DAG.getSelectCC(DL, VLow3, DAG.getConstant(3, DL, MVT::i32), in LowerFP_TO_FP16()
2665 SDValue V1 = DAG.getSelectCC(DL, VLow3, DAG.getConstant(5, DL, MVT::i32), in LowerFP_TO_FP16()
2670 V = DAG.getSelectCC(DL, E, DAG.getConstant(30, DL, MVT::i32), in LowerFP_TO_FP16()
2671 DAG.getConstant(0x7c00, DL, MVT::i32), V, ISD::SETGT); in LowerFP_TO_FP16()
2672 V = DAG.getSelectCC(DL, E, DAG.getConstant(1039, DL, MVT::i32), in LowerFP_TO_FP16()
2677 DAG.getConstant(16, DL, MVT::i32)); in LowerFP_TO_FP16()
2679 DAG.getConstant(0x8000, DL, MVT::i32)); in LowerFP_TO_FP16()
2815 return DAG.getConstant(Result, DL, MVT::i32); in constantFoldBFE()
2818 return DAG.getConstant(Src0 >> Offset, DL, MVT::i32); in constantFoldBFE()
3020 SDValue LoRHS = DAG.getConstant(ValLo, SL, MVT::i32); in splitBinaryBitConstantOpImpl()
3021 SDValue HiRHS = DAG.getConstant(ValHi, SL, MVT::i32); in splitBinaryBitConstantOpImpl()
3064 { DAG.getConstant(0, SL, MVT::i16), LHS->getOperand(0) }); in performShlCombine()
3092 SDValue ShiftAmt = DAG.getConstant(RHSVal - 32, SL, MVT::i32); in performShlCombine()
3097 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in performShlCombine()
3120 DAG.getConstant(31, SL, MVT::i32)); in performSraCombine()
3130 DAG.getConstant(31, SL, MVT::i32)); in performSraCombine()
3174 SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in performSrlCombine()
3178 SDValue NewConst = DAG.getConstant(ShiftAmt - 32, SL, MVT::i32); in performSrlCombine()
3245 if ((Known.isConstant() && Known.getConstant().ule(Size)) || in performTruncateCombine()
3896 DAG.getConstant(0x8000, SL, SrcVT)); in performFNegCombine()
3921 DAG.getConstant(0x7fff, SL, SrcVT)); in performFAbsCombine()
3990 DAG.getConstant(Lo_32(CVal), SL, MVT::i32), in PerformDAGCombine()
3991 DAG.getConstant(Hi_32(CVal), SL, MVT::i32)); in PerformDAGCombine()
4000 DAG.getConstant(Lo_32(CVal), SL, MVT::i32), in PerformDAGCombine()
4001 DAG.getConstant(Hi_32(CVal), SL, MVT::i32)); in PerformDAGCombine()
4058 return DAG.getConstant(0, DL, MVT::i32); in PerformDAGCombine()
4110 SDValue ShiftVal = DAG.getConstant(OffsetVal, DL, MVT::i32); in PerformDAGCombine()
4213 SDValue Ptr = DAG.getConstant(Offset, SL, MVT::i32); in storeStackInputValue()
4241 DAG.getConstant(Mask >> Shift, SL, VT)); in loadInputValue()