Home
last modified time | relevance | path

Searched refs:TypedValueRegion (Results 1 – 22 of 22) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
DStore.cpp94 if (const TypedValueRegion *TR = dyn_cast<TypedValueRegion>(R)) { in castRegion()
166 if (const TypedValueRegion *TR = dyn_cast<TypedValueRegion>(baseR)) { in castRegion()
220 const TypedValueRegion *TVR = dyn_cast<TypedValueRegion>(MR); in regionMatchesCXXRecordType()
288 if (const TypedValueRegion *TVR = dyn_cast<TypedValueRegion>(MR)) in getCXXRecordType()
359 Failed = isa<TypedValueRegion>(MR); in evalDynamicCast()
367 SVal StoreManager::CastRetrievedVal(SVal V, const TypedValueRegion *R, in CastRetrievedVal()
DRegionStore.cpp237 if (const TypedValueRegion *TR = dyn_cast<TypedValueRegion>(R)) in getDefaultBinding()
445 const TypedValueRegion *R,
451 const TypedValueRegion* R, SVal V);
455 const TypedValueRegion* R, SVal V);
458 const TypedValueRegion* R,
512 SVal getBindingForLazySymbol(const TypedValueRegion *R);
515 const TypedValueRegion *R,
526 SVal getBindingForStruct(RegionBindingsConstRef B, const TypedValueRegion *R);
527 SVal getBindingForArray(RegionBindingsConstRef B, const TypedValueRegion *R);
528 NonLoc createLazyBinding(RegionBindingsConstRef B, const TypedValueRegion *R);
[all …]
DExprEngineObjC.cpp108 if (const TypedValueRegion *R = in VisitObjCForCollectionStmt()
109 dyn_cast<TypedValueRegion>(MV->getRegion())) { in VisitObjCForCollectionStmt()
DBasicValueFactory.cpp31 const TypedValueRegion *region) { in Profile()
128 const TypedValueRegion *region) { in getLazyCompoundValData()
DMemRegion.cpp183 DefinedOrUnknownSVal TypedValueRegion::getExtent(SValBuilder &svalBuilder) const { in getExtent()
433 void TypedValueRegion::anchor() { } in anchor()
969 const TypedValueRegion *Super, in isValidBaseClass()
992 if (isa<TypedValueRegion>(Super)) { in getCXXBaseObjectRegion()
993 assert(isValidBaseClass(RD, dyn_cast<TypedValueRegion>(Super), IsVirtual)); in getCXXBaseObjectRegion()
1230 if (const TypedValueRegion *TVR = dyn_cast<TypedValueRegion>(R)) { in getAsOffset()
DSValBuilder.cpp95 SValBuilder::getRegionValueSymbolVal(const TypedValueRegion* region) { in getRegionValueSymbolVal()
185 const TypedValueRegion *region) { in getDerivedRegionValueSymbolVal()
DSymbolManager.cpp151 SymbolManager::getRegionValueSymbol(const TypedValueRegion* R) { in getRegionValueSymbol()
187 const TypedValueRegion *R) { in getDerivedSymbol()
DSVals.cpp154 const TypedValueRegion *nonloc::LazyCompoundVal::getRegion() const { in getRegion()
DBugReporterVisitors.cpp584 if (const TypedValueRegion *TR = dyn_cast<TypedValueRegion>(R)) { in VisitNode()
651 if (const TypedValueRegion *TR = dyn_cast<TypedValueRegion>(R)) { in VisitNode()
DProgramState.cpp242 if (const TypedValueRegion *TR = dyn_cast<TypedValueRegion>(R)) { in getSValAsScalarOrLoc()
DExprEngine.cpp223 const TypedValueRegion *TR = nullptr; in createTemporaryRegionIfNeeded()
2211 if (const TypedValueRegion *TR = in evalLoad()
2212 dyn_cast_or_null<TypedValueRegion>(location.getAsRegion())) { in evalLoad()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DMemRegion.h498 class TypedValueRegion : public TypedRegion {
502 TypedValueRegion(const MemRegion* sReg, Kind k) : TypedRegion(sReg, k) {} in TypedValueRegion() function
741 class StringRegion : public TypedValueRegion {
747 : TypedValueRegion(sreg, StringRegionKind), Str(str) {} in StringRegion()
777 class ObjCStringRegion : public TypedValueRegion {
783 : TypedValueRegion(sreg, ObjCStringRegionKind), Str(str) {} in ObjCStringRegion()
813 class CompoundLiteralRegion : public TypedValueRegion {
819 : TypedValueRegion(sReg, CompoundLiteralRegionKind), CL(cl) {} in CompoundLiteralRegion()
842 class DeclRegion : public TypedValueRegion {
847 : TypedValueRegion(sReg, k), D(d) {} in DeclRegion()
[all …]
DSymbolManager.h37 class TypedValueRegion; variable
125 const TypedValueRegion *R;
128 SymbolRegionValue(SymbolID sym, const TypedValueRegion *r) in SymbolRegionValue()
131 const TypedValueRegion* getRegion() const { return R; } in getRegion()
133 static void Profile(llvm::FoldingSetNodeID& profile, const TypedValueRegion* R) { in Profile()
202 const TypedValueRegion *R;
205 SymbolDerived(SymbolID sym, SymbolRef parent, const TypedValueRegion *r) in SymbolDerived()
209 const TypedValueRegion *getRegion() const { return R; } in getRegion()
216 const TypedValueRegion *r) { in Profile()
495 const SymbolRegionValue* getRegionValueSymbol(const TypedValueRegion* R);
[all …]
DBasicValueFactory.h47 const TypedValueRegion *region;
49 LazyCompoundValData(const StoreRef &st, const TypedValueRegion *r) in LazyCompoundValData()
53 const TypedValueRegion *getRegion() const { return region; } in getRegion()
57 const TypedValueRegion *region);
173 const TypedValueRegion *region);
DSValBuilder.h164 DefinedOrUnknownSVal getRegionValueSymbolVal(const TypedValueRegion *region);
194 SymbolRef parentSymbol, const TypedValueRegion *region);
217 const TypedValueRegion *region) { in makeLazyCompoundVal()
DSVals.h36 class TypedValueRegion; variable
446 const TypedValueRegion *getRegion() const;
DStore.h242 SVal CastRetrievedVal(SVal val, const TypedValueRegion *region,
/external/clang/lib/StaticAnalyzer/Checkers/
DBoolAssignmentChecker.cpp58 const TypedValueRegion *TR = in checkBind()
59 dyn_cast_or_null<TypedValueRegion>(loc.getAsRegion()); in checkBind()
DDereferenceChecker.cpp233 const TypedValueRegion *TVR = dyn_cast_or_null<TypedValueRegion>(MR); in checkBind()
DBasicObjCFoundationChecks.cpp474 const TypedValueRegion* R = dyn_cast<TypedValueRegion>(LV->stripCasts()); in checkPreStmt()
DCallAndMessageChecker.cpp229 bool Find(const TypedValueRegion *R) { in PreVisitProcessArg()
DCStringChecker.cpp867 const TypedValueRegion *TVR = dyn_cast<TypedValueRegion>(MR); in SummarizeRegion()