Home
last modified time | relevance | path

Searched refs:StackFrameContext (Results 1 – 25 of 34) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DAnalysisDeclContext.h45 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 DProgramPoint.h179 const StackFrameContext *getStackFrame() const { in getStackFrame()
630 CallEnter(const Stmt *stmt, const StackFrameContext *calleeCtx, in CallEnter()
638 const StackFrameContext *getCalleeContext() const { in getCalleeContext()
639 return static_cast<const StackFrameContext *>(getData2()); in getCalleeContext()
644 const StackFrameContext *CalleeCtx = getCalleeContext(); in getEntry()
669 CallExitBegin(const StackFrameContext *L, const ReturnStmt *RS) in CallExitBegin()
689 CallExitEnd(const StackFrameContext *CalleeCtx, in CallExitEnd()
693 const StackFrameContext *getCalleeContext() const { in getCalleeContext()
694 return static_cast<const StackFrameContext *>(getData1()); in getCalleeContext()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBlockCounter.cpp24 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 DMemRegion.cpp157 const StackFrameContext *VarRegion::getStackFrame() const { in getStackFrame()
162 const StackFrameContext *
168 const StackFrameContext *CXXTempObjectRegion::getStackFrame() const { in getStackFrame()
902 MemRegionManager::getStackLocalsRegion(const StackFrameContext *STC) { in getStackLocalsRegion()
914 MemRegionManager::getStackArgumentsRegion(const StackFrameContext *STC) { in getStackArgumentsRegion()
976 static llvm::PointerUnion<const StackFrameContext *, const VarRegion *>
981 if (const auto *SFC = dyn_cast<StackFrameContext>(LC)) { in getStackOrCaptureRegionForDeclContext()
999 return (const StackFrameContext *)nullptr; in getStackOrCaptureRegionForDeclContext()
1007 const StackFrameContext *SFC = LC->getStackFrame(); in getVarRegion()
1045 llvm::PointerUnion<const StackFrameContext *, const VarRegion *> V = in getVarRegion()
[all …]
H A DCallEvent.cpp163 const StackFrameContext *
195 const StackFrameContext *SFC = getCalleeStackFrame(BlockCount); in getParameterLocation()
461 static void addParameterValuesToBindings(const StackFrameContext *CalleeCtx, in addParameterValuesToBindings()
504 const StackFrameContext *StackFrame = getCalleeStackFrame(0); in getConstructionContext()
615 const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
816 const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
897 void BlockCall::getInitialStackFrameContents(const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
936 const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
949 const StackFrameContext *
951 const StackFrameContext *SFC = getLocationContext()->getStackFrame(); in getInheritingStackFrame()
[all …]
H A DExprEngineCallAndReturn.cpp47 const StackFrameContext *calleeCtx = CE.getCalleeContext(); in processCallEnter()
81 const StackFrameContext *SF = Node->getStackFrame(); in getLastStmt()
190 const StackFrameContext *calleeCtx) { in wasDifferentDeclUsedForInlining()
257 const StackFrameContext *calleeCtx = CEBNode->getStackFrame(); in processCallExit()
261 const StackFrameContext *callerCtx = in processCallExit()
464 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LCtx)) { in examineStackFrames()
536 const StackFrameContext *CallerSFC = CurLC->getStackFrame(); in inlineCall()
553 const StackFrameContext *CalleeSFC = in inlineCall()
846 const StackFrameContext *CallerSFC = CurLC->getStackFrame(); in mayInlineCallKind()
H A DWorkList.cpp140 using LocIdentifier = std::pair<BlockID, const StackFrameContext *>;
195 using LocIdentifier = std::pair<BlockID, const StackFrameContext *>;
H A DBugReporterVisitors.cpp386 const StackFrameContext *SCtx = Ctx->getStackFrame(); in isModifiedInFrame()
393 const StackFrameContext *SCtx) { in markFrameAsModifying()
407 const StackFrameContext *OrigSCtx = N->getFirstSucc()->getStackFrame(); in getMatchingCallExitEnd()
428 const StackFrameContext *const OriginalSCtx = in findModifyingFrames()
432 const StackFrameContext *CurrentSCtx = OriginalSCtx; in findModifyingFrames()
474 const StackFrameContext *SCtx = Ctx->getStackFrame(); in VisitNode()
997 const StackFrameContext *CalleeSFC;
1010 ReturnVisitor(TrackerRef ParentTracker, const StackFrameContext *Frame, in ReturnVisitor()
1232 const StackFrameContext *OriginSFC;
1247 const StackFrameContext *OriginSFC = nullptr) in StoreSiteFinder()
[all …]
H A DSymbolManager.cpp532 const StackFrameContext *VarContext = VR->getStackFrame(); in isLive()
539 const StackFrameContext *CurrentContext = LCtx->getStackFrame(); in isLive()
H A DProgramState.cpp92 ProgramStateRef state, const StackFrameContext *LCtx, in removeDeadBindingsFromEnvironmentAndStore()
245 const StackFrameContext *CalleeCtx) const { in enterStackFrame()
H A DRegionStore.cpp627 StoreRef removeDeadBindings(Store store, const StackFrameContext *LCtx,
2743 const StackFrameContext *CurrentLCtx;
2749 const StackFrameContext *LCtx) in RemoveDeadBindingsWorker()
2800 const StackFrameContext *RegCtx = StackReg->getStackFrame(); in VisitAddedToCluster()
2875 const StackFrameContext *LCtx, in removeDeadBindings()
H A DExplodedGraph.cpp326 return cast<StackFrameContext>(findTopAutosynthesizedParentContext(LC)) in getStmtForDiagnostics()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBlockCounter.h22 class StackFrameContext; variable
37 unsigned getNumVisited(const StackFrameContext *CallSite,
48 const StackFrameContext *CallSite,
H A DMemRegion.h51 class StackFrameContext; variable
394 const StackFrameContext *SFC;
397 StackSpaceRegion(MemRegionManager &mgr, Kind k, const StackFrameContext *sfc) in StackSpaceRegion()
405 const StackFrameContext *getStackFrame() const { return SFC; } in getStackFrame()
418 StackLocalsSpaceRegion(MemRegionManager &mgr, const StackFrameContext *sfc) in StackLocalsSpaceRegion()
433 StackArgumentsSpaceRegion(MemRegionManager &mgr, const StackFrameContext *sfc) in StackArgumentsSpaceRegion()
969 const StackFrameContext *getStackFrame() const;
1257 const StackFrameContext *getStackFrame() const;
1296 const StackFrameContext *getStackFrame() const;
1414 llvm::DenseMap<const StackFrameContext *, StackLocalsSpaceRegion *>
[all …]
H A DStore.h42 class StackFrameContext; variable
188 virtual StoreRef removeDeadBindings(Store store, const StackFrameContext *LCtx,
238 const StackFrameContext *CalleeCtx);
H A DCallEvent.h56 class StackFrameContext; variable
374 virtual void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
408 const StackFrameContext *getCalleeStackFrame(unsigned BlockCount) const;
522 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
664 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
704 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
963 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
1076 const StackFrameContext *getInheritingStackFrame() const;
1336 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
1413 CallEventRef<> getCaller(const StackFrameContext *CalleeCtx,
H A DSValBuilder.h44 class StackFrameContext; variable
408 const StackFrameContext *SFC);
412 const StackFrameContext *SFC);
H A DEnvironment.h36 const StackFrameContext *> {
H A DSymbolManager.h593 const StackFrameContext *LCtx;
607 SymbolReaper(const StackFrameContext *Ctx, const Stmt *s, in SymbolReaper()
H A DCheckerContext.h98 const StackFrameContext *getStackFrame() const { in getStackFrame()
H A DProgramState.h343 const StackFrameContext *CalleeCtx) const;
587 const StackFrameContext *LCtx,
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp310 const StackFrameContext *
414 void StackFrameContext::Profile(llvm::FoldingSetNodeID &ID) { in Profile()
427 const StackFrameContext *LocationContextManager::getStackFrame( in getStackFrame()
431 StackFrameContext::Profile(ID, ctx, parent, s, blk, blockCount, idx); in getStackFrame()
434 cast_or_null<StackFrameContext>(Contexts.FindNodeOrInsertPos(ID, InsertPos)); in getStackFrame()
436 L = new StackFrameContext(ctx, parent, s, blk, blockCount, idx, ++NewID); in getStackFrame()
462 const StackFrameContext *LocationContext::getStackFrame() const { in getStackFrame()
465 if (const auto *SFC = dyn_cast<StackFrameContext>(LC)) in getStackFrame()
514 if (const Stmt *S = cast<StackFrameContext>(LCtx)->getCallSite()) { in dumpStack()
556 if (const Stmt *S = cast<StackFrameContext>(LCtx)->getCallSite()) { in printJson()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporterVisitors.h236 const StackFrameContext *Origin = nullptr);
389 const StackFrameContext *Origin = nullptr);
635 llvm::SmallPtrSet<const StackFrameContext *, 32> FramesModifying;
636 llvm::SmallPtrSet<const StackFrameContext *, 32> FramesModifyingCalculated;
643 void markFrameAsModifying(const StackFrameContext *SCtx);
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMIGChecker.cpp155 const StackFrameContext *SFC; in isInMIGCall()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp354 const StackFrameContext *SC = Pred->getStackFrame(); in getCalleeNode()
357 const StackFrameContext *PC = SC->getParent()->getStackFrame(); in getCalleeNode()

12