Lines Matching refs:Reg
87 Register Reg = O->getReg(); in stepForward() local
88 if (!Reg.isPhysical()) in stepForward()
93 Clobbers.push_back(std::make_pair(Reg, &*O)); in stepForward()
97 removeReg(Reg); in stepForward()
105 for (auto Reg : Clobbers) { in stepForward() local
108 if (Reg.second->isReg() && Reg.second->isDead()) in stepForward()
110 if (Reg.second->isRegMask() && in stepForward()
111 MachineOperand::clobbersPhysReg(Reg.second->getRegMask(), Reg.first)) in stepForward()
113 addReg(Reg.first); in stepForward()
142 MCPhysReg Reg) const { in available()
143 if (LiveRegs.count(Reg)) in available()
145 if (MRI.isReserved(Reg)) in available()
147 for (MCRegAliasIterator R(Reg, TRI, false); R.isValid(); ++R) { in available()
157 MCPhysReg Reg = LI.PhysReg; in addBlockLiveIns() local
159 MCSubRegIndexIterator S(Reg, TRI); in addBlockLiveIns()
162 addReg(Reg); in addBlockLiveIns()
264 for (MCPhysReg Reg : LiveRegs) { in addLiveIns() local
265 if (MRI.isReserved(Reg)) in addLiveIns()
268 if (any_of(TRI.superregs(Reg), [&](MCPhysReg SReg) { in addLiveIns()
272 MBB.addLiveIn(Reg); in addLiveIns()
293 Register Reg = MO->getReg(); in recomputeLivenessFlags() local
294 if (Reg == 0) in recomputeLivenessFlags()
296 assert(Reg.isPhysical()); in recomputeLivenessFlags()
298 bool IsNotLive = LiveRegs.available(MRI, Reg); in recomputeLivenessFlags()
304 if (Info.getReg() == Reg) { in recomputeLivenessFlags()
322 Register Reg = MO->getReg(); in recomputeLivenessFlags() local
323 if (Reg == 0) in recomputeLivenessFlags()
325 assert(Reg.isPhysical()); in recomputeLivenessFlags()
327 bool IsNotLive = LiveRegs.available(MRI, Reg); in recomputeLivenessFlags()