Home
last modified time | relevance | path

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

12

/external/clang/include/clang/Analysis/
DAnalysisContext.h40 class StackFrameContext; variable
179 const StackFrameContext *getStackFrame(LocationContext const *Parent,
252 const StackFrameContext *getCurrentStackFrame() const;
270 class StackFrameContext : public LocationContext {
281 StackFrameContext(AnalysisDeclContext *ctx, const LocationContext *parent, in StackFrameContext() function
288 ~StackFrameContext() {} in ~StackFrameContext()
376 const StackFrameContext *getStackFrame(AnalysisDeclContext *ctx,
435 const StackFrameContext *getStackFrame(AnalysisDeclContext *Ctx, in getStackFrame()
444 const StackFrameContext *getStackFrame(const Decl *D) { in getStackFrame()
449 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()
59 unsigned BlockCounter::getNumVisited(const StackFrameContext *CallSite, in getNumVisited()
76 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()
438 const StackFrameContext *CalleeSFC = in REGISTER_TRAIT_WITH_PROGRAMSTATE()
594 const StackFrameContext *CallerSFC = CurLC->getCurrentStackFrame(); in mayInlineCallKind()
DMemRegion.cpp174 const StackFrameContext *VarRegion::getStackFrame() const { in getStackFrame()
652 MemRegionManager::getStackLocalsRegion(const StackFrameContext *STC) { in getStackLocalsRegion()
665 MemRegionManager::getStackArgumentsRegion(const StackFrameContext *STC) { in getStackArgumentsRegion()
726 static llvm::PointerUnion<const StackFrameContext *, const VarRegion *>
731 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC)) { in getStackOrCaptureRegionForDeclContext()
751 return (const StackFrameContext*)0; in getStackOrCaptureRegionForDeclContext()
786 llvm::PointerUnion<const StackFrameContext *, const VarRegion *> V = in getVarRegion()
792 const StackFrameContext *STC = V.get<const StackFrameContext*>(); in getVarRegion()
853 const StackFrameContext *STC = LC->getCurrentStackFrame(); in getBlockDataRegion()
882 const StackFrameContext *STC = LC->getCurrentStackFrame(); in getCompoundLiteralRegion()
[all …]
DCallEvent.cpp267 static void addParameterValuesToBindings(const StackFrameContext *CalleeCtx, in addParameterValuesToBindings()
311 const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
475 const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
557 void BlockCall::getInitialStackFrameContents(const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
578 const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
872 const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
911 CallEventManager::getCaller(const StackFrameContext *CalleeCtx, in getCaller()
DEnvironment.cpp56 const StackFrameContext *>(ignoreTransparentExprs(S), in EnvironmentEntry()
DSValBuilder.cpp214 const StackFrameContext *SFC) { in getCXXThis()
221 const StackFrameContext *SFC) { in getCXXThis()
DSymbolManager.cpp511 const StackFrameContext *VarContext = VR->getStackFrame(); in isLive()
518 const StackFrameContext *CurrentContext = LCtx->getCurrentStackFrame(); in isLive()
DCoreEngine.cpp556 const StackFrameContext *LocCtx in generateCallExitBeginNode()
557 = cast<StackFrameContext>(N->getLocationContext()); in generateCallExitBeginNode()
DExprEngine.cpp155 const StackFrameContext *SFC = InitLoc->getCurrentStackFrame(); in getInitialState()
352 const StackFrameContext *SFC = LC ? LC->getCurrentStackFrame() : 0; in removeDead()
447 const StackFrameContext *stackFrame = in ProcessInitializer()
448 cast<StackFrameContext>(Pred->getLocationContext()); in ProcessInitializer()
1145 const StackFrameContext *CalleeSF = CalleeLC->getCurrentStackFrame(); in replayWithoutInlining()
1146 const StackFrameContext *CallerSF = CalleeSF->getParent()->getCurrentStackFrame(); in replayWithoutInlining()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DBlockCounter.h25 class StackFrameContext; variable
40 unsigned getNumVisited(const StackFrameContext *CallSite,
51 const StackFrameContext *CallSite,
DMemRegion.h36 class StackFrameContext; variable
365 const StackFrameContext *SFC;
368 StackSpaceRegion(MemRegionManager *mgr, Kind k, const StackFrameContext *sfc) in StackSpaceRegion()
374 const StackFrameContext *getStackFrame() const { return SFC; } in getStackFrame()
388 StackLocalsSpaceRegion(MemRegionManager *mgr, const StackFrameContext *sfc) in StackLocalsSpaceRegion()
403 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 *>
1156 getStackLocalsRegion(const StackFrameContext *STC);
[all …]
DStore.h29 class StackFrameContext; variable
144 virtual StoreRef removeDeadBindings(Store store, const StackFrameContext *LCtx,
205 const StackFrameContext *CalleeCtx);
DCallEvent.h323 virtual void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
426 virtual void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
528 virtual void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
568 virtual void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
748 virtual void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
899 virtual void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
966 getCaller(const StackFrameContext *CalleeCtx, ProgramStateRef State);
DEnvironment.h35 const StackFrameContext *> {
DSValBuilder.h317 const StackFrameContext *SFC);
321 const StackFrameContext *SFC);
DSymbolManager.h34 class StackFrameContext; variable
576 const StackFrameContext *LCtx;
590 SymbolReaper(const StackFrameContext *Ctx, const Stmt *s, SymbolManager& symmgr, in SymbolReaper()
DCheckerContext.h142 const StackFrameContext *getStackFrame() const { in getStackFrame()
DExplodedGraph.h140 const StackFrameContext *getStackFrame() const { in getStackFrame()
/external/clang/lib/Analysis/
DAnalysisDeclContext.cpp272 const StackFrameContext *
307 void StackFrameContext::Profile(llvm::FoldingSetNodeID &ID) { in Profile()
341 const StackFrameContext*
347 StackFrameContext::Profile(ID, ctx, parent, s, blk, idx); in getStackFrame()
349 StackFrameContext *L = in getStackFrame()
350 cast_or_null<StackFrameContext>(Contexts.FindNodeOrInsertPos(ID, InsertPos)); in getStackFrame()
352 L = new StackFrameContext(ctx, parent, s, blk, idx); in getStackFrame()
387 const StackFrameContext *LocationContext::getCurrentStackFrame() const { in getCurrentStackFrame()
390 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC)) in getCurrentStackFrame()
423 cast<StackFrameContext>(LCtx)->getDecl()->print(OS, PP); in dumpStack()
/external/clang/lib/StaticAnalyzer/Checkers/
DStackAddrEscapeChecker.cpp141 const StackFrameContext *CurFrame = LCtx->getCurrentStackFrame(); in checkPreStmt()
142 const StackFrameContext *MemFrame = SS->getStackFrame(); in checkPreStmt()
170 const StackFrameContext *CurSFC; in checkEndFunction()
DReturnUndefChecker.cpp46 const StackFrameContext *SFC = C.getStackFrame(); in checkPreStmt()
DDynamicTypePropagation.cpp230 const StackFrameContext *SFCtx = C.getStackFrame(); in getObjectTypeForAllocAndNew()
DNSErrorChecker.cpp187 const StackFrameContext * in parameterTypeFromSVal()

12