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.h40 size_t BytesAllocated,
91 BytesAllocated(Old.BytesAllocated), RedZoneSize(Old.RedZoneSize) { in BumpPtrAllocatorImpl()
93 Old.BytesAllocated = 0; in BumpPtrAllocatorImpl()
109 BytesAllocated = RHS.BytesAllocated;
116 RHS.BytesAllocated = 0;
133 BytesAllocated = 0; in Reset()
151 BytesAllocated += Size; in Allocate()
298 size_t getBytesAllocated() const { return BytesAllocated; } in getBytesAllocated()
305 detail::printBumpPtrAllocatorStats(Slabs.size(), BytesAllocated, in PrintStats()
327 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()