Lines Matching refs:getConstant

1274   auto Ops = {DAG.getConstant(0, SDLoc(), Op.getValueType()), Op.getOperand(0)};  in LowerDYNAMIC_STACKALLOC()
1383 return DAG.getConstant(Offset, SDLoc(Op), Op.getValueType()); in LowerGlobalAddress()
1514 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in split64BitValue()
1515 const SDValue One = DAG.getConstant(1, SL, MVT::i32); in split64BitValue()
1527 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in getLoHalf64()
1535 const SDValue One = DAG.getConstant(1, SL, MVT::i32); in getHiHalf64()
1737 SDValue jq = DAG.getConstant(1, DL, IntVT); in LowerDIVREM24()
1745 DAG.getConstant(BitSize - 2, DL, VT)); in LowerDIVREM24()
1748 jq = DAG.getNode(ISD::OR, DL, VT, jq, DAG.getConstant(1, DL, VT)); in LowerDIVREM24()
1798 jq = DAG.getNode(ISD::SELECT, DL, VT, cv, jq, DAG.getConstant(0, DL, VT)); in LowerDIVREM24()
1814 SDValue TruncMask = DAG.getConstant((UINT64_C(1) << DivBits) - 1, DL, VT); in LowerDIVREM24()
1832 SDValue One = DAG.getConstant(1, DL, HalfVT); in LowerUDIVREM64()
1833 SDValue Zero = DAG.getConstant(0, DL, HalfVT); in LowerUDIVREM64()
1888 SDValue Zero64 = DAG.getConstant(0, DL, VT); in LowerUDIVREM64()
1889 SDValue One64 = DAG.getConstant(1, DL, VT); in LowerUDIVREM64()
1890 SDValue Zero1 = DAG.getConstant(0, DL, MVT::i1); in LowerUDIVREM64()
1938 SDValue MinusOne = DAG.getConstant(0xffffffffu, DL, HalfVT); in LowerUDIVREM64()
2010 SDValue POS = DAG.getConstant(bitPos, DL, HalfVT); in LowerUDIVREM64()
2017 REM = DAG.getNode(ISD::SHL, DL, VT, REM, DAG.getConstant(1, DL, VT)); in LowerUDIVREM64()
2021 SDValue BIT = DAG.getConstant(1ULL << bitPos, DL, HalfVT); in LowerUDIVREM64()
2063 SDValue NegY = DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, DL, VT), Y); in LowerUDIVREM()
2075 SDValue One = DAG.getConstant(1, DL, VT); in LowerUDIVREM()
2100 SDValue Zero = DAG.getConstant(0, DL, VT); in LowerSDIVREM()
2101 SDValue NegOne = DAG.getConstant(-1, DL, VT); in LowerSDIVREM()
2199 DAG.getConstant(FractBits - 32, SL, MVT::i32), in extractF64Exponent()
2200 DAG.getConstant(ExpBits, SL, MVT::i32)); in extractF64Exponent()
2202 DAG.getConstant(1023, SL, MVT::i32)); in extractF64Exponent()
2213 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in LowerFTRUNC()
2214 const SDValue One = DAG.getConstant(1, SL, MVT::i32); in LowerFTRUNC()
2227 const SDValue SignBitMask = DAG.getConstant(UINT32_C(1) << 31, SL, MVT::i32); in LowerFTRUNC()
2236 = DAG.getConstant((UINT64_C(1) << FractBits) - 1, SL, MVT::i64); in LowerFTRUNC()
2245 const SDValue FiftyOne = DAG.getConstant(FractBits - 1, SL, MVT::i32); in LowerFTRUNC()
2402 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in LowerCTLZ_CTTZ()
2403 const SDValue One = DAG.getConstant(1, SL, MVT::i32); in LowerCTLZ_CTTZ()
2417 const SDValue Bits32 = DAG.getConstant(32, SL, MVT::i32); in LowerCTLZ_CTTZ()
2443 const SDValue Bits32 = DAG.getConstant(64, SL, MVT::i32); in LowerCTLZ_CTTZ()
2481 const SDValue SignBit = DAG.getConstant(63, SL, MVT::i64); in LowerINT_TO_FP32()
2492 SDValue ZeroI32 = DAG.getConstant(0, SL, MVT::i32); in LowerINT_TO_FP32()
2493 SDValue ZeroI64 = DAG.getConstant(0, SL, MVT::i64); in LowerINT_TO_FP32()
2497 SDValue K = DAG.getConstant(127U + 63U, SL, MVT::i32); in LowerINT_TO_FP32()
2505 DAG.getConstant((-1ULL) >> 1, SL, MVT::i64)); in LowerINT_TO_FP32()
2508 DAG.getConstant(0xffffffffffULL, SL, MVT::i64)); in LowerINT_TO_FP32()
2511 U, DAG.getConstant(40, SL, MVT::i64)); in LowerINT_TO_FP32()
2514 DAG.getNode(ISD::SHL, SL, MVT::i32, E, DAG.getConstant(23, SL, MVT::i32)), in LowerINT_TO_FP32()
2517 SDValue C = DAG.getConstant(0x8000000000ULL, SL, MVT::i64); in LowerINT_TO_FP32()
2521 SDValue One = DAG.getConstant(1, SL, MVT::i32); in LowerINT_TO_FP32()
2547 DAG.getConstant(0, SL, MVT::i32)); in LowerINT_TO_FP64()
2549 DAG.getConstant(1, SL, MVT::i32)); in LowerINT_TO_FP64()
2557 DAG.getConstant(32, SL, MVT::i32)); in LowerINT_TO_FP64()
2667 DAG.getConstant(31, SL, MVT::i32)); in LowerFP_TO_INT64()
2731 SDValue Zero = DAG.getConstant(0, DL, MVT::i32); in LowerFP_TO_FP16()
2732 SDValue One = DAG.getConstant(1, DL, MVT::i32); in LowerFP_TO_FP16()
2735 DAG.getConstant(32, DL, MVT::i64)); in LowerFP_TO_FP16()
2739 DAG.getConstant(20, DL, MVT::i64)); in LowerFP_TO_FP16()
2741 DAG.getConstant(ExpMask, DL, MVT::i32)); in LowerFP_TO_FP16()
2745 DAG.getConstant(-ExpBiasf64 + ExpBiasf16, DL, MVT::i32)); in LowerFP_TO_FP16()
2748 DAG.getConstant(8, DL, MVT::i32)); in LowerFP_TO_FP16()
2750 DAG.getConstant(0xffe, DL, MVT::i32)); in LowerFP_TO_FP16()
2753 DAG.getConstant(0x1ff, DL, MVT::i32)); in LowerFP_TO_FP16()
2761 DAG.getSelectCC(DL, M, Zero, DAG.getConstant(0x0200, DL, MVT::i32), in LowerFP_TO_FP16()
2762 Zero, ISD::SETNE), DAG.getConstant(0x7c00, DL, MVT::i32)); in LowerFP_TO_FP16()
2767 DAG.getConstant(12, DL, MVT::i32))); in LowerFP_TO_FP16()
2774 DAG.getConstant(13, DL, MVT::i32)); in LowerFP_TO_FP16()
2777 DAG.getConstant(0x1000, DL, MVT::i32)); in LowerFP_TO_FP16()
2786 DAG.getConstant(0x7, DL, MVT::i32)); in LowerFP_TO_FP16()
2788 DAG.getConstant(2, DL, MVT::i32)); in LowerFP_TO_FP16()
2789 SDValue V0 = DAG.getSelectCC(DL, VLow3, DAG.getConstant(3, DL, MVT::i32), in LowerFP_TO_FP16()
2791 SDValue V1 = DAG.getSelectCC(DL, VLow3, DAG.getConstant(5, DL, MVT::i32), in LowerFP_TO_FP16()
2796 V = DAG.getSelectCC(DL, E, DAG.getConstant(30, DL, MVT::i32), in LowerFP_TO_FP16()
2797 DAG.getConstant(0x7c00, DL, MVT::i32), V, ISD::SETGT); in LowerFP_TO_FP16()
2798 V = DAG.getSelectCC(DL, E, DAG.getConstant(1039, DL, MVT::i32), in LowerFP_TO_FP16()
2803 DAG.getConstant(16, DL, MVT::i32)); in LowerFP_TO_FP16()
2805 DAG.getConstant(0x8000, DL, MVT::i32)); in LowerFP_TO_FP16()
2927 return DAG.getConstant(Result, DL, MVT::i32); in constantFoldBFE()
2930 return DAG.getConstant(Src0 >> Offset, DL, MVT::i32); in constantFoldBFE()
3131 SDValue LoRHS = DAG.getConstant(ValLo, SL, MVT::i32); in splitBinaryBitConstantOpImpl()
3132 SDValue HiRHS = DAG.getConstant(ValHi, SL, MVT::i32); in splitBinaryBitConstantOpImpl()
3175 { DAG.getConstant(0, SL, MVT::i16), LHS->getOperand(0) }); in performShlCombine()
3203 SDValue ShiftAmt = DAG.getConstant(RHSVal - 32, SL, MVT::i32); in performShlCombine()
3208 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in performShlCombine()
3231 DAG.getConstant(31, SL, MVT::i32)); in performSraCombine()
3241 DAG.getConstant(31, SL, MVT::i32)); in performSraCombine()
3284 SDValue One = DAG.getConstant(1, SL, MVT::i32); in performSrlCombine()
3285 SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in performSrlCombine()
3290 SDValue NewConst = DAG.getConstant(ShiftAmt - 32, SL, MVT::i32); in performSrlCombine()
3357 if ((Known.isConstant() && Known.getConstant().ule(Size)) || in performTruncateCombine()
3964 DAG.getConstant(0x8000, SL, SrcVT)); in performFNegCombine()
3989 DAG.getConstant(0x7fff, SL, SrcVT)); in performFAbsCombine()
4058 DAG.getConstant(Lo_32(CVal), SL, MVT::i32), in PerformDAGCombine()
4059 DAG.getConstant(Hi_32(CVal), SL, MVT::i32)); in PerformDAGCombine()
4068 DAG.getConstant(Lo_32(CVal), SL, MVT::i32), in PerformDAGCombine()
4069 DAG.getConstant(Hi_32(CVal), SL, MVT::i32)); in PerformDAGCombine()
4123 return DAG.getConstant(0, DL, MVT::i32); in PerformDAGCombine()
4175 SDValue ShiftVal = DAG.getConstant(OffsetVal, DL, MVT::i32); in PerformDAGCombine()
4278 SDValue Ptr = DAG.getConstant(Offset, SL, MVT::i32); in storeStackInputValue()
4306 DAG.getConstant(Mask >> Shift, SL, VT)); in loadInputValue()