/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIShrinkInstructions.cpp | 131 if (TII->commuteInstruction(MI)) { in foldImmediates() 136 TII->commuteInstruction(MI); in foldImmediates() 240 TII->commuteInstruction(MI, false, 0, 1); in shrinkScalarCompare() 851 if (TII->commuteInstruction(MI, false, 1, 2)) in runOnMachineFunction() 941 if (!MI.isCommutable() || !TII->commuteInstruction(MI) || in runOnMachineFunction()
|
H A D | SIPreEmitPeephole.cpp | 119 TII->commuteInstruction(*A); in optimizeVccBranch()
|
H A D | SIFoldOperands.cpp | 414 TII->commuteInstruction(*Inst32, false); in updateOperand() 574 if (!TII->commuteInstruction(*MI, false, OpNo, CommuteOpNo)) in tryAddToFoldList() 582 TII->commuteInstruction(*MI, false, OpNo, CommuteOpNo); in tryAddToFoldList() 1439 TII->commuteInstruction(*Fold.UseMI, false); in foldInstOperand()
|
H A D | GCNDPPCombine.cpp | 716 if (TII->commuteInstruction(*NewMI)) { in combineDPPMov()
|
H A D | SIInstrInfo.cpp | 3624 MRI->hasOneUse(Src1->getReg()) && commuteInstruction(UseMI)) in foldImmediate()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86CompressEVEX.cpp | 207 ST.getInstrInfo()->commuteInstruction(MI, false, 1, 2); in CompressEVEXImpl()
|
H A D | X86InstrInfo.cpp | 5843 commuteInstruction(UseMI); in foldImmediateImpl() 7334 return commuteInstruction(MI, false, Idx1, Idx2) ? Idx2 : Idx1; in commuteOperandsForFold() 7464 commuteInstruction(MI, false, OpNum, CommuteOpIdx2); in foldMemoryOperandImpl() 8263 commuteInstruction(MI, false, OpNum, CommuteOpIdx2); in foldMemoryBroadcast() 9175 commuteInstruction(MI, false); in setExecutionDomainCustom()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineCSE.cpp | 561 if (MachineInstr *NewMI = TII->commuteInstruction(MI)) { in ProcessBlockCSE() 570 (void)TII->commuteInstruction(MI); in ProcessBlockCSE()
|
H A D | TwoAddressInstructionPass.cpp | 153 bool commuteInstruction(MachineInstr *MI, unsigned DstIdx, 738 bool TwoAddressInstructionImpl::commuteInstruction(MachineInstr *MI, in commuteInstruction() function in TwoAddressInstructionImpl 745 MachineInstr *NewMI = TII->commuteInstruction(*MI, false, RegBIdx, RegCIdx); in commuteInstruction() 1284 if (DoCommute && commuteInstruction(MI, DstOpIdx, BaseOpIdx, OtherOpIdx, in tryInstructionCommute()
|
H A D | PeepholeOptimizer.cpp | 1649 TII->commuteInstruction(*(RI.getMI()), false, (*CP).first, in optimizeRecurrence()
|
H A D | TargetInstrInfo.cpp | 249 MachineInstr *TargetInstrInfo::commuteInstruction(MachineInstr &MI, bool NewMI, in commuteInstruction() function in TargetInstrInfo
|
H A D | RegisterCoalescer.cpp | 902 TII->commuteInstruction(*DefMI, false, UseOpIdx, NewDstIdx); in removeCopyByCommutingDef()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZPostRewrite.cpp | 133 TII->commuteInstruction(*MBBI, false, 1, 2); in selectSELRMux()
|
H A D | SystemZShortenInst.cpp | 362 !TII->commuteInstruction(MI, false, 1, 2))) in processBlock()
|
H A D | SystemZInstrInfo.cpp | 744 if (!commuteInstruction(UseMI, false, CommuteIdx, UseIdx)) in foldImmediate()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyRegStackify.cpp | 782 TII->commuteInstruction(*Insert, /*NewMI=*/false, Operand0, Operand1); in maybeCommute() 790 TII->commuteInstruction(*Insert, /*NewMI=*/false, Operand0, Operand1); in maybeCommute()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | Thumb2SizeReduction.cpp | 769 MachineInstr *CommutedMI = TII->commuteInstruction(*MI); in ReduceTo2Addr() 781 TII->commuteInstruction(*MI, false, CommOpIdx1, CommOpIdx2); in ReduceTo2Addr()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | TargetInstrInfo.h | 469 commuteInstruction(MachineInstr &MI, bool NewMI = false,
|