Lines Matching refs:SrcReg
150 unsigned SrcReg, DstReg, SubIdx;
151 if (!TII->isCoalescableExtInstr(*MI, SrcReg, DstReg, SubIdx))
155 TargetRegisterInfo::isPhysicalRegister(SrcReg))
158 if (MRI->hasOneNonDBGUse(SrcReg))
169 // The ext instr may be operating on a sub-register of SrcReg as well.
172 // If UseSrcSubIdx is Set, SubIdx also applies to SrcReg, and only uses of
173 // SrcReg:SubIdx should be replaced.
175 getSubClassWithSubReg(MRI->getRegClass(SrcReg), SubIdx) != 0;
193 UI = MRI->use_nodbg_begin(SrcReg), UE = MRI->use_nodbg_end();
205 // Only accept uses of SrcReg:SubIdx.
269 const TargetRegisterClass *RC = MRI->getRegClass(SrcReg);
287 // SubIdx applies to both SrcReg and DstReg when UseSrcSubIdx is set.
381 unsigned SrcReg, SrcReg2;
383 if (!TII->analyzeCompare(MI, SrcReg, SrcReg2, CmpMask, CmpValue) ||
384 TargetRegisterInfo::isPhysicalRegister(SrcReg) ||
389 if (TII->optimizeCompareInstr(MI, SrcReg, SrcReg2, CmpMask, CmpValue, MRI)) {