Home
last modified time | relevance | path

Searched refs:BytesAllocated (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DAllocator.h39 void printBumpPtrAllocatorStats(unsigned NumSlabs, size_t BytesAllocated,
90 BytesAllocated(Old.BytesAllocated), RedZoneSize(Old.RedZoneSize) { in BumpPtrAllocatorImpl()
92 Old.BytesAllocated = 0; in BumpPtrAllocatorImpl()
108 BytesAllocated = RHS.BytesAllocated;
115 RHS.BytesAllocated = 0;
132 BytesAllocated = 0; in Reset()
150 BytesAllocated += Size; in Allocate()
290 size_t getBytesAllocated() const { return BytesAllocated; } in getBytesAllocated()
297 detail::printBumpPtrAllocatorStats(Slabs.size(), BytesAllocated, in PrintStats()
319 size_t BytesAllocated = 0; variable
H A DPerThreadBumpPtrAllocator.h87 size_t BytesAllocated = 0; in getBytesAllocated() local
90 BytesAllocated += Allocators[Idx].getBytesAllocated(); in getBytesAllocated()
92 return BytesAllocated; in getBytesAllocated()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAllocator.cpp20 void printBumpPtrAllocatorStats(unsigned NumSlabs, size_t BytesAllocated, in printBumpPtrAllocatorStats() argument
23 << "Bytes used: " << BytesAllocated << '\n' in printBumpPtrAllocatorStats()
25 << "Bytes wasted: " << (TotalMemory - BytesAllocated) in printBumpPtrAllocatorStats()