Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DAllocator.h120 void printBumpPtrAllocatorStats(unsigned NumSlabs, size_t BytesAllocated,
161 BytesAllocated(Old.BytesAllocated), RedZoneSize(Old.RedZoneSize), in BumpPtrAllocatorImpl()
164 Old.BytesAllocated = 0; in BumpPtrAllocatorImpl()
180 BytesAllocated = RHS.BytesAllocated;
187 RHS.BytesAllocated = 0;
204 BytesAllocated = 0; in Reset()
219 BytesAllocated += Size; in Allocate()
350 size_t getBytesAllocated() const { return BytesAllocated; } in getBytesAllocated()
357 detail::printBumpPtrAllocatorStats(Slabs.size(), BytesAllocated, in PrintStats()
379 size_t BytesAllocated = 0; variable
/freebsd-12.1/contrib/llvm/lib/Support/
H A DAllocator.cpp21 void printBumpPtrAllocatorStats(unsigned NumSlabs, size_t BytesAllocated, in printBumpPtrAllocatorStats() argument
24 << "Bytes used: " << BytesAllocated << '\n' in printBumpPtrAllocatorStats()
26 << "Bytes wasted: " << (TotalMemory - BytesAllocated) in printBumpPtrAllocatorStats()