Lines Matching refs:LI
39 LiveInterval &LI = LIS.createEmptyInterval(VReg); in createEmptyIntervalFrom() local
40 return LI; in createEmptyIntervalFrom()
164 bool LiveRangeEdit::foldAsLoad(LiveInterval *LI, in foldAsLoad() argument
169 for (MachineOperand &MO : MRI.reg_nodbg_operands(LI->reg)) { in foldAsLoad()
205 if (UseMI->readsWritesVirtualRegister(LI->reg, &Ops).second) in foldAsLoad()
214 DefMI->addRegisterDead(LI->reg, nullptr); in foldAsLoad()
220 bool LiveRangeEdit::useIsKill(const LiveInterval &LI, in useIsKill() argument
224 if (LI.Query(Idx).isKill()) in useIsKill()
229 for (const LiveInterval::SubRange &S : LI.subranges()) { in useIsKill()
293 LiveInterval &LI = LIS.getInterval(Reg); in eliminateDeadDef() local
300 (MOI->readsReg() && (MRI.hasOneNonDBGUse(Reg) || useIsKill(LI, *MOI)))) in eliminateDeadDef()
301 ToShrink.insert(&LI); in eliminateDeadDef()
305 if (TheDelegate && LI.getVNInfoAt(Idx) != nullptr) in eliminateDeadDef()
306 TheDelegate->LRE_WillShrinkVirtReg(LI.reg); in eliminateDeadDef()
307 LIS.removeVRegDefAt(LI, Idx); in eliminateDeadDef()
308 if (LI.empty()) in eliminateDeadDef()
379 LiveInterval *LI = ToShrink.back(); in eliminateDeadDefs() local
381 if (foldAsLoad(LI, Dead)) in eliminateDeadDefs()
383 unsigned VReg = LI->reg; in eliminateDeadDefs()
386 if (!LIS.shrinkToUses(LI, &Dead)) in eliminateDeadDefs()
404 LI->RenumberValues(); in eliminateDeadDefs()
406 LIS.splitSeparateComponents(*LI, SplitLIs); in eliminateDeadDefs()
440 LiveInterval &LI = LIS.getInterval(get(I)); in calculateRegClassAndHint() local
441 if (MRI.recomputeRegClass(LI.reg)) in calculateRegClassAndHint()
444 dbgs() << "Inflated " << PrintReg(LI.reg) << " to " in calculateRegClassAndHint()
445 << TRI->getRegClassName(MRI.getRegClass(LI.reg)) << '\n'; in calculateRegClassAndHint()
447 VRAI.calculateSpillWeightAndHint(LI); in calculateRegClassAndHint()