Lines Matching refs:Src
105 void ChangeOpInto(MachineOperand &Dst, MachineOperand &Src);
141 MachineOperand &Src = MI.getOperand(1); in runOnMachineFunction() local
143 unsigned SrcReg = Src.getReg(); in runOnMachineFunction()
190 MachineOperand &Src = MI.getOperand(1); in runOnMachineFunction() local
192 unsigned SrcReg = Src.getReg(); in runOnMachineFunction()
208 MachineOperand &Src = MI.getOperand(1); in runOnMachineFunction() local
211 if (Src.getSubReg() != Hexagon::subreg_loreg) in runOnMachineFunction()
215 unsigned SrcReg = Src.getReg(); in runOnMachineFunction()
300 void HexagonPeephole::ChangeOpInto(MachineOperand &Dst, MachineOperand &Src) { in ChangeOpInto() argument
301 assert (&Dst != &Src && "Cannot duplicate into itself"); in ChangeOpInto()
304 if (Src.isReg()) { in ChangeOpInto()
305 Dst.setReg(Src.getReg()); in ChangeOpInto()
306 Dst.setSubReg(Src.getSubReg()); in ChangeOpInto()
307 } else if (Src.isImm()) { in ChangeOpInto()
308 Dst.ChangeToImmediate(Src.getImm()); in ChangeOpInto()
315 if (Src.isImm()) { in ChangeOpInto()
316 Dst.setImm(Src.getImm()); in ChangeOpInto()
317 } else if (Src.isReg()) { in ChangeOpInto()
318 Dst.ChangeToRegister(Src.getReg(), Src.isDef(), Src.isImplicit(), in ChangeOpInto()
319 Src.isKill(), Src.isDead(), Src.isUndef(), in ChangeOpInto()
320 Src.isDebug()); in ChangeOpInto()
321 Dst.setSubReg(Src.getSubReg()); in ChangeOpInto()