Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DTargetInstrInfo.cpp169 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local
173 CommutedMI = MF.CloneMachineInstr(&MI); in commuteInstructionImpl()
175 CommutedMI = &MI; in commuteInstructionImpl()
179 CommutedMI->getOperand(0).setReg(Reg0); in commuteInstructionImpl()
180 CommutedMI->getOperand(0).setSubReg(SubReg0); in commuteInstructionImpl()
182 CommutedMI->getOperand(Idx2).setReg(Reg1); in commuteInstructionImpl()
183 CommutedMI->getOperand(Idx1).setReg(Reg2); in commuteInstructionImpl()
184 CommutedMI->getOperand(Idx2).setSubReg(SubReg1); in commuteInstructionImpl()
185 CommutedMI->getOperand(Idx1).setSubReg(SubReg2); in commuteInstructionImpl()
186 CommutedMI->getOperand(Idx2).setIsKill(Reg1IsKill); in commuteInstructionImpl()
[all …]
/external/llvm/lib/Target/ARM/
DThumb2SizeReduction.cpp721 MachineInstr *CommutedMI = TII->commuteInstruction(*MI); in ReduceTo2Addr() local
722 if (!CommutedMI) in ReduceTo2Addr()
732 MachineInstr *CommutedMI = in ReduceTo2Addr() local
734 if (!CommutedMI) in ReduceTo2Addr()
DARMBaseInstrInfo.cpp1813 MachineInstr *CommutedMI = in commuteInstructionImpl() local
1815 if (!CommutedMI) in commuteInstructionImpl()
1818 CommutedMI->getOperand(CommutedMI->findFirstPredOperandIdx()) in commuteInstructionImpl()
1820 return CommutedMI; in commuteInstructionImpl()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DThumb2SizeReduction.cpp595 MachineInstr *CommutedMI = TII->commuteInstruction(MI); in ReduceTo2Addr() local
596 if (!CommutedMI) in ReduceTo2Addr()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DVirtRegRewriter.cpp1554 MachineInstr *CommutedMI = TII->commuteInstruction(DefMI, true); in CommuteToFoldReload() local
1555 if (!CommutedMI) in CommuteToFoldReload()
1557 MBB->insert(MII, CommutedMI); in CommuteToFoldReload()
1560 MachineInstr *FoldedMI = TII->foldMemoryOperand(CommutedMI, Ops, SS); in CommuteToFoldReload()
1562 CommutedMI->eraseFromParent(); in CommuteToFoldReload()
/external/llvm/lib/Target/AMDGPU/
DSIInstrInfo.cpp982 MachineInstr *CommutedMI = &MI; in commuteInstructionImpl() local
1017 CommutedMI = in commuteInstructionImpl()
1021 if (CommutedMI) in commuteInstructionImpl()
1022 CommutedMI->setDesc(get(CommutedOpcode)); in commuteInstructionImpl()
1024 return CommutedMI; in commuteInstructionImpl()
/external/llvm/lib/Target/X86/
DX86InstrInfo.cpp5857 MachineInstr *CommutedMI = in foldMemoryOperandImpl() local
5859 if (!CommutedMI) { in foldMemoryOperandImpl()
5863 if (CommutedMI != &MI) { in foldMemoryOperandImpl()
5865 CommutedMI->eraseFromParent(); in foldMemoryOperandImpl()