Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBlockRanges.cpp290 std::map<RegisterRef,IndexType> LastDef, LastUse; in computeInitialLiveRanges() local
301 auto closeRange = [&LastUse,&LastDef,&LiveMap] (RegisterRef R) -> void { in computeInitialLiveRanges()
302 auto LD = LastDef[R], LU = LastUse[R]; in computeInitialLiveRanges()
308 LastUse[R] = LastDef[R] = IndexType::None; in computeInitialLiveRanges()
326 LastUse[S] = Index; in computeInitialLiveRanges()
376 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) in computeInitialLiveRanges()
384 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) in computeInitialLiveRanges()
387 LastDef[S] = LastUse[S] = Index; in computeInitialLiveRanges()
399 LastUse[R] = IndexType::Exit; in computeInitialLiveRanges()
403 for (auto &I : LastUse) in computeInitialLiveRanges()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveVariables.cpp301 MachineInstr *LastUse = PhysRegUse[Reg.id()]; in FindLastRefOrPartRef() local
302 if (!LastDef && !LastUse) in FindLastRefOrPartRef()
305 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in FindLastRefOrPartRef()
330 MachineInstr *LastUse = PhysRegUse[Reg.id()]; in HandlePhysRegKill() local
331 if (!LastDef && !LastUse) in HandlePhysRegKill()
334 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in HandlePhysRegKill()
H A DPreISelIntrinsicLowering.cpp86 Use *LastUse = nullptr; in forEachCall() local
88 while (!Intrin.use_empty() && (!LastUse || LastUse->getNext())) { in forEachCall()
89 Use *U = LastUse ? LastUse->getNext() : &*Intrin.use_begin(); in forEachCall()
96 LastUse = U; in forEachCall()
H A DRegAllocFast.cpp201 MachineInstr *LastUse = nullptr; ///< Last instr to use reg. member
1058 LRI->LastUse = &MI; in defineLiveThroughVirtReg()
1107 bool Kill = LRI->LastUse == nullptr; in defineVirtReg()
1126 LRI->LastUse = nullptr; in defineVirtReg()
1158 assert((!MO.isKill() || LRI->LastUse == &MI) && "Invalid kill flag"); in useVirtReg()
1178 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.cpp1506 SlotIndex LastUse = Before; in findLastUseBefore() local
1518 if (InstSlot > LastUse && InstSlot < OldIdx) in findLastUseBefore()
1519 LastUse = InstSlot.getRegSlot(); in findLastUseBefore()
1521 return LastUse; in findLastUseBefore()
H A DSplitKit.cpp1296 SlotIndex LastUse = End.getPrevSlot(); in extendPHIRange() local
1304 if (PSR.liveAt(LastUse)) in extendPHIRange()
H A DMachinePipeliner.cpp1720 for (auto LastUse : LastUses[MI]) { in computeMaxSetPressure() local
1723 EraseReg(LiveRegSets[Iter - 1], LastUse); in computeMaxSetPressure()
1725 EraseReg(LiveRegSets[Iter], LastUse); in computeMaxSetPressure()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIRegisterInfo.cpp1918 bool LastUse = MMO->getFlags() & MOLastUse; in buildSpillLoadStore() local
1919 MIB.addImm(LastUse ? AMDGPU::CPol::TH_LU : 0); // cpol in buildSpillLoadStore()