reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/MachineVerifier.cpp
  356       MRI->getNumVirtRegs())
  367   MRI = &MF.getRegInfo();
  578   regsReserved = MRI->reservedRegsFrozen() ? MRI->getReservedRegs()
  578   regsReserved = MRI->reservedRegsFrozen() ? MRI->getReservedRegs()
  600   MRI->verifyUseLists();
  622       MachineFunctionProperties::Property::NoPHIs) && MRI->tracksLiveness()) {
  798   if (MRI->tracksLiveness()) {
  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());
 1556       unsigned SrcSize = TRI->getRegSizeInBits(SrcOp.getReg(), *MRI);
 1557       unsigned DstSize = TRI->getRegSizeInBits(DstOp.getReg(), *MRI);
 1650     if (MRI->tracksLiveness() && !MI->isDebugValue())
 1677     if (!MRI->isSSA() && MO->isUse() &&
 1701         if (MRI->isReserved(Reg)) {
 1712       const TargetRegisterClass *RC = MRI->getRegClassOrNull(Reg);
 1724         LLT Ty = MRI->getType(Reg);
 1731         const RegisterBank *RegBank = MRI->getRegBankOrNull(Reg);
 1961           if (MRI->isReservedRegUnit(*Units))
 1978                                : MRI->getMaxLaneMaskForVReg(Reg);
 2039       } else if (MRI->def_empty(Reg)) {
 2063     if (MRI->isSSA() && Register::isVirtualRegister(Reg) &&
 2064         std::next(MRI->def_begin(Reg)) != MRI->def_end())
 2064         std::next(MRI->def_begin(Reg)) != MRI->def_end())
 2081               : MRI->getMaxLaneMaskForVReg(Reg);
 2314   for (unsigned i = 0, e = MRI->getNumVirtRegs(); i != e; ++i) {
 2340   for (unsigned i = 0, e = MRI->getNumVirtRegs(); i != e; ++i) {
 2344     if (MRI->reg_nodbg_empty(Reg))
 2591         if (!MRI->shouldTrackSubRegLiveness(Reg) || LaneMask.any() ||
 2616     OwnerLI.computeSubRangeUndefs(Undefs, LaneMask, *MRI, *Indexes);
 2686   LaneBitmask MaxMask = MRI->getMaxLaneMaskForVReg(Reg);