Searched refs:CommutedMI (Results 1 – 5 of 5) sorted by relevance
218 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local222 CommutedMI = MF.CloneMachineInstr(&MI); in commuteInstructionImpl()224 CommutedMI = &MI; in commuteInstructionImpl()228 CommutedMI->getOperand(0).setReg(Reg0); in commuteInstructionImpl()229 CommutedMI->getOperand(0).setSubReg(SubReg0); in commuteInstructionImpl()231 CommutedMI->getOperand(Idx2).setReg(Reg1); in commuteInstructionImpl()232 CommutedMI->getOperand(Idx1).setReg(Reg2); in commuteInstructionImpl()233 CommutedMI->getOperand(Idx2).setSubReg(SubReg1); in commuteInstructionImpl()234 CommutedMI->getOperand(Idx1).setSubReg(SubReg2); in commuteInstructionImpl()235 CommutedMI->getOperand(Idx2).setIsKill(Reg1IsKill); in commuteInstructionImpl()[all …]
771 MachineInstr *CommutedMI = TII->commuteInstruction(*MI); in ReduceTo2Addr() local772 if (!CommutedMI) in ReduceTo2Addr()782 MachineInstr *CommutedMI = in ReduceTo2Addr() local784 if (!CommutedMI) in ReduceTo2Addr()
2246 MachineInstr *CommutedMI = in commuteInstructionImpl() local2248 if (!CommutedMI) in commuteInstructionImpl()2251 CommutedMI->getOperand(CommutedMI->findFirstPredOperandIdx()) in commuteInstructionImpl()2253 return CommutedMI; in commuteInstructionImpl()
2128 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local2132 CommutedMI in commuteInstructionImpl()2139 CommutedMI = swapRegAndNonRegOperand(MI, Src0, Src1); in commuteInstructionImpl()2142 CommutedMI = swapRegAndNonRegOperand(MI, Src1, Src0); in commuteInstructionImpl()2148 if (CommutedMI) { in commuteInstructionImpl()2152 CommutedMI->setDesc(get(CommutedOpcode)); in commuteInstructionImpl()2155 return CommutedMI; in commuteInstructionImpl()
5700 MachineInstr *CommutedMI = in foldMemoryOperandImpl() local5702 if (!CommutedMI) { in foldMemoryOperandImpl()5706 if (CommutedMI != &MI) { in foldMemoryOperandImpl()5708 CommutedMI->eraseFromParent(); in foldMemoryOperandImpl()