Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIShrinkInstructions.cpp164 if (TII->commuteInstruction(MI)) { in foldImmediates()
169 TII->commuteInstruction(MI); in foldImmediates()
247 TII->commuteInstruction(MI, false, 0, 1); in shrinkScalarCompare()
361 if (TII->commuteInstruction(MI, false, 1, 2)) in runOnMachineFunction()
417 if (!MI.isCommutable() || !TII->commuteInstruction(MI) || in runOnMachineFunction()
DSIFoldOperands.cpp286 !TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1)) in tryAddToFoldList()
290 TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
762 TII->commuteInstruction(*Fold.UseMI, false); in foldInstOperand()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineCSE.cpp502 if (MachineInstr *NewMI = TII->commuteInstruction(*MI)) { in ProcessBlock()
511 (void)TII->commuteInstruction(*MI); in ProcessBlock()
DTwoAddressInstructionPass.cpp137 bool commuteInstruction(MachineInstr *MI, unsigned DstIdx,
682 bool TwoAddressInstructionPass::commuteInstruction(MachineInstr *MI, in commuteInstruction() function in TwoAddressInstructionPass
689 MachineInstr *NewMI = TII->commuteInstruction(*MI, false, RegBIdx, RegCIdx); in commuteInstruction()
1237 if (DoCommute && commuteInstruction(MI, DstOpIdx, BaseOpIdx, OtherOpIdx, in tryInstructionCommute()
DTargetInstrInfo.cpp231 MachineInstr *TargetInstrInfo::commuteInstruction(MachineInstr &MI, bool NewMI, in commuteInstruction() function in TargetInstrInfo
DPeepholeOptimizer.cpp1586 TII->commuteInstruction(*(RI.getMI()), false, (*CP).first, in optimizeRecurrence()
/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
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86InstrInfo.h208 virtual MachineInstr *commuteInstruction(MachineInstr *MI, bool NewMI) const;
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyRegStackify.cpp713 TII->commuteInstruction(*Insert, /*NewMI=*/false, Operand0, Operand1); in MaybeCommute()
721 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DThumb2SizeReduction.cpp751 MachineInstr *CommutedMI = TII->commuteInstruction(*MI); in ReduceTo2Addr()
763 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-7.0/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h400 commuteInstruction(MachineInstr &MI, bool NewMI = false,
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DThumb2SizeReduction.cpp595 MachineInstr *CommutedMI = TII->commuteInstruction(MI); in ReduceTo2Addr()

12