Home
last modified time | relevance | path

Searched refs:ParentMap (Results 1 – 25 of 35) sorted by relevance

12

/external/clang/lib/AST/
DParentMap.cpp95 ParentMap::ParentMap(Stmt *S) : Impl(nullptr) { in ParentMap() function in ParentMap
103 ParentMap::~ParentMap() { in ~ParentMap()
107 void ParentMap::addStmt(Stmt* S) { in addStmt()
113 void ParentMap::setParent(const Stmt *S, const Stmt *Parent) { in setParent()
120 Stmt* ParentMap::getParent(Stmt* S) const { in getParent()
126 Stmt *ParentMap::getParentIgnoreParens(Stmt *S) const { in getParentIgnoreParens()
131 Stmt *ParentMap::getParentIgnoreParenCasts(Stmt *S) const { in getParentIgnoreParenCasts()
140 Stmt *ParentMap::getParentIgnoreParenImpCasts(Stmt *S) const { in getParentIgnoreParenImpCasts()
148 Stmt *ParentMap::getOuterParenParent(Stmt *S) const { in getOuterParenParent()
157 bool ParentMap::isConsumedExpr(Expr* E) const { in isConsumedExpr()
DCMakeLists.txt44 ParentMap.cpp
DAndroid.mk66 ParentMap.cpp \
/external/clang/include/clang/Analysis/
DCFGStmtMap.h24 class ParentMap; variable
28 ParentMap *PM;
31 CFGStmtMap(ParentMap *pm, void *m) : PM(pm), M(m) {} in CFGStmtMap()
38 static CFGStmtMap *Build(CFG* C, ParentMap *PM);
DAnalysisContext.h33 class ParentMap; variable
80 std::unique_ptr<ParentMap> PM;
171 ParentMap &getParentMap();
248 ParentMap &getParentMap() const { in getParentMap()
/external/clang/include/clang/AST/
DParentMap.h21 class ParentMap {
24 ParentMap(Stmt* ASTRoot);
25 ~ParentMap();
/external/clang/include/clang/Edit/
DRewriters.h22 class ParentMap; variable
32 const ParentMap *PMap);
/external/clang/lib/StaticAnalyzer/Checkers/
DUnreachableCodeChecker.cpp48 static bool isInvalidPath(const CFGBlock *CB, const ParentMap &PM);
63 ParentMap *PM = nullptr; in checkEndAnalysis()
213 const ParentMap &PM) { in isInvalidPath()
DDeadStoresChecker.cpp129 ParentMap& Parents;
140 ParentMap &parents, in DeadStoreObs()
467 ParentMap &pmap = mgr.getParentMap(D); in checkASTCodeBody()
DTraversalChecker.cpp41 const ParentMap &Parents = C.getLocationContext()->getParentMap(); in checkBranchCondition()
DVforkChecker.cpp162 const ParentMap &PM = C.getLocationContext()->getParentMap(); in checkPostCall()
/external/clang/lib/ARCMigrate/
DTransforms.h48 ParentMap PMap;
56 ParentMap &getParentMap() { return PMap; } in getParentMap()
DTransProtectedScope.cpp56 ParentMap &PMap;
60 CaseCollector(ParentMap &PMap, SmallVectorImpl<CaseInfo> &Cases) in CaseCollector()
DTransRetainReleaseDealloc.cpp41 std::unique_ptr<ParentMap> StmtMap;
57 StmtMap.reset(new ParentMap(body)); in transformBody()
DTransUnbridgedCasts.cpp63 std::unique_ptr<ParentMap> StmtMap;
77 StmtMap.reset(new ParentMap(body)); in transformBody()
DObjCMT.cpp233 const ParentMap *PMap) { in rewriteToPropertyDotSyntax()
313 ParentMap &PMap;
316 ObjCMigrator(ObjCMigrateASTConsumer &consumer, ParentMap &PMap) in ObjCMigrator()
358 std::unique_ptr<ParentMap> PMap;
367 PMap.reset(new ParentMap(S)); in TraverseStmt()
/external/clang/lib/Analysis/
DCFGStmtMap.cpp78 CFGStmtMap *CFGStmtMap::Build(CFG *C, ParentMap *PM) { in Build()
DAnalysisDeclContext.cpp193 static void addParentsForSyntheticStmts(const CFG *TheCFG, ParentMap &PM) { in addParentsForSyntheticStmts()
270 ParentMap &AnalysisDeclContext::getParentMap() { in getParentMap()
272 PM.reset(new ParentMap(getBody())); in getParentMap()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DAnalysisManager.h122 ParentMap &getParentMap(Decl const *D) { in getParentMap()
DExplodedGraph.h146 ParentMap &getParentMap() const {return getLocationContext()->getParentMap();} in getParentMap()
/external/llvm/lib/CodeGen/
DMachineLICM.cpp202 DenseMap<MachineDomTreeNode *, MachineDomTreeNode *> &ParentMap);
609 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) { in ExitScopeIfDone() argument
617 while (MachineDomTreeNode *Parent = ParentMap[Node]) { in ExitScopeIfDone()
638 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> ParentMap; in HoistOutOfLoop() local
674 ParentMap[Child] = Node; in HoistOutOfLoop()
706 ExitScopeIfDone(Node, OpenChildren, ParentMap); in HoistOutOfLoop()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp343 ParentMap& getParentMap() { return LC->getParentMap(); } in getParentMap()
403 static const Stmt *getEnclosingParent(const Stmt *S, const ParentMap &PM) { in getEnclosingParent()
426 getEnclosingStmtLocation(const Stmt *S, SourceManager &SMgr, const ParentMap &P, in getEnclosingStmtLocation()
1327 static bool isContainedByStmt(ParentMap &PM, const Stmt *S, const Stmt *SubS) { in isContainedByStmt()
1336 static const Stmt *getStmtBeforeCond(ParentMap &PM, const Stmt *Term, in getStmtBeforeCond()
1350 static bool isInLoopBody(ParentMap &PM, const Stmt *S, const Stmt *Term) { in isInLoopBody()
1516 ParentMap &PM = PDB.getParentMap(); in GenerateExtensivePathDiagnostic()
1808 ParentMap &PM = PDB.getParentMap(); in GenerateAlternateExtensivePathDiagnostic()
1883 static const Stmt *getStmtParent(const Stmt *S, const ParentMap &PM) { in getStmtParent()
1963 const ParentMap &PM, const LocationContext *LCtx) { in addContextEdges()
[all …]
DExplodedGraph.cpp147 ParentMap &PM = progPoint.getLocationContext()->getParentMap(); in shouldCollect()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp329 const ParentMap *PMap);
341 const ParentMap *PMap) { in rewriteToObjCLiteralSyntax()
380 const ParentMap *PMap) { in rewriteToArrayLiteral()
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugReporter.h36 class ParentMap; variable

12