| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | BlockCounter.cpp | 24 const StackFrameContext *CallSite; 28 CountKey(const StackFrameContext *CS, unsigned ID) in CountKey() 57 unsigned BlockCounter::getNumVisited(const StackFrameContext *CallSite, in getNumVisited() 74 const StackFrameContext *CallSite, in IncrementCount()
|
| H A D | CallEvent.cpp | 164 const StackFrameContext * 196 const StackFrameContext *SFC = getCalleeStackFrame(BlockCount); in getParameterLocation() 427 static void addParameterValuesToBindings(const StackFrameContext *CalleeCtx, in addParameterValuesToBindings() 464 const StackFrameContext *StackFrame = getCalleeStackFrame(0); in getConstructionContext() 556 const StackFrameContext *CalleeCtx, in getInitialStackFrameContents() 752 const StackFrameContext *CalleeCtx, in getInitialStackFrameContents() 833 void BlockCall::getInitialStackFrameContents(const StackFrameContext *CalleeCtx, in getInitialStackFrameContents() 872 const StackFrameContext *CalleeCtx, in getInitialStackFrameContents() 885 const StackFrameContext * 887 const StackFrameContext *SFC = getLocationContext()->getStackFrame(); in getInheritingStackFrame() [all …]
|
| H A D | MemRegion.cpp | 159 const StackFrameContext *VarRegion::getStackFrame() const { in getStackFrame() 929 if (const auto *SFC = dyn_cast<StackFrameContext>(LC)) { in getStackOrCaptureRegionForDeclContext() 949 return (const StackFrameContext *)nullptr; in getStackOrCaptureRegionForDeclContext() 957 const StackFrameContext *SFC = LC->getStackFrame(); in getVarRegion() 1001 const auto *STC = V.get<const StackFrameContext *>(); 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 | ExprEngineCallAndReturn.cpp | 46 const StackFrameContext *calleeCtx = CE.getCalleeContext(); in processCallEnter() 80 const StackFrameContext *SF = Node->getStackFrame(); in getLastStmt() 189 const StackFrameContext *calleeCtx) { in wasDifferentDeclUsedForInlining() 209 const StackFrameContext *calleeCtx = CEBNode->getStackFrame(); in processCallExit() 213 const StackFrameContext *callerCtx = in processCallExit() 412 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LCtx)) { in examineStackFrames() 484 const StackFrameContext *CallerSFC = CurLC->getStackFrame(); in inlineCall() 501 const StackFrameContext *CalleeSFC = in inlineCall() 790 const StackFrameContext *CallerSFC = CurLC->getStackFrame(); in mayInlineCallKind()
|
| H A D | BugReporterVisitors.cpp | 356 const StackFrameContext *SCtx = Ctx->getStackFrame(); in isModifiedInFrame() 363 const StackFrameContext *SCtx) { in markFrameAsModifying() 398 const StackFrameContext *const OriginalSCtx = in findModifyingFrames() 402 const StackFrameContext *CurrentSCtx = OriginalSCtx; in findModifyingFrames() 444 const StackFrameContext *SCtx = Ctx->getStackFrame(); in VisitNode() 967 const StackFrameContext *CalleeSFC; 1204 const StackFrameContext *OriginSFC; 1219 const StackFrameContext *OriginSFC = nullptr) in StoreSiteFinder() 2163 const StackFrameContext *SFC = LVNode->getStackFrame(); in handle() 2329 const StackFrameContext *SFC = LVNode->getStackFrame(); in handle() [all …]
|
| H A D | WorkList.cpp | 140 using LocIdentifier = std::pair<BlockID, const StackFrameContext *>; 195 using LocIdentifier = std::pair<BlockID, const StackFrameContext *>;
|
| H A D | LoopWidening.cpp | 57 const StackFrameContext *STC = LCtx->getStackFrame(); in getWidenedLoopState()
|
| H A D | SymbolManager.cpp | 530 const StackFrameContext *VarContext = VR->getStackFrame(); in isLive() 537 const StackFrameContext *CurrentContext = LCtx->getStackFrame(); in isLive()
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/ |
| H A D | AnalysisDeclContext.h | 45 class StackFrameContext; variable 181 const StackFrameContext *getStackFrame(LocationContext const *ParentLC, 262 const StackFrameContext *getStackFrame() const; 299 class StackFrameContext : public LocationContext { 316 StackFrameContext(AnalysisDeclContext *ADC, const LocationContext *ParentLC, in StackFrameContext() function 323 ~StackFrameContext() override = default; 405 const StackFrameContext *getStackFrame(AnalysisDeclContext *ADC, 470 const StackFrameContext *getStackFrame(const Decl *D) { in getStackFrame() 476 const StackFrameContext *getStackFrame(AnalysisDeclContext *ADC, in getStackFrame()
|
| H A D | ProgramPoint.h | 182 const StackFrameContext *getStackFrame() const { in getStackFrame() 631 CallEnter(const Stmt *stmt, const StackFrameContext *calleeCtx, in CallEnter() 639 const StackFrameContext *getCalleeContext() const { in getCalleeContext() 640 return static_cast<const StackFrameContext *>(getData2()); in getCalleeContext() 645 const StackFrameContext *CalleeCtx = getCalleeContext(); in getEntry() 670 CallExitBegin(const StackFrameContext *L, const ReturnStmt *RS) in CallExitBegin() 690 CallExitEnd(const StackFrameContext *CalleeCtx, in CallExitEnd() 694 const StackFrameContext *getCalleeContext() const { in getCalleeContext() 695 return static_cast<const StackFrameContext *>(getData1()); in getCalleeContext()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | BlockCounter.h | 22 class StackFrameContext; variable 37 unsigned getNumVisited(const StackFrameContext *CallSite, 48 const StackFrameContext *CallSite,
|
| H A D | CallEvent.h | 55 class StackFrameContext; variable 366 virtual void getInitialStackFrameContents(const StackFrameContext *CalleeCtx, 400 const StackFrameContext *getCalleeStackFrame(unsigned BlockCount) const; 504 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx, 647 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx, 684 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx, 858 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx, 963 const StackFrameContext *getInheritingStackFrame() const; 1214 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx, 1290 getCaller(const StackFrameContext *CalleeCtx, ProgramStateRef State);
|
| H A D | Store.h | 42 class StackFrameContext; variable 187 virtual StoreRef removeDeadBindings(Store store, const StackFrameContext *LCtx, 241 const StackFrameContext *CalleeCtx);
|
| H A D | MemRegion.h | 49 class StackFrameContext; variable 390 const StackFrameContext *SFC; 393 StackSpaceRegion(MemRegionManager &mgr, Kind k, const StackFrameContext *sfc) in StackSpaceRegion() 401 const StackFrameContext *getStackFrame() const { return SFC; } in getStackFrame() 414 StackLocalsSpaceRegion(MemRegionManager &mgr, const StackFrameContext *sfc) in StackLocalsSpaceRegion() 429 StackArgumentsSpaceRegion(MemRegionManager &mgr, const StackFrameContext *sfc) in StackArgumentsSpaceRegion() 947 const StackFrameContext *getStackFrame() const; 1351 llvm::DenseMap<const StackFrameContext *, StackLocalsSpaceRegion *> 1353 llvm::DenseMap<const StackFrameContext *, StackArgumentsSpaceRegion *> 1379 getStackLocalsRegion(const StackFrameContext *STC); [all …]
|
| H A D | SValBuilder.h | 44 class StackFrameContext; variable 387 const StackFrameContext *SFC); 391 const StackFrameContext *SFC);
|
| H A D | Environment.h | 36 const StackFrameContext *> {
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | AnalysisDeclContext.cpp | 311 const StackFrameContext * 415 void StackFrameContext::Profile(llvm::FoldingSetNodeID &ID) { in Profile() 428 const StackFrameContext *LocationContextManager::getStackFrame( in getStackFrame() 432 StackFrameContext::Profile(ID, ctx, parent, s, blk, blockCount, idx); in getStackFrame() 435 cast_or_null<StackFrameContext>(Contexts.FindNodeOrInsertPos(ID, InsertPos)); in getStackFrame() 437 L = new StackFrameContext(ctx, parent, s, blk, blockCount, idx, ++NewID); in getStackFrame() 463 const StackFrameContext *LocationContext::getStackFrame() const { in getStackFrame() 466 if (const auto *SFC = dyn_cast<StackFrameContext>(LC)) in getStackFrame() 515 if (const Stmt *S = cast<StackFrameContext>(LCtx)->getCallSite()) { in dumpStack() 557 if (const Stmt *S = cast<StackFrameContext>(LCtx)->getCallSite()) { in printJson()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | TestAfterDivZeroChecker.cpp | 30 const StackFrameContext *SFC; 33 ZeroState(SymbolRef S, unsigned B, const StackFrameContext *SFC) in ZeroState() 36 const StackFrameContext *getStackFrameContext() const { return SFC; } in getStackFrameContext() 60 const StackFrameContext *SFC; 64 DivisionBRVisitor(SymbolRef ZeroSymbol, const StackFrameContext *SFC) in DivisionBRVisitor()
|
| H A D | ReturnUndefChecker.cpp | 45 const StackFrameContext *SFC = C.getStackFrame(); in checkPreStmt()
|
| H A D | ReturnValueChecker.cpp | 124 const StackFrameContext *SFC = C.getStackFrame(); in checkEndFunction()
|
| H A D | MIGChecker.cpp | 151 const StackFrameContext *SFC; in isInMIGCall()
|
| /llvm-project-15.0.7/clang/unittests/StaticAnalyzer/ |
| H A D | SymbolReaperTest.cpp | 26 const StackFrameContext *SFC = in performTest() 35 SymbolReaper SymReaper((StackFrameContext *)nullptr, (Stmt *)nullptr, in performTest()
|
| H A D | ParamRegionTest.cpp | 20 const StackFrameContext *SFC, in checkForSameParamRegions() 31 const StackFrameContext *SFC = in performTest()
|
| H A D | StoreTest.cpp | 57 const StackFrameContext *SFC = in performTest() 121 const StackFrameContext *SFC = in performTest()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
| H A D | BugReporterVisitors.h | 229 const StackFrameContext *Origin = nullptr); 381 const StackFrameContext *Origin = nullptr); 651 llvm::SmallPtrSet<const StackFrameContext *, 32> FramesModifying; 652 llvm::SmallPtrSet<const StackFrameContext *, 32> FramesModifyingCalculated; 659 void markFrameAsModifying(const StackFrameContext *SCtx);
|