Home
last modified time | relevance | path

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

/freebsd/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/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveVariables.cpp305 MachineInstr *LastUse = PhysRegUse[Reg]; in FindLastRefOrPartRef() local
306 if (!LastDef && !LastUse) in FindLastRefOrPartRef()
309 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in FindLastRefOrPartRef()
334 MachineInstr *LastUse = PhysRegUse[Reg]; in HandlePhysRegKill() local
335 if (!LastDef && !LastUse) in HandlePhysRegKill()
338 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in HandlePhysRegKill()
H A DRegAllocFast.cpp201 MachineInstr *LastUse = nullptr; ///< Last instr to use reg. member
1034 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()
H A DTwoAddressInstructionPass.cpp342 unsigned LastUse = Dist; in noUseAfterLastDef() local
350 if (MO.isUse() && DI->second < LastUse) in noUseAfterLastDef()
351 LastUse = DI->second; in noUseAfterLastDef()
356 return !(LastUse > LastDef && LastUse < Dist); in noUseAfterLastDef()
H A DLiveIntervals.cpp1471 SlotIndex LastUse = Before; in findLastUseBefore() local
1482 if (InstSlot > LastUse && InstSlot < OldIdx) in findLastUseBefore()
1483 LastUse = InstSlot.getRegSlot(); in findLastUseBefore()
1485 return LastUse; in findLastUseBefore()
H A DSplitKit.cpp1260 SlotIndex LastUse = End.getPrevSlot(); in extendPHIRange() local
1268 if (PSR.liveAt(LastUse)) in extendPHIRange()
H A DMachinePipeliner.cpp1505 for (auto LastUse : LastUses[MI]) { in computeMaxSetPressure() local
1508 EraseReg(LiveRegSets[Iter - 1], LastUse); in computeMaxSetPressure()
1510 EraseReg(LiveRegSets[Iter], LastUse); in computeMaxSetPressure()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIRegisterInfo.cpp1671 bool LastUse = MMO->getFlags() & MOLastUse; in buildSpillLoadStore() local
1672 MIB.addImm(LastUse ? AMDGPU::CPol::TH_LU : 0); // cpol in buildSpillLoadStore()