Searched refs:LastUse (Results 1 – 6 of 6) sorted by relevance
292 std::map<RegisterRef,IndexType> LastDef, LastUse; in computeInitialLiveRanges() local303 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()
85 MachineInstr *LastUse = nullptr; ///< Last instr to use reg. member370 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()
283 MachineInstr *LastUse = PhysRegUse[Reg]; in FindLastRefOrPartRef() local284 if (!LastDef && !LastUse) in FindLastRefOrPartRef()287 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in FindLastRefOrPartRef()313 MachineInstr *LastUse = PhysRegUse[Reg]; in HandlePhysRegKill() local314 if (!LastDef && !LastUse) in HandlePhysRegKill()317 MachineInstr *LastRefOrPartRef = LastUse ? LastUse : LastDef; in HandlePhysRegKill()
387 unsigned LastUse = Dist; in noUseAfterLastDef() local395 if (MO.isUse() && DI->second < LastUse) in noUseAfterLastDef()396 LastUse = DI->second; in noUseAfterLastDef()401 return !(LastUse > LastDef && LastUse < Dist); in noUseAfterLastDef()
1414 SlotIndex LastUse = Before; in findLastUseBefore() local1425 if (InstSlot > LastUse && InstSlot < OldIdx) in findLastUseBefore()1426 LastUse = InstSlot.getRegSlot(); in findLastUseBefore()1428 return LastUse; in findLastUseBefore()
1246 SlotIndex LastUse = End.getPrevSlot(); in extendPHIRange() local1254 if (PSR.liveAt(LastUse)) in extendPHIRange()