Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/lib/Target/AMDGPU/
HDSIShrinkInstructions.cpp185 if (TryToCommute && MI.isCommutable() && TII->commuteInstruction(&MI)) in foldImmediates()
224 if (!MI.isCommutable() || !TII->commuteInstruction(&MI) || in runOnMachineFunction()
HDSIFoldOperands.cpp178 if (!CanCommute || !TII->commuteInstruction(MI)) in tryAddToFoldList()
HDSIInstrInfo.h122 MachineInstr *commuteInstruction(MachineInstr *MI,
HDSIInstrInfo.cpp767 MachineInstr *SIInstrInfo::commuteInstruction(MachineInstr *MI, in commuteInstruction() function in SIInstrInfo
835 MI = TargetInstrInfo::commuteInstruction(MI, NewMI); in commuteInstruction()
1726 if (commuteInstruction(MI)) in legalizeOperands()
/NextBSD/contrib/llvm/lib/Target/PowerPC/
HDPPCInstrInfo.h132 MachineInstr *commuteInstruction(MachineInstr *MI, bool NewMI) const override;
HDPPCInstrInfo.cpp265 PPCInstrInfo::commuteInstruction(MachineInstr *MI, bool NewMI) const { in commuteInstruction() function in PPCInstrInfo
271 return TargetInstrInfo::commuteInstruction(MI, NewMI); in commuteInstruction()
/NextBSD/contrib/llvm/lib/CodeGen/
HDMachineCSE.cpp481 MachineInstr *NewMI = TII->commuteInstruction(MI); in ProcessBlock()
491 (void)TII->commuteInstruction(MI); in ProcessBlock()
HDTwoAddressInstructionPass.cpp113 bool commuteInstruction(MachineBasicBlock::iterator &mi,
649 commuteInstruction(MachineBasicBlock::iterator &mi, in commuteInstruction() function in TwoAddressInstructionPass
653 MachineInstr *NewMI = TII->commuteInstruction(MI); in commuteInstruction()
1221 if (TryCommute && commuteInstruction(mi, regB, regC, Dist)) { in tryInstructionTransform()
HDTargetInstrInfo.cpp123 MachineInstr *TargetInstrInfo::commuteInstruction(MachineInstr *MI, in commuteInstruction() function in TargetInstrInfo
HDRegisterCoalescer.cpp722 MachineInstr *NewMI = TII->commuteInstruction(DefMI); in removeCopyByCommutingDef()
/NextBSD/contrib/llvm/lib/Target/ARM/
HDThumb2SizeReduction.cpp657 MachineInstr *CommutedMI = TII->commuteInstruction(MI); in ReduceTo2Addr()
667 MachineInstr *CommutedMI = TII->commuteInstruction(MI); in ReduceTo2Addr()
HDARMBaseInstrInfo.h191 MachineInstr *commuteInstruction(MachineInstr*,
HDARMBaseInstrInfo.cpp1749 ARMBaseInstrInfo::commuteInstruction(MachineInstr *MI, bool NewMI) const { in commuteInstruction() function in ARMBaseInstrInfo
1759 MI = TargetInstrInfo::commuteInstruction(MI, NewMI); in commuteInstruction()
1768 return TargetInstrInfo::commuteInstruction(MI, NewMI); in commuteInstruction()
/NextBSD/contrib/llvm/lib/Target/X86/
HDX86InstrInfo.h265 MachineInstr *commuteInstruction(MachineInstr *MI, bool NewMI) const override;
HDX86InstrInfo.cpp2920 X86InstrInfo::commuteInstruction(MachineInstr *MI, bool NewMI) const { in commuteInstruction() function in X86InstrInfo
2947 return TargetInstrInfo::commuteInstruction(MI, NewMI); in commuteInstruction()
2983 return TargetInstrInfo::commuteInstruction(MI, NewMI); in commuteInstruction()
2998 return TargetInstrInfo::commuteInstruction(MI, NewMI); in commuteInstruction()
3019 return TargetInstrInfo::commuteInstruction(MI, NewMI); in commuteInstruction()
3048 return TargetInstrInfo::commuteInstruction(MI, NewMI); in commuteInstruction()
3127 return TargetInstrInfo::commuteInstruction(MI, NewMI); in commuteInstruction()
4985 MachineInstr *CommutedMI = commuteInstruction(MI, false); in foldMemoryOperandImpl()
5006 MachineInstr *UncommutedMI = commuteInstruction(MI, false); in foldMemoryOperandImpl()
/NextBSD/contrib/llvm/include/llvm/Target/
HDTargetInstrInfo.h261 virtual MachineInstr *commuteInstruction(MachineInstr *MI,