Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:PartVT

92                                       MVT PartVT, EVT ValueVT, const Value *V);
101 unsigned NumParts, MVT PartVT, EVT ValueVT,
106 PartVT, ValueVT, V);
115 unsigned PartBits = PartVT.getSizeInBits();
130 PartVT, HalfVT, V);
132 RoundParts / 2, PartVT, HalfVT, V);
148 Parts + RoundParts, OddParts, PartVT, OddVT, V);
162 } else if (PartVT.isFloatingPoint()) {
164 assert(ValueVT == EVT(MVT::ppcf128) && PartVT == MVT::f64 &&
174 assert(ValueVT.isFloatingPoint() && PartVT.isInteger() &&
175 !PartVT.isVector() && "Unexpected split");
177 Val = getCopyFromParts(DAG, DL, Parts, NumParts, PartVT, IntVT, V);
222 MVT PartVT, EVT ValueVT, const Value *V) {
238 assert(RegisterVT == PartVT && "Part type doesn't match vector breakdown!");
249 PartVT, IntermediateVT, V);
258 PartVT, IntermediateVT, V);
332 MVT PartVT, const Value *V);
339 MVT PartVT, const Value *V,
345 return getCopyToPartsVector(DAG, DL, Val, Parts, NumParts, PartVT, V);
348 unsigned PartBits = PartVT.getSizeInBits();
350 assert(TLI.isTypeLegal(PartVT) && "Copying to an illegal type!");
356 EVT PartEVT = PartVT;
365 if (PartVT.isFloatingPoint() && ValueVT.isFloatingPoint()) {
367 Val = DAG.getNode(ISD::FP_EXTEND, DL, PartVT, Val);
369 assert((PartVT.isInteger() || PartVT == MVT::x86mmx) &&
374 if (PartVT == MVT::x86mmx)
375 Val = DAG.getNode(ISD::BITCAST, DL, PartVT, Val);
380 Val = DAG.getNode(ISD::BITCAST, DL, PartVT, Val);
383 assert((PartVT.isInteger() || PartVT == MVT::x86mmx) &&
388 if (PartVT == MVT::x86mmx)
389 Val = DAG.getNode(ISD::BITCAST, DL, PartVT, Val);
395 "Failed to tile the value with PartVT!");
418 assert(PartVT.isInteger() && ValueVT.isInteger() &&
425 getCopyToParts(DAG, DL, OddVal, Parts + RoundParts, OddParts, PartVT, V);
455 if (ThisBits == PartBits && ThisVT != PartVT) {
456 Part0 = DAG.getNode(ISD::BITCAST, DL, PartVT, Part0);
457 Part1 = DAG.getNode(ISD::BITCAST, DL, PartVT, Part1);
471 MVT PartVT, const Value *V) {
477 EVT PartEVT = PartVT;
480 } else if (PartVT.getSizeInBits() == ValueVT.getSizeInBits()) {
482 Val = DAG.getNode(ISD::BITCAST, DL, PartVT, Val);
483 } else if (PartVT.isVector() &&
486 EVT ElementVT = PartVT.getVectorElementType();
495 e = PartVT.getVectorNumElements(); i != e; ++i)
498 Val = DAG.getNode(ISD::BUILD_VECTOR, DL, PartVT, &Ops[0], Ops.size());
503 //Val = DAG.getNode(ISD::CONCAT_VECTORS, DL, PartVT, Val, UndefElts);
504 } else if (PartVT.isVector() &&
512 DL, PartVT, Val);
518 PartVT, Val, DAG.getIntPtrConstant(0));
520 bool Smaller = ValueVT.bitsLE(PartVT);
522 DL, PartVT, Val);
540 assert(RegisterVT == PartVT && "Part type doesn't match vector breakdown!");
559 getCopyToParts(DAG, DL, Ops[i], &Parts[i], 1, PartVT, V);
567 getCopyToParts(DAG, DL, Ops[i], &Parts[i*Factor], Factor, PartVT, V);
1247 MVT PartVT = TLI.getRegisterType(*DAG.getContext(), VT);
1251 &Parts[0], NumParts, PartVT, &I, ExtendKind);
6436 MVT PartVT = getRegisterType(CLI.RetTy->getContext(), VT);
6447 PartVT, CLI.CS ? CLI.CS->getInstruction() : 0, ExtendKind);
6733 MVT PartVT = TLI.getRegisterType(*CurDAG->getContext(), VT);
6744 NumParts, PartVT, VT,