Lines Matching defs:LiveReg
84 struct LiveReg {
91 explicit LiveReg(Register VirtReg) : VirtReg(VirtReg) {}
98 using LiveRegMap = SparseSet<LiveReg>;
191 void addKillFlag(const LiveReg &LRI);
192 void killVirtReg(LiveReg &LR);
194 void spillVirtReg(MachineBasicBlock::iterator MI, LiveReg &LR);
201 void assignVirtToPhysReg(LiveReg &, MCPhysReg PhysReg);
211 void allocVirtReg(MachineInstr &MI, LiveReg &LR, Register Hint);
215 LiveReg &reloadVirtReg(MachineInstr &MI, unsigned OpNum, Register VirtReg,
369 void RegAllocFast::addKillFlag(const LiveReg &LR) {
388 void RegAllocFast::killVirtReg(LiveReg &LR) {
418 void RegAllocFast::spillVirtReg(MachineBasicBlock::iterator MI, LiveReg &LR) {
441 for (LiveReg &LR : LiveVirtRegs) {
611 void RegAllocFast::assignVirtToPhysReg(LiveReg &LR, MCPhysReg PhysReg) {
662 void RegAllocFast::allocVirtReg(MachineInstr &MI, LiveReg &LR, Register Hint0) {
783 std::tie(LRI, New) = LiveVirtRegs.insert(LiveReg(VirtReg));
809 RegAllocFast::LiveReg &RegAllocFast::reloadVirtReg(MachineInstr &MI,
816 std::tie(LRI, New) = LiveVirtRegs.insert(LiveReg(VirtReg));
931 LiveReg &LR = reloadVirtReg(MI, I, Reg, 0);
940 LiveReg &LR = reloadVirtReg(MI, I, Reg, 0);
1112 LiveReg &LR = reloadVirtReg(MI, I, Reg, CopyDstReg);