Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegAllocFast.cpp85 MachineInstr *LastUse = nullptr; ///< Last instr to use reg. member
370 if (!LR.LastUse) return; in addKillFlag()
371 MachineOperand &MO = LR.LastUse->getOperand(LR.LastOpNum); in addKillFlag()
372 if (MO.isUse() && !LR.LastUse->isRegTiedToDefOperand(LR.LastOpNum)) { in addKillFlag()
424 bool SpillKill = MachineBasicBlock::iterator(LR.LastUse) != MI; in spillVirtReg()
430 LR.LastUse = nullptr; // Don't kill register again in spillVirtReg()
794 } else if (LRI->LastUse) { in defineVirtReg()
797 if (LRI->LastUse != &MI || LRI->LastUse->getOperand(LRI->LastOpNum).isUse()) in defineVirtReg()
801 LRI->LastUse = &MI; in defineVirtReg()
847 LRI->LastUse = &MI; in reloadVirtReg()
DLiveVariables.cpp283 MachineInstr *LastUse = PhysRegUse[Reg]; in FindLastRefOrPartRef() local
284 if (!LastDef && !LastUse) in FindLastRefOrPartRef()
287 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in FindLastRefOrPartRef()
313 MachineInstr *LastUse = PhysRegUse[Reg]; in HandlePhysRegKill() local
314 if (!LastDef && !LastUse) in HandlePhysRegKill()
317 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in HandlePhysRegKill()
DTwoAddressInstructionPass.cpp387 unsigned LastUse = Dist; in noUseAfterLastDef() local
395 if (MO.isUse() && DI->second < LastUse) in noUseAfterLastDef()
396 LastUse = DI->second; in noUseAfterLastDef()
401 return !(LastUse > LastDef && LastUse < Dist); in noUseAfterLastDef()
DLiveIntervals.cpp1414 SlotIndex LastUse = Before; in findLastUseBefore() local
1425 if (InstSlot > LastUse && InstSlot < OldIdx) in findLastUseBefore()
1426 LastUse = InstSlot.getRegSlot(); in findLastUseBefore()
1428 return LastUse; in findLastUseBefore()
DSplitKit.cpp1246 SlotIndex LastUse = End.getPrevSlot(); in extendPHIRange() local
1254 if (PSR.liveAt(LastUse)) in extendPHIRange()