Home
last modified time | relevance | path

Searched refs:StackSpaceRegion (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DRegions.def49 ABSTRACT_REGION(StackSpaceRegion, MemSpaceRegion)
50 REGION(StackArgumentsSpaceRegion, StackSpaceRegion)
51 REGION(StackLocalsSpaceRegion, StackSpaceRegion)
H A DMemRegion.h391 class StackSpaceRegion : public MemSpaceRegion {
397 StackSpaceRegion(MemRegionManager &mgr, Kind k, const StackFrameContext *sfc) in StackSpaceRegion() function
415 class StackLocalsSpaceRegion : public StackSpaceRegion {
419 : StackSpaceRegion(mgr, StackLocalsSpaceRegionKind, sfc) {} in StackLocalsSpaceRegion()
429 class StackArgumentsSpaceRegion : public StackSpaceRegion {
434 : StackSpaceRegion(mgr, StackArgumentsSpaceRegionKind, sfc) {} in StackArgumentsSpaceRegion()
960 assert(isa<GlobalsSpaceRegion>(sReg) || isa<StackSpaceRegion>(sReg) || in VarRegion()
994 assert(isa<GlobalsSpaceRegion>(sReg) || isa<StackSpaceRegion>(sReg) || in NonParamVarRegion()
1042 assert(!cast<StackSpaceRegion>(SReg)->getStackFrame()->inTopFrame()); in ParamVarRegion()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPutenvStackArrayChecker.cpp49 dyn_cast<StackSpaceRegion>(ArgV.getAsRegion()->getMemorySpace()); in checkPostCall()
H A DUnixAPIChecker.cpp414 if (!R || !isa<StackSpaceRegion>(R->getMemorySpace())) in CheckPthreadOnce()
H A DMoveChecker.cpp559 isa<StackSpaceRegion>(MR->getMemorySpace()); in classifyObject()
/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()
228 void StackSpaceRegion::Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
451 void StackSpaceRegion::anchor() {} in anchor()
1341 return isa<StackSpaceRegion>(getMemorySpace()); in hasStackStorage()
H A DBugReporterVisitors.cpp1285 const auto *FrameSpace = dyn_cast<StackSpaceRegion>(VarSpace); 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()