| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIShrinkInstructions.cpp | 138 if (TII->commuteInstruction(MI)) { in foldImmediates() 143 TII->commuteInstruction(MI); in foldImmediates() 251 TII->commuteInstruction(MI, false, 0, 1); in shrinkScalarCompare() 897 if (TII->commuteInstruction(MI, false, 1, 2)) in run() 991 if (!MI.isCommutable() || !TII->commuteInstruction(MI) || in run()
|
| H A D | SIPreEmitPeephole.cpp | 121 TII->commuteInstruction(*A); in optimizeVccBranch()
|
| H A D | SIFoldOperands.cpp | 669 TII->commuteInstruction(*Inst32, false); in updateOperand() 846 if (!TII->commuteInstruction(*MI, false, OpNo, CommuteOpNo)) in tryAddToFoldList() 854 TII->commuteInstruction(*MI, false, OpNo, CommuteOpNo); in tryAddToFoldList() 1793 TII->commuteInstruction(*Fold.UseMI, false); in foldInstOperand()
|
| H A D | GCNDPPCombine.cpp | 719 if (TII->commuteInstruction(*NewMI)) { in combineDPPMov()
|
| H A D | SIRegisterInfo.cpp | 2766 if (!TII->isOperandLegal(*MI, Src1Idx) && TII->commuteInstruction(*MI)) { in eliminateFrameIndex()
|
| H A D | SIInstrInfo.cpp | 3748 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 | 5900 commuteInstruction(UseMI); in foldImmediateImpl() 7420 return commuteInstruction(MI, false, Idx1, Idx2) ? Idx2 : Idx1; in commuteOperandsForFold() 7551 commuteInstruction(MI, false, OpNum, CommuteOpIdx2); in foldMemoryOperandImpl() 8358 commuteInstruction(MI, false, OpNum, CommuteOpIdx2); in foldMemoryBroadcast() 9270 commuteInstruction(MI, false); in setExecutionDomainCustom()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZPostRewrite.cpp | 153 TII->commuteInstruction(*MBBI, false, 1, 2); in selectSELRMux()
|
| H A D | SystemZShortenInst.cpp | 359 !TII->commuteInstruction(MI, false, 1, 2))) in processBlock()
|
| H A D | SystemZInstrInfo.cpp | 766 if (!commuteInstruction(UseMI, false, CommuteIdx, UseIdx)) in foldImmediate()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineCSE.cpp | 556 if (MachineInstr *NewMI = TII->commuteInstruction(MI)) { in ProcessBlockCSE() 565 (void)TII->commuteInstruction(MI); in ProcessBlockCSE()
|
| H A D | TwoAddressInstructionPass.cpp | 153 bool commuteInstruction(MachineInstr *MI, unsigned DstIdx, 741 bool TwoAddressInstructionImpl::commuteInstruction(MachineInstr *MI, in commuteInstruction() function in TwoAddressInstructionImpl 748 MachineInstr *NewMI = TII->commuteInstruction(*MI, false, RegBIdx, RegCIdx); in commuteInstruction() 1286 if (DoCommute && commuteInstruction(MI, DstOpIdx, BaseOpIdx, OtherOpIdx, in tryInstructionCommute()
|
| H A D | PeepholeOptimizer.cpp | 1637 TII->commuteInstruction(*(RI.getMI()), false, (*CP).first, in optimizeRecurrence()
|
| H A D | TargetInstrInfo.cpp | 283 MachineInstr *TargetInstrInfo::commuteInstruction(MachineInstr &MI, bool NewMI, in commuteInstruction() function in TargetInstrInfo
|
| H A D | RegisterCoalescer.cpp | 915 TII->commuteInstruction(*DefMI, false, UseOpIdx, NewDstIdx); in removeCopyByCommutingDef()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyRegStackify.cpp | 811 TII->commuteInstruction(*Insert, /*NewMI=*/false, Operand0, Operand1); in maybeCommute() 819 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 | 482 commuteInstruction(MachineInstr &MI, bool NewMI = false,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVInstrInfo.cpp | 4094 commuteInstruction(MI); in simplifyInstruction() 4138 commuteInstruction(MI); in simplifyInstruction()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/ |
| H A D | DemangleTestCases.inc | 12977 …fo18commuteInstructionEPNS_12MachineInstrEb", "llvm::X86InstrInfo::commuteInstruction(llvm::Machin… 17977 …muteInstructionEPNS_12MachineInstrEb", "llvm::TargetInstrInfoImpl::commuteInstruction(llvm::Machin…
|