Home
last modified time | relevance | path

Searched refs:SVB (Results 1 – 12 of 12) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp287 SValBuilder &SVB, in addParameterValuesToBindings() argument
290 MemRegionManager &MRMgr = SVB.getRegionManager(); in addParameterValuesToBindings()
303 Loc ParamLoc = SVB.makeLoc(MRMgr.getVarRegion(ParamDecl, CalleeCtx)); in addParameterValuesToBindings()
322 SValBuilder &SVB = getState()->getStateManager().getSValBuilder(); in getInitialStackFrameContents() local
323 addParameterValuesToBindings(CalleeCtx, Bindings, SVB, *this, in getInitialStackFrameContents()
491 SValBuilder &SVB = StateMgr.getSValBuilder(); in getInitialStackFrameContents() local
494 Loc ThisLoc = SVB.getCXXThis(MD, CalleeCtx); in getInitialStackFrameContents()
499 ASTContext &Ctx = SVB.getContext(); in getInitialStackFrameContents()
561 SValBuilder &SVB = getState()->getStateManager().getSValBuilder(); in getInitialStackFrameContents() local
562 addParameterValuesToBindings(CalleeCtx, Bindings, SVB, *this, in getInitialStackFrameContents()
[all …]
DSimpleConstraintManager.h26 SValBuilder &SVB; variable
29 : SU(subengine), SVB(SB) {} in SimpleConstraintManager()
82 BasicValueFactory &getBasicVals() const { return SVB.getBasicValueFactory(); } in getBasicVals()
83 SymbolManager &getSymbolManager() const { return SVB.getSymbolManager(); } in getSymbolManager()
DSimpleConstraintManager.cpp73 SValBuilder &SVB = state->getStateManager().getSValBuilder(); in assume() local
79 T = SVB.getContext().VoidPtrTy; in assume()
81 Cond = SVB.evalCast(*LV, SVB.getContext().BoolTy, T).castAs<DefinedSVal>(); in assume()
DSimpleSValBuilder.cpp540 SimpleSValBuilder &SVB) { in evalBinOpFieldRegionFieldRegion() argument
563 return SVB.makeTruthVal(false, resultTy); in evalBinOpFieldRegionFieldRegion()
565 return SVB.makeTruthVal(true, resultTy); in evalBinOpFieldRegionFieldRegion()
574 return SVB.makeTruthVal(leftFirst, resultTy); in evalBinOpFieldRegionFieldRegion()
576 return SVB.makeTruthVal(!leftFirst, resultTy); in evalBinOpFieldRegionFieldRegion()
DExprEngineCXX.cpp94 SValBuilder &SVB = State->getStateManager().getSValBuilder(); in makeZeroElementRegion() local
95 ASTContext &Ctx = SVB.getContext(); in makeZeroElementRegion()
99 LValue = State->getLValue(Ty, SVB.makeZeroArrayIndex(), LValue); in makeZeroElementRegion()
DRegionStore.cpp814 SValBuilder &SVB, const ClusterBindings &Cluster, in collectSubRegionBindings() argument
826 SVal Extent = Top->getExtent(SVB); in collectSubRegionBindings()
832 Length = ExtentInt.getLimitedValue() * SVB.getContext().getCharWidth(); in collectSubRegionBindings()
835 Length = FR->getDecl()->getBitWidthValue(SVB.getContext()); in collectSubRegionBindings()
886 SValBuilder &SVB, const ClusterBindings &Cluster, in collectSubRegionBindings() argument
888 collectSubRegionBindings(Bindings, SVB, Cluster, Top, in collectSubRegionBindings()
1397 getExistingLazyBinding(SValBuilder &SVB, RegionBindingsConstRef B, in getExistingLazyBinding() argument
1413 if (!SVB.getContext().hasSameUnqualifiedType(RegionTy, SourceRegionTy)) in getExistingLazyBinding()
1421 collectSubRegionBindings(Bindings, SVB, *B.lookup(R->getBaseRegion()), R, in getExistingLazyBinding()
DRangeConstraintManager.cpp288 RangeConstraintManager(SubEngine *subengine, SValBuilder &SVB) in RangeConstraintManager() argument
289 : SimpleConstraintManager(subengine, SVB) {} in RangeConstraintManager()
DExprEngineCallAndReturn.cpp566 SValBuilder &SVB = getSValBuilder(); in bindReturnValue() local
568 SVal R = SVB.conjureSymbolVal(nullptr, E, LCtx, ResultTy, Count); in bindReturnValue()
DExprEngine.cpp494 SValBuilder &SVB = getSValBuilder(); in ProcessInitializer() local
495 InitVal = SVB.conjureSymbolVal(BMI->getInit(), stackFrame, in ProcessInitializer()
/external/clang/lib/StaticAnalyzer/Checkers/
DBuiltinFunctionChecker.cpp85 SValBuilder &SVB = C.getSValBuilder(); in evalCall() local
86 BasicValueFactory &BVF = SVB.getBasicValueFactory(); in evalCall()
88 V = SVB.makeIntVal(Result); in evalCall()
DCStringChecker.cpp1839 SValBuilder &SVB = C.getSValBuilder(); in evalStrsep() local
1853 SVB.conjureSymbolVal(getTag(), CE, LCtx, CharPtrTy, in evalStrsep()
1858 Result = SVB.conjureSymbolVal(nullptr, CE, LCtx, C.blockCount()); in evalStrsep()
DRetainCountChecker.cpp3257 SValBuilder &SVB = C.getSValBuilder(); in evalCall() local
3258 RetVal = SVB.conjureSymbolVal(nullptr, CE, LCtx, ResultTy, C.blockCount()); in evalCall()