Lines Matching refs:getLLTTy
139 assert(Res.getLLTTy(*getMRI()).isPointer() && "expected ptr dst type"); in buildDynStackAlloc()
149 assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildFrameIndex()
158 assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildGlobalValue()
159 assert(Res.getLLTTy(*getMRI()).getAddressSpace() == in buildGlobalValue()
171 assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildConstantPool()
204 assert(Res.getLLTTy(*getMRI()).isPointerOrPointerVector() && in buildPtrAdd()
205 Res.getLLTTy(*getMRI()) == Op0.getLLTTy(*getMRI()) && "type mismatch"); in buildPtrAdd()
206 assert(Op1.getLLTTy(*getMRI()).getScalarType().isScalar() && "invalid offset type"); in buildPtrAdd()
230 LLT PtrTy = Res.getLLTTy(*getMRI()); in buildMaskLowPtrBits()
240 LLT ResTy = Res.getLLTTy(*getMRI()); in buildPadVectorWithUndefElements()
241 LLT Op0Ty = Op0.getLLTTy(*getMRI()); in buildPadVectorWithUndefElements()
271 LLT ResTy = Res.getLLTTy(*getMRI()); in buildDeleteTrailingVectorElements()
272 LLT Op0Ty = Op0.getLLTTy(*getMRI()); in buildDeleteTrailingVectorElements()
319 LLT Ty = Res.getLLTTy(*getMRI()); in buildConstant()
344 Res.getLLTTy(*getMRI()).getScalarSizeInBits()); in buildConstant()
351 LLT Ty = Res.getLLTTy(*getMRI()); in buildFConstant()
386 LLT DstTy = Res.getLLTTy(*getMRI()); in buildFConstant()
415 assert(Tst.getLLTTy(*getMRI()).isScalar() && "invalid operand type"); in buildBrCond()
431 LLT Ty = Dst.getLLTTy(*getMRI()); in buildLoad()
441 assert(Res.getLLTTy(*getMRI()).isValid() && "invalid operand type"); in buildLoadInstr()
442 assert(Addr.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildLoadInstr()
454 LLT LoadTy = Dst.getLLTTy(*getMRI()); in buildLoadFromOffset()
461 LLT PtrTy = BasePtr.getLLTTy(*getMRI()); in buildLoadFromOffset()
471 assert(Val.getLLTTy(*getMRI()).isValid() && "invalid operand type"); in buildStore()
472 assert(Addr.getLLTTy(*getMRI()).isPointer() && "invalid operand type"); in buildStore()
489 LLT Ty = Val.getLLTTy(*getMRI()); in buildStore()
553 assert(Res.getLLTTy(*getMRI()).isScalar() || in buildExtOrTrunc()
554 Res.getLLTTy(*getMRI()).isVector()); in buildExtOrTrunc()
555 assert(Res.getLLTTy(*getMRI()).isScalar() == in buildExtOrTrunc()
556 Op.getLLTTy(*getMRI()).isScalar()); in buildExtOrTrunc()
559 if (Res.getLLTTy(*getMRI()).getSizeInBits() > in buildExtOrTrunc()
560 Op.getLLTTy(*getMRI()).getSizeInBits()) in buildExtOrTrunc()
562 else if (Res.getLLTTy(*getMRI()).getSizeInBits() < in buildExtOrTrunc()
563 Op.getLLTTy(*getMRI()).getSizeInBits()) in buildExtOrTrunc()
566 assert(Res.getLLTTy(*getMRI()) == Op.getLLTTy(*getMRI())); in buildExtOrTrunc()
589 LLT ResTy = Res.getLLTTy(*getMRI()); in buildZExtInReg()
597 LLT SrcTy = Src.getLLTTy(*getMRI()); in buildCast()
598 LLT DstTy = Dst.getLLTTy(*getMRI()); in buildCast()
618 LLT SrcTy = Src.getLLTTy(*getMRI()); in buildExtract()
619 LLT DstTy = Dst.getLLTTy(*getMRI()); in buildExtract()
674 if (DstOp.getLLTTy(*getMRI()).isVector()) { in getOpcodeForMerge()
675 if (SrcOps[0].getLLTTy(*getMRI()).isVector()) in getOpcodeForMerge()
695 unsigned NumReg = Op.getLLTTy(*getMRI()).getSizeInBits() / Res.getSizeInBits(); in buildUnmerge()
724 LLT EltTy = Res.getLLTTy(*getMRI()).getElementType(); in buildBuildVectorConstant()
732 SmallVector<SrcOp, 8> TmpVec(Res.getLLTTy(*getMRI()).getNumElements(), Src); in buildSplatBuildVector()
743 if (TmpVec[0].getLLTTy(*getMRI()).getSizeInBits() == in buildBuildVectorTrunc()
744 Res.getLLTTy(*getMRI()).getElementType().getSizeInBits()) in buildBuildVectorTrunc()
751 LLT DstTy = Res.getLLTTy(*getMRI()); in buildShuffleSplat()
752 assert(Src.getLLTTy(*getMRI()) == DstTy.getElementType() && in buildShuffleSplat()
763 assert(Src.getLLTTy(*getMRI()) == Res.getLLTTy(*getMRI()).getElementType() && in buildSplatVector()
772 LLT DstTy = Res.getLLTTy(*getMRI()); in buildShuffleVector()
773 LLT Src1Ty = Src1.getLLTTy(*getMRI()); in buildShuffleVector()
774 LLT Src2Ty = Src2.getLLTTy(*getMRI()); in buildShuffleVector()
800 assert(Index + Op.getLLTTy(*getMRI()).getSizeInBits() <= in buildInsert()
801 Res.getLLTTy(*getMRI()).getSizeInBits() && in buildInsert()
804 if (Res.getLLTTy(*getMRI()).getSizeInBits() == in buildInsert()
805 Op.getLLTTy(*getMRI()).getSizeInBits()) { in buildInsert()
816 Res.getLLTTy(*getMRI()).getScalarSizeInBits()); in buildVScale()
965 LLT OldValResTy = OldValRes.getLLTTy(*getMRI()); in buildAtomicCmpXchgWithSuccess()
966 LLT SuccessResTy = SuccessRes.getLLTTy(*getMRI()); in buildAtomicCmpXchgWithSuccess()
967 LLT AddrTy = Addr.getLLTTy(*getMRI()); in buildAtomicCmpXchgWithSuccess()
968 LLT CmpValTy = CmpVal.getLLTTy(*getMRI()); in buildAtomicCmpXchgWithSuccess()
969 LLT NewValTy = NewVal.getLLTTy(*getMRI()); in buildAtomicCmpXchgWithSuccess()
994 LLT OldValResTy = OldValRes.getLLTTy(*getMRI()); in buildAtomicCmpXchg()
995 LLT AddrTy = Addr.getLLTTy(*getMRI()); in buildAtomicCmpXchg()
996 LLT CmpValTy = CmpVal.getLLTTy(*getMRI()); in buildAtomicCmpXchg()
997 LLT NewValTy = NewVal.getLLTTy(*getMRI()); in buildAtomicCmpXchg()
1021 LLT OldValResTy = OldValRes.getLLTTy(*getMRI()); in buildAtomicRMW()
1022 LLT AddrTy = Addr.getLLTTy(*getMRI()); in buildAtomicRMW()
1023 LLT ValTy = Val.getLLTTy(*getMRI()); in buildAtomicRMW()
1209 DstOps[0].getLLTTy(*getMRI()), SrcOps[0].getLLTTy(*getMRI()), in buildInstr()
1210 SrcOps[1].getLLTTy(*getMRI()), SrcOps[2].getLLTTy(*getMRI())); in buildInstr()
1218 validateUnaryOp(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1219 SrcOps[0].getLLTTy(*getMRI())); in buildInstr()
1242 validateBinaryOp(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1243 SrcOps[0].getLLTTy(*getMRI()), in buildInstr()
1244 SrcOps[1].getLLTTy(*getMRI())); in buildInstr()
1254 validateShiftOp(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1255 SrcOps[0].getLLTTy(*getMRI()), in buildInstr()
1256 SrcOps[1].getLLTTy(*getMRI())); in buildInstr()
1264 validateTruncExt(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1265 SrcOps[0].getLLTTy(*getMRI()), true); in buildInstr()
1271 validateTruncExt(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1272 SrcOps[0].getLLTTy(*getMRI()), false); in buildInstr()
1278 assert(DstOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
1279 SrcOps[0].getLLTTy(*getMRI()).getSizeInBits() && "invalid bitcast"); in buildInstr()
1300 assert(SrcOps[1].getLLTTy(*getMRI()) == SrcOps[2].getLLTTy(*getMRI()) && in buildInstr()
1303 LLT Op0Ty = SrcOps[1].getLLTTy(*getMRI()); in buildInstr()
1304 LLT DstTy = DstOps[0].getLLTTy(*getMRI()); in buildInstr()
1318 return Op.getLLTTy(*getMRI()) == in buildInstr()
1319 DstOps[0].getLLTTy(*getMRI()); in buildInstr()
1323 DstOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
1324 SrcOps[0].getLLTTy(*getMRI()).getSizeInBits() && in buildInstr()
1333 return Op.getLLTTy(*getMRI()) == in buildInstr()
1334 SrcOps[0].getLLTTy(*getMRI()); in buildInstr()
1338 SrcOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
1339 DstOps[0].getLLTTy(*getMRI()).getSizeInBits() && in buildInstr()
1341 assert(!DstOps[0].getLLTTy(*getMRI()).isVector() && in buildInstr()
1348 assert(SrcOps[0].getLLTTy(*getMRI()).isVector() && "Invalid operand type"); in buildInstr()
1349 assert((DstOps[0].getLLTTy(*getMRI()).isScalar() || in buildInstr()
1350 DstOps[0].getLLTTy(*getMRI()).isPointer()) && in buildInstr()
1352 assert(SrcOps[1].getLLTTy(*getMRI()).isScalar() && "Invalid operand type"); in buildInstr()
1353 assert(SrcOps[0].getLLTTy(*getMRI()).getElementType() == in buildInstr()
1354 DstOps[0].getLLTTy(*getMRI()) && in buildInstr()
1361 assert(DstOps[0].getLLTTy(*getMRI()).isVector() && in buildInstr()
1362 SrcOps[0].getLLTTy(*getMRI()).isVector() && "Invalid operand type"); in buildInstr()
1363 assert(DstOps[0].getLLTTy(*getMRI()).getElementType() == in buildInstr()
1364 SrcOps[1].getLLTTy(*getMRI()) && in buildInstr()
1366 assert(SrcOps[2].getLLTTy(*getMRI()).isScalar() && "Invalid index"); in buildInstr()
1367 assert(DstOps[0].getLLTTy(*getMRI()).getElementCount() == in buildInstr()
1368 SrcOps[0].getLLTTy(*getMRI()).getElementCount() && in buildInstr()
1376 assert(DstOps[0].getLLTTy(*getMRI()).isVector() && in buildInstr()
1380 return Op.getLLTTy(*getMRI()) == in buildInstr()
1381 SrcOps[0].getLLTTy(*getMRI()); in buildInstr()
1385 SrcOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
1386 DstOps[0].getLLTTy(*getMRI()).getSizeInBits() && in buildInstr()
1394 assert(DstOps[0].getLLTTy(*getMRI()).isVector() && in buildInstr()
1398 return Op.getLLTTy(*getMRI()) == in buildInstr()
1399 SrcOps[0].getLLTTy(*getMRI()); in buildInstr()
1410 return (Op.getLLTTy(*getMRI()).isVector() && in buildInstr()
1411 Op.getLLTTy(*getMRI()) == in buildInstr()
1412 SrcOps[0].getLLTTy(*getMRI())); in buildInstr()
1416 SrcOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
1417 DstOps[0].getLLTTy(*getMRI()).getSizeInBits() && in buildInstr()
1424 assert(DstOps[0].getLLTTy(*getMRI()).isScalar() && "Invalid operand"); in buildInstr()
1425 assert((DstOps[0].getLLTTy(*getMRI()) == SrcOps[0].getLLTTy(*getMRI())) && in buildInstr()
1426 (DstOps[0].getLLTTy(*getMRI()) == SrcOps[1].getLLTTy(*getMRI())) && in buildInstr()
1428 assert(DstOps[1].getLLTTy(*getMRI()).isScalar() && "Invalid operand"); in buildInstr()
1429 assert(DstOps[1].getLLTTy(*getMRI()) == SrcOps[2].getLLTTy(*getMRI()) && in buildInstr()