• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/

Lines Matching refs:DestVT

161   SDValue EmitStackConvert(SDValue SrcOp, EVT SlotVT, EVT DestVT,
163 SDValue EmitStackConvert(SDValue SrcOp, EVT SlotVT, EVT DestVT,
872 EVT DestVT = Node->getValueType(0);
873 if (!TLI.isLoadExtLegal(ISD::EXTLOAD, DestVT, SrcVT)) {
899 EVT IDestVT = DestVT.changeTypeToInteger();
904 Value = DAG.getNode(ISD::FP16_TO_FP, dl, DestVT, Result);
1751 /// a load from the stack slot to DestVT, extending it if needed.
1754 EVT DestVT, const SDLoc &dl) {
1755 return EmitStackConvert(SrcOp, SlotVT, DestVT, dl, DAG.getEntryNode());
1759 EVT DestVT, const SDLoc &dl,
1773 unsigned DestSize = DestVT.getSizeInBits();
1774 Type *DestType = DestVT.getTypeForEVT(*DAG.getContext());
1778 // later than DestVT.
1792 return DAG.getLoad(DestVT, dl, Store, FIPtr, PtrInfo, DestAlign);
1795 return DAG.getExtLoad(ISD::EXTLOAD, dl, DestVT, Store, FIPtr, PtrInfo, SlotVT,
2356 EVT DestVT = Node->getValueType(0);
2411 if (DestVT != Sub.getValueType()) {
2414 DAG.getStrictFPExtendOrRound(Sub, Chain, dl, DestVT);
2422 Result = DAG.getFPExtendOrRound(Sub, dl, DestVT);
2430 if ((SrcVT == MVT::i32 || SrcVT == MVT::i64) && DestVT == MVT::f32) {
2457 Fast = DAG.getNode(ISD::STRICT_SINT_TO_FP, dl, { DestVT, MVT::Other },
2459 Slow = DAG.getNode(ISD::STRICT_FADD, dl, { DestVT, MVT::Other },
2471 SDValue SignCvt = DAG.getNode(ISD::SINT_TO_FP, dl, DestVT, Or);
2472 Slow = DAG.getNode(ISD::FADD, dl, DestVT, SignCvt, SignCvt);
2473 Fast = DAG.getNode(ISD::SINT_TO_FP, dl, DestVT, Op0);
2476 return DAG.getSelect(dl, DestVT, SignBitTest, Slow, Fast);
2480 // treated as signed) is representable in DestVT. Check that the mantissa
2481 // size of DestVT is >= than the number of bits in SrcVT -1.
2482 assert(APFloat::semanticsPrecision(DAG.EVTToAPFloatSemantics(DestVT)) >=
2488 Tmp1 = DAG.getNode(ISD::STRICT_SINT_TO_FP, dl, { DestVT, MVT::Other },
2491 Tmp1 = DAG.getNode(ISD::SINT_TO_FP, dl, DestVT, Op0);
2522 if (DestVT == MVT::f32)
2529 ISD::EXTLOAD, dl, DestVT, DAG.getEntryNode(), CPIdx,
2538 SDValue Result = DAG.getNode(ISD::STRICT_FADD, dl, { DestVT, MVT::Other },
2544 return DAG.getNode(ISD::FADD, dl, DestVT, Tmp1, FudgeInReg);
2557 EVT DestVT = N->getValueType(0);
2593 DAG.getNode(OpToUse, dl, {DestVT, MVT::Other},
2603 DAG.getNode(OpToUse, dl, DestVT,
2618 EVT DestVT = N->getValueType(0);
2621 EVT NewOutTy = DestVT;
2654 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, dl, DestVT, Operation);