Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DTargetInstrInfo.cpp204 bool TargetInstrInfo::fixCommutedOpIndices(unsigned &ResultIdx1, in fixCommutedOpIndices() argument
208 if (ResultIdx1 == CommuteAnyOperandIndex && in fixCommutedOpIndices()
210 ResultIdx1 = CommutableOpIdx1; in fixCommutedOpIndices()
212 } else if (ResultIdx1 == CommuteAnyOperandIndex) { in fixCommutedOpIndices()
214 ResultIdx1 = CommutableOpIdx2; in fixCommutedOpIndices()
216 ResultIdx1 = CommutableOpIdx1; in fixCommutedOpIndices()
220 if (ResultIdx1 == CommutableOpIdx1) in fixCommutedOpIndices()
222 else if (ResultIdx1 == CommutableOpIdx2) in fixCommutedOpIndices()
229 return (ResultIdx1 == CommutableOpIdx1 && ResultIdx2 == CommutableOpIdx2) || in fixCommutedOpIndices()
230 (ResultIdx1 == CommutableOpIdx2 && ResultIdx2 == CommutableOpIdx1); in fixCommutedOpIndices()
/external/llvm/include/llvm/Target/
DTargetInstrInfo.h132 static bool fixCommutedOpIndices(unsigned &ResultIdx1,