Lines Matching refs:XLenVT

81   MVT XLenVT = Subtarget.getXLenVT();  in RISCVTargetLowering()  local
84 addRegisterClass(XLenVT, &RISCV::GPRRegClass); in RISCVTargetLowering()
167 setLoadExtAction(N, XLenVT, MVT::i1, Promote); in RISCVTargetLowering()
170 setOperationAction(ISD::DYNAMIC_STACKALLOC, XLenVT, Expand); in RISCVTargetLowering()
173 setOperationAction(ISD::BR_CC, XLenVT, Expand); in RISCVTargetLowering()
175 setOperationAction(ISD::SELECT_CC, XLenVT, Expand); in RISCVTargetLowering()
205 setOperationAction(ISD::MUL, XLenVT, Expand); in RISCVTargetLowering()
206 setOperationAction(ISD::MULHS, XLenVT, Expand); in RISCVTargetLowering()
207 setOperationAction(ISD::MULHU, XLenVT, Expand); in RISCVTargetLowering()
208 setOperationAction(ISD::SDIV, XLenVT, Expand); in RISCVTargetLowering()
209 setOperationAction(ISD::UDIV, XLenVT, Expand); in RISCVTargetLowering()
210 setOperationAction(ISD::SREM, XLenVT, Expand); in RISCVTargetLowering()
211 setOperationAction(ISD::UREM, XLenVT, Expand); in RISCVTargetLowering()
231 setOperationAction(ISD::SDIVREM, XLenVT, Expand); in RISCVTargetLowering()
232 setOperationAction(ISD::UDIVREM, XLenVT, Expand); in RISCVTargetLowering()
233 setOperationAction(ISD::SMUL_LOHI, XLenVT, Expand); in RISCVTargetLowering()
234 setOperationAction(ISD::UMUL_LOHI, XLenVT, Expand); in RISCVTargetLowering()
236 setOperationAction(ISD::SHL_PARTS, XLenVT, Custom); in RISCVTargetLowering()
237 setOperationAction(ISD::SRL_PARTS, XLenVT, Custom); in RISCVTargetLowering()
238 setOperationAction(ISD::SRA_PARTS, XLenVT, Custom); in RISCVTargetLowering()
246 setOperationAction(ISD::ROTL, XLenVT, Expand); in RISCVTargetLowering()
247 setOperationAction(ISD::ROTR, XLenVT, Expand); in RISCVTargetLowering()
253 setOperationAction(ISD::BITREVERSE, XLenVT, Custom); in RISCVTargetLowering()
254 setOperationAction(ISD::BSWAP, XLenVT, Custom); in RISCVTargetLowering()
267 setOperationAction(ISD::BSWAP, XLenVT, in RISCVTargetLowering()
272 setOperationAction(ISD::SMIN, XLenVT, Legal); in RISCVTargetLowering()
273 setOperationAction(ISD::SMAX, XLenVT, Legal); in RISCVTargetLowering()
274 setOperationAction(ISD::UMIN, XLenVT, Legal); in RISCVTargetLowering()
275 setOperationAction(ISD::UMAX, XLenVT, Legal); in RISCVTargetLowering()
284 setOperationAction(ISD::CTTZ, XLenVT, Expand); in RISCVTargetLowering()
285 setOperationAction(ISD::CTLZ, XLenVT, Expand); in RISCVTargetLowering()
286 setOperationAction(ISD::CTPOP, XLenVT, Expand); in RISCVTargetLowering()
290 setOperationAction(ISD::FSHL, XLenVT, Custom); in RISCVTargetLowering()
291 setOperationAction(ISD::FSHR, XLenVT, Custom); in RISCVTargetLowering()
292 setOperationAction(ISD::SELECT, XLenVT, Legal); in RISCVTargetLowering()
299 setOperationAction(ISD::SELECT, XLenVT, Custom); in RISCVTargetLowering()
379 setOperationAction(ISD::FLT_ROUNDS_, XLenVT, Custom); in RISCVTargetLowering()
383 setOperationAction(ISD::GlobalAddress, XLenVT, Custom); in RISCVTargetLowering()
384 setOperationAction(ISD::BlockAddress, XLenVT, Custom); in RISCVTargetLowering()
385 setOperationAction(ISD::ConstantPool, XLenVT, Custom); in RISCVTargetLowering()
386 setOperationAction(ISD::JumpTable, XLenVT, Custom); in RISCVTargetLowering()
388 setOperationAction(ISD::GlobalTLSAddress, XLenVT, Custom); in RISCVTargetLowering()
413 setOperationAction(ISD::VSCALE, XLenVT, Custom); in RISCVTargetLowering()
1344 MVT XLenVT = Subtarget.getXLenVT(); in getDefaultVLOps() local
1346 ? DAG.getConstant(VecVT.getVectorNumElements(), DL, XLenVT) in getDefaultVLOps()
1347 : DAG.getRegister(RISCV::X0, XLenVT); in getDefaultVLOps()
1482 MVT XLenVT = Subtarget.getXLenVT(); in lowerBUILD_VECTOR() local
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()
1576 assert(Splat.getValueType() == XLenVT && in lowerBUILD_VECTOR()
1578 Splat = DAG.getNode(ISD::AND, DL, XLenVT, Splat, in lowerBUILD_VECTOR()
1579 DAG.getConstant(1, DL, XLenVT)); 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()
1677 assert((ViaIntVT.bitsLE(XLenVT) || in lowerBUILD_VECTOR()
1680 if (ViaIntVT.bitsLE(XLenVT) || isInt<32>(SplatValue)) { 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()
1801 MVT XLenVT = Subtarget.getXLenVT(); in lowerScalarSplat() local
1804 if (Scalar.getValueType().bitsLE(XLenVT)) { in lowerScalarSplat()
1811 Scalar = DAG.getNode(ExtOpc, DL, XLenVT, Scalar); in lowerScalarSplat()
1815 assert(XLenVT == MVT::i32 && Scalar.getValueType() == MVT::i64 && in lowerScalarSplat()
1827 MVT XLenVT = Subtarget.getXLenVT(); in lowerVECTOR_SHUFFLE() local
1863 if (SVT.isInteger() && SVT.bitsGT(XLenVT)) { in lowerVECTOR_SHUFFLE()
1866 DAG.getTargetConstant(Intrinsic::riscv_vlse, DL, XLenVT); in lowerVECTOR_SHUFFLE()
1868 DAG.getRegister(RISCV::X0, XLenVT), VL}; in lowerVECTOR_SHUFFLE()
1886 V = DAG.getExtLoad(ISD::SEXTLOAD, DL, XLenVT, Ld->getChain(), NewAddr, in lowerVECTOR_SHUFFLE()
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()
1939 : DAG.getUNDEF(XLenVT)); in lowerVECTOR_SHUFFLE()
1941 IsLHSOrUndefIndex ? DAG.getUNDEF(XLenVT) in lowerVECTOR_SHUFFLE()
1942 : DAG.getConstant(MaskIndex - NumElts, DL, XLenVT)); in lowerVECTOR_SHUFFLE()
1971 if (IndexVT.getScalarType().bitsGT(XLenVT)) { in lowerVECTOR_SHUFFLE()
2125 MVT XLenVT = Subtarget.getXLenVT(); in LowerOperation() local
2138 DAG.getConstant(0, DL, XLenVT))); in LowerOperation()
2149 DAG.getConstant(0, DL, XLenVT)); in LowerOperation()
2152 SDValue NewOp0 = DAG.getNode(ISD::ANY_EXTEND, DL, XLenVT, Op0); in LowerOperation()
2738 MVT XLenVT = Subtarget.getXLenVT(); in lowerGlobalAddress() local
2750 DAG.getConstant(Offset, DL, XLenVT)); in lowerGlobalAddress()
2781 MVT XLenVT = Subtarget.getXLenVT(); in getStaticTLSAddr() local
2793 SDValue TPReg = DAG.getRegister(RISCV::X4, XLenVT); in getStaticTLSAddr()
2809 SDValue TPReg = DAG.getRegister(RISCV::X4, XLenVT); in getStaticTLSAddr()
2854 MVT XLenVT = Subtarget.getXLenVT(); in lowerGlobalTLSAddress() local
2882 DAG.getConstant(Offset, DL, XLenVT)); in lowerGlobalTLSAddress()
2892 MVT XLenVT = Subtarget.getXLenVT(); in lowerSELECT() local
2909 if (VT == XLenVT && CondV.getOpcode() == ISD::SETCC && in lowerSELECT()
2910 CondV.getOperand(0).getSimpleValueType() == XLenVT) { in lowerSELECT()
2935 SDValue TargetCC = DAG.getTargetConstant(CCVal, DL, XLenVT); in lowerSELECT()
2943 SDValue Zero = DAG.getConstant(0, DL, XLenVT); in lowerSELECT()
2944 SDValue SetNE = DAG.getTargetConstant(ISD::SETNE, DL, XLenVT); in lowerSELECT()
2954 MVT XLenVT = Subtarget.getXLenVT(); in lowerBRCOND() local
2957 CondV.getOperand(0).getValueType() == XLenVT) { in lowerBRCOND()
2970 CondV, DAG.getConstant(0, DL, XLenVT), in lowerBRCOND()
3018 MVT XLenVT = Subtarget.getXLenVT(); in lowerRETURNADDR() local
3038 Register Reg = MF.addLiveIn(RI.getRARegister(), getRegClassFor(XLenVT)); in lowerRETURNADDR()
3039 return DAG.getCopyFromReg(DAG.getEntryNode(), DL, Reg, XLenVT); in lowerRETURNADDR()
3149 MVT XLenVT = Subtarget.getXLenVT(); in lowerVectorMaskSplat() local
3150 assert(SplatVal.getValueType() == XLenVT && in lowerVectorMaskSplat()
3153 SplatVal = DAG.getNode(ISD::AND, DL, XLenVT, SplatVal, in lowerVectorMaskSplat()
3154 DAG.getConstant(1, DL, XLenVT)); in lowerVectorMaskSplat()
3219 MVT XLenVT = Subtarget.getXLenVT(); in lowerVectorMaskExt() local
3220 SDValue SplatZero = DAG.getConstant(0, DL, XLenVT); in lowerVectorMaskExt()
3221 SDValue SplatTrueVal = DAG.getConstant(ExtTrueVal, DL, XLenVT); in lowerVectorMaskExt()
3361 MVT XLenVT = Subtarget.getXLenVT(); in lowerINSERT_VECTOR_ELT() local
3363 SDValue Zero = DAG.getConstant(0, DL, XLenVT); 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()
3441 MVT XLenVT = Subtarget.getXLenVT(); in lowerEXTRACT_VECTOR_ELT() local
3461 SDValue VL = DAG.getConstant(1, DL, XLenVT); in lowerEXTRACT_VECTOR_ELT()
3471 DAG.getConstant(0, DL, XLenVT)); in lowerEXTRACT_VECTOR_ELT()
3474 SDValue Elt0 = DAG.getNode(RISCVISD::VMV_X_S, DL, XLenVT, Vec); in lowerEXTRACT_VECTOR_ELT()
3504 MVT XLenVT = Subtarget.getXLenVT(); in lowerVectorIntrinsicSplats() local
3507 if (!OpVT.isScalarInteger() || OpVT == XLenVT) in lowerVectorIntrinsicSplats()
3511 if (OpVT.bitsLT(XLenVT)) { in lowerVectorIntrinsicSplats()
3518 ScalarOp = DAG.getNode(ExtOpc, DL, XLenVT, ScalarOp); in lowerVectorIntrinsicSplats()
3532 assert(XLenVT == MVT::i32 && OpVT == MVT::i64 && in lowerVectorIntrinsicSplats()
3549 assert(VL.getValueType() == XLenVT); in lowerVectorIntrinsicSplats()
3558 MVT XLenVT = Subtarget.getXLenVT(); in LowerINTRINSIC_WO_CHAIN() local
3569 return DAG.getNode(RISCVISD::GORC, DL, XLenVT, Op.getOperand(1), in LowerINTRINSIC_WO_CHAIN()
3570 DAG.getConstant(7, DL, XLenVT)); in LowerINTRINSIC_WO_CHAIN()
3575 return DAG.getNode(Opc, DL, XLenVT, Op.getOperand(1), Op.getOperand(2)); in LowerINTRINSIC_WO_CHAIN()
3581 return DAG.getNode(Opc, DL, XLenVT, Op.getOperand(1), Op.getOperand(2)); in LowerINTRINSIC_WO_CHAIN()
3587 return DAG.getNode(Opc, DL, XLenVT, Op.getOperand(1), Op.getOperand(2)); in LowerINTRINSIC_WO_CHAIN()
3590 assert(Op.getValueType() == XLenVT && "Unexpected VT!"); in LowerINTRINSIC_WO_CHAIN()
3602 if (Scalar.getValueType().bitsLE(XLenVT)) { in LowerINTRINSIC_WO_CHAIN()
3603 Scalar = DAG.getNode(ISD::ANY_EXTEND, DL, XLenVT, Scalar); in LowerINTRINSIC_WO_CHAIN()
3651 if (Scalar.getValueType().bitsLE(XLenVT)) 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()
3757 MVT XLenVT = Subtarget.getXLenVT(); in lowerVectorMaskVECREDUCE() local
3758 assert(Op.getValueType() == XLenVT && in lowerVectorMaskVECREDUCE()
3769 SDValue Zero = DAG.getConstant(0, DL, XLenVT); in lowerVectorMaskVECREDUCE()
3777 Vec = DAG.getNode(RISCVISD::VPOPC_VL, DL, XLenVT, Vec, Mask, VL); in lowerVectorMaskVECREDUCE()
3778 return DAG.getSetCC(DL, XLenVT, Vec, Zero, ISD::SETEQ); in lowerVectorMaskVECREDUCE()
3781 Vec = DAG.getNode(RISCVISD::VPOPC_VL, DL, XLenVT, Vec, Mask, VL); in lowerVectorMaskVECREDUCE()
3782 return DAG.getSetCC(DL, XLenVT, Vec, Zero, ISD::SETNE); in lowerVectorMaskVECREDUCE()
3785 SDValue One = DAG.getConstant(1, DL, XLenVT); in lowerVectorMaskVECREDUCE()
3786 Vec = DAG.getNode(RISCVISD::VPOPC_VL, DL, XLenVT, Vec, Mask, VL); in lowerVectorMaskVECREDUCE()
3787 Vec = DAG.getNode(ISD::AND, DL, XLenVT, Vec, One); in lowerVectorMaskVECREDUCE()
3788 return DAG.getSetCC(DL, XLenVT, Vec, Zero, ISD::SETNE); in lowerVectorMaskVECREDUCE()
3909 MVT XLenVT = Subtarget.getXLenVT(); in lowerINSERT_SUBVECTOR() local
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()
4023 SlideupAmt = DAG.getNode(ISD::VSCALE, DL, XLenVT, SlideupAmt); in lowerINSERT_SUBVECTOR()
4029 VL = DAG.getConstant(SubVecVT.getVectorMinNumElements(), DL, XLenVT); in lowerINSERT_SUBVECTOR()
4030 VL = DAG.getNode(ISD::VSCALE, DL, XLenVT, VL); in lowerINSERT_SUBVECTOR()
4031 VL = DAG.getNode(ISD::ADD, DL, XLenVT, SlideupAmt, VL); in lowerINSERT_SUBVECTOR()
4035 DAG.getConstant(0, DL, XLenVT)); in lowerINSERT_SUBVECTOR()
4044 DAG.getConstant(AlignedIdx, DL, XLenVT)); in lowerINSERT_SUBVECTOR()
4058 MVT XLenVT = Subtarget.getXLenVT(); in lowerEXTRACT_SUBVECTOR() local
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()
4157 SlidedownAmt = DAG.getNode(ISD::VSCALE, DL, XLenVT, SlidedownAmt); in lowerEXTRACT_SUBVECTOR()
4168 DAG.getConstant(0, DL, XLenVT)); in lowerEXTRACT_SUBVECTOR()
4181 MVT XLenVT = Subtarget.getXLenVT(); in lowerSTEP_VECTOR() local
4190 DAG.getConstant(Log2_64(StepValImm), DL, XLenVT)); in lowerSTEP_VECTOR()
4253 MVT XLenVT = Subtarget.getXLenVT(); in lowerVECTOR_REVERSE() local
4259 SDValue VLMax = DAG.getNode(ISD::VSCALE, DL, XLenVT, in lowerVECTOR_REVERSE()
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()
4346 MVT XLenVT = Subtarget.getXLenVT(); in lowerMLOAD() local
4359 VL = DAG.getConstant(VT.getVectorNumElements(), DL, XLenVT); in lowerMLOAD()
4361 VL = DAG.getRegister(RISCV::X0, XLenVT); in lowerMLOAD()
4364 SDValue IntID = DAG.getTargetConstant(Intrinsic::riscv_vle_mask, DL, XLenVT); in lowerMLOAD()
4385 MVT XLenVT = Subtarget.getXLenVT(); in lowerMSTORE() local
4395 VL = DAG.getConstant(VT.getVectorNumElements(), DL, XLenVT); in lowerMSTORE()
4397 VL = DAG.getRegister(RISCV::X0, XLenVT); in lowerMSTORE()
4399 SDValue IntID = DAG.getTargetConstant(Intrinsic::riscv_vse_mask, DL, XLenVT); in lowerMSTORE()
4614 MVT XLenVT = Subtarget.getXLenVT(); in lowerMGATHER() local
4618 assert(MGN->getBasePtr().getSimpleValueType() == XLenVT && in lowerMGATHER()
4652 VL = DAG.getConstant(VT.getVectorNumElements(), DL, XLenVT); in lowerMGATHER()
4654 VL = DAG.getRegister(RISCV::X0, XLenVT); in lowerMGATHER()
4659 DAG.getTargetConstant(IntID, DL, XLenVT)}; in lowerMGATHER()
4695 MVT XLenVT = Subtarget.getXLenVT(); in lowerMSCATTER() local
4699 assert(MSN->getBasePtr().getSimpleValueType() == XLenVT && in lowerMSCATTER()
4733 VL = DAG.getConstant(VT.getVectorNumElements(), DL, XLenVT); in lowerMSCATTER()
4735 VL = DAG.getRegister(RISCV::X0, XLenVT); in lowerMSCATTER()
4740 DAG.getTargetConstant(IntID, DL, XLenVT)}; in lowerMSCATTER()
4754 const MVT XLenVT = Subtarget.getXLenVT(); in lowerGET_ROUNDING() local
4758 RISCVSysReg::lookupSysRegByName("FRM")->Encoding, DL, XLenVT); in lowerGET_ROUNDING()
4759 SDVTList VTs = DAG.getVTList(XLenVT, MVT::Other); in lowerGET_ROUNDING()
4774 DAG.getNode(ISD::SHL, DL, XLenVT, RM, DAG.getConstant(2, DL, XLenVT)); in lowerGET_ROUNDING()
4775 SDValue Shifted = DAG.getNode(ISD::SRL, DL, XLenVT, in lowerGET_ROUNDING()
4776 DAG.getConstant(Table, DL, XLenVT), Shift); in lowerGET_ROUNDING()
4777 SDValue Masked = DAG.getNode(ISD::AND, DL, XLenVT, Shifted, in lowerGET_ROUNDING()
4778 DAG.getConstant(7, DL, XLenVT)); in lowerGET_ROUNDING()
4785 const MVT XLenVT = Subtarget.getXLenVT(); in lowerSET_ROUNDING() local
4790 RISCVSysReg::lookupSysRegByName("FRM")->Encoding, DL, XLenVT); in lowerSET_ROUNDING()
4803 SDValue Shift = DAG.getNode(ISD::SHL, DL, XLenVT, RMValue, in lowerSET_ROUNDING()
4804 DAG.getConstant(2, DL, XLenVT)); in lowerSET_ROUNDING()
4805 SDValue Shifted = DAG.getNode(ISD::SRL, DL, XLenVT, in lowerSET_ROUNDING()
4806 DAG.getConstant(Table, DL, XLenVT), Shift); in lowerSET_ROUNDING()
4807 RMValue = DAG.getNode(ISD::AND, DL, XLenVT, Shifted, in lowerSET_ROUNDING()
4808 DAG.getConstant(0x7, DL, XLenVT)); in lowerSET_ROUNDING()
4950 MVT XLenVT = Subtarget.getXLenVT(); in ReplaceNodeResults() local
4951 S = DAG.getNode(ISD::TRUNCATE, DL, XLenVT, S); in ReplaceNodeResults()
4952 U = DAG.getNode(ISD::TRUNCATE, DL, XLenVT, U); in ReplaceNodeResults()
4953 SDValue Lo = DAG.getNode(ISD::MUL, DL, XLenVT, S, U); in ReplaceNodeResults()
4954 SDValue Hi = DAG.getNode(RISCVISD::MULHSU, DL, XLenVT, S, U); in ReplaceNodeResults()
5086 MVT XLenVT = Subtarget.getXLenVT(); in ReplaceNodeResults() local
5088 SDValue FPConv = DAG.getNode(RISCVISD::FMV_X_ANYEXTH, DL, XLenVT, Op0); in ReplaceNodeResults()
5104 DAG.getConstant(0, DL, XLenVT))); in ReplaceNodeResults()
5145 MVT XLenVT = Subtarget.getXLenVT(); in ReplaceNodeResults() local
5149 SDValue NewOp0 = DAG.getNode(ISD::ANY_EXTEND, DL, XLenVT, N->getOperand(0)); in ReplaceNodeResults()
5156 DAG.getNode(Opc, DL, XLenVT, NewOp0, DAG.getConstant(Imm, DL, XLenVT)); in ReplaceNodeResults()
5211 MVT XLenVT = Subtarget.getXLenVT(); in ReplaceNodeResults() local
5215 SDValue VL = DAG.getConstant(1, DL, XLenVT); in ReplaceNodeResults()
5226 SDValue EltLo = DAG.getNode(RISCVISD::VMV_X_S, DL, XLenVT, Vec); in ReplaceNodeResults()
5231 DAG.getConstant(32, DL, XLenVT), VL); in ReplaceNodeResults()
5235 SDValue EltHi = DAG.getNode(RISCVISD::VMV_X_S, DL, XLenVT, LShr32); in ReplaceNodeResults()
5309 MVT XLenVT = Subtarget.getXLenVT(); in ReplaceNodeResults() local
5310 if (VT.bitsLT(XLenVT)) { in ReplaceNodeResults()
5326 SDValue EltLo = DAG.getNode(RISCVISD::VMV_X_S, DL, XLenVT, Vec); in ReplaceNodeResults()
5330 SDValue VL = DAG.getConstant(1, DL, XLenVT); in ReplaceNodeResults()
5334 DAG.getConstant(32, DL, XLenVT), VL); in ReplaceNodeResults()
5337 SDValue EltHi = DAG.getNode(RISCVISD::VMV_X_S, DL, XLenVT, LShr32); in ReplaceNodeResults()
6243 MVT XLenVT = Subtarget.getXLenVT(); in PerformDAGCombine() local
6248 IndexVT.getVectorElementType().bitsLT(XLenVT)); in PerformDAGCombine()
6257 if (IndexVT.getVectorElementType().bitsLT(XLenVT)) { in PerformDAGCombine()
6258 IndexVT = IndexVT.changeVectorElementType(XLenVT); in PerformDAGCombine()
7078 MVT XLenVT = XLen == 32 ? MVT::i32 : MVT::i64; in CC_RISCV() local
7120 LocVT = XLenVT; in CC_RISCV()
7182 LocVT = XLenVT; in CC_RISCV()
7229 LocVT = XLenVT; in CC_RISCV()
7267 assert((!UseGPRForF16_F32 || !UseGPRForF64 || LocVT == XLenVT || in CC_RISCV()
7673 MVT XLenVT = Subtarget.getXLenVT(); in LowerFormalArguments() local
7717 Offset = DAG.getNode(ISD::VSCALE, DL, XLenVT, Offset); in LowerFormalArguments()
7770 SDValue ArgValue = DAG.getCopyFromReg(Chain, DL, Reg, XLenVT); in LowerFormalArguments()
7886 MVT XLenVT = Subtarget.getXLenVT(); in LowerCall() local
7928 SDValue SizeNode = DAG.getConstant(Size, DL, XLenVT); in LowerCall()
8007 Offset = DAG.getNode(ISD::VSCALE, DL, XLenVT, Offset); in LowerCall()