Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Reg

90     bool AllUsesDominatedByBlock(unsigned Reg, MachineBasicBlock *MBB,
142 MachineSinking::AllUsesDominatedByBlock(unsigned Reg,
147 assert(TargetRegisterInfo::isVirtualRegister(Reg) &&
150 if (MRI->use_nodbg_empty(Reg))
175 I = MRI->use_nodbg_begin(Reg), E = MRI->use_nodbg_end();
189 I = MRI->use_nodbg_begin(Reg), E = MRI->use_nodbg_end();
303 unsigned Reg = MO.getReg();
304 if (Reg == 0 || !TargetRegisterInfo::isPhysicalRegister(Reg))
306 if (MRI->hasOneNonDBGUse(Reg))
437 unsigned Reg = MO.getReg();
438 if (Reg == 0) continue;
440 if (TargetRegisterInfo::isPhysicalRegister(Reg)) {
445 if (!MRI->def_empty(Reg))
448 if (AllocatableSet.test(Reg))
452 for (const unsigned *Alias = TRI->getAliasSet(Reg); *Alias; ++Alias) {
469 if (!TII->isSafeToMoveRegClassDefs(MRI->getRegClass(Reg)))
491 if (!AllUsesDominatedByBlock(Reg, SuccToSinkTo, ParentBlock,
503 if (AllUsesDominatedByBlock(Reg, *SI, ParentBlock,
539 unsigned Reg = MO.getReg();
540 if (Reg == 0 || !TargetRegisterInfo::isPhysicalRegister(Reg)) continue;
541 if (SuccToSinkTo->isLiveIn(Reg))