Searched refs:CommutedMI (Results 1 – 4 of 4) sorted by relevance
217 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local221 CommutedMI = MF.CloneMachineInstr(&MI); in commuteInstructionImpl()223 CommutedMI = &MI; in commuteInstructionImpl()227 CommutedMI->getOperand(0).setReg(Reg0); in commuteInstructionImpl()228 CommutedMI->getOperand(0).setSubReg(SubReg0); in commuteInstructionImpl()230 CommutedMI->getOperand(Idx2).setReg(Reg1); in commuteInstructionImpl()231 CommutedMI->getOperand(Idx1).setReg(Reg2); in commuteInstructionImpl()232 CommutedMI->getOperand(Idx2).setSubReg(SubReg1); in commuteInstructionImpl()233 CommutedMI->getOperand(Idx1).setSubReg(SubReg2); in commuteInstructionImpl()234 CommutedMI->getOperand(Idx2).setIsKill(Reg1IsKill); in commuteInstructionImpl()[all …]
769 MachineInstr *CommutedMI = TII->commuteInstruction(*MI); in ReduceTo2Addr() local770 if (!CommutedMI) in ReduceTo2Addr()780 MachineInstr *CommutedMI = in ReduceTo2Addr() local782 if (!CommutedMI) in ReduceTo2Addr()
2269 MachineInstr *CommutedMI = in commuteInstructionImpl() local2271 if (!CommutedMI) in commuteInstructionImpl()2274 CommutedMI->getOperand(CommutedMI->findFirstPredOperandIdx()) in commuteInstructionImpl()2276 return CommutedMI; in commuteInstructionImpl()
2790 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local2794 CommutedMI in commuteInstructionImpl()2801 CommutedMI = swapRegAndNonRegOperand(MI, Src0, Src1); in commuteInstructionImpl()2804 CommutedMI = swapRegAndNonRegOperand(MI, Src1, Src0); in commuteInstructionImpl()2810 if (CommutedMI) { in commuteInstructionImpl()2814 CommutedMI->setDesc(get(CommutedOpcode)); in commuteInstructionImpl()2817 return CommutedMI; in commuteInstructionImpl()