Lines Matching refs:LhsOpcode
993 BinaryOperatorKind LhsOpcode, RhsOpcode; in checkArithmeticExpr() local
998 if (!retrieveBinOpIntegerConstantExpr(Result, "lhs", LhsOpcode, LhsSymbol, in checkArithmeticExpr()
1005 if (LhsOpcode == BO_Add || LhsOpcode == BO_Sub) { in checkArithmeticExpr()
1020 if (!retrieveBinOpIntegerConstantExpr(Result, "lhs", LhsOpcode, LhsSymbol, in checkArithmeticExpr()
1027 transformSubToCanonicalAddExpr(LhsOpcode, LhsValue); in checkArithmeticExpr()
1031 if (LhsOpcode == BO_Add && RhsOpcode == BO_Add) { in checkArithmeticExpr()
1070 BinaryOperatorKind LhsOpcode; in checkBitwiseExpr() local
1071 if (!retrieveBinOpIntegerConstantExpr(Result, "lhs", LhsOpcode, LhsSymbol, in checkBitwiseExpr()
1081 if (LhsOpcode == BO_And && (LhsConstant & RhsConstant) != RhsConstant) { in checkBitwiseExpr()
1089 if (LhsOpcode == BO_Or && (LhsConstant | RhsConstant) != RhsConstant) { in checkBitwiseExpr()
1146 BinaryOperatorKind LhsOpcode, RhsOpcode; in checkRelationalExpr() local
1150 Result, "lhs", LhsExpr, LhsOpcode, LhsSymbol, LhsValue, LhsConst) || in checkRelationalExpr()
1161 std::swap(LhsOpcode, RhsOpcode); in checkRelationalExpr()
1170 areEquivalentRanges(LhsOpcode, LhsValue, RhsOpcode, RhsValue)) { in checkRelationalExpr()
1177 if (areExclusiveRanges(LhsOpcode, LhsValue, RhsOpcode, RhsValue)) { in checkRelationalExpr()
1180 } else if (rangeSubsumesRange(LhsOpcode, LhsValue, RhsOpcode, RhsValue)) { in checkRelationalExpr()
1182 } else if (rangeSubsumesRange(RhsOpcode, RhsValue, LhsOpcode, LhsValue)) { in checkRelationalExpr()
1188 if (rangesFullyCoverDomain(LhsOpcode, LhsValue, RhsOpcode, RhsValue)) { in checkRelationalExpr()
1191 } else if (rangeSubsumesRange(LhsOpcode, LhsValue, RhsOpcode, RhsValue)) { in checkRelationalExpr()
1193 } else if (rangeSubsumesRange(RhsOpcode, RhsValue, LhsOpcode, LhsValue)) { in checkRelationalExpr()