| /freebsd/contrib/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()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | TestAfterDivZeroChecker.cpp | 114 if (ZeroSymbol == S.getAsSymbol() && SFC == Succ->getStackFrame()) { in REGISTER_SET_WITH_PROGRAMSTATE() 149 State->add<DivZeroMap>(ZeroState(SR, C.getBlockID(), C.getStackFrame())); in setDivZeroMap() 159 ZeroState ZS(SR, C.getBlockID(), C.getStackFrame()); in hasDivZeroMap() 172 C.getStackFrame())); in reportBug() 187 if (ZS.getStackFrameContext() == C.getStackFrame()) in checkEndFunction()
|
| H A D | StackAddrEscapeChecker.cpp | 122 return MS->getStackFrame() != C.getStackFrame(); in isNotInCurrentFrame() 264 : Ctxt(Ctxt), PoppedStackFrame(Ctxt.getStackFrame()), in FindStackRegionsSymbolVisitor() 285 const StackFrameContext *CapturedSFC = SSR->getStackFrame(); in SaveIfEscapes() 505 if (const auto *ReferredFrame = ReferredMemSpace->getStackFrame(); in checkEndFunction() 510 if (ReferrerStackSpace->getStackFrame()->isParentOf(PoppedFrame)) { in checkEndFunction() 517 ReferrerStackSpace->getStackFrame() == PoppedFrame && TopFrame) { in checkEndFunction() 543 : Ctx(CC), State(CC.getState()), PoppedFrame(CC.getStackFrame()), in checkEndFunction()
|
| H A D | UndefinedAssignmentChecker.cpp | 43 dyn_cast<FunctionDecl>(C.getStackFrame()->getDecl())) in checkBind() 86 dyn_cast<CXXConstructorDecl>(C.getStackFrame()->getDecl())) { in checkBind()
|
| H A D | VirtualCallChecker.cpp | 186 State->getSVal(SVB.getCXXThis(MD, LCtx->getStackFrame())); in registerCtorDtorCallInState() 200 State->getSVal(SVB.getCXXThis(MD, LCtx->getStackFrame())); in registerCtorDtorCallInState()
|
| H A D | MIGChecker.cpp | 138 VR->getStackFrame()->inTopFrame()) in REGISTER_TRAIT_WITH_PROGRAMSTATE() 158 SFC = LC->getStackFrame(); in isInMIGCall()
|
| H A D | PutenvStackArrayChecker.cpp | 55 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 (StackSpace->getStackFrame() == SFC) in parameterTypeFromSVal()
|
| H A D | CXXSelfAssignmentChecker.cpp | 50 State->getSVal(SVB.getCXXThis(MD, LCtx->getStackFrame())); in checkBeginFunction()
|
| H A D | UndefResultChecker.cpp | 67 dyn_cast<FunctionDecl>(C.getStackFrame()->getDecl())) in checkPostStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | MemRegion.cpp | 166 const StackFrameContext *VarRegion::getStackFrame() const { in getStackFrame() function in VarRegion 168 return SSR ? SSR->getStackFrame() : nullptr; in getStackFrame() 172 CXXLifetimeExtendedObjectRegion::getStackFrame() const { in getStackFrame() function in CXXLifetimeExtendedObjectRegion 174 return SSR ? SSR->getStackFrame() : nullptr; in getStackFrame() 177 const StackFrameContext *CXXTempObjectRegion::getStackFrame() const { in getStackFrame() function in CXXTempObjectRegion 180 return cast<StackSpaceRegion>(getRawMemorySpace())->getStackFrame(); in getStackFrame() 210 const Decl *D = getStackFrame()->getDecl(); in getDecl() 239 ID.AddPointer(getStackFrame()); in Profile() 1046 const StackFrameContext *SFC = LC->getStackFrame(); in getVarRegion() 1162 const StackFrameContext *SFC = LC->getStackFrame(); in getParamVarRegion() [all …]
|
| H A D | ExprEngineCallAndReturn.cpp | 77 const StackFrameContext *SF = Node->getStackFrame(); in getLastStmt() 84 if (PP.getStackFrame() == SF) { in getLastStmt() 252 const StackFrameContext *calleeCtx = CEBNode->getStackFrame(); in processCallExit() 257 calleeCtx->getParent()->getStackFrame(); in processCallExit() 536 const StackFrameContext *CallerSFC = CurLC->getStackFrame(); in inlineCall() 554 CalleeADC->getStackFrame(ParentOfCallee, CallE, currBldrCtx->getBlock(), in inlineCall() 644 ->getStackFrame()->getParent() in finishArgumentConstruction() 645 ->getStackFrame() == LC->getStackFrame()); in finishArgumentConstruction() 846 const StackFrameContext *CallerSFC = CurLC->getStackFrame(); in mayInlineCallKind()
|
| H A D | ExprEngine.cpp | 307 const StackFrameContext *SFC = InitLoc->getStackFrame(); in getInitialState() 479 auto Key = std::make_pair(E, LCtx->getStackFrame()); in setIndexOfElementToConstruct() 489 const unsigned *V = State->get<PendingInitLoop>({E, LCtx->getStackFrame()}); in getPendingInitLoop() 496 auto Key = std::make_pair(E, LCtx->getStackFrame()); in removePendingInitLoop() 506 auto Key = std::make_pair(E, LCtx->getStackFrame()); in setPendingInitLoop() 518 State->get<IndexOfElementToConstruct>({E, LCtx->getStackFrame()}); in getIndexOfElementToConstruct() 526 auto Key = std::make_pair(E, LCtx->getStackFrame()); in removeIndexOfElementToConstruct() 538 State->get<PendingArrayDestruction>(LCtx->getStackFrame()); in getPendingArrayDestruction() 546 auto Key = LCtx->getStackFrame(); in setPendingArrayDestruction() 556 auto Key = LCtx->getStackFrame(); in removePendingArrayDestruction() [all …]
|
| H A D | BugReporterVisitors.cpp | 273 if (!B->getErrorNode()->getStackFrame()->isParentOf(N->getStackFrame())) in isVarAnInterestingCondition() 382 const StackFrameContext *SCtx = Ctx->getStackFrame(); in isModifiedInFrame() 395 SCtx = SCtx->getParent()->getStackFrame(); in markFrameAsModifying() 403 const StackFrameContext *OrigSCtx = N->getFirstSucc()->getStackFrame(); in getMatchingCallExitEnd() 409 OrigSCtx == N->getFirstPred()->getStackFrame(); in getMatchingCallExitEnd() 425 CallExitBeginN->getLocationContext()->getStackFrame(); in findModifyingFrames() 435 CurrentSCtx = CurrN->getStackFrame(); in findModifyingFrames() 447 CurrentSCtx = CurrN->getStackFrame(); in findModifyingFrames() 470 const StackFrameContext *SCtx = Ctx->getStackFrame(); in VisitNode() 498 if (!N->getStackFrame()->getCFG()->isLinear()) { 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 | 75 L ? L->getStackFrame() in EnvironmentEntry() 242 Out << "{ \"pointer\": \"" << (const void *)LCtx->getStackFrame() in printJson()
|
| H A D | LoopWidening.cpp | 40 const StackFrameContext *STC = LCtx->getStackFrame(); in getWidenedLoopState()
|
| H A D | SymbolManager.cpp | 409 const StackFrameContext *VarContext = VR->getStackFrame(); in isLive() 416 const StackFrameContext *CurrentContext = LCtx->getStackFrame(); in isLive()
|
| H A D | ExprEngineCXX.cpp | 157 Loc ThisPtr = SVB.getCXXThis(CurCtor, LCtx->getStackFrame()); in computeObjectUnderConstruction() 216 const StackFrameContext *SFC = LCtx->getStackFrame(); in computeObjectUnderConstruction() 442 const StackFrameContext *SFC = LCtx->getStackFrame(); in updateObjectsUnderConstruction() 638 LCtx->getStackFrame()->getCallSite()); in handleConstructor() 671 LCtx->getStackFrame()); in handleConstructor()
|
| H A D | CallEvent.cpp | 189 return ADC->getManager()->getStackFrame(ADC, LCtx, E, B, BlockCount, Idx); in getCalleeStackFrame() 524 const auto *CallStackFrameContext = CallLocationContext->getStackFrame(); in getCaller() 971 const StackFrameContext *SFC = getLocationContext()->getStackFrame(); in getInheritingStackFrame() 973 SFC = SFC->getParent()->getStackFrame(); in getInheritingStackFrame() 1451 const LocationContext *CallerCtx = ParentCtx->getStackFrame(); in getCaller()
|
| /freebsd/contrib/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()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | AnalysisDeclContext.cpp | 309 AnalysisDeclContext::getStackFrame(const LocationContext *ParentLC, in getStackFrame() function in AnalysisDeclContext 312 return getLocationContextManager().getStackFrame(this, ParentLC, S, Blk, in getStackFrame() 425 const StackFrameContext *LocationContextManager::getStackFrame( in getStackFrame() function in LocationContextManager 460 const StackFrameContext *LocationContext::getStackFrame() const { in getStackFrame() function in LocationContext 471 return getStackFrame()->inTopFrame(); in inTopFrame()
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CheckerContext.h | 101 const StackFrameContext *getStackFrame() const { in getStackFrame() function 102 return Pred->getStackFrame(); in getStackFrame()
|
| H A D | ExplodedGraph.h | 151 const StackFrameContext *getStackFrame() const { in getStackFrame() function 152 return getLocation().getStackFrame(); in getStackFrame()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
| H A D | UninitializedObjectChecker.cpp | 175 const Stmt *CallSite = Context.getStackFrame()->getCallSite(); in checkEndFunction() 459 Context.getSValBuilder().getCXXThis(CtorDecl, Context.getStackFrame()); in getConstructedRegion()
|