| /minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | PointerArithChecker.cpp | 36 if (B->getOpcode() != BO_Sub && B->getOpcode() != BO_Add) in checkPreStmt()
|
| H A D | MallocOverflowSecurityChecker.cpp | 78 if (opc != BO_Mul && opc != BO_Add && opc != BO_Sub && opc != BO_Shl) in CheckMallocArgument() 85 else if ((opc == BO_Add || opc == BO_Mul) in CheckMallocArgument()
|
| H A D | CStringChecker.cpp | 383 SVal BufEnd = svalBuilder.evalBinOpLN(state, BO_Add, *BufLoc, in CheckBufferAccess() 403 SVal BufEnd = svalBuilder.evalBinOpLN(state, BO_Add, *BufLoc, in CheckBufferAccess() 499 SVal FirstEnd = svalBuilder.evalBinOpLN(state, BO_Add, in CheckOverlap() 977 SVal lastElement = C.getSValBuilder().evalBinOpLN(state, BO_Add, in evalCopyCommon() 1420 maxLastElementIndex = svalBuilder.evalBinOpNN(state, BO_Add, in evalStrcpyCommon() 1528 finalStrLength = svalBuilder.evalBinOpNN(state, BO_Add, *srcStrLengthNL, in evalStrcpyCommon() 1589 SVal maxLastElement = svalBuilder.evalBinOpLN(state, BO_Add, *dstRegVal, in evalStrcpyCommon() 1600 SVal lastElement = svalBuilder.evalBinOpLN(state, BO_Add, *dstRegVal, in evalStrcpyCommon()
|
| H A D | ArrayBoundCheckerV2.cpp | 248 return svalBuilder.evalBinOpNN(state, BO_Add, x.castAs<NonLoc>(), in addValue()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/AST/ |
| H A D | OperationKinds.h | 311 BO_Add, BO_Sub, // [C99 6.5.6] Additive operators. enumerator
|
| H A D | StmtVisitor.h | 51 case BO_Add: DISPATCH(BinAdd, BinaryOperator); in Visit()
|
| H A D | Expr.h | 2999 static bool isAdditiveOp(Opcode Opc) { return Opc == BO_Add || Opc==BO_Sub; } in isAdditiveOp()
|
| /minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | SimpleSValBuilder.cpp | 243 case BO_Add: in MakeSymIntVal() 404 case BO_Add: in evalBinOpNN() 499 newRHS = BasicVals.evalAPSInt(BO_Add, first, second); in evalBinOpNN() 886 case BO_Add: in evalBinOpLN() 907 assert(op == BO_Add || op == BO_Sub); in evalBinOpLN()
|
| H A D | SimpleConstraintManager.cpp | 197 if (Op == BO_Add || Op == BO_Sub) { in computeAdjustment()
|
| H A D | BasicValueFactory.cpp | 162 case BO_Add: in evalAPSInt()
|
| H A D | ProgramState.cpp | 326 SVal newIdx = svalBuilder.evalBinOpNN(this, BO_Add, in assumeInBound() 333 svalBuilder.evalBinOpNN(this, BO_Add, UpperBound.castAs<NonLoc>(), in assumeInBound()
|
| H A D | ExprEngineC.cpp | 112 case BO_AddAssign: Op = BO_Add; break; in VisitBinaryOperator() 921 BinaryOperator::Opcode Op = U->isIncrementOp() ? BO_Add : BO_Sub; in VisitIncrementDecrementOperator()
|
| H A D | SValBuilder.cpp | 352 assert(op == BO_Add); in evalBinOp()
|
| /minix3/external/bsd/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 924 case BO_Add: CheckName = "add_overflow"; break; in EmitBinOpCheck() 1590 BinOp.Opcode = BO_Add; in EmitAddConsiderOverflowBehavior() 1686 BinOp.Opcode = isInc ? BO_Add : BO_Sub; in EmitScalarPrePostIncDec() 2270 case BO_Add: in EmitOverflowCheckedBinOp() 2498 assert((op.Opcode == BO_Add || op.Opcode == BO_AddAssign || in tryEmitFMulAdd() 3488 case BO_Add: in EmitCompoundAssignmentLValue()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 2179 bool IsAdd = BO->getOpcode() == BO_Add; in CheckIncRHS() 2302 Diff = SemaRef.BuildBinOp(S, DefaultLoc, BO_Add, Diff.get(), in BuildNumIterations() 2543 Update = SemaRef.BuildBinOp(S, Loc, (Subtract ? BO_Sub : BO_Add), in BuildCounterUpdate() 2716 CurScope, SaveLoc, BO_Add, SaveRef.get(), in CheckOpenMPLoop() 2801 SemaRef.BuildBinOp(CurScope, IncLoc, BO_Add, IV.get(), in CheckOpenMPLoop() 2815 NextLB = SemaRef.BuildBinOp(CurScope, IncLoc, BO_Add, LB.get(), ST.get()); in CheckOpenMPLoop() 2825 NextUB = SemaRef.BuildBinOp(CurScope, IncLoc, BO_Add, UB.get(), ST.get()); in CheckOpenMPLoop()
|
| H A D | SemaTemplateVariadic.cpp | 1015 case BO_Add: in BuildEmptyCXXFoldExpr()
|
| H A D | SemaPseudoObject.cpp | 485 result = S.BuildBinOp(Sc, opcLoc, BO_Add, result.get(), one); in buildIncDecOperation()
|
| H A D | SemaExpr.cpp | 7396 if (Opc == BO_Add) { in CheckAdditionOperands() 9328 case tok::plus: Opc = BO_Add; break; in ConvertTokenKindToBinaryOpcode() 9543 case BO_Add: in CreateBuiltinBinOp() 9796 if (Bop->getOpcode() == BO_Add || Bop->getOpcode() == BO_Sub) { in DiagnoseAdditionInShift()
|
| H A D | SemaChecking.cpp | 5036 if (op != BO_Add && op != BO_Sub) in EvalAddr() 5675 case BO_Add: in GetExprRange()
|
| /minix3/external/bsd/llvm/dist/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 1654 case BO_Add: in handleIntIntBinOp() 1752 case BO_Add: in handleFloatFloatBinOp() 2840 (Opcode != BO_Add && Opcode != BO_Sub)) { in foundPointer() 4802 if (E->getOpcode() != BO_Add && in VisitBinaryOperator() 6738 if (E->getOpcode() == BO_Add) in VisitBinOp() 6746 if (E->getOpcode() == BO_Add && in VisitBinOp() 7998 case BO_Add: in VisitBinaryOperator() 8853 case BO_Add: in CheckICE()
|
| H A D | StmtProfile.cpp | 758 BinaryOp = BO_Add; in DecodeOperatorCall()
|
| H A D | Expr.cpp | 1776 case BO_Add: return "+"; in getOpcodeStr() 1812 case OO_Plus: return BO_Add; in getOverloadedOpcode()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Analysis/ |
| H A D | ThreadSafetyCommon.cpp | 525 case BO_Add: return translateBinOp(til::BOP_Add, BO, Ctx); in translateBinaryOperator()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteModernObjC.cpp | 7656 new (Context) BinaryOperator(castExpr, DRE, BO_Add, in RewriteObjCIvarRefExpr()
|