Home
last modified time | relevance | path

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

12

/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
HDParentMapContext.cpp55 ParentMapContext::ParentMap *ParentMap);
59 class ParentMapContext::ParentMap { class in ParentMapContext
127 ParentMap(ASTContext &Ctx);
128 ~ParentMap() { in ~ParentMap()
290 ParentMapContext::ParentMap *ParentMap) { in match()
293 ParentMap->getDynNodeFromMap(TypedNode, ParentMap->PointerParents); in match()
295 auto TailTuple = MatchParents<U...>::match(NextParentList, ParentMap); in match()
313 ParentMapContext::ParentMap *ParentMap) { in match()
316 ParentMap->getDynNodeFromMap(TypedNode, ParentMap->PointerParents); in match()
327 ParentMapContext::ParentMap *ParentMap) { in matchParents() argument
[all …]
HDParentMap.cpp111 ParentMap::ParentMap(Stmt *S) : Impl(nullptr) { in ParentMap() function in ParentMap
119 ParentMap::~ParentMap() { in ~ParentMap()
123 void ParentMap::addStmt(Stmt* S) { in addStmt()
129 void ParentMap::setParent(const Stmt *S, const Stmt *Parent) { in setParent()
136 Stmt* ParentMap::getParent(Stmt* S) const { in getParent()
141 Stmt *ParentMap::getParentIgnoreParens(Stmt *S) const { in getParentIgnoreParens()
148 Stmt *ParentMap::getParentIgnoreParenCasts(Stmt *S) const { in getParentIgnoreParenCasts()
157 Stmt *ParentMap::getParentIgnoreParenImpCasts(Stmt *S) const { in getParentIgnoreParenImpCasts()
166 Stmt *ParentMap::getOuterParenParent(Stmt *S) const { in getOuterParenParent()
175 bool ParentMap::isConsumedExpr(Expr* E) const { in isConsumedExpr()
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/
HDCFGStmtMap.h21 class ParentMap; variable
25 ParentMap *PM;
28 CFGStmtMap(ParentMap *pm, void *m) : PM(pm), M(m) {} in CFGStmtMap()
37 static CFGStmtMap *Build(CFG* C, ParentMap *PM);
HDAnalysisDeclContext.h44 class ParentMap; variable
87 std::unique_ptr<ParentMap> PM;
169 ParentMap &getParentMap();
257 const ParentMap &getParentMap() const { return Ctx->getParentMap(); } in getParentMap()
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
HDParentMap.h20 class ParentMap {
23 ParentMap(Stmt* ASTRoot);
24 ~ParentMap();
HDParentMapContext.h67 class ParentMap; variable
72 std::unique_ptr<ParentMap> Parents;
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Edit/
HDRewriters.h20 class ParentMap; variable
30 const ParentMap *PMap);
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDUnreachableCodeChecker.cpp44 static bool isInvalidPath(const CFGBlock *CB, const ParentMap &PM);
59 const ParentMap *PM = nullptr; in checkEndAnalysis()
216 const ParentMap &PM) { in isInvalidPath()
HDDeadStoresChecker.cpp136 ParentMap& Parents;
147 ParentMap &parents, in DeadStoreObs()
546 ParentMap &pmap = mgr.getParentMap(D); in checkASTCodeBody()
HDTraversalChecker.cpp42 const ParentMap &Parents = C.getLocationContext()->getParentMap(); in checkBranchCondition()
HDVforkChecker.cpp160 const ParentMap &PM = C.getLocationContext()->getParentMap(); in checkPostCall()
HDConversionChecker.cpp68 const ParentMap &PM = C.getLocationContext()->getParentMap(); in checkPreStmt()
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
HDTransforms.h47 ParentMap PMap;
55 ParentMap &getParentMap() { return PMap; } in getParentMap()
HDTransProtectedScope.cpp56 ParentMap &PMap;
60 CaseCollector(ParentMap &PMap, SmallVectorImpl<CaseInfo> &Cases) in CaseCollector()
HDTransRetainReleaseDealloc.cpp40 std::unique_ptr<ParentMap> StmtMap;
56 StmtMap.reset(new ParentMap(body)); in transformBody()
HDTransUnbridgedCasts.cpp62 std::unique_ptr<ParentMap> StmtMap;
76 StmtMap.reset(new ParentMap(body)); in transformBody()
HDObjCMT.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()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
HDCFGStmtMap.cpp78 CFGStmtMap *CFGStmtMap::Build(CFG *C, ParentMap *PM) { in Build()
HDAnalysisDeclContext.cpp202 static void addParentsForSyntheticStmts(const CFG *TheCFG, ParentMap &PM) { in addParentsForSyntheticStmts()
278 ParentMap &AnalysisDeclContext::getParentMap() { in getParentMap()
280 PM.reset(new ParentMap(getBody())); in getParentMap()
HDCalledOnceCheck.cpp1121 ParentMap &PM = AC.getParentMap(); in getBlockGuaraneedCallSite()
1263 std::unique_ptr<ParentMap> ReturnChildren; in isPossiblyEmptyImpl()
1275 ReturnChildren = std::make_unique<ParentMap>( in isPossiblyEmptyImpl()
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
HDAnalysisManager.h117 ParentMap &getParentMap(Decl const *D) { in getParentMap()
HDExplodedGraph.h50 class ParentMap; variable
161 const ParentMap &getParentMap() const { in getParentMap()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
HDMachineLICM.cpp262 const DenseMap<MachineDomTreeNode *, MachineDomTreeNode *> &ParentMap);
781 const DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) { in ExitScopeIfDone() argument
788 MachineDomTreeNode *Parent = ParentMap.lookup(Node); in ExitScopeIfDone()
808 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> ParentMap; in HoistOutOfLoop() local
843 ParentMap[Child] = Node; in HoistOutOfLoop()
894 ExitScopeIfDone(Node, OpenChildren, ParentMap); in HoistOutOfLoop()
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
HDBugReporter.cpp176 const ParentMap &getParentMap() const { in getParentMap()
629 static const Stmt *getEnclosingParent(const Stmt *S, const ParentMap &PM) { in getEnclosingParent()
1033 static bool isContainedByStmt(const ParentMap &PM, const Stmt *S, in isContainedByStmt()
1043 static const Stmt *getStmtBeforeCond(const ParentMap &PM, const Stmt *Term, in getStmtBeforeCond()
1057 static bool isInLoopBody(const ParentMap &PM, const Stmt *S, const Stmt *Term) { in isInLoopBody()
1289 const ParentMap &PM = C.getParentMap(); in generatePathDiagnosticsForNode()
1358 static const Stmt *getStmtParent(const Stmt *S, const ParentMap &PM) { in getStmtParent()
1435 const ParentMap &PM = LC->getParentMap(); in addContextEdges()
1690 static bool lexicalContains(const ParentMap &PM, const Stmt *X, const Stmt *Y) { in lexicalContains()
1701 const ParentMap &PM) { in removePunyEdges()
[all …]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Edit/
HDRewriteObjCFoundationAPI.cpp329 const ParentMap *PMap);
341 const ParentMap *PMap) { in rewriteToObjCLiteralSyntax()
380 const ParentMap *PMap) { in rewriteToArrayLiteral()

12