Lines Matching refs:PartVT
188 MVT PartVT, EVT ValueVT, const Value *V,
198 MVT PartVT, EVT ValueVT, const Value *V,
202 return getCopyFromPartsVector(DAG, DL, Parts, NumParts, PartVT, ValueVT, V,
212 unsigned PartBits = PartVT.getSizeInBits();
227 PartVT, HalfVT, V);
229 RoundParts / 2, PartVT, HalfVT, V);
244 Hi = getCopyFromParts(DAG, DL, Parts + RoundParts, OddParts, PartVT,
260 } else if (PartVT.isFloatingPoint()) {
262 assert(ValueVT == EVT(MVT::ppcf128) && PartVT == MVT::f64 &&
272 assert(ValueVT.isFloatingPoint() && PartVT.isInteger() &&
273 !PartVT.isVector() && "Unexpected split");
275 Val = getCopyFromParts(DAG, DL, Parts, NumParts, PartVT, IntVT, V, CC);
347 MVT PartVT, EVT ValueVT, const Value *V,
375 assert(RegisterVT == PartVT && "Part type doesn't match vector breakdown!");
387 PartVT, IntermediateVT, V);
396 PartVT, IntermediateVT, V);
480 MVT PartVT, const Value *V,
487 SDValue *Parts, unsigned NumParts, MVT PartVT,
495 return getCopyToPartsVector(DAG, DL, Val, Parts, NumParts, PartVT, V,
498 unsigned PartBits = PartVT.getSizeInBits();
500 assert(DAG.getTargetLoweringInfo().isTypeLegal(PartVT) &&
507 EVT PartEVT = PartVT;
516 if (PartVT.isFloatingPoint() && ValueVT.isFloatingPoint()) {
518 Val = DAG.getNode(ISD::FP_EXTEND, DL, PartVT, Val);
526 assert((PartVT.isInteger() || PartVT == MVT::x86mmx) &&
531 if (PartVT == MVT::x86mmx)
532 Val = DAG.getNode(ISD::BITCAST, DL, PartVT, Val);
537 Val = DAG.getNode(ISD::BITCAST, DL, PartVT, Val);
540 assert((PartVT.isInteger() || PartVT == MVT::x86mmx) &&
545 if (PartVT == MVT::x86mmx)
546 Val = DAG.getNode(ISD::BITCAST, DL, PartVT, Val);
552 "Failed to tile the value with PartVT!");
558 Val = DAG.getNode(ISD::BITCAST, DL, PartVT, Val);
568 assert(PartVT.isInteger() && ValueVT.isInteger() &&
575 getCopyToParts(DAG, DL, OddVal, Parts + RoundParts, OddParts, PartVT, V,
606 if (ThisBits == PartBits && ThisVT != PartVT) {
607 Part0 = DAG.getNode(ISD::BITCAST, DL, PartVT, Part0);
608 Part1 = DAG.getNode(ISD::BITCAST, DL, PartVT, Part1);
621 MVT PartVT, const Value *V,
629 EVT PartEVT = PartVT;
632 } else if (PartVT.getSizeInBits() == ValueVT.getSizeInBits()) {
634 Val = DAG.getNode(ISD::BITCAST, DL, PartVT, Val);
635 } else if (PartVT.isVector() &&
638 EVT ElementVT = PartVT.getVectorElementType();
648 e = PartVT.getVectorNumElements(); i != e; ++i)
651 Val = DAG.getBuildVector(PartVT, DL, Ops);
656 //Val = DAG.getNode(ISD::CONCAT_VECTORS, DL, PartVT, Val, UndefElts);
657 } else if (PartVT.isVector() &&
663 Val = DAG.getAnyExtOrTrunc(Val, DL, PartVT);
667 ISD::EXTRACT_VECTOR_ELT, DL, PartVT, Val,
670 assert(PartVT.getSizeInBits() > ValueVT.getSizeInBits() &&
675 Val = DAG.getAnyExtOrTrunc(Val, DL, PartVT);
679 assert(Val.getValueType() == PartVT && "Unexpected vector part value type");
702 assert(RegisterVT == PartVT && "Part type doesn't match vector breakdown!");
732 getCopyToParts(DAG, DL, Ops[i], &Parts[i], 1, PartVT, V, CallConv);
741 getCopyToParts(DAG, DL, Ops[i], &Parts[i * Factor], Factor, PartVT, V,
1609 MVT PartVT = TLI.getRegisterTypeForCallingConv(Context, CC, VT);
1613 &Parts[0], NumParts, PartVT, &I, CC, ExtendKind);
8498 MVT PartVT = getRegisterTypeForCallingConv(CLI.RetTy->getContext(),
8526 if ((NumParts * PartVT.getSizeInBits() == VT.getSizeInBits()) ||
8532 getCopyToParts(CLI.DAG, CLI.DL, Op, &Parts[0], NumParts, PartVT,
9102 MVT PartVT = TLI->getRegisterTypeForCallingConv(*CurDAG->getContext(),
9118 PartVT, VT, nullptr,