| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | Regions.def | 68 ABSTRACT_REGION(TypedValueRegion, TypedRegion) 69 REGION(CompoundLiteralRegion, TypedValueRegion) 70 REGION(CXXBaseObjectRegion, TypedValueRegion) 71 REGION(CXXDerivedObjectRegion, TypedValueRegion) 72 REGION(CXXTempObjectRegion, TypedValueRegion) 73 REGION(CXXThisRegion, TypedValueRegion) 74 ABSTRACT_REGION(DeclRegion, TypedValueRegion) 80 REGION(ElementRegion, TypedValueRegion) 81 REGION(ObjCStringRegion, TypedValueRegion) 82 REGION(StringRegion, TypedValueRegion)
|
| H A D | MemRegion.h | 530 class TypedValueRegion : public TypedRegion { 804 class StringRegion : public TypedValueRegion { 839 class ObjCStringRegion : public TypedValueRegion { 875 class CompoundLiteralRegion : public TypedValueRegion { 908 class DeclRegion : public TypedValueRegion { 913 : TypedValueRegion(sReg, k), D(d) { in DeclRegion() 976 class CXXThisRegion : public TypedValueRegion { 981 : TypedValueRegion(sReg, CXXThisRegionKind), in CXXThisRegion() 1086 class ElementRegion : public TypedValueRegion { 1125 class CXXTempObjectRegion : public TypedValueRegion { [all …]
|
| H A D | SymbolManager.h | 43 const TypedValueRegion *R; 46 SymbolRegionValue(SymbolID sym, const TypedValueRegion *r) in SymbolRegionValue() 52 const TypedValueRegion* getRegion() const { return R; } in getRegion() 54 static void Profile(llvm::FoldingSetNodeID& profile, const TypedValueRegion* R) { in Profile() 130 const TypedValueRegion *R; 133 SymbolDerived(SymbolID sym, SymbolRef parent, const TypedValueRegion *r) in SymbolDerived() 141 const TypedValueRegion *getRegion() const { return R; } in getRegion() 149 const TypedValueRegion *r) { in Profile() 485 const SymbolRegionValue* getRegionValueSymbol(const TypedValueRegion* R); 501 const TypedValueRegion *R);
|
| H A D | BasicValueFactory.h | 64 const TypedValueRegion *region; 67 LazyCompoundValData(const StoreRef &st, const TypedValueRegion *r) in LazyCompoundValData() 73 const TypedValueRegion *getRegion() const { return region; } in getRegion() 77 const TypedValueRegion *region); 226 const TypedValueRegion *region);
|
| H A D | SValBuilder.h | 199 DefinedOrUnknownSVal getRegionValueSymbolVal(const TypedValueRegion *region); 229 SymbolRef parentSymbol, const TypedValueRegion *region); 256 const TypedValueRegion *region) { in makeLazyCompoundVal()
|
| H A D | SVals.h | 51 class TypedValueRegion; variable 496 const TypedValueRegion *getRegion() const;
|
| H A D | Store.h | 294 SVal CastRetrievedVal(SVal val, const TypedValueRegion *region,
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
| H A D | UninitializedPointee.cpp | 118 const TypedValueRegion *R; 121 DereferenceInfo(const TypedValueRegion *R, bool NCB, bool IC) in DereferenceInfo() 174 const TypedValueRegion *R = DerefInfo->R; in isDereferencableUninit() 226 llvm::SmallSet<const TypedValueRegion *, 5> VisitedRegions; in dereference() 238 const auto *R = V.getAsRegion()->getAs<TypedValueRegion>(); in dereference() 249 R = Tmp->getAs<TypedValueRegion>(); in dereference() 267 if (!isa<TypedValueRegion>(R->getSuperRegion())) in dereference() 269 R = R->getSuperRegion()->getAs<TypedValueRegion>(); in dereference()
|
| H A D | UninitializedObjectChecker.cpp | 108 static const TypedValueRegion * 144 const TypedValueRegion *R = getConstructedRegion(CtorDecl, Context); in checkEndFunction() 218 ProgramStateRef State, const TypedValueRegion *const R, in FindUninitializedFields() 260 bool FindUninitializedFields::isNonUnionUninit(const TypedValueRegion *R, in isNonUnionUninit() 343 .getRegionAs<TypedValueRegion>(); in isNonUnionUninit() 361 bool FindUninitializedFields::isUnionUninit(const TypedValueRegion *R) { in isUnionUninit() 441 static const TypedValueRegion * 450 auto *R = ObjectV.getAsRegion()->getAs<TypedValueRegion>(); in getConstructedRegion() 460 const TypedValueRegion *CurrRegion = getConstructedRegion(Ctor, Context); in willObjectBeAnalyzedLater() 472 const TypedValueRegion *OtherRegion = in willObjectBeAnalyzedLater()
|
| H A D | UninitializedObject.h | 192 const TypedValueRegion *const ObjectR; 215 const TypedValueRegion *const R, 283 bool isUnionUninit(const TypedValueRegion *R); 287 bool isNonUnionUninit(const TypedValueRegion *R, FieldChainInfo LocalChain);
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | RegionStore.cpp | 468 const TypedValueRegion* R, 530 SVal getBindingForLazySymbol(const TypedValueRegion *R); 1113 const TypedValueRegion *TR = cast<TypedValueRegion>(baseR); in VisitCluster() 1424 if (!isa<TypedValueRegion>(MR)) { in getBinding() 1435 T = cast<TypedValueRegion>(MR)->getValueType(); in getBinding() 1440 const TypedValueRegion *R = cast<TypedValueRegion>(MR); in getBinding() 1529 if (const TypedValueRegion *TVR = dyn_cast<TypedValueRegion>(R)) in getUnderlyingType() 1706 if (const TypedValueRegion *baseR = in getBindingForElement() 1889 if (const TypedValueRegion *typedSuperR = in getBindingForFieldOrElementCommon() 2114 if (const TypedValueRegion* TR = dyn_cast<TypedValueRegion>(R)) { in bind() [all …]
|
| H A D | Store.cpp | 106 if (const auto *TR = dyn_cast<TypedValueRegion>(R)) { in castRegion() 179 if (const auto *TR = dyn_cast<TypedValueRegion>(baseR)) { in castRegion() 234 const auto *TVR = dyn_cast<TypedValueRegion>(MR); in regionMatchesCXXRecordType() 308 if (const auto *TVR = dyn_cast<TypedValueRegion>(MR)) in getCXXRecordType() 393 Failed = isa<TypedValueRegion>(MR); in attemptDownCast() 400 SVal StoreManager::CastRetrievedVal(SVal V, const TypedValueRegion *R, in CastRetrievedVal()
|
| H A D | MemRegion.cpp | 167 DefinedOrUnknownSVal TypedValueRegion::getExtent(SValBuilder &svalBuilder) const { in getExtent() 434 void TypedValueRegion::anchor() {} in anchor() 1052 const TypedValueRegion *Super, in isValidBaseClass() 1075 if (isa<TypedValueRegion>(Super)) { in getCXXBaseObjectRegion() 1076 assert(isValidBaseClass(RD, dyn_cast<TypedValueRegion>(Super), IsVirtual)); in getCXXBaseObjectRegion() 1209 R = cast<TypedValueRegion>(R)->getSuperRegion(); in StripCasts() 1345 if (const auto *TVR = dyn_cast<TypedValueRegion>(R)) { in calculateOffset()
|
| H A D | BasicValueFactory.cpp | 40 const TypedValueRegion *region) { in Profile() 145 const TypedValueRegion *region) { in getLazyCompoundValData()
|
| H A D | ProgramState.cpp | 253 if (const TypedValueRegion *TR = dyn_cast<TypedValueRegion>(R)) { in getSValAsScalarOrLoc() 797 const TypedValueRegion *R = SD->getRegion(); in isTainted()
|
| H A D | SymbolManager.cpp | 169 SymbolManager::getRegionValueSymbol(const TypedValueRegion* R) { in getRegionValueSymbol() 205 const TypedValueRegion *R) { in getDerivedSymbol()
|
| H A D | ExprEngineObjC.cpp | 63 if (const auto *R = dyn_cast<TypedValueRegion>(MV->getRegion())) { in populateObjCForDestinationSet()
|
| H A D | SValBuilder.cpp | 119 SValBuilder::getRegionValueSymbolVal(const TypedValueRegion *region) { in getRegionValueSymbolVal() 223 const TypedValueRegion *region) { in getDerivedRegionValueSymbolVal()
|
| H A D | SVals.cpp | 170 const TypedValueRegion *nonloc::LazyCompoundVal::getRegion() const { in getRegion()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | BoolAssignmentChecker.cpp | 58 const TypedValueRegion *TR = in checkBind() 59 dyn_cast_or_null<TypedValueRegion>(loc.getAsRegion()); in checkBind()
|
| H A D | InnerPointerChecker.cpp | 172 dyn_cast_or_null<TypedValueRegion>(Arg.getAsRegion()); in checkFunctionArguments() 201 const auto *ObjRegion = dyn_cast_or_null<TypedValueRegion>( in checkPostCall() 296 const auto *TypedRegion = cast<TypedValueRegion>(ObjRegion); in VisitNode()
|
| H A D | DereferenceChecker.cpp | 254 const TypedValueRegion *TVR = dyn_cast_or_null<TypedValueRegion>(MR); in checkBind()
|
| H A D | DeleteWithNonVirtualDtorChecker.cpp | 69 const auto *BaseClassRegion = MR->getAs<TypedValueRegion>(); in checkPreStmt()
|
| H A D | BasicObjCFoundationChecks.cpp | 473 const TypedValueRegion* R = dyn_cast<TypedValueRegion>(LV->stripCasts()); in checkPreStmt()
|
| H A D | NullabilityChecker.cpp | 1058 const TypedValueRegion *TVR = in checkBind() 1059 dyn_cast_or_null<TypedValueRegion>(L.getAsRegion()); in checkBind()
|