• Home
  • Raw
  • Download

Lines Matching refs:LI

39   LiveInterval &LI = LIS.getOrCreateInterval(VReg);  in createFrom()  local
40 newRegs_.push_back(&LI); in createFrom()
41 return LI; in createFrom()
162 bool LiveRangeEdit::foldAsLoad(LiveInterval *LI, in foldAsLoad() argument
170 for (MachineRegisterInfo::reg_nodbg_iterator I = MRI.reg_nodbg_begin(LI->reg), in foldAsLoad()
196 if (UseMI->readsWritesVirtualRegister(LI->reg, &Ops).second) in foldAsLoad()
205 DefMI->addRegisterDead(LI->reg, 0); in foldAsLoad()
249 LiveInterval &LI = LIS.getInterval(Reg); in eliminateDeadDefs() local
257 LI.killedAt(Idx))) in eliminateDeadDefs()
258 ToShrink.insert(&LI); in eliminateDeadDefs()
262 if (VNInfo *VNI = LI.getVNInfoAt(Idx)) { in eliminateDeadDefs()
264 delegate_->LRE_WillShrinkVirtReg(LI.reg); in eliminateDeadDefs()
265 LI.removeValNo(VNI); in eliminateDeadDefs()
266 if (LI.empty()) { in eliminateDeadDefs()
267 ToShrink.remove(&LI); in eliminateDeadDefs()
285 LiveInterval *LI = ToShrink.back(); in eliminateDeadDefs() local
287 if (foldAsLoad(LI, Dead, MRI, LIS, TII)) in eliminateDeadDefs()
290 delegate_->LRE_WillShrinkVirtReg(LI->reg); in eliminateDeadDefs()
291 if (!LIS.shrinkToUses(LI, &Dead)) in eliminateDeadDefs()
295 LI->RenumberValues(LIS); in eliminateDeadDefs()
297 unsigned NumComp = ConEQ.Classify(LI); in eliminateDeadDefs()
301 bool IsOriginal = VRM.getOriginal(LI->reg) == LI->reg; in eliminateDeadDefs()
302 DEBUG(dbgs() << NumComp << " components: " << *LI << '\n'); in eliminateDeadDefs()
303 SmallVector<LiveInterval*, 8> Dups(1, LI); in eliminateDeadDefs()
305 Dups.push_back(&createFrom(LI->reg, LIS, VRM)); in eliminateDeadDefs()
312 delegate_->LRE_DidCloneVirtReg(Dups.back()->reg, LI->reg); in eliminateDeadDefs()
324 LiveInterval &LI = **I; in calculateRegClassAndHint() local
325 if (MRI.recomputeRegClass(LI.reg, MF.getTarget())) in calculateRegClassAndHint()
326 DEBUG(dbgs() << "Inflated " << PrintReg(LI.reg) << " to " in calculateRegClassAndHint()
327 << MRI.getRegClass(LI.reg)->getName() << '\n'); in calculateRegClassAndHint()
328 VRAI.CalculateWeightAndHint(LI); in calculateRegClassAndHint()