Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DParentMapContext.cpp55 ParentMapContext::ParentMap *ParentMap);
59 class ParentMapContext::ParentMap { class in ParentMapContext
108 ParentMap(ASTContext &Ctx);
109 ~ParentMap() { in ~ParentMap()
271 ParentMapContext::ParentMap *ParentMap) { in match()
274 ParentMap->getDynNodeFromMap(TypedNode, ParentMap->PointerParents); in match()
294 ParentMapContext::ParentMap *ParentMap) { in match()
297 ParentMap->getDynNodeFromMap(TypedNode, ParentMap->PointerParents); in match()
308 ParentMapContext::ParentMap *ParentMap) { in matchParents() argument
451 ParentMap ⤅
[all …]
H A DParentMap.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()
146 Stmt *ParentMap::getParentIgnoreParenCasts(Stmt *S) const { in getParentIgnoreParenCasts()
155 Stmt *ParentMap::getParentIgnoreParenImpCasts(Stmt *S) const { in getParentIgnoreParenImpCasts()
163 Stmt *ParentMap::getOuterParenParent(Stmt *S) const { in getOuterParenParent()
172 bool ParentMap::isConsumedExpr(Expr* E) const { in isConsumedExpr()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/
H A DCFGStmtMap.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);
H A DAnalysisDeclContext.h44 class ParentMap; variable
87 std::unique_ptr<ParentMap> PM;
169 ParentMap &getParentMap();
257 const ParentMap &getParentMap() const { return Ctx->getParentMap(); } in getParentMap()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DParentMap.h20 class ParentMap {
23 ParentMap(Stmt* ASTRoot);
24 ~ParentMap();
H A DParentMapContext.h67 class ParentMap; variable
72 std::unique_ptr<ParentMap> Parents;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Edit/
H A DRewriters.h20 class ParentMap; variable
30 const ParentMap *PMap);
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUnreachableCodeChecker.cpp44 static bool isInvalidPath(const CFGBlock *CB, const ParentMap &PM);
59 const ParentMap *PM = nullptr; in checkEndAnalysis()
214 const ParentMap &PM) { in isInvalidPath()
H A DDeadStoresChecker.cpp136 ParentMap& Parents;
147 ParentMap &parents, in DeadStoreObs()
546 ParentMap &pmap = mgr.getParentMap(D); in checkASTCodeBody()
H A DTraversalChecker.cpp42 const ParentMap &Parents = C.getLocationContext()->getParentMap(); in checkBranchCondition()
H A DVforkChecker.cpp160 const ParentMap &PM = C.getLocationContext()->getParentMap(); in checkPostCall()
H A DConversionChecker.cpp68 const ParentMap &PM = C.getLocationContext()->getParentMap(); in checkPreStmt()
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransforms.h47 ParentMap PMap;
55 ParentMap &getParentMap() { return PMap; } in getParentMap()
H A DTransProtectedScope.cpp56 ParentMap &PMap;
60 CaseCollector(ParentMap &PMap, SmallVectorImpl<CaseInfo> &Cases) in CaseCollector()
H A DTransRetainReleaseDealloc.cpp40 std::unique_ptr<ParentMap> StmtMap;
56 StmtMap.reset(new ParentMap(body)); in transformBody()
H A DTransUnbridgedCasts.cpp62 std::unique_ptr<ParentMap> StmtMap;
76 StmtMap.reset(new ParentMap(body)); in transformBody()
H A 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()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DCFGStmtMap.cpp78 CFGStmtMap *CFGStmtMap::Build(CFG *C, ParentMap *PM) { in Build()
H A DAnalysisDeclContext.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()
H A DCalledOnceCheck.cpp1120 ParentMap &PM = AC.getParentMap(); in getBlockGuaraneedCallSite()
1262 std::unique_ptr<ParentMap> ReturnChildren; in isPossiblyEmptyImpl()
1274 ReturnChildren = std::make_unique<ParentMap>( in isPossiblyEmptyImpl()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h117 ParentMap &getParentMap(Decl const *D) { in getParentMap()
H A DExplodedGraph.h50 class ParentMap; variable
161 const ParentMap &getParentMap() const { in getParentMap()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineLICM.cpp262 const DenseMap<MachineDomTreeNode *, MachineDomTreeNode *> &ParentMap);
712 const DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) { in ExitScopeIfDone() argument
719 MachineDomTreeNode *Parent = ParentMap.lookup(Node); in ExitScopeIfDone()
739 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> ParentMap; in HoistOutOfLoop() local
774 ParentMap[Child] = Node; in HoistOutOfLoop()
825 ExitScopeIfDone(Node, OpenChildren, ParentMap); in HoistOutOfLoop()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp166 const ParentMap &getParentMap() const { in getParentMap()
619 static const Stmt *getEnclosingParent(const Stmt *S, const ParentMap &PM) { in getEnclosingParent()
1023 static bool isContainedByStmt(const ParentMap &PM, const Stmt *S, in isContainedByStmt()
1033 static const Stmt *getStmtBeforeCond(const ParentMap &PM, const Stmt *Term, in getStmtBeforeCond()
1047 static bool isInLoopBody(const ParentMap &PM, const Stmt *S, const Stmt *Term) { in isInLoopBody()
1279 const ParentMap &PM = C.getParentMap(); in generatePathDiagnosticsForNode()
1346 static const Stmt *getStmtParent(const Stmt *S, const ParentMap &PM) { in getStmtParent()
1423 const ParentMap &PM = LC->getParentMap(); in addContextEdges()
1678 static bool lexicalContains(const ParentMap &PM, const Stmt *X, const Stmt *Y) { in lexicalContains()
1689 const ParentMap &PM) { in removePunyEdges()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp329 const ParentMap *PMap);
341 const ParentMap *PMap) { in rewriteToObjCLiteralSyntax()
380 const ParentMap *PMap) { in rewriteToArrayLiteral()

12