Searched refs:MemoryTree (Results 1 – 20 of 20) sorted by relevance
/external/llvm-project/clang-tools-extra/clangd/support/ |
D | MemoryTree.h | 32 struct MemoryTree { struct 35 MemoryTree(llvm::BumpPtrAllocator *DetailAlloc = nullptr) 41 MemoryTree &child(llvm::StringLiteral Name) { return createChild(Name); } in child() argument 43 MemoryTree(const MemoryTree &) = delete; 44 MemoryTree &operator=(const MemoryTree &) = delete; argument 46 MemoryTree(MemoryTree &&) = default; 47 MemoryTree &operator=(MemoryTree &&) = default; argument 53 MemoryTree &detail(llvm::StringRef Name) { in detail() argument 61 const llvm::DenseMap<llvm::StringRef, MemoryTree> &children() const; argument 72 MemoryTree &createChild(llvm::StringRef Name); argument [all …]
|
D | MemoryTree.cpp | 12 size_t traverseTree(const MemoryTree &MT, std::string &ComponentName, in traverseTree() 29 MemoryTree &MemoryTree::createChild(llvm::StringRef Name) { in createChild() 34 const llvm::DenseMap<llvm::StringRef, MemoryTree> & 35 MemoryTree::children() const { in children() 39 size_t MemoryTree::total() const { in total() 46 void record(const MemoryTree &MT, std::string RootName, in record()
|
D | CMakeLists.txt | 25 MemoryTree.cpp
|
/external/llvm-project/clang-tools-extra/clangd/unittests/support/ |
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()
|
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | FileIndex.h | 91 void profile(MemoryTree &MT) const; 122 void profile(MemoryTree &MT) const;
|
D | Background.h | 177 void profile(MemoryTree &MT) const;
|
D | FileIndex.cpp | 390 void FileSymbols::profile(MemoryTree &MT) const { in profile() 478 void FileIndex::profile(MemoryTree &MT) const { in profile()
|
D | Background.cpp | 418 void BackgroundIndex::profile(MemoryTree &MT) const { in profile()
|
/external/llvm-project/llvm/utils/gn/secondary/clang-tools-extra/clangd/support/ |
D | BUILD.gn | 17 "MemoryTree.cpp",
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | ClangdLSPServer.h | 74 void profile(MemoryTree &MT) const; 158 void onMemoryUsage(const NoParams &, Callback<MemoryTree>);
|
D | TUScheduler.h | 316 void profile(MemoryTree &MT) const;
|
D | ClangdServer.h | 349 void profile(MemoryTree &MT) const;
|
D | ClangdLSPServer.cpp | 1292 MemoryTree MT; in maybeExportMemoryProfile() 1440 Callback<MemoryTree> Reply) { in onMemoryUsage() 1442 MemoryTree MT(&DetailAlloc); in onMemoryUsage() 1526 void ClangdLSPServer::profile(MemoryTree &MT) const { in profile()
|
D | ClangdServer.cpp | 880 void ClangdServer::profile(MemoryTree &MT) const { in profile()
|
D | Protocol.h | 1687 llvm::json::Value toJSON(const MemoryTree &MT);
|
D | TUScheduler.cpp | 1433 void TUScheduler::profile(MemoryTree &MT) const { in profile()
|
D | Protocol.cpp | 1361 llvm::json::Value toJSON(const MemoryTree &MT) { in toJSON()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | FileIndexTests.cpp | 697 MemoryTree MT(&Alloc); in TEST() 719 MemoryTree MT(&Alloc); in TEST()
|
D | BackgroundIndexTests.cpp | 887 MemoryTree MT(&Alloc); in TEST()
|
D | ClangdTests.cpp | 1256 MemoryTree MT(&Alloc); in TEST()
|