Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/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.cpp2268 MachineInstr *CommutedMI = in commuteInstructionImpl() local
2270 if (!CommutedMI) in commuteInstructionImpl()
2273 CommutedMI->getOperand(CommutedMI->findFirstPredOperandIdx()) in commuteInstructionImpl()
2275 return CommutedMI; in commuteInstructionImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp2739 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local
2743 CommutedMI in commuteInstructionImpl()
2750 CommutedMI = swapRegAndNonRegOperand(MI, Src0, Src1); in commuteInstructionImpl()
2753 CommutedMI = swapRegAndNonRegOperand(MI, Src1, Src0); in commuteInstructionImpl()
2759 if (CommutedMI) { in commuteInstructionImpl()
2763 CommutedMI->setDesc(get(CommutedOpcode)); in commuteInstructionImpl()
2766 return CommutedMI; in commuteInstructionImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp7427 MachineInstr *CommutedMI = in foldMemoryOperandImpl() local
7429 if (!CommutedMI) { in foldMemoryOperandImpl()
7433 if (CommutedMI != &MI) { in foldMemoryOperandImpl()
7435 CommutedMI->eraseFromParent(); in foldMemoryOperandImpl()