Searched refs:CommutedMI (Results 1 – 5 of 5) 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 …]
762 MachineInstr *CommutedMI = TII->commuteInstruction(*MI); in ReduceTo2Addr() local763 if (!CommutedMI) in ReduceTo2Addr()773 MachineInstr *CommutedMI = in ReduceTo2Addr() local775 if (!CommutedMI) in ReduceTo2Addr()
2028 MachineInstr *CommutedMI = in commuteInstructionImpl() local2030 if (!CommutedMI) in commuteInstructionImpl()2033 CommutedMI->getOperand(CommutedMI->findFirstPredOperandIdx()) in commuteInstructionImpl()2035 return CommutedMI; in commuteInstructionImpl()
1385 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local1389 CommutedMI in commuteInstructionImpl()1396 CommutedMI = swapRegAndNonRegOperand(MI, Src0, Src1); in commuteInstructionImpl()1399 CommutedMI = swapRegAndNonRegOperand(MI, Src1, Src0); in commuteInstructionImpl()1405 if (CommutedMI) { in commuteInstructionImpl()1409 CommutedMI->setDesc(get(CommutedOpcode)); in commuteInstructionImpl()1412 return CommutedMI; in commuteInstructionImpl()
4954 MachineInstr *CommutedMI = in foldMemoryOperandImpl() local4956 if (!CommutedMI) { in foldMemoryOperandImpl()4960 if (CommutedMI != &MI) { in foldMemoryOperandImpl()4962 CommutedMI->eraseFromParent(); in foldMemoryOperandImpl()