Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp131 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 DSIPreEmitPeephole.cpp119 TII->commuteInstruction(*A); in optimizeVccBranch()
H A DSIFoldOperands.cpp414 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 DGCNDPPCombine.cpp716 if (TII->commuteInstruction(*NewMI)) { in combineDPPMov()
H A DSIInstrInfo.cpp3624 MRI->hasOneUse(Src1->getReg()) && commuteInstruction(UseMI)) in foldImmediate()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CompressEVEX.cpp207 ST.getInstrInfo()->commuteInstruction(MI, false, 1, 2); in CompressEVEXImpl()
H A DX86InstrInfo.cpp5843 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 DMachineCSE.cpp561 if (MachineInstr *NewMI = TII->commuteInstruction(MI)) { in ProcessBlockCSE()
570 (void)TII->commuteInstruction(MI); in ProcessBlockCSE()
H A DTwoAddressInstructionPass.cpp153 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 DPeepholeOptimizer.cpp1649 TII->commuteInstruction(*(RI.getMI()), false, (*CP).first, in optimizeRecurrence()
H A DTargetInstrInfo.cpp249 MachineInstr *TargetInstrInfo::commuteInstruction(MachineInstr &MI, bool NewMI, in commuteInstruction() function in TargetInstrInfo
H A DRegisterCoalescer.cpp902 TII->commuteInstruction(*DefMI, false, UseOpIdx, NewDstIdx); in removeCopyByCommutingDef()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZPostRewrite.cpp133 TII->commuteInstruction(*MBBI, false, 1, 2); in selectSELRMux()
H A DSystemZShortenInst.cpp362 !TII->commuteInstruction(MI, false, 1, 2))) in processBlock()
H A DSystemZInstrInfo.cpp744 if (!commuteInstruction(UseMI, false, CommuteIdx, UseIdx)) in foldImmediate()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp782 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 DThumb2SizeReduction.cpp769 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 DTargetInstrInfo.h469 commuteInstruction(MachineInstr &MI, bool NewMI = false,