Lines Matching refs:Idx2
169 unsigned Idx2) const { in commuteInstructionImpl()
177 unsigned CommutableOpIdx2 = Idx2; (void)CommutableOpIdx2; in commuteInstructionImpl()
179 CommutableOpIdx1 == Idx1 && CommutableOpIdx2 == Idx2 && in commuteInstructionImpl()
181 assert(MI.getOperand(Idx1).isReg() && MI.getOperand(Idx2).isReg() && in commuteInstructionImpl()
186 Register Reg2 = MI.getOperand(Idx2).getReg(); in commuteInstructionImpl()
189 unsigned SubReg2 = MI.getOperand(Idx2).getSubReg(); in commuteInstructionImpl()
191 bool Reg2IsKill = MI.getOperand(Idx2).isKill(); in commuteInstructionImpl()
193 bool Reg2IsUndef = MI.getOperand(Idx2).isUndef(); in commuteInstructionImpl()
195 bool Reg2IsInternal = MI.getOperand(Idx2).isInternalRead(); in commuteInstructionImpl()
202 ? MI.getOperand(Idx2).isRenamable() in commuteInstructionImpl()
212 MI.getDesc().getOperandConstraint(Idx2, MCOI::TIED_TO) == 0) { in commuteInstructionImpl()
231 CommutedMI->getOperand(Idx2).setReg(Reg1); in commuteInstructionImpl()
233 CommutedMI->getOperand(Idx2).setSubReg(SubReg1); in commuteInstructionImpl()
235 CommutedMI->getOperand(Idx2).setIsKill(Reg1IsKill); in commuteInstructionImpl()
237 CommutedMI->getOperand(Idx2).setIsUndef(Reg1IsUndef); in commuteInstructionImpl()
239 CommutedMI->getOperand(Idx2).setIsInternalRead(Reg1IsInternal); in commuteInstructionImpl()
244 CommutedMI->getOperand(Idx2).setIsRenamable(Reg1IsRenamable); in commuteInstructionImpl()