Home
last modified time | relevance | path

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

12

/external/clang/include/clang/Analysis/
DAnalysisContext.h36 class StackFrameContext; variable
183 const StackFrameContext *getStackFrame(LocationContext const *Parent,
256 const StackFrameContext *getCurrentStackFrame() const;
274 class StackFrameContext : public LocationContext {
285 StackFrameContext(AnalysisDeclContext *ctx, const LocationContext *parent, in StackFrameContext() function
292 ~StackFrameContext() override {} in ~StackFrameContext()
380 const StackFrameContext *getStackFrame(AnalysisDeclContext *ctx,
445 const StackFrameContext *getStackFrame(AnalysisDeclContext *Ctx, in getStackFrame()
454 const StackFrameContext *getStackFrame(const Decl *D) { in getStackFrame()
460 StackFrameContext const *getStackFrame(const Decl *D, in getStackFrame()
DProgramPoint.h563 CallEnter(const Stmt *stmt, const StackFrameContext *calleeCtx, in CallEnter()
571 const StackFrameContext *getCalleeContext() const { in getCalleeContext()
572 return static_cast<const StackFrameContext *>(getData2()); in getCalleeContext()
595 CallExitBegin(const StackFrameContext *L) in CallExitBegin()
611 CallExitEnd(const StackFrameContext *CalleeCtx, in CallExitEnd()
615 const StackFrameContext *getCalleeContext() const { in getCalleeContext()
616 return static_cast<const StackFrameContext *>(getData1()); in getCalleeContext()
/external/clang/lib/StaticAnalyzer/Core/
DBlockCounter.cpp25 const StackFrameContext *CallSite;
29 CountKey(const StackFrameContext *CS, unsigned ID) in CountKey()
58 unsigned BlockCounter::getNumVisited(const StackFrameContext *CallSite, in getNumVisited()
75 const StackFrameContext *CallSite, in IncrementCount()
DExprEngineCallAndReturn.cpp42 const StackFrameContext *calleeCtx = CE.getCalleeContext(); in processCallEnter()
74 const StackFrameContext *SF = in getLastStmt()
184 const StackFrameContext *calleeCtx) { in wasDifferentDeclUsedForInlining()
221 const StackFrameContext *calleeCtx = in processCallExit()
226 const StackFrameContext *callerCtx = in processCallExit()
362 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LCtx)) { in examineStackFrames()
422 const StackFrameContext *CallerSFC = CurLC->getCurrentStackFrame(); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
439 const StackFrameContext *CalleeSFC = in REGISTER_TRAIT_WITH_PROGRAMSTATE()
595 const StackFrameContext *CallerSFC = CurLC->getCurrentStackFrame(); in mayInlineCallKind()
DMemRegion.cpp174 const StackFrameContext *VarRegion::getStackFrame() const { in getStackFrame()
663 MemRegionManager::getStackLocalsRegion(const StackFrameContext *STC) { in getStackLocalsRegion()
676 MemRegionManager::getStackArgumentsRegion(const StackFrameContext *STC) { in getStackArgumentsRegion()
737 static llvm::PointerUnion<const StackFrameContext *, const VarRegion *>
742 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC)) { in getStackOrCaptureRegionForDeclContext()
762 return (const StackFrameContext *)nullptr; in getStackOrCaptureRegionForDeclContext()
797 llvm::PointerUnion<const StackFrameContext *, const VarRegion *> V = in getVarRegion()
803 const StackFrameContext *STC = V.get<const StackFrameContext*>(); in getVarRegion()
868 const StackFrameContext *STC = LC->getCurrentStackFrame(); in getBlockDataRegion()
897 const StackFrameContext *STC = LC->getCurrentStackFrame(); in getCompoundLiteralRegion()
[all …]
DCallEvent.cpp303 static void addParameterValuesToBindings(const StackFrameContext *CalleeCtx, in addParameterValuesToBindings()
337 const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
523 const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
599 void BlockCall::getInitialStackFrameContents(const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
636 const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
942 const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
981 CallEventManager::getCaller(const StackFrameContext *CalleeCtx, in getCaller()
DLoopWidening.cpp52 const StackFrameContext *STC = LCtx->getCurrentStackFrame(); in getWidenedLoopState()
DEnvironment.cpp56 const StackFrameContext *>(ignoreTransparentExprs(S), in EnvironmentEntry()
DSymbolManager.cpp521 const StackFrameContext *VarContext = VR->getStackFrame(); in isLive()
528 const StackFrameContext *CurrentContext = LCtx->getCurrentStackFrame(); in isLive()
DSValBuilder.cpp233 const StackFrameContext *SFC) { in getCXXThis()
240 const StackFrameContext *SFC) { in getCXXThis()
DExprEngine.cpp55 typedef std::pair<const CXXBindTemporaryExpr *, const StackFrameContext *>
167 const StackFrameContext *SFC = InitLoc->getCurrentStackFrame(); in getInitialState()
369 const StackFrameContext *SFC = LC ? LC->getCurrentStackFrame() : nullptr; in removeDead()
464 const StackFrameContext *stackFrame = in ProcessInitializer()
465 cast<StackFrameContext>(Pred->getLocationContext()); in ProcessInitializer()
1340 const StackFrameContext *CalleeSF = CalleeLC->getCurrentStackFrame(); in replayWithoutInlining()
1341 const StackFrameContext *CallerSF = CalleeSF->getParent()->getCurrentStackFrame(); in replayWithoutInlining()
1734 const StackFrameContext* Frame = Pred.getStackFrame();
DCoreEngine.cpp578 const StackFrameContext *LocCtx in generateCallExitBeginNode()
579 = cast<StackFrameContext>(N->getLocationContext()); in generateCallExitBeginNode()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DBlockCounter.h23 class StackFrameContext; variable
38 unsigned getNumVisited(const StackFrameContext *CallSite,
49 const StackFrameContext *CallSite,
DMemRegion.h33 class StackFrameContext; variable
362 const StackFrameContext *SFC;
365 StackSpaceRegion(MemRegionManager *mgr, Kind k, const StackFrameContext *sfc) in StackSpaceRegion()
371 const StackFrameContext *getStackFrame() const { return SFC; } in getStackFrame()
385 StackLocalsSpaceRegion(MemRegionManager *mgr, const StackFrameContext *sfc) in StackLocalsSpaceRegion()
400 StackArgumentsSpaceRegion(MemRegionManager *mgr, const StackFrameContext *sfc) in StackArgumentsSpaceRegion()
879 const StackFrameContext *getStackFrame() const;
1131 llvm::DenseMap<const StackFrameContext *, StackLocalsSpaceRegion *>
1133 llvm::DenseMap<const StackFrameContext *, StackArgumentsSpaceRegion *>
1157 getStackLocalsRegion(const StackFrameContext *STC);
[all …]
DStore.h29 class StackFrameContext; variable
144 virtual StoreRef removeDeadBindings(Store store, const StackFrameContext *LCtx,
198 const StackFrameContext *CalleeCtx);
DCallEvent.h324 virtual void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
422 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
564 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
604 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
785 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
936 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
1011 getCaller(const StackFrameContext *CalleeCtx, ProgramStateRef State);
DEnvironment.h35 const StackFrameContext *> {
DSValBuilder.h318 const StackFrameContext *SFC);
322 const StackFrameContext *SFC);
DSymbolManager.h31 class StackFrameContext; variable
573 const StackFrameContext *LCtx;
587 SymbolReaper(const StackFrameContext *Ctx, const Stmt *s, SymbolManager& symmgr, in SymbolReaper()
DCheckerContext.h142 const StackFrameContext *getStackFrame() const { in getStackFrame()
/external/clang/lib/Analysis/
DAnalysisDeclContext.cpp306 const StackFrameContext *
341 void StackFrameContext::Profile(llvm::FoldingSetNodeID &ID) { in Profile()
375 const StackFrameContext*
381 StackFrameContext::Profile(ID, ctx, parent, s, blk, idx); in getStackFrame()
383 StackFrameContext *L = in getStackFrame()
384 cast_or_null<StackFrameContext>(Contexts.FindNodeOrInsertPos(ID, InsertPos)); in getStackFrame()
386 L = new StackFrameContext(ctx, parent, s, blk, idx); in getStackFrame()
421 const StackFrameContext *LocationContext::getCurrentStackFrame() const { in getCurrentStackFrame()
424 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC)) in getCurrentStackFrame()
457 cast<StackFrameContext>(LCtx)->getDecl()->print(OS, PP); in dumpStack()
/external/clang/lib/StaticAnalyzer/Checkers/
DTestAfterDivZeroChecker.cpp31 const StackFrameContext *SFC;
34 ZeroState(SymbolRef S, unsigned B, const StackFrameContext *SFC) in ZeroState()
37 const StackFrameContext *getStackFrameContext() const { return SFC; } in getStackFrameContext()
61 const StackFrameContext *SFC;
65 DivisionBRVisitor(SymbolRef ZeroSymbol, const StackFrameContext *SFC) in DivisionBRVisitor()
DStackAddrEscapeChecker.cpp141 const StackFrameContext *CurFrame = LCtx->getCurrentStackFrame(); in checkPreStmt()
142 const StackFrameContext *MemFrame = SS->getStackFrame(); in checkPreStmt()
179 const StackFrameContext *CurSFC; in checkEndFunction()
DReturnUndefChecker.cpp46 const StackFrameContext *SFC = C.getStackFrame(); in checkPreStmt()
DNSErrorChecker.cpp189 const StackFrameContext * in parameterTypeFromSVal()

12