Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/
DAllocator.h43 void printBumpPtrAllocatorStats(unsigned NumSlabs, size_t BytesAllocated,
92 BytesAllocated(Old.BytesAllocated), RedZoneSize(Old.RedZoneSize) { in BumpPtrAllocatorImpl()
94 Old.BytesAllocated = 0; in BumpPtrAllocatorImpl()
110 BytesAllocated = RHS.BytesAllocated;
117 RHS.BytesAllocated = 0;
134 BytesAllocated = 0; in Reset()
147 BytesAllocated += Size; in Allocate()
285 size_t getBytesAllocated() const { return BytesAllocated; } in getBytesAllocated()
292 detail::printBumpPtrAllocatorStats(Slabs.size(), BytesAllocated, in PrintStats()
314 size_t BytesAllocated = 0; variable
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/
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()