Home
last modified time | relevance | path

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

12

/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/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/clang/include/clang/Edit/
DRewriters.h22 class ParentMap; variable
32 const ParentMap *PMap);
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineCSE.cpp96 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap);
485 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) { in ExitScopeIfDone() argument
493 while (MachineDomTreeNode *Parent = ParentMap[Node]) { in ExitScopeIfDone()
505 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> ParentMap; in PerformCSE() local
520 ParentMap[Child] = Node; in PerformCSE()
533 ExitScopeIfDone(Node, OpenChildren, ParentMap); in PerformCSE()
/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()
DTraversalChecker.cpp43 const ParentMap &Parents = C.getLocationContext()->getParentMap(); in checkBranchCondition()
DVforkChecker.cpp162 const ParentMap &PM = C.getLocationContext()->getParentMap(); in checkPostCall()
/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()
DTransRetainReleaseDealloc.cpp41 std::unique_ptr<ParentMap> StmtMap;
57 StmtMap.reset(new ParentMap(body)); in transformBody()
DTransUnbridgedCasts.cpp63 std::unique_ptr<ParentMap> StmtMap;
77 StmtMap.reset(new ParentMap(body)); in transformBody()
DObjCMT.cpp234 const ParentMap *PMap) { in rewriteToPropertyDotSyntax()
313 ParentMap &PMap;
316 ObjCMigrator(ObjCMigrateASTConsumer &consumer, ParentMap &PMap) in ObjCMigrator()
358 std::unique_ptr<ParentMap> PMap;
367 PMap.reset(new ParentMap(S)); in TraverseStmt()
/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/lib/Analysis/
DCFGStmtMap.cpp78 CFGStmtMap *CFGStmtMap::Build(CFG *C, ParentMap *PM) { in Build()
DAnalysisDeclContext.cpp203 static void addParentsForSyntheticStmts(const CFG *TheCFG, ParentMap &PM) { in addParentsForSyntheticStmts()
280 ParentMap &AnalysisDeclContext::getParentMap() { in getParentMap()
282 PM.reset(new ParentMap(getBody())); in getParentMap()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DAnalysisManager.h122 ParentMap &getParentMap(Decl const *D) { in getParentMap()
DExplodedGraph.h146 ParentMap &getParentMap() const {return getLocationContext()->getParentMap();} in getParentMap()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp343 ParentMap& getParentMap() { return LC->getParentMap(); } in getParentMap()
403 static const Stmt *getEnclosingParent(const Stmt *S, const ParentMap &PM) { in getEnclosingParent()
426 getEnclosingStmtLocation(const Stmt *S, SourceManager &SMgr, const ParentMap &P, in getEnclosingStmtLocation()
1327 static bool isContainedByStmt(ParentMap &PM, const Stmt *S, const Stmt *SubS) { in isContainedByStmt()
1336 static const Stmt *getStmtBeforeCond(ParentMap &PM, const Stmt *Term, in getStmtBeforeCond()
1350 static bool isInLoopBody(ParentMap &PM, const Stmt *S, const Stmt *Term) { in isInLoopBody()
1516 ParentMap &PM = PDB.getParentMap(); in GenerateExtensivePathDiagnostic()
1808 ParentMap &PM = PDB.getParentMap(); in GenerateAlternateExtensivePathDiagnostic()
1883 static const Stmt *getStmtParent(const Stmt *S, const ParentMap &PM) { in getStmtParent()
1963 const ParentMap &PM, const LocationContext *LCtx) { in addContextEdges()
[all …]
DExplodedGraph.cpp147 ParentMap &PM = progPoint.getLocationContext()->getParentMap(); in shouldCollect()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp329 const ParentMap *PMap);
341 const ParentMap *PMap) { in rewriteToObjCLiteralSyntax()
380 const ParentMap *PMap) { in rewriteToArrayLiteral()
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugReporter.h36 class ParentMap; variable

12