Lines Matching refs:DestVT
131 SDValue EmitStackConvert(SDValue SrcOp, EVT SlotVT, EVT DestVT,
143 SDValue ExpandLegalINT_TO_FP(bool isSigned, SDValue LegalOp, EVT DestVT,
145 SDValue PromoteLegalINT_TO_FP(SDValue LegalOp, EVT DestVT, bool isSigned,
147 SDValue PromoteLegalFP_TO_INT(SDValue LegalOp, EVT DestVT, bool isSigned,
840 EVT DestVT = Node->getValueType(0); in LegalizeLoadOps() local
841 if (!TLI.isLoadExtLegal(ISD::EXTLOAD, DestVT, SrcVT)) { in LegalizeLoadOps()
867 EVT IDestVT = DestVT.changeTypeToInteger(); in LegalizeLoadOps()
873 Value = DAG.getNode(ISD::FP16_TO_FP, dl, DestVT, Result); in LegalizeLoadOps()
1668 EVT DestVT, const SDLoc &dl) { in EmitStackConvert() argument
1681 unsigned DestSize = DestVT.getSizeInBits(); in EmitStackConvert()
1682 Type *DestType = DestVT.getTypeForEVT(*DAG.getContext()); in EmitStackConvert()
1700 return DAG.getLoad(DestVT, dl, Store, FIPtr, PtrInfo, in EmitStackConvert()
1704 return DAG.getExtLoad(ISD::EXTLOAD, dl, DestVT, Store, FIPtr, in EmitStackConvert()
2266 EVT DestVT, in ExpandLegalINT_TO_FP() argument
2318 if (DestVT == MVT::f64) { in ExpandLegalINT_TO_FP()
2321 } else if (DestVT.bitsLT(MVT::f64)) { in ExpandLegalINT_TO_FP()
2322 Result = DAG.getNode(ISD::FP_ROUND, dl, DestVT, Sub, in ExpandLegalINT_TO_FP()
2324 } else if (DestVT.bitsGT(MVT::f64)) { in ExpandLegalINT_TO_FP()
2325 Result = DAG.getNode(ISD::FP_EXTEND, dl, DestVT, Sub); in ExpandLegalINT_TO_FP()
2337 if (Op0.getValueType() == MVT::i64 && DestVT == MVT::f64) { in ExpandLegalINT_TO_FP()
2360 if (Op0.getValueType() == MVT::i64 && DestVT == MVT::f32) { in ExpandLegalINT_TO_FP()
2419 SDValue Tmp1 = DAG.getNode(ISD::SINT_TO_FP, dl, DestVT, Op0); in ExpandLegalINT_TO_FP()
2452 if (DestVT == MVT::f32) in ExpandLegalINT_TO_FP()
2459 ISD::EXTLOAD, dl, DestVT, DAG.getEntryNode(), CPIdx, in ExpandLegalINT_TO_FP()
2467 return DAG.getNode(ISD::FADD, dl, DestVT, Tmp1, FudgeInReg); in ExpandLegalINT_TO_FP()
2475 SDValue SelectionDAGLegalize::PromoteLegalINT_TO_FP(SDValue LegalOp, EVT DestVT, in PromoteLegalINT_TO_FP() argument
2506 return DAG.getNode(OpToUse, dl, DestVT, in PromoteLegalINT_TO_FP()
2516 SDValue SelectionDAGLegalize::PromoteLegalFP_TO_INT(SDValue LegalOp, EVT DestVT, in PromoteLegalFP_TO_INT() argument
2520 EVT NewOutTy = DestVT; in PromoteLegalFP_TO_INT()
2551 return DAG.getNode(ISD::TRUNCATE, dl, DestVT, Operation); in PromoteLegalFP_TO_INT()