Searched refs:CommutedMI (Results 1 – 5 of 5) sorted by relevance
208 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local212 CommutedMI = MF.CloneMachineInstr(&MI); in commuteInstructionImpl()214 CommutedMI = &MI; in commuteInstructionImpl()218 CommutedMI->getOperand(0).setReg(Reg0); in commuteInstructionImpl()219 CommutedMI->getOperand(0).setSubReg(SubReg0); in commuteInstructionImpl()221 CommutedMI->getOperand(Idx2).setReg(Reg1); in commuteInstructionImpl()222 CommutedMI->getOperand(Idx1).setReg(Reg2); in commuteInstructionImpl()223 CommutedMI->getOperand(Idx2).setSubReg(SubReg1); in commuteInstructionImpl()224 CommutedMI->getOperand(Idx1).setSubReg(SubReg2); in commuteInstructionImpl()225 CommutedMI->getOperand(Idx2).setIsKill(Reg1IsKill); in commuteInstructionImpl()[all …]
761 MachineInstr *CommutedMI = TII->commuteInstruction(*MI); in ReduceTo2Addr() local762 if (!CommutedMI) in ReduceTo2Addr()772 MachineInstr *CommutedMI = in ReduceTo2Addr() local774 if (!CommutedMI) in ReduceTo2Addr()
2158 MachineInstr *CommutedMI = in commuteInstructionImpl() local2160 if (!CommutedMI) in commuteInstructionImpl()2163 CommutedMI->getOperand(CommutedMI->findFirstPredOperandIdx()) in commuteInstructionImpl()2165 return CommutedMI; in commuteInstructionImpl()
1693 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local1697 CommutedMI in commuteInstructionImpl()1704 CommutedMI = swapRegAndNonRegOperand(MI, Src0, Src1); in commuteInstructionImpl()1707 CommutedMI = swapRegAndNonRegOperand(MI, Src1, Src0); in commuteInstructionImpl()1713 if (CommutedMI) { in commuteInstructionImpl()1717 CommutedMI->setDesc(get(CommutedOpcode)); in commuteInstructionImpl()1720 return CommutedMI; in commuteInstructionImpl()
4957 MachineInstr *CommutedMI = in foldMemoryOperandImpl() local4959 if (!CommutedMI) { in foldMemoryOperandImpl()4963 if (CommutedMI != &MI) { in foldMemoryOperandImpl()4965 CommutedMI->eraseFromParent(); in foldMemoryOperandImpl()