| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | AllocatorTest.cpp | 174 EXPECT_EQ(SlabSize, Alloc.getTotalMemory()); in TEST() 178 EXPECT_EQ(SlabSize * 3, Alloc.getTotalMemory()); in TEST() 180 EXPECT_EQ(SlabSize * 3, Alloc.getTotalMemory()); in TEST() 187 EXPECT_EQ(SlabSize * 7, Alloc.getTotalMemory()); in TEST() 204 EXPECT_EQ(SlabSize * GrowthDelay, Alloc.getTotalMemory()); in TEST() 208 EXPECT_EQ(SlabSize * GrowthDelay + SlabSize * 2, Alloc.getTotalMemory()); in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | ParsedAST.cpp | 735 Total += AST.Idents.getAllocator().getTotalMemory(); in getUsedBytes() 736 Total += AST.Selectors.getTotalMemory(); in getUsedBytes() 746 Total += PP.getTotalMemory(); in getUsedBytes() 748 Total += PRec->getTotalMemory(); in getUsedBytes() 749 Total += PP.getHeaderSearchInfo().getTotalMemory(); in getUsedBytes()
|
| H A D | Preamble.cpp | 101 Stats->BuildSize += AST.Idents.getAllocator().getTotalMemory(); in AfterExecute() 102 Stats->BuildSize += AST.Selectors.getTotalMemory(); in AfterExecute() 110 Stats->BuildSize += PP.getTotalMemory(); in AfterExecute() 112 Stats->BuildSize += PRec->getTotalMemory(); in AfterExecute() 113 Stats->BuildSize += PP.getHeaderSearchInfo().getTotalMemory(); in AfterExecute()
|
| H A D | TUScheduler.cpp | 298 size_t Usage = Arena.getTotalMemory() + StringMapHeap(MainToFirst) + in updateMemoryUsage()
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/include/clang-pseudo/ |
| H A D | GLR.h | 97 size_t bytes() const { return Arena.getTotalMemory() + sizeof(*this); } in bytes()
|
| /llvm-project-15.0.7/clang/include/clang/Lex/ |
| H A D | PPConditionalDirectiveRecord.h | 68 size_t getTotalMemory() const;
|
| H A D | PreprocessingRecord.h | 408 size_t getTotalMemory() const;
|
| H A D | HeaderSearch.h | 865 size_t getTotalMemory() const;
|
| H A D | Preprocessor.h | 2061 size_t getTotalMemory() const;
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Allocator.h | 281 size_t getTotalMemory() const { in getTotalMemory() function 298 getTotalMemory()); in PrintStats()
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | PPConditionalDirectiveRecord.cpp | 139 size_t PPConditionalDirectiveRecord::getTotalMemory() const { in getTotalMemory() function in PPConditionalDirectiveRecord
|
| H A D | PreprocessingRecord.cpp | 528 size_t PreprocessingRecord::getTotalMemory() const { in getTotalMemory() function in PreprocessingRecord 529 return BumpAlloc.getTotalMemory() in getTotalMemory()
|
| H A D | Preprocessor.cpp | 301 llvm::errs() << "\nPreprocessor Memory: " << getTotalMemory() << "B total"; in PrintStats() 303 llvm::errs() << "\n BumpPtr: " << BP.getTotalMemory(); in PrintStats() 333 size_t Preprocessor::getTotalMemory() const { in getTotalMemory() function in Preprocessor 334 return BP.getTotalMemory() in getTotalMemory()
|
| H A D | HeaderSearch.cpp | 1451 size_t HeaderSearch::getTotalMemory() const { in getTotalMemory() function in HeaderSearch 1455 + LookupFileCache.getAllocator().getTotalMemory() in getTotalMemory() 1456 + FrameworkMap.getAllocator().getTotalMemory(); in getTotalMemory()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | Symbol.h | 194 return sizeof(*this) + Arena.getTotalMemory() + in bytes()
|
| H A D | Ref.h | 127 return sizeof(*this) + Arena.getTotalMemory() + in bytes()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | IdentifierTable.cpp | 708 size_t SelectorTable::getTotalMemory() const { in getTotalMemory() function in SelectorTable 710 return SelTabImpl.Allocator.getTotalMemory(); in getTotalMemory()
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | ConstString.cpp | 167 stats.bytes_total += alloc.getTotalMemory(); in GetMemoryStats()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | IdentifierTable.h | 922 size_t getTotalMemory() const;
|
| H A D | SourceManager.h | 1577 return ContentCacheAlloc.getTotalMemory(); in getContentCacheSize()
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | StringRefTest.cpp | 989 EXPECT_EQ(Alloc.getTotalMemory(), 0u); in TEST()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndex.cpp | 8997 (unsigned long)astContext.Idents.getAllocator().getTotalMemory()); in clang_getCXTUResourceUsage() 9002 (unsigned long)astContext.Selectors.getTotalMemory()); in clang_getCXTUResourceUsage() 9013 completionBytes = completionAllocator->getTotalMemory(); in clang_getCXTUResourceUsage() 9053 pp.getTotalMemory()); in clang_getCXTUResourceUsage() 9058 pRec->getTotalMemory()); in clang_getCXTUResourceUsage() 9063 pp.getHeaderSearchInfo().getTotalMemory()); in clang_getCXTUResourceUsage()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ASTContext.h | 762 return BumpAlloc.getTotalMemory(); in getASTAllocatedMemory()
|