Home
last modified time | relevance | path

Searched refs:StackFrameContext (Results 1 – 25 of 34) 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()
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()
865 const StackFrameContext *STC = LC->getCurrentStackFrame(); in getBlockDataRegion()
894 const StackFrameContext *STC = LC->getCurrentStackFrame(); in getCompoundLiteralRegion()
[all …]
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()
DCallEvent.cpp285 static void addParameterValuesToBindings(const StackFrameContext *CalleeCtx, in addParameterValuesToBindings()
319 const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
483 const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
558 void BlockCall::getInitialStackFrameContents(const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
579 const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
884 const StackFrameContext *CalleeCtx, in getInitialStackFrameContents()
923 CallEventManager::getCaller(const StackFrameContext *CalleeCtx, in getCaller()
DEnvironment.cpp56 const StackFrameContext *>(ignoreTransparentExprs(S), in EnvironmentEntry()
DSValBuilder.cpp216 const StackFrameContext *SFC) { in getCXXThis()
223 const StackFrameContext *SFC) { in getCXXThis()
DSymbolManager.cpp509 const StackFrameContext *VarContext = VR->getStackFrame(); in isLive()
516 const StackFrameContext *CurrentContext = LCtx->getCurrentStackFrame(); in isLive()
DExprEngine.cpp54 typedef std::pair<const CXXBindTemporaryExpr *, const StackFrameContext *>
166 const StackFrameContext *SFC = InitLoc->getCurrentStackFrame(); in getInitialState()
368 const StackFrameContext *SFC = LC ? LC->getCurrentStackFrame() : nullptr; in removeDead()
463 const StackFrameContext *stackFrame = in ProcessInitializer()
464 cast<StackFrameContext>(Pred->getLocationContext()); in ProcessInitializer()
1310 const StackFrameContext *CalleeSF = CalleeLC->getCurrentStackFrame(); in replayWithoutInlining()
1311 const StackFrameContext *CallerSF = CalleeSF->getParent()->getCurrentStackFrame(); in replayWithoutInlining()
1688 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.h316 virtual void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
414 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
508 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
547 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
727 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
877 void getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
952 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.cpp289 const StackFrameContext *
324 void StackFrameContext::Profile(llvm::FoldingSetNodeID &ID) { in Profile()
358 const StackFrameContext*
364 StackFrameContext::Profile(ID, ctx, parent, s, blk, idx); in getStackFrame()
366 StackFrameContext *L = in getStackFrame()
367 cast_or_null<StackFrameContext>(Contexts.FindNodeOrInsertPos(ID, InsertPos)); in getStackFrame()
369 L = new StackFrameContext(ctx, parent, s, blk, idx); in getStackFrame()
404 const StackFrameContext *LocationContext::getCurrentStackFrame() const { in getCurrentStackFrame()
407 if (const StackFrameContext *SFC = dyn_cast<StackFrameContext>(LC)) in getCurrentStackFrame()
440 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()
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.cpp189 const StackFrameContext * in parameterTypeFromSVal()

12