Lines Matching refs:PartEVT
256 EVT PartEVT = Val.getValueType(); in getCopyFromParts() local
258 if (PartEVT == ValueVT) in getCopyFromParts()
261 if (PartEVT.isInteger() && ValueVT.isFloatingPoint() && in getCopyFromParts()
262 ValueVT.bitsLT(PartEVT)) { in getCopyFromParts()
265 PartEVT = EVT::getIntegerVT(*DAG.getContext(), ValueVT.getSizeInBits()); in getCopyFromParts()
266 Val = DAG.getNode(ISD::TRUNCATE, DL, PartEVT, Val); in getCopyFromParts()
270 if (PartEVT.getSizeInBits() == ValueVT.getSizeInBits()) in getCopyFromParts()
274 if (PartEVT.isInteger() && ValueVT.isInteger()) { in getCopyFromParts()
275 if (ValueVT.bitsLT(PartEVT)) { in getCopyFromParts()
280 Val = DAG.getNode(*AssertOp, DL, PartEVT, Val, in getCopyFromParts()
287 if (PartEVT.isFloatingPoint() && ValueVT.isFloatingPoint()) { in getCopyFromParts()
309 if (PartEVT == MVT::x86mmx && ValueVT.isInteger() && in getCopyFromParts()
310 ValueVT.bitsLT(PartEVT)) { in getCopyFromParts()
408 EVT PartEVT = Val.getValueType(); in getCopyFromPartsVector() local
410 if (PartEVT == ValueVT) in getCopyFromPartsVector()
413 if (PartEVT.isVector()) { in getCopyFromPartsVector()
415 if (ValueVT.getSizeInBits() == PartEVT.getSizeInBits()) in getCopyFromPartsVector()
421 if (PartEVT.getVectorElementCount() != ValueVT.getVectorElementCount()) { in getCopyFromPartsVector()
422 assert((PartEVT.getVectorElementCount().getKnownMinValue() > in getCopyFromPartsVector()
424 (PartEVT.getVectorElementCount().isScalable() == in getCopyFromPartsVector()
427 PartEVT = in getCopyFromPartsVector()
428 EVT::getVectorVT(*DAG.getContext(), PartEVT.getVectorElementType(), in getCopyFromPartsVector()
430 Val = DAG.getNode(ISD::EXTRACT_SUBVECTOR, DL, PartEVT, Val, in getCopyFromPartsVector()
432 if (PartEVT == ValueVT) in getCopyFromPartsVector()
434 if (PartEVT.isInteger() && ValueVT.isFloatingPoint()) in getCopyFromPartsVector()
438 if (ValueVT.getSizeInBits() == PartEVT.getSizeInBits()) in getCopyFromPartsVector()
448 if (PartEVT.getSizeInBits() == ValueVT.getSizeInBits() && in getCopyFromPartsVector()
455 if (ValueVT.getSizeInBits() == PartEVT.getSizeInBits()) { in getCopyFromPartsVector()
457 } else if (ValueVT.bitsLT(PartEVT)) { in getCopyFromPartsVector()
472 if (ValueVT.getVectorNumElements() == 1 && ValueSVT != PartEVT) { in getCopyFromPartsVector()
474 if (ValueSize == PartEVT.getSizeInBits()) { in getCopyFromPartsVector()
476 } else if (ValueSVT.isFloatingPoint() && PartEVT.isInteger()) { in getCopyFromPartsVector()
480 assert(ValueSVT.bitsLT(PartEVT) && "Unexpected types"); in getCopyFromPartsVector()
527 EVT PartEVT = PartVT; in getCopyToParts() local
528 if (PartEVT == ValueVT) { in getCopyToParts()
557 assert(NumParts == 1 && PartEVT != ValueVT); in getCopyToParts()
576 if (PartEVT != ValueVT) { in getCopyToParts()
645 EVT PartEVT = PartVT.getVectorElementType(); in widenVectorToPartType() local
658 if (ValueEVT == MVT::bf16 && PartEVT == MVT::f16) { in widenVectorToPartType()
663 } else if (PartEVT != ValueEVT) { in widenVectorToPartType()
677 SDValue EltUndef = DAG.getUNDEF(PartEVT); in widenVectorToPartType()
696 EVT PartEVT = PartVT; in getCopyToPartsVector() local
697 if (PartEVT == ValueVT) { in getCopyToPartsVector()
705 PartEVT.getVectorElementType().bitsGE( in getCopyToPartsVector()
707 PartEVT.getVectorElementCount() == in getCopyToPartsVector()
712 } else if (PartEVT.isVector() && in getCopyToPartsVector()
713 PartEVT.getVectorElementType() != in getCopyToPartsVector()