Lines Matching refs:getConstant
1046 RHS = DAG.getConstant(0, DL, RHS.getValueType()); in translateSetCCForBranch()
1053 LHS = DAG.getConstant(0, DL, RHS.getValueType()); in translateSetCCForBranch()
1321 SDValue Zero = DAG.getConstant(0, DL, Subtarget.getXLenVT()); in convertToScalableVector()
1333 SDValue Zero = DAG.getConstant(0, DL, Subtarget.getXLenVT()); in convertFromScalableVector()
1346 ? DAG.getConstant(VecVT.getVectorNumElements(), DL, XLenVT) in getDefaultVLOps()
1528 SDValue Elt = DAG.getConstant(Bits, DL, XLenVT); in lowerBUILD_VECTOR()
1530 Elt, DAG.getConstant(IntegerEltIdx, DL, XLenVT)); in lowerBUILD_VECTOR()
1544 SDValue Elt = DAG.getConstant(Bits, DL, XLenVT); in lowerBUILD_VECTOR()
1546 DAG.getConstant(IntegerEltIdx, DL, XLenVT)); in lowerBUILD_VECTOR()
1555 DAG.getConstant(0, DL, XLenVT)); in lowerBUILD_VECTOR()
1570 SDValue VecZero = DAG.getConstant(0, DL, WideVecVT); in lowerBUILD_VECTOR()
1579 DAG.getConstant(1, DL, XLenVT)); in lowerBUILD_VECTOR()
1584 SDValue VecOne = DAG.getConstant(1, DL, WideVecVT); in lowerBUILD_VECTOR()
1624 VT, DL, DAG.getConstant(SplatStepVal, DL, XLenVT)); in lowerBUILD_VECTOR()
1629 DAG.getSplatVector(VT, DL, DAG.getConstant(Addend, DL, XLenVT)); in lowerBUILD_VECTOR()
1682 DAG.getConstant(ViaVecVT.getVectorNumElements(), DL, XLenVT); in lowerBUILD_VECTOR()
1687 DAG.getConstant(SplatValue, DL, XLenVT), ViaVL); in lowerBUILD_VECTOR()
1743 DAG.getConstant(OpIdx.index(), DL, XLenVT)); in lowerBUILD_VECTOR()
1750 return DAG.getConstant(V == V1, DL, XLenVT); in lowerBUILD_VECTOR()
1786 DAG.getConstant(0, DL, MVT::i32)); in splatSplitI64WithVL()
1788 DAG.getConstant(1, DL, MVT::i32)); in splatSplitI64WithVL()
1902 DAG.getConstant(Lane, DL, XLenVT), TrueMask, VL); in lowerVECTOR_SHUFFLE()
1934 MaskVals.push_back(DAG.getConstant(SelectMaskVal, DL, XLenVT)); in lowerVECTOR_SHUFFLE()
1938 ? DAG.getConstant(MaskIndex, DL, XLenVT) in lowerVECTOR_SHUFFLE()
1942 : DAG.getConstant(MaskIndex - NumElts, DL, XLenVT)); in lowerVECTOR_SHUFFLE()
2138 DAG.getConstant(0, DL, XLenVT))); in LowerOperation()
2149 DAG.getConstant(0, DL, XLenVT)); in LowerOperation()
2181 DAG.getConstant(Imm, DL, VT)); in LowerOperation()
2194 DAG.getConstant(ShAmtWidth, DL, VT)); in LowerOperation()
2280 DAG.getConstant(3 - Log2, DL, VT)); in LowerOperation()
2283 DAG.getConstant(Log2 - 3, DL, VT)); in LowerOperation()
2290 DAG.getConstant(Val / 8, DL, VT)); in LowerOperation()
2294 DAG.getConstant(3, DL, VT)); in LowerOperation()
2750 DAG.getConstant(Offset, DL, XLenVT)); in lowerGlobalAddress()
2882 DAG.getConstant(Offset, DL, XLenVT)); in lowerGlobalTLSAddress()
2943 SDValue Zero = DAG.getConstant(0, DL, XLenVT); in lowerSELECT()
2970 CondV, DAG.getConstant(0, DL, XLenVT), in lowerBRCOND()
3030 SDValue Offset = DAG.getConstant(Off, DL, VT); in lowerRETURNADDR()
3057 SDValue Zero = DAG.getConstant(0, DL, VT); in lowerShiftLeftParts()
3058 SDValue One = DAG.getConstant(1, DL, VT); in lowerShiftLeftParts()
3059 SDValue MinusXLen = DAG.getConstant(-(int)Subtarget.getXLen(), DL, VT); in lowerShiftLeftParts()
3060 SDValue XLenMinus1 = DAG.getConstant(Subtarget.getXLen() - 1, DL, VT); in lowerShiftLeftParts()
3107 SDValue Zero = DAG.getConstant(0, DL, VT); in lowerShiftRightParts()
3108 SDValue One = DAG.getConstant(1, DL, VT); in lowerShiftRightParts()
3109 SDValue MinusXLen = DAG.getConstant(-(int)Subtarget.getXLen(), DL, VT); in lowerShiftRightParts()
3110 SDValue XLenMinus1 = DAG.getConstant(Subtarget.getXLen() - 1, DL, VT); in lowerShiftRightParts()
3154 DAG.getConstant(1, DL, XLenVT)); in lowerVectorMaskSplat()
3156 SDValue Zero = DAG.getConstant(0, DL, InterVT); in lowerVectorMaskSplat()
3220 SDValue SplatZero = DAG.getConstant(0, DL, XLenVT); in lowerVectorMaskExt()
3221 SDValue SplatTrueVal = DAG.getConstant(ExtTrueVal, DL, XLenVT); in lowerVectorMaskExt()
3309 SDValue SplatOne = DAG.getConstant(1, DL, Subtarget.getXLenVT()); in lowerVectorMaskTrunc()
3310 SDValue SplatZero = DAG.getConstant(0, DL, Subtarget.getXLenVT()); in lowerVectorMaskTrunc()
3363 SDValue Zero = DAG.getConstant(0, DL, XLenVT); in lowerINSERT_VECTOR_ELT()
3373 Val = DAG.getConstant(CVal->getSExtValue(), DL, MVT::i32); in lowerINSERT_VECTOR_ELT()
3398 SDValue One = DAG.getConstant(1, DL, XLenVT); in lowerINSERT_VECTOR_ELT()
3406 SDValue InsertI64VL = DAG.getConstant(2, DL, XLenVT); in lowerINSERT_VECTOR_ELT()
3422 DAG.getNode(ISD::ADD, DL, XLenVT, Idx, DAG.getConstant(1, DL, XLenVT)); in lowerINSERT_VECTOR_ELT()
3461 SDValue VL = DAG.getConstant(1, DL, XLenVT); in lowerEXTRACT_VECTOR_ELT()
3471 DAG.getConstant(0, DL, XLenVT)); in lowerEXTRACT_VECTOR_ELT()
3539 ScalarOp = DAG.getConstant(CVal->getSExtValue(), DL, MVT::i32); in lowerVectorIntrinsicSplats()
3570 DAG.getConstant(7, DL, XLenVT)); in LowerINTRINSIC_WO_CHAIN()
3631 DAG.getConstant(0, DL, MVT::i32), VL); in LowerINTRINSIC_WO_CHAIN()
3668 DAG.getConstant(0, DL, XLenVT)); in LowerINTRINSIC_WO_CHAIN()
3670 DAG.getConstant(1, DL, XLenVT)); in LowerINTRINSIC_WO_CHAIN()
3675 DAG.getNode(ISD::SHL, DL, XLenVT, VL, DAG.getConstant(1, DL, XLenVT)); in LowerINTRINSIC_WO_CHAIN()
3769 SDValue Zero = DAG.getConstant(0, DL, XLenVT); in lowerVectorMaskVECREDUCE()
3785 SDValue One = DAG.getConstant(1, DL, XLenVT); in lowerVectorMaskVECREDUCE()
3839 DAG.getConstant(0, DL, Subtarget.getXLenVT())); in lowerVECREDUCE()
3898 DAG.getConstant(0, DL, Subtarget.getXLenVT())); in lowerFPVECREDUCE()
3945 SDValue SplatZero = DAG.getConstant(0, DL, ExtVecVT); in lowerINSERT_SUBVECTOR()
3965 DAG.getConstant(0, DL, XLenVT)); in lowerINSERT_SUBVECTOR()
3971 DAG.getConstant(OrigIdx + SubVecVT.getVectorNumElements(), DL, XLenVT); in lowerINSERT_SUBVECTOR()
3972 SDValue SlideupAmt = DAG.getConstant(OrigIdx, DL, XLenVT); in lowerINSERT_SUBVECTOR()
4018 DAG.getConstant(AlignedIdx, DL, XLenVT)); in lowerINSERT_SUBVECTOR()
4021 SDValue SlideupAmt = DAG.getConstant(RemIdx, DL, XLenVT); in lowerINSERT_SUBVECTOR()
4029 VL = DAG.getConstant(SubVecVT.getVectorMinNumElements(), DL, XLenVT); in lowerINSERT_SUBVECTOR()
4035 DAG.getConstant(0, DL, XLenVT)); in lowerINSERT_SUBVECTOR()
4044 DAG.getConstant(AlignedIdx, DL, XLenVT)); in lowerINSERT_SUBVECTOR()
4094 SDValue SplatZero = DAG.getConstant(0, DL, ExtSubVecVT); in lowerEXTRACT_SUBVECTOR()
4118 SDValue VL = DAG.getConstant(SubVecVT.getVectorNumElements(), DL, XLenVT); in lowerEXTRACT_SUBVECTOR()
4119 SDValue SlidedownAmt = DAG.getConstant(OrigIdx, DL, XLenVT); in lowerEXTRACT_SUBVECTOR()
4125 DAG.getConstant(0, DL, XLenVT)); in lowerEXTRACT_SUBVECTOR()
4150 DAG.getConstant(OrigIdx - RemIdx, DL, XLenVT)); in lowerEXTRACT_SUBVECTOR()
4155 SDValue SlidedownAmt = DAG.getConstant(RemIdx, DL, XLenVT); in lowerEXTRACT_SUBVECTOR()
4168 DAG.getConstant(0, DL, XLenVT)); in lowerEXTRACT_SUBVECTOR()
4190 DAG.getConstant(Log2_64(StepValImm), DL, XLenVT)); in lowerSTEP_VECTOR()
4194 DAG.getConstant(StepValImm, DL, VT.getVectorElementType()), VL, VT, in lowerSTEP_VECTOR()
4260 DAG.getConstant(MinElts, DL, XLenVT)); in lowerVECTOR_REVERSE()
4262 DAG.getNode(ISD::SUB, DL, XLenVT, VLMax, DAG.getConstant(1, DL, XLenVT)); in lowerVECTOR_REVERSE()
4295 DAG.getConstant(VT.getVectorNumElements(), DL, Subtarget.getXLenVT()); in lowerFixedLengthVectorLoadToRVV()
4324 DAG.getConstant(0, DL, VT), StoreVal, in lowerFixedLengthVectorStoreToRVV()
4331 DAG.getConstant(VT.getVectorNumElements(), DL, Subtarget.getXLenVT()); in lowerFixedLengthVectorStoreToRVV()
4359 VL = DAG.getConstant(VT.getVectorNumElements(), DL, XLenVT); in lowerMLOAD()
4395 VL = DAG.getConstant(VT.getVectorNumElements(), DL, XLenVT); in lowerMSTORE()
4421 DAG.getConstant(VT.getVectorNumElements(), DL, Subtarget.getXLenVT()); in lowerFixedLengthVectorSetccToRVV()
4472 DAG.getConstant(0, DL, Subtarget.getXLenVT())); in lowerABS()
4652 VL = DAG.getConstant(VT.getVectorNumElements(), DL, XLenVT); in lowerMGATHER()
4733 VL = DAG.getConstant(VT.getVectorNumElements(), DL, XLenVT); in lowerMSCATTER()
4757 SDValue SysRegNo = DAG.getConstant( in lowerGET_ROUNDING()
4774 DAG.getNode(ISD::SHL, DL, XLenVT, RM, DAG.getConstant(2, DL, XLenVT)); in lowerGET_ROUNDING()
4776 DAG.getConstant(Table, DL, XLenVT), Shift); in lowerGET_ROUNDING()
4778 DAG.getConstant(7, DL, XLenVT)); in lowerGET_ROUNDING()
4789 SDValue SysRegNo = DAG.getConstant( in lowerSET_ROUNDING()
4804 DAG.getConstant(2, DL, XLenVT)); in lowerSET_ROUNDING()
4806 DAG.getConstant(Table, DL, XLenVT), Shift); in lowerSET_ROUNDING()
4808 DAG.getConstant(0x7, DL, XLenVT)); in lowerSET_ROUNDING()
5104 DAG.getConstant(0, DL, XLenVT))); in ReplaceNodeResults()
5156 DAG.getNode(Opc, DL, XLenVT, NewOp0, DAG.getConstant(Imm, DL, XLenVT)); in ReplaceNodeResults()
5175 DAG.getConstant(0x1f, DL, MVT::i64)); in ReplaceNodeResults()
5215 SDValue VL = DAG.getConstant(1, DL, XLenVT); in ReplaceNodeResults()
5231 DAG.getConstant(32, DL, XLenVT), VL); in ReplaceNodeResults()
5254 DAG.getConstant(7, DL, MVT::i64)); in ReplaceNodeResults()
5284 DAG.getConstant(0xf, DL, MVT::i64)); in ReplaceNodeResults()
5330 SDValue VL = DAG.getConstant(1, DL, XLenVT); in ReplaceNodeResults()
5334 DAG.getConstant(32, DL, XLenVT), VL); in ReplaceNodeResults()
5492 DAG.getConstant(LHS->ShAmt, DL, VT)); in combineORToGREV()
5530 DAG.getConstant(RotAmt, DL, VT)); in combineORToGORC()
5558 DAG.getConstant(LHS->ShAmt, DL, VT)); in combineORToGORC()
5656 DAG.getConstant(Match1->ShAmt, DL, VT)); in combineORToSHFL()
5689 DAG.getConstant(CombinedShAmt, DL, N->getOperand(1).getValueType())); in combineGREVI_GORCI()
5890 SDValue Lo = DAG.getConstant(V.trunc(32), DL, MVT::i32); in PerformDAGCombine()
5891 SDValue Hi = DAG.getConstant(V.lshr(32).trunc(32), DL, MVT::i32); in PerformDAGCombine()
5910 DAG.getConstant(SignBit, DL, MVT::i32)); in PerformDAGCombine()
5915 DAG.getConstant(~SignBit, DL, MVT::i32)); in PerformDAGCombine()
6081 DAG.getConstant(SignBit, DL, MVT::i64)); in PerformDAGCombine()
6085 DAG.getConstant(~SignBit, DL, MVT::i64)); in PerformDAGCombine()
6153 RHS = DAG.getConstant(0, DL, LHS.getValueType()); in PerformDAGCombine()
6205 RHS = DAG.getConstant(0, DL, LHS.getValueType()); in PerformDAGCombine()
6269 SDValue SplatScale = DAG.getConstant(Log2_32(Scale), DL, IndexVT); in PerformDAGCombine()
6447 SDValue NewC = TLO.DAG.getConstant(NewMask, DL, VT); in targetShrinkDemandedConstant()
7928 SDValue SizeNode = DAG.getConstant(Size, DL, XLenVT); in LowerCall()
8136 DAG.getConstant(NumBytes, DL, PtrVT, true), in LowerCall()
8137 DAG.getConstant(0, DL, PtrVT, true), in LowerCall()
8989 DAG.getConstant(0xFFFF0000, DL, MVT::i32)); in splitValueIntoRegisterParts()
9012 Val, DAG.getConstant(0, DL, Subtarget.getXLenVT())); in splitValueIntoRegisterParts()
9052 DAG.getConstant(0, DL, Subtarget.getXLenVT())); in joinRegisterPartsIntoValue()