Home
last modified time | relevance | path

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

123

/external/clang/lib/AST/
DParentMap.cpp97 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()
DCMakeLists.txt44 ParentMap.cpp
/external/llvm-project/clang/lib/AST/
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()
DParentMapContext.cpp52 class ParentMapContext::ParentMap { class in ParentMapContext
98 ParentMap(ASTContext &Ctx);
99 ~ParentMap() { in ~ParentMap()
217 class ParentMapContext::ParentMap::ASTVisitor
220 ASTVisitor(ParentMap &Map) : Map(Map) {} in ASTVisitor()
320 ParentMap ⤅
324 ParentMapContext::ParentMap::ParentMap(ASTContext &Ctx) { in ParentMap() function in ParentMapContext::ParentMap
332 Parents = std::make_unique<ParentMap>(ASTCtx); in getParents()
/external/llvm-project/clang/include/clang/Analysis/
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);
DAnalysisDeclContext.h44 class ParentMap; variable
87 std::unique_ptr<ParentMap> PM;
169 ParentMap &getParentMap();
251 const ParentMap &getParentMap() const { return Ctx->getParentMap(); } in getParentMap()
/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();
252 ParentMap &getParentMap() const { in getParentMap()
/external/clang/include/clang/AST/
DParentMap.h21 class ParentMap {
24 ParentMap(Stmt* ASTRoot);
25 ~ParentMap();
/external/llvm-project/clang/include/clang/AST/
DParentMap.h20 class ParentMap {
23 ParentMap(Stmt* ASTRoot);
24 ~ParentMap();
DParentMapContext.h69 class ParentMap; variable
71 std::unique_ptr<ParentMap> Parents;
/external/clang/include/clang/Edit/
DRewriters.h22 class ParentMap; variable
32 const ParentMap *PMap);
/external/llvm-project/clang/include/clang/Edit/
DRewriters.h20 class ParentMap; variable
30 const ParentMap *PMap);
/external/clang/lib/StaticAnalyzer/Checkers/
DUnreachableCodeChecker.cpp44 static bool isInvalidPath(const CFGBlock *CB, const ParentMap &PM);
59 ParentMap *PM = nullptr; in checkEndAnalysis()
209 const ParentMap &PM) { in isInvalidPath()
DDeadStoresChecker.cpp129 ParentMap& Parents;
140 ParentMap &parents, in DeadStoreObs()
469 ParentMap &pmap = mgr.getParentMap(D); in checkASTCodeBody()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DUnreachableCodeChecker.cpp43 static bool isInvalidPath(const CFGBlock *CB, const ParentMap &PM);
58 const ParentMap *PM = nullptr; in checkEndAnalysis()
219 const ParentMap &PM) { in isInvalidPath()
DDeadStoresChecker.cpp138 ParentMap& Parents;
149 ParentMap &parents, in DeadStoreObs()
524 ParentMap &pmap = mgr.getParentMap(D); in checkASTCodeBody()
/external/llvm-project/clang/lib/ARCMigrate/
DTransforms.h47 ParentMap PMap;
55 ParentMap &getParentMap() { return PMap; } in getParentMap()
DTransProtectedScope.cpp56 ParentMap &PMap;
60 CaseCollector(ParentMap &PMap, SmallVectorImpl<CaseInfo> &Cases) in CaseCollector()
/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()
/external/llvm-project/clang/lib/Analysis/
DCFGStmtMap.cpp77 CFGStmtMap *CFGStmtMap::Build(CFG *C, ParentMap *PM) { in Build()
/external/clang/lib/Analysis/
DCFGStmtMap.cpp78 CFGStmtMap *CFGStmtMap::Build(CFG *C, ParentMap *PM) { in Build()
/external/llvm/lib/CodeGen/
DMachineLICM.cpp202 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/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DAnalysisManager.h122 ParentMap &getParentMap(Decl const *D) { in getParentMap()

123