Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp138 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 DSIPreEmitPeephole.cpp121 TII->commuteInstruction(*A); in optimizeVccBranch()
H A DSIFoldOperands.cpp669 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 DGCNDPPCombine.cpp719 if (TII->commuteInstruction(*NewMI)) { in combineDPPMov()
H A DSIRegisterInfo.cpp2766 if (!TII->isOperandLegal(*MI, Src1Idx) && TII->commuteInstruction(*MI)) { in eliminateFrameIndex()
H A DSIInstrInfo.cpp3748 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.cpp5900 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 DSystemZPostRewrite.cpp153 TII->commuteInstruction(*MBBI, false, 1, 2); in selectSELRMux()
H A DSystemZShortenInst.cpp359 !TII->commuteInstruction(MI, false, 1, 2))) in processBlock()
H A DSystemZInstrInfo.cpp766 if (!commuteInstruction(UseMI, false, CommuteIdx, UseIdx)) in foldImmediate()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCSE.cpp556 if (MachineInstr *NewMI = TII->commuteInstruction(MI)) { in ProcessBlockCSE()
565 (void)TII->commuteInstruction(MI); in ProcessBlockCSE()
H A DTwoAddressInstructionPass.cpp153 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 DPeepholeOptimizer.cpp1637 TII->commuteInstruction(*(RI.getMI()), false, (*CP).first, in optimizeRecurrence()
H A DTargetInstrInfo.cpp283 MachineInstr *TargetInstrInfo::commuteInstruction(MachineInstr &MI, bool NewMI, in commuteInstruction() function in TargetInstrInfo
H A DRegisterCoalescer.cpp915 TII->commuteInstruction(*DefMI, false, UseOpIdx, NewDstIdx); in removeCopyByCommutingDef()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp811 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 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.h482 commuteInstruction(MachineInstr &MI, bool NewMI = false,
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.cpp4094 commuteInstruction(MI); in simplifyInstruction()
4138 commuteInstruction(MI); in simplifyInstruction()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc12977 …fo18commuteInstructionEPNS_12MachineInstrEb", "llvm::X86InstrInfo::commuteInstruction(llvm::Machin…
17977 …muteInstructionEPNS_12MachineInstrEb", "llvm::TargetInstrInfoImpl::commuteInstruction(llvm::Machin…