Lines Matching refs:LastDef
196 MachineInstr *LastDef = nullptr; in FindLastPartialDef() local
205 LastDef = Def; in FindLastPartialDef()
210 if (!LastDef) in FindLastPartialDef()
214 for (unsigned i = 0, e = LastDef->getNumOperands(); i != e; ++i) { in FindLastPartialDef()
215 MachineOperand &MO = LastDef->getOperand(i); in FindLastPartialDef()
225 return LastDef; in FindLastPartialDef()
232 MachineInstr *LastDef = PhysRegDef[Reg]; in HandlePhysRegUse() local
234 if (!LastDef && !PhysRegUse[Reg]) { in HandlePhysRegUse()
267 } else if (LastDef && !PhysRegUse[Reg] && in HandlePhysRegUse()
268 !LastDef->findRegisterDefOperand(Reg)) in HandlePhysRegUse()
270 LastDef->addOperand(MachineOperand::CreateReg(Reg, true/*IsDef*/, in HandlePhysRegUse()
282 MachineInstr *LastDef = PhysRegDef[Reg]; in FindLastRefOrPartRef() local
284 if (!LastDef && !LastUse) in FindLastRefOrPartRef()
287 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in FindLastRefOrPartRef()
293 if (Def && Def != LastDef) { in FindLastRefOrPartRef()
312 MachineInstr *LastDef = PhysRegDef[Reg]; in HandlePhysRegKill() local
314 if (!LastDef && !LastUse) in HandlePhysRegKill()
317 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in HandlePhysRegKill()
342 if (Def && Def != LastDef) { in HandlePhysRegKill()