Searched refs:LastUse (Results 1 – 9 of 9) sorted by relevance
290 std::map<RegisterRef,IndexType> LastDef, LastUse; in computeInitialLiveRanges() local301 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()
301 MachineInstr *LastUse = PhysRegUse[Reg.id()]; in FindLastRefOrPartRef() local302 if (!LastDef && !LastUse) in FindLastRefOrPartRef()305 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in FindLastRefOrPartRef()330 MachineInstr *LastUse = PhysRegUse[Reg.id()]; in HandlePhysRegKill() local331 if (!LastDef && !LastUse) in HandlePhysRegKill()334 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in HandlePhysRegKill()
86 Use *LastUse = nullptr; in forEachCall() local88 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()
201 MachineInstr *LastUse = nullptr; ///< Last instr to use reg. member1058 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()
342 unsigned LastUse = Dist; in noUseAfterLastDef() local350 if (MO.isUse() && DI->second < LastUse) in noUseAfterLastDef()351 LastUse = DI->second; in noUseAfterLastDef()356 return !(LastUse > LastDef && LastUse < Dist); in noUseAfterLastDef()
1506 SlotIndex LastUse = Before; in findLastUseBefore() local1518 if (InstSlot > LastUse && InstSlot < OldIdx) in findLastUseBefore()1519 LastUse = InstSlot.getRegSlot(); in findLastUseBefore()1521 return LastUse; in findLastUseBefore()
1296 SlotIndex LastUse = End.getPrevSlot(); in extendPHIRange() local1304 if (PSR.liveAt(LastUse)) in extendPHIRange()
1720 for (auto LastUse : LastUses[MI]) { in computeMaxSetPressure() local1723 EraseReg(LiveRegSets[Iter - 1], LastUse); in computeMaxSetPressure()1725 EraseReg(LiveRegSets[Iter], LastUse); in computeMaxSetPressure()
1918 bool LastUse = MMO->getFlags() & MOLastUse; in buildSpillLoadStore() local1919 MIB.addImm(LastUse ? AMDGPU::CPol::TH_LU : 0); // cpol in buildSpillLoadStore()