| /llvm-project-15.0.7/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-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | TestAfterDivZeroChecker.cpp | 116 if (ZeroSymbol == S.getAsSymbol() && SFC == Succ->getStackFrame()) { in REGISTER_SET_WITH_PROGRAMSTATE() 151 State->add<DivZeroMap>(ZeroState(SR, C.getBlockID(), C.getStackFrame())); in setDivZeroMap() 161 ZeroState ZS(SR, C.getBlockID(), C.getStackFrame()); in hasDivZeroMap() 176 C.getStackFrame())); in reportBug() 194 if (ZS.getStackFrameContext() == C.getStackFrame()) in checkEndFunction()
|
| H A D | UndefinedAssignmentChecker.cpp | 44 dyn_cast<FunctionDecl>(C.getStackFrame()->getDecl())) in checkBind() 93 dyn_cast<CXXConstructorDecl>(C.getStackFrame()->getDecl())) { in checkBind()
|
| H A D | StackAddrEscapeChecker.cpp | 123 return S->getStackFrame() != C.getStackFrame(); in isNotInCurrentFrame() 321 const auto *ReferrerFrame = ReferrerMemSpace->getStackFrame(); in checkEndFunction() 322 const auto *ReferredFrame = ReferredMemSpace->getStackFrame(); in checkEndFunction() 337 CallBack(CheckerContext &CC) : Ctx(CC), PoppedFrame(CC.getStackFrame()) {} in checkEndFunction()
|
| H A D | ReturnValueChecker.cpp | 124 const StackFrameContext *SFC = C.getStackFrame(); in checkEndFunction() 125 if (C.getStackFrame()->inTopFrame()) in checkEndFunction()
|
| H A D | MIGChecker.cpp | 134 VR->getStackFrame()->inTopFrame()) in REGISTER_TRAIT_WITH_PROGRAMSTATE() 154 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 | NSErrorChecker.cpp | 199 const StackFrameContext * SFC = C.getStackFrame(); in parameterTypeFromSVal() 205 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()
|
| /llvm-project-15.0.7/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() 691 if (MR->getStackFrame() == LeakContext->getStackFrame()) in GetAllocationSite()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineCallAndReturn.cpp | 80 const StackFrameContext *SF = Node->getStackFrame(); in getLastStmt() 87 if (PP.getStackFrame() == SF) { in getLastStmt() 209 const StackFrameContext *calleeCtx = CEBNode->getStackFrame(); in processCallExit() 214 calleeCtx->getParent()->getStackFrame(); in processCallExit() 484 const StackFrameContext *CallerSFC = CurLC->getStackFrame(); in inlineCall() 502 CalleeADC->getStackFrame(ParentOfCallee, CallE, currBldrCtx->getBlock(), in inlineCall() 594 ->getStackFrame()->getParent() in finishArgumentConstruction() 595 ->getStackFrame() == LC->getStackFrame()); in finishArgumentConstruction() 790 const StackFrameContext *CallerSFC = CurLC->getStackFrame(); in mayInlineCallKind()
|
| H A D | BugReporterVisitors.cpp | 248 if (!B->getErrorNode()->getStackFrame()->isParentOf(N->getStackFrame())) in isVarAnInterestingCondition() 356 const StackFrameContext *SCtx = Ctx->getStackFrame(); in isModifiedInFrame() 369 SCtx = SCtx->getParent()->getStackFrame(); in markFrameAsModifying() 383 OrigSCtx == N->getFirstPred()->getStackFrame(); in getMatchingCallExitEnd() 409 CurrentSCtx = CurrN->getStackFrame(); in findModifyingFrames() 421 CurrentSCtx = CurrN->getStackFrame(); in findModifyingFrames() 444 const StackFrameContext *SCtx = Ctx->getStackFrame(); in VisitNode() 472 if (!N->getStackFrame()->getCFG()->isLinear()) { in VisitNode() 1267 return FrameSpace->getStackFrame() == LCtx->getStackFrame(); in isInitializationOfVar() 1896 if (Origin->getStackFrame() != N->getStackFrame()) in VisitNode() [all …]
|
| H A D | MemRegion.cpp | 159 const StackFrameContext *VarRegion::getStackFrame() const { in getStackFrame() function in VarRegion 161 return SSR ? SSR->getStackFrame() : nullptr; in getStackFrame() 191 const Decl *D = getStackFrame()->getDecl(); in getDecl() 220 ID.AddPointer(getStackFrame()); in Profile() 957 const StackFrameContext *SFC = LC->getStackFrame(); in getVarRegion() 1062 const StackFrameContext *SFC = LC->getStackFrame(); in getParamVarRegion() 1082 const StackFrameContext *STC = LC->getStackFrame(); in getBlockDataRegion() 1110 const StackFrameContext *STC = LC->getStackFrame(); in getCompoundLiteralRegion() 1179 const StackFrameContext *SFC = LC->getStackFrame(); in getCXXTempObjectRegion() 1248 const StackFrameContext *STC = LC->getStackFrame(); in getCXXThisRegion() [all …]
|
| H A D | ExprEngine.cpp | 298 const StackFrameContext *SFC = InitLoc->getStackFrame(); in getInitialState() 466 auto Key = std::make_pair(E, LCtx->getStackFrame()); in setIndexOfElementToConstruct() 484 auto Key = std::make_pair(E, LCtx->getStackFrame()); in removePendingInitLoop() 494 auto Key = std::make_pair(E, LCtx->getStackFrame()); in setPendingInitLoop() 514 auto Key = std::make_pair(E, LCtx->getStackFrame()); in removeIndexOfElementToConstruct() 524 ConstructedObjectKey Key(Item, LC->getStackFrame()); in addObjectUnderConstruction() 564 ConstructedObjectKey Key(Item, LC->getStackFrame()); in getObjectUnderConstruction() 572 ConstructedObjectKey Key(Item, LC->getStackFrame()); in finishObjectConstruction() 2097 if (L.getStackFrame() != CallerSF) in replayWithoutInlining() 2198 if (RootLC->getStackFrame() != CalleeSF) { in processCFGBlockEntrance() [all …]
|
| H A D | WorkList.cpp | 160 N->getLocationContext()->getStackFrame()); in enqueue() 230 N->getLocationContext()->getStackFrame()); in enqueue()
|
| H A D | Environment.cpp | 74 L ? L->getStackFrame() in EnvironmentEntry() 242 Out << "{ \"pointer\": \"" << (const void *)LCtx->getStackFrame() in printJson()
|
| H A D | LoopWidening.cpp | 57 const StackFrameContext *STC = LCtx->getStackFrame(); in getWidenedLoopState()
|
| H A D | ExprEngineCXX.cpp | 138 Loc ThisPtr = SVB.getCXXThis(CurCtor, LCtx->getStackFrame()); in computeObjectUnderConstruction() 196 const StackFrameContext *SFC = LCtx->getStackFrame(); in computeObjectUnderConstruction() 412 const StackFrameContext *SFC = LCtx->getStackFrame(); in updateObjectsUnderConstruction() 615 LCtx->getStackFrame()->getCallSite()); in handleConstructor() 647 LCtx->getStackFrame()); in handleConstructor()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | AnalysisDeclContext.cpp | 312 AnalysisDeclContext::getStackFrame(const LocationContext *ParentLC, in getStackFrame() function in AnalysisDeclContext 315 return getLocationContextManager().getStackFrame(this, ParentLC, S, Blk, in getStackFrame() 428 const StackFrameContext *LocationContextManager::getStackFrame( in getStackFrame() function in LocationContextManager 463 const StackFrameContext *LocationContext::getStackFrame() const { in getStackFrame() function in LocationContext 474 return getStackFrame()->inTopFrame(); in inTopFrame()
|
| /llvm-project-15.0.7/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()
|
| H A D | FalsePositiveRefutationBRVisitorTest.cpp | 64 if (C.getPredecessor()->getLocationContext()->getStackFrame()->getParent()) in reportIfCanBeTrue()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CheckerContext.h | 97 const StackFrameContext *getStackFrame() const { in getStackFrame() function 98 return Pred->getStackFrame(); in getStackFrame()
|