| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | MemIndex.cpp | 17 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 D | MemIndex.h | 20 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 D | FileIndex.cpp | 385 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 D | Background.cpp | 94 : SwapIndex(std::make_unique<MemIndex>()), TFS(TFS), CDB(CDB), in BackgroundIndex()
|
| H A D | Serialization.cpp | 738 : MemIndex::build(std::move(Symbols), std::move(Refs), in loadIndex()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | IndexTests.cpp | 117 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 D | ProjectAwareIndexTests.cpp | 32 return MemIndex::build(std::move(Builder).build(), RefSlab(), RelationSlab()); in createIndex()
|
| H A D | HeaderSourceSwitchTests.cpp | 140 auto Index = MemIndex::build(std::move(AllSymbols).build(), {}, {}); 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 | 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 | BackgroundIndexTests.cpp | 686 : Source(IndexContents::All), Target(std::make_unique<MemIndex>()), in BackgroundIndexRebuilderTest()
|
| H A D | XRefsTests.cpp | 2354 struct RecordingIndex : public MemIndex { in TEST()
|
| H A D | CodeCompleteTests.cpp | 102 return MemIndex::build(std::move(Slab).build(), RefSlab(), RelationSlab()); in memIndex()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | ScalarizeMaskedMemIntrin.cpp | 658 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 D | M68kBaseInfo.h | 41 enum { MemDisp = 0, MemBase = 1, MemIndex = 2, MemOuter = 3 }; enumerator
|
| H A D | M68kInstPrinter.cpp | 187 printOperand(MI, opNum + M68k::MemIndex, O); in printARIIMem()
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang-tools-extra/clangd/ |
| H A D | BUILD.gn | 133 "index/MemIndex.cpp",
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | CMakeLists.txt | 116 index/MemIndex.cpp
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/tool/ |
| H A D | ClangdMain.cpp | 621 auto NewIndex = std::make_unique<SwapIndex>(std::make_unique<MemIndex>()); in loadExternalIndex()
|
| /llvm-project-15.0.7/clang/docs/tools/ |
| H A D | clang-formatted-files.txt | 1454 clang-tools-extra/clangd/index/MemIndex.h
|