/external/clang/include/clang/AST/ |
H A D | OperationKinds.h | 311 BO_Add, BO_Sub, // [C99 6.5.6] Additive operators. enumerator in enum:clang::BinaryOperatorKind
|
H A D | StmtVisitor.h | 52 case BO_Sub: DISPATCH(BinSub, BinaryOperator);
|
H A D | Expr.h | 2991 static bool isAdditiveOp(Opcode Opc) { return Opc == BO_Add || Opc==BO_Sub; }
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | PointerArithChecker.cpp | 36 if (B->getOpcode() != BO_Sub && B->getOpcode() != BO_Add)
|
H A D | PointerSubChecker.cpp | 39 if (B->getOpcode() != BO_Sub)
|
H A D | CStringSyntaxChecker.cpp | 114 if (BE->getOpcode() == BO_Sub) {
|
H A D | MallocOverflowSecurityChecker.cpp | 78 if (opc != BO_Mul && opc != BO_Add && opc != BO_Sub && opc != BO_Shl)
|
H A D | CStringChecker.cpp | 376 .evalBinOpNN(state, BO_Sub, *Length, One, sizeTy).castAs<NonLoc>(); 567 maxMinusRight = svalBuilder.evalBinOpNN(state, BO_Sub, maxVal, right, 572 maxMinusRight = svalBuilder.evalBinOpNN(state, BO_Sub, maxVal, left, 1451 maxLastElementIndex = svalBuilder.evalBinOpNN(state, BO_Sub, *lenValNL,
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | SimpleConstraintManager.cpp | 166 SymbolRef Subtraction = SymMgr.getSymSymExpr(SSE->getRHS(), BO_Sub, 197 if (Op == BO_Add || Op == BO_Sub) { 204 if (Op == BO_Sub)
|
H A D | SimpleSValBuilder.cpp | 244 case BO_Sub: 325 case BO_Sub: 501 newRHS = BasicVals.evalAPSInt(BO_Sub, first, second); 593 if (!(BinaryOperator::isComparisonOp(op) || op == BO_Sub)) 601 case BO_Sub: 624 case BO_Sub: 704 if (op == BO_Sub) 889 case BO_Sub: 907 assert(op == BO_Add || op == BO_Sub);
|
H A D | BasicValueFactory.cpp | 165 case BO_Sub:
|
H A D | SVals.cpp | 225 assert(BinaryOperator::isComparisonOp(Op) || Op == BO_Sub); local
|
H A D | ExprEngineC.cpp | 113 case BO_SubAssign: Op = BO_Sub; break; 921 BinaryOperator::Opcode Op = U->isIncrementOp() ? BO_Add : BO_Sub;
|
/external/clang/lib/AST/ |
H A D | ExprConstant.cpp | 1658 case BO_Sub: 1755 case BO_Sub: 2841 (Opcode != BO_Add && Opcode != BO_Sub)) { 2847 if (Opcode == BO_Sub) 4804 E->getOpcode() != BO_Sub) 4821 if (E->getOpcode() == BO_Sub) 6755 if (E->getOpcode() == BO_Sub && LHSVal.isLValue() && RHSVal.isLValue()) { 6941 if (E->getOpcode() == BO_Sub || E->isComparisonOp()) { 6954 if (E->getOpcode() == BO_Sub) { 7019 if (E->getOpcode() == BO_Sub) { [all...] |
H A D | StmtProfile.cpp | 813 BinaryOp = BO_Sub;
|
H A D | Expr.cpp | 1789 case BO_Sub: return "-"; 1825 case OO_Minus: return BO_Sub;
|
/external/clang/lib/CodeGen/ |
H A D | CGExprScalar.cpp | 953 case BO_Sub: CheckName = "sub_overflow"; break; 1725 BinOp.Opcode = isInc ? BO_Add : BO_Sub; 1881 BinOp.Opcode = BO_Sub; 2325 case BO_Sub: 2548 op.Opcode == BO_Sub || op.Opcode == BO_SubAssign) && 3543 case BO_Sub:
|
H A D | CGStmtOpenMP.cpp | 1493 case BO_Sub:
|
/external/clang/lib/Sema/ |
H A D | SemaOpenMP.cpp | 2321 Diff = SemaRef.BuildBinOp(S, DefaultLoc, BO_Sub, Upper, Lower); 2338 S, DefaultLoc, BO_Sub, Diff.get(), 2585 Update = SemaRef.BuildBinOp(S, Loc, (Subtract ? BO_Sub : BO_Add), 2733 CurScope, SourceLocation(), BO_Sub, LastIteration.get(), 3477 Op = AtomicUnaryOp->isIncrementOp() ? BO_Add : BO_Sub; 5561 case BO_Sub:
|
H A D | SemaPseudoObject.cpp | 487 result = S.BuildBinOp(Sc, opcLoc, BO_Sub, result.get(), one);
|
H A D | SemaChecking.cpp | 5059 if (BE->getOpcode() == BO_Sub) { 5267 if (op != BO_Add && op != BO_Sub) 5863 case BO_Sub:
|
H A D | SemaExpr.cpp | 9836 case tok::minus: Opc = BO_Sub; break; 10053 case BO_Sub: 10303 if (Bop->getOpcode() == BO_Add || Bop->getOpcode() == BO_Sub) {
|
/external/clang/lib/Analysis/ |
H A D | ThreadSafetyCommon.cpp | 515 case BO_Sub: return translateBinOp(til::BOP_Sub, BO, Ctx);
|