Home
last modified time | relevance | path

Searched refs:getTotalMemory (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/Support/
H A DAllocatorTest.cpp174 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 DParsedAST.cpp735 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 DPreamble.cpp101 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 DTUScheduler.cpp298 size_t Usage = Arena.getTotalMemory() + StringMapHeap(MainToFirst) + in updateMemoryUsage()
/llvm-project-15.0.7/clang-tools-extra/pseudo/include/clang-pseudo/
H A DGLR.h97 size_t bytes() const { return Arena.getTotalMemory() + sizeof(*this); } in bytes()
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DPPConditionalDirectiveRecord.h68 size_t getTotalMemory() const;
H A DPreprocessingRecord.h408 size_t getTotalMemory() const;
H A DHeaderSearch.h865 size_t getTotalMemory() const;
H A DPreprocessor.h2061 size_t getTotalMemory() const;
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DAllocator.h281 size_t getTotalMemory() const { in getTotalMemory() function
298 getTotalMemory()); in PrintStats()
/llvm-project-15.0.7/clang/lib/Lex/
H A DPPConditionalDirectiveRecord.cpp139 size_t PPConditionalDirectiveRecord::getTotalMemory() const { in getTotalMemory() function in PPConditionalDirectiveRecord
H A DPreprocessingRecord.cpp528 size_t PreprocessingRecord::getTotalMemory() const { in getTotalMemory() function in PreprocessingRecord
529 return BumpAlloc.getTotalMemory() in getTotalMemory()
H A DPreprocessor.cpp301 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 DHeaderSearch.cpp1451 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 DSymbol.h194 return sizeof(*this) + Arena.getTotalMemory() + in bytes()
H A DRef.h127 return sizeof(*this) + Arena.getTotalMemory() + in bytes()
/llvm-project-15.0.7/clang/lib/Basic/
H A DIdentifierTable.cpp708 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 DConstString.cpp167 stats.bytes_total += alloc.getTotalMemory(); in GetMemoryStats()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DIdentifierTable.h922 size_t getTotalMemory() const;
H A DSourceManager.h1577 return ContentCacheAlloc.getTotalMemory(); in getContentCacheSize()
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DStringRefTest.cpp989 EXPECT_EQ(Alloc.getTotalMemory(), 0u); in TEST()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp8997 (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 DASTContext.h762 return BumpAlloc.getTotalMemory(); in getASTAllocatedMemory()