Searched refs:CommutedMI (Results 1 – 7 of 7) sorted by relevance
169 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local173 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()[all …]
721 MachineInstr *CommutedMI = TII->commuteInstruction(*MI); in ReduceTo2Addr() local722 if (!CommutedMI) in ReduceTo2Addr()732 MachineInstr *CommutedMI = in ReduceTo2Addr() local734 if (!CommutedMI) in ReduceTo2Addr()
1813 MachineInstr *CommutedMI = in commuteInstructionImpl() local1815 if (!CommutedMI) in commuteInstructionImpl()1818 CommutedMI->getOperand(CommutedMI->findFirstPredOperandIdx()) in commuteInstructionImpl()1820 return CommutedMI; in commuteInstructionImpl()
595 MachineInstr *CommutedMI = TII->commuteInstruction(MI); in ReduceTo2Addr() local596 if (!CommutedMI) in ReduceTo2Addr()
1554 MachineInstr *CommutedMI = TII->commuteInstruction(DefMI, true); in CommuteToFoldReload() local1555 if (!CommutedMI) in CommuteToFoldReload()1557 MBB->insert(MII, CommutedMI); in CommuteToFoldReload()1560 MachineInstr *FoldedMI = TII->foldMemoryOperand(CommutedMI, Ops, SS); in CommuteToFoldReload()1562 CommutedMI->eraseFromParent(); in CommuteToFoldReload()
982 MachineInstr *CommutedMI = &MI; in commuteInstructionImpl() local1017 CommutedMI = in commuteInstructionImpl()1021 if (CommutedMI) in commuteInstructionImpl()1022 CommutedMI->setDesc(get(CommutedOpcode)); in commuteInstructionImpl()1024 return CommutedMI; in commuteInstructionImpl()
5857 MachineInstr *CommutedMI = in foldMemoryOperandImpl() local5859 if (!CommutedMI) { in foldMemoryOperandImpl()5863 if (CommutedMI != &MI) { in foldMemoryOperandImpl()5865 CommutedMI->eraseFromParent(); in foldMemoryOperandImpl()