Home
last modified time | relevance | path

Searched refs:commuteInstruction (Results 1 – 22 of 22) sorted by relevance

/external/llvm/lib/Target/AMDGPU/
DSIShrinkInstructions.cpp175 if (TryToCommute && MI.isCommutable() && TII->commuteInstruction(MI)) in foldImmediates()
315 if (!MI.isCommutable() || !TII->commuteInstruction(MI) || in runOnMachineFunction()
DSIFoldOperands.cpp180 !TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1)) in tryAddToFoldList()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCInstrInfo.h99 virtual MachineInstr *commuteInstruction(MachineInstr *MI, bool NewMI) const;
DPPCInstrInfo.cpp98 PPCInstrInfo::commuteInstruction(MachineInstr *MI, bool NewMI) const { in commuteInstruction() function in PPCInstrInfo
103 return TargetInstrInfoImpl::commuteInstruction(MI, NewMI); in commuteInstruction()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetInstrInfo.h227 virtual MachineInstr *commuteInstruction(MachineInstr *MI,
737 virtual MachineInstr *commuteInstruction(MachineInstr *MI,
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineCSE.cpp380 MachineInstr *NewMI = TII->commuteInstruction(MI); in ProcessBlock()
390 (void)TII->commuteInstruction(MI); in ProcessBlock()
DTargetInstrInfoImpl.cpp60 MachineInstr *TargetInstrInfoImpl::commuteInstruction(MachineInstr *MI, in commuteInstruction() function in TargetInstrInfoImpl
DTwoAddressInstructionPass.cpp598 MachineInstr *NewMI = TII->commuteInstruction(MI); in CommuteInstruction()
DRegisterCoalescer.cpp712 MachineInstr *NewMI = TII->commuteInstruction(DefMI); in RemoveCopyByCommutingDef()
DVirtRegRewriter.cpp1554 MachineInstr *CommutedMI = TII->commuteInstruction(DefMI, true); in CommuteToFoldReload()
/external/llvm/lib/CodeGen/
DMachineCSE.cpp481 if (MachineInstr *NewMI = TII->commuteInstruction(*MI)) { in ProcessBlock()
490 (void)TII->commuteInstruction(*MI); in ProcessBlock()
DTwoAddressInstructionPass.cpp112 bool commuteInstruction(MachineInstr *MI,
643 bool TwoAddressInstructionPass::commuteInstruction(MachineInstr *MI, in commuteInstruction() function in TwoAddressInstructionPass
649 MachineInstr *NewMI = TII->commuteInstruction(*MI, false, RegBIdx, RegCIdx); in commuteInstruction()
1191 if (DoCommute && commuteInstruction(MI, BaseOpIdx, OtherOpIdx, Dist)) { in tryInstructionCommute()
DTargetInstrInfo.cpp195 MachineInstr *TargetInstrInfo::commuteInstruction(MachineInstr &MI, bool NewMI, in commuteInstruction() function in TargetInstrInfo
DRegisterCoalescer.cpp721 TII->commuteInstruction(*DefMI, false, UseOpIdx, NewDstIdx); in removeCopyByCommutingDef()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86InstrInfo.h208 virtual MachineInstr *commuteInstruction(MachineInstr *MI, bool NewMI) const;
DX86InstrInfo.cpp1696 X86InstrInfo::commuteInstruction(MachineInstr *MI, bool NewMI) const { in commuteInstruction() function in X86InstrInfo
1723 return TargetInstrInfoImpl::commuteInstruction(MI, NewMI); in commuteInstruction()
1834 return TargetInstrInfoImpl::commuteInstruction(MI, NewMI); in commuteInstruction()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyRegStackify.cpp678 TII->commuteInstruction(*Insert, /*NewMI=*/false, Operand0, Operand1); in MaybeCommute()
686 TII->commuteInstruction(*Insert, /*NewMI=*/false, Operand0, Operand1); in MaybeCommute()
/external/llvm/lib/Target/ARM/
DThumb2SizeReduction.cpp721 MachineInstr *CommutedMI = TII->commuteInstruction(*MI); in ReduceTo2Addr()
733 TII->commuteInstruction(*MI, false, CommOpIdx1, CommOpIdx2); in ReduceTo2Addr()
/external/llvm/include/llvm/Target/
DTargetInstrInfo.h331 commuteInstruction(MachineInstr &MI, bool NewMI = false,
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DThumb2SizeReduction.cpp595 MachineInstr *CommutedMI = TII->commuteInstruction(MI); in ReduceTo2Addr()
DREADME.txt505 ARMInstrInfo::commuteInstruction() to support it.
/external/llvm/lib/Target/X86/
DX86InstrInfo.cpp5858 commuteInstruction(MI, false, CommuteOpIdx1, CommuteOpIdx2); in foldMemoryOperandImpl()
5877 commuteInstruction(MI, false, CommuteOpIdx1, CommuteOpIdx2); in foldMemoryOperandImpl()