Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DMemIndex.cpp17 std::unique_ptr<SymbolIndex> MemIndex::build(SymbolSlab Slab, RefSlab Refs, in build()
22 return std::make_unique<MemIndex>(Data.first, Data.second, Relations, in build()
26 bool MemIndex::fuzzyFind( in fuzzyFind()
58 void MemIndex::lookup(const LookupRequest &Req, in lookup()
68 bool MemIndex::refs(const RefsRequest &Req, in refs()
88 void MemIndex::relations( in relations()
109 MemIndex::indexedFiles() const { in indexedFiles()
115 size_t MemIndex::estimateMemoryUsage() const { in estimateMemoryUsage()
H A DMemIndex.h20 class MemIndex : public SymbolIndex {
22 MemIndex() = default;
25 MemIndex(SymbolRange &&Symbols, RefRange &&Refs, RelationRange &&Relations) { in MemIndex() function
38 MemIndex(SymbolRange &&Symbols, RefRange &&Refs, RelationRange &&Relations, in MemIndex() function
40 : MemIndex(std::forward<SymbolRange>(Symbols), in MemIndex()
50 MemIndex(SymbolRange &&Symbols, RefRange &&Refs, RelationRange &&Relations, in MemIndex() function
53 : MemIndex(std::forward<SymbolRange>(Symbols), in MemIndex()
H A DFileIndex.cpp385 return std::make_unique<MemIndex>( in buildIndex()
424 PreambleIndex(std::make_unique<MemIndex>()), in FileIndex()
426 MainFileIndex(std::make_unique<MemIndex>()) {} in FileIndex()
H A DBackground.cpp94 : SwapIndex(std::make_unique<MemIndex>()), TFS(TFS), CDB(CDB), in BackgroundIndex()
H A DSerialization.cpp738 : MemIndex::build(std::move(Symbols), std::move(Refs), in loadIndex()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DIndexTests.cpp117 SwapIndex S(std::make_unique<MemIndex>(SymbolSlab(), RefSlab(), in TEST()
121 S.reset(std::make_unique<MemIndex>()); // Now the MemIndex is destroyed. in TEST()
131 MemIndex I(Symbols, RefSlab(), RelationSlab()); in TEST()
150 auto I = MemIndex::build( in TEST()
180 auto I = MemIndex::build( in TEST()
190 auto I = MemIndex::build( in TEST()
278 auto I = MemIndex::build(generateSymbols({"ns::A", "ns::B"}), RefSlab(), in TEST()
280 J = MemIndex::build(generateSymbols({"ns::B", "ns::C"}), RefSlab(), in TEST()
523 MemIndex DynIndex(std::move(DynData.first), std::move(DynData.second), in TEST()
531 MemIndex StaticIndex( in TEST()
[all …]
H A DProjectAwareIndexTests.cpp32 return MemIndex::build(std::move(Builder).build(), RefSlab(), RelationSlab()); in createIndex()
H A DHeaderSourceSwitchTests.cpp140 auto Index = MemIndex::build(std::move(AllSymbols).build(), {}, {}); in TEST()
H A DDiagnosticsTests.cpp1074 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 DHoverTests.cpp2597 MemIndex::build(std::move(Symbols).build(), RefSlab(), RelationSlab()); in TEST()
2654 MemIndex::build(std::move(Symbols).build(), RefSlab(), RelationSlab()); in TEST()
H A DBackgroundIndexTests.cpp686 : Source(IndexContents::All), Target(std::make_unique<MemIndex>()), in BackgroundIndexRebuilderTest()
H A DXRefsTests.cpp2354 struct RecordingIndex : public MemIndex { in TEST()
H A DCodeCompleteTests.cpp102 return MemIndex::build(std::move(Slab).build(), RefSlab(), RelationSlab()); in memIndex()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DScalarizeMaskedMemIntrin.cpp658 unsigned MemIndex = 0; in scalarizeMaskedExpandLoad() local
668 Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, MemIndex); in scalarizeMaskedExpandLoad()
672 ++MemIndex; in scalarizeMaskedExpandLoad()
781 unsigned MemIndex = 0; in scalarizeMaskedCompressStore() local
787 Value *NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, MemIndex); in scalarizeMaskedCompressStore()
789 ++MemIndex; in scalarizeMaskedCompressStore()
/llvm-project-15.0.7/llvm/lib/Target/M68k/MCTargetDesc/
H A DM68kBaseInfo.h41 enum { MemDisp = 0, MemBase = 1, MemIndex = 2, MemOuter = 3 }; enumerator
H A DM68kInstPrinter.cpp187 printOperand(MI, opNum + M68k::MemIndex, O); in printARIIMem()
/llvm-project-15.0.7/llvm/utils/gn/secondary/clang-tools-extra/clangd/
H A DBUILD.gn133 "index/MemIndex.cpp",
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DCMakeLists.txt116 index/MemIndex.cpp
/llvm-project-15.0.7/clang-tools-extra/clangd/tool/
H A DClangdMain.cpp621 auto NewIndex = std::make_unique<SwapIndex>(std::make_unique<MemIndex>()); in loadExternalIndex()
/llvm-project-15.0.7/clang/docs/tools/
H A Dclang-formatted-files.txt1454 clang-tools-extra/clangd/index/MemIndex.h