Lines Matching refs:LI

39   LiveInterval &LI = LIS.createEmptyInterval(VReg);  in createEmptyIntervalFrom()  local
41 LI.markNotSpillable(); in createEmptyIntervalFrom()
49 LI.createSubRange(Alloc, S.LaneMask); in createEmptyIntervalFrom()
51 return LI; in createEmptyIntervalFrom()
200 bool LiveRangeEdit::foldAsLoad(LiveInterval *LI, in foldAsLoad() argument
205 for (MachineOperand &MO : MRI.reg_nodbg_operands(LI->reg())) { in foldAsLoad()
241 if (UseMI->readsWritesVirtualRegister(LI->reg(), &Ops).second) in foldAsLoad()
253 DefMI->addRegisterDead(LI->reg(), nullptr); in foldAsLoad()
259 bool LiveRangeEdit::useIsKill(const LiveInterval &LI, in useIsKill() argument
263 if (LI.Query(Idx).isKill()) in useIsKill()
268 for (const LiveInterval::SubRange &S : LI.subranges()) { in useIsKill()
338 LiveInterval &LI = LIS.getInterval(Reg); in eliminateDeadDef() local
345 (MO.readsReg() && (MRI.hasOneNonDBGUse(Reg) || useIsKill(LI, MO)))) in eliminateDeadDef()
346 ToShrink.insert(&LI); in eliminateDeadDef()
352 if (TheDelegate && LI.getVNInfoAt(Idx) != nullptr) in eliminateDeadDef()
353 TheDelegate->LRE_WillShrinkVirtReg(LI.reg()); in eliminateDeadDef()
354 LIS.removeVRegDefAt(LI, Idx); in eliminateDeadDef()
355 if (LI.empty()) in eliminateDeadDef()
439 LiveInterval *LI = ToShrink.pop_back_val(); in eliminateDeadDefs() local
440 if (foldAsLoad(LI, Dead)) in eliminateDeadDefs()
442 unsigned VReg = LI->reg(); in eliminateDeadDefs()
445 if (!LIS.shrinkToUses(LI, &Dead)) in eliminateDeadDefs()
456 LI->RenumberValues(); in eliminateDeadDefs()
458 LIS.splitSeparateComponents(*LI, SplitLIs); in eliminateDeadDefs()
488 LiveInterval &LI = LIS.getInterval(get(I)); in calculateRegClassAndHint() local
489 if (MRI.recomputeRegClass(LI.reg())) in calculateRegClassAndHint()
492 dbgs() << "Inflated " << printReg(LI.reg()) << " to " in calculateRegClassAndHint()
493 << TRI->getRegClassName(MRI.getRegClass(LI.reg())) << '\n'; in calculateRegClassAndHint()
495 VRAI.calculateSpillWeightAndHint(LI); in calculateRegClassAndHint()