Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetInstrInfo.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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DThumb2SizeReduction.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()
DARMBaseInstrInfo.cpp2158 MachineInstr *CommutedMI = in commuteInstructionImpl() local
2160 if (!CommutedMI) in commuteInstructionImpl()
2163 CommutedMI->getOperand(CommutedMI->findFirstPredOperandIdx()) in commuteInstructionImpl()
2165 return CommutedMI; in commuteInstructionImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIInstrInfo.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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstrInfo.cpp4957 MachineInstr *CommutedMI = in foldMemoryOperandImpl() local
4959 if (!CommutedMI) { in foldMemoryOperandImpl()
4963 if (CommutedMI != &MI) { in foldMemoryOperandImpl()
4965 CommutedMI->eraseFromParent(); in foldMemoryOperandImpl()