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

12

/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Analysis/
H A DCFGStmtMap.h21 class ParentMap;
25 ParentMap *PM;
28 CFGStmtMap(ParentMap *pm, void *m) : PM(pm), M(m) {}
35 static CFGStmtMap *Build(CFG* C, ParentMap *PM);
H A DAnalysisDeclContext.h44 class ParentMap;
87 std::unique_ptr<ParentMap> PM;
169 ParentMap &getParentMap();
251 const ParentMap &getParentMap() const { return Ctx->getParentMap(); }
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/AST/
H A DParentMap.h1 //===--- ParentMap.h - Mappings from Stmts to their Parents -----*- C++ -*-===//
9 // This file defines the ParentMap class.
20 class ParentMap { class in namespace:clang
23 ParentMap(Stmt* ASTRoot);
24 ~ParentMap();
H A DParentMapContext.h9 // Similar to ParentMap.h, but generalizes to non-Stmt nodes, which can have
67 class ParentMap;
72 std::unique_ptr<ParentMap> Parents;
91 /// DynTypedNode. For use with ParentMap.
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Edit/
H A DRewriters.h20 class ParentMap;
30 const ParentMap *PMap);
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/
H A DParentMapContext.cpp9 // Similar to ParentMap.cpp, but generalizes to non-Stmt nodes, which can have
55 ParentMapContext::ParentMap *ParentMap);
59 class ParentMapContext::ParentMap { class in class:ParentMapContext
108 ParentMap(ASTContext &Ctx);
109 ~ParentMap() {
281 ParentMapContext::ParentMap *ParentMap) {
284 ParentMap->getDynNodeFromMap(TypedNode, ParentMap
280 match(const DynTypedNodeList &NodeList, ParentMapContext::ParentMap *ParentMap) argument
302 match(const DynTypedNodeList &NodeList, ParentMapContext::ParentMap *ParentMap) argument
316 matchParents(const DynTypedNodeList &NodeList, ParentMapContext::ParentMap *ParentMap) argument
[all...]
H A DParentMap.cpp1 //===--- ParentMap.cpp - Mappings from Stmts to their Parents ---*- C++ -*-===//
9 // This file defines the ParentMap class.
13 #include "clang/AST/ParentMap.h"
109 ParentMap::ParentMap(Stmt *S) : Impl(nullptr) { function in class:ParentMap
117 ParentMap::~ParentMap() {
121 void ParentMap::addStmt(Stmt* S) {
127 void ParentMap::setParent(const Stmt *S, const Stmt *Parent) {
134 Stmt* ParentMap
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/Analysis/
H A DCFGStmtMap.cpp15 #include "clang/AST/ParentMap.h"
30 // If 'S' isn't in the map, walk the ParentMap to see if one of its ancestors
77 CFGStmtMap *CFGStmtMap::Build(CFG *C, ParentMap *PM) {
H A DAnalysisDeclContext.cpp23 #include "clang/AST/ParentMap.h"
202 static void addParentsForSyntheticStmts(const CFG *TheCFG, ParentMap &PM) {
279 ParentMap &AnalysisDeclContext::getParentMap() {
281 PM.reset(new ParentMap(getBody()));
H A DCalledOnceCheck.cpp17 #include "clang/AST/ParentMap.h"
1120 ParentMap &PM = AC.getParentMap();
1262 std::unique_ptr<ParentMap> ReturnChildren;
1274 ReturnChildren = std::make_unique<ParentMap>(
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DUnreachableCodeChecker.cpp16 #include "clang/AST/ParentMap.h"
43 static bool isInvalidPath(const CFGBlock *CB, const ParentMap &PM);
58 const ParentMap *PM = nullptr;
83 // Bail out if we didn't get the CFG or the ParentMap.
219 const ParentMap &PM) {
H A DTraversalChecker.cpp14 #include "clang/AST/ParentMap.h"
42 const ParentMap &Parents = C.getLocationContext()->getParentMap();
H A DDeadStoresChecker.cpp16 #include "clang/AST/ParentMap.h"
139 ParentMap& Parents;
150 ParentMap &parents,
550 ParentMap &pmap = mgr.getParentMap(D);
H A DConversionChecker.cpp27 #include "clang/AST/ParentMap.h"
68 const ParentMap &PM = C.getLocationContext()->getParentMap();
H A DVforkChecker.cpp37 #include "clang/AST/ParentMap.h"
162 const ParentMap &PM = C.getLocationContext()->getParentMap();
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h117 ParentMap &getParentMap(Decl const *D) {
H A DExplodedGraph.h49 class ParentMap;
160 const ParentMap &getParentMap() const {
/netbsd-current/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransforms.h12 #include "clang/AST/ParentMap.h"
47 ParentMap PMap;
55 ParentMap &getParentMap() { return PMap; }
H A DTransProtectedScope.cpp56 ParentMap &PMap;
60 CaseCollector(ParentMap &PMap, SmallVectorImpl<CaseInfo> &Cases)
H A DTransRetainReleaseDealloc.cpp22 #include "clang/AST/ParentMap.h"
40 std::unique_ptr<ParentMap> StmtMap;
56 StmtMap.reset(new ParentMap(body));
H A DTransUnbridgedCasts.cpp46 #include "clang/AST/ParentMap.h"
62 std::unique_ptr<ParentMap> StmtMap;
76 StmtMap.reset(new ParentMap(body));
81 // ParentMap does not enter into a BlockDecl to record its stmts, so use a
/netbsd-current/external/apache2/llvm/lib/libclangAST/
H A DMakefile62 ParentMap.cpp \
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineLICM.cpp240 DenseMap<MachineDomTreeNode *, MachineDomTreeNode *> &ParentMap);
679 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) {
687 while (MachineDomTreeNode *Parent = ParentMap[Node]) {
707 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> ParentMap; local
742 ParentMap[Child] = Node;
776 ExitScopeIfDone(Node, OpenChildren, ParentMap);
677 ExitScopeIfDone(MachineDomTreeNode *Node, DenseMap<MachineDomTreeNode*, unsigned> &OpenChildren, DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) argument
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp20 #include "clang/AST/ParentMap.h"
164 const ParentMap &getParentMap() const {
616 static const Stmt *getEnclosingParent(const Stmt *S, const ParentMap &PM) {
1020 static bool isContainedByStmt(const ParentMap &PM, const Stmt *S,
1030 static const Stmt *getStmtBeforeCond(const ParentMap &PM, const Stmt *Term,
1044 static bool isInLoopBody(const ParentMap &PM, const Stmt *S, const Stmt *Term) {
1271 const ParentMap &PM = C.getParentMap();
1335 static const Stmt *getStmtParent(const Stmt *S, const ParentMap &PM) {
1414 const ParentMap &PM = LC->getParentMap();
1669 static bool lexicalContains(const ParentMap
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp18 #include "clang/AST/ParentMap.h"
328 const ParentMap *PMap);
340 const ParentMap *PMap) {
379 const ParentMap *PMap) {

Completed in 403 milliseconds

12