Lines Matching refs:LastUse
70 MachineInstr *LastUse; // Last instr to use reg. member
77 : LastUse(nullptr), VirtReg(v), PhysReg(0), LastOpNum(0), Dirty(false){} in LiveReg()
238 if (!LR.LastUse) return; in addKillFlag()
239 MachineOperand &MO = LR.LastUse->getOperand(LR.LastOpNum); in addKillFlag()
240 if (MO.isUse() && !LR.LastUse->isRegTiedToDefOperand(LR.LastOpNum)) { in addKillFlag()
244 LR.LastUse->addRegisterKilled(LR.PhysReg, TRI, true); in addKillFlag()
287 bool SpillKill = MachineBasicBlock::iterator(LR.LastUse) != MI; in spillVirtReg()
326 LR.LastUse = nullptr; // Don't kill register again in spillVirtReg()
617 } else if (LRI->LastUse) { in defineVirtReg()
620 if (LRI->LastUse != &MI || LRI->LastUse->getOperand(LRI->LastOpNum).isUse()) in defineVirtReg()
624 LRI->LastUse = &MI; in defineVirtReg()
676 LRI->LastUse = &MI; in reloadVirtReg()