Home
last modified time | relevance | path

Searched refs:findCommutedOpIndices (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsInstrInfo.h175 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
H A DMipsInstrInfo.cpp770 bool MipsInstrInfo::findCommutedOpIndices(const MachineInstr &MI, in findCommutedOpIndices() function in MipsInstrInfo
795 return TargetInstrInfo::findCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.h165 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
H A DRISCVInstrInfo.cpp1480 bool RISCVInstrInfo::findCommutedOpIndices(const MachineInstr &MI, in findCommutedOpIndices() function in RISCVInstrInfo
1591 return TargetInstrInfo::findCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp176 assert(findCommutedOpIndices(MI, CommutableOpIdx1, CommutableOpIdx2) && in commuteInstructionImpl()
255 !findCommutedOpIndices(MI, OpIdx1, OpIdx2)) { in commuteInstruction()
294 bool TargetInstrInfo::findCommutedOpIndices(const MachineInstr &MI, in findCommutedOpIndices() function in TargetInstrInfo
H A DTwoAddressInstructionPass.cpp408 if (TII->findCommutedOpIndices(UseMI, Src1, Src2)) { in findOnlyInterestingUse()
1165 !TII->findCommutedOpIndices(*MI, BaseOpIdx, OtherOpIdx)) in tryInstructionCommute()
H A DPeepholeOptimizer.cpp1551 if (TII->findCommutedOpIndices(MI, Idx, CommIdx) && CommIdx == TiedUseIdx) { in findTargetRecurrence()
H A DRegisterCoalescer.cpp877 if (!TII->findCommutedOpIndices(*DefMI, UseOpIdx, NewDstIdx)) in removeCopyByCommutingDef()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InstrInfo.h290 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
H A DX86InstrInfo.cpp2411 bool X86InstrInfo::findCommutedOpIndices(const MachineInstr &MI, in findCommutedOpIndices() function in X86InstrInfo
2476 return TargetInstrInfo::findCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices()
2481 return TargetInstrInfo::findCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices()
2490 return TargetInstrInfo::findCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices()
2633 return TargetInstrInfo::findCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices()
6170 if (findCommutedOpIndices(MI, CommuteOpIdx1, CommuteOpIdx2)) { in foldMemoryOperandImpl()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.h269 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
272 bool findCommutedOpIndices(MCInstrDesc Desc, unsigned & SrcOpIdx0,
H A DSIFoldOperands.cpp377 bool CanCommute = TII->findCommutedOpIndices(*MI, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
H A DSIInstrInfo.cpp2335 bool SIInstrInfo::findCommutedOpIndices(const MachineInstr &MI, in findCommutedOpIndices() function in SIInstrInfo
2338 return findCommutedOpIndices(MI.getDesc(), SrcOpIdx0, SrcOpIdx1); in findCommutedOpIndices()
2341 bool SIInstrInfo::findCommutedOpIndices(MCInstrDesc Desc, unsigned &SrcOpIdx0, in findCommutedOpIndices() function in SIInstrInfo
H A DAMDGPUISelDAGToDAG.cpp2946 if (SII->findCommutedOpIndices(Desc, OpIdx, CommuteIdx1)) { in isVGPRImm()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.h502 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
H A DPPCInstrInfo.cpp1228 bool PPCInstrInfo::findCommutedOpIndices(const MachineInstr &MI, in findCommutedOpIndices() function in PPCInstrInfo
1237 return TargetInstrInfo::findCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp781 if (TII->findCommutedOpIndices(*Insert, Operand0, Operand1)) { in maybeCommute()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h474 virtual bool findCommutedOpIndices(const MachineInstr &MI,
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DThumb2SizeReduction.cpp780 if (!TII->findCommutedOpIndices(*MI, CommOpIdx1, CommOpIdx2) || in ReduceTo2Addr()