Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DRedundantExpressionCheck.cpp158 static bool areEquivalentRanges(BinaryOperatorKind OpcodeLHS, in areEquivalentRanges() argument
166 return OpcodeLHS == OpcodeRHS; in areEquivalentRanges()
170 return ((OpcodeLHS == BO_LE && OpcodeRHS == BO_LT) || in areEquivalentRanges()
171 (OpcodeLHS == BO_GT && OpcodeRHS == BO_GE)) && in areEquivalentRanges()
178 static bool areExclusiveRanges(BinaryOperatorKind OpcodeLHS, in areExclusiveRanges() argument
187 switch (OpcodeLHS) { in areExclusiveRanges()
206 if ((OpcodeLHS == BO_EQ || OpcodeLHS == BO_LT || OpcodeLHS == BO_LE) && in areExclusiveRanges()
212 if (OpcodeLHS == BO_GT && OpcodeRHS == BO_LT && in areExclusiveRanges()
222 static bool rangesFullyCoverDomain(BinaryOperatorKind OpcodeLHS, in rangesFullyCoverDomain() argument
231 switch (OpcodeLHS) { in rangesFullyCoverDomain()
[all …]