Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
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 …]
/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-7.0/llvm/lib/Target/ARM/
DThumb2SizeReduction.cpp751 MachineInstr *CommutedMI = TII->commuteInstruction(*MI); in ReduceTo2Addr() local
752 if (!CommutedMI) in ReduceTo2Addr()
762 MachineInstr *CommutedMI = in ReduceTo2Addr() local
764 if (!CommutedMI) in ReduceTo2Addr()
DARMBaseInstrInfo.cpp2014 MachineInstr *CommutedMI = in commuteInstructionImpl() local
2016 if (!CommutedMI) in commuteInstructionImpl()
2019 CommutedMI->getOperand(CommutedMI->findFirstPredOperandIdx()) in commuteInstructionImpl()
2021 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIInstrInfo.cpp1389 MachineInstr *CommutedMI = nullptr; in commuteInstructionImpl() local
1393 CommutedMI in commuteInstructionImpl()
1400 CommutedMI = swapRegAndNonRegOperand(MI, Src0, Src1); in commuteInstructionImpl()
1403 CommutedMI = swapRegAndNonRegOperand(MI, Src1, Src0); in commuteInstructionImpl()
1409 if (CommutedMI) { in commuteInstructionImpl()
1413 CommutedMI->setDesc(get(CommutedOpcode)); in commuteInstructionImpl()
1416 return CommutedMI; in commuteInstructionImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86InstrInfo.cpp4962 MachineInstr *CommutedMI = in foldMemoryOperandImpl() local
4964 if (!CommutedMI) { in foldMemoryOperandImpl()
4968 if (CommutedMI != &MI) { in foldMemoryOperandImpl()
4970 CommutedMI->eraseFromParent(); in foldMemoryOperandImpl()
/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()