Lines Matching refs:DstVT
1102 bool RISCVTargetLowering::isTruncateFree(EVT SrcVT, EVT DstVT) const { in isTruncateFree()
1103 if (Subtarget.is64Bit() || SrcVT.isVector() || DstVT.isVector() || in isTruncateFree()
1104 !SrcVT.isInteger() || !DstVT.isInteger()) in isTruncateFree()
1107 unsigned DestBits = DstVT.getSizeInBits(); in isTruncateFree()
1126 bool RISCVTargetLowering::isSExtCheaperThanZExt(EVT SrcVT, EVT DstVT) const { in isSExtCheaperThanZExt()
1127 return Subtarget.is64Bit() && SrcVT == MVT::i32 && DstVT == MVT::i64; in isSExtCheaperThanZExt()
1796 EVT DstVT = Op.getValueType(); in lowerFP_TO_INT_SAT() local
1801 if (SatVT == DstVT) in lowerFP_TO_INT_SAT()
1803 else if (DstVT == MVT::i64 && SatVT == MVT::i32) in lowerFP_TO_INT_SAT()
1811 Opc, DL, DstVT, Src, in lowerFP_TO_INT_SAT()
1814 SDValue ZeroInt = DAG.getConstant(0, DL, DstVT); in lowerFP_TO_INT_SAT()
6333 MVT DstVT = Op.getSimpleValueType(); in lowerVPFPIntConvOp() local
6335 if (DstVT.isFixedLengthVector()) { in lowerVPFPIntConvOp()
6336 DstVT = getContainerForFixedLengthVector(DstVT); in lowerVPFPIntConvOp()
6339 MVT MaskVT = getMaskTypeFor(DstVT); in lowerVPFPIntConvOp()
6348 unsigned DstEltSize = DstVT.getScalarSizeInBits(); in lowerVPFPIntConvOp()
6354 assert(DstVT.isFloatingPoint() && "Wrong input/output vector types"); in lowerVPFPIntConvOp()
6358 MVT IntVT = DstVT.changeVectorElementTypeToInteger(); in lowerVPFPIntConvOp()
6372 DstVT.getVectorElementCount()); in lowerVPFPIntConvOp()
6376 Result = DAG.getNode(RISCVISDOpc, DL, DstVT, Src, Mask, VL); in lowerVPFPIntConvOp()
6378 assert(SrcVT.isFloatingPoint() && DstVT.isInteger() && in lowerVPFPIntConvOp()
6385 MVT::getVectorVT(MVT::f32, DstVT.getVectorElementCount()); in lowerVPFPIntConvOp()
6390 Result = DAG.getNode(RISCVISDOpc, DL, DstVT, Src, Mask, VL); in lowerVPFPIntConvOp()
6394 assert(DstVT.isFloatingPoint() && "Wrong input/output vector types"); in lowerVPFPIntConvOp()
6398 MVT InterimFVT = DstVT; in lowerVPFPIntConvOp()
6401 assert(DstVT.getVectorElementType() == MVT::f16 && "Unexpected type!"); in lowerVPFPIntConvOp()
6402 InterimFVT = MVT::getVectorVT(MVT::f32, DstVT.getVectorElementCount()); in lowerVPFPIntConvOp()
6407 if (InterimFVT != DstVT) { in lowerVPFPIntConvOp()
6409 Result = DAG.getNode(RISCVISD::FP_ROUND_VL, DL, DstVT, Src, Mask, VL); in lowerVPFPIntConvOp()
6412 assert(SrcVT.isFloatingPoint() && DstVT.isInteger() && in lowerVPFPIntConvOp()
6422 DstVT.getVectorElementCount()); in lowerVPFPIntConvOp()
6431 Result = DAG.getNode(RISCVISD::SETCC_VL, DL, DstVT, Result, SplatZero, in lowerVPFPIntConvOp()
6435 DstVT.getVectorElementCount()); in lowerVPFPIntConvOp()
6439 while (InterimIVT != DstVT) { in lowerVPFPIntConvOp()
6443 DstVT.getVectorElementCount()); in lowerVPFPIntConvOp()
8558 EVT DstVT = N->getValueType(0); in performFP_TO_INT_SATCombine() local
8559 if (DstVT != XLenVT) in performFP_TO_INT_SATCombine()
8581 if (SatVT == DstVT) in performFP_TO_INT_SATCombine()
8583 else if (DstVT == MVT::i64 && SatVT == MVT::i32) in performFP_TO_INT_SATCombine()
8597 SDValue ZeroInt = DAG.getConstant(0, DL, DstVT); in performFP_TO_INT_SATCombine()