Lines Matching refs:XLenVT
46 MVT XLenVT = Subtarget.getXLenVT(); in RISCVTargetLowering() local
49 addRegisterClass(XLenVT, &RISCV::GPRRegClass); in RISCVTargetLowering()
62 setLoadExtAction(N, XLenVT, MVT::i1, Promote); in RISCVTargetLowering()
65 setOperationAction(ISD::DYNAMIC_STACKALLOC, XLenVT, Expand); in RISCVTargetLowering()
68 setOperationAction(ISD::BR_CC, XLenVT, Expand); in RISCVTargetLowering()
69 setOperationAction(ISD::SELECT, XLenVT, Custom); in RISCVTargetLowering()
70 setOperationAction(ISD::SELECT_CC, XLenVT, Expand); in RISCVTargetLowering()
91 setOperationAction(ISD::MUL, XLenVT, Expand); in RISCVTargetLowering()
92 setOperationAction(ISD::MULHS, XLenVT, Expand); in RISCVTargetLowering()
93 setOperationAction(ISD::MULHU, XLenVT, Expand); in RISCVTargetLowering()
94 setOperationAction(ISD::SDIV, XLenVT, Expand); in RISCVTargetLowering()
95 setOperationAction(ISD::UDIV, XLenVT, Expand); in RISCVTargetLowering()
96 setOperationAction(ISD::SREM, XLenVT, Expand); in RISCVTargetLowering()
97 setOperationAction(ISD::UREM, XLenVT, Expand); in RISCVTargetLowering()
100 setOperationAction(ISD::SDIVREM, XLenVT, Expand); in RISCVTargetLowering()
101 setOperationAction(ISD::UDIVREM, XLenVT, Expand); in RISCVTargetLowering()
102 setOperationAction(ISD::SMUL_LOHI, XLenVT, Expand); in RISCVTargetLowering()
103 setOperationAction(ISD::UMUL_LOHI, XLenVT, Expand); in RISCVTargetLowering()
105 setOperationAction(ISD::SHL_PARTS, XLenVT, Expand); in RISCVTargetLowering()
106 setOperationAction(ISD::SRL_PARTS, XLenVT, Expand); in RISCVTargetLowering()
107 setOperationAction(ISD::SRA_PARTS, XLenVT, Expand); in RISCVTargetLowering()
109 setOperationAction(ISD::ROTL, XLenVT, Expand); in RISCVTargetLowering()
110 setOperationAction(ISD::ROTR, XLenVT, Expand); in RISCVTargetLowering()
111 setOperationAction(ISD::BSWAP, XLenVT, Expand); in RISCVTargetLowering()
112 setOperationAction(ISD::CTTZ, XLenVT, Expand); in RISCVTargetLowering()
113 setOperationAction(ISD::CTLZ, XLenVT, Expand); in RISCVTargetLowering()
114 setOperationAction(ISD::CTPOP, XLenVT, Expand); in RISCVTargetLowering()
150 setOperationAction(ISD::GlobalAddress, XLenVT, Custom); in RISCVTargetLowering()
151 setOperationAction(ISD::BlockAddress, XLenVT, Custom); in RISCVTargetLowering()
152 setOperationAction(ISD::ConstantPool, XLenVT, Custom); in RISCVTargetLowering()
347 MVT XLenVT = Subtarget.getXLenVT(); in lowerGlobalAddress() local
362 DAG.getConstant(Offset, DL, XLenVT)); in lowerGlobalAddress()
413 MVT XLenVT = Subtarget.getXLenVT(); in lowerSELECT() local
421 if (Op.getSimpleValueType() == XLenVT && CondV.getOpcode() == ISD::SETCC && in lowerSELECT()
422 CondV.getOperand(0).getSimpleValueType() == XLenVT) { in lowerSELECT()
430 SDValue TargetCC = DAG.getConstant(CCVal, DL, XLenVT); in lowerSELECT()
439 SDValue Zero = DAG.getConstant(0, DL, XLenVT); in lowerSELECT()
440 SDValue SetNE = DAG.getConstant(ISD::SETNE, DL, XLenVT); in lowerSELECT()
492 MVT XLenVT = Subtarget.getXLenVT(); in lowerRETURNADDR() local
512 unsigned Reg = MF.addLiveIn(RI.getRARegister(), getRegClassFor(XLenVT)); in lowerRETURNADDR()
513 return DAG.getCopyFromReg(DAG.getEntryNode(), DL, Reg, XLenVT); in lowerRETURNADDR()
807 MVT XLenVT = XLen == 32 ? MVT::i32 : MVT::i64; in CC_RISCV() local
866 LocVT = XLenVT; in CC_RISCV()
912 assert(LocVT == XLenVT && "Expected an XLenVT at this stage"); in CC_RISCV()
1120 MVT XLenVT = Subtarget.getXLenVT(); in LowerFormalArguments() local
1207 SDValue ArgValue = DAG.getCopyFromReg(Chain, DL, Reg, XLenVT); in LowerFormalArguments()
1327 MVT XLenVT = Subtarget.getXLenVT(); in LowerCall() local
1363 SDValue SizeNode = DAG.getConstant(Size, DL, XLenVT); in LowerCall()