Lines Matching refs:PartVT

150                                       MVT PartVT, EVT ValueVT, const Value *V,
160 MVT PartVT, EVT ValueVT, const Value *V, in getCopyFromParts() argument
166 PartVT, ValueVT, CC)) in getCopyFromParts()
170 return getCopyFromPartsVector(DAG, DL, Parts, NumParts, PartVT, ValueVT, V, in getCopyFromParts()
179 unsigned PartBits = PartVT.getSizeInBits(); in getCopyFromParts()
194 PartVT, HalfVT, V); in getCopyFromParts()
196 RoundParts / 2, PartVT, HalfVT, V); in getCopyFromParts()
211 Hi = getCopyFromParts(DAG, DL, Parts + RoundParts, OddParts, PartVT, in getCopyFromParts()
227 } else if (PartVT.isFloatingPoint()) { in getCopyFromParts()
229 assert(ValueVT == EVT(MVT::ppcf128) && PartVT == MVT::f64 && in getCopyFromParts()
239 assert(ValueVT.isFloatingPoint() && PartVT.isInteger() && in getCopyFromParts()
240 !PartVT.isVector() && "Unexpected split"); in getCopyFromParts()
242 Val = getCopyFromParts(DAG, DL, Parts, NumParts, PartVT, IntVT, V, CC); in getCopyFromParts()
322 MVT PartVT, EVT ValueVT, const Value *V, in getCopyFromPartsVector() argument
350 assert(RegisterVT == PartVT && "Part type doesn't match vector breakdown!"); in getCopyFromPartsVector()
362 PartVT, IntermediateVT, V, CallConv); in getCopyFromPartsVector()
371 PartVT, IntermediateVT, V, CallConv); in getCopyFromPartsVector()
463 MVT PartVT, const Value *V,
470 SDValue *Parts, unsigned NumParts, MVT PartVT, in getCopyToParts() argument
476 if (TLI.splitValueIntoRegisterParts(DAG, DL, Val, Parts, NumParts, PartVT, in getCopyToParts()
483 return getCopyToPartsVector(DAG, DL, Val, Parts, NumParts, PartVT, V, in getCopyToParts()
486 unsigned PartBits = PartVT.getSizeInBits(); in getCopyToParts()
488 assert(DAG.getTargetLoweringInfo().isTypeLegal(PartVT) && in getCopyToParts()
495 EVT PartEVT = PartVT; in getCopyToParts()
504 if (PartVT.isFloatingPoint() && ValueVT.isFloatingPoint()) { in getCopyToParts()
506 Val = DAG.getNode(ISD::FP_EXTEND, DL, PartVT, Val); in getCopyToParts()
514 assert((PartVT.isInteger() || PartVT == MVT::x86mmx) && in getCopyToParts()
519 if (PartVT == MVT::x86mmx) in getCopyToParts()
520 Val = DAG.getNode(ISD::BITCAST, DL, PartVT, Val); in getCopyToParts()
525 Val = DAG.getNode(ISD::BITCAST, DL, PartVT, Val); in getCopyToParts()
528 assert((PartVT.isInteger() || PartVT == MVT::x86mmx) && in getCopyToParts()
533 if (PartVT == MVT::x86mmx) in getCopyToParts()
534 Val = DAG.getNode(ISD::BITCAST, DL, PartVT, Val); in getCopyToParts()
546 Val = DAG.getNode(ISD::BITCAST, DL, PartVT, Val); in getCopyToParts()
556 assert(PartVT.isInteger() && ValueVT.isInteger() && in getCopyToParts()
564 getCopyToParts(DAG, DL, OddVal, Parts + RoundParts, OddParts, PartVT, V, in getCopyToParts()
595 if (ThisBits == PartBits && ThisVT != PartVT) { in getCopyToParts()
596 Part0 = DAG.getNode(ISD::BITCAST, DL, PartVT, Part0); in getCopyToParts()
597 Part1 = DAG.getNode(ISD::BITCAST, DL, PartVT, Part1); in getCopyToParts()
607 const SDLoc &DL, EVT PartVT) { in widenVectorToPartType() argument
608 if (!PartVT.isVector()) in widenVectorToPartType()
612 ElementCount PartNumElts = PartVT.getVectorElementCount(); in widenVectorToPartType()
620 PartVT.getVectorElementType() != ValueVT.getVectorElementType()) in widenVectorToPartType()
626 return DAG.getNode(ISD::INSERT_SUBVECTOR, DL, PartVT, DAG.getUNDEF(PartVT), in widenVectorToPartType()
629 EVT ElementVT = PartVT.getVectorElementType(); in widenVectorToPartType()
638 return DAG.getBuildVector(PartVT, DL, Ops); in widenVectorToPartType()
645 MVT PartVT, const Value *V, in getCopyToPartsVector() argument
653 EVT PartEVT = PartVT; in getCopyToPartsVector()
656 } else if (PartVT.getSizeInBits() == ValueVT.getSizeInBits()) { in getCopyToPartsVector()
658 Val = DAG.getNode(ISD::BITCAST, DL, PartVT, Val); in getCopyToPartsVector()
659 } else if (SDValue Widened = widenVectorToPartType(DAG, Val, DL, PartVT)) { in getCopyToPartsVector()
661 } else if (PartVT.isVector() && in getCopyToPartsVector()
668 Val = DAG.getAnyExtOrTrunc(Val, DL, PartVT); in getCopyToPartsVector()
677 PartVT.getVectorElementCount()); in getCopyToPartsVector()
679 Val = DAG.getAnyExtOrTrunc(Widened, DL, PartVT); in getCopyToPartsVector()
682 Val = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, DL, PartVT, Val, in getCopyToPartsVector()
686 assert(PartVT.getFixedSizeInBits() > ValueSize && in getCopyToPartsVector()
690 Val = DAG.getAnyExtOrTrunc(Val, DL, PartVT); in getCopyToPartsVector()
694 assert(Val.getValueType() == PartVT && "Unexpected vector part value type"); in getCopyToPartsVector()
716 assert(RegisterVT == PartVT && "Part type doesn't match vector breakdown!"); in getCopyToPartsVector()
774 getCopyToParts(DAG, DL, Ops[i], &Parts[i], 1, PartVT, V, CallConv); in getCopyToPartsVector()
783 getCopyToParts(DAG, DL, Ops[i], &Parts[i * Factor], Factor, PartVT, V, in getCopyToPartsVector()
1988 MVT PartVT = TLI.getRegisterTypeForCallingConv(Context, CC, VT); in visitRet() local
1992 &Parts[0], NumParts, PartVT, &I, CC, ExtendKind); in visitRet()
9854 MVT PartVT = getRegisterTypeForCallingConv(CLI.RetTy->getContext(), in LowerCallTo() local
9885 if ((NumParts * PartVT.getSizeInBits() == VT.getSizeInBits()) || in LowerCallTo()
9891 getCopyToParts(CLI.DAG, CLI.DL, Op, &Parts[0], NumParts, PartVT, CLI.CB, in LowerCallTo()
10533 MVT PartVT = TLI->getRegisterTypeForCallingConv(*CurDAG->getContext(), in LowerArguments() local
10549 PartVT, VT, nullptr, in LowerArguments()