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

12

/external/clang/include/clang/Analysis/
H A DCFGStmtMap.h24 class ParentMap;
28 ParentMap *PM;
31 CFGStmtMap(ParentMap *pm, void *m) : PM(pm), M(m) {}
38 static CFGStmtMap *Build(CFG* C, ParentMap *PM);
H A DAnalysisContext.h33 class ParentMap;
80 std::unique_ptr<ParentMap> PM;
171 ParentMap &getParentMap();
252 ParentMap &getParentMap() const {
/external/clang/include/clang/AST/
H A DParentMap.h1 //===--- ParentMap.h - Mappings from Stmts to their Parents -----*- C++ -*-===//
10 // This file defines the ParentMap class.
21 class ParentMap { class in namespace:clang
24 ParentMap(Stmt* ASTRoot);
25 ~ParentMap();
/external/clang/include/clang/Edit/
H A DRewriters.h22 class ParentMap;
32 const ParentMap *PMap);
/external/clang/lib/AST/
H A DParentMap.cpp1 //===--- ParentMap.cpp - Mappings from Stmts to their Parents ---*- C++ -*-===//
10 // This file defines the ParentMap class.
14 #include "clang/AST/ParentMap.h"
97 ParentMap::ParentMap(Stmt *S) : Impl(nullptr) { function in class:ParentMap
105 ParentMap::~ParentMap() {
109 void ParentMap::addStmt(Stmt* S) {
115 void ParentMap::setParent(const Stmt *S, const Stmt *Parent) {
122 Stmt* ParentMap
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h122 ParentMap &getParentMap(Decl const *D) {
H A DExplodedGraph.h146 ParentMap &getParentMap() const {return getLocationContext()->getParentMap();}
/external/clang/lib/Analysis/
H A DCFGStmtMap.cpp16 #include "clang/AST/ParentMap.h"
31 // If 'S' isn't in the map, walk the ParentMap to see if one of its ancestors
78 CFGStmtMap *CFGStmtMap::Build(CFG *C, ParentMap *PM) {
H A DAnalysisDeclContext.cpp21 #include "clang/AST/ParentMap.h"
203 static void addParentsForSyntheticStmts(const CFG *TheCFG, ParentMap &PM) {
280 ParentMap &AnalysisDeclContext::getParentMap() {
282 PM.reset(new ParentMap(getBody()));
/external/clang/lib/StaticAnalyzer/Checkers/
H A DTraversalChecker.cpp15 #include "clang/AST/ParentMap.h"
43 const ParentMap &Parents = C.getLocationContext()->getParentMap();
H A DUnreachableCodeChecker.cpp17 #include "clang/AST/ParentMap.h"
44 static bool isInvalidPath(const CFGBlock *CB, const ParentMap &PM);
59 ParentMap *PM = nullptr;
84 // Bail out if we didn't get the CFG or the ParentMap.
209 const ParentMap &PM) {
H A DDeadStoresChecker.cpp18 #include "clang/AST/ParentMap.h"
129 ParentMap& Parents;
140 ParentMap &parents,
469 ParentMap &pmap = mgr.getParentMap(D);
H A DVforkChecker.cpp38 #include "clang/AST/ParentMap.h"
162 const ParentMap &PM = C.getLocationContext()->getParentMap();
/external/swiftshader/third_party/LLVM/lib/CodeGen/
H A DMachineCSE.cpp96 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap);
485 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) {
493 while (MachineDomTreeNode *Parent = ParentMap[Node]) {
505 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> ParentMap; local
520 ParentMap[Child] = Node;
533 ExitScopeIfDone(Node, OpenChildren, ParentMap);
483 ExitScopeIfDone(MachineDomTreeNode *Node, DenseMap<MachineDomTreeNode*, unsigned> &OpenChildren, DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) argument
/external/clang/lib/ARCMigrate/
H A DTransProtectedScope.cpp56 ParentMap &PMap;
60 CaseCollector(ParentMap &PMap, SmallVectorImpl<CaseInfo> &Cases)
H A DTransforms.h13 #include "clang/AST/ParentMap.h"
48 ParentMap PMap;
56 ParentMap &getParentMap() { return PMap; }
H A DTransRetainReleaseDealloc.cpp23 #include "clang/AST/ParentMap.h"
41 std::unique_ptr<ParentMap> StmtMap;
57 StmtMap.reset(new ParentMap(body));
H A DTransUnbridgedCasts.cpp47 #include "clang/AST/ParentMap.h"
63 std::unique_ptr<ParentMap> StmtMap;
77 StmtMap.reset(new ParentMap(body));
82 // ParentMap does not enter into a BlockDecl to record its stmts, so use a
H A DObjCMT.cpp17 #include "clang/AST/ParentMap.h"
234 const ParentMap *PMap) {
313 ParentMap &PMap;
316 ObjCMigrator(ObjCMigrateASTConsumer &consumer, ParentMap &PMap)
358 std::unique_ptr<ParentMap> PMap;
367 PMap.reset(new ParentMap(S));
/external/llvm/lib/CodeGen/
H A DMachineLICM.cpp202 DenseMap<MachineDomTreeNode *, MachineDomTreeNode *> &ParentMap);
600 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) {
608 while (MachineDomTreeNode *Parent = ParentMap[Node]) {
629 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> ParentMap; local
665 ParentMap[Child] = Node;
696 ExitScopeIfDone(Node, OpenChildren, ParentMap);
598 ExitScopeIfDone(MachineDomTreeNode *Node, DenseMap<MachineDomTreeNode*, unsigned> &OpenChildren, DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) argument
/external/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp20 #include "clang/AST/ParentMap.h"
343 ParentMap& getParentMap() { return LC->getParentMap(); }
403 static const Stmt *getEnclosingParent(const Stmt *S, const ParentMap &PM) {
426 getEnclosingStmtLocation(const Stmt *S, SourceManager &SMgr, const ParentMap &P,
1327 static bool isContainedByStmt(ParentMap &PM, const Stmt *S, const Stmt *SubS) {
1336 static const Stmt *getStmtBeforeCond(ParentMap &PM, const Stmt *Term,
1350 static bool isInLoopBody(ParentMap &PM, const Stmt *S, const Stmt *Term) {
1516 ParentMap &PM = PDB.getParentMap();
1808 ParentMap &PM = PDB.getParentMap();
1883 static const Stmt *getStmtParent(const Stmt *S, const ParentMap
[all...]
H A DExplodedGraph.cpp16 #include "clang/AST/ParentMap.h"
147 ParentMap &PM = progPoint.getLocationContext()->getParentMap();
/external/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp19 #include "clang/AST/ParentMap.h"
329 const ParentMap *PMap);
341 const ParentMap *PMap) {
380 const ParentMap *PMap) {
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h36 class ParentMap;
/external/v8/tools/clang/value_cleanup/
H A DListValueRewriter.cpp11 #include "clang/AST/ParentMap.h"
148 clang::ParentMap map_;

Completed in 479 milliseconds

12