Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp199 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local
203 CommutedMI = MF.CloneMachineInstr(&MI); in commuteInstructionImpl()
205 CommutedMI = &MI; in commuteInstructionImpl()
209 CommutedMI->getOperand(0).setReg(Reg0); in commuteInstructionImpl()
210 CommutedMI->getOperand(0).setSubReg(SubReg0); in commuteInstructionImpl()
212 CommutedMI->getOperand(Idx2).setReg(Reg1); in commuteInstructionImpl()
213 CommutedMI->getOperand(Idx1).setReg(Reg2); in commuteInstructionImpl()
214 CommutedMI->getOperand(Idx2).setSubReg(SubReg1); in commuteInstructionImpl()
215 CommutedMI->getOperand(Idx1).setSubReg(SubReg2); in commuteInstructionImpl()
216 CommutedMI->getOperand(Idx2).setIsKill(Reg1IsKill); in commuteInstructionImpl()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DThumb2SizeReduction.cpp762 MachineInstr *CommutedMI = TII->commuteInstruction(*MI); in ReduceTo2Addr() local
763 if (!CommutedMI) in ReduceTo2Addr()
773 MachineInstr *CommutedMI = in ReduceTo2Addr() local
775 if (!CommutedMI) in ReduceTo2Addr()
H A DARMBaseInstrInfo.cpp2028 MachineInstr *CommutedMI = in commuteInstructionImpl() local
2030 if (!CommutedMI) in commuteInstructionImpl()
2033 CommutedMI->getOperand(CommutedMI->findFirstPredOperandIdx()) in commuteInstructionImpl()
2035 return CommutedMI; in commuteInstructionImpl()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp1385 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local
1389 CommutedMI in commuteInstructionImpl()
1396 CommutedMI = swapRegAndNonRegOperand(MI, Src0, Src1); in commuteInstructionImpl()
1399 CommutedMI = swapRegAndNonRegOperand(MI, Src1, Src0); in commuteInstructionImpl()
1405 if (CommutedMI) { in commuteInstructionImpl()
1409 CommutedMI->setDesc(get(CommutedOpcode)); in commuteInstructionImpl()
1412 return CommutedMI; in commuteInstructionImpl()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp4954 MachineInstr *CommutedMI = in foldMemoryOperandImpl() local
4956 if (!CommutedMI) { in foldMemoryOperandImpl()
4960 if (CommutedMI != &MI) { in foldMemoryOperandImpl()
4962 CommutedMI->eraseFromParent(); in foldMemoryOperandImpl()