Home
last modified time | relevance | path

Searched refs:SymbolIndex (Results 1 – 25 of 92) sorted by relevance

1234

/llvm-project-15.0.7/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYTargetStreamer.h50 } SymbolIndex; typedef
55 DenseMap<SymbolIndex, const MCExpr *> ConstantMap;
77 template <> struct DenseMapInfo<CSKYTargetStreamer::SymbolIndex> {
78 static inline CSKYTargetStreamer::SymbolIndex getEmptyKey() {
81 static inline CSKYTargetStreamer::SymbolIndex getTombstoneKey() {
84 static unsigned getHashValue(const CSKYTargetStreamer::SymbolIndex &V) {
88 static bool isEqual(const CSKYTargetStreamer::SymbolIndex &A,
89 const CSKYTargetStreamer::SymbolIndex &B) {
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DXRefs.h54 const SymbolIndex *Index = nullptr);
64 const SymbolIndex *Index, const std::string &MainFilePath,
102 const SymbolIndex *Index);
113 const SymbolIndex *Index = nullptr);
128 const SymbolIndex *Index = nullptr, PathRef TUPath = PathRef{});
133 superTypes(const TypeHierarchyItem &Item, const SymbolIndex *Index);
136 const SymbolIndex *Index);
140 const SymbolIndex *Index);
147 incomingCalls(const CallHierarchyItem &Item, const SymbolIndex *Index);
H A DFindSymbols.h22 class SymbolIndex; variable
44 const SymbolIndex *const Index, llvm::StringRef HintPath);
H A DFeatureModule.h27 class SymbolIndex; variable
77 const SymbolIndex *Index;
128 const SymbolIndex *index() { return facilities().Index; } in index()
H A DIncludeFixer.h36 const SymbolIndex &Index, unsigned IndexRequestLimit) in IncludeFixer()
77 const SymbolIndex &Index;
/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/
H A DClient.cpp47 class IndexClient : public clangd::SymbolIndex {
58 remote::v1::SymbolIndex::Stub::*)(grpc::ClientContext *,
121 : Stub(remote::v1::SymbolIndex::NewStub(Channel)), Channel(Channel), in IndexClient()
133 streamRPC(Request, &remote::v1::SymbolIndex::Stub::Lookup, Callback); in lookup()
139 return streamRPC(Request, &remote::v1::SymbolIndex::Stub::FuzzyFind, in fuzzyFind()
146 return streamRPC(Request, &remote::v1::SymbolIndex::Stub::Refs, Callback); in refs()
153 streamRPC(Request, &remote::v1::SymbolIndex::Stub::Relations, in relations()
174 std::unique_ptr<remote::v1::SymbolIndex::Stub> Stub;
185 std::unique_ptr<clangd::SymbolIndex> getClient(llvm::StringRef Address, in getClient()
189 return std::unique_ptr<clangd::SymbolIndex>( in getClient()
H A DService.proto15 // Semantics of SymbolIndex match clangd::SymbolIndex with all required
17 service SymbolIndex { service
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DIndex.h113 class SymbolIndex {
115 virtual ~SymbolIndex() = default;
163 class SwapIndex : public SymbolIndex {
166 SwapIndex(std::unique_ptr<SymbolIndex> Index = nullptr)
168 void reset(std::unique_ptr<SymbolIndex>);
188 std::shared_ptr<SymbolIndex> snapshot() const;
190 std::shared_ptr<SymbolIndex> Index;
H A DMerge.h26 class MergedIndex : public SymbolIndex {
27 const SymbolIndex *Dynamic, *Static;
32 MergedIndex(const SymbolIndex *Dynamic, const SymbolIndex *Static) in MergedIndex()
H A DProjectAware.cpp27 class ProjectAwareIndex : public SymbolIndex {
60 SymbolIndex *getIndex() const;
65 std::unique_ptr<SymbolIndex>>
122 SymbolIndex *ProjectAwareIndex::getIndex() const { in getIndex()
135 std::unique_ptr<SymbolIndex> createProjectAwareIndex(IndexFactory Gen, in createProjectAwareIndex()
H A DProjectAware.h24 using IndexFactory = std::function<std::unique_ptr<SymbolIndex>(
32 std::unique_ptr<SymbolIndex> createProjectAwareIndex(IndexFactory, bool Sync);
H A DIndex.cpp16 void SwapIndex::reset(std::unique_ptr<SymbolIndex> Index) { in reset()
18 std::shared_ptr<SymbolIndex> Pin; in reset()
25 std::shared_ptr<SymbolIndex> SwapIndex::snapshot() const { in snapshot()
/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/
H A DSymbolIndex.h21 class SymbolIndex {
23 virtual ~SymbolIndex() = default;
H A DSymbolIndexManager.h35 void addSymbolIndex(std::function<std::unique_ptr<SymbolIndex>()> F) { in addSymbolIndex()
59 std::vector<std::shared_future<std::unique_ptr<SymbolIndex>>> SymbolIndices;
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DSyncAPI.h57 SymbolSlab runFuzzyFind(const SymbolIndex &Index, StringRef Query);
58 SymbolSlab runFuzzyFind(const SymbolIndex &Index, const FuzzyFindRequest &Req);
59 RefSlab getRefs(const SymbolIndex &Index, SymbolID ID);
H A DTestIndex.h57 std::vector<std::string> match(const SymbolIndex &I,
62 std::vector<std::string> lookup(const SymbolIndex &I,
H A DTestTU.h64 const SymbolIndex *ExternalIndex = nullptr;
93 std::unique_ptr<SymbolIndex> index() const;
H A DSyncAPI.cpp124 SymbolSlab runFuzzyFind(const SymbolIndex &Index, llvm::StringRef Query) { in runFuzzyFind()
131 SymbolSlab runFuzzyFind(const SymbolIndex &Index, const FuzzyFindRequest &Req) { in runFuzzyFind()
137 RefSlab getRefs(const SymbolIndex &Index, SymbolID ID) { in getRefs()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/
H A DRename.h20 class SymbolIndex; variable
43 const SymbolIndex *Index = nullptr;
H A DTweak.h50 Selection(const SymbolIndex *Index, ParsedAST &AST, unsigned RangeBegin,
56 const SymbolIndex *Index = nullptr;
/llvm-project-15.0.7/clang-tools-extra/clangd/index/dex/dexp/
H A DDexp.cpp64 const SymbolIndex *Index) { in getSymbolIDsFromIndex()
98 const SymbolIndex *Index;
103 const SymbolIndex &Index) { in parseAndRun()
373 std::unique_ptr<SymbolIndex> openIndex(llvm::StringRef Index) { in openIndex()
380 bool runCommand(std::string Request, const SymbolIndex &Index) { in runCommand()
432 std::unique_ptr<SymbolIndex> Index; in main()
/llvm-project-15.0.7/llvm/test/Object/
H A Dyaml2obj-readobj.test15 # COFF-I386-NEXT: SymbolIndex: 5
21 # COFF-I386-NEXT: SymbolIndex: 6
27 # COFF-I386-NEXT: SymbolIndex: 7
/llvm-project-15.0.7/clang-tools-extra/clangd/benchmarks/
H A DIndexBenchmark.cpp25 std::unique_ptr<SymbolIndex> buildMem() { in buildMem()
30 std::unique_ptr<SymbolIndex> buildDex() { in buildDex()
/llvm-project-15.0.7/llvm/lib/Object/
H A DArchive.cpp975 Offset = read32be(Offsets + SymbolIndex * 4); in getMember()
977 Offset = read64be(Offsets + SymbolIndex * 8); in getMember()
985 Offset = read32le(Offsets + SymbolIndex * 8 + 4); in getMember()
993 Offset = read64le(Offsets + SymbolIndex * 16 + 8); in getMember()
1000 if (SymbolIndex >= SymbolCount) in getMember()
1008 uint16_t OffsetIndex = read16le(Indices + SymbolIndex * 2); in getMember()
1048 if (t.SymbolIndex + 1 < RanlibCount) { in getNext()
1052 CurRanStrx = read32le(Ranlibs + t.SymbolIndex * 8); in getNext()
1053 NextRanStrx = read32le(Ranlibs + (t.SymbolIndex + 1) * 8); in getNext()
1061 ++t.SymbolIndex; in getNext()
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DArchive.h294 uint32_t SymbolIndex; variable
299 : Parent(p), SymbolIndex(symi), StringIndex(stri) {} in Symbol()
302 return (Parent == other.Parent) && (SymbolIndex == other.SymbolIndex);

1234