Lines Matching refs:getConstant
1404 DAG.getConstant(ShAmt, DL, LHS.getValueType())); in translateSetCCForBranch()
1416 RHS = DAG.getConstant(0, DL, RHS.getValueType()); in translateSetCCForBranch()
1425 LHS = DAG.getConstant(0, DL, RHS.getValueType()); in translateSetCCForBranch()
1720 SDValue Zero = DAG.getConstant(0, DL, Subtarget.getXLenVT()); in convertToScalableVector()
1732 SDValue Zero = DAG.getConstant(0, DL, Subtarget.getXLenVT()); in convertFromScalableVector()
1762 ? DAG.getConstant(VecVT.getVectorNumElements(), DL, XLenVT) in getDefaultVLOps()
1814 SDValue ZeroInt = DAG.getConstant(0, DL, DstVT); in lowerFP_TO_INT_SAT()
2125 SDValue Elt = DAG.getConstant(Bits, DL, XLenVT); in lowerBUILD_VECTOR()
2127 Elt, DAG.getConstant(IntegerEltIdx, DL, XLenVT)); in lowerBUILD_VECTOR()
2141 SDValue Elt = DAG.getConstant(Bits, DL, XLenVT); in lowerBUILD_VECTOR()
2143 DAG.getConstant(IntegerEltIdx, DL, XLenVT)); in lowerBUILD_VECTOR()
2152 DAG.getConstant(0, DL, XLenVT)); in lowerBUILD_VECTOR()
2167 SDValue VecZero = DAG.getConstant(0, DL, WideVecVT); in lowerBUILD_VECTOR()
2176 DAG.getConstant(1, DL, XLenVT)); in lowerBUILD_VECTOR()
2181 SDValue VecOne = DAG.getConstant(1, DL, WideVecVT); in lowerBUILD_VECTOR()
2235 VT, DL, DAG.getConstant(SplatStepVal, DL, XLenVT)); in lowerBUILD_VECTOR()
2240 VT, DL, DAG.getConstant(Log2_64(StepDenominator), DL, XLenVT)); in lowerBUILD_VECTOR()
2245 VT, DL, DAG.getConstant(Addend, DL, XLenVT)); in lowerBUILD_VECTOR()
2298 DAG.getConstant(ViaVecVT.getVectorNumElements(), DL, XLenVT); in lowerBUILD_VECTOR()
2304 DAG.getConstant(SplatValue, DL, XLenVT), ViaVL); in lowerBUILD_VECTOR()
2370 DAG.getConstant(OpIdx.index(), DL, XLenVT)); in lowerBUILD_VECTOR()
2377 return DAG.getConstant(V == V1, DL, XLenVT); in lowerBUILD_VECTOR()
2431 DAG.getConstant(0, DL, MVT::i32)); in splatSplitI64WithVL()
2433 DAG.getConstant(1, DL, MVT::i32)); in splatSplitI64WithVL()
2478 DAG.getConstant(0, DL, XLenVT), VL); in lowerScalarSplat()
2683 V1, DAG.getConstant(Lane, DL, XLenVT), in lowerVECTOR_SHUFFLE()
2718 DownVL = DAG.getConstant(InvRotate, DL, XLenVT); in lowerVECTOR_SHUFFLE()
2721 DAG.getConstant(Rotation, DL, XLenVT), TrueMask, DownVL); in lowerVECTOR_SHUFFLE()
2725 DAG.getConstant(InvRotate, DL, XLenVT), TrueMask, VL); in lowerVECTOR_SHUFFLE()
2741 DAG.getConstant(0, DL, XLenVT)); in lowerVECTOR_SHUFFLE()
2743 DAG.getConstant(0, DL, XLenVT)); in lowerVECTOR_SHUFFLE()
2831 MaskVals.push_back(DAG.getConstant(SelectMaskVal, DL, XLenVT)); in lowerVECTOR_SHUFFLE()
2835 ? DAG.getConstant(MaskIndex, DL, XLenVT) in lowerVECTOR_SHUFFLE()
2839 : DAG.getConstant(MaskIndex - NumElts, DL, XLenVT)); in lowerVECTOR_SHUFFLE()
2895 DAG.getConstant(SplatIndex, DL, XLenVT), TrueMask, in lowerVECTOR_SHUFFLE()
2922 DAG.getConstant(SplatIndex, DL, XLenVT), SelectMask, in lowerVECTOR_SHUFFLE()
2976 DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, DL, VT), Src); in lowerCTLZ_CTTZ_ZERO_UNDEF()
2987 DAG.getConstant(ShiftAmt, DL, IntVT)); in lowerCTLZ_CTTZ_ZERO_UNDEF()
2996 DAG.getConstant(ExponentBias, DL, VT)); in lowerCTLZ_CTTZ_ZERO_UNDEF()
3001 return DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(Adjust, DL, VT), Trunc); in lowerCTLZ_CTTZ_ZERO_UNDEF()
3167 DAG.getConstant(0, DL, XLenVT))); in LowerOperation()
3180 DAG.getConstant(0, DL, XLenVT)); in LowerOperation()
3202 DAG.getConstant(Imm, DL, VT)); in LowerOperation()
3211 DAG.getConstant(7, DL, VT)); in LowerOperation()
3223 DAG.getConstant(ShAmtWidth, DL, VT)); in LowerOperation()
3277 DAG.getConstant(3 - Log2, DL, VT)); in LowerOperation()
3280 DAG.getConstant(Log2 - 3, DL, VT)); in LowerOperation()
3287 DAG.getConstant(Val / 8, DL, VT)); in LowerOperation()
3290 DAG.getConstant(3, DL, VT)); in LowerOperation()
3940 SDValue Zero = DAG.getConstant(0, DL, XLenVT); in lowerSELECT()
3967 CondV, DAG.getConstant(0, DL, XLenVT), in lowerBRCOND()
4027 SDValue Offset = DAG.getConstant(Off, DL, VT); in lowerRETURNADDR()
4054 SDValue Zero = DAG.getConstant(0, DL, VT); in lowerShiftLeftParts()
4055 SDValue One = DAG.getConstant(1, DL, VT); in lowerShiftLeftParts()
4056 SDValue MinusXLen = DAG.getConstant(-(int)Subtarget.getXLen(), DL, VT); in lowerShiftLeftParts()
4057 SDValue XLenMinus1 = DAG.getConstant(Subtarget.getXLen() - 1, DL, VT); in lowerShiftLeftParts()
4104 SDValue Zero = DAG.getConstant(0, DL, VT); in lowerShiftRightParts()
4105 SDValue One = DAG.getConstant(1, DL, VT); in lowerShiftRightParts()
4106 SDValue MinusXLen = DAG.getConstant(-(int)Subtarget.getXLen(), DL, VT); in lowerShiftRightParts()
4107 SDValue XLenMinus1 = DAG.getConstant(Subtarget.getXLen() - 1, DL, VT); in lowerShiftRightParts()
4151 DAG.getConstant(1, DL, XLenVT)); in lowerVectorMaskSplat()
4153 SDValue Zero = DAG.getConstant(0, DL, InterVT); in lowerVectorMaskSplat()
4221 SDValue SplatZero = DAG.getConstant(0, DL, VecVT); in lowerVectorMaskExt()
4222 SDValue SplatTrueVal = DAG.getConstant(ExtTrueVal, DL, VecVT); in lowerVectorMaskExt()
4236 SDValue SplatZero = DAG.getConstant(0, DL, XLenVT); in lowerVectorMaskExt()
4237 SDValue SplatTrueVal = DAG.getConstant(ExtTrueVal, DL, XLenVT); in lowerVectorMaskExt()
4313 SDValue SplatOne = DAG.getConstant(1, DL, Subtarget.getXLenVT()); in lowerVectorMaskTruncLike()
4314 SDValue SplatZero = DAG.getConstant(0, DL, Subtarget.getXLenVT()); in lowerVectorMaskTruncLike()
4494 SDValue Zero = DAG.getConstant(0, DL, XLenVT); in lowerINSERT_VECTOR_ELT()
4504 Val = DAG.getConstant(CVal->getSExtValue(), DL, MVT::i32); in lowerINSERT_VECTOR_ELT()
4529 SDValue One = DAG.getConstant(1, DL, XLenVT); in lowerINSERT_VECTOR_ELT()
4537 SDValue InsertI64VL = DAG.getConstant(2, DL, XLenVT); in lowerINSERT_VECTOR_ELT()
4555 DAG.getNode(ISD::ADD, DL, XLenVT, Idx, DAG.getConstant(1, DL, XLenVT)); in lowerINSERT_VECTOR_ELT()
4592 ExtractElementIdx = DAG.getConstant(0, DL, XLenVT); in lowerEXTRACT_VECTOR_ELT()
4600 DAG.getConstant(Log2_64(WideEltVT.getSizeInBits()), DL, XLenVT)); in lowerEXTRACT_VECTOR_ELT()
4604 DAG.getConstant(WideEltVT.getSizeInBits() - 1, DL, XLenVT)); in lowerEXTRACT_VECTOR_ELT()
4614 DAG.getConstant(1, DL, XLenVT)); in lowerEXTRACT_VECTOR_ELT()
4633 SDValue VL = DAG.getConstant(1, DL, XLenVT); in lowerEXTRACT_VECTOR_ELT()
4642 DAG.getConstant(0, DL, XLenVT)); in lowerEXTRACT_VECTOR_ELT()
4727 DAG.getConstant(0, DL, XLenVT)); in lowerVectorIntrinsicScalars()
4729 DAG.getConstant(1, DL, XLenVT)); in lowerVectorIntrinsicScalars()
4750 I32VL = DAG.getConstant(2 * AVLInt, DL, XLenVT); in lowerVectorIntrinsicScalars()
4754 SDValue LMUL = DAG.getConstant(Lmul, DL, XLenVT); in lowerVectorIntrinsicScalars()
4756 SDValue SEW = DAG.getConstant(Sew, DL, XLenVT); in lowerVectorIntrinsicScalars()
4769 SDValue LMUL = DAG.getConstant(Lmul, DL, XLenVT); in lowerVectorIntrinsicScalars()
4771 SDValue SEW = DAG.getConstant(Sew, DL, XLenVT); in lowerVectorIntrinsicScalars()
4779 DAG.getNode(ISD::SHL, DL, XLenVT, VL, DAG.getConstant(1, DL, XLenVT)); in lowerVectorIntrinsicScalars()
4856 DAG.getConstant(7, DL, XLenVT)); in LowerINTRINSIC_WO_CHAIN()
4873 DAG.getConstant((BitWidth / 2) - 1, DL, XLenVT)); in LowerINTRINSIC_WO_CHAIN()
4942 DAG.getConstant(0, DL, MVT::i32), VL); in LowerINTRINSIC_WO_CHAIN()
4983 SDValue VL = DAG.getConstant(VT.getVectorNumElements(), DL, XLenVT); in LowerINTRINSIC_W_CHAIN()
5032 SDValue VL = DAG.getConstant(VT.getVectorNumElements(), DL, XLenVT); in LowerINTRINSIC_W_CHAIN()
5082 SDValue VL = DAG.getConstant(VT.getVectorNumElements(), DL, XLenVT); in LowerINTRINSIC_VOID()
5172 SDValue Zero = DAG.getConstant(0, DL, XLenVT); in lowerVectorMaskVecReduction()
5197 SDValue One = DAG.getConstant(1, DL, XLenVT); in lowerVectorMaskVecReduction()
5262 lowerScalarSplat(SDValue(), NeutralElem, DAG.getConstant(1, DL, XLenVT), in lowerVECREDUCE()
5267 DAG.getConstant(0, DL, XLenVT)); in lowerVECREDUCE()
5325 lowerScalarSplat(SDValue(), ScalarVal, DAG.getConstant(1, DL, XLenVT), in lowerFPVECREDUCE()
5330 DAG.getConstant(0, DL, XLenVT)); in lowerFPVECREDUCE()
5393 DAG.getConstant(1, DL, XLenVT), M1VT, in lowerVPREDUCE()
5398 DAG.getConstant(0, DL, XLenVT)); in lowerVPREDUCE()
5448 SDValue SplatZero = DAG.getConstant(0, DL, ExtVecVT); in lowerINSERT_SUBVECTOR()
5468 DAG.getConstant(0, DL, XLenVT)); in lowerINSERT_SUBVECTOR()
5478 DAG.getConstant(OrigIdx + SubVecVT.getVectorNumElements(), DL, XLenVT); in lowerINSERT_SUBVECTOR()
5479 SDValue SlideupAmt = DAG.getConstant(OrigIdx, DL, XLenVT); in lowerINSERT_SUBVECTOR()
5525 DAG.getConstant(AlignedIdx, DL, XLenVT)); in lowerINSERT_SUBVECTOR()
5528 SDValue SlideupAmt = DAG.getConstant(RemIdx, DL, XLenVT); in lowerINSERT_SUBVECTOR()
5536 VL = DAG.getConstant(SubVecVT.getVectorMinNumElements(), DL, XLenVT); in lowerINSERT_SUBVECTOR()
5542 DAG.getConstant(0, DL, XLenVT)); in lowerINSERT_SUBVECTOR()
5551 DAG.getConstant(AlignedIdx, DL, XLenVT)); in lowerINSERT_SUBVECTOR()
5601 SDValue SplatZero = DAG.getConstant(0, DL, ExtSubVecVT); in lowerEXTRACT_SUBVECTOR()
5625 SDValue VL = DAG.getConstant(SubVecVT.getVectorNumElements(), DL, XLenVT); in lowerEXTRACT_SUBVECTOR()
5626 SDValue SlidedownAmt = DAG.getConstant(OrigIdx, DL, XLenVT); in lowerEXTRACT_SUBVECTOR()
5632 DAG.getConstant(0, DL, XLenVT)); in lowerEXTRACT_SUBVECTOR()
5657 DAG.getConstant(OrigIdx - RemIdx, DL, XLenVT)); in lowerEXTRACT_SUBVECTOR()
5662 SDValue SlidedownAmt = DAG.getConstant(RemIdx, DL, XLenVT); in lowerEXTRACT_SUBVECTOR()
5675 DAG.getConstant(0, DL, XLenVT)); in lowerEXTRACT_SUBVECTOR()
5697 DAG.getConstant(Log2_64(StepValImm), DL, XLenVT)); in lowerSTEP_VECTOR()
5701 SDValue(), DAG.getConstant(StepValImm, DL, VT.getVectorElementType()), in lowerSTEP_VECTOR()
5771 DAG.getConstant(MinElts, DL, XLenVT)); in lowerVECTOR_REVERSE()
5773 DAG.getNode(ISD::SUB, DL, XLenVT, VLMax, DAG.getConstant(1, DL, XLenVT)); in lowerVECTOR_REVERSE()
5803 DAG.getConstant(MinElts, DL, XLenVT)); in lowerVECTOR_SPLICE()
5810 DownOffset = DAG.getConstant(ImmValue, DL, XLenVT); in lowerVECTOR_SPLICE()
5815 UpOffset = DAG.getConstant(-ImmValue, DL, XLenVT); in lowerVECTOR_SPLICE()
5843 SDValue VL = DAG.getConstant(VT.getVectorNumElements(), DL, XLenVT); in lowerFixedLengthVectorLoadToRVV()
5881 DAG.getConstant(0, DL, VT), StoreVal, in lowerFixedLengthVectorStoreToRVV()
5887 SDValue VL = DAG.getConstant(VT.getVectorNumElements(), DL, XLenVT); in lowerFixedLengthVectorStoreToRVV()
6034 DAG.getConstant(VT.getVectorNumElements(), DL, Subtarget.getXLenVT()); in lowerFixedLengthVectorSetccToRVV()
6085 DAG.getConstant(0, DL, Subtarget.getXLenVT())); in lowerABS()
6229 SDValue Zero = DAG.getConstant(0, DL, XLenVT); in lowerVPExtMaskOp()
6233 SDValue SplatValue = DAG.getConstant( in lowerVPExtMaskOp()
6360 SDValue Zero = DAG.getConstant(0, DL, XLenVT); in lowerVPFPIntConvOp()
6363 SDValue One = DAG.getConstant( in lowerVPFPIntConvOp()
6428 SDValue SplatZero = DAG.getConstant(0, DL, XLenVT); in lowerVPFPIntConvOp()
6699 DAG.getNode(ISD::SHL, DL, XLenVT, RM, DAG.getConstant(2, DL, XLenVT)); in lowerGET_ROUNDING()
6701 DAG.getConstant(Table, DL, XLenVT), Shift); in lowerGET_ROUNDING()
6703 DAG.getConstant(7, DL, XLenVT)); in lowerGET_ROUNDING()
6729 DAG.getConstant(2, DL, XLenVT)); in lowerSET_ROUNDING()
6731 DAG.getConstant(Table, DL, XLenVT), Shift); in lowerSET_ROUNDING()
6733 DAG.getConstant(0x7, DL, XLenVT)); in lowerSET_ROUNDING()
7049 DAG.getConstant(0, DL, MVT::i64), ISD::SETEQ); in ReplaceNodeResults()
7100 DAG.getConstant(31, DL, MVT::i64)); in ReplaceNodeResults()
7136 DAG.getConstant(0, DL, XLenVT))); in ReplaceNodeResults()
7175 DAG.getConstant(Imm, DL, XLenVT)); in ReplaceNodeResults()
7194 DAG.getConstant(0x1f, DL, MVT::i64)); in ReplaceNodeResults()
7241 SDValue VL = DAG.getConstant(1, DL, XLenVT); in ReplaceNodeResults()
7258 DAG.getConstant(32, DL, XLenVT), VL); in ReplaceNodeResults()
7288 DAG.getConstant(0x1f, DL, MVT::i64)); in ReplaceNodeResults()
7310 DAG.getConstant(7, DL, MVT::i64)); in ReplaceNodeResults()
7330 DAG.getConstant(0xf, DL, MVT::i64)); in ReplaceNodeResults()
7361 SDValue VL = DAG.getConstant(1, DL, XLenVT); in ReplaceNodeResults()
7366 DAG.getConstant(32, DL, XLenVT), VL); in ReplaceNodeResults()
7639 DAG.getConstant(LHS->ShAmt, DL, VT)); in combineORToGREV()
7677 DAG.getConstant(RotAmt, DL, VT)); in combineORToGORC()
7705 DAG.getConstant(LHS->ShAmt, DL, VT)); in combineORToGORC()
7803 DAG.getConstant(Match1->ShAmt, DL, VT)); in combineORToSHFL()
7847 DAG.getNode(ISD::SHL, DL, VT, NL, DAG.getConstant(Diff, DL, VT)); in transformAddShlImm()
7849 return DAG.getNode(ISD::SHL, DL, VT, NA1, DAG.getConstant(Bits, DL, VT)); in transformAddShlImm()
7899 DAG.getConstant(CombinedShAmt, DL, N->getOperand(1).getValueType())); in combineROTR_ROTL_RORW_ROLW()
7941 DAG.getConstant(CombinedShAmt, DL, N->getOperand(1).getValueType())); in combineGREVI_GORCI()
8076 DAG.getConstant(CA, DL, VT)); in transformAddImmMulImm()
8078 DAG.getNode(ISD::MUL, DL, VT, New0, DAG.getConstant(C0, DL, VT)); in transformAddImmMulImm()
8079 return DAG.getNode(ISD::ADD, DL, VT, New1, DAG.getConstant(CB, DL, VT)); in transformAddImmMulImm()
8120 DAG.getConstant(1, DL, MVT::i64)); in performANDCombine()
8162 DAG.getConstant(~1, DL, MVT::i64), N0.getOperand(1)); in performXORCombine()
8218 return DAG.getSetCC(dl, VT, SExtOp, DAG.getConstant(C1.trunc(32).sext(64), in performSETCCCombine()
8253 DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, DL, MVT::i64), Freeze); in performSIGN_EXTEND_INREGCombine()
8597 SDValue ZeroInt = DAG.getConstant(0, DL, DstVT); in performFP_TO_INT_SATCombine()
8618 DAG.getConstant(7, DL, VT)); in performBITREVERSECombine()
8684 DAG.getConstant(LShAmt + 32, ShlDL, MVT::i64)); in performSRACombine()
8687 DAG.getConstant(ShAmt + 32, DL, MVT::i64)); in performSRACombine()
8733 DAG.getConstant(AddC->getAPIntValue().lshr(32), DL, MVT::i64); in performSRACombine()
8747 DAG.getConstant(32 - ShAmt, DL, MVT::i64)); in performSRACombine()
8800 DAG.getConstant(ShAmt, DL, LHS.getValueType())); in combine_CC()
8812 RHS = DAG.getConstant(0, DL, LHS.getValueType()); in combine_CC()
8860 SDValue Lo = DAG.getConstant(V.trunc(32), DL, MVT::i32); in PerformDAGCombine()
8861 SDValue Hi = DAG.getConstant(V.lshr(32).trunc(32), DL, MVT::i32); in PerformDAGCombine()
8880 DAG.getConstant(SignBit, DL, MVT::i32)); in PerformDAGCombine()
8885 DAG.getConstant(~SignBit, DL, MVT::i32)); in PerformDAGCombine()
9009 DAG.getConstant(SignBit, DL, VT)); in PerformDAGCombine()
9013 DAG.getConstant(~SignBit, DL, VT)); in PerformDAGCombine()
9171 SDValue SplatScale = DAG.getConstant(Log2_32(Scale), DL, IndexVT); in PerformDAGCombine()
9301 DAG.getConstant(1, DL, MaskVT), in PerformDAGCombine()
9302 DAG.getConstant(1, DL, Subtarget.getXLenVT()), MemVT, in PerformDAGCombine()
9352 return DAG.getConstant(-1, DL, VT); in PerformDAGCombine()
9353 return DAG.getConstant(0, DL, VT); in PerformDAGCombine()
9470 SDValue NewC = TLO.DAG.getConstant(NewMask, DL, Op.getValueType()); in targetShrinkDemandedConstant()
11210 SDValue SizeNode = DAG.getConstant(Size, DL, XLenVT); in LowerCall()
11418 DAG.getConstant(NumBytes, DL, PtrVT, true), in LowerCall()
11419 DAG.getConstant(0, DL, PtrVT, true), in LowerCall()
12400 DAG.getConstant(0xFFFF0000, DL, MVT::i32)); in splitValueIntoRegisterParts()
12517 SDValue Zero = DAG.getConstant(0, DL, VT); in BuildSDIVPow2()
12518 SDValue Pow2MinusOne = DAG.getConstant((1ULL << Lg2) - 1, DL, VT); in BuildSDIVPow2()
12531 DAG.getNode(ISD::SRA, DL, VT, Sel, DAG.getConstant(Lg2, DL, VT)); in BuildSDIVPow2()
12539 return DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, DL, VT), SRA); in BuildSDIVPow2()