Home
last modified time | relevance | path

Searched refs:ParentMap (Results 1 – 25 of 37) 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.txt42 ParentMap.cpp
DAndroid.mk64 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()
440 ParentMap &pmap = mgr.getParentMap(D); in checkASTCodeBody()
DTraversalChecker.cpp41 const ParentMap &Parents = C.getLocationContext()->getParentMap(); in checkBranchCondition()
/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.cpp243 const ParentMap *PMap) { in rewriteToPropertyDotSyntax()
323 ParentMap &PMap;
326 ObjCMigrator(ObjCMigrateASTConsumer &consumer, ParentMap &PMap) in ObjCMigrator()
368 std::unique_ptr<ParentMap> PMap;
377 PMap.reset(new ParentMap(S)); in TraverseStmt()
/external/clang/lib/Analysis/
DCFGStmtMap.cpp78 CFGStmtMap *CFGStmtMap::Build(CFG *C, ParentMap *PM) { in Build()
DAnalysisDeclContext.cpp176 static void addParentsForSyntheticStmts(const CFG *TheCFG, ParentMap &PM) { in addParentsForSyntheticStmts()
253 ParentMap &AnalysisDeclContext::getParentMap() { in getParentMap()
255 PM.reset(new ParentMap(getBody())); in getParentMap()
DReachableCode.cpp78 ParentMap PM(const_cast<Expr *>(RE)); in isDeadReturn()
/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.cpp238 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap);
686 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) { in ExitScopeIfDone() argument
694 while (MachineDomTreeNode *Parent = ParentMap[Node]) { in ExitScopeIfDone()
716 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> ParentMap; in HoistOutOfLoop() local
752 ParentMap[Child] = Node; in HoistOutOfLoop()
784 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()
1329 static bool isContainedByStmt(ParentMap &PM, const Stmt *S, const Stmt *SubS) { in isContainedByStmt()
1338 static const Stmt *getStmtBeforeCond(ParentMap &PM, const Stmt *Term, in getStmtBeforeCond()
1352 static bool isInLoopBody(ParentMap &PM, const Stmt *S, const Stmt *Term) { in isInLoopBody()
1518 ParentMap &PM = PDB.getParentMap(); in GenerateExtensivePathDiagnostic()
1810 ParentMap &PM = PDB.getParentMap(); in GenerateAlternateExtensivePathDiagnostic()
1885 static const Stmt *getStmtParent(const Stmt *S, const ParentMap &PM) { in getStmtParent()
1965 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