Lines Matching refs:getReg
142 return MI->getOperand(1).getReg(); in getSrcFromCopy()
147 return MI->getOperand(1).getReg(); in getSrcFromCopy()
152 if (isFPR64(MI->getOperand(0).getReg(), MI->getOperand(0).getSubReg(), in getSrcFromCopy()
154 isGPR64(MI->getOperand(1).getReg(), MI->getOperand(1).getSubReg(), MRI)) in getSrcFromCopy()
155 return MI->getOperand(1).getReg(); in getSrcFromCopy()
156 if (isGPR64(MI->getOperand(0).getReg(), MI->getOperand(0).getSubReg(), in getSrcFromCopy()
158 isFPR64(MI->getOperand(1).getReg(), MI->getOperand(1).getSubReg(), in getSrcFromCopy()
161 return MI->getOperand(1).getReg(); in getSrcFromCopy()
212 unsigned OrigSrc0 = MI->getOperand(1).getReg(); in isProfitableToTransform()
213 unsigned OrigSrc1 = MI->getOperand(2).getReg(); in isProfitableToTransform()
247 unsigned Dst = MI->getOperand(0).getReg(); in isProfitableToTransform()
305 unsigned OrigSrc0 = MI->getOperand(1).getReg(); in transformInstruction()
306 unsigned OrigSrc1 = MI->getOperand(2).getReg(); in transformInstruction()
363 insertCopy(TII, MI, MI->getOperand(0).getReg(), Dst, true); in transformInstruction()