Searched refs:CommutedMI (Results 1 – 12 of 12) sorted by relevance
199 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local203 CommutedMI = MF.CloneMachineInstr(&MI); in commuteInstructionImpl()205 CommutedMI = &MI; in commuteInstructionImpl()209 CommutedMI->getOperand(0).setReg(Reg0); in commuteInstructionImpl()210 CommutedMI->getOperand(0).setSubReg(SubReg0); in commuteInstructionImpl()212 CommutedMI->getOperand(Idx2).setReg(Reg1); in commuteInstructionImpl()213 CommutedMI->getOperand(Idx1).setReg(Reg2); in commuteInstructionImpl()214 CommutedMI->getOperand(Idx2).setSubReg(SubReg1); in commuteInstructionImpl()215 CommutedMI->getOperand(Idx1).setSubReg(SubReg2); in commuteInstructionImpl()216 CommutedMI->getOperand(Idx2).setIsKill(Reg1IsKill); in commuteInstructionImpl()[all …]
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()
751 MachineInstr *CommutedMI = TII->commuteInstruction(*MI); in ReduceTo2Addr() local752 if (!CommutedMI) in ReduceTo2Addr()762 MachineInstr *CommutedMI = in ReduceTo2Addr() local764 if (!CommutedMI) in ReduceTo2Addr()
2014 MachineInstr *CommutedMI = in commuteInstructionImpl() local2016 if (!CommutedMI) in commuteInstructionImpl()2019 CommutedMI->getOperand(CommutedMI->findFirstPredOperandIdx()) in commuteInstructionImpl()2021 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()
1389 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local1393 CommutedMI in commuteInstructionImpl()1400 CommutedMI = swapRegAndNonRegOperand(MI, Src0, Src1); in commuteInstructionImpl()1403 CommutedMI = swapRegAndNonRegOperand(MI, Src1, Src0); in commuteInstructionImpl()1409 if (CommutedMI) { in commuteInstructionImpl()1413 CommutedMI->setDesc(get(CommutedOpcode)); in commuteInstructionImpl()1416 return CommutedMI; in commuteInstructionImpl()
4962 MachineInstr *CommutedMI = in foldMemoryOperandImpl() local4964 if (!CommutedMI) { in foldMemoryOperandImpl()4968 if (CommutedMI != &MI) { in foldMemoryOperandImpl()4970 CommutedMI->eraseFromParent(); in foldMemoryOperandImpl()
5857 MachineInstr *CommutedMI = in foldMemoryOperandImpl() local5859 if (!CommutedMI) { in foldMemoryOperandImpl()5863 if (CommutedMI != &MI) { in foldMemoryOperandImpl()5865 CommutedMI->eraseFromParent(); in foldMemoryOperandImpl()