| /llvm-project-15.0.7/clang-tools-extra/clangd/support/ |
| H A D | MemoryTree.h | 30 struct MemoryTree { struct 33 MemoryTree(llvm::BumpPtrAllocator *DetailAlloc = nullptr) 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 79 llvm::DenseMap<llvm::StringRef, MemoryTree> Children; 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 | 24 MemoryTree.cpp
|
| /llvm-project-15.0.7/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-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | FileIndex.h | 90 void profile(MemoryTree &MT) const; 123 void profile(MemoryTree &MT) const;
|
| H A D | Background.h | 180 void profile(MemoryTree &MT) const;
|
| H A D | FileIndex.cpp | 402 void FileSymbols::profile(MemoryTree &MT) const { in profile() 494 void FileIndex::profile(MemoryTree &MT) const { in profile()
|
| H A D | Background.cpp | 420 void BackgroundIndex::profile(MemoryTree &MT) const { in profile()
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang-tools-extra/clangd/support/ |
| H A D | BUILD.gn | 17 "MemoryTree.cpp",
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | ClangdLSPServer.h | 77 void profile(MemoryTree &MT) const; 169 void onMemoryUsage(const NoParams &, Callback<MemoryTree>);
|
| H A D | TUScheduler.h | 357 void profile(MemoryTree &MT) const;
|
| H A D | ClangdServer.h | 403 void profile(MemoryTree &MT) const;
|
| H A D | ClangdLSPServer.cpp | 1362 MemoryTree MT; in maybeExportMemoryProfile() 1541 Callback<MemoryTree> Reply) { in onMemoryUsage() 1543 MemoryTree MT(&DetailAlloc); in onMemoryUsage() 1656 void ClangdLSPServer::profile(MemoryTree &MT) const { in profile()
|
| H A D | Protocol.h | 1809 llvm::json::Value toJSON(const MemoryTree &MT);
|
| H A D | ClangdServer.cpp | 1055 void ClangdServer::profile(MemoryTree &MT) const { in profile()
|
| H A D | TUScheduler.cpp | 1833 void TUScheduler::profile(MemoryTree &MT) const { in profile()
|
| H A D | Protocol.cpp | 1459 llvm::json::Value toJSON(const MemoryTree &MT) { in toJSON()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | FileIndexTests.cpp | 694 MemoryTree MT(&Alloc); in TEST() 716 MemoryTree MT(&Alloc); in TEST()
|
| H A D | BackgroundIndexTests.cpp | 905 MemoryTree MT(&Alloc); in TEST()
|
| H A D | ClangdTests.cpp | 1255 MemoryTree MT(&Alloc); in TEST()
|
| /llvm-project-15.0.7/clang/docs/tools/ |
| H A D | clang-formatted-files.txt | 1515 clang-tools-extra/clangd/support/MemoryTree.cpp 1516 clang-tools-extra/clangd/support/MemoryTree.h
|