Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DLiveVariables.cpp280 MachineInstr *LastUse = PhysRegUse[Reg]; in FindLastRefOrPartRef() local
281 if (!LastDef && !LastUse) in FindLastRefOrPartRef()
284 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in FindLastRefOrPartRef()
310 MachineInstr *LastUse = PhysRegUse[Reg]; in HandlePhysRegKill() local
311 if (!LastDef && !LastUse) in HandlePhysRegKill()
314 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in HandlePhysRegKill()
H A DRegAllocFast.cpp95 MachineInstr *LastUse = nullptr; ///< Last instr to use reg. member
901 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()
H A DTwoAddressInstructionPass.cpp248 unsigned LastUse = Dist; in noUseAfterLastDef() local
256 if (MO.isUse() && DI->second < LastUse) in noUseAfterLastDef()
257 LastUse = DI->second; in noUseAfterLastDef()
262 return !(LastUse > LastDef && LastUse < Dist); in noUseAfterLastDef()
H A DLiveIntervals.cpp1453 SlotIndex LastUse = Before; in findLastUseBefore() local
1464 if (InstSlot > LastUse && InstSlot < OldIdx) in findLastUseBefore()
1465 LastUse = InstSlot.getRegSlot(); in findLastUseBefore()
1467 return LastUse; in findLastUseBefore()
H A DSplitKit.cpp1247 SlotIndex LastUse = End.getPrevSlot(); in extendPHIRange() local
1255 if (PSR.liveAt(LastUse)) in extendPHIRange()