/llvm-project/clang/include/clang/Analysis/ |
H A D | AnalysisDeclContext.h | 181 const StackFrameContext *getStackFrame(LocationContext const *ParentLC, 262 const StackFrameContext *getStackFrame() const; 405 const StackFrameContext *getStackFrame(AnalysisDeclContext *ADC, 470 const StackFrameContext *getStackFrame(const Decl *D) { in getStackFrame() function 471 return LocCtxMgr.getStackFrame(getContext(D), nullptr, nullptr, nullptr, 0, in getStackFrame() 476 const StackFrameContext *getStackFrame(AnalysisDeclContext *ADC, in getStackFrame() function 480 return LocCtxMgr.getStackFrame(ADC, Parent, S, Block, BlockCount, Index); in getStackFrame()
|
/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | TestAfterDivZeroChecker.cpp | 117 if (ZeroSymbol == S.getAsSymbol() && SFC == Succ->getStackFrame()) { in REGISTER_SET_WITH_PROGRAMSTATE() 152 State->add<DivZeroMap>(ZeroState(SR, C.getBlockID(), C.getStackFrame())); in setDivZeroMap() 162 ZeroState ZS(SR, C.getBlockID(), C.getStackFrame()); in hasDivZeroMap() 175 C.getStackFrame())); in reportBug() 190 if (ZS.getStackFrameContext() == C.getStackFrame()) in checkEndFunction()
|
H A D | StackAddrEscapeChecker.cpp | 123 return S->getStackFrame() != C.getStackFrame(); in isNotInCurrentFrame() 417 if (const auto *ReferredFrame = ReferredMemSpace->getStackFrame(); in checkEndFunction() 422 if (ReferrerStackSpace->getStackFrame()->isParentOf(PoppedFrame)) { in checkEndFunction() 429 ReferrerStackSpace->getStackFrame() == PoppedFrame && TopFrame) { in shouldRegisterStackAddrEscapeBase() 455 : Ctx(CC), PoppedFrame(CC.getStackFrame()), TopFrame(TopFrame) {}
|
H A D | UndefinedAssignmentChecker.cpp | 43 dyn_cast<FunctionDecl>(C.getStackFrame()->getDecl())) in checkBind() 87 dyn_cast<CXXConstructorDecl>(C.getStackFrame()->getDecl())) { in checkBind()
|
H A D | MIGChecker.cpp | 138 VR->getStackFrame()->inTopFrame()) in REGISTER_TRAIT_WITH_PROGRAMSTATE() 158 SFC = LC->getStackFrame(); in isInMIGCall()
|
H A D | VirtualCallChecker.cpp | 178 State->getSVal(SVB.getCXXThis(MD, LCtx->getStackFrame())); in registerCtorDtorCallInState() 192 State->getSVal(SVB.getCXXThis(MD, LCtx->getStackFrame())); in registerCtorDtorCallInState()
|
H A D | PutenvStackArrayChecker.cpp | 53 dyn_cast_or_null<FunctionDecl>(SSR->getStackFrame()->getDecl()); in checkPostCall()
|
H A D | NSErrorChecker.cpp | 200 const StackFrameContext * SFC = C.getStackFrame(); in parameterTypeFromSVal() 206 if (stackReg->getStackFrame() == SFC) in parameterTypeFromSVal()
|
H A D | CXXSelfAssignmentChecker.cpp | 50 State->getSVal(SVB.getCXXThis(MD, LCtx->getStackFrame())); in checkBeginFunction()
|
H A D | ReturnUndefChecker.cpp | 45 const StackFrameContext *SFC = C.getStackFrame(); in checkPreStmt()
|
H A D | UndefResultChecker.cpp | 68 dyn_cast<FunctionDecl>(C.getStackFrame()->getDecl())) in checkPostStmt()
|
/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | MemRegion.cpp | 165 const StackFrameContext *VarRegion::getStackFrame() const { in getStackFrame() 167 return SSR ? SSR->getStackFrame() : nullptr; 171 CXXLifetimeExtendedObjectRegion::getStackFrame() const { in getStackFrame() 173 return SSR ? SSR->getStackFrame() : nullptr; 176 const StackFrameContext *CXXTempObjectRegion::getStackFrame() const { in ObjCIvarRegion() 179 return cast<StackSpaceRegion>(getMemorySpace())->getStackFrame(); in getDecl() 209 const Decl *D = getStackFrame()->getDecl(); in getDecl() 238 ID.AddPointer(getStackFrame()); in ProfileRegion() 1030 const StackFrameContext *SFC = LC->getStackFrame(); in getVarRegion() 1138 const StackFrameContext *SFC = LC->getStackFrame(); in getBlockDataRegion() 157 const StackFrameContext *VarRegion::getStackFrame() const { getStackFrame() function in VarRegion 163 CXXLifetimeExtendedObjectRegion::getStackFrame() const { getStackFrame() function in CXXLifetimeExtendedObjectRegion 168 const StackFrameContext *CXXTempObjectRegion::getStackFrame() const { getStackFrame() function in CXXTempObjectRegion [all...] |
H A D | ExprEngineCallAndReturn.cpp | 81 const StackFrameContext *SF = Node->getStackFrame(); in getLastStmt() 88 if (PP.getStackFrame() == SF) { in getLastStmt() 257 const StackFrameContext *calleeCtx = CEBNode->getStackFrame(); in processCallExit() 262 calleeCtx->getParent()->getStackFrame(); in processCallExit() 541 const StackFrameContext *CallerSFC = CurLC->getStackFrame(); in inlineCall() 559 CalleeADC->getStackFrame(ParentOfCallee, CallE, currBldrCtx->getBlock(), in inlineCall() 649 ->getStackFrame()->getParent() in finishArgumentConstruction() 650 ->getStackFrame() == LC->getStackFrame()); in finishArgumentConstruction() 850 const StackFrameContext *CallerSFC = CurLC->getStackFrame(); in mayInlineCallKind() [all...] |
H A D | ExprEngine.cpp | 306 const StackFrameContext *SFC = InitLoc->getStackFrame(); in getInitialState() 478 auto Key = std::make_pair(E, LCtx->getStackFrame()); in setIndexOfElementToConstruct() 488 const unsigned *V = State->get<PendingInitLoop>({E, LCtx->getStackFrame()}); in getPendingInitLoop() 495 auto Key = std::make_pair(E, LCtx->getStackFrame()); in removePendingInitLoop() 505 auto Key = std::make_pair(E, LCtx->getStackFrame()); in setPendingInitLoop() 517 State->get<IndexOfElementToConstruct>({E, LCtx->getStackFrame()}); in getIndexOfElementToConstruct() 525 auto Key = std::make_pair(E, LCtx->getStackFrame()); in removeIndexOfElementToConstruct() 537 State->get<PendingArrayDestruction>(LCtx->getStackFrame()); in getPendingArrayDestruction() 545 auto Key = LCtx->getStackFrame(); in setPendingArrayDestruction() 555 auto Key = LCtx->getStackFrame(); in removePendingArrayDestruction() [all...] |
H A D | BugReporterVisitors.cpp | 277 if (!B->getErrorNode()->getStackFrame()->isParentOf(N->getStackFrame())) in isVarAnInterestingCondition() 386 const StackFrameContext *SCtx = Ctx->getStackFrame(); in isModifiedInFrame() 399 SCtx = SCtx->getParent()->getStackFrame(); in markFrameAsModifying() 407 const StackFrameContext *OrigSCtx = N->getFirstSucc()->getStackFrame(); in getMatchingCallExitEnd() 413 OrigSCtx == N->getFirstPred()->getStackFrame(); in getMatchingCallExitEnd() 429 CallExitBeginN->getLocationContext()->getStackFrame(); in findModifyingFrames() 439 CurrentSCtx = CurrN->getStackFrame(); in findModifyingFrames() 451 CurrentSCtx = CurrN->getStackFrame(); in findModifyingFrames() 474 const StackFrameContext *SCtx = Ctx->getStackFrame(); in VisitNode() [all...] |
H A D | WorkList.cpp | 160 N->getLocationContext()->getStackFrame()); in enqueue() 230 N->getLocationContext()->getStackFrame()); in enqueue()
|
H A D | Environment.cpp | 77 L ? L->getStackFrame() in EnvironmentEntry() 244 Out << "{ \"pointer\": \"" << (const void *)LCtx->getStackFrame() in printJson()
|
H A D | LoopWidening.cpp | 59 const StackFrameContext *STC = LCtx->getStackFrame(); in getWidenedLoopState()
|
H A D | ExprEngineCXX.cpp | 139 Loc ThisPtr = SVB.getCXXThis(CurCtor, LCtx->getStackFrame()); in computeObjectUnderConstruction() 198 const StackFrameContext *SFC = LCtx->getStackFrame(); in computeObjectUnderConstruction() 424 const StackFrameContext *SFC = LCtx->getStackFrame(); in updateObjectsUnderConstruction() 620 LCtx->getStackFrame()->getCallSite()); in handleConstructor() 652 LCtx->getStackFrame()); in handleConstructor()
|
/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
H A D | RetainCountDiagnostics.cpp | 354 const StackFrameContext *SC = Pred->getStackFrame(); in getCalleeNode() 357 const StackFrameContext *PC = SC->getParent()->getStackFrame(); in getCalleeNode() 362 while (N && N->getStackFrame() != PC) { in getCalleeNode() 382 CallEventRef<> Call = CEMgr.getCaller(N->getStackFrame(), N->getState()); in annotateConsumedSummaryMismatch() 505 isSynthesizedAccessor(LCtx->getStackFrame())) { in VisitNode() 506 S = LCtx->getStackFrame()->getCallSite(); in VisitNode() 694 if (MR->getStackFrame() == LeakContext->getStackFrame()) in GetAllocationSite()
|
/llvm-project/clang/lib/Analysis/ |
H A D | AnalysisDeclContext.cpp | 311 AnalysisDeclContext::getStackFrame(const LocationContext *ParentLC, in getStackFrame() function in AnalysisDeclContext 314 return getLocationContextManager().getStackFrame(this, ParentLC, S, Blk, in getStackFrame() 427 const StackFrameContext *LocationContextManager::getStackFrame( in getStackFrame() function in LocationContextManager 462 const StackFrameContext *LocationContext::getStackFrame() const { in getStackFrame() function in LocationContext 473 return getStackFrame()->inTopFrame(); in inTopFrame()
|
/llvm-project/clang/unittests/StaticAnalyzer/ |
H A D | StoreTest.cpp | 58 Eng.getAnalysisDeclContextManager().getStackFrame(D); in performTest() 122 Eng.getAnalysisDeclContextManager().getStackFrame(D); in performTest()
|
H A D | SymbolReaperTest.cpp | 27 Eng.getAnalysisDeclContextManager().getStackFrame(D); in performTest()
|
H A D | ParamRegionTest.cpp | 32 Eng.getAnalysisDeclContextManager().getStackFrame(D); in performTest()
|
/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | CheckerContext.h | 99 const StackFrameContext *getStackFrame() const { in getStackFrame() 100 return Pred->getStackFrame(); in getStackFrame() 98 const StackFrameContext *getStackFrame() const { getStackFrame() function
|