Home
last modified time | relevance | path

Searched refs:LastUse (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonBlockRanges.cpp292 std::map<RegisterRef,IndexType> LastDef, LastUse; in computeInitialLiveRanges() local
303 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DLiveVariables.cpp281 MachineInstr *LastUse = PhysRegUse[Reg]; in FindLastRefOrPartRef() local
282 if (!LastDef && !LastUse) in FindLastRefOrPartRef()
285 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in FindLastRefOrPartRef()
311 MachineInstr *LastUse = PhysRegUse[Reg]; in HandlePhysRegKill() local
312 if (!LastDef && !LastUse) in HandlePhysRegKill()
315 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in HandlePhysRegKill()
H A DRegAllocFast.cpp89 MachineInstr *LastUse = nullptr; ///< Last instr to use reg. member
867 LRI->LastUse = &MI; in defineLiveThroughVirtReg()
913 bool Kill = LRI->LastUse == nullptr; in defineVirtReg()
915 LRI->LastUse = nullptr; in defineVirtReg()
946 assert((!MO.isKill() || LRI->LastUse == &MI) && "Invalid kill flag"); in useVirtReg()
967 LRI->LastUse = &MI; in useVirtReg()
H A DTwoAddressInstructionPass.cpp247 unsigned LastUse = Dist; in noUseAfterLastDef() local
255 if (MO.isUse() && DI->second < LastUse) in noUseAfterLastDef()
256 LastUse = DI->second; in noUseAfterLastDef()
261 return !(LastUse > LastDef && LastUse < Dist); in noUseAfterLastDef()
H A DLiveIntervals.cpp1454 SlotIndex LastUse = Before; in findLastUseBefore() local
1465 if (InstSlot > LastUse && InstSlot < OldIdx) in findLastUseBefore()
1466 LastUse = InstSlot.getRegSlot(); in findLastUseBefore()
1468 return LastUse; in findLastUseBefore()
H A DSplitKit.cpp1253 SlotIndex LastUse = End.getPrevSlot(); in extendPHIRange() local
1261 if (PSR.liveAt(LastUse)) in extendPHIRange()