|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h 201 dbgs() << MRI.getType(MO.getReg()) << "\n";
207 const LLT Ty = MRI.getType(MO.getReg());
501 unsigned Size = MRI.getType(MO.getReg()).getSizeInBits();
528 MRI.getType(MO.getReg()) != ISelInfo.TypeObjects[TypeID]) {
545 const LLT Ty = MRI.getType(MO.getReg());
620 LLT Ty = MRI.getType(MO.getReg());
include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h 81 const LLT &DstTy = MRI.getType(DstReg);
104 LLT DstTy = MRI.getType(DstReg);
109 LLT SrcTy = MRI.getType(SrcReg);
122 const LLT &DstTy = MRI.getType(DstReg);
145 LLT DstTy = MRI.getType(DstReg);
149 LLT SrcTy = MRI.getType(SrcReg);
172 const LLT &DstTy = MRI.getType(DstReg);
197 LLT DstTy = MRI.getType(DstReg);
259 LLT OpTy = MRI.getType(MI.getOperand(NumDefs).getReg());
260 LLT DestTy = MRI.getType(MI.getOperand(0).getReg());
301 = MRI.getType(MergeI->getOperand(0).getReg()).getElementType();
337 LLT MergeSrcTy = MRI.getType(MergeI->getOperand(1).getReg());
396 LLT DstTy = MRI.getType(MI.getOperand(0).getReg());
397 LLT SrcTy = MRI.getType(Src);
559 if (MRI.getType(TmpReg).isValid())
include/llvm/CodeGen/GlobalISel/MIPatternMatch.h 136 Ty = MRI.getType(Reg);
329 return MRI.getType(Reg) == Ty;
include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h 95 return MRI.getType(Reg);
165 return MRI.getType(Reg);
167 return MRI.getType(SrcMIB->getOperand(0).getReg());
lib/CodeGen/GlobalISel/CSEInfo.cpp 339 LLT Ty = MRI.getType(Reg);
lib/CodeGen/GlobalISel/CallLowering.cpp 457 if (LocTy.getSizeInBits() == MRI.getType(ValReg).getSizeInBits())
lib/CodeGen/GlobalISel/CombinerHelper.cpp 77 LLT DstTy = MRI.getType(DstReg);
78 LLT SrcTy = MRI.getType(SrcReg);
132 LLT OpType = MRI.getType(Reg);
138 assert(MRI.getType(Undef->getOperand(0).getReg()) ==
189 LLT DstType = MRI.getType(MI.getOperand(0).getReg());
191 LLT SrcType = MRI.getType(Src1);
374 LLT LoadValueTy = MRI.getType(LoadValue.getReg());
407 MRI.getType(UseMI.getOperand(0).getReg()),
472 const LLT &UseDstTy = MRI.getType(UseDstReg);
984 LLT PtrTy = MRI.getType(Dst);
1104 LLT PtrTy = MRI.getType(Src);
1209 LLT PtrTy = MRI.getType(Src);
lib/CodeGen/GlobalISel/GISelKnownBits.cpp 71 LLT Ty = MRI.getType(R);
79 LLT Ty = MRI.getType(R);
95 LLT DstTy = MRI.getType(R);
136 MRI.getType(Src.getReg()).isValid()) {
184 LLT Ty = MRI.getType(MI.getOperand(1).getReg());
351 LLT SrcTy = MRI.getType(SrcReg);
lib/CodeGen/GlobalISel/IRTranslator.cpp 605 const LLT &CmpTy = MRI->getType(CmpOpReg);
893 Ptr, Flags, (MRI->getType(Regs[i]).getSizeInBits() + 7) / 8,
934 Ptr, Flags, (MRI->getType(Vals[i]).getSizeInBits() + 7) / 8,
1089 if (MRI->getType(IdxReg) != OffsetTy)
1811 if (MRI->getType(NumElts) != IntPtrTy) {
1909 if (MRI->getType(Idx).getSizeInBits() != PreferredVecIdxWidth) {
lib/CodeGen/GlobalISel/InstructionSelect.cpp 207 const LLT Ty = MRI.getType(VReg);
lib/CodeGen/GlobalISel/LegalizerHelper.cpp 403 LLT OpLLT = MRI.getType(Reg);
491 LLT LLTy = MRI.getType(MI.getOperand(0).getReg());
539 unsigned FromSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits();
540 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
551 unsigned FromSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits();
552 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
564 unsigned FromSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits();
565 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
579 unsigned FromSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits();
580 unsigned ToSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
602 uint64_t SizeOp0 = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
621 if(MRI.getType(DstReg).isVector())
629 LLT Ty = MRI.getType(MI.getOperand(0).getReg());
665 LLT SrcTy = MRI.getType(SrcReg);
687 LLT SrcTy = MRI.getType(MI.getOperand(1).getReg());
707 uint64_t SizeOp1 = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits();
747 if(MRI.getType(DstReg).isVector())
796 LLT DstTy = MRI.getType(DstReg);
842 LLT SrcTy = MRI.getType(SrcReg);
951 uint64_t SrcSize = MRI.getType(MI.getOperand(2).getReg()).getSizeInBits();
966 LLT ResTy = MRI.getType(MI.getOperand(0).getReg());
1127 LLT OldTy = MRI.getType(MO.getReg());
1160 LLT DstTy = MRI.getType(DstReg);
1165 LLT SrcTy = MRI.getType(Src1);
1183 assert(MRI.getType(SrcReg) == LLT::scalar(PartSize));
1283 LLT SrcTy = MRI.getType(SrcReg);
1288 LLT DstTy = MRI.getType(Dst0Reg);
1320 LLT SrcTy = MRI.getType(SrcReg);
1322 LLT DstTy = MRI.getType(DstReg);
1434 LLT OrigTy = MRI.getType(MI.getOperand(0).getReg());
1463 LLT CurTy = MRI.getType(SrcReg);
1503 LLT Ty = MRI.getType(DstReg);
1519 LLT Ty = MRI.getType(DstReg);
1616 bool IsVec = MRI.getType(MI.getOperand(1).getReg()).isVector();
1662 LLT Ty = MRI.getType(MI.getOperand(0).getReg());
1777 LLT VecTy = MRI.getType(VecReg);
1802 LLT VecTy = MRI.getType(VecReg);
2044 LLT DstTy = MRI.getType(DstReg);
2076 LLT PtrTy = MRI.getType(PtrReg);
2135 LLT SrcTy = MRI.getType(SrcReg);
2155 LLT PtrTy = MRI.getType(PtrReg);
2265 LLT DstTy = MRI.getType(DstReg);
2291 unsigned Size = MRI.getType(DstReg).getSizeInBits();
2321 const LLT DstTy = MRI.getType(DstReg);
2429 LLT DstTy = MRI.getType(DstReg);
2447 LLT SrcTyI = MRI.getType(SrcReg);
2510 LLT DstTy = MRI.getType(DstReg);
2511 LLT SrcTy = MRI.getType(SrcReg);
2556 LLT DstTy = MRI.getType(DstReg);
2557 LLT SrcTy = MRI.getType(Src0Reg);
2627 LLT DstTy = MRI.getType(DstReg);
2628 LLT CondTy = MRI.getType(CondReg);
2694 LLT PhiTy = MRI.getType(DstReg);
2766 LLT SrcTy = MRI.getType(SrcReg);
2768 LLT DstTy = MRI.getType(MI.getOperand(0).getReg());
2803 LLT DstTy = MRI.getType(DstReg);
2874 LLT ValTy = MRI.getType(ValReg);
2893 const LLT OffsetTy = LLT::scalar(MRI.getType(AddrReg).getScalarSizeInBits());
3141 LLT DstTy = MRI.getType(DstReg);
3146 LLT ShiftAmtTy = MRI.getType(Amt);
3313 if (MRI.getType(MI.getOperand(1).getReg()).isVector())
3326 LLT DstTy = MRI.getType(MI.getOperand(0).getReg());
3418 LLT Ty = MRI.getType(DstReg);
3422 unsigned SrcSize = MRI.getType(Src1).getSizeInBits();
3455 int64_t SizeOp1 = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits();
3468 uint64_t OpSize = MRI.getType(OpReg).getSizeInBits();
3475 } else if (SrcStart == OpStart && NarrowTy == MRI.getType(OpReg)) {
3504 if(MRI.getType(DstReg).isVector())
3519 uint64_t SizeOp0 = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
3535 uint64_t OpSize = MRI.getType(OpReg).getSizeInBits();
3543 } else if (DstStart == OpStart && NarrowTy == MRI.getType(OpReg)) {
3579 if(MRI.getType(DstReg).isVector())
3591 LLT DstTy = MRI.getType(DstReg);
3635 LLT CondTy = MRI.getType(CondReg);
3640 LLT DstTy = MRI.getType(DstReg);
3797 assert(MRI.getType(Src) == S64 && MRI.getType(Dst) == S32);
3797 assert(MRI.getType(Src) == S64 && MRI.getType(Dst) == S32);
3849 LLT DstTy = MRI.getType(Dst);
3850 LLT SrcTy = MRI.getType(Src);
3870 LLT DstTy = MRI.getType(Dst);
3871 LLT SrcTy = MRI.getType(Src);
3908 LLT DstTy = MRI.getType(Dst);
3909 LLT SrcTy = MRI.getType(Src);
3968 LLT CmpType = MRI.getType(Dst).changeElementSize(1);
3983 const LLT Src0Ty = MRI.getType(Src0);
3984 const LLT Src1Ty = MRI.getType(Src1);
4033 LLT Ty = MRI.getType(Dst);
4059 LLT Ty = MRI.getType(DstReg);
4073 LLT SrcTy = MRI.getType(SrcReg);
4076 LLT DstTy = MRI.getType(Dst0Reg);
4107 LLT Src0Ty = MRI.getType(Src0Reg);
4108 LLT DstTy = MRI.getType(DstReg);
4170 LLT PtrTy = MRI.getType(Dst);
4202 LLT DstTy = MRI.getType(Dst);
4203 LLT SrcTy = MRI.getType(Src);
4235 LLT DstTy = MRI.getType(Src);
4236 LLT InsertTy = MRI.getType(InsertSrc);
4276 LLT Ty = MRI.getType(Dst0);
4277 LLT BoolTy = MRI.getType(Dst1);
lib/CodeGen/GlobalISel/LegalizerInfo.cpp 398 return MRI.getType(MI.getOperand(MI.getNumOperands() - 1).getReg());
399 return MRI.getType(MI.getOperand(OpIdx).getReg());
lib/CodeGen/GlobalISel/Localizer.cpp 154 Register NewReg = MRI->createGenericVirtualRegister(MRI->getType(Reg));
lib/CodeGen/GlobalISel/MachineIRBuilder.cpp 243 Res = getMRI()->createGenericVirtualRegister(getMRI()->getType(Op0));
266 assert(getMRI()->getType(Tgt).isPointer() && "invalid branch destination");
273 assert(getMRI()->getType(TablePtr).isPointer() &&
363 assert(getMRI()->getType(Tst).isScalar() && "invalid operand type");
447 unsigned ExtOp = getBoolExtOp(getMRI()->getType(Op.getReg()).isVector(), IsFP);
543 assert(getMRI()->getType(Res).isValid() && "invalid operand type");
545 assert(getMRI()->getType(Op).isValid() && "invalid operand type");
548 LLT ResTy = getMRI()->getType(Res);
549 LLT OpTy = getMRI()->getType(Ops[0]);
553 if (getMRI()->getType(Ops[i]) != OpTy || Indices[i] != i * OpSize) {
655 assert(Index + getMRI()->getType(Op).getSizeInBits() <=
656 getMRI()->getType(Res).getSizeInBits() &&
659 if (getMRI()->getType(Res).getSizeInBits() ==
660 getMRI()->getType(Op).getSizeInBits()) {
747 LLT OldValResTy = getMRI()->getType(OldValRes);
748 LLT SuccessResTy = getMRI()->getType(SuccessRes);
749 LLT AddrTy = getMRI()->getType(Addr);
750 LLT CmpValTy = getMRI()->getType(CmpVal);
751 LLT NewValTy = getMRI()->getType(NewVal);
775 LLT OldValResTy = getMRI()->getType(OldValRes);
776 LLT AddrTy = getMRI()->getType(Addr);
777 LLT CmpValTy = getMRI()->getType(CmpVal);
778 LLT NewValTy = getMRI()->getType(NewVal);
912 assert(getMRI()->getType(Res).isPointer() && "invalid res type");
lib/CodeGen/GlobalISel/RegBankSelect.cpp 173 LLT RegTy = MRI->getType(MO.getReg());
lib/CodeGen/GlobalISel/RegisterBankInfo.cpp 470 LLT OrigTy = MRI.getType(OrigReg);
471 LLT NewTy = MRI.getType(NewReg);
lib/CodeGen/GlobalISel/Utils.cpp 235 MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
252 MRI.getType(MI->getOperand(0).getReg()).getSizeInBits()));
306 auto DstTy = MRI.getType(DefMI->getOperand(0).getReg());
311 auto SrcTy = MRI.getType(SrcReg);
344 LLT Ty = MRI.getType(Op1);
419 LLT Ty = MRI.getType(Op1);
lib/CodeGen/MIRParser/MIParser.cpp 1437 if (MRI.getType(Reg).isValid() && MRI.getType(Reg) != Ty)
1437 if (MRI.getType(Reg).isValid() && MRI.getType(Reg) != Ty)
1456 if (MRI.getType(Reg).isValid() && MRI.getType(Reg) != Ty)
1456 if (MRI.getType(Reg).isValid() && MRI.getType(Reg) != Ty)
lib/CodeGen/MIRVRegNamerUtils.cpp 343 return MRI.createGenericVirtualRegister(MRI.getType(VReg), OS.str());
lib/CodeGen/MachineInstr.cpp 1430 return MRI.getType(Op.getReg());
1434 return MRI.getType(Op.getReg());
1439 LLT TypeToPrint = MRI.getType(Op.getReg());
lib/CodeGen/MachineRegisterInfo.cpp 95 const LLT RegTy = getType(Reg);
96 const LLT ConstrainingRegTy = getType(ConstrainingReg);
176 setType(Reg, getType(VReg));
lib/CodeGen/MachineVerifier.cpp 941 LLT OpTy = MRI->getType(MO->getReg());
979 LLT DstTy = MRI->getType(MI->getOperand(0).getReg());
1011 LLT ValTy = MRI->getType(MI->getOperand(0).getReg());
1012 LLT PtrTy = MRI->getType(MI->getOperand(1).getReg());
1039 LLT DstTy = MRI->getType(MI->getOperand(0).getReg());
1045 LLT Ty = MRI->getType(MO.getReg());
1056 LLT DstTy = MRI->getType(MI->getOperand(0).getReg());
1057 LLT SrcTy = MRI->getType(MI->getOperand(1).getReg());
1071 LLT DstTy = MRI->getType(MI->getOperand(0).getReg());
1072 LLT SrcTy = MRI->getType(MI->getOperand(1).getReg());
1104 LLT DstTy = MRI->getType(MI->getOperand(0).getReg());
1105 LLT PtrTy = MRI->getType(MI->getOperand(1).getReg());
1106 LLT OffsetTy = MRI->getType(MI->getOperand(2).getReg());
1131 LLT DstTy = MRI->getType(MI->getOperand(0).getReg());
1132 LLT SrcTy = MRI->getType(MI->getOperand(1).getReg());
1160 LLT SelTy = MRI->getType(MI->getOperand(0).getReg());
1161 LLT CondTy = MRI->getType(MI->getOperand(1).getReg());
1175 LLT DstTy = MRI->getType(MI->getOperand(0).getReg());
1176 LLT SrcTy = MRI->getType(MI->getOperand(1).getReg());
1185 if (MRI->getType(MI->getOperand(I).getReg()) != SrcTy)
1192 LLT DstTy = MRI->getType(MI->getOperand(0).getReg());
1193 LLT SrcTy = MRI->getType(MI->getOperand(MI->getNumOperands()-1).getReg());
1196 if (MRI->getType(MI->getOperand(i).getReg()) != DstTy)
1209 LLT DstTy = MRI->getType(MI->getOperand(0).getReg());
1210 LLT SrcEltTy = MRI->getType(MI->getOperand(1).getReg());
1223 if (MRI->getType(MI->getOperand(1).getReg()) !=
1224 MRI->getType(MI->getOperand(i).getReg()))
1233 LLT DstTy = MRI->getType(MI->getOperand(0).getReg());
1234 LLT SrcEltTy = MRI->getType(MI->getOperand(1).getReg());
1239 if (MRI->getType(MI->getOperand(1).getReg()) !=
1240 MRI->getType(MI->getOperand(i).getReg()))
1253 LLT DstTy = MRI->getType(MI->getOperand(0).getReg());
1254 LLT SrcTy = MRI->getType(MI->getOperand(1).getReg());
1259 if (MRI->getType(MI->getOperand(1).getReg()) !=
1260 MRI->getType(MI->getOperand(i).getReg()))
1270 LLT DstTy = MRI->getType(MI->getOperand(0).getReg());
1271 LLT SrcTy = MRI->getType(MI->getOperand(2).getReg());
1292 unsigned DstSize = MRI->getType(MI->getOperand(0).getReg()).getSizeInBits();
1293 unsigned SrcSize = MRI->getType(SrcOp.getReg()).getSizeInBits();
1314 unsigned DstSize = MRI->getType(MI->getOperand(0).getReg()).getSizeInBits();
1315 unsigned SrcSize = MRI->getType(SrcOp.getReg()).getSizeInBits();
1328 LLT DstTy = MRI->getType(MI->getOperand(0).getReg());
1334 if (!MRI->getType(MI->getOperand(0).getReg()).isPointer())
1341 if (!IdxOp.isReg() || MRI->getType(IdxOp.getReg()).isPointer())
1393 LLT DstTy = MRI->getType(MI->getOperand(0).getReg());
1394 LLT SrcTy = MRI->getType(MI->getOperand(1).getReg());
1423 LLT DstTy = MRI->getType(MI->getOperand(0).getReg());
1424 LLT Src0Ty = MRI->getType(MI->getOperand(1).getReg());
1425 LLT Src1Ty = MRI->getType(MI->getOperand(2).getReg());
1459 if (!DstOp.isReg() || !MRI->getType(DstOp.getReg()).isPointer()) {
1464 if (!AllocOp.isReg() || !MRI->getType(AllocOp.getReg()).isScalar()) {
1544 LLT DstTy = MRI->getType(DstOp.getReg());
1545 LLT SrcTy = MRI->getType(SrcOp.getReg());
1724 LLT Ty = MRI->getType(Reg);
lib/CodeGen/TargetRegisterInfo.cpp 162 assert((RegInfo.def_empty(Reg) || RegInfo.getType(Reg).isValid()) &&
481 LLT Ty = MRI.getType(Reg);
lib/Target/AArch64/AArch64CallLowering.cpp 295 if (MRI.getType(CurVReg).getSizeInBits() == 1) {
lib/Target/AArch64/AArch64InstructionSelector.cpp 406 LLT Ty = MRI.getType(I.getOperand(0).getReg());
836 LLT Ty = MRI.getType(I.getOperand(0).getReg());
850 unsigned OpSize = MRI.getType(I.getOperand(2).getReg()).getSizeInBits();
991 const unsigned CmpWidth = MRI.getType(LHS).getSizeInBits();
1013 const LLT Ty = MRI.getType(DstReg);
1043 const LLT Ty = MRI.getType(DstReg);
1171 const LLT ShiftTy = MRI.getType(ShiftReg);
1172 const LLT SrcTy = MRI.getType(SrcReg);
1209 const LLT DstTy = MRI.getType(I.getOperand(0).getReg());
1254 LLT DefDstTy = MRI.getType(DefDstReg);
1256 LLT StoreSrcTy = MRI.getType(StoreSrcReg);
1297 LLT Ty = MRI.getType(DefReg);
1334 const LLT DefTy = MRI.getType(DefReg);
1389 I.getOperand(0).isReg() ? MRI.getType(I.getOperand(0).getReg()) : LLT{};
1450 LLT DstTy = MRI.getType(DstReg);
1495 const LLT DefTy = MRI.getType(DefReg);
1582 LLT SrcTy = MRI.getType(SrcReg);
1583 LLT DstTy = MRI.getType(DstReg);
1640 LLT SrcTy = MRI.getType(I.getOperand(2).getReg());
1641 LLT DstTy = MRI.getType(I.getOperand(0).getReg());
1650 unsigned Width = MRI.getType(I.getOperand(2).getReg()).getSizeInBits();
1722 LLT PtrTy = MRI.getType(I.getOperand(1).getReg());
1750 assert(MRI.getType(PtrReg).isPointer() &&
1801 if (MRI.getType(ValReg).getSizeInBits() != 64)
1855 if (MRI.getType(I.getOperand(0).getReg()).isVector())
1860 MRI.getType(I.getOperand(0).getReg()).isVector())
1943 const LLT DstTy = MRI.getType(I.getOperand(0).getReg());
1944 const LLT SrcTy = MRI.getType(I.getOperand(1).getReg());
2031 const unsigned DstSize = MRI.getType(DstReg).getSizeInBits();
2063 const LLT DstTy = MRI.getType(DefReg);
2064 const LLT SrcTy = MRI.getType(SrcReg);
2131 const LLT DstTy = MRI.getType(I.getOperand(0).getReg()),
2132 SrcTy = MRI.getType(I.getOperand(1).getReg());
2158 if (MRI.getType(I.getOperand(1).getReg()) != LLT::scalar(1)) {
2281 const LLT DstTy = MRI.getType(I.getOperand(0).getReg());
2402 const LLT SrcTy = MRI.getType(I.getOperand(0).getReg());
2457 const LLT SrcTy = MRI.getType(I.getOperand(0).getReg());
2513 LLT DstTy = MRI.getType(DstReg);
2516 LLT SrcTy = MRI.getType(SrcReg);
2712 const LLT DstTy = MRI.getType(I.getOperand(0).getReg());
2713 const LLT SrcTy = MRI.getType(I.getOperand(1).getReg());
2824 const LLT &VecTy = MRI.getType(VecReg);
2869 const LLT NarrowTy = MRI.getType(DstReg);
2871 const LLT WideTy = MRI.getType(SrcReg);
2908 const LLT NarrowTy = MRI.getType(I.getOperand(0).getReg());
2909 const LLT SrcTy = MRI.getType(SrcReg);
2953 const LLT NarrowTy = MRI.getType(I.getOperand(0).getReg());
2954 const LLT WideTy = MRI.getType(SrcReg);
3152 bool Is32Bit = MRI.getType(LHS.getReg()).getSizeInBits() == 32;
3176 bool Is32Bit = (MRI.getType(LHS.getReg()).getSizeInBits() == 32);
3199 unsigned RegSize = MRI.getType(LHS).getSizeInBits();
3239 LLT CmpTy = MRI.getType(LHS.getReg());
3280 const LLT Op1Ty = MRI.getType(Op1);
3281 const LLT Op2Ty = MRI.getType(Op2);
3336 unsigned DefSize = MRI.getType(I.getOperand(0).getReg()).getSizeInBits();
3611 LLT VecTy = MRI.getType(I.getOperand(0).getReg());
3651 const LLT DstTy = MRI.getType(I.getOperand(0).getReg());
3653 const LLT Src1Ty = MRI.getType(Src1Reg);
3655 const LLT Src2Ty = MRI.getType(Src2Reg);
3754 unsigned EltSize = MRI.getType(EltReg).getSizeInBits();
3779 const LLT DstTy = MRI.getType(DstReg);
3784 const LLT EltTy = MRI.getType(EltReg);
3854 const LLT DstTy = MRI.getType(I.getOperand(0).getReg());
3855 const LLT EltTy = MRI.getType(I.getOperand(1).getReg());
3977 if (MRI.getType(DstReg).getSizeInBits() != 32 ||
3978 MRI.getType(SrcReg).getSizeInBits() != 32)
4133 if (MRI.getType(Root.getReg()).getSizeInBits() == 32)
4487 unsigned NumBits = MRI.getType(ShiftReg).getSizeInBits();
4502 unsigned Size = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits();
4517 unsigned Size = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits();
4555 if (MRI.getType(ExtReg).getSizeInBits() == 32)
4617 if (Ext == AArch64_AM::UXTW && MRI.getType(ExtReg).getSizeInBits() == 32) {
4671 if (MRI.getType(MI.getOperand(0).getReg()).getSizeInBits() != 32)
lib/Target/AArch64/AArch64LegalizerInfo.cpp 676 assert(MRI.getType(AmtReg).getSizeInBits() == 32);
698 const LLT ValTy = MRI.getType(ValReg);
731 LLT PtrTy = MRI.getType(ListPtr);
753 uint64_t ValSize = MRI.getType(Dst).getSizeInBits() / 8;
lib/Target/AArch64/AArch64RegisterBankInfo.cpp 428 LLT Ty = MRI.getType(MI.getOperand(0).getReg());
444 LLT OpTy = MRI.getType(MI.getOperand(Idx).getReg());
547 LLT DstTy = MRI.getType(MI.getOperand(0).getReg());
548 LLT SrcTy = MRI.getType(MI.getOperand(1).getReg());
558 LLT ShiftAmtTy = MRI.getType(MI.getOperand(2).getReg());
559 LLT SrcTy = MRI.getType(MI.getOperand(1).getReg());
570 !MRI.getType(DstReg).isValid()) ||
572 !MRI.getType(SrcReg).isValid())) {
593 LLT DstTy = MRI.getType(MI.getOperand(0).getReg());
594 LLT SrcTy = MRI.getType(MI.getOperand(1).getReg());
622 LLT Ty = MRI.getType(MO.getReg());
639 LLT SrcTy = MRI.getType(MI.getOperand(1).getReg());
646 if (MRI.getType(MI.getOperand(0).getReg()).isVector())
652 if (MRI.getType(MI.getOperand(0).getReg()).isVector())
712 LLT SrcTy = MRI.getType(MI.getOperand(2).getReg());
768 LLT SrcTy = MRI.getType(MI.getOperand(MI.getNumOperands()-1).getReg());
804 LLT SrcTy = MRI.getType(MI.getOperand(1).getReg());
825 const LLT SrcTy = MRI.getType(VReg);
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp 86 const LLT Ty = MRI.getType(Reg);
103 const LLT Ty = MRI.getType(Reg);
182 const LLT DefTy = MRI->getType(DefReg);
463 LLT DstTy = MRI->getType(DstReg);
464 LLT SrcTy = MRI->getType(MI.getOperand(1).getReg());
507 LLT DstTy = MRI->getType(DstReg0);
508 LLT SrcTy = MRI->getType(SrcReg);
566 LLT Src1Ty = MRI->getType(Src1Reg);
568 unsigned DstSize = MRI->getType(DstReg).getSizeInBits();
983 LLT Ty = MRI->getType(VData);
1168 const LLT DstTy = MRI->getType(DstReg);
1169 const LLT SrcTy = MRI->getType(SrcReg);
1224 const LLT DstTy = MRI->getType(DstReg);
1225 const LLT SrcTy = MRI->getType(SrcReg);
1378 const LLT DstTy = MRI.getType(DstReg);
1416 Size = MRI->getType(DstReg).getSizeInBits();
1541 const LLT PtrTy = MRI->getType(I.getOperand(1).getReg());
1629 LLT Ty = MRI->getType(DstReg);
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp 1221 LLT DstTy = MRI.getType(Dst);
1222 LLT SrcTy = MRI.getType(Src);
1322 LLT Ty = MRI.getType(Src);
1352 assert(MRI.getType(Src) == S64);
1398 assert(MRI.getType(Src) == S64);
1445 assert(MRI.getType(Src) == S64 && MRI.getType(Dst) == S64);
1445 assert(MRI.getType(Src) == S64 && MRI.getType(Dst) == S64);
1504 LLT VecTy = MRI.getType(Vec);
1506 assert(EltTy == MRI.getType(Dst));
1534 LLT VecTy = MRI.getType(Vec);
1536 assert(EltTy == MRI.getType(Ins));
1556 LLT Ty = MRI.getType(DstReg);
1638 LLT Ty = MRI.getType(DstReg);
1719 LLT Ty = MRI.getType(MI.getOperand(0).getReg());
1745 MRI.getType(PtrReg).getAddressSpace()) &&
1748 LLT ValTy = MRI.getType(CmpVal);
1796 LLT Ty = MRI.getType(DstReg);
1864 LLT DstTy = MRI.getType(Dst);
1885 LLT ResTy = MRI.getType(Res);
2020 LLT DstTy = MRI.getType(DstReg);
2060 LLT StoreVT = MRI.getType(Reg);
2080 LLT Ty = MRI.getType(VData);
lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp 68 if (MRI.getType(Reg) == LLT::scalar(1))
447 LLT PtrTy = MRI.getType(MI.getOperand(1).getReg());
450 LLT LoadTy = MRI.getType(MI.getOperand(0).getReg());
577 assert(MRI.getType(MI.getOperand(0).getReg()).getSizeInBits() == 1);
628 assert(MRI.getType(Reg).getSizeInBits() == NewTy.getSizeInBits());
687 LLT ResTy = MRI.getType(Def.getReg());
770 LLT OpTy = MRI.getType(Op.getReg());
1041 const LLT LoadTy = MRI.getType(DstReg);
1070 LLT PtrTy = MRI.getType(MI.getOperand(1).getReg());
1095 Register TmpReg = MRI.createGenericVirtualRegister(MRI.getType(DstReg));
1156 LLT StoreVT = MRI.getType(Reg);
1257 LLT Ty = MRI.getType(VData);
1334 LLT DstTy = MRI.getType(DstReg);
1384 LLT DstTy = MRI.getType(DstReg);
1438 LLT DstTy = MRI.getType(DstReg);
1474 LLT Ty = MRI.getType(DstReg);
1496 LLT SrcTy = MRI.getType(SrcReg);
1503 LLT DstTy = MRI.getType(DstReg);
1594 LLT DstTy = MRI.getType(DstReg);
1665 LLT DstTy = MRI.getType(DstReg);
1670 LLT SrcTy = MRI.getType(SrcReg);
1732 LLT SrcTy = MRI.getType(SrcReg);
1733 LLT InsTy = MRI.getType(InsReg);
2037 LLT LoadTy = MRI.getType(MI.getOperand(0).getReg());
2039 LLT PtrTy = MRI.getType(PtrReg);
2175 unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
2197 unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
2325 unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
2333 unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
2340 unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
2367 LLT DstTy = MRI.getType(MI.getOperand(0).getReg());
2370 unsigned SrcSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits();
2387 unsigned DstSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
2388 unsigned SrcSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits();
2408 unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
2458 unsigned Size = MRI.getType(MI.getOperand(2).getReg()).getSizeInBits();
2468 unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
2486 unsigned Size = MRI.getType(MI.getOperand(2).getReg()).getSizeInBits();
2507 unsigned DstSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
2508 unsigned SrcSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits();
2509 unsigned IdxSize = MRI.getType(MI.getOperand(2).getReg()).getSizeInBits();
2524 unsigned VecSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
2525 unsigned InsertSize = MRI.getType(MI.getOperand(2).getReg()).getSizeInBits();
2526 unsigned IdxSize = MRI.getType(MI.getOperand(3).getReg()).getSizeInBits();
2618 unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
2623 unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
2633 unsigned Size0 = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
2634 unsigned Size2 = MRI.getType(RSrc).getSizeInBits();
2635 unsigned Size3 = MRI.getType(Offset).getSizeInBits();
2651 unsigned Dst0Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
2652 unsigned Dst1Size = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits();
2656 unsigned SrcSize = MRI.getType(MI.getOperand(3).getReg()).getSizeInBits();
2667 unsigned Src0Size = MRI.getType(Src0Reg).getSizeInBits();
2668 unsigned Src1Size = MRI.getType(Src1Reg).getSizeInBits();
2669 unsigned DstSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
2679 unsigned DstSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
2682 unsigned OpSize = MRI.getType(MI.getOperand(2).getReg()).getSizeInBits();
2692 unsigned IdxSize = MRI.getType(IdxReg).getSizeInBits();
2698 unsigned DstSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
2699 unsigned SrcSize = MRI.getType(MI.getOperand(2).getReg()).getSizeInBits();
2705 unsigned DstSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
2707 unsigned SrcSize = MRI.getType(SrcReg).getSizeInBits();
2710 unsigned IdxSize = MRI.getType(IdxReg).getSizeInBits();
2738 unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
2752 unsigned DstSize = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
2784 unsigned Size0 = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
2785 unsigned Size2 = MRI.getType(RSrc).getSizeInBits();
2786 unsigned Size3 = MRI.getType(VIndex).getSizeInBits();
2787 unsigned Size4 = MRI.getType(Offset).getSizeInBits();
2907 unsigned Size = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
2967 assert(MRI.getType(MI.getOperand(0).getReg()).getSizeInBits() == 1);
lib/Target/AMDGPU/SIRegisterInfo.cpp 1838 return getRegClassForTypeOnBank(MRI.getType(MO.getReg()), *RB, MRI);
lib/Target/ARM/ARMCallLowering.cpp 319 assert(MRI.getType(ValVReg).isScalar() && "Only scalars supported atm");
lib/Target/ARM/ARMInstructionSelector.cpp 191 const unsigned Size = MRI.getType(Reg).getSizeInBits();
241 assert(MRI.getType(VReg0).getSizeInBits() == 64 &&
246 assert(MRI.getType(VReg1).getSizeInBits() == 32 &&
251 assert(MRI.getType(VReg2).getSizeInBits() == 32 &&
273 assert(MRI.getType(VReg0).getSizeInBits() == 32 &&
278 assert(MRI.getType(VReg1).getSizeInBits() == 32 &&
283 assert(MRI.getType(VReg2).getSizeInBits() == 64 &&
504 return MRI.getType(LHSReg) == MRI.getType(RHSReg) &&
504 return MRI.getType(LHSReg) == MRI.getType(RHSReg) &&
512 if (MRI.getType(Reg).getSizeInBits() != ExpectedSize) {
864 assert(MRI.getType(I.getOperand(0).getReg()).getSizeInBits() <= 32 &&
867 LLT SrcTy = MRI.getType(I.getOperand(1).getReg());
927 assert(MRI.getType(SrcReg).getSizeInBits() == 64 && "Unsupported size");
928 assert(MRI.getType(DstReg).getSizeInBits() <= 32 && "Unsupported size");
960 if (!MRI.getType(I.getOperand(0).getReg()).isPointer()) {
988 unsigned Size = MRI.getType(I.getOperand(0).getReg()).getSizeInBits() / 8;
1042 unsigned Size = MRI.getType(OpReg).getSizeInBits();
1087 LLT ValTy = MRI.getType(Reg);
lib/Target/ARM/ARMLegalizerInfo.cpp 375 auto Size = MRI.getType(OriginalResult).getSizeInBits();
397 assert(MRI.getType(MI.getOperand(2).getReg()) ==
398 MRI.getType(MI.getOperand(3).getReg()) &&
400 auto OpSize = MRI.getType(MI.getOperand(2).getReg()).getSizeInBits();
435 : MRI.createGenericVirtualRegister(MRI.getType(OriginalResult));
lib/Target/ARM/ARMRegisterBankInfo.cpp 234 LLT Ty = MRI.getType(MI.getOperand(0).getReg());
269 LLT LargeTy = MRI.getType(MI.getOperand(1).getReg());
279 LLT Ty = MRI.getType(MI.getOperand(0).getReg());
292 LLT Ty = MRI.getType(MI.getOperand(0).getReg());
299 LLT Ty = MRI.getType(MI.getOperand(0).getReg());
313 LLT ToTy = MRI.getType(MI.getOperand(0).getReg());
314 LLT FromTy = MRI.getType(MI.getOperand(1).getReg());
322 LLT ToTy = MRI.getType(MI.getOperand(0).getReg());
323 LLT FromTy = MRI.getType(MI.getOperand(1).getReg());
332 LLT ToTy = MRI.getType(MI.getOperand(0).getReg());
333 LLT FromTy = MRI.getType(MI.getOperand(1).getReg());
346 LLT ToTy = MRI.getType(MI.getOperand(0).getReg());
347 LLT FromTy = MRI.getType(MI.getOperand(1).getReg());
359 LLT Ty = MRI.getType(MI.getOperand(0).getReg());
373 LLT Ty = MRI.getType(MI.getOperand(0).getReg());
375 LLT Ty2 = MRI.getType(MI.getOperand(1).getReg());
387 LLT Ty2 = MRI.getType(MI.getOperand(2).getReg());
397 LLT Ty = MRI.getType(MI.getOperand(0).getReg());
399 LLT Ty1 = MRI.getType(MI.getOperand(2).getReg());
400 LLT Ty2 = MRI.getType(MI.getOperand(3).getReg());
419 LLT Ty = MRI.getType(MI.getOperand(0).getReg());
420 LLT Ty1 = MRI.getType(MI.getOperand(1).getReg());
421 LLT Ty2 = MRI.getType(MI.getOperand(2).getReg());
434 LLT Ty = MRI.getType(MI.getOperand(0).getReg());
435 LLT Ty1 = MRI.getType(MI.getOperand(1).getReg());
436 LLT Ty2 = MRI.getType(MI.getOperand(2).getReg());
457 unsigned Size = MRI.getType(MaybeReg.getReg()).getSizeInBits();
lib/Target/Mips/MipsInstructionSelector.cpp 94 const unsigned DstSize = MRI.getType(DstReg).getSizeInBits();
211 MRI.getType(DestReg).getElementType().getSizeInBytes();
372 const unsigned OpSize = MRI.getType(DestReg).getSizeInBits();
463 MRI.getType(I.getOperand(0).getReg()).getSizeInBits(),
480 unsigned Size = MRI.getType(I.getOperand(0).getReg()).getSizeInBits();
513 unsigned Size = MRI.getType(I.getOperand(0).getReg()).getSizeInBits();
523 unsigned FromSize = MRI.getType(I.getOperand(1).getReg()).getSizeInBits();
524 unsigned ToSize = MRI.getType(I.getOperand(0).getReg()).getSizeInBits();
762 unsigned Size = MRI.getType(I.getOperand(2).getReg()).getSizeInBits();
lib/Target/Mips/MipsLegalizerInfo.cpp 258 LLT DstTy = MRI.getType(Dst);
259 LLT SrcTy = MRI.getType(Src);
lib/Target/Mips/MipsRegisterBankInfo.cpp 173 assert(!MRI.getType(Reg).isPointer() &&
188 assert(!MRI.getType(Reg).isPointer() &&
423 LLT RegTy = MRI.getType(Op.getReg());
434 const LLT Op0Ty = MRI.getType(MI.getOperand(0).getReg());
556 unsigned Op2Size = MRI.getType(MI.getOperand(2).getReg()).getSizeInBits();
572 unsigned SizeFP = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits();
578 assert((MRI.getType(MI.getOperand(1).getReg()).getSizeInBits() == 32) &&
637 assert(MRI.getType(Dest) == LLT::scalar(32) && "Unexpected operand type.");
642 assert(MRI.getType(Dest).isPointer() && "Unexpected operand type.");
lib/Target/X86/X86InstructionSelector.cpp 247 getRegClass(MRI.getType(SrcReg), SrcRegBank);
277 getRegClass(MRI.getType(DstReg), DstRegBank);
476 assert(MRI.getType(I.getOperand(0).getReg()).isPointer() &&
507 LLT Ty = MRI.getType(DefReg);
567 LLT Ty = MRI.getType(DefReg);
620 LLT Ty = MRI.getType(DefReg);
639 LLT Ty = MRI.getType(DefReg);
714 const LLT DstTy = MRI.getType(DstReg);
715 const LLT SrcTy = MRI.getType(SrcReg);
778 const LLT DstTy = MRI.getType(DstReg);
779 const LLT SrcTy = MRI.getType(SrcReg);
889 const LLT DstTy = MRI.getType(DstReg);
890 const LLT SrcTy = MRI.getType(SrcReg);
953 LLT Ty = MRI.getType(LHS);
1015 LLT Ty = MRI.getType(LhsReg);
1089 const LLT DstTy = MRI.getType(DstReg);
1147 const LLT DstTy = MRI.getType(DstReg);
1148 const LLT SrcTy = MRI.getType(SrcReg);
1198 const LLT DstTy = MRI.getType(DstReg);
1199 const LLT SrcTy = MRI.getType(SrcReg);
1236 const LLT DstTy = MRI.getType(DstReg);
1237 const LLT SrcTy = MRI.getType(SrcReg);
1280 const LLT DstTy = MRI.getType(DstReg);
1281 const LLT InsertRegTy = MRI.getType(InsertReg);
1336 unsigned DefSize = MRI.getType(I.getOperand(0).getReg()).getSizeInBits();
1363 const LLT DstTy = MRI.getType(DstReg);
1364 const LLT SrcTy = MRI.getType(SrcReg0);
1435 const LLT DstTy = MRI.getType(DstReg);
1498 const LLT DstTy = MRI.getType(DstReg);
1530 const LLT RegTy = MRI.getType(DstReg);
1531 assert(RegTy == MRI.getType(Op1Reg) && RegTy == MRI.getType(Op2Reg) &&
1531 assert(RegTy == MRI.getType(Op1Reg) && RegTy == MRI.getType(Op2Reg) &&
lib/Target/X86/X86RegisterBankInfo.cpp 120 OpRegBankIdx[Idx] = getPartialMappingIdx(MRI.getType(MO.getReg()), isFP);
150 LLT Ty = MRI.getType(MI.getOperand(0).getReg());
152 if (NumOperands != 3 || (Ty != MRI.getType(MI.getOperand(1).getReg())) ||
153 (Ty != MRI.getType(MI.getOperand(2).getReg())))
188 LLT Ty = MRI.getType(MI.getOperand(0).getReg());
214 const LLT Ty0 = MRI.getType(Op0.getReg());
215 const LLT Ty1 = MRI.getType(Op1.getReg());
224 LLT Ty1 = MRI.getType(MI.getOperand(2).getReg());
225 LLT Ty2 = MRI.getType(MI.getOperand(3).getReg());
243 const LLT Ty0 = MRI.getType(Op0.getReg());
244 const LLT Ty1 = MRI.getType(Op1.getReg());