Home
last modified time | relevance | path

Searched refs:ProgramPoint (Results 1 – 25 of 38) sorted by relevance

12

/external/clang/include/clang/Analysis/
DProgramPoint.h61 class ProgramPoint {
99 ProgramPoint() {} in ProgramPoint() function
100 ProgramPoint(const void *P,
113 ProgramPoint(const void *P1,
131 ProgramPoint withTag(const ProgramPointTag *tag) const { in withTag()
132 return ProgramPoint(getData1(), getData2(), getKind(), in withTag()
142 ProgramPoint& PP = t; in castAs()
154 ProgramPoint& PP = t; in getAs()
189 bool operator==(const ProgramPoint & RHS) const {
196 bool operator!=(const ProgramPoint &RHS) const {
[all …]
/external/clang/lib/Analysis/
DProgramPoint.cpp21 ProgramPoint ProgramPoint::getProgramPoint(const Stmt *S, ProgramPoint::Kind K, in getProgramPoint()
27 case ProgramPoint::PreStmtKind: in getProgramPoint()
29 case ProgramPoint::PostStmtKind: in getProgramPoint()
31 case ProgramPoint::PreLoadKind: in getProgramPoint()
33 case ProgramPoint::PostLoadKind: in getProgramPoint()
35 case ProgramPoint::PreStoreKind: in getProgramPoint()
37 case ProgramPoint::PostLValueKind: in getProgramPoint()
39 case ProgramPoint::PostStmtPurgeDeadSymbolsKind: in getProgramPoint()
41 case ProgramPoint::PreStmtPurgeDeadSymbolsKind: in getProgramPoint()
DCMakeLists.txt21 ProgramPoint.cpp
/external/clang/lib/StaticAnalyzer/Core/
DCheckerManager.cpp155 ProgramPoint::Kind K = IsPreVisit ? ProgramPoint::PreStmtKind : in runChecker()
156 ProgramPoint::PostStmtKind; in runChecker()
157 const ProgramPoint &L = ProgramPoint::getProgramPoint(S, K, in runChecker()
212 const ProgramPoint &L = Msg.getProgramPoint(IsPreVisit,checkFn.Checker); in runChecker()
266 const ProgramPoint &L = Call.getProgramPoint(IsPreVisit,checkFn.Checker); in runChecker()
310 ProgramPoint::Kind K = IsLoad ? ProgramPoint::PreLoadKind : in runChecker()
311 ProgramPoint::PreStoreKind; in runChecker()
312 const ProgramPoint &L = in runChecker()
313 ProgramPoint::getProgramPoint(NodeEx, K, in runChecker()
343 const ProgramPoint &PP;
[all …]
DCoreEngine.cpp242 void CoreEngine::dispatchWorkItem(ExplodedNode* Pred, ProgramPoint Loc, in dispatchWorkItem()
246 case ProgramPoint::BlockEdgeKind: in dispatchWorkItem()
250 case ProgramPoint::BlockEntranceKind: in dispatchWorkItem()
254 case ProgramPoint::BlockExitKind: in dispatchWorkItem()
258 case ProgramPoint::CallEnterKind: { in dispatchWorkItem()
263 case ProgramPoint::CallExitBeginKind: in dispatchWorkItem()
267 case ProgramPoint::EpsilonKind: { in dispatchWorkItem()
526 void CoreEngine::generateNode(const ProgramPoint &Loc, in generateNode()
642 ExplodedNode* NodeBuilder::generateNodeImpl(const ProgramPoint &Loc, in generateNodeImpl()
679 ProgramPoint Loc = BlockEdge(C.Block, branch ? DstT:DstF, in generateNode()
DExprEngine.cpp347 ProgramPoint::Kind K) { in removeDead()
348 assert((K == ProgramPoint::PreStmtPurgeDeadSymbolsKind || in removeDead()
365 assert(K == ProgramPoint::PostStmtPurgeDeadSymbolsKind && in removeDead()
1095 ProgramPoint::PreStmtKind); in Visit()
1364 ProgramPoint L = N->getLocation(); in replayWithoutInlining()
1392 ProgramPoint NewNodeLoc = in replayWithoutInlining()
1939 ProgramPoint::PostLValueKind); in VisitCommonDeclRefExpr()
1951 ProgramPoint::PostLValueKind); in VisitCommonDeclRefExpr()
1962 ProgramPoint::PostLValueKind); in VisitCommonDeclRefExpr()
1993 ProgramPoint::PostLValueKind); in VisitLvalArraySubscriptExpr()
[all …]
DExplodedGraph.cpp112 ProgramPoint progPoint = node->getLocation(); in shouldCollect()
152 const ProgramPoint SuccLoc = succ->getLocation(); in shouldCollect()
301 ExplodedNode *ExplodedGraph::getNode(const ProgramPoint &L, in getNode()
339 ExplodedNode *ExplodedGraph::createUncachedNode(const ProgramPoint &L, in createUncachedNode()
DBugReporterVisitors.cpp696 ProgramPoint P = StoreSite->getLocation(); in VisitNode()
771 ProgramPoint P = N->getLocation(); in VisitNode()
853 ProgramPoint CurPoint = Succ->getLocation(); in VisitNode()
930 ProgramPoint ProgPoint = NI->getLocation(); in peelOffOuterExpr()
977 const ProgramPoint &pp = N->getLocation(); in trackNullOrUndefValue()
1224 ProgramPoint progPoint = N->getLocation(); in VisitNodeImpl()
1650 ProgramPoint ProgLoc = N->getLocation(); in VisitNode()
DExprEngineCallAndReturn.cpp83 const ProgramPoint &PP = Node->getLocation(); in getLastStmt()
183 ProgramPoint::PostStmtPurgeDeadSymbolsKind); in removeDeadOnEndOfFunction()
304 ProgramPoint::PostStmtPurgeDeadSymbolsKind); in processCallExit()
DPathDiagnostic.cpp659 PathDiagnosticLocation::create(const ProgramPoint& P, in create()
690 ProgramPoint P = N->getLocation(); in getStmt()
746 ProgramPoint P = N->getLocation(); in createEndOfPath()
1119 ProgramPoint P = N->getLocation(); in getMessage()
DExprEngineObjC.cpp187 ProgramPoint::PreStmtKind); in VisitObjCMessage()
DExprEngineCXX.cpp322 ProgramPoint::PreStmtKind); in VisitCXXConstructExpr()
619 nullptr, ProgramPoint::PostLValueKind); in VisitLambdaExpr()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCoreEngine.h87 void generateNode(const ProgramPoint &Loc,
135 void dispatchWorkItem(ExplodedNode* Pred, ProgramPoint Loc,
241 ExplodedNode *generateNodeImpl(const ProgramPoint &PP,
263 ExplodedNode *generateNode(const ProgramPoint &PP, in generateNode()
274 ExplodedNode *generateSink(const ProgramPoint &PP, in generateSink()
316 ProgramPoint &Location;
320 const NodeBuilderContext &Ctx, ProgramPoint &L) in NodeBuilderWithSinks()
326 const ProgramPoint &LocalLoc = (Tag ? Location.withTag(Tag) : Location);
332 const ProgramPoint &LocalLoc = (Tag ? Location.withTag(Tag) : Location);
382 ProgramPoint::Kind K = ProgramPoint::PostStmtKind){
[all …]
DExplodedGraph.h113 const ProgramPoint Location;
125 explicit ExplodedNode(const ProgramPoint &loc, ProgramStateRef state, in ExplodedNode()
132 ProgramPoint getLocation() const { return Location; } in getLocation()
161 const ProgramPoint &Loc, in Profile()
294 ExplodedNode *getNode(const ProgramPoint &L, ProgramStateRef State,
302 ExplodedNode *createUncachedNode(const ProgramPoint &L,
DCheckerContext.h79 const ProgramPoint Location;
90 const ProgramPoint &loc,
188 ProgramPoint L = N->getLocation(); in getLocationRegionIfPostStore()
336 const ProgramPoint &LocalLoc = (Tag ? Location.withTag(Tag) : Location);
DWorkList.h74 assert(N->getLocation().getKind() != ProgramPoint::PostStmtKind); in enqueue()
DExprEngine.h190 ProgramPoint::Kind K = ProgramPoint::PreStmtPurgeDeadSymbolsKind);
508 const ProgramPoint *PP = nullptr);
/external/clang/lib/StaticAnalyzer/Checkers/
DUndefBranchChecker.cpp89 ProgramPoint P = PrevN->getLocation(); in checkBranchCondition()
DAnalyzerStatsChecker.cpp57 const ProgramPoint &P = I->getLocation(); in checkEndAnalysis()
DUnreachableCodeChecker.cpp64 const ProgramPoint &P = I->getLocation(); in checkEndAnalysis()
DDynamicTypeChecker.cpp111 ProgramPoint ProgLoc = N->getLocation(); in VisitNode()
DObjCSuperDeallocChecker.cpp271 ProgramPoint P = Succ->getLocation(); in VisitNode()
/external/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
DMPIBugReporter.cpp103 ProgramPoint P = PrevN->getLocation(); in VisitNode()
/external/clang/include/clang/Analysis/FlowSensitive/
DDataflowValues.h51 typedef llvm::DenseMap<ProgramPoint, ValTy> EdgeDataMapTy;
/external/clang/include/clang/StaticAnalyzer/Core/
DCheckerManager.h283 const ProgramPoint &PP);
323 ProgramPoint::Kind K);

12