Lines Matching refs:getConstant

1323   auto Ops = {DAG.getConstant(0, SDLoc(), Op.getValueType()), Op.getOperand(0)};  in LowerDYNAMIC_STACKALLOC()
1426 return DAG.getConstant(*Address, SDLoc(Op), Op.getValueType()); in LowerGlobalAddress()
1461 return DAG.getConstant(Offset, SDLoc(Op), Op.getValueType()); in LowerGlobalAddress()
1667 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in split64BitValue()
1668 const SDValue One = DAG.getConstant(1, SL, MVT::i32); in split64BitValue()
1680 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in getLoHalf64()
1688 const SDValue One = DAG.getConstant(1, SL, MVT::i32); in getHiHalf64()
1890 SDValue jq = DAG.getConstant(1, DL, IntVT); in LowerDIVREM24()
1898 DAG.getConstant(BitSize - 2, DL, VT)); in LowerDIVREM24()
1901 jq = DAG.getNode(ISD::OR, DL, VT, jq, DAG.getConstant(1, DL, VT)); in LowerDIVREM24()
1955 jq = DAG.getNode(ISD::SELECT, DL, VT, cv, jq, DAG.getConstant(0, DL, VT)); in LowerDIVREM24()
1971 SDValue TruncMask = DAG.getConstant((UINT64_C(1) << DivBits) - 1, DL, VT); in LowerDIVREM24()
1989 SDValue One = DAG.getConstant(1, DL, HalfVT); in LowerUDIVREM64()
1990 SDValue Zero = DAG.getConstant(0, DL, HalfVT); in LowerUDIVREM64()
2048 SDValue Zero64 = DAG.getConstant(0, DL, VT); in LowerUDIVREM64()
2049 SDValue One64 = DAG.getConstant(1, DL, VT); in LowerUDIVREM64()
2050 SDValue Zero1 = DAG.getConstant(0, DL, MVT::i1); in LowerUDIVREM64()
2094 SDValue MinusOne = DAG.getConstant(0xffffffffu, DL, HalfVT); in LowerUDIVREM64()
2166 SDValue POS = DAG.getConstant(bitPos, DL, HalfVT); in LowerUDIVREM64()
2173 REM = DAG.getNode(ISD::SHL, DL, VT, REM, DAG.getConstant(1, DL, VT)); in LowerUDIVREM64()
2177 SDValue BIT = DAG.getConstant(1ULL << bitPos, DL, HalfVT); in LowerUDIVREM64()
2219 SDValue NegY = DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, DL, VT), Y); in LowerUDIVREM()
2231 SDValue One = DAG.getConstant(1, DL, VT); in LowerUDIVREM()
2256 SDValue Zero = DAG.getConstant(0, DL, VT); in LowerSDIVREM()
2257 SDValue NegOne = DAG.getConstant(-1, DL, VT); in LowerSDIVREM()
2355 DAG.getConstant(FractBits - 32, SL, MVT::i32), in extractF64Exponent()
2356 DAG.getConstant(ExpBits, SL, MVT::i32)); in extractF64Exponent()
2358 DAG.getConstant(1023, SL, MVT::i32)); in extractF64Exponent()
2369 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in LowerFTRUNC()
2380 const SDValue SignBitMask = DAG.getConstant(UINT32_C(1) << 31, SL, MVT::i32); in LowerFTRUNC()
2389 = DAG.getConstant((UINT64_C(1) << FractBits) - 1, SL, MVT::i64); in LowerFTRUNC()
2398 const SDValue FiftyOne = DAG.getConstant(FractBits - 1, SL, MVT::i32); in LowerFTRUNC()
2714 SDValue MaskConst = DAG.getConstant(0xfffff000, DL, MVT::i32); in LowerFLOGCommon()
3020 SDValue MaskConst = DAG.getConstant(0xfffff000, SL, MVT::i32); in lowerFEXP()
3089 auto ShiftVal = DAG.getConstant(LeadingZeroes, SL, MVT::i32); in lowerCTLZResults()
3120 const SDValue ConstVal = DAG.getConstant( in LowerCTLZ_CTTZ()
3139 const SDValue Const32 = DAG.getConstant(32, SL, MVT::i32); in LowerCTLZ_CTTZ()
3148 const SDValue Const64 = DAG.getConstant(64, SL, MVT::i32); in LowerCTLZ_CTTZ()
3214 DAG.getConstant(31, SL, MVT::i32)); in LowerINT_TO_FP32()
3216 DAG.getNode(ISD::ADD, SL, MVT::i32, DAG.getConstant(32, SL, MVT::i32), in LowerINT_TO_FP32()
3223 DAG.getConstant(1, SL, MVT::i32)); in LowerINT_TO_FP32()
3230 DAG.getConstant(63, SL, MVT::i64)); in LowerINT_TO_FP32()
3247 DAG.getConstant(1, SL, MVT::i32), Lo); in LowerINT_TO_FP32()
3257 ShAmt = DAG.getNode(ISD::SUB, SL, MVT::i32, DAG.getConstant(32, SL, MVT::i32), in LowerINT_TO_FP32()
3267 DAG.getConstant(23, SL, MVT::i32)); in LowerINT_TO_FP32()
3275 DAG.getConstant(31, SL, MVT::i32)); in LowerINT_TO_FP32()
3295 DAG.getConstant(32, SL, MVT::i32)); in LowerINT_TO_FP64()
3423 DAG.getConstant(31, SL, MVT::i32)); in LowerFP_TO_INT64()
3489 SDValue Zero = DAG.getConstant(0, DL, MVT::i32); in LowerFP_TO_FP16()
3490 SDValue One = DAG.getConstant(1, DL, MVT::i32); in LowerFP_TO_FP16()
3493 DAG.getConstant(32, DL, MVT::i64)); in LowerFP_TO_FP16()
3497 DAG.getConstant(20, DL, MVT::i64)); in LowerFP_TO_FP16()
3499 DAG.getConstant(ExpMask, DL, MVT::i32)); in LowerFP_TO_FP16()
3503 DAG.getConstant(-ExpBiasf64 + ExpBiasf16, DL, MVT::i32)); in LowerFP_TO_FP16()
3506 DAG.getConstant(8, DL, MVT::i32)); in LowerFP_TO_FP16()
3508 DAG.getConstant(0xffe, DL, MVT::i32)); in LowerFP_TO_FP16()
3511 DAG.getConstant(0x1ff, DL, MVT::i32)); in LowerFP_TO_FP16()
3519 DAG.getSelectCC(DL, M, Zero, DAG.getConstant(0x0200, DL, MVT::i32), in LowerFP_TO_FP16()
3520 Zero, ISD::SETNE), DAG.getConstant(0x7c00, DL, MVT::i32)); in LowerFP_TO_FP16()
3525 DAG.getConstant(12, DL, MVT::i32))); in LowerFP_TO_FP16()
3532 DAG.getConstant(13, DL, MVT::i32)); in LowerFP_TO_FP16()
3535 DAG.getConstant(0x1000, DL, MVT::i32)); in LowerFP_TO_FP16()
3544 DAG.getConstant(0x7, DL, MVT::i32)); in LowerFP_TO_FP16()
3546 DAG.getConstant(2, DL, MVT::i32)); in LowerFP_TO_FP16()
3547 SDValue V0 = DAG.getSelectCC(DL, VLow3, DAG.getConstant(3, DL, MVT::i32), in LowerFP_TO_FP16()
3549 SDValue V1 = DAG.getSelectCC(DL, VLow3, DAG.getConstant(5, DL, MVT::i32), in LowerFP_TO_FP16()
3554 V = DAG.getSelectCC(DL, E, DAG.getConstant(30, DL, MVT::i32), in LowerFP_TO_FP16()
3555 DAG.getConstant(0x7c00, DL, MVT::i32), V, ISD::SETGT); in LowerFP_TO_FP16()
3556 V = DAG.getSelectCC(DL, E, DAG.getConstant(1039, DL, MVT::i32), in LowerFP_TO_FP16()
3561 DAG.getConstant(16, DL, MVT::i32)); in LowerFP_TO_FP16()
3563 DAG.getConstant(0x8000, DL, MVT::i32)); in LowerFP_TO_FP16()
3708 return DAG.getConstant(Result, DL, MVT::i32); in constantFoldBFE()
3711 return DAG.getConstant(Src0 >> Offset, DL, MVT::i32); in constantFoldBFE()
3923 SDValue LoRHS = DAG.getConstant(ValLo, SL, MVT::i32); in splitBinaryBitConstantOpImpl()
3924 SDValue HiRHS = DAG.getConstant(ValHi, SL, MVT::i32); in splitBinaryBitConstantOpImpl()
3967 { DAG.getConstant(0, SL, MVT::i16), LHS->getOperand(0) }); in performShlCombine()
3995 SDValue ShiftAmt = DAG.getConstant(RHSVal - 32, SL, MVT::i32); in performShlCombine()
4000 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in performShlCombine()
4023 DAG.getConstant(31, SL, MVT::i32)); in performSraCombine()
4033 DAG.getConstant(31, SL, MVT::i32)); in performSraCombine()
4077 SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in performSrlCombine()
4081 SDValue NewConst = DAG.getConstant(ShiftAmt - 32, SL, MVT::i32); in performSrlCombine()
4884 DAG.getConstant(0x8000, SL, SrcVT)); in performFNegCombine()
4970 DAG.getConstant(0x7fff, SL, SrcVT)); in performFAbsCombine()
5041 DAG.getConstant(Lo_32(CVal), SL, MVT::i32), in PerformDAGCombine()
5042 DAG.getConstant(Hi_32(CVal), SL, MVT::i32)); in PerformDAGCombine()
5051 DAG.getConstant(Lo_32(CVal), SL, MVT::i32), in PerformDAGCombine()
5052 DAG.getConstant(Hi_32(CVal), SL, MVT::i32)); in PerformDAGCombine()
5113 return DAG.getConstant(0, DL, MVT::i32); in PerformDAGCombine()
5165 SDValue ShiftVal = DAG.getConstant(OffsetVal, DL, MVT::i32); in PerformDAGCombine()
5298 SDValue Ptr = DAG.getConstant(Offset, SL, MVT::i32); in storeStackInputValue()
5326 DAG.getConstant(Mask >> Shift, SL, VT)); in loadInputValue()