Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPointerSubChecker.cpp79 auto IndexTooLarge = SVB.evalBinOp(C.getState(), BO_GT, ElemReg->getIndex(), in checkArrayBounds()
90 auto IndexTooSmall = SVB.evalBinOp(State, BO_LT, ElemReg->getIndex(), in checkArrayBounds()
H A DSTLAlgorithmModeling.cpp151 SVal GreaterOrEqual = SVB.evalBinOp(StateFound, BO_GE, in Find()
173 SVal Less = SVB.evalBinOp(StateFound, BO_LT, in Find()
H A DContainerModeling.cpp442 SVB.evalBinOp(State, BO_Add, in handlePushBack()
471 SVB.evalBinOp(State, BO_Sub, in handlePopBack()
516 SVB.evalBinOp(State, BO_Sub, in handlePushFront()
553 SVB.evalBinOp(State, BO_Add, in handlePopFront()
678 SVB.evalBinOp(State, BO_Add, in handleEraseAfter()
H A DErrnoModeling.cpp249 SVB.evalBinOp(State, BO_NE, ErrnoSym, ZeroVal, SVB.getConditionType()) in setErrnoForStdFailure()
H A DCheckPlacementNew.cpp85 return SvalBuilder.evalBinOp( in getExtentSizeOfNewTarget()
H A DVLASizeChecker.cpp188 SVB.evalBinOp(State, BO_LT, SizeD, Zero, SVB.getConditionType()); in checkVLAIndexSize()
H A DCStringChecker.cpp1416 SVal NewStrLenGESize = svalBuilder.evalBinOp( in memsetAux()
1505 SVal lastElement = C.getSValBuilder().evalBinOp( in evalCopyCommon()
1978 svalBuilder.evalBinOp(state, BO_Sub, freeSpace, in evalStrcpyCommon()
2054 SVal retSize = svalBuilder.evalBinOp( in evalStrcpyCommon()
2406 svalBuilder.evalBinOp(state, op, resultVal, zeroVal, in evalStrcmpCommon()
H A DUnixAPIChecker.cpp357 auto LineBufSizeGtN = SVB.evalBinOp(LinePtrNotNull, BO_GE, LineBufSize, in EnsureGetdelimBufferAndSizeCorrect()
H A DIteratorModeling.cpp795 SVB.evalBinOp(State, BO_EQ, nonloc::SymbolVal(Sym1), in relateSymbols()
H A DSmartPtrModeling.cpp498 auto RetVal = Bldr.evalBinOp(State, BOK, FirstPtrVal, SecondPtrVal, in handleComparisionOp()
H A DBasicObjCFoundationChecks.cpp935 SvalBuilder.evalBinOp(State, BO_GT, in assumeCollectionNonEmpty()
H A DStdLibraryFunctionsChecker.cpp1148 if (auto CompV = SVB.evalBinOp(State, Op, V, OtherV, CondT) in apply()
1254 SizeV = SvalBuilder.evalBinOp(State, BO_Mul, SizeV, SizeMulV, in apply()
1263 SVal Feasible = SvalBuilder.evalBinOp(State, Op, SizeV, BufDynSize, in apply()
H A DStreamChecker.cpp1302 .evalBinOp(State, BO_GE, RetVal, E.SVB.makeZeroVal(E.ACtx.IntTy), in evalFprintf()
H A DMallocChecker.cpp1137 SVal TotalSize = SB.evalBinOp(State, BO_Mul, BlocksVal, BlockBytesVal, in evalMulForBufferSize()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp100 SVal Result = evalBinOp(state, Op, LeftV, RightV, B->getType()); in VisitBinaryOperator()
156 SVal Result = svalBuilder.evalCast(evalBinOp(state, Op, V, RightV, CTy), in VisitBinaryOperator()
727 X = evalBinOp(N->getState(), BO_NE, in VisitLogicalExpr()
1038 Result = evalBinOp(state, BO_EQ, *LV, X, U->getType()); in VisitUnaryOperator()
1044 Result = evalBinOp(state, BO_EQ, V.castAs<NonLoc>(), X, U->getType()); in VisitUnaryOperator()
1118 Result = evalBinOp(state, Op, V2, RHS, U->getType()); in VisitIncrementDecrementOperator()
H A DCheckerContext.cpp153 SVal Eval = Bldr.evalBinOp(State, ComparisonOp, LHSVal, RHSVal, in evalComparison()
H A DExprEngineCallAndReturn.cpp812 svalBuilder.evalBinOp(State, BO_Mul, ElementCount, ElementSize, in bindReturnValue()
H A DExprEngine.cpp270 SVal Constraint_untested = evalBinOp(state, BO_GT, V, in getInitialState()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h601 SVal evalBinOp(ProgramStateRef ST, BinaryOperator::Opcode Op, in evalBinOp() function
603 return svalBuilder.evalBinOp(ST, Op, LHS, RHS, T); in evalBinOp()
H A DSValBuilder.h137 SVal evalBinOp(ProgramStateRef state, BinaryOperator::Opcode op,