Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPutenvStackArrayChecker.cpp49 dyn_cast<StackSpaceRegion>(ArgV.getAsRegion()->getMemorySpace()); in checkPostCall()
H A DErrnoChecker.cpp235 if (llvm::is_contained(Regions, ErrnoRegion->getMemorySpace())) in checkRegionChanges()
H A DUnixAPIChecker.cpp414 if (!R || !isa<StackSpaceRegion>(R->getMemorySpace())) in CheckPthreadOnce()
430 if (isa<VarRegion>(R) && isa<StackLocalsSpaceRegion>(R->getMemorySpace())) in CheckPthreadOnce()
H A DArrayBoundCheckerV2.cpp355 isa<HeapSpaceRegion>(Region->getMemorySpace())) in getRegionName()
577 const MemSpaceRegion *Space = Reg->getMemorySpace(); in performCheck()
H A DMoveChecker.cpp559 isa<StackSpaceRegion>(MR->getMemorySpace()); in classifyObject()
H A DMallocChecker.cpp2009 const MemSpaceRegion *MS = R->getMemorySpace(); in FreeMemAux()
2199 const MemSpaceRegion *MS = MR->getMemorySpace(); in SummarizeRegion()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DMemRegion.cpp158 const auto *SSR = dyn_cast<StackSpaceRegion>(getMemorySpace()); in getStackFrame()
164 const auto *SSR = dyn_cast<StackSpaceRegion>(getMemorySpace()); in getStackFrame()
169 assert(isa<StackSpaceRegion>(getMemorySpace()) && in getStackFrame()
171 return cast<StackSpaceRegion>(getMemorySpace())->getStackFrame(); in getStackFrame()
1328 const MemSpaceRegion *MemRegion::getMemorySpace() const { in getMemorySpace() function in MemRegion
1341 return isa<StackSpaceRegion>(getMemorySpace()); in hasStackStorage()
1345 return isa<StackLocalsSpaceRegion>(getMemorySpace()); in hasStackNonParametersStorage()
1349 return isa<StackArgumentsSpaceRegion>(getMemorySpace()); in hasStackParametersStorage()
H A DRegionStore.cpp1238 return isa<GlobalSystemSpaceRegion>(R->getMemorySpace()); in isInitiallyIncludedGlobalRegion()
1240 return isa<NonStaticGlobalSpaceRegion>(R->getMemorySpace()); in isInitiallyIncludedGlobalRegion()
1250 const MemSpaceRegion *MemSpace = Base->getMemorySpace(); in includeEntireMemorySpace()
2193 const MemSpaceRegion *MS = R->getMemorySpace(); in getBindingForVar()
H A DBugReporterVisitors.cpp1284 const MemSpaceRegion *VarSpace = VR->getMemorySpace(); in isInitializationOfVar()
H A DExprEngine.cpp3496 !isa<StackSpaceRegion, StaticGlobalSpaceRegion>(MR->getMemorySpace())) { in processPointerEscapedOnBind()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp692 if (auto MR = dyn_cast<StackSpaceRegion>(R->getMemorySpace())) in GetAllocationSite()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h122 LLVM_ATTRIBUTE_RETURNS_NONNULL const MemSpaceRegion *getMemorySpace() const;