| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | Relation.h | 50 class RelationSlab { 56 RelationSlab() = default; 57 RelationSlab(RelationSlab &&Slab) = default; 58 RelationSlab &operator=(RelationSlab &&RHS) = default; 81 RelationSlab build() &&; 88 RelationSlab(std::vector<Relation> Relations) in RelationSlab() function
|
| H A D | Relation.cpp | 30 llvm::iterator_range<RelationSlab::iterator> 31 RelationSlab::lookup(const SymbolID &Subject, RelationKind Predicate) const { in lookup() 41 RelationSlab RelationSlab::Builder::build() && { in build() 49 return RelationSlab{std::move(Relations)}; in build()
|
| H A D | FileIndex.h | 79 std::unique_ptr<RelationSlab> Relations, bool CountReferences); 104 llvm::StringMap<std::shared_ptr<RelationSlab>> RelationsSnapshot; 154 using SlabTuple = std::tuple<SymbolSlab, RefSlab, RelationSlab>;
|
| H A D | FileIndex.cpp | 213 RelationSlab::Builder RelB; in getShard() 247 std::unique_ptr<RelationSlab> Relations, in update() 274 std::vector<std::shared_ptr<RelationSlab>> RelationSlabs; in buildIndex() 364 for (const auto &RelationSlab : RelationSlabs) { in buildIndex() local 365 for (const auto &R : *RelationSlab) in buildIndex() 438 std::make_unique<RelationSlab>(std::move(*IF->Relations)), in updatePreamble() 474 std::make_unique<RelationSlab>(std::move(std::get<2>(Contents))), in updateMain()
|
| H A D | Serialization.h | 45 llvm::Optional<RelationSlab> Relations; 58 const RelationSlab *Relations = nullptr;
|
| H A D | IndexAction.cpp | 133 std::function<void(RelationSlab)> RelationsCallback, in IndexAction() 201 std::function<void(RelationSlab)> RelationsCallback; 216 std::function<void(RelationSlab)> RelationsCallback, in createStaticIndexingAction()
|
| H A D | SymbolCollector.h | 127 RelationSlab takeRelations() { return std::move(Relations).build(); } in takeRelations() 165 RelationSlab::Builder Relations;
|
| H A D | IndexAction.h | 30 std::function<void(RelationSlab)> RelationsCallback,
|
| H A D | Background.cpp | 246 std::make_unique<RelationSlab>(std::move(*IF->Relations)), in update() 311 [&](RelationSlab R) { Index.Relations = std::move(R); }, in index() 384 ? std::make_unique<RelationSlab>(std::move(*LS.Shard->Relations)) in loadProject()
|
| H A D | MemIndex.h | 63 RelationSlab Relations);
|
| H A D | MemIndex.cpp | 18 RelationSlab Relations) { in build()
|
| H A D | Serialization.cpp | 529 RelationSlab::Builder Relations; in readRIFF() 715 RelationSlab Relations; in loadIndex()
|
| H A D | YAMLSerialization.cpp | 425 RelationSlab::Builder Relations; in readYAML()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | IndexTests.cpp | 80 TEST(RelationSlab, Lookup) { in TEST() argument 86 RelationSlab::Builder Builder; in TEST() 98 TEST(RelationSlab, Duplicates) { in TEST() argument 103 RelationSlab::Builder Builder; in TEST() 152 RefSlab(), RelationSlab()); in TEST() 163 RelationSlab()); in TEST() 172 RelationSlab()); in TEST() 182 RelationSlab()); in TEST() 192 RelationSlab()); in TEST() 201 RelationSlab()); in TEST() [all …]
|
| H A D | DexTests.cpp | 479 RelationSlab()); in TEST() 492 RefSlab(), RelationSlab()); in TEST() 529 RefSlab(), RelationSlab()); in TEST() 540 RelationSlab()); in TEST() 583 RelationSlab()); in TEST() 592 RelationSlab()); in TEST() 602 RefSlab(), RelationSlab()); in TEST() 621 RelationSlab()); in TEST() 641 RelationSlab()); in TEST() 651 RelationSlab()); in TEST() [all …]
|
| H A D | ProjectAwareIndexTests.cpp | 32 return MemIndex::build(std::move(Builder).build(), RefSlab(), RelationSlab()); in createIndex()
|
| H A D | FileIndexTests.cpp | 94 std::unique_ptr<RelationSlab> relSlab(llvm::ArrayRef<const Relation> Rels) { in relSlab() 95 RelationSlab::Builder RelBuilder; in relSlab() 98 return std::make_unique<RelationSlab>(std::move(RelBuilder).build()); in relSlab() 603 RelationSlab::Builder B; in TEST()
|
| H A D | DiagnosticsTests.cpp | 1074 return MemIndex::build(std::move(Slab).build(), RefSlab(), RelationSlab()); in buildIndexWithSymbol() 1133 MemIndex::build(std::move(Slab).build(), RefSlab(), RelationSlab()); in TEST() 1177 MemIndex::build(std::move(Slab).build(), RefSlab(), RelationSlab()); in TEST() 1498 MemIndex::build(std::move(Slab).build(), RefSlab(), RelationSlab()); in TEST()
|
| H A D | IndexActionTests.cpp | 82 [&](RelationSlab R) { IndexFile.Relations = std::move(R); }, in __anonae56ce760402()
|
| H A D | SerializationTests.cpp | 208 std::vector<std::string> yamlFromRelations(const RelationSlab &Slab) { in yamlFromRelations()
|
| H A D | HoverTests.cpp | 2597 MemIndex::build(std::move(Symbols).build(), RefSlab(), RelationSlab()); in TEST() 2654 MemIndex::build(std::move(Symbols).build(), RefSlab(), RelationSlab()); in TEST()
|
| H A D | SymbolCollectorTests.cpp | 325 RelationSlab Relations;
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/indexer/ |
| H A D | IndexerMain.cpp | 78 [&](RelationSlab S) { in create() 113 RelationSlab::Builder Relations;
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/dex/ |
| H A D | Dex.h | 76 static std::unique_ptr<SymbolIndex> build(SymbolSlab, RefSlab, RelationSlab);
|
| H A D | Dex.cpp | 35 RelationSlab Rels) { in build()
|