Lines Matching defs:CommutedMI
199 MachineInstr *CommutedMI = nullptr;
203 CommutedMI = MF.CloneMachineInstr(&MI);
205 CommutedMI = &MI;
209 CommutedMI->getOperand(0).setReg(Reg0);
210 CommutedMI->getOperand(0).setSubReg(SubReg0);
212 CommutedMI->getOperand(Idx2).setReg(Reg1);
213 CommutedMI->getOperand(Idx1).setReg(Reg2);
214 CommutedMI->getOperand(Idx2).setSubReg(SubReg1);
215 CommutedMI->getOperand(Idx1).setSubReg(SubReg2);
216 CommutedMI->getOperand(Idx2).setIsKill(Reg1IsKill);
217 CommutedMI->getOperand(Idx1).setIsKill(Reg2IsKill);
218 CommutedMI->getOperand(Idx2).setIsUndef(Reg1IsUndef);
219 CommutedMI->getOperand(Idx1).setIsUndef(Reg2IsUndef);
220 CommutedMI->getOperand(Idx2).setIsInternalRead(Reg1IsInternal);
221 CommutedMI->getOperand(Idx1).setIsInternalRead(Reg2IsInternal);
225 CommutedMI->getOperand(Idx2).setIsRenamable(Reg1IsRenamable);
227 CommutedMI->getOperand(Idx1).setIsRenamable(Reg2IsRenamable);
228 return CommutedMI;