Lines Matching refs:getLLTTy
129 assert(Res.getLLTTy(*getMRI()).isPointer() && "expected ptr dst type"); in buildDynStackAlloc()
139 assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildFrameIndex()
148 assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildGlobalValue()
149 assert(Res.getLLTTy(*getMRI()).getAddressSpace() == in buildGlobalValue()
185 assert(Res.getLLTTy(*getMRI()).getScalarType().isPointer() && in buildPtrAdd()
186 Res.getLLTTy(*getMRI()) == Op0.getLLTTy(*getMRI()) && "type mismatch"); in buildPtrAdd()
187 assert(Op1.getLLTTy(*getMRI()).getScalarType().isScalar() && "invalid offset type"); in buildPtrAdd()
211 LLT PtrTy = Res.getLLTTy(*getMRI()); in buildMaskLowPtrBits()
245 LLT Ty = Res.getLLTTy(*getMRI()); in buildConstant()
267 Res.getLLTTy(*getMRI()).getScalarSizeInBits()); in buildConstant()
274 LLT Ty = Res.getLLTTy(*getMRI()); in buildFConstant()
306 LLT DstTy = Res.getLLTTy(*getMRI()); in buildFConstant()
322 assert(Tst.getLLTTy(*getMRI()).isScalar() && "invalid operand type"); in buildBrCond()
339 TypeSize::Fixed(Dst.getLLTTy(*getMRI()).getSizeInBytes())); in buildLoad()
349 assert(Res.getLLTTy(*getMRI()).isValid() && "invalid operand type"); in buildLoadInstr()
350 assert(Addr.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildLoadInstr()
362 LLT LoadTy = Dst.getLLTTy(*getMRI()); in buildLoadFromOffset()
369 LLT PtrTy = BasePtr.getLLTTy(*getMRI()); in buildLoadFromOffset()
379 assert(Val.getLLTTy(*getMRI()).isValid() && "invalid operand type"); in buildStore()
380 assert(Addr.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildStore()
398 TypeSize::Fixed(Val.getLLTTy(*getMRI()).getSizeInBytes())); in buildStore()
444 assert(Res.getLLTTy(*getMRI()).isScalar() || in buildExtOrTrunc()
445 Res.getLLTTy(*getMRI()).isVector()); in buildExtOrTrunc()
446 assert(Res.getLLTTy(*getMRI()).isScalar() == in buildExtOrTrunc()
447 Op.getLLTTy(*getMRI()).isScalar()); in buildExtOrTrunc()
450 if (Res.getLLTTy(*getMRI()).getSizeInBits() > in buildExtOrTrunc()
451 Op.getLLTTy(*getMRI()).getSizeInBits()) in buildExtOrTrunc()
453 else if (Res.getLLTTy(*getMRI()).getSizeInBits() < in buildExtOrTrunc()
454 Op.getLLTTy(*getMRI()).getSizeInBits()) in buildExtOrTrunc()
457 assert(Res.getLLTTy(*getMRI()) == Op.getLLTTy(*getMRI())); in buildExtOrTrunc()
479 LLT SrcTy = Src.getLLTTy(*getMRI()); in buildCast()
480 LLT DstTy = Dst.getLLTTy(*getMRI()); in buildCast()
500 LLT SrcTy = Src.getLLTTy(*getMRI()); in buildExtract()
501 LLT DstTy = Dst.getLLTTy(*getMRI()); in buildExtract()
596 unsigned NumReg = Op.getLLTTy(*getMRI()).getSizeInBits() / Res.getSizeInBits(); in buildUnmerge()
624 SmallVector<SrcOp, 8> TmpVec(Res.getLLTTy(*getMRI()).getNumElements(), Src); in buildSplatVector()
640 LLT DstTy = Res.getLLTTy(*getMRI()); in buildShuffleSplat()
641 assert(Src.getLLTTy(*getMRI()) == DstTy.getElementType() && in buildShuffleSplat()
654 LLT DstTy = Res.getLLTTy(*getMRI()); in buildShuffleVector()
655 LLT Src1Ty = Src1.getLLTTy(*getMRI()); in buildShuffleVector()
656 LLT Src2Ty = Src2.getLLTTy(*getMRI()); in buildShuffleVector()
680 assert(Index + Op.getLLTTy(*getMRI()).getSizeInBits() <= in buildInsert()
681 Res.getLLTTy(*getMRI()).getSizeInBits() && in buildInsert()
684 if (Res.getLLTTy(*getMRI()).getSizeInBits() == in buildInsert()
685 Op.getLLTTy(*getMRI()).getSizeInBits()) { in buildInsert()
822 LLT OldValResTy = OldValRes.getLLTTy(*getMRI()); in buildAtomicRMW()
823 LLT AddrTy = Addr.getLLTTy(*getMRI()); in buildAtomicRMW()
824 LLT ValTy = Val.getLLTTy(*getMRI()); in buildAtomicRMW()
985 DstOps[0].getLLTTy(*getMRI()), SrcOps[0].getLLTTy(*getMRI()), in buildInstr()
986 SrcOps[1].getLLTTy(*getMRI()), SrcOps[2].getLLTTy(*getMRI())); in buildInstr()
994 validateUnaryOp(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
995 SrcOps[0].getLLTTy(*getMRI())); in buildInstr()
1018 validateBinaryOp(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1019 SrcOps[0].getLLTTy(*getMRI()), in buildInstr()
1020 SrcOps[1].getLLTTy(*getMRI())); in buildInstr()
1030 validateShiftOp(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1031 SrcOps[0].getLLTTy(*getMRI()), in buildInstr()
1032 SrcOps[1].getLLTTy(*getMRI())); in buildInstr()
1040 validateTruncExt(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1041 SrcOps[0].getLLTTy(*getMRI()), true); in buildInstr()
1047 validateTruncExt(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1048 SrcOps[0].getLLTTy(*getMRI()), false); in buildInstr()
1054 assert(DstOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
1055 SrcOps[0].getLLTTy(*getMRI()).getSizeInBits() && "invalid bitcast"); in buildInstr()
1076 assert(SrcOps[1].getLLTTy(*getMRI()) == SrcOps[2].getLLTTy(*getMRI()) && in buildInstr()
1079 LLT Op0Ty = SrcOps[1].getLLTTy(*getMRI()); in buildInstr()
1080 LLT DstTy = DstOps[0].getLLTTy(*getMRI()); in buildInstr()
1094 return Op.getLLTTy(*getMRI()) == in buildInstr()
1095 DstOps[0].getLLTTy(*getMRI()); in buildInstr()
1098 assert(DstOps.size() * DstOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
1099 SrcOps[0].getLLTTy(*getMRI()).getSizeInBits() && in buildInstr()
1108 return Op.getLLTTy(*getMRI()) == in buildInstr()
1109 SrcOps[0].getLLTTy(*getMRI()); in buildInstr()
1112 assert(SrcOps.size() * SrcOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
1113 DstOps[0].getLLTTy(*getMRI()).getSizeInBits() && in buildInstr()
1117 if (DstOps[0].getLLTTy(*getMRI()).isVector()) { in buildInstr()
1118 if (SrcOps[0].getLLTTy(*getMRI()).isVector()) in buildInstr()
1127 assert(SrcOps[0].getLLTTy(*getMRI()).isVector() && "Invalid operand type"); in buildInstr()
1128 assert((DstOps[0].getLLTTy(*getMRI()).isScalar() || in buildInstr()
1129 DstOps[0].getLLTTy(*getMRI()).isPointer()) && in buildInstr()
1131 assert(SrcOps[1].getLLTTy(*getMRI()).isScalar() && "Invalid operand type"); in buildInstr()
1132 assert(SrcOps[0].getLLTTy(*getMRI()).getElementType() == in buildInstr()
1133 DstOps[0].getLLTTy(*getMRI()) && in buildInstr()
1140 assert(DstOps[0].getLLTTy(*getMRI()).isVector() && in buildInstr()
1141 SrcOps[0].getLLTTy(*getMRI()).isVector() && "Invalid operand type"); in buildInstr()
1142 assert(DstOps[0].getLLTTy(*getMRI()).getElementType() == in buildInstr()
1143 SrcOps[1].getLLTTy(*getMRI()) && in buildInstr()
1145 assert(SrcOps[2].getLLTTy(*getMRI()).isScalar() && "Invalid index"); in buildInstr()
1146 assert(DstOps[0].getLLTTy(*getMRI()).getNumElements() == in buildInstr()
1147 SrcOps[0].getLLTTy(*getMRI()).getNumElements() && in buildInstr()
1155 assert(DstOps[0].getLLTTy(*getMRI()).isVector() && in buildInstr()
1159 return Op.getLLTTy(*getMRI()) == in buildInstr()
1160 SrcOps[0].getLLTTy(*getMRI()); in buildInstr()
1163 assert(SrcOps.size() * SrcOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
1164 DstOps[0].getLLTTy(*getMRI()).getSizeInBits() && in buildInstr()
1172 assert(DstOps[0].getLLTTy(*getMRI()).isVector() && in buildInstr()
1176 return Op.getLLTTy(*getMRI()) == in buildInstr()
1177 SrcOps[0].getLLTTy(*getMRI()); in buildInstr()
1180 if (SrcOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
1181 DstOps[0].getLLTTy(*getMRI()).getElementType().getSizeInBits()) in buildInstr()
1191 return (Op.getLLTTy(*getMRI()).isVector() && in buildInstr()
1192 Op.getLLTTy(*getMRI()) == in buildInstr()
1193 SrcOps[0].getLLTTy(*getMRI())); in buildInstr()
1196 assert(SrcOps.size() * SrcOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
1197 DstOps[0].getLLTTy(*getMRI()).getSizeInBits() && in buildInstr()
1204 assert(DstOps[0].getLLTTy(*getMRI()).isScalar() && "Invalid operand"); in buildInstr()
1205 assert((DstOps[0].getLLTTy(*getMRI()) == SrcOps[0].getLLTTy(*getMRI())) && in buildInstr()
1206 (DstOps[0].getLLTTy(*getMRI()) == SrcOps[1].getLLTTy(*getMRI())) && in buildInstr()
1208 assert(DstOps[1].getLLTTy(*getMRI()).isScalar() && "Invalid operand"); in buildInstr()
1209 assert(DstOps[1].getLLTTy(*getMRI()) == SrcOps[2].getLLTTy(*getMRI()) && in buildInstr()