Lines Matching refs:PartEVT
249 EVT PartEVT = Val.getValueType(); in getCopyFromParts() local
251 if (PartEVT == ValueVT) in getCopyFromParts()
254 if (PartEVT.isInteger() && ValueVT.isFloatingPoint() && in getCopyFromParts()
255 ValueVT.bitsLT(PartEVT)) { in getCopyFromParts()
258 PartEVT = EVT::getIntegerVT(*DAG.getContext(), ValueVT.getSizeInBits()); in getCopyFromParts()
259 Val = DAG.getNode(ISD::TRUNCATE, DL, PartEVT, Val); in getCopyFromParts()
263 if (PartEVT.getSizeInBits() == ValueVT.getSizeInBits()) in getCopyFromParts()
267 if (PartEVT.isInteger() && ValueVT.isInteger()) { in getCopyFromParts()
268 if (ValueVT.bitsLT(PartEVT)) { in getCopyFromParts()
273 Val = DAG.getNode(*AssertOp, DL, PartEVT, Val, in getCopyFromParts()
280 if (PartEVT.isFloatingPoint() && ValueVT.isFloatingPoint()) { in getCopyFromParts()
292 if (PartEVT == MVT::x86mmx && ValueVT.isInteger() && in getCopyFromParts()
293 ValueVT.bitsLT(PartEVT)) { in getCopyFromParts()
390 EVT PartEVT = Val.getValueType(); in getCopyFromPartsVector() local
392 if (PartEVT == ValueVT) in getCopyFromPartsVector()
395 if (PartEVT.isVector()) { in getCopyFromPartsVector()
397 if (ValueVT.getSizeInBits() == PartEVT.getSizeInBits()) in getCopyFromPartsVector()
404 if (PartEVT.getVectorElementCount() != ValueVT.getVectorElementCount()) { in getCopyFromPartsVector()
405 assert((PartEVT.getVectorElementCount().getKnownMinValue() > in getCopyFromPartsVector()
407 (PartEVT.getVectorElementCount().isScalable() == in getCopyFromPartsVector()
410 PartEVT = in getCopyFromPartsVector()
411 EVT::getVectorVT(*DAG.getContext(), PartEVT.getVectorElementType(), in getCopyFromPartsVector()
413 Val = DAG.getNode(ISD::EXTRACT_SUBVECTOR, DL, PartEVT, Val, in getCopyFromPartsVector()
415 if (PartEVT == ValueVT) in getCopyFromPartsVector()
425 if (PartEVT.getSizeInBits() == ValueVT.getSizeInBits() && in getCopyFromPartsVector()
432 if (ValueVT.getSizeInBits() == PartEVT.getSizeInBits()) { in getCopyFromPartsVector()
434 } else if (ValueVT.bitsLT(PartEVT)) { in getCopyFromPartsVector()
449 if (ValueVT.getVectorNumElements() == 1 && ValueSVT != PartEVT) { in getCopyFromPartsVector()
450 if (ValueSVT.getSizeInBits() == PartEVT.getSizeInBits()) in getCopyFromPartsVector()
495 EVT PartEVT = PartVT; in getCopyToParts() local
496 if (PartEVT == ValueVT) { in getCopyToParts()
524 assert(NumParts == 1 && PartEVT != ValueVT); in getCopyToParts()
543 if (PartEVT != ValueVT) { in getCopyToParts()
653 EVT PartEVT = PartVT; in getCopyToPartsVector() local
654 if (PartEVT == ValueVT) { in getCopyToPartsVector()
662 PartEVT.getVectorElementType().bitsGE( in getCopyToPartsVector()
664 PartEVT.getVectorElementCount() == in getCopyToPartsVector()
669 } else if (PartEVT.isVector() && in getCopyToPartsVector()
670 PartEVT.getVectorElementType() != in getCopyToPartsVector()