Lines Matching refs:DstTy

346   LLT DstTy = Res.getLLTTy(*getMRI());  in buildFConstant()  local
349 ConstantFP::get(Ctx, getAPFloatFromSize(Val, DstTy.getScalarSizeInBits())); in buildFConstant()
544 LLT DstTy = Dst.getLLTTy(*getMRI()); in buildCast() local
545 if (SrcTy == DstTy) in buildCast()
549 if (SrcTy.isPointer() && DstTy.isScalar()) in buildCast()
551 else if (DstTy.isPointer() && SrcTy.isScalar()) in buildCast()
554 assert(!SrcTy.isPointer() && !DstTy.isPointer() && "n G_ADDRCAST yet"); in buildCast()
565 LLT DstTy = Dst.getLLTTy(*getMRI()); in buildExtract() local
569 assert(DstTy.isValid() && "invalid operand type"); in buildExtract()
570 assert(Index + DstTy.getSizeInBits() <= SrcTy.getSizeInBits() && in buildExtract()
574 if (DstTy.getSizeInBits() == SrcTy.getSizeInBits()) { in buildExtract()
672 LLT DstTy = Res.getLLTTy(*getMRI()); in buildShuffleSplat() local
673 assert(Src.getLLTTy(*getMRI()) == DstTy.getElementType() && in buildShuffleSplat()
675 auto UndefVec = buildUndef(DstTy); in buildShuffleSplat()
677 auto InsElt = buildInsertVectorElement(DstTy, UndefVec, Src, Zero); in buildShuffleSplat()
678 SmallVector<int, 16> ZeroMask(DstTy.getNumElements()); in buildShuffleSplat()
679 return buildShuffleVector(DstTy, InsElt, UndefVec, ZeroMask); in buildShuffleSplat()
686 LLT DstTy = Res.getLLTTy(*getMRI()); in buildShuffleVector() local
691 assert(DstTy.getElementType() == Src1Ty.getElementType() && in buildShuffleVector()
692 DstTy.getElementType() == Src2Ty.getElementType()); in buildShuffleVector()
693 (void)DstTy; in buildShuffleVector()
987 void MachineIRBuilder::validateTruncExt(const LLT DstTy, const LLT SrcTy, in validateTruncExt() argument
990 if (DstTy.isVector()) { in validateTruncExt()
992 assert(SrcTy.getNumElements() == DstTy.getNumElements() && in validateTruncExt()
995 assert(DstTy.isScalar() && SrcTy.isScalar() && "invalid extend/trunc"); in validateTruncExt()
998 assert(DstTy.getSizeInBits() > SrcTy.getSizeInBits() && in validateTruncExt()
1001 assert(DstTy.getSizeInBits() < SrcTy.getSizeInBits() && in validateTruncExt()
1128 LLT DstTy = DstOps[0].getLLTTy(*getMRI()); in buildInstr() local
1130 return DstTy.isScalar(); in buildInstr()
1132 return DstTy.isVector() && in buildInstr()
1133 DstTy.getNumElements() == Op0Ty.getNumElements(); in buildInstr()