Searched refs:LastUse (Results 1 – 8 of 8) sorted by relevance
291 std::map<RegisterRef,IndexType> LastDef, LastUse; in computeInitialLiveRanges() local302 auto closeRange = [&LastUse,&LastDef,&LiveMap] (RegisterRef R) -> void { in computeInitialLiveRanges()303 auto LD = LastDef[R], LU = LastUse[R]; in computeInitialLiveRanges()309 LastUse[R] = LastDef[R] = IndexType::None; in computeInitialLiveRanges()327 LastUse[S] = Index; in computeInitialLiveRanges()377 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) in computeInitialLiveRanges()385 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) in computeInitialLiveRanges()388 LastDef[S] = LastUse[S] = Index; in computeInitialLiveRanges()400 LastUse[R] = IndexType::Exit; in computeInitialLiveRanges()404 for (auto &I : LastUse) in computeInitialLiveRanges()
275 MachineInstr *LastUse = PhysRegUse[Reg]; in FindLastRefOrPartRef() local276 if (!LastDef && !LastUse) in FindLastRefOrPartRef()279 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in FindLastRefOrPartRef()304 MachineInstr *LastUse = PhysRegUse[Reg]; in HandlePhysRegKill() local305 if (!LastDef && !LastUse) in HandlePhysRegKill()308 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in HandlePhysRegKill()
204 MachineInstr *LastUse = nullptr; ///< Last instr to use reg. member1006 LRI->LastUse = &MI; in defineLiveThroughVirtReg()1064 bool Kill = LRI->LastUse == nullptr; in defineVirtReg()1083 LRI->LastUse = nullptr; in defineVirtReg()1115 assert((!MO.isKill() || LRI->LastUse == &MI) && "Invalid kill flag"); in useVirtReg()1142 LRI->LastUse = &MI; in useVirtReg()
269 unsigned LastUse = Dist; in noUseAfterLastDef() local277 if (MO.isUse() && DI->second < LastUse) in noUseAfterLastDef()278 LastUse = DI->second; in noUseAfterLastDef()283 return !(LastUse > LastDef && LastUse < Dist); in noUseAfterLastDef()
1446 SlotIndex LastUse = Before; in findLastUseBefore() local1457 if (InstSlot > LastUse && InstSlot < OldIdx) in findLastUseBefore()1458 LastUse = InstSlot.getRegSlot(); in findLastUseBefore()1460 return LastUse; in findLastUseBefore()
1261 SlotIndex LastUse = End.getPrevSlot(); in extendPHIRange() local1269 if (PSR.liveAt(LastUse)) in extendPHIRange()
1445 for (auto LastUse : LastUses[MI]) { in computeMaxSetPressure() local1448 EraseReg(LiveRegSets[Iter - 1], LastUse); in computeMaxSetPressure()1450 EraseReg(LiveRegSets[Iter], LastUse); in computeMaxSetPressure()
1663 bool LastUse = MMO->getFlags() & MOLastUse; in buildSpillLoadStore() local1664 MIB.addImm(LastUse ? AMDGPU::CPol::TH_LU : 0); // cpol in buildSpillLoadStore()