Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp316 case BO_EQ: in evalBinOpNN()
353 case BO_EQ: in evalBinOpNN()
402 case BO_EQ: in evalBinOpNN()
433 if (op == BO_EQ && rhs.isZeroConstant()) { in evalBinOpNN()
465 case BO_EQ: in evalBinOpNN()
562 if (op == BO_EQ) in evalBinOpFieldRegionFieldRegion()
603 case BO_EQ: in evalBinOpLL()
626 case BO_EQ: in evalBinOpLL()
677 case BO_EQ: in evalBinOpLL()
745 case BO_EQ: in evalBinOpLL()
[all …]
DBasicValueFactory.cpp220 case BO_EQ: in evalAPSInt()
DSimpleConstraintManager.cpp281 case BO_EQ: in assumeSymRel()
DBugReporterVisitors.cpp1374 case BO_EQ: Op = BO_NE; break; in VisitTrueTest()
1375 case BO_NE: Op = BO_EQ; break; in VisitTrueTest()
1385 case BO_EQ: in VisitTrueTest()
DExprEngineC.cpp890 Result = evalBinOp(state, BO_EQ, *LV, X, U->getType()); in VisitUnaryOperator()
897 Result = evalBinOp(state, BO_EQ, V.castAs<NonLoc>(), X, in VisitUnaryOperator()
DSValBuilder.cpp393 return evalBinOp(state, BO_EQ, lhs, rhs, getConditionType()) in evalEQ()
/external/clang/include/clang/AST/
DOperationKinds.h314 BO_EQ, BO_NE, // [C99 6.5.9] Equality operators. enumerator
DStmtVisitor.h61 case BO_EQ: DISPATCH(BinEQ, BinaryOperator); in Visit()
DExpr.h3052 static bool isEqualityOp(Opcode Opc) { return Opc == BO_EQ || Opc == BO_NE; } in isEqualityOp()
3066 case BO_EQ: return BO_NE; in negateComparisonOp()
3067 case BO_NE: return BO_EQ; in negateComparisonOp()
3079 case BO_EQ: in reverseComparisonOp()
/external/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp234 if ((Op == BO_EQ) || (Op == BO_NE)) { in checkComparisonOp()
241 if ((Op == BO_EQ) || (Op == BO_NE)) { in checkComparisonOp()
258 if (((Op == BO_EQ) || (Op == BO_LE) || (Op == BO_GE))) in checkComparisonOp()
DIvarInvalidationChecker.cpp679 Opcode != BO_EQ && in VisitBinaryOperator()
/external/clang/lib/Analysis/
DBodyFarm.cpp320 BO_EQ); in create_OSAtomicCompareAndSwap()
DCFG.cpp718 B->getOpcode() != BO_EQ); in checkIncorrectEqualityOperator()
719 TryResult(B->getOpcode() != BO_EQ); in checkIncorrectEqualityOperator()
726 return TryResult(B->getOpcode() != BO_EQ); in checkIncorrectEqualityOperator()
739 case BO_EQ: in analyzeLogicOperatorCondition()
DThreadSafetyCommon.cpp509 case BO_EQ: return translateBinOp(til::BOP_Eq, BO, Ctx); in translateBinaryOperator()
DThreadSafety.cpp1358 if (BOP->getOpcode() == BO_EQ || BOP->getOpcode() == BO_NE) { in getTrylockCallExpr()
/external/clang/lib/AST/
DExprConstant.cpp1818 case BO_EQ: Result = LHS == RHS; return true; in handleIntIntBinOp()
7231 if (E->getOpcode() == BO_EQ) in VisitBinaryOperator()
7245 if (E->getOpcode() == BO_EQ) in VisitBinaryOperator()
7282 case BO_EQ: in VisitBinaryOperator()
7500 case BO_EQ: return Success(CompareLHS == CompareRHS, E); in VisitBinaryOperator()
7524 return Success(E->getOpcode() == BO_EQ ? Equal : !Equal, E); in VisitBinaryOperator()
7541 return Success(E->getOpcode() == BO_EQ ? Equal : !Equal, E); in VisitBinaryOperator()
7551 return Success(Opcode == BO_EQ || Opcode == BO_LE || Opcode == BO_GE, E); in VisitBinaryOperator()
9254 case BO_EQ: in CheckICE()
DExpr.cpp143 case BO_EQ: // Equality operators. in isKnownToHaveBooleanValue()
1833 case BO_EQ: return "=="; in getOpcodeStr()
1884 case OO_EqualEqual: return BO_EQ; in getOverloadedOpcode()
DStmtProfile.cpp1021 BinaryOp = BO_EQ; in DecodeOperatorCall()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp2845 assert(E->getOpcode() == BO_EQ || in EmitCompare()
2873 case BO_EQ: in EmitCompare()
2971 if (E->getOpcode() == BO_EQ) { in EmitCompare()
3542 case BO_EQ: in EmitCompoundAssignmentLValue()
DCGStmtOpenMP.cpp2263 case BO_EQ: in emitOMPAtomicRMW()
/external/clang/lib/Sema/
DSemaExpr.cpp8545 << FixItHint::CreateInsertion(Start, Opc == BO_EQ ? "[" : "![") in diagnoseObjCLiteralComparison()
8647 << (Opc == BO_EQ in CheckCompareOperands()
8656 case BO_EQ: // e.g. array1 == array2 in CheckCompareOperands()
8733 bool IsEquality = Opc == BO_EQ; in CheckCompareOperands()
10122 case tok::equalequal: Opc = BO_EQ; break; in ConvertTokenKindToBinaryOpcode()
10358 case BO_EQ: in CreateBuiltinBinOp()
13908 if (opE->getOpcode() == BO_EQ && in DiagnoseEqualityWithExtraParens()
DSemaChecking.cpp6281 case BO_EQ: in GetExprRange()
6629 if (op == BO_EQ || op == BO_NE) { in DiagnoseOutOfRangeComparison()
6704 case BO_EQ: in DiagnoseOutOfRangeComparison()
DSemaExprObjC.cpp4066 (Opc == BO_NE || Opc == BO_EQ))) in CheckObjCARCConversion()
DSemaOpenMP.cpp7382 case BO_EQ: in ActOnOpenMPReductionClause()