Lines Matching defs:DstVT
698 EVT DstVT = Op.getValueType();
699 if (SrcVT == DstVT)
703 unsigned NumDstEltBits = DstVT.getScalarSizeInBits();
707 return DAG.getBitcast(DstVT, V);
728 return DAG.getBitcast(DstVT, V);
746 return DAG.getBitcast(DstVT, V);
856 EVT DstVT = Op.getValueType();
858 DstVT.getSizeInBits() == SrcVT.getSizeInBits() &&
860 return DAG.getBitcast(DstVT, Src);
8174 EVT DstVT = Node->getValueType(0);
8178 if (SrcVT != MVT::f32 || DstVT != MVT::i64)
8212 Sign = DAG.getSExtOrTrunc(Sign, dl, DstVT);
8218 R = DAG.getZExtOrTrunc(R, dl, DstVT);
8222 DAG.getNode(ISD::SHL, dl, DstVT, R,
8226 DAG.getNode(ISD::SRL, dl, DstVT, R,
8232 SDValue Ret = DAG.getNode(ISD::SUB, dl, DstVT,
8233 DAG.getNode(ISD::XOR, dl, DstVT, R, Sign), Sign);
8236 DAG.getConstant(0, dl, DstVT), Ret, ISD::SETLT);
8248 EVT DstVT = Node->getValueType(0);
8252 getSetCCResultType(DAG.getDataLayout(), *DAG.getContext(), DstVT);
8257 if (DstVT.isVector() && (!isOperationLegalOrCustom(SIntOpcode, DstVT) ||
8266 APInt SignMask = APInt::getSignMask(DstVT.getScalarSizeInBits());
8270 Result = DAG.getNode(ISD::STRICT_FP_TO_SINT, dl, { DstVT, MVT::Other },
8274 Result = DAG.getNode(ISD::FP_TO_SINT, dl, DstVT, Src);
8295 shouldUseStrictFP_TO_INT(SrcVT, DstVT, /*IsSigned*/ false);
8308 Sel = DAG.getBoolExtOrTrunc(Sel, dl, DstSetCCVT, DstVT);
8309 SDValue IntOfs = DAG.getSelect(dl, DstVT, Sel,
8310 DAG.getConstant(0, dl, DstVT),
8311 DAG.getConstant(SignMask, dl, DstVT));
8316 SInt = DAG.getNode(ISD::STRICT_FP_TO_SINT, dl, { DstVT, MVT::Other },
8321 SInt = DAG.getNode(ISD::FP_TO_SINT, dl, DstVT, Val);
8323 Result = DAG.getNode(ISD::XOR, dl, DstVT, SInt, IntOfs);
8330 SDValue True = DAG.getNode(ISD::FP_TO_SINT, dl, DstVT, Src);
8332 SDValue False = DAG.getNode(ISD::FP_TO_SINT, dl, DstVT,
8334 False = DAG.getNode(ISD::XOR, dl, DstVT, False,
8335 DAG.getConstant(SignMask, dl, DstVT));
8336 Sel = DAG.getBoolExtOrTrunc(Sel, dl, DstSetCCVT, DstVT);
8337 Result = DAG.getSelect(dl, DstVT, Sel, True, False);
8353 EVT DstVT = Node->getValueType(0);
8355 if (SrcVT.getScalarType() != MVT::i64 || DstVT.getScalarType() != MVT::f64)
8360 !isOperationLegalOrCustom(ISD::FADD, DstVT) ||
8361 !isOperationLegalOrCustom(ISD::FSUB, DstVT) ||
8376 llvm::bit_cast<double>(UINT64_C(0x4530000000100000)), dl, DstVT);
8385 SDValue LoFlt = DAG.getBitcast(DstVT, LoOr);
8386 SDValue HiFlt = DAG.getBitcast(DstVT, HiOr);
8388 DAG.getNode(ISD::FSUB, dl, DstVT, HiFlt, TwoP84PlusTwoP52);
8389 Result = DAG.getNode(ISD::FADD, dl, DstVT, LoFlt, HiSub);
9625 EVT DstVT = LD->getValueType(0);
9634 EVT DstEltVT = DstVT.getScalarType();
9679 SDValue Value = DAG.getBuildVector(DstVT, SL, Vals);
9703 SDValue Value = DAG.getBuildVector(DstVT, SL, Vals);
11134 // DstVT is the result type, while SatVT is the size to which we saturate
11136 EVT DstVT = Node->getValueType(0);
11140 unsigned DstWidth = DstVT.getScalarSizeInBits();
11189 dl, DstVT, Clamped);
11197 SDValue ZeroInt = DAG.getConstant(0, dl, DstVT);
11201 return DAG.getSelect(dl, DstVT, IsNan, ZeroInt, FpToInt);
11204 SDValue MinIntNode = DAG.getConstant(MinInt, dl, DstVT);
11205 SDValue MaxIntNode = DAG.getConstant(MaxInt, dl, DstVT);
11211 DAG.getNode(IsSigned ? ISD::FP_TO_SINT : ISD::FP_TO_UINT, dl, DstVT, Src);
11221 Select = DAG.getSelect(dl, DstVT, ULT, MinIntNode, Select);
11224 Select = DAG.getSelect(dl, DstVT, OGT, MaxIntNode, Select);
11232 SDValue ZeroInt = DAG.getConstant(0, dl, DstVT);
11234 return DAG.getSelect(dl, DstVT, IsNan, ZeroInt, Select);