Lines Matching refs:Reg
85 Register Reg = O->getReg(); in stepForward() local
86 if (!Register::isPhysicalRegister(Reg)) in stepForward()
91 Clobbers.push_back(std::make_pair(Reg, &*O)); in stepForward()
96 removeReg(Reg); in stepForward()
103 for (auto Reg : Clobbers) { in stepForward() local
106 if (Reg.second->isReg() && Reg.second->isDead()) in stepForward()
108 if (Reg.second->isRegMask() && in stepForward()
109 MachineOperand::clobbersPhysReg(Reg.second->getRegMask(), Reg.first)) in stepForward()
111 addReg(Reg.first); in stepForward()
140 MCPhysReg Reg) const { in available()
141 if (LiveRegs.count(Reg)) in available()
143 if (MRI.isReserved(Reg)) in available()
145 for (MCRegAliasIterator R(Reg, TRI, false); R.isValid(); ++R) { in available()
155 MCPhysReg Reg = LI.PhysReg; in addBlockLiveIns() local
157 MCSubRegIndexIterator S(Reg, TRI); in addBlockLiveIns()
160 addReg(Reg); in addBlockLiveIns()
262 for (MCPhysReg Reg : LiveRegs) { in addLiveIns() local
263 if (MRI.isReserved(Reg)) in addLiveIns()
267 for (MCSuperRegIterator SReg(Reg, &TRI); SReg.isValid(); ++SReg) { in addLiveIns()
275 MBB.addLiveIn(Reg); in addLiveIns()
296 Register Reg = MO->getReg(); in recomputeLivenessFlags() local
297 if (Reg == 0) in recomputeLivenessFlags()
299 assert(Register::isPhysicalRegister(Reg)); in recomputeLivenessFlags()
301 bool IsNotLive = LiveRegs.available(MRI, Reg); in recomputeLivenessFlags()
307 if (Info.getReg() == Reg) { in recomputeLivenessFlags()
325 Register Reg = MO->getReg(); in recomputeLivenessFlags() local
326 if (Reg == 0) in recomputeLivenessFlags()
328 assert(Register::isPhysicalRegister(Reg)); in recomputeLivenessFlags()
330 bool IsNotLive = LiveRegs.available(MRI, Reg); in recomputeLivenessFlags()