Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp215 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local
219 CommutedMI = MF.CloneMachineInstr(&MI); in commuteInstructionImpl()
221 CommutedMI = &MI; in commuteInstructionImpl()
225 CommutedMI->getOperand(0).setReg(Reg0); in commuteInstructionImpl()
226 CommutedMI->getOperand(0).setSubReg(SubReg0); in commuteInstructionImpl()
228 CommutedMI->getOperand(Idx2).setReg(Reg1); in commuteInstructionImpl()
229 CommutedMI->getOperand(Idx1).setReg(Reg2); in commuteInstructionImpl()
230 CommutedMI->getOperand(Idx2).setSubReg(SubReg1); in commuteInstructionImpl()
231 CommutedMI->getOperand(Idx1).setSubReg(SubReg2); in commuteInstructionImpl()
232 CommutedMI->getOperand(Idx2).setIsKill(Reg1IsKill); in commuteInstructionImpl()
[all …]
/openbsd-src/gnu/llvm/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.cpp2282 MachineInstr *CommutedMI = in commuteInstructionImpl() local
2284 if (!CommutedMI) in commuteInstructionImpl()
2287 CommutedMI->getOperand(CommutedMI->findFirstPredOperandIdx()) in commuteInstructionImpl()
2289 return CommutedMI; in commuteInstructionImpl()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp2417 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local
2421 CommutedMI in commuteInstructionImpl()
2428 CommutedMI = swapRegAndNonRegOperand(MI, Src0, Src1); in commuteInstructionImpl()
2431 CommutedMI = swapRegAndNonRegOperand(MI, Src1, Src0); in commuteInstructionImpl()
2437 if (CommutedMI) { in commuteInstructionImpl()
2441 CommutedMI->setDesc(get(CommutedOpcode)); in commuteInstructionImpl()
2444 return CommutedMI; in commuteInstructionImpl()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp6237 MachineInstr *CommutedMI = in foldMemoryOperandImpl() local
6239 if (!CommutedMI) { in foldMemoryOperandImpl()
6243 if (CommutedMI != &MI) { in foldMemoryOperandImpl()
6245 CommutedMI->eraseFromParent(); in foldMemoryOperandImpl()