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

References

lib/CodeGen/RegisterCoalescer.cpp
  816   for (MachineOperand &MO : MRI->use_nodbg_operands(IntA.reg)) {
  840       !MRI->constrainRegClass(IntB.reg, MRI->getRegClass(IntA.reg)))
  840       !MRI->constrainRegClass(IntB.reg, MRI->getRegClass(IntA.reg)))
  859   for (MachineRegisterInfo::use_iterator UI = MRI->use_begin(IntA.reg),
  860                                          UE = MRI->use_end();
  919       LaneBitmask Mask = MRI->getMaxLaneMaskForVReg(IntA.reg);
  922       LaneBitmask Mask = MRI->getMaxLaneMaskForVReg(IntB.reg);
 1296       const TargetRegisterClass *DstRC = MRI->getRegClass(DstReg);
 1359     MRI->setRegClass(DstReg, NewRC);
 1387       LaneBitmask MaxMask = MRI->getMaxLaneMaskForVReg(DstReg);
 1479   if (MRI->use_nodbg_empty(SrcReg)) {
 1480     for (MachineOperand &UseMO : MRI->use_operands(SrcReg)) {
 1499   for (MachineOperand &UseMO : MRI->use_nodbg_operands(SrcReg)) {
 1587   for (MachineOperand &MO : MRI->reg_nodbg_operands(DstReg)) {
 1658     for (MachineOperand &MO : MRI->reg_operands(DstReg)) {
 1672        I = MRI->reg_instr_begin(SrcReg), E = MRI->reg_instr_end();
 1672        I = MRI->reg_instr_begin(SrcReg), E = MRI->reg_instr_end();
 1705       if (SubIdx != 0 && MO.isUse() && MRI->shouldTrackSubRegLiveness(DstReg)) {
 1708           LaneBitmask Mask = MRI->getMaxLaneMaskForVReg(DstInt->reg);
 1737   if (!MRI->isReserved(CP.getDstReg())) {
 1762     auto SrcRC = MRI->getRegClass(CP.getSrcReg());
 1763     auto DstRC = MRI->getRegClass(CP.getDstReg());
 1913     MRI->setRegClass(CP.getDstReg(), CP.getNewRC());
 1982   assert(MRI->isReserved(DstReg) && "Not a reserved register");
 1995   if (!MRI->isConstantPhysReg(DstReg)) {
 1999         if (!MRI->isReserved(*RI))
 2033     CopyMI = MRI->getVRegDef(SrcReg);
 2042     if (!MRI->hasOneNonDBGUse(SrcReg)) {
 2052     MachineInstr &DestMI = *MRI->getVRegDef(SrcReg);
 2053     CopyMI = &*MRI->use_instr_nodbg_begin(SrcReg);
 2057     if (!MRI->isConstantPhysReg(DstReg)) {
 2088   MRI->clearKillFlags(CP.getSrcReg());
 3306   bool TrackSubRegLiveness = MRI->shouldTrackSubRegLiveness(*CP.getNewRC());
 3394   MRI->clearKillFlags(LHS.reg);
 3395   MRI->clearKillFlags(RHS.reg);
 3533       Register::isPhysicalRegister(SrcReg) || !isTerminalReg(DstReg, Copy, MRI))
 3540   for (const MachineInstr &MI : MRI->reg_nodbg_instructions(SrcReg)) {
 3557         isTerminalReg(OtherReg, MI, MRI))
 3678   MRI = &fn.getRegInfo();
 3717     if (MRI->reg_nodbg_empty(Reg))
 3719     if (MRI->recomputeRegClass(Reg)) {
 3721                         << TRI->getRegClassName(MRI->getRegClass(Reg)) << '\n');
 3728         if (!MRI->shouldTrackSubRegLiveness(Reg)) {
 3732           LaneBitmask MaxMask = MRI->getMaxLaneMaskForVReg(Reg);