Lines Matching refs:PartVT

190                                       MVT PartVT, EVT ValueVT, const Value *V,
200 MVT PartVT, EVT ValueVT, const Value *V, in getCopyFromParts() argument
204 return getCopyFromPartsVector(DAG, DL, Parts, NumParts, PartVT, ValueVT, V, in getCopyFromParts()
214 unsigned PartBits = PartVT.getSizeInBits(); in getCopyFromParts()
229 PartVT, HalfVT, V); in getCopyFromParts()
231 RoundParts / 2, PartVT, HalfVT, V); in getCopyFromParts()
246 Hi = getCopyFromParts(DAG, DL, Parts + RoundParts, OddParts, PartVT, in getCopyFromParts()
262 } else if (PartVT.isFloatingPoint()) { in getCopyFromParts()
264 assert(ValueVT == EVT(MVT::ppcf128) && PartVT == MVT::f64 && in getCopyFromParts()
274 assert(ValueVT.isFloatingPoint() && PartVT.isInteger() && in getCopyFromParts()
275 !PartVT.isVector() && "Unexpected split"); in getCopyFromParts()
277 Val = getCopyFromParts(DAG, DL, Parts, NumParts, PartVT, IntVT, V, CC); in getCopyFromParts()
349 MVT PartVT, EVT ValueVT, const Value *V, in getCopyFromPartsVector() argument
377 assert(RegisterVT == PartVT && "Part type doesn't match vector breakdown!"); in getCopyFromPartsVector()
389 PartVT, IntermediateVT, V); in getCopyFromPartsVector()
398 PartVT, IntermediateVT, V); in getCopyFromPartsVector()
482 MVT PartVT, const Value *V,
489 SDValue *Parts, unsigned NumParts, MVT PartVT, in getCopyToParts() argument
497 return getCopyToPartsVector(DAG, DL, Val, Parts, NumParts, PartVT, V, in getCopyToParts()
500 unsigned PartBits = PartVT.getSizeInBits(); in getCopyToParts()
502 assert(DAG.getTargetLoweringInfo().isTypeLegal(PartVT) && in getCopyToParts()
509 EVT PartEVT = PartVT; in getCopyToParts()
518 if (PartVT.isFloatingPoint() && ValueVT.isFloatingPoint()) { in getCopyToParts()
520 Val = DAG.getNode(ISD::FP_EXTEND, 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()
539 Val = DAG.getNode(ISD::BITCAST, DL, PartVT, Val); in getCopyToParts()
542 assert((PartVT.isInteger() || PartVT == MVT::x86mmx) && in getCopyToParts()
547 if (PartVT == MVT::x86mmx) in getCopyToParts()
548 Val = DAG.getNode(ISD::BITCAST, DL, PartVT, Val); in getCopyToParts()
560 Val = DAG.getNode(ISD::BITCAST, DL, PartVT, Val); in getCopyToParts()
570 assert(PartVT.isInteger() && ValueVT.isInteger() && in getCopyToParts()
577 getCopyToParts(DAG, DL, OddVal, Parts + RoundParts, OddParts, PartVT, V, in getCopyToParts()
608 if (ThisBits == PartBits && ThisVT != PartVT) { in getCopyToParts()
609 Part0 = DAG.getNode(ISD::BITCAST, DL, PartVT, Part0); in getCopyToParts()
610 Part1 = DAG.getNode(ISD::BITCAST, DL, PartVT, Part1); in getCopyToParts()
620 SDValue Val, const SDLoc &DL, EVT PartVT) { in widenVectorToPartType() argument
621 if (!PartVT.isVector()) in widenVectorToPartType()
625 unsigned PartNumElts = PartVT.getVectorNumElements(); in widenVectorToPartType()
628 PartVT.getVectorElementType() == ValueVT.getVectorElementType()) { in widenVectorToPartType()
629 EVT ElementVT = PartVT.getVectorElementType(); in widenVectorToPartType()
639 return DAG.getBuildVector(PartVT, DL, Ops); in widenVectorToPartType()
649 MVT PartVT, const Value *V, in getCopyToPartsVector() argument
657 EVT PartEVT = PartVT; in getCopyToPartsVector()
660 } else if (PartVT.getSizeInBits() == ValueVT.getSizeInBits()) { in getCopyToPartsVector()
662 Val = DAG.getNode(ISD::BITCAST, DL, PartVT, Val); in getCopyToPartsVector()
663 } else if (SDValue Widened = widenVectorToPartType(DAG, Val, DL, PartVT)) { in getCopyToPartsVector()
665 } else if (PartVT.isVector() && in getCopyToPartsVector()
671 Val = DAG.getAnyExtOrTrunc(Val, DL, PartVT); in getCopyToPartsVector()
675 ISD::EXTRACT_VECTOR_ELT, DL, PartVT, Val, in getCopyToPartsVector()
678 assert(PartVT.getSizeInBits() > ValueVT.getSizeInBits() && in getCopyToPartsVector()
683 Val = DAG.getAnyExtOrTrunc(Val, DL, PartVT); in getCopyToPartsVector()
687 assert(Val.getValueType() == PartVT && "Unexpected vector part value type"); in getCopyToPartsVector()
709 assert(RegisterVT == PartVT && "Part type doesn't match vector breakdown!"); in getCopyToPartsVector()
745 getCopyToParts(DAG, DL, Ops[i], &Parts[i], 1, PartVT, V, CallConv); in getCopyToPartsVector()
754 getCopyToParts(DAG, DL, Ops[i], &Parts[i * Factor], Factor, PartVT, V, in getCopyToPartsVector()
1639 MVT PartVT = TLI.getRegisterTypeForCallingConv(Context, CC, VT); in visitRet() local
1643 &Parts[0], NumParts, PartVT, &I, CC, ExtendKind); in visitRet()
8608 MVT PartVT = getRegisterTypeForCallingConv(CLI.RetTy->getContext(), in LowerCallTo() local
8636 if ((NumParts * PartVT.getSizeInBits() == VT.getSizeInBits()) || in LowerCallTo()
8642 getCopyToParts(CLI.DAG, CLI.DL, Op, &Parts[0], NumParts, PartVT, in LowerCallTo()
9212 MVT PartVT = TLI->getRegisterTypeForCallingConv(*CurDAG->getContext(), in LowerArguments() local
9228 PartVT, VT, nullptr, in LowerArguments()