Lines Matching defs:DstVT

604     SDValue foldSubToUSubSat(EVT DstVT, SDNode *N, const SDLoc &DL);
3708 // Attempt to create a USUBSAT(LHS, RHS) node with DstVT, performing a
3710 static SDValue getTruncatedUSUBSAT(EVT DstVT, EVT SrcVT, SDValue LHS,
3713 assert(DstVT.getScalarSizeInBits() <= SrcVT.getScalarSizeInBits() &&
3716 if (DstVT == SrcVT)
3717 return DAG.getNode(ISD::USUBSAT, DL, DstVT, LHS, RHS);
3719 // If the LHS is zero-extended then we can perform the USUBSAT as DstVT by
3722 DstVT.getScalarSizeInBits());
3728 DstVT.getScalarSizeInBits()),
3731 RHS = DAG.getNode(ISD::TRUNCATE, DL, DstVT, RHS);
3732 LHS = DAG.getNode(ISD::TRUNCATE, DL, DstVT, LHS);
3733 return DAG.getNode(ISD::USUBSAT, DL, DstVT, LHS, RHS);
3738 SDValue DAGCombiner::foldSubToUSubSat(EVT DstVT, SDNode *N, const SDLoc &DL) {
3740 !(!LegalOperations || hasOperation(ISD::USUBSAT, DstVT)))
3753 return getTruncatedUSUBSAT(DstVT, SubVT, MaxRHS, Op1, DAG, DL);
3755 return getTruncatedUSUBSAT(DstVT, SubVT, MaxLHS, Op1, DAG, DL);
3762 return getTruncatedUSUBSAT(DstVT, SubVT, Op0, MinRHS, DAG, DL);
3764 return getTruncatedUSUBSAT(DstVT, SubVT, Op0, MinLHS, DAG, DL);
3774 return getTruncatedUSUBSAT(DstVT, MinLHS.getValueType(), MinLHS, MinRHS,
3777 return getTruncatedUSUBSAT(DstVT, MinLHS.getValueType(), MinRHS, MinLHS,
13033 EVT DstVT = N->getValueType(0);
13064 !DstVT.isVector() || !DstVT.isPow2VectorType() ||
13069 if (!ExtendUsesToFormExtLoad(DstVT, N, N0, N->getOpcode(), SetCCs, TLI))
13077 EVT SplitDstVT = DstVT;
13087 assert(!DstVT.isScalableVector() && "Unexpected scalable vector type");
13091 DstVT.getVectorNumElements() / SplitDstVT.getVectorNumElements();
13113 SDValue NewValue = DAG.getNode(ISD::CONCAT_VECTORS, DL, DstVT, Loads);