Home
last modified time | relevance | path

Searched refs:ResultIdx2 (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp265 unsigned &ResultIdx2, in fixCommutedOpIndices() argument
269 ResultIdx2 == CommuteAnyOperandIndex) { in fixCommutedOpIndices()
271 ResultIdx2 = CommutableOpIdx2; in fixCommutedOpIndices()
273 if (ResultIdx2 == CommutableOpIdx1) in fixCommutedOpIndices()
275 else if (ResultIdx2 == CommutableOpIdx2) in fixCommutedOpIndices()
279 } else if (ResultIdx2 == CommuteAnyOperandIndex) { in fixCommutedOpIndices()
281 ResultIdx2 = CommutableOpIdx2; in fixCommutedOpIndices()
283 ResultIdx2 = CommutableOpIdx1; in fixCommutedOpIndices()
289 return (ResultIdx1 == CommutableOpIdx1 && ResultIdx2 == CommutableOpIdx2) || in fixCommutedOpIndices()
290 (ResultIdx1 == CommutableOpIdx2 && ResultIdx2 == CommutableOpIdx1); in fixCommutedOpIndices()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h199 static bool fixCommutedOpIndices(unsigned &ResultIdx1, unsigned &ResultIdx2,