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()
305 MachineInstr *LastUse = PhysRegUse[Reg]; in FindLastRefOrPartRef() local306 if (!LastDef && !LastUse) in FindLastRefOrPartRef()309 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in FindLastRefOrPartRef()334 MachineInstr *LastUse = PhysRegUse[Reg]; in HandlePhysRegKill() local335 if (!LastDef && !LastUse) in HandlePhysRegKill()338 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in HandlePhysRegKill()
201 MachineInstr *LastUse = nullptr; ///< Last instr to use reg. member1034 LRI->LastUse = &MI; in defineLiveThroughVirtReg()1092 bool Kill = LRI->LastUse == nullptr; in defineVirtReg()1111 LRI->LastUse = nullptr; in defineVirtReg()1143 assert((!MO.isKill() || LRI->LastUse == &MI) && "Invalid kill flag"); in useVirtReg()1170 LRI->LastUse = &MI; in useVirtReg()
342 unsigned LastUse = Dist; in noUseAfterLastDef() local350 if (MO.isUse() && DI->second < LastUse) in noUseAfterLastDef()351 LastUse = DI->second; in noUseAfterLastDef()356 return !(LastUse > LastDef && LastUse < Dist); in noUseAfterLastDef()
1471 SlotIndex LastUse = Before; in findLastUseBefore() local1482 if (InstSlot > LastUse && InstSlot < OldIdx) in findLastUseBefore()1483 LastUse = InstSlot.getRegSlot(); in findLastUseBefore()1485 return LastUse; in findLastUseBefore()
1260 SlotIndex LastUse = End.getPrevSlot(); in extendPHIRange() local1268 if (PSR.liveAt(LastUse)) in extendPHIRange()
1505 for (auto LastUse : LastUses[MI]) { in computeMaxSetPressure() local1508 EraseReg(LiveRegSets[Iter - 1], LastUse); in computeMaxSetPressure()1510 EraseReg(LiveRegSets[Iter], LastUse); in computeMaxSetPressure()
1671 bool LastUse = MMO->getFlags() & MOLastUse; in buildSpillLoadStore() local1672 MIB.addImm(LastUse ? AMDGPU::CPol::TH_LU : 0); // cpol in buildSpillLoadStore()