Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DParentMapContext.cpp55 ParentMapContext::ParentMap *ParentMap);
59 class ParentMapContext::ParentMap { class in ParentMapContext
108 ParentMap(ASTContext &Ctx);
109 ~ParentMap() { in ~ParentMap()
281 ParentMapContext::ParentMap *ParentMap) { in match()
284 ParentMap->getDynNodeFromMap(TypedNode, ParentMap->PointerParents); in match()
286 auto TailTuple = MatchParents<U...>::match(NextParentList, ParentMap); in match()
303 ParentMapContext::ParentMap *ParentMap) { in match()
306 ParentMap->getDynNodeFromMap(TypedNode, ParentMap->PointerParents); in match()
317 ParentMapContext::ParentMap *ParentMap) { in matchParents() argument
[all …]
H A DParentMap.cpp109 ParentMap::ParentMap(Stmt *S) : Impl(nullptr) { in ParentMap() function in ParentMap
117 ParentMap::~ParentMap() { in ~ParentMap()
121 void ParentMap::addStmt(Stmt* S) { in addStmt()
127 void ParentMap::setParent(const Stmt *S, const Stmt *Parent) { in setParent()
134 Stmt* ParentMap::getParent(Stmt* S) const { in getParent()
140 Stmt *ParentMap::getParentIgnoreParens(Stmt *S) const { in getParentIgnoreParens()
145 Stmt *ParentMap::getParentIgnoreParenCasts(Stmt *S) const { in getParentIgnoreParenCasts()
154 Stmt *ParentMap::getParentIgnoreParenImpCasts(Stmt *S) const { in getParentIgnoreParenImpCasts()
162 Stmt *ParentMap::getOuterParenParent(Stmt *S) const { in getOuterParenParent()
171 bool ParentMap::isConsumedExpr(Expr* E) const { in isConsumedExpr()
H A DCMakeLists.txt91 ParentMap.cpp
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/
H A DCFGStmtMap.h21 class ParentMap; variable
25 ParentMap *PM;
28 CFGStmtMap(ParentMap *pm, void *m) : PM(pm), M(m) {} in CFGStmtMap()
35 static CFGStmtMap *Build(CFG* C, ParentMap *PM);
H A DAnalysisDeclContext.h44 class ParentMap; variable
87 std::unique_ptr<ParentMap> PM;
169 ParentMap &getParentMap();
251 const ParentMap &getParentMap() const { return Ctx->getParentMap(); } in getParentMap()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DParentMap.h20 class ParentMap {
23 ParentMap(Stmt* ASTRoot);
24 ~ParentMap();
H A DParentMapContext.h67 class ParentMap; variable
72 std::unique_ptr<ParentMap> Parents;
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Edit/
H A DRewriters.h20 class ParentMap; variable
30 const ParentMap *PMap);
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DUnreachableCodeChecker.cpp43 static bool isInvalidPath(const CFGBlock *CB, const ParentMap &PM);
58 const ParentMap *PM = nullptr; in checkEndAnalysis()
219 const ParentMap &PM) { in isInvalidPath()
H A DDeadStoresChecker.cpp139 ParentMap& Parents;
150 ParentMap &parents, in DeadStoreObs()
550 ParentMap &pmap = mgr.getParentMap(D); in checkASTCodeBody()
H A DTraversalChecker.cpp42 const ParentMap &Parents = C.getLocationContext()->getParentMap(); in checkBranchCondition()
H A DConversionChecker.cpp68 const ParentMap &PM = C.getLocationContext()->getParentMap(); in checkPreStmt()
H A DVforkChecker.cpp162 const ParentMap &PM = C.getLocationContext()->getParentMap(); in checkPostCall()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransforms.h47 ParentMap PMap;
55 ParentMap &getParentMap() { return PMap; } in getParentMap()
H A DTransProtectedScope.cpp56 ParentMap &PMap;
60 CaseCollector(ParentMap &PMap, SmallVectorImpl<CaseInfo> &Cases) in CaseCollector()
H A DTransRetainReleaseDealloc.cpp40 std::unique_ptr<ParentMap> StmtMap;
56 StmtMap.reset(new ParentMap(body)); in transformBody()
H A DTransUnbridgedCasts.cpp62 std::unique_ptr<ParentMap> StmtMap;
76 StmtMap.reset(new ParentMap(body)); in transformBody()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineLICM.cpp240 DenseMap<MachineDomTreeNode *, MachineDomTreeNode *> &ParentMap);
679 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) { in ExitScopeIfDone() argument
687 while (MachineDomTreeNode *Parent = ParentMap[Node]) { in ExitScopeIfDone()
707 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> ParentMap; in HoistOutOfLoop() local
742 ParentMap[Child] = Node; in HoistOutOfLoop()
776 ExitScopeIfDone(Node, OpenChildren, ParentMap); in HoistOutOfLoop()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DCFGStmtMap.cpp77 CFGStmtMap *CFGStmtMap::Build(CFG *C, ParentMap *PM) { in Build()
H A DAnalysisDeclContext.cpp202 static void addParentsForSyntheticStmts(const CFG *TheCFG, ParentMap &PM) { in addParentsForSyntheticStmts()
279 ParentMap &AnalysisDeclContext::getParentMap() { in getParentMap()
281 PM.reset(new ParentMap(getBody())); in getParentMap()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h117 ParentMap &getParentMap(Decl const *D) { in getParentMap()
H A DExplodedGraph.h49 class ParentMap; variable
160 const ParentMap &getParentMap() const { in getParentMap()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp164 const ParentMap &getParentMap() const { in getParentMap()
616 static const Stmt *getEnclosingParent(const Stmt *S, const ParentMap &PM) { in getEnclosingParent()
1020 static bool isContainedByStmt(const ParentMap &PM, const Stmt *S, in isContainedByStmt()
1030 static const Stmt *getStmtBeforeCond(const ParentMap &PM, const Stmt *Term, in getStmtBeforeCond()
1044 static bool isInLoopBody(const ParentMap &PM, const Stmt *S, const Stmt *Term) { in isInLoopBody()
1271 const ParentMap &PM = C.getParentMap(); in generatePathDiagnosticsForNode()
1335 static const Stmt *getStmtParent(const Stmt *S, const ParentMap &PM) { in getStmtParent()
1414 const ParentMap &PM = LC->getParentMap(); in addContextEdges()
1669 static bool lexicalContains(const ParentMap &PM, const Stmt *X, const Stmt *Y) { in lexicalContains()
1680 const ParentMap &PM) { in removePunyEdges()
[all …]
/netbsd-src/external/apache2/llvm/lib/libclangAST/
H A DMakefile62 ParentMap.cpp \
/netbsd-src/external/apache2/llvm/dist/llvm/utils/gn/secondary/clang/lib/AST/
H A DBUILD.gn117 "ParentMap.cpp",

12