Home
last modified time | relevance | path

Searched refs:CommuteAnyOperandIndex (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/llvm/test/CodeGen/RISCV/rvv/
H A Dcommuted-op-indices-regression.mir5 # return the out-of-bounds CommuteAnyOperandIndex for one of its commutable
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp254 if ((OpIdx1 == CommuteAnyOperandIndex || OpIdx2 == CommuteAnyOperandIndex) && in commuteInstruction()
267 if (ResultIdx1 == CommuteAnyOperandIndex && in fixCommutedOpIndices()
268 ResultIdx2 == CommuteAnyOperandIndex) { in fixCommutedOpIndices()
271 } else if (ResultIdx1 == CommuteAnyOperandIndex) { in fixCommutedOpIndices()
278 } else if (ResultIdx2 == CommuteAnyOperandIndex) { in fixCommutedOpIndices()
H A DPeepholeOptimizer.cpp1550 unsigned CommIdx = TargetInstrInfo::CommuteAnyOperandIndex; in findTargetRecurrence()
H A DTwoAddressInstructionPass.cpp406 unsigned Src1 = TargetInstrInfo::CommuteAnyOperandIndex; in findOnlyInterestingUse()
H A DRegisterCoalescer.cpp876 unsigned NewDstIdx = TargetInstrInfo::CommuteAnyOperandIndex; in removeCopyByCommutingDef()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.cpp1535 if (SrcOpIdx1 != CommuteAnyOperandIndex && SrcOpIdx1 > 3) in findCommutedOpIndices()
1537 if (SrcOpIdx2 != CommuteAnyOperandIndex && SrcOpIdx2 > 3) in findCommutedOpIndices()
1541 if (SrcOpIdx1 != CommuteAnyOperandIndex && in findCommutedOpIndices()
1542 SrcOpIdx2 != CommuteAnyOperandIndex && SrcOpIdx1 != 1 && SrcOpIdx2 != 1) in findCommutedOpIndices()
1548 if (SrcOpIdx1 == CommuteAnyOperandIndex || in findCommutedOpIndices()
1549 SrcOpIdx2 == CommuteAnyOperandIndex) { in findCommutedOpIndices()
1557 } else if (SrcOpIdx1 == CommuteAnyOperandIndex) { in findCommutedOpIndices()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h434 static const unsigned CommuteAnyOperandIndex = ~0U; variable
454 unsigned OpIdx1 = CommuteAnyOperandIndex,
455 unsigned OpIdx2 = CommuteAnyOperandIndex) const;
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp779 Operand0 = TargetInstrInfo::CommuteAnyOperandIndex; in maybeCommute()
780 Operand1 = TargetInstrInfo::CommuteAnyOperandIndex; in maybeCommute()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp375 unsigned CommuteIdx0 = TargetInstrInfo::CommuteAnyOperandIndex; in tryAddToFoldList()
376 unsigned CommuteIdx1 = TargetInstrInfo::CommuteAnyOperandIndex; in tryAddToFoldList()
H A DAMDGPUISelDAGToDAG.cpp2945 unsigned CommuteIdx1 = TargetInstrInfo::CommuteAnyOperandIndex; in isVGPRImm()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DThumb2SizeReduction.cpp779 unsigned CommOpIdx2 = TargetInstrInfo::CommuteAnyOperandIndex; in ReduceTo2Addr()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp2354 if (SrcOpIdx1 != CommuteAnyOperandIndex && in findThreeSrcCommutedOpIndices()
2358 if (SrcOpIdx2 != CommuteAnyOperandIndex && in findThreeSrcCommutedOpIndices()
2365 if (SrcOpIdx1 == CommuteAnyOperandIndex || in findThreeSrcCommutedOpIndices()
2366 SrcOpIdx2 == CommuteAnyOperandIndex) { in findThreeSrcCommutedOpIndices()
2375 else if (SrcOpIdx2 == CommuteAnyOperandIndex) in findThreeSrcCommutedOpIndices()
6169 unsigned CommuteOpIdx1 = OpNum, CommuteOpIdx2 = CommuteAnyOperandIndex; in foldMemoryOperandImpl()