Searched refs:LastUse (Results 1 – 6 of 6) sorted by relevance
292 std::map<RegisterRef,IndexType> LastDef, LastUse; in computeInitialLiveRanges() local303 auto closeRange = [&LastUse,&LastDef,&LiveMap] (RegisterRef R) -> void { in computeInitialLiveRanges()304 auto LD = LastDef[R], LU = LastUse[R]; in computeInitialLiveRanges()310 LastUse[R] = LastDef[R] = IndexType::None; in computeInitialLiveRanges()328 LastUse[S] = Index; in computeInitialLiveRanges()379 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) in computeInitialLiveRanges()388 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) in computeInitialLiveRanges()391 LastDef[S] = LastUse[S] = Index; in computeInitialLiveRanges()403 LastUse[R] = IndexType::Exit; in computeInitialLiveRanges()407 for (auto &I : LastUse) in computeInitialLiveRanges()
280 MachineInstr *LastUse = PhysRegUse[Reg]; in FindLastRefOrPartRef() local281 if (!LastDef && !LastUse) in FindLastRefOrPartRef()284 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in FindLastRefOrPartRef()310 MachineInstr *LastUse = PhysRegUse[Reg]; in HandlePhysRegKill() local311 if (!LastDef && !LastUse) in HandlePhysRegKill()314 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in HandlePhysRegKill()
95 MachineInstr *LastUse = nullptr; ///< Last instr to use reg. member901 LRI->LastUse = &MI; in defineLiveThroughVirtReg()949 bool Kill = LRI->LastUse == nullptr; in defineVirtReg()951 LRI->LastUse = nullptr; in defineVirtReg()984 assert((!MO.isKill() || LRI->LastUse == &MI) && "Invalid kill flag"); in useVirtReg()1010 LRI->LastUse = &MI; in useVirtReg()
248 unsigned LastUse = Dist; in noUseAfterLastDef() local256 if (MO.isUse() && DI->second < LastUse) in noUseAfterLastDef()257 LastUse = DI->second; in noUseAfterLastDef()262 return !(LastUse > LastDef && LastUse < Dist); in noUseAfterLastDef()
1453 SlotIndex LastUse = Before; in findLastUseBefore() local1464 if (InstSlot > LastUse && InstSlot < OldIdx) in findLastUseBefore()1465 LastUse = InstSlot.getRegSlot(); in findLastUseBefore()1467 return LastUse; in findLastUseBefore()
1247 SlotIndex LastUse = End.getPrevSlot(); in extendPHIRange() local1255 if (PSR.liveAt(LastUse)) in extendPHIRange()