Lines Matching refs:LI
78 bool renameComponents(LiveInterval &LI) const;
85 LiveInterval &LI) const;
122 bool RenameIndependentSubregs::renameComponents(LiveInterval &LI) const { in INITIALIZE_PASS_DEPENDENCY()
124 if (LI.valnos.size() < 2) in INITIALIZE_PASS_DEPENDENCY()
129 if (!findComponents(Classes, SubRangeInfos, LI)) in INITIALIZE_PASS_DEPENDENCY()
133 unsigned Reg = LI.reg; in INITIALIZE_PASS_DEPENDENCY()
136 Intervals.push_back(&LI); in INITIALIZE_PASS_DEPENDENCY()
157 LiveInterval &LI) const { in findComponents()
161 for (LiveInterval::SubRange &SR : LI.subranges()) { in findComponents()
178 unsigned Reg = LI.reg; in findComponents()
279 static bool subRangeLiveAt(const LiveInterval &LI, SlotIndex Pos) { in subRangeLiveAt() argument
280 for (const LiveInterval::SubRange &SR : LI.subranges()) { in subRangeLiveAt()
294 LiveInterval &LI = *Intervals[I]; in computeMainRangesFixFlags() local
295 unsigned Reg = LI.reg; in computeMainRangesFixFlags()
297 LI.removeEmptySubRanges(); in computeMainRangesFixFlags()
302 for (const LiveInterval::SubRange &SR : LI.subranges()) { in computeMainRangesFixFlags()
315 if (subRangeLiveAt(LI, PredEnd.getPrevSlot())) in computeMainRangesFixFlags()
325 for (LiveInterval::SubRange &SR : LI.subranges()) { in computeMainRangesFixFlags()
344 if (!subRangeLiveAt(LI, Pos)) in computeMainRangesFixFlags()
349 if (!subRangeLiveAt(LI, Pos)) in computeMainRangesFixFlags()
355 LI.clear(); in computeMainRangesFixFlags()
356 LIS->constructMainRangeFromSubranges(LI); in computeMainRangesFixFlags()
380 LiveInterval &LI = LIS->getInterval(Reg); in runOnMachineFunction() local
381 if (!LI.hasSubRanges()) in runOnMachineFunction()
384 Changed |= renameComponents(LI); in runOnMachineFunction()