Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp264 bool TargetInstrInfo::fixCommutedOpIndices(unsigned &ResultIdx1, in fixCommutedOpIndices() argument
268 if (ResultIdx1 == CommuteAnyOperandIndex && in fixCommutedOpIndices()
270 ResultIdx1 = CommutableOpIdx1; in fixCommutedOpIndices()
272 } else if (ResultIdx1 == CommuteAnyOperandIndex) { in fixCommutedOpIndices()
274 ResultIdx1 = CommutableOpIdx2; in fixCommutedOpIndices()
276 ResultIdx1 = CommutableOpIdx1; in fixCommutedOpIndices()
280 if (ResultIdx1 == CommutableOpIdx1) in fixCommutedOpIndices()
282 else if (ResultIdx1 == CommutableOpIdx2) 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,