Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp218 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local
222 CommutedMI = MF.CloneMachineInstr(&MI); in commuteInstructionImpl()
224 CommutedMI = &MI; in commuteInstructionImpl()
228 CommutedMI->getOperand(0).setReg(Reg0); in commuteInstructionImpl()
229 CommutedMI->getOperand(0).setSubReg(SubReg0); in commuteInstructionImpl()
231 CommutedMI->getOperand(Idx2).setReg(Reg1); in commuteInstructionImpl()
232 CommutedMI->getOperand(Idx1).setReg(Reg2); in commuteInstructionImpl()
233 CommutedMI->getOperand(Idx2).setSubReg(SubReg1); in commuteInstructionImpl()
234 CommutedMI->getOperand(Idx1).setSubReg(SubReg2); in commuteInstructionImpl()
235 CommutedMI->getOperand(Idx2).setIsKill(Reg1IsKill); in commuteInstructionImpl()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DThumb2SizeReduction.cpp771 MachineInstr *CommutedMI = TII->commuteInstruction(*MI); in ReduceTo2Addr() local
772 if (!CommutedMI) in ReduceTo2Addr()
782 MachineInstr *CommutedMI = in ReduceTo2Addr() local
784 if (!CommutedMI) in ReduceTo2Addr()
H A DARMBaseInstrInfo.cpp2256 MachineInstr *CommutedMI = in commuteInstructionImpl() local
2258 if (!CommutedMI) in commuteInstructionImpl()
2261 CommutedMI->getOperand(CommutedMI->findFirstPredOperandIdx()) in commuteInstructionImpl()
2263 return CommutedMI; in commuteInstructionImpl()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp2088 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local
2092 CommutedMI in commuteInstructionImpl()
2099 CommutedMI = swapRegAndNonRegOperand(MI, Src0, Src1); in commuteInstructionImpl()
2102 CommutedMI = swapRegAndNonRegOperand(MI, Src1, Src0); in commuteInstructionImpl()
2108 if (CommutedMI) { in commuteInstructionImpl()
2112 CommutedMI->setDesc(get(CommutedOpcode)); in commuteInstructionImpl()
2115 return CommutedMI; in commuteInstructionImpl()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp5646 MachineInstr *CommutedMI = in foldMemoryOperandImpl() local
5648 if (!CommutedMI) { in foldMemoryOperandImpl()
5652 if (CommutedMI != &MI) { in foldMemoryOperandImpl()
5654 CommutedMI->eraseFromParent(); in foldMemoryOperandImpl()