Lines Matching refs:Src
122 static bool isNopCopy(MachineInstr *CopyMI, unsigned Def, unsigned Src,
132 return SubIdx == TRI->getSubRegIndex(SrcDef, Src);
142 SourceMap SrcMap; // Src -> Def map
151 unsigned Src = MI->getOperand(1).getReg();
154 TargetRegisterInfo::isVirtualRegister(Src))
158 DenseMap<unsigned, MachineInstr*>::iterator CI = AvailCopyMap.find(Src);
162 (!ReservedRegs.test(Src) || NoInterveningSideEffect(CopyMI, MI)) &&
163 isNopCopy(CopyMI, Def, Src, TRI)) {
190 // If Src is defined by a previous copy, it cannot be eliminated.
191 CI = CopyMap.find(Src);
194 for (const uint16_t *AS = TRI->getAliasSet(Src); *AS; ++AS) {
203 // If 'Src' is previously source of another copy, then this earlier copy's
227 if (std::find(SrcMap[Src].begin(), SrcMap[Src].end(), Def) ==
228 SrcMap[Src].end()) {
229 SrcMap[Src].push_back(Def);