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

12

/freebsd-10-stable/contrib/llvm/tools/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.h32 class ParentMap;
79 OwningPtr<ParentMap> PM;
162 ParentMap &getParentMap();
239 ParentMap &getParentMap() const {
/freebsd-10-stable/contrib/llvm/tools/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();
H A DASTContext.h425 typedef llvm::DenseMap<const void *, ParentVector> ParentMap; typedef in class:clang::ASTContext
2267 llvm::OwningPtr<ParentMap> AllParents;
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Edit/
H A DRewriters.h22 class ParentMap;
32 const ParentMap *PMap);
/freebsd-10-stable/contrib/llvm/tools/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"
95 ParentMap::ParentMap(Stmt* S) : Impl(0) { function in class:ParentMap
103 ParentMap::~ParentMap() {
107 void ParentMap::addStmt(Stmt* S) {
113 void ParentMap::setParent(const Stmt *S, const Stmt *Parent) {
120 Stmt* ParentMap
[all...]
/freebsd-10-stable/contrib/llvm/tools/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"
162 static void addParentsForSyntheticStmts(const CFG *TheCFG, ParentMap &PM) {
234 ParentMap &AnalysisDeclContext::getParentMap() {
236 PM.reset(new ParentMap(getBody()));
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h119 ParentMap &getParentMap(Decl const *D) {
H A DExplodedGraph.h148 ParentMap &getParentMap() const {return getLocationContext()->getParentMap();}
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DTraversalChecker.cpp15 #include "clang/AST/ParentMap.h"
41 const ParentMap &Parents = C.getLocationContext()->getParentMap();
H A DUnreachableCodeChecker.cpp17 #include "clang/AST/ParentMap.h"
48 static bool isInvalidPath(const CFGBlock *CB, const ParentMap &PM);
63 ParentMap *PM = 0;
88 // Bail out if we didn't get the CFG or the ParentMap.
210 const ParentMap &PM) {
H A DDeadStoresChecker.cpp18 #include "clang/AST/ParentMap.h"
128 ParentMap& Parents;
138 BugReporter& br, AnalysisDeclContext* ac, ParentMap& parents,
436 ParentMap &pmap = mgr.getParentMap(D);
/freebsd-10-stable/lib/clang/libclangast/
H A DMakefile47 ParentMap.cpp \
/freebsd-10-stable/contrib/llvm/tools/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 OwningPtr<ParentMap> StmtMap;
57 StmtMap.reset(new ParentMap(body));
H A DTransUnbridgedCasts.cpp47 #include "clang/AST/ParentMap.h"
63 OwningPtr<ParentMap> StmtMap;
76 StmtMap.reset(new ParentMap(body));
81 // ParentMap does not enter into a BlockDecl to record its stmts, so use a
H A DObjCMT.cpp15 #include "clang/AST/ParentMap.h"
188 ParentMap &PMap;
191 ObjCMigrator(ObjCMigrateASTConsumer &consumer, ParentMap &PMap)
226 OwningPtr<ParentMap> PMap;
235 PMap.reset(new ParentMap(S));
/freebsd-10-stable/contrib/llvm/lib/CodeGen/
H A DMachineLICM.cpp232 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap);
667 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) {
675 while (MachineDomTreeNode *Parent = ParentMap[Node]) {
693 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> ParentMap; local
729 ParentMap[Child] = Node;
768 ExitScopeIfDone(Node, OpenChildren, ParentMap);
665 ExitScopeIfDone(MachineDomTreeNode *Node, DenseMap<MachineDomTreeNode*, unsigned> &OpenChildren, DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) argument
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp22 #include "clang/AST/ParentMap.h"
342 ParentMap& getParentMap() { return LC->getParentMap(); }
402 static const Stmt *getEnclosingParent(const Stmt *S, const ParentMap &PM) {
425 getEnclosingStmtLocation(const Stmt *S, SourceManager &SMgr, const ParentMap &P,
1334 static bool isContainedByStmt(ParentMap &PM, const Stmt *S, const Stmt *SubS) {
1343 static const Stmt *getStmtBeforeCond(ParentMap &PM, const Stmt *Term,
1357 static bool isInLoopBody(ParentMap &PM, const Stmt *S, const Stmt *Term) {
1524 ParentMap &PM = PDB.getParentMap();
1820 ParentMap &PM = PDB.getParentMap();
1897 static const Stmt *getStmtParent(const Stmt *S, const ParentMap
[all...]
H A DExplodedGraph.cpp16 #include "clang/AST/ParentMap.h"
146 ParentMap &PM = progPoint.getLocationContext()->getParentMap();
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp19 #include "clang/AST/ParentMap.h"
329 const ParentMap *PMap);
341 const ParentMap *PMap) {
380 const ParentMap *PMap) {
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h35 class ParentMap;
H A DPathDiagnostic.h37 class ParentMap;

Completed in 370 milliseconds

12