Home
last modified time | relevance | path

Searched refs:LocationContext (Results 1 – 25 of 141) sorted by relevance

123456

/external/clang/include/clang/Analysis/
DAnalysisContext.h39 class LocationContext; variable
183 const StackFrameContext *getStackFrame(LocationContext const *Parent,
189 getBlockInvocationContext(const LocationContext *parent,
214 class LocationContext : public llvm::FoldingSetNode {
225 const LocationContext *Parent;
228 LocationContext(ContextKind k, AnalysisDeclContext *ctx, in LocationContext() function
229 const LocationContext *parent) in LocationContext()
233 virtual ~LocationContext();
239 const LocationContext *getParent() const { return Parent; } in getParent()
241 bool isParentOf(const LocationContext *LC) const;
[all …]
DProgramPoint.h35 class LocationContext; variable
94 llvm::PointerIntPair<const LocationContext *, 2, unsigned> L;
102 const LocationContext *l,
116 const LocationContext *l,
178 const LocationContext *getLocationContext() const { in getLocationContext()
212 const LocationContext *LC,
218 BlockEntrance(const CFGBlock *B, const LocationContext *L,
243 BlockExit(const CFGBlock *B, const LocationContext *L) in BlockExit()
264 StmtPoint(const Stmt *S, const void *p2, Kind k, const LocationContext *L, in StmtPoint()
288 PreStmt(const Stmt *S, const LocationContext *L, const ProgramPointTag *tag,
[all …]
/external/llvm-project/clang/include/clang/Analysis/
DAnalysisDeclContext.h42 class LocationContext; variable
181 const StackFrameContext *getStackFrame(LocationContext const *ParentLC,
187 getBlockInvocationContext(const LocationContext *ParentLC,
213 class LocationContext : public llvm::FoldingSetNode {
224 const LocationContext *Parent;
228 LocationContext(ContextKind k, AnalysisDeclContext *ctx, in LocationContext() function
229 const LocationContext *parent, int64_t ID) in LocationContext()
233 virtual ~LocationContext();
241 const LocationContext *getParent() const { return Parent; } in getParent()
243 bool isParentOf(const LocationContext *LC) const;
[all …]
DProgramPoint.h34 class LocationContext; variable
95 llvm::PointerIntPair<const LocationContext *, 2, unsigned> L;
103 const LocationContext *l,
117 const LocationContext *l,
179 const LocationContext *getLocationContext() const { in getLocationContext()
221 const LocationContext *LC,
227 BlockEntrance(const CFGBlock *B, const LocationContext *L,
252 BlockExit(const CFGBlock *B, const LocationContext *L) in BlockExit()
273 StmtPoint(const Stmt *S, const void *p2, Kind k, const LocationContext *L, in StmtPoint()
297 PreStmt(const Stmt *S, const LocationContext *L, const ProgramPointTag *tag,
[all …]
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExprEngine.h59 class LocationContext; variable
191 bool ExecuteWorkList(const LocationContext *L, unsigned Steps = 150000) {
199 bool ExecuteWorkListWithInitialState(const LocationContext *L, unsigned Steps, in ExecuteWorkListWithInitialState()
259 ProgramStateRef getInitialState(const LocationContext *InitLoc);
290 const Stmt *ReferenceStmt, const LocationContext *LC,
400 const LocationContext *LCtx,
406 const LocationContext *LCtx) { in processRegionChange()
412 const LocationContext *LCtx, const char *NL,
602 const LocationContext *LCtx, QualType T,
608 const LocationContext *LCtx,
[all …]
DCallEvent.h52 class LocationContext; variable
149 const LocationContext *LCtx;
172 CallEvent(const Expr *E, ProgramStateRef state, const LocationContext *lctx) in CallEvent()
175 CallEvent(const Decl *D, ProgramStateRef state, const LocationContext *lctx) in CallEvent()
218 const LocationContext *getLocationContext() const { in getLocationContext()
487 const LocationContext *LCtx) in AnyFunctionCall()
490 const LocationContext *LCtx) in AnyFunctionCall()
524 const LocationContext *LCtx) in SimpleFunctionCall()
561 const LocationContext *LCtx) in BlockCall()
664 const LocationContext *LCtx) in CXXInstanceCall()
[all …]
DProgramState.h229 const VarRegion* getRegion(const VarDecl *D, const LocationContext *LC) const;
238 const LocationContext *LCtx, SVal V,
242 const LocationContext *LCtx,
246 const LocationContext *LCtx) const;
255 bindDefaultInitial(SVal loc, SVal V, const LocationContext *LCtx) const;
260 bindDefaultZero(SVal loc, const LocationContext *LCtx) const;
284 unsigned BlockCount, const LocationContext *LCtx,
291 unsigned BlockCount, const LocationContext *LCtx,
302 SVal getSelfSVal(const LocationContext *LC) const;
313 const LocationContext *LC) const;
[all …]
DSValBuilder.h42 class LocationContext; variable
180 const LocationContext *LCtx,
188 const LocationContext *LCtx,
208 const LocationContext *LCtx,
212 const LocationContext *LCtx,
216 const LocationContext *LCtx,
224 const LocationContext *LCtx,
233 const LocationContext *LCtx,
241 const LocationContext *locContext,
DSymbolManager.h81 const LocationContext *LCtx;
85 SymbolConjured(SymbolID sym, const Stmt *s, const LocationContext *lctx, in SymbolConjured()
109 QualType T, unsigned Count, const LocationContext *LCtx, in Profile()
213 const LocationContext *LCtx;
219 const LocationContext *LCtx, unsigned count, const void *tag) in SymbolMetadata()
231 const LocationContext *getLocationContext() const { return LCtx; } in getLocationContext()
242 const Stmt *S, QualType T, const LocationContext *LCtx, in Profile()
444 const LocationContext *LCtx,
450 const LocationContext *LCtx,
467 const LocationContext *LCtx,
[all …]
DEnvironment.h38 EnvironmentEntry(const Stmt *s, const LocationContext *L);
41 const LocationContext *getLocationContext() const { return second; } in getLocationContext()
95 const LocationContext *LCtx = nullptr, const char *NL = "\n",
DStore.h40 class LocationContext; variable
126 virtual StoreRef getInitialStore(const LocationContext *InitLoc) = 0;
134 virtual Loc getLValueVar(const VarDecl *VD, const LocationContext *LC) { in getLValueVar()
139 const LocationContext *LC) { in getLValueCompoundLiteral()
229 const LocationContext *LCtx,
/external/llvm-project/clang/lib/Analysis/
DAnalysisDeclContext.cpp312 AnalysisDeclContext::getStackFrame(const LocationContext *ParentLC, in getStackFrame()
320 const LocationContext *ParentLC, const BlockDecl *BD, const void *Data) { in getBlockInvocationContext()
351 void LocationContext::ProfileCommon(llvm::FoldingSetNodeID &ID, in ProfileCommon()
354 const LocationContext *parent, in ProfileCommon()
376 AnalysisDeclContext *ctx, const LocationContext *parent, const Stmt *s, in getStackFrame()
391 AnalysisDeclContext *ADC, const LocationContext *ParentLC, in getBlockInvocationContext()
410 const StackFrameContext *LocationContext::getStackFrame() const { in getStackFrame()
411 const LocationContext *LC = this; in getStackFrame()
420 bool LocationContext::inTopFrame() const { in inTopFrame()
424 bool LocationContext::isParentOf(const LocationContext *LC) const { in isParentOf()
[all …]
/external/clang/lib/Analysis/
DAnalysisDeclContext.cpp317 AnalysisDeclContext::getStackFrame(LocationContext const *Parent, const Stmt *S, in getStackFrame()
323 AnalysisDeclContext::getBlockInvocationContext(const LocationContext *parent, in getBlockInvocationContext()
355 void LocationContext::ProfileCommon(llvm::FoldingSetNodeID &ID, in ProfileCommon()
358 const LocationContext *parent, in ProfileCommon()
385 const LocationContext *parent, in getLocationContext()
402 const LocationContext *parent, in getStackFrame()
419 const LocationContext *parent, in getScope()
426 const LocationContext *parent, in getBlockInvocationContext()
446 const StackFrameContext *LocationContext::getCurrentStackFrame() const { in getCurrentStackFrame()
447 const LocationContext *LC = this; in getCurrentStackFrame()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCallEvent.h144 const LocationContext *LCtx;
168 CallEvent(const Expr *E, ProgramStateRef state, const LocationContext *lctx) in CallEvent()
171 CallEvent(const Decl *D, ProgramStateRef state, const LocationContext *lctx) in CallEvent()
213 const LocationContext *getLocationContext() const { in getLocationContext()
423 const LocationContext *LCtx) in AnyFunctionCall()
426 const LocationContext *LCtx) in AnyFunctionCall()
473 const LocationContext *LCtx) in SimpleFunctionCall()
509 const LocationContext *LCtx) in BlockCall()
616 const LocationContext *LCtx) in CXXInstanceCall()
619 const LocationContext *LCtx) in CXXInstanceCall()
[all …]
DProgramState.h221 const VarRegion* getRegion(const VarDecl *D, const LocationContext *LC) const;
229 ProgramStateRef BindExpr(const Stmt *S, const LocationContext *LCtx,
262 unsigned BlockCount, const LocationContext *LCtx,
269 unsigned BlockCount, const LocationContext *LCtx,
280 Loc getLValue(const VarDecl *D, const LocationContext *LC) const;
283 const LocationContext *LC) const;
298 SVal getSVal(const Stmt *S, const LocationContext *LCtx) const;
300 SVal getSValAsScalarOrLoc(const Stmt *Ex, const LocationContext *LCtx) const;
344 ProgramStateRef addTaint(const Stmt *S, const LocationContext *LCtx,
356 bool isTainted(const Stmt *S, const LocationContext *LCtx,
[all …]
DSValBuilder.h151 const LocationContext *LCtx,
159 const LocationContext *LCtx,
179 const LocationContext *LCtx,
183 const LocationContext *LCtx,
188 const LocationContext *LCtx,
195 const LocationContext *LCtx,
208 const LocationContext *locContext,
DExprEngine.h108 bool ExecuteWorkList(const LocationContext *L, unsigned Steps = 150000) {
116 bool ExecuteWorkListWithInitialState(const LocationContext *L, unsigned Steps, in ExecuteWorkListWithInitialState()
157 ProgramStateRef getInitialState(const LocationContext *InitLoc) override;
188 const Stmt *ReferenceStmt, const LocationContext *LC,
549 const LocationContext *LCtx,
580 void examineStackFrames(const Decl *D, const LocationContext *LCtx,
601 bool replayWithoutInlining(ExplodedNode *P, const LocationContext *CalleeLC);
615 const LocationContext *LC,
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DEnvironment.cpp71 EnvironmentEntry::EnvironmentEntry(const Stmt *S, const LocationContext *L) in EnvironmentEntry()
95 const LocationContext *LCtx = Entry.getLocationContext(); in getSVal()
216 const LocationContext *LCtx, const char *NL, in printJson()
228 llvm::SmallPtrSet<const LocationContext *, 16> FoundContexts; in printJson()
230 const LocationContext *LC = I.first.getLocationContext(); in printJson()
234 for (const LocationContext *LCI = LC; LCI; LCI = LCI->getParent()) in printJson()
246 LCtx->printJson(Out, NL, Space, IsDot, [&](const LocationContext *LC) { in printJson()
DExprEngine.cpp121 typedef std::pair<ConstructionContextItem, const LocationContext *>
135 const LocationContext *LC) in ConstructedObjectKey()
139 const LocationContext *getLocationContext() const { return Impl.second; } in getLocationContext()
232 ProgramStateRef ExprEngine::getInitialState(const LocationContext *InitLoc) { in getInitialState()
310 ProgramStateRef State, const LocationContext *LC, in createTemporaryRegionIfNeeded()
463 const LocationContext *LC, SVal V) { in addObjectUnderConstruction()
476 const LocationContext *LC) { in getObjectUnderConstruction()
484 const LocationContext *LC) { in finishObjectConstruction()
492 const LocationContext *LC) { in elideDestructor()
502 const LocationContext *LC) { in cleanupElidedDestructor()
[all …]
DProgramState.cpp119 const LocationContext *LCtx, in bindLoc()
133 const LocationContext *LCtx) const { in bindDefaultInitial()
142 ProgramState::bindDefaultZero(SVal loc, const LocationContext *LCtx) const { in bindDefaultZero()
156 const LocationContext *LCtx, in invalidateRegions()
173 const LocationContext *LCtx, in invalidateRegions()
186 const LocationContext *LCtx, in invalidateRegionsImpl()
243 SVal ProgramState::getSelfSVal(const LocationContext *LCtx) const { in getSelfSVal()
308 const LocationContext *LCtx, in BindExpr()
391 ProgramStateRef ProgramStateManager::getInitialState(const LocationContext *InitLoc) { in getInitialState()
449 void ProgramState::printJson(raw_ostream &Out, const LocationContext *LCtx, in printJson()
[all …]
DPrettyStackTraceLocationContext.h29 const LocationContext *LCtx;
31 PrettyStackTraceLocationContext(const LocationContext *LC) : LCtx(LC) { in PrettyStackTraceLocationContext()
DExprEngineC.cpp30 unsigned Count, const LocationContext *LCtx) { in conjureOffsetSymbolOnLocation()
57 const LocationContext *LCtx = (*it)->getLocationContext(); in VisitBinaryOperator()
140 const LocationContext *LCtx = (*I)->getLocationContext(); in VisitBinaryOperator()
238 const LocationContext *LCtx = Pred->getLocationContext(); in VisitBlockExpr()
260 ProgramStateRef state, const Expr* Ex, const LocationContext* LCtx, in handleLValueBitCast()
286 ProgramStateRef state, const LocationContext* LCtx, const CastExpr* CastE, in handleLVectorSplat()
312 const LocationContext *LCtx = subExprNode->getLocationContext(); in VisitCast()
331 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCast()
358 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCast()
557 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCompoundLiteralExpr()
[all …]
/external/libtextclassifier/native/annotator/knowledge/
Dknowledge-engine-dummy.h42 const Optional<LocationContext>& location_context, in ClassifyText()
49 const Optional<LocationContext>& location_context, in Chunk()
59 const Optional<LocationContext>& location_context, in ChunkMultipleSpans()
/external/clang/lib/StaticAnalyzer/Core/
DPrettyStackTraceLocationContext.h30 const LocationContext *LCtx;
32 PrettyStackTraceLocationContext(const LocationContext *LC) : LCtx(LC) { in PrettyStackTraceLocationContext()
DExprEngineCXX.cpp31 const LocationContext *LCtx = Pred->getLocationContext(); in CreateCXXTemporaryObject()
56 const LocationContext *LCtx = Pred->getLocationContext(); in performTrivialCopy()
109 const LocationContext *LCtx = Pred->getLocationContext(); in getRegionForConstructedObject()
236 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCXXConstructExpr()
361 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCXXDestructor()
404 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCXXNewAllocatorCall()
434 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCXXNewExpr()
547 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCXXCatchStmt()
562 const LocationContext *LCtx = Pred->getLocationContext(); in VisitCXXThisExpr()
575 const LocationContext *LocCtxt = Pred->getLocationContext(); in VisitLambdaExpr()

123456