Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBuiltinFunctionChecker.cpp164 SVal IsLeMax = SVB.evalBinOp(State, BO_LE, RetVal, MaxVal, Res); in checkOverflow()
165 SVal IsGeMin = SVB.evalBinOp(State, BO_GE, RetVal, MinVal, Res); in checkOverflow()
211 SVal RetValMax = SVB.evalBinOp(State, Op, Arg1, Arg2, in handleOverflowBuiltin()
213 SVal RetVal = SVB.evalBinOp(State, Op, Arg1, Arg2, ResultType); in handleOverflowBuiltin()
H A DSTLAlgorithmModeling.cpp154 SVal GreaterOrEqual = SVB.evalBinOp(StateFound, BO_GE, in Find()
176 SVal Less = SVB.evalBinOp(StateFound, BO_LT, in Find()
H A DIterator.cpp250 Pos->setTo(SVB.evalBinOp(State, BinOp, in advancePosition()
308 SVB.evalBinOp(State, Opc, NL1, NL2, SVB.getConditionType()); in compare()
H A DContainerModeling.cpp446 SVB.evalBinOp(State, BO_Add, in handlePushBack()
475 SVB.evalBinOp(State, BO_Sub, in handlePopBack()
520 SVB.evalBinOp(State, BO_Sub, in handlePushFront()
557 SVB.evalBinOp(State, BO_Add, in handlePopFront()
682 SVB.evalBinOp(State, BO_Add, in handleEraseAfter()
H A DErrnoModeling.cpp247 SVB.evalBinOp(State, BO_NE, ErrnoSym, ZeroVal, SVB.getConditionType()) in setErrnoForStdFailure()
H A DVLASizeChecker.cpp186 SVB.evalBinOp(State, BO_LT, SizeD, Zero, SVB.getConditionType()); in checkVLAIndexSize()
H A DCheckPlacementNew.cpp85 return SvalBuilder.evalBinOp( in getExtentSizeOfNewTarget()
H A DBitwiseShiftChecker.cpp145 auto ResultVal = SVB.evalBinOp(FoldedState, Comparison, OperandVal, LimitVal, in assumeRequirement()
H A DCStringChecker.cpp1422 SVal NewStrLenGESize = svalBuilder.evalBinOp( in memsetAux()
1511 SVal lastElement = C.getSValBuilder().evalBinOp( in evalCopyCommon()
1980 svalBuilder.evalBinOp(state, BO_Sub, freeSpace, in evalStrcpyCommon()
2056 SVal retSize = svalBuilder.evalBinOp( in evalStrcpyCommon()
2448 svalBuilder.evalBinOp(state, op, resultVal, zeroVal, in evalStrcmpCommon()
H A DUnixAPIChecker.cpp367 auto LineBufSizeGtN = SVB.evalBinOp(LinePtrNotNull, BO_GE, LineBufSize, in EnsureGetdelimBufferAndSizeCorrect()
H A DIteratorModeling.cpp802 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 DStreamChecker.cpp914 SVB.evalBinOp(State, BO_NE, RetVal, VarValue, SVB.getConditionType()) in assumeNoAliasingWithStdStreams()
1341 .evalBinOp(State, BO_GE, RetVal, E.SVB.makeZeroVal(E.ACtx.IntTy), in evalFprintf()
H A DBasicObjCFoundationChecks.cpp934 SvalBuilder.evalBinOp(State, BO_GT, in assumeCollectionNonEmpty()
H A DStdLibraryFunctionsChecker.cpp1146 if (auto CompV = SVB.evalBinOp(State, Op, V, OtherV, CondT) in apply()
1255 SizeV = SvalBuilder.evalBinOp(State, BO_Mul, SizeV, SizeMulV, in apply()
1264 SVal Feasible = SvalBuilder.evalBinOp(State, Op, SizeV, BufDynSize, in apply()
H A DMallocChecker.cpp1283 SVal TotalSize = SB.evalBinOp(State, BO_Mul, BlocksVal, BlockBytesVal, in evalMulForBufferSize()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DDynamicExtent.cpp65 SVB.evalBinOp(State, BO_Div, Size, ElementSize, SVB.getArrayIndexType()) in getDynamicElementCount()
101 return SVB.evalBinOp(State, BinaryOperator::Opcode::BO_Sub, ExtentInBytes, in getDynamicExtentWithOffset()
H A DExprEngineC.cpp103 SVal Result = evalBinOp(state, Op, LeftV, RightV, B->getType()); in VisitBinaryOperator()
159 SVal Result = svalBuilder.evalCast(evalBinOp(state, Op, V, RightV, CTy), in VisitBinaryOperator()
766 X = evalBinOp(N->getState(), BO_NE, in VisitLogicalExpr()
1078 Result = evalBinOp(state, BO_EQ, *LV, X, U->getType()); in VisitUnaryOperator()
1084 Result = evalBinOp(state, BO_EQ, V.castAs<NonLoc>(), X, U->getType()); in VisitUnaryOperator()
1158 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 DSimpleSValBuilder.cpp1353 S, SVB.evalBinOp(State, S->getOpcode(), LHS, RHS, S->getType())); in simplifySValOnce()
1367 S, SVB.evalBinOp(State, S->getOpcode(), LHS, RHS, S->getType())); in simplifySValOnce()
1390 S, SVB.evalBinOp(State, S->getOpcode(), LHS, RHS, S->getType())); in simplifySValOnce()
H A DSValBuilder.cpp494 SVal SValBuilder::evalBinOp(ProgramStateRef state, BinaryOperator::Opcode op, in evalBinOp() function in SValBuilder
550 return evalBinOp(state, BO_EQ, lhs, rhs, getConditionType()); in evalEQ()
H A DExprEngineCallAndReturn.cpp813 svalBuilder.evalBinOp(State, BO_Mul, ElementCount, ElementSize, in bindReturnValue()
H A DExprEngine.cpp271 SVal Constraint_untested = evalBinOp(state, BO_GT, V, in getInitialState()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h614 SVal evalBinOp(ProgramStateRef ST, BinaryOperator::Opcode Op, in evalBinOp() function
616 return svalBuilder.evalBinOp(ST, Op, LHS, RHS, T); in evalBinOp()
H A DSValBuilder.h138 SVal evalBinOp(ProgramStateRef state, BinaryOperator::Opcode op,

12