Lines Matching defs:LiveReg
200 struct LiveReg {
208 explicit LiveReg(Register VirtReg) : VirtReg(VirtReg) {}
215 using LiveRegMap = SparseSet<LiveReg, identity<unsigned>, uint16_t>;
359 void assignVirtToPhysReg(MachineInstr &MI, LiveReg &, MCPhysReg PhysReg);
360 void allocVirtReg(MachineInstr &MI, LiveReg &LR, Register Hint,
371 MCPhysReg getErrorAssignment(const LiveReg &LR, MachineInstr &MI,
686 for (const LiveReg &LR : LiveVirtRegs) {
842 void RegAllocFastImpl::assignVirtToPhysReg(MachineInstr &AtMI, LiveReg &LR,
894 void RegAllocFastImpl::allocVirtReg(MachineInstr &MI, LiveReg &LR,
1061 std::tie(LRI, New) = LiveVirtRegs.insert(LiveReg(VirtReg));
1129 std::tie(LRI, New) = LiveVirtRegs.insert(LiveReg(VirtReg));
1172 MCPhysReg RegAllocFastImpl::getErrorAssignment(const LiveReg &LR,
1289 for (const LiveReg &LR : LiveVirtRegs) {
1575 for (const LiveReg &LR : LiveVirtRegs) {
1753 for (const auto &LiveReg : MBB.liveouts())
1754 setPhysRegState(LiveReg.PhysReg, regPreAssigned);