reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/CodeGen/TargetInstrInfo.h
  405   commuteInstruction(MachineInstr &MI, bool NewMI = false,

References

lib/CodeGen/MachineCSE.cpp
  541       if (MachineInstr *NewMI = TII->commuteInstruction(*MI)) {
  550           (void)TII->commuteInstruction(*MI);
lib/CodeGen/PeepholeOptimizer.cpp
 1583         TII->commuteInstruction(*(RI.getMI()), false, (*CP).first,
lib/CodeGen/RegisterCoalescer.cpp
  835       TII->commuteInstruction(*DefMI, false, UseOpIdx, NewDstIdx);
lib/CodeGen/TwoAddressInstructionPass.cpp
  687   MachineInstr *NewMI = TII->commuteInstruction(*MI, false, RegBIdx, RegCIdx);
lib/Target/AMDGPU/GCNDPPCombine.cpp
  518       if (TII->commuteInstruction(*NewMI)) {
lib/Target/AMDGPU/SIFoldOperands.cpp
  279       TII.commuteInstruction(*Inst32, false);
  396         !TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1))
  424       TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1);
 1233       TII->commuteInstruction(*Fold.UseMI, false);
lib/Target/AMDGPU/SIInsertSkips.cpp
  374     TII->commuteInstruction(*A);
lib/Target/AMDGPU/SIInstrInfo.cpp
 2455             commuteInstruction(UseMI)) {
lib/Target/AMDGPU/SIShrinkInstructions.cpp
  116     if (TII->commuteInstruction(MI)) {
  121       TII->commuteInstruction(MI);
  186     TII->commuteInstruction(MI, false, 0, 1);
  358       if (!TII->commuteInstruction(MI, false, 1, 2))
  637           if (TII->commuteInstruction(MI, false, 1, 2))
  707         if (!MI.isCommutable() || !TII->commuteInstruction(MI) ||
lib/Target/ARM/Thumb2SizeReduction.cpp
  761       MachineInstr *CommutedMI = TII->commuteInstruction(*MI);
  773         TII->commuteInstruction(*MI, false, CommOpIdx1, CommOpIdx2);
lib/Target/SystemZ/SystemZInstrInfo.cpp
  658     if (!commuteInstruction(UseMI, false, CommuteIdx, UseIdx))
lib/Target/SystemZ/SystemZPostRewrite.cpp
  140     TII->commuteInstruction(*MBBI, false, 1, 2);
lib/Target/SystemZ/SystemZShortenInst.cpp
  188     TII->commuteInstruction(MI, false, 1, 2);
  341            !TII->commuteInstruction(MI, false, 1, 2)))
lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
  743       TII->commuteInstruction(*Insert, /*NewMI=*/false, Operand0, Operand1);
  751         TII->commuteInstruction(*Insert, /*NewMI=*/false, Operand0, Operand1);
lib/Target/X86/X86InstrInfo.cpp
 4958           commuteInstruction(MI, false, CommuteOpIdx1, CommuteOpIdx2);
 4977           commuteInstruction(MI, false, CommuteOpIdx1, CommuteOpIdx2);
 6797       commuteInstruction(MI, false);