| /freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 253 llvm::SmallVector<SelectedASTNode::ReferenceType, 8> Parents; member 293 const Stmt *Parent = Parents[Parents.size() - 1].get().Node.get<Stmt>(); in canonicalize() 299 for (; (ParentIndex + 1) <= Parents.size() && isa<ImplicitCastExpr>(Parent); in canonicalize() 302 Parents[Parents.size() - ParentIndex - 1].get().Node.get<Stmt>(); in canonicalize() 310 Node = Parents[Parents.size() - ParentIndex]; in canonicalize() 312 Parents.pop_back(); in canonicalize() 398 return CodeRangeASTSelection(Selected.Node, Selected.Parents, in create() 409 Selected.Parents.push_back(Selected.Node); in create() 410 return CodeRangeASTSelection(Selected.Node, Selected.Parents, in create() 424 for (const auto &Parent : llvm::reverse(Parents)) { in isInFunctionLikeBodyOfCode() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/ |
| H A D | ASTSelection.h | 102 ArrayRef<SelectedASTNode::ReferenceType> getParents() { return Parents; } in getParents() 139 ArrayRef<SelectedASTNode::ReferenceType> Parents, in CodeRangeASTSelection() argument 141 : SelectedNode(SelectedNode), Parents(Parents), in CodeRangeASTSelection() 148 llvm::SmallVector<SelectedASTNode::ReferenceType, 8> Parents; variable
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 372 auto Parents = Context.getParents(Loc); in VisitTypeLoc() local 374 if (!Parents.empty()) { in VisitTypeLoc() 379 if (const auto *NSL = Parents[0].get<NestedNameSpecifierLoc>()) { in VisitTypeLoc() 384 if (const auto *TL = Parents[0].get<TypeLoc>()) in VisitTypeLoc() 483 auto Parents = Context.getParents(Node); in getClosestAncestorDecl() local 485 if (Parents.size() != 1) in getClosestAncestorDecl() 487 if (ASTNodeKind::getFromNodeKind<Decl>().isBaseOf(Parents[0].getNodeKind())) in getClosestAncestorDecl() 488 return Parents[0].template get<Decl>(); in getClosestAncestorDecl() 489 return getClosestAncestorDecl(Parents[0]); in getClosestAncestorDecl() 495 auto Parents = Context.getParents(Loc); in getParentTypeLoc() local [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ParentMapContext.cpp | 27 void ParentMapContext::clear() { Parents.reset(); } in clear() 378 void addParent(MapNodeTy MapNode, MapTy *Parents) { in addParent() argument 392 auto &NodeOrVector = (*Parents)[MapNode]; in addParent() 426 MapTy *Parents) { in TraverseNode() argument 429 addParent(MapNode, Parents); in TraverseNode() 485 if (!Parents) in getParents() 488 Parents = std::make_unique<ParentMap>(ASTCtx); in getParents() 489 return Parents->getParents(getTraversalKind(), Node); in getParents()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ErrnoChecker.cpp | 74 const DynTypedNodeList Parents = ParentCtx.getParents(*S); in isInCondition() local 75 if (Parents.empty()) in isInCondition() 77 const auto *ParentS = Parents[0].get<Stmt>(); in isInCondition()
|
| H A D | DeadStoresChecker.cpp | 135 ParentMap& Parents; member in __anonfa4b2eb10211::DeadStoreObs 149 : cfg(cfg), Ctx(ctx), BR(br), Checker(checker), AC(ac), Parents(parents), in DeadStoreObs() 350 DeadStoreKind dsk = Parents.isConsumedExpr(B) in observeStmt() 361 const Stmt *parent = Parents.getParentIgnoreParenCasts(U); in observeStmt()
|
| H A D | ArrayBoundChecker.cpp | 805 const DynTypedNodeList Parents = ParentCtx.getParents(*S); in isInAddressOf() local 806 if (Parents.empty()) in isInAddressOf() 808 S = Parents[0].get<Stmt>(); in isInAddressOf()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFUnit.cpp | 419 std::vector<uint32_t> Parents; in extractDIEsToVector() local 428 Parents.push_back(UINT32_MAX); in extractDIEsToVector() 430 Parents.push_back(0); in extractDIEsToVector() 435 assert(Parents.size() > 0 && "Empty parents stack"); in extractDIEsToVector() 436 assert((Parents.back() == UINT32_MAX || Parents.back() <= Dies.size()) && in extractDIEsToVector() 441 Parents.back())) in extractDIEsToVector() 474 Parents.push_back(Dies.size() - 1); in extractDIEsToVector() 482 Parents.pop_back(); in extractDIEsToVector() 490 } while (Parents.size() > 1); in extractDIEsToVector()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DIEHash.cpp | 84 SmallVector<const DIE *, 1> Parents; in addParentContext() local 87 Parents.push_back(Cur); in addParentContext() 95 for (const DIE *Die : llvm::reverse(Parents)) { in addParentContext()
|
| H A D | DwarfUnit.cpp | 716 SmallVector<const DIScope *, 1> Parents; in getParentContextString() local 718 Parents.push_back(Context); in getParentContextString() 729 for (const DIScope *Ctx : llvm::reverse(Parents)) { in getParentContextString()
|
| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | ASTMatchFinder.cpp | 1170 DynTypedNodeList Parents{ArrayRef<DynTypedNode>()}; // after loop: size != 1 in matchesAnyAncestorOf() local 1190 Parents = ActiveASTContext->getParents(Node); in matchesAnyAncestorOf() 1193 if (Parents.size() != 1) in matchesAnyAncestorOf() 1197 Node = *Parents.begin(); in matchesAnyAncestorOf() 1206 if (Parents.empty()) { in matchesAnyAncestorOf() 1225 assert(Parents.size() > 1); in matchesAnyAncestorOf() 1229 std::deque<DynTypedNode> Queue(Parents.begin(), Parents.end()); in matchesAnyAncestorOf()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ParentMapContext.h | 72 std::unique_ptr<ParentMap> Parents; variable
|
| /freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
| H A D | SyntheticTypeNameBuilder.cpp | 211 SmallVector<UnitEntryPairTy, 10> Parents; in addParentName() local 213 Parents.push_back(*UnitEntryPair); in addParentName() 227 for (UnitEntryPairTy Parent : reverse(Parents)) { in addParentName()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
| H A D | LVOptions.h | 169 Parents, // --report=parents enumerator 410 REPORT_OPTION(Parents);
|
| /freebsd/contrib/llvm-project/clang/lib/ExtractAPI/Serialization/ |
| H A D | SymbolGraphSerializer.cpp | 604 Array generateParentContexts(const SmallVectorImpl<SymbolReference> &Parents, in generateParentContexts() argument 608 for (const auto &Parent : Parents) { in generateParentContexts()
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 8388 const auto &Parents = Finder->getASTContext().getParents(Node); in AST_MATCHER_P() local 8390 llvm::SmallVector<DynTypedNode, 8> Stack(Parents.begin(), Parents.end()); in AST_MATCHER_P() 8438 const auto &Parents = Finder->getASTContext().getParents(Node); in AST_MATCHER_P() local 8440 llvm::SmallVector<DynTypedNode, 8> Stack(Parents.begin(), Parents.end()); in AST_MATCHER_P()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-debuginfo-analyzer/ |
| H A D | Options.cpp | 256 clEnumValN(LVReportKind::Parents, "parents",
|
| /freebsd/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | ClangDiagnosticsEmitter.cpp | 379 const std::vector<const Record *> &Parents = in compute() local 382 all_of(Parents, [&](const Record *R) { return groupInPedantic(R); }); in compute() 387 if (Parents.size() > 0 && AllParentsInPedantic) in compute()
|
| /freebsd/sys/contrib/device-tree/Bindings/display/msm/ |
| H A D | dsi.txt | 25 - assigned-clocks: Parents of "byte" and "pixel" for the given platform.
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | VirtualFileSystem.h | 918 llvm::SmallVector<Entry *, 32> Parents; member
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | VirtualFileSystem.cpp | 2289 for (Entry *Parent : Parents) in getPath() 2327 Result->Parents = std::move(Entries); in lookupPath()
|