Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:Reg

98         if ((*uselessRegs_)[ui]->reg == MO.getReg())
157 void LiveRangeEdit::eraseVirtReg(unsigned Reg, LiveIntervals &LIS) {
158 if (delegate_ && delegate_->LRE_CanEraseVirtReg(Reg))
159 LIS.removeInterval(Reg);
170 for (MachineRegisterInfo::reg_nodbg_iterator I = MRI.reg_nodbg_begin(LI->reg),
196 if (UseMI->readsWritesVirtualRegister(LI->reg, &Ops).second)
205 DefMI->addRegisterDead(LI->reg, 0);
246 unsigned Reg = MOI->getReg();
247 if (!TargetRegisterInfo::isVirtualRegister(Reg))
249 LiveInterval &LI = LIS.getInterval(Reg);
255 if (MI->readsVirtualRegister(Reg) &&
256 (MI->isCopy() || MOI->isDef() || MRI.hasOneNonDBGUse(Reg) ||
264 delegate_->LRE_WillShrinkVirtReg(LI.reg);
268 eraseVirtReg(Reg, LIS);
290 delegate_->LRE_WillShrinkVirtReg(LI->reg);
301 bool IsOriginal = VRM.getOriginal(LI->reg) == LI->reg;
305 Dups.push_back(&createFrom(LI->reg, LIS, VRM));
310 VRM.setIsSplitFromReg(Dups.back()->reg, 0);
312 delegate_->LRE_DidCloneVirtReg(Dups.back()->reg, LI->reg);
324 VRAI.CalculateRegClass(LI.reg);