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,
260 const StackFrameContext *getCurrentStackFrame() const;
278 class StackFrameContext : public LocationContext {
289 StackFrameContext(AnalysisDeclContext *ctx, const LocationContext *parent, in StackFrameContext() function
296 ~StackFrameContext() override {} in ~StackFrameContext()
384 const StackFrameContext *getStackFrame(AnalysisDeclContext *ctx,
449 const StackFrameContext *getStackFrame(AnalysisDeclContext *Ctx, in getStackFrame()
458 const StackFrameContext *getStackFrame(const Decl *D) { in getStackFrame()
464 StackFrameContext const *getStackFrame(const Decl *D, in getStackFrame()
DProgramPoint.h586 CallEnter(const Stmt *stmt, const StackFrameContext *calleeCtx, in CallEnter()
594 const StackFrameContext *getCalleeContext() const { in getCalleeContext()
595 return static_cast<const StackFrameContext *>(getData2()); in getCalleeContext()
600 const StackFrameContext *CalleeCtx = getCalleeContext(); in getEntry()
625 CallExitBegin(const StackFrameContext *L) in CallExitBegin()
641 CallExitEnd(const StackFrameContext *CalleeCtx, in CallExitEnd()
645 const StackFrameContext *getCalleeContext() const { in getCalleeContext()
646 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.cpp43 const StackFrameContext *calleeCtx = CE.getCalleeContext(); in processCallEnter()
77 const StackFrameContext *SF = in getLastStmt()
187 const StackFrameContext *calleeCtx) { in wasDifferentDeclUsedForInlining()
224 const StackFrameContext *calleeCtx = in processCallExit()
229 const StackFrameContext *callerCtx = in processCallExit()
365 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LCtx)) { in examineStackFrames()
410 const StackFrameContext *CallerSFC = CurLC->getCurrentStackFrame(); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
427 const StackFrameContext *CalleeSFC = in REGISTER_TRAIT_WITH_PROGRAMSTATE()
582 const StackFrameContext *CallerSFC = CurLC->getCurrentStackFrame(); in mayInlineCallKind()
DMemRegion.cpp170 const StackFrameContext *VarRegion::getStackFrame() const { in getStackFrame()
719 MemRegionManager::getStackLocalsRegion(const StackFrameContext *STC) { in getStackLocalsRegion()
732 MemRegionManager::getStackArgumentsRegion(const StackFrameContext *STC) { in getStackArgumentsRegion()
793 static llvm::PointerUnion<const StackFrameContext *, const VarRegion *>
798 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC)) { in getStackOrCaptureRegionForDeclContext()
818 return (const StackFrameContext *)nullptr; in getStackOrCaptureRegionForDeclContext()
853 llvm::PointerUnion<const StackFrameContext *, const VarRegion *> V = in getVarRegion()
859 const StackFrameContext *STC = V.get<const StackFrameContext*>(); in getVarRegion()
924 const StackFrameContext *STC = LC->getCurrentStackFrame(); in getBlockDataRegion()
952 const StackFrameContext *STC = LC->getCurrentStackFrame(); in getCompoundLiteralRegion()
[all …]
DCallEvent.cpp313 static void addParameterValuesToBindings(const StackFrameContext *CalleeCtx, in addParameterValuesToBindings()
347 const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
533 const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
609 void BlockCall::getInitialStackFrameContents(const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
646 const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
1019 const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
1058 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.cpp56 typedef std::pair<const CXXBindTemporaryExpr *, const StackFrameContext *>
168 const StackFrameContext *SFC = InitLoc->getCurrentStackFrame(); in getInitialState()
370 const StackFrameContext *SFC = LC ? LC->getCurrentStackFrame() : nullptr; in removeDead()
465 const StackFrameContext *stackFrame = in ProcessInitializer()
466 cast<StackFrameContext>(Pred->getLocationContext()); in ProcessInitializer()
1356 const StackFrameContext *CalleeSF = CalleeLC->getCurrentStackFrame(); in replayWithoutInlining()
1357 const StackFrameContext *CallerSF = CalleeSF->getParent()->getCurrentStackFrame(); in replayWithoutInlining()
1750 const StackFrameContext* Frame = Pred.getStackFrame();
DCoreEngine.cpp595 const StackFrameContext *LocCtx in generateCallExitBeginNode()
596 = 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.h35 class StackFrameContext; variable
359 const StackFrameContext *SFC;
362 StackSpaceRegion(MemRegionManager *mgr, Kind k, const StackFrameContext *sfc) in StackSpaceRegion()
368 const StackFrameContext *getStackFrame() const { return SFC; } in getStackFrame()
381 StackLocalsSpaceRegion(MemRegionManager *mgr, const StackFrameContext *sfc) in StackLocalsSpaceRegion()
396 StackArgumentsSpaceRegion(MemRegionManager *mgr, const StackFrameContext *sfc) in StackArgumentsSpaceRegion()
875 const StackFrameContext *getStackFrame() const;
1127 llvm::DenseMap<const StackFrameContext *, StackLocalsSpaceRegion *>
1129 llvm::DenseMap<const StackFrameContext *, StackArgumentsSpaceRegion *>
1153 getStackLocalsRegion(const StackFrameContext *STC);
[all …]
DStore.h29 class StackFrameContext; variable
144 virtual StoreRef removeDeadBindings(Store store, const StackFrameContext *LCtx,
198 const StackFrameContext *CalleeCtx);
DCallEvent.h356 virtual void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
454 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
596 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
636 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
817 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
973 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
1048 getCaller(const StackFrameContext *CalleeCtx, ProgramStateRef State);
DEnvironment.h36 const StackFrameContext *> {
DSValBuilder.h323 const StackFrameContext *SFC);
327 const StackFrameContext *SFC);
DSymbolManager.h33 class StackFrameContext; variable
491 const StackFrameContext *LCtx;
505 SymbolReaper(const StackFrameContext *Ctx, const Stmt *s, SymbolManager& symmgr, in SymbolReaper()
DCheckerContext.h142 const StackFrameContext *getStackFrame() const { in getStackFrame()
/external/clang/lib/Analysis/
DAnalysisDeclContext.cpp316 const StackFrameContext *
366 void StackFrameContext::Profile(llvm::FoldingSetNodeID &ID) { in Profile()
400 const StackFrameContext*
406 StackFrameContext::Profile(ID, ctx, parent, s, blk, idx); in getStackFrame()
408 StackFrameContext *L = in getStackFrame()
409 cast_or_null<StackFrameContext>(Contexts.FindNodeOrInsertPos(ID, InsertPos)); in getStackFrame()
411 L = new StackFrameContext(ctx, parent, s, blk, idx); in getStackFrame()
446 const StackFrameContext *LocationContext::getCurrentStackFrame() const { in getCurrentStackFrame()
449 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC)) in getCurrentStackFrame()
482 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