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()
269 for (MCSuperRegIterator SReg(Reg, &TRI); SReg.isValid(); ++SReg) { in addLiveIns()
277 MBB.addLiveIn(Reg); in addLiveIns()
298 Register Reg = MO->getReg(); in recomputeLivenessFlags() local
299 if (Reg == 0) in recomputeLivenessFlags()
301 assert(Reg.isPhysical()); in recomputeLivenessFlags()
303 bool IsNotLive = LiveRegs.available(MRI, Reg); in recomputeLivenessFlags()
309 if (Info.getReg() == Reg) { in recomputeLivenessFlags()
327 Register Reg = MO->getReg(); in recomputeLivenessFlags() local
328 if (Reg == 0) in recomputeLivenessFlags()
330 assert(Reg.isPhysical()); in recomputeLivenessFlags()
332 bool IsNotLive = LiveRegs.available(MRI, Reg); in recomputeLivenessFlags()