Lines Matching refs:Last
368 auto Last = MBB->getLastNonDebugInstr(); in getLiveInUses() local
369 if (Last == MBB->end()) in getLiveInUses()
371 return isReachingDefLiveOut(&*Last, PhysReg); in getLiveInUses()
481 for (MachineInstr &Last : in isRegUsedAfter()
483 LiveRegs.stepBackward(Last); in isRegUsedAfter()
485 return InstIds.lookup(&Last) > InstIds.lookup(MI); in isRegUsedAfter()
493 auto Last = MBB->getLastNonDebugInstr(); in isRegDefinedAfter() local
494 if (Last != MBB->end() && in isRegDefinedAfter()
495 getReachingDef(MI, PhysReg) != getReachingDef(&*Last, PhysReg)) in isRegDefinedAfter()
512 auto Last = MBB->getLastNonDebugInstr(); in isReachingDefLiveOut() local
514 if (Last != MBB->end() && getReachingDef(&*Last, PhysReg) != Def) in isReachingDefLiveOut()
518 for (auto &MO : Last->operands()) in isReachingDefLiveOut()
533 auto Last = MBB->getLastNonDebugInstr(); in getLocalLiveOutMIDef() local
534 if (Last == MBB->end()) in getLocalLiveOutMIDef()
537 int Def = getReachingDef(&*Last, PhysReg); in getLocalLiveOutMIDef()
538 for (auto &MO : Last->operands()) in getLocalLiveOutMIDef()
540 return &*Last; in getLocalLiveOutMIDef()