Home
last modified time | relevance | path

Searched refs:MemIndex (Results 1 – 18 of 18) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/index/
DMemIndex.cpp19 std::unique_ptr<SymbolIndex> MemIndex::build(SymbolSlab Slab, RefSlab Refs, in build()
24 return std::make_unique<MemIndex>(Data.first, Data.second, Relations, in build()
28 bool MemIndex::fuzzyFind( in fuzzyFind()
60 void MemIndex::lookup(const LookupRequest &Req, in lookup()
70 bool MemIndex::refs(const RefsRequest &Req, in refs()
91 void MemIndex::relations( in relations()
112 size_t MemIndex::estimateMemoryUsage() const { in estimateMemoryUsage()
DMemIndex.h19 class MemIndex : public SymbolIndex {
21 MemIndex() = default;
24 MemIndex(SymbolRange &&Symbols, RefRange &&Refs, RelationRange &&Relations) { in MemIndex() function
37 MemIndex(SymbolRange &&Symbols, RefRange &&Refs, RelationRange &&Relations, in MemIndex() function
39 : MemIndex(std::forward<SymbolRange>(Symbols), in MemIndex()
DFileIndex.cpp373 return std::make_unique<MemIndex>( in buildIndex()
412 PreambleIndex(std::make_unique<MemIndex>()), in FileIndex()
413 MainFileIndex(std::make_unique<MemIndex>()) {} in FileIndex()
DBackground.cpp97 : SwapIndex(std::make_unique<MemIndex>()), TFS(TFS), CDB(CDB), in BackgroundIndex()
DSerialization.cpp732 : MemIndex::build(std::move(Symbols), std::move(Refs), in loadIndex()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DIndexTests.cpp116 SwapIndex S(std::make_unique<MemIndex>(SymbolSlab(), RefSlab(), in TEST()
120 S.reset(std::make_unique<MemIndex>()); // Now the MemIndex is destroyed. in TEST()
130 MemIndex I(Symbols, RefSlab(), RelationSlab()); in TEST()
136 MemIndex::build(generateNumSymbols(0, 100), RefSlab(), RelationSlab()); in TEST()
149 auto I = MemIndex::build( in TEST()
161 auto I = MemIndex::build(generateSymbols({"a::y1", "b::y2", "y3"}), RefSlab(), in TEST()
170 auto I = MemIndex::build(generateSymbols({"a::y1", "b::y2", "y3"}), RefSlab(), in TEST()
179 auto I = MemIndex::build( in TEST()
189 auto I = MemIndex::build( in TEST()
199 auto I = MemIndex::build(generateSymbols({"a::y1", "a::b::y2"}), RefSlab(), in TEST()
[all …]
DProjectAwareIndexTests.cpp32 return MemIndex::build(std::move(Builder).build(), RefSlab(), RelationSlab()); in createIndex()
DHeaderSourceSwitchTests.cpp138 auto Index = MemIndex::build(std::move(AllSymbols).build(), {}, {}); in TEST()
DDiagnosticsTests.cpp727 return MemIndex::build(std::move(Slab).build(), RefSlab(), RelationSlab()); in buildIndexWithSymbol()
832 MemIndex::build(std::move(Slab).build(), RefSlab(), RelationSlab()); in TEST()
DHoverTests.cpp2030 MemIndex::build(std::move(Symbols).build(), RefSlab(), RelationSlab()); in TEST()
2085 MemIndex::build(std::move(Symbols).build(), RefSlab(), RelationSlab()); in TEST()
DBackgroundIndexTests.cpp693 : Target(std::make_unique<MemIndex>()), in BackgroundIndexRebuilderTest()
DXRefsTests.cpp1836 struct RecordingIndex : public MemIndex { in TEST()
DCodeCompleteTests.cpp97 return MemIndex::build(std::move(Slab).build(), RefSlab(), RelationSlab()); in memIndex()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DScalarizeMaskedMemIntrin.cpp622 unsigned MemIndex = 0; in scalarizeMaskedExpandLoad() local
626 Value *NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, MemIndex); in scalarizeMaskedExpandLoad()
631 ++MemIndex; in scalarizeMaskedExpandLoad()
732 unsigned MemIndex = 0; in scalarizeMaskedCompressStore() local
738 Value *NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, MemIndex); in scalarizeMaskedCompressStore()
740 ++MemIndex; in scalarizeMaskedCompressStore()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DScalarizeMaskedMemIntrin.cpp629 unsigned MemIndex = 0; in scalarizeMaskedExpandLoad() local
639 Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, MemIndex); in scalarizeMaskedExpandLoad()
643 ++MemIndex; in scalarizeMaskedExpandLoad()
748 unsigned MemIndex = 0; in scalarizeMaskedCompressStore() local
754 Value *NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, MemIndex); in scalarizeMaskedCompressStore()
756 ++MemIndex; in scalarizeMaskedCompressStore()
/external/llvm-project/llvm/utils/gn/secondary/clang-tools-extra/clangd/
DBUILD.gn119 "index/MemIndex.cpp",
/external/llvm-project/clang-tools-extra/clangd/
DCMakeLists.txt99 index/MemIndex.cpp
/external/llvm-project/clang-tools-extra/clangd/tool/
DClangdMain.cpp570 auto NewIndex = std::make_unique<SwapIndex>(std::make_unique<MemIndex>()); in loadExternalIndex()
761 StaticIdx.reset(Placeholder = new SwapIndex(std::make_unique<MemIndex>())); in main()