Lines Matching refs:getConstant
1364 auto Ops = {DAG.getConstant(0, SDLoc(), Op.getValueType()), Op.getOperand(0)}; in LowerDYNAMIC_STACKALLOC()
1467 return DAG.getConstant(*Address, SDLoc(Op), Op.getValueType()); in LowerGlobalAddress()
1502 return DAG.getConstant(Offset, SDLoc(Op), Op.getValueType()); in LowerGlobalAddress()
1708 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in split64BitValue()
1709 const SDValue One = DAG.getConstant(1, SL, MVT::i32); in split64BitValue()
1721 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in getLoHalf64()
1729 const SDValue One = DAG.getConstant(1, SL, MVT::i32); in getHiHalf64()
1931 SDValue jq = DAG.getConstant(1, DL, IntVT); in LowerDIVREM24()
1939 DAG.getConstant(BitSize - 2, DL, VT)); in LowerDIVREM24()
1942 jq = DAG.getNode(ISD::OR, DL, VT, jq, DAG.getConstant(1, DL, VT)); in LowerDIVREM24()
1996 jq = DAG.getNode(ISD::SELECT, DL, VT, cv, jq, DAG.getConstant(0, DL, VT)); in LowerDIVREM24()
2012 SDValue TruncMask = DAG.getConstant((UINT64_C(1) << DivBits) - 1, DL, VT); in LowerDIVREM24()
2030 SDValue One = DAG.getConstant(1, DL, HalfVT); in LowerUDIVREM64()
2031 SDValue Zero = DAG.getConstant(0, DL, HalfVT); in LowerUDIVREM64()
2089 SDValue Zero64 = DAG.getConstant(0, DL, VT); in LowerUDIVREM64()
2090 SDValue One64 = DAG.getConstant(1, DL, VT); in LowerUDIVREM64()
2091 SDValue Zero1 = DAG.getConstant(0, DL, MVT::i1); in LowerUDIVREM64()
2135 SDValue MinusOne = DAG.getConstant(0xffffffffu, DL, HalfVT); in LowerUDIVREM64()
2207 SDValue POS = DAG.getConstant(bitPos, DL, HalfVT); in LowerUDIVREM64()
2214 REM = DAG.getNode(ISD::SHL, DL, VT, REM, DAG.getConstant(1, DL, VT)); in LowerUDIVREM64()
2218 SDValue BIT = DAG.getConstant(1ULL << bitPos, DL, HalfVT); in LowerUDIVREM64()
2260 SDValue NegY = DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, DL, VT), Y); in LowerUDIVREM()
2272 SDValue One = DAG.getConstant(1, DL, VT); in LowerUDIVREM()
2297 SDValue Zero = DAG.getConstant(0, DL, VT); in LowerSDIVREM()
2298 SDValue NegOne = DAG.getConstant(-1, DL, VT); in LowerSDIVREM()
2396 DAG.getConstant(FractBits - 32, SL, MVT::i32), in extractF64Exponent()
2397 DAG.getConstant(ExpBits, SL, MVT::i32)); in extractF64Exponent()
2399 DAG.getConstant(1023, SL, MVT::i32)); in extractF64Exponent()
2410 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in LowerFTRUNC()
2421 const SDValue SignBitMask = DAG.getConstant(UINT32_C(1) << 31, SL, MVT::i32); in LowerFTRUNC()
2430 = DAG.getConstant((UINT64_C(1) << FractBits) - 1, SL, MVT::i64); in LowerFTRUNC()
2439 const SDValue FiftyOne = DAG.getConstant(FractBits - 1, SL, MVT::i32); in LowerFTRUNC()
2755 SDValue MaskConst = DAG.getConstant(0xfffff000, DL, MVT::i32); in LowerFLOGCommon()
3061 SDValue MaskConst = DAG.getConstant(0xfffff000, SL, MVT::i32); in lowerFEXP()
3130 SDValue NumExtBits = DAG.getConstant(32u - NumBits, SL, MVT::i32); in lowerCTLZResults()
3171 const SDValue ConstVal = DAG.getConstant( in LowerCTLZ_CTTZ()
3190 const SDValue Const32 = DAG.getConstant(32, SL, MVT::i32); in LowerCTLZ_CTTZ()
3199 const SDValue Const64 = DAG.getConstant(64, SL, MVT::i32); in LowerCTLZ_CTTZ()
3265 DAG.getConstant(31, SL, MVT::i32)); in LowerINT_TO_FP32()
3267 DAG.getNode(ISD::ADD, SL, MVT::i32, DAG.getConstant(32, SL, MVT::i32), in LowerINT_TO_FP32()
3274 DAG.getConstant(1, SL, MVT::i32)); in LowerINT_TO_FP32()
3281 DAG.getConstant(63, SL, MVT::i64)); in LowerINT_TO_FP32()
3298 DAG.getConstant(1, SL, MVT::i32), Lo); in LowerINT_TO_FP32()
3308 ShAmt = DAG.getNode(ISD::SUB, SL, MVT::i32, DAG.getConstant(32, SL, MVT::i32), in LowerINT_TO_FP32()
3318 DAG.getConstant(23, SL, MVT::i32)); in LowerINT_TO_FP32()
3326 DAG.getConstant(31, SL, MVT::i32)); in LowerINT_TO_FP32()
3346 DAG.getConstant(32, SL, MVT::i32)); in LowerINT_TO_FP64()
3474 DAG.getConstant(31, SL, MVT::i32)); in LowerFP_TO_INT64()
3540 SDValue Zero = DAG.getConstant(0, DL, MVT::i32); in LowerFP_TO_FP16()
3541 SDValue One = DAG.getConstant(1, DL, MVT::i32); in LowerFP_TO_FP16()
3544 DAG.getConstant(32, DL, MVT::i64)); in LowerFP_TO_FP16()
3548 DAG.getConstant(20, DL, MVT::i64)); in LowerFP_TO_FP16()
3550 DAG.getConstant(ExpMask, DL, MVT::i32)); in LowerFP_TO_FP16()
3554 DAG.getConstant(-ExpBiasf64 + ExpBiasf16, DL, MVT::i32)); in LowerFP_TO_FP16()
3557 DAG.getConstant(8, DL, MVT::i32)); in LowerFP_TO_FP16()
3559 DAG.getConstant(0xffe, DL, MVT::i32)); in LowerFP_TO_FP16()
3562 DAG.getConstant(0x1ff, DL, MVT::i32)); in LowerFP_TO_FP16()
3570 DAG.getSelectCC(DL, M, Zero, DAG.getConstant(0x0200, DL, MVT::i32), in LowerFP_TO_FP16()
3571 Zero, ISD::SETNE), DAG.getConstant(0x7c00, DL, MVT::i32)); in LowerFP_TO_FP16()
3576 DAG.getConstant(12, DL, MVT::i32))); in LowerFP_TO_FP16()
3583 DAG.getConstant(13, DL, MVT::i32)); in LowerFP_TO_FP16()
3586 DAG.getConstant(0x1000, DL, MVT::i32)); in LowerFP_TO_FP16()
3595 DAG.getConstant(0x7, DL, MVT::i32)); in LowerFP_TO_FP16()
3597 DAG.getConstant(2, DL, MVT::i32)); in LowerFP_TO_FP16()
3598 SDValue V0 = DAG.getSelectCC(DL, VLow3, DAG.getConstant(3, DL, MVT::i32), in LowerFP_TO_FP16()
3600 SDValue V1 = DAG.getSelectCC(DL, VLow3, DAG.getConstant(5, DL, MVT::i32), in LowerFP_TO_FP16()
3605 V = DAG.getSelectCC(DL, E, DAG.getConstant(30, DL, MVT::i32), in LowerFP_TO_FP16()
3606 DAG.getConstant(0x7c00, DL, MVT::i32), V, ISD::SETGT); in LowerFP_TO_FP16()
3607 V = DAG.getSelectCC(DL, E, DAG.getConstant(1039, DL, MVT::i32), in LowerFP_TO_FP16()
3612 DAG.getConstant(16, DL, MVT::i32)); in LowerFP_TO_FP16()
3614 DAG.getConstant(0x8000, DL, MVT::i32)); in LowerFP_TO_FP16()
3759 return DAG.getConstant(Result, DL, MVT::i32); in constantFoldBFE()
3762 return DAG.getConstant(Src0 >> Offset, DL, MVT::i32); in constantFoldBFE()
3974 SDValue LoRHS = DAG.getConstant(ValLo, SL, MVT::i32); in splitBinaryBitConstantOpImpl()
3975 SDValue HiRHS = DAG.getConstant(ValHi, SL, MVT::i32); in splitBinaryBitConstantOpImpl()
4018 { DAG.getConstant(0, SL, MVT::i16), LHS->getOperand(0) }); in performShlCombine()
4046 SDValue ShiftAmt = DAG.getConstant(RHSVal - 32, SL, MVT::i32); in performShlCombine()
4051 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in performShlCombine()
4074 DAG.getConstant(31, SL, MVT::i32)); in performSraCombine()
4084 DAG.getConstant(31, SL, MVT::i32)); in performSraCombine()
4128 SDValue Zero = DAG.getConstant(0, SL, MVT::i32); in performSrlCombine()
4132 SDValue NewConst = DAG.getConstant(ShiftAmt - 32, SL, MVT::i32); in performSrlCombine()
4938 DAG.getConstant(0x8000, SL, SrcVT)); in performFNegCombine()
5024 DAG.getConstant(0x7fff, SL, SrcVT)); in performFAbsCombine()
5095 DAG.getConstant(Lo_32(CVal), SL, MVT::i32), in PerformDAGCombine()
5096 DAG.getConstant(Hi_32(CVal), SL, MVT::i32)); in PerformDAGCombine()
5105 DAG.getConstant(Lo_32(CVal), SL, MVT::i32), in PerformDAGCombine()
5106 DAG.getConstant(Hi_32(CVal), SL, MVT::i32)); in PerformDAGCombine()
5167 return DAG.getConstant(0, DL, MVT::i32); in PerformDAGCombine()
5219 SDValue ShiftVal = DAG.getConstant(OffsetVal, DL, MVT::i32); in PerformDAGCombine()
5352 SDValue Ptr = DAG.getConstant(Offset, SL, MVT::i32); in storeStackInputValue()
5380 DAG.getConstant(Mask >> Shift, SL, VT)); in loadInputValue()