Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBlockRanges.cpp291 std::map<RegisterRef,IndexType> LastDef, LastUse; in computeInitialLiveRanges() local
302 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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveVariables.cpp275 MachineInstr *LastUse = PhysRegUse[Reg]; in FindLastRefOrPartRef() local
276 if (!LastDef && !LastUse) in FindLastRefOrPartRef()
279 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in FindLastRefOrPartRef()
304 MachineInstr *LastUse = PhysRegUse[Reg]; in HandlePhysRegKill() local
305 if (!LastDef && !LastUse) in HandlePhysRegKill()
308 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in HandlePhysRegKill()
H A DRegAllocFast.cpp204 MachineInstr *LastUse = nullptr; ///< Last instr to use reg. member
1006 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()
H A DTwoAddressInstructionPass.cpp269 unsigned LastUse = Dist; in noUseAfterLastDef() local
277 if (MO.isUse() && DI->second < LastUse) in noUseAfterLastDef()
278 LastUse = DI->second; in noUseAfterLastDef()
283 return !(LastUse > LastDef && LastUse < Dist); in noUseAfterLastDef()
H A DLiveIntervals.cpp1446 SlotIndex LastUse = Before; in findLastUseBefore() local
1457 if (InstSlot > LastUse && InstSlot < OldIdx) in findLastUseBefore()
1458 LastUse = InstSlot.getRegSlot(); in findLastUseBefore()
1460 return LastUse; in findLastUseBefore()
H A DSplitKit.cpp1261 SlotIndex LastUse = End.getPrevSlot(); in extendPHIRange() local
1269 if (PSR.liveAt(LastUse)) in extendPHIRange()
H A DMachinePipeliner.cpp1445 for (auto LastUse : LastUses[MI]) { in computeMaxSetPressure() local
1448 EraseReg(LiveRegSets[Iter - 1], LastUse); in computeMaxSetPressure()
1450 EraseReg(LiveRegSets[Iter], LastUse); in computeMaxSetPressure()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIRegisterInfo.cpp1663 bool LastUse = MMO->getFlags() & MOLastUse; in buildSpillLoadStore() local
1664 MIB.addImm(LastUse ? AMDGPU::CPol::TH_LU : 0); // cpol in buildSpillLoadStore()