Home
last modified time | relevance | path

Searched refs:CommutedMI (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp217 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local
221 CommutedMI = MF.CloneMachineInstr(&MI); in commuteInstructionImpl()
223 CommutedMI = &MI; in commuteInstructionImpl()
227 CommutedMI->getOperand(0).setReg(Reg0); in commuteInstructionImpl()
228 CommutedMI->getOperand(0).setSubReg(SubReg0); in commuteInstructionImpl()
230 CommutedMI->getOperand(Idx2).setReg(Reg1); in commuteInstructionImpl()
231 CommutedMI->getOperand(Idx1).setReg(Reg2); in commuteInstructionImpl()
232 CommutedMI->getOperand(Idx2).setSubReg(SubReg1); in commuteInstructionImpl()
233 CommutedMI->getOperand(Idx1).setSubReg(SubReg2); in commuteInstructionImpl()
234 CommutedMI->getOperand(Idx2).setIsKill(Reg1IsKill); in commuteInstructionImpl()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DThumb2SizeReduction.cpp769 MachineInstr *CommutedMI = TII->commuteInstruction(*MI); in ReduceTo2Addr() local
770 if (!CommutedMI) in ReduceTo2Addr()
780 MachineInstr *CommutedMI = in ReduceTo2Addr() local
782 if (!CommutedMI) in ReduceTo2Addr()
H A DARMBaseInstrInfo.cpp2269 MachineInstr *CommutedMI = in commuteInstructionImpl() local
2271 if (!CommutedMI) in commuteInstructionImpl()
2274 CommutedMI->getOperand(CommutedMI->findFirstPredOperandIdx()) in commuteInstructionImpl()
2276 return CommutedMI; in commuteInstructionImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp2790 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local
2794 CommutedMI in commuteInstructionImpl()
2801 CommutedMI = swapRegAndNonRegOperand(MI, Src0, Src1); in commuteInstructionImpl()
2804 CommutedMI = swapRegAndNonRegOperand(MI, Src1, Src0); in commuteInstructionImpl()
2810 if (CommutedMI) { in commuteInstructionImpl()
2814 CommutedMI->setDesc(get(CommutedOpcode)); in commuteInstructionImpl()
2817 return CommutedMI; in commuteInstructionImpl()