Searched refs:LastUse (Results 1 – 6 of 6) sorted by relevance
71 MachineInstr *LastUse; // Last instr to use reg. member78 : LastUse(0), VirtReg(v), PhysReg(0), LastOpNum(0), Dirty(false) {} in LiveReg()234 if (!LR.LastUse) return; in addKillFlag()235 MachineOperand &MO = LR.LastUse->getOperand(LR.LastOpNum); in addKillFlag()236 if (MO.isUse() && !LR.LastUse->isRegTiedToDefOperand(LR.LastOpNum)) { in addKillFlag()240 LR.LastUse->addRegisterKilled(LR.PhysReg, TRI, true); in addKillFlag()283 bool SpillKill = LR.LastUse != MI; in spillVirtReg()322 LR.LastUse = 0; // Don't kill register again in spillVirtReg()596 } else if (LRI->LastUse) { in defineVirtReg()599 if (LRI->LastUse != MI || LRI->LastUse->getOperand(LRI->LastOpNum).isUse()) in defineVirtReg()[all …]
283 MachineInstr *LastUse = PhysRegUse[Reg]; in FindLastRefOrPartRef() local284 if (!LastDef && !LastUse) in FindLastRefOrPartRef()287 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in FindLastRefOrPartRef()313 MachineInstr *LastUse = PhysRegUse[Reg]; in HandlePhysRegKill() local314 if (!LastDef && !LastUse) in HandlePhysRegKill()317 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in HandlePhysRegKill()
389 MachineOperand *LastUse = findLastUse(MBB, SrcReg); in runOnMachineFunction() local390 assert(LastUse); in runOnMachineFunction()391 SlotIndex LastUseIndex = LI->getInstructionIndex(LastUse->getParent()); in runOnMachineFunction()393 LastUse->setIsKill(true); in runOnMachineFunction()
317 unsigned LastUse = Dist; in noUseAfterLastDef() local327 if (MO.isUse() && DI->second < LastUse) in noUseAfterLastDef()328 LastUse = DI->second; in noUseAfterLastDef()333 return !(LastUse > LastDef && LastUse < Dist); in noUseAfterLastDef()
976 SlotIndex LastUse = NewIdx; in findLastUseBefore() local983 if (InstSlot > LastUse && InstSlot < OldIdx) in findLastUseBefore()984 LastUse = InstSlot; in findLastUseBefore()986 return LastUse; in findLastUseBefore()
958 SlotIndex LastUse = End.getPrevSlot(); in extendPHIKillRanges() local961 if (Edit->getParent().liveAt(LastUse)) { in extendPHIKillRanges()962 assert(RegAssign.lookup(LastUse) == RegIdx && in extendPHIKillRanges()