/llvm-project/clang-tools-extra/clangd/support/ |
H A D | MemoryTree.h | 30 struct MemoryTree { struct 33 MemoryTree(llvm::BumpPtrAllocator *DetailAlloc = nullptr) 39 MemoryTree &child(llvm::StringLiteral Name) { return createChild(Name); } in child() argument 41 MemoryTree(const MemoryTree &) = delete; 42 MemoryTree &operator=(const MemoryTree &) = delete; argument 44 MemoryTree(MemoryTree &&) = default; 45 MemoryTree &operator=(MemoryTree &&) = default; argument 51 MemoryTree &detail(llvm::StringRef Name) { in detail() argument 59 const llvm::DenseMap<llvm::StringRef, MemoryTree> &children() const; argument 70 MemoryTree &createChild(llvm::StringRef Name); argument [all …]
|
H A D | MemoryTree.cpp | 19 size_t traverseTree(const MemoryTree &MT, std::string &ComponentName, in traverseTree() 36 MemoryTree &MemoryTree::createChild(llvm::StringRef Name) { in createChild() 41 const llvm::DenseMap<llvm::StringRef, MemoryTree> & 42 MemoryTree::children() const { in children() 46 size_t MemoryTree::total() const { in total() 53 void record(const MemoryTree &MT, std::string RootName, in record()
|
H A D | CMakeLists.txt | 27 MemoryTree.cpp
|
/llvm-project/clang-tools-extra/clangd/unittests/support/ |
H A D | MemoryTreeTests.cpp | 30 TEST(MemoryTree, Basics) { in TEST() argument 31 MemoryTree MT; in TEST() 49 TEST(MemoryTree, DetailedNodesWithoutDetails) { in TEST() argument 50 MemoryTree MT; in TEST() 61 TEST(MemoryTree, DetailedNodesWithDetails) { in TEST() argument 63 MemoryTree MT(&Alloc); in TEST() 80 TEST(MemoryTree, Record) { in TEST() argument 85 auto AddNodes = [](MemoryTree Root) { in TEST() 106 record(AddNodes(MemoryTree(&Alloc)), "root", OutMetric); in TEST()
|
/llvm-project/clang-tools-extra/clangd/index/ |
H A D | FileIndex.h | 26 #include "support/MemoryTree.h" 90 void profile(MemoryTree &MT) const; 125 void profile(MemoryTree &MT) const;
|
H A D | Background.h | 19 #include "support/MemoryTree.h" 184 void profile(MemoryTree &MT) const;
|
H A D | FileIndex.cpp | 25 #include "support/MemoryTree.h" 403 void FileSymbols::profile(MemoryTree &MT) const { in profile() 496 void FileIndex::profile(MemoryTree &MT) const { in profile()
|
H A D | Background.cpp | 423 void BackgroundIndex::profile(MemoryTree &MT) const { in profile()
|
/llvm-project/utils/bazel/llvm-project-overlay/clang-tools-extra/clangd/ |
H A D | BUILD.bazel | 43 "support/MemoryTree.cpp", 59 "support/MemoryTree.h",
|
/llvm-project/llvm/utils/gn/secondary/clang-tools-extra/clangd/support/ |
H A D | BUILD.gn | 20 "MemoryTree.cpp",
|
/llvm-project/clang-tools-extra/clangd/ |
H A D | ClangdLSPServer.h | 19 #include "support/MemoryTree.h" 86 void profile(MemoryTree &MT) const; 180 void onMemoryUsage(const NoParams &, Callback<MemoryTree>);
|
H A D | TUScheduler.h | 18 #include "support/MemoryTree.h" 360 void profile(MemoryTree &MT) const;
|
H A D | ClangdServer.h | 30 #include "support/MemoryTree.h" 470 void profile(MemoryTree &MT) const;
|
H A D | ClangdLSPServer.cpp | 26 #include "support/MemoryTree.h" 1449 MemoryTree MT; 1630 Callback<MemoryTree> Reply) { 1632 MemoryTree MT(&DetailAlloc); in ClangdLSPServer() 1749 void ClangdLSPServer::profile(MemoryTree &MT) const { in getDiagRef()
|
H A D | Protocol.h | 28 #include "support/MemoryTree.h" 1992 llvm::json::Value toJSON(const MemoryTree &MT);
|
H A D | ClangdServer.cpp | 35 #include "support/MemoryTree.h" 1172 void ClangdServer::profile(MemoryTree &MT) const {
|
H A D | TUScheduler.cpp | 61 #include "support/MemoryTree.h" 1864 void TUScheduler::profile(MemoryTree &MT) const { in profile()
|
H A D | Protocol.cpp | 1677 llvm::json::Value toJSON(const MemoryTree &MT) { in operator <<()
|
/llvm-project/clang-tools-extra/clangd/unittests/ |
H A D | FileIndexTests.cpp | 726 MemoryTree MT(&Alloc); in TEST() 748 MemoryTree MT(&Alloc); in TEST()
|
H A D | BackgroundIndexTests.cpp | 908 MemoryTree MT(&Alloc); in TEST()
|
H A D | ClangdTests.cpp | 21 #include "support/MemoryTree.h" 1256 MemoryTree MT(&Alloc); in TEST()
|