Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
HDTargetInstrInfo.cpp208 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local
212 CommutedMI = MF.CloneMachineInstr(&MI); in commuteInstructionImpl()
214 CommutedMI = &MI; in commuteInstructionImpl()
218 CommutedMI->getOperand(0).setReg(Reg0); in commuteInstructionImpl()
219 CommutedMI->getOperand(0).setSubReg(SubReg0); in commuteInstructionImpl()
221 CommutedMI->getOperand(Idx2).setReg(Reg1); in commuteInstructionImpl()
222 CommutedMI->getOperand(Idx1).setReg(Reg2); in commuteInstructionImpl()
223 CommutedMI->getOperand(Idx2).setSubReg(SubReg1); in commuteInstructionImpl()
224 CommutedMI->getOperand(Idx1).setSubReg(SubReg2); in commuteInstructionImpl()
225 CommutedMI->getOperand(Idx2).setIsKill(Reg1IsKill); in commuteInstructionImpl()
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
HDThumb2SizeReduction.cpp761 MachineInstr *CommutedMI = TII->commuteInstruction(*MI); in ReduceTo2Addr() local
762 if (!CommutedMI) in ReduceTo2Addr()
772 MachineInstr *CommutedMI = in ReduceTo2Addr() local
774 if (!CommutedMI) in ReduceTo2Addr()
HDARMBaseInstrInfo.cpp2158 MachineInstr *CommutedMI = in commuteInstructionImpl() local
2160 if (!CommutedMI) in commuteInstructionImpl()
2163 CommutedMI->getOperand(CommutedMI->findFirstPredOperandIdx()) in commuteInstructionImpl()
2165 return CommutedMI; in commuteInstructionImpl()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
HDSIInstrInfo.cpp1693 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local
1697 CommutedMI in commuteInstructionImpl()
1704 CommutedMI = swapRegAndNonRegOperand(MI, Src0, Src1); in commuteInstructionImpl()
1707 CommutedMI = swapRegAndNonRegOperand(MI, Src1, Src0); in commuteInstructionImpl()
1713 if (CommutedMI) { in commuteInstructionImpl()
1717 CommutedMI->setDesc(get(CommutedOpcode)); in commuteInstructionImpl()
1720 return CommutedMI; in commuteInstructionImpl()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
HDX86InstrInfo.cpp4959 MachineInstr *CommutedMI = in foldMemoryOperandImpl() local
4961 if (!CommutedMI) { in foldMemoryOperandImpl()
4965 if (CommutedMI != &MI) { in foldMemoryOperandImpl()
4967 CommutedMI->eraseFromParent(); in foldMemoryOperandImpl()