Lines Matching refs:CommutedMI
169 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local
173 CommutedMI = MF.CloneMachineInstr(&MI); in commuteInstructionImpl()
175 CommutedMI = &MI; in commuteInstructionImpl()
179 CommutedMI->getOperand(0).setReg(Reg0); in commuteInstructionImpl()
180 CommutedMI->getOperand(0).setSubReg(SubReg0); in commuteInstructionImpl()
182 CommutedMI->getOperand(Idx2).setReg(Reg1); in commuteInstructionImpl()
183 CommutedMI->getOperand(Idx1).setReg(Reg2); in commuteInstructionImpl()
184 CommutedMI->getOperand(Idx2).setSubReg(SubReg1); in commuteInstructionImpl()
185 CommutedMI->getOperand(Idx1).setSubReg(SubReg2); in commuteInstructionImpl()
186 CommutedMI->getOperand(Idx2).setIsKill(Reg1IsKill); in commuteInstructionImpl()
187 CommutedMI->getOperand(Idx1).setIsKill(Reg2IsKill); in commuteInstructionImpl()
188 CommutedMI->getOperand(Idx2).setIsUndef(Reg1IsUndef); in commuteInstructionImpl()
189 CommutedMI->getOperand(Idx1).setIsUndef(Reg2IsUndef); in commuteInstructionImpl()
190 CommutedMI->getOperand(Idx2).setIsInternalRead(Reg1IsInternal); in commuteInstructionImpl()
191 CommutedMI->getOperand(Idx1).setIsInternalRead(Reg2IsInternal); in commuteInstructionImpl()
192 return CommutedMI; in commuteInstructionImpl()