/external/clang/lib/AST/ |
D | ParentMap.cpp | 97 ParentMap::ParentMap(Stmt *S) : Impl(nullptr) { in ParentMap() function in ParentMap 105 ParentMap::~ParentMap() { in ~ParentMap() 109 void ParentMap::addStmt(Stmt* S) { in addStmt() 115 void ParentMap::setParent(const Stmt *S, const Stmt *Parent) { in setParent() 122 Stmt* ParentMap::getParent(Stmt* S) const { in getParent() 128 Stmt *ParentMap::getParentIgnoreParens(Stmt *S) const { in getParentIgnoreParens() 133 Stmt *ParentMap::getParentIgnoreParenCasts(Stmt *S) const { in getParentIgnoreParenCasts() 142 Stmt *ParentMap::getParentIgnoreParenImpCasts(Stmt *S) const { in getParentIgnoreParenImpCasts() 150 Stmt *ParentMap::getOuterParenParent(Stmt *S) const { in getOuterParenParent() 159 bool ParentMap::isConsumedExpr(Expr* E) const { in isConsumedExpr()
|
D | CMakeLists.txt | 44 ParentMap.cpp
|
/external/clang/include/clang/Analysis/ |
D | CFGStmtMap.h | 24 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);
|
D | AnalysisContext.h | 33 class ParentMap; variable 80 std::unique_ptr<ParentMap> PM; 171 ParentMap &getParentMap(); 252 ParentMap &getParentMap() const { in getParentMap()
|
/external/clang/include/clang/AST/ |
D | ParentMap.h | 21 class ParentMap { 24 ParentMap(Stmt* ASTRoot); 25 ~ParentMap();
|
/external/clang/include/clang/Edit/ |
D | Rewriters.h | 22 class ParentMap; variable 32 const ParentMap *PMap);
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | MachineCSE.cpp | 96 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap); 485 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) { in ExitScopeIfDone() argument 493 while (MachineDomTreeNode *Parent = ParentMap[Node]) { in ExitScopeIfDone() 505 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> ParentMap; in PerformCSE() local 520 ParentMap[Child] = Node; in PerformCSE() 533 ExitScopeIfDone(Node, OpenChildren, ParentMap); in PerformCSE()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | UnreachableCodeChecker.cpp | 44 static bool isInvalidPath(const CFGBlock *CB, const ParentMap &PM); 59 ParentMap *PM = nullptr; in checkEndAnalysis() 209 const ParentMap &PM) { in isInvalidPath()
|
D | DeadStoresChecker.cpp | 129 ParentMap& Parents; 140 ParentMap &parents, in DeadStoreObs() 469 ParentMap &pmap = mgr.getParentMap(D); in checkASTCodeBody()
|
D | TraversalChecker.cpp | 43 const ParentMap &Parents = C.getLocationContext()->getParentMap(); in checkBranchCondition()
|
D | VforkChecker.cpp | 162 const ParentMap &PM = C.getLocationContext()->getParentMap(); in checkPostCall()
|
/external/clang/lib/ARCMigrate/ |
D | Transforms.h | 48 ParentMap PMap; 56 ParentMap &getParentMap() { return PMap; } in getParentMap()
|
D | TransProtectedScope.cpp | 56 ParentMap &PMap; 60 CaseCollector(ParentMap &PMap, SmallVectorImpl<CaseInfo> &Cases) in CaseCollector()
|
D | TransRetainReleaseDealloc.cpp | 41 std::unique_ptr<ParentMap> StmtMap; 57 StmtMap.reset(new ParentMap(body)); in transformBody()
|
D | TransUnbridgedCasts.cpp | 63 std::unique_ptr<ParentMap> StmtMap; 77 StmtMap.reset(new ParentMap(body)); in transformBody()
|
D | ObjCMT.cpp | 234 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/llvm/lib/CodeGen/ |
D | MachineLICM.cpp | 202 DenseMap<MachineDomTreeNode *, MachineDomTreeNode *> &ParentMap); 600 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) { in ExitScopeIfDone() argument 608 while (MachineDomTreeNode *Parent = ParentMap[Node]) { in ExitScopeIfDone() 629 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> ParentMap; in HoistOutOfLoop() local 665 ParentMap[Child] = Node; in HoistOutOfLoop() 696 ExitScopeIfDone(Node, OpenChildren, ParentMap); in HoistOutOfLoop()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | MachineLICM.cpp | 217 DenseMap<MachineDomTreeNode *, MachineDomTreeNode *> &ParentMap); 649 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) { in ExitScopeIfDone() argument 657 while (MachineDomTreeNode *Parent = ParentMap[Node]) { in ExitScopeIfDone() 677 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> ParentMap; in HoistOutOfLoop() local 713 ParentMap[Child] = Node; in HoistOutOfLoop() 746 ExitScopeIfDone(Node, OpenChildren, ParentMap); in HoistOutOfLoop()
|
/external/clang/lib/Analysis/ |
D | CFGStmtMap.cpp | 78 CFGStmtMap *CFGStmtMap::Build(CFG *C, ParentMap *PM) { in Build()
|
D | AnalysisDeclContext.cpp | 203 static void addParentsForSyntheticStmts(const CFG *TheCFG, ParentMap &PM) { in addParentsForSyntheticStmts() 280 ParentMap &AnalysisDeclContext::getParentMap() { in getParentMap() 282 PM.reset(new ParentMap(getBody())); in getParentMap()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | AnalysisManager.h | 122 ParentMap &getParentMap(Decl const *D) { in getParentMap()
|
D | ExplodedGraph.h | 146 ParentMap &getParentMap() const {return getLocationContext()->getParentMap();} in getParentMap()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | BugReporter.cpp | 343 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 …]
|
/external/v8/tools/clang/base_bind_rewriters/ |
D | BaseBindRewriters.cpp | 277 parent_map_ = llvm::make_unique<clang::ParentMap>(stmt); in ExtractCFGContentToMembers() 571 std::unique_ptr<clang::ParentMap> parent_map_;
|
/external/clang/lib/Edit/ |
D | RewriteObjCFoundationAPI.cpp | 329 const ParentMap *PMap); 341 const ParentMap *PMap) { in rewriteToObjCLiteralSyntax() 380 const ParentMap *PMap) { in rewriteToArrayLiteral()
|