LLVM API Documentation
#include <RecyclingAllocator.h>

Public Member Functions | |
| ~RecyclingAllocator () | |
| template<class SubClass > | |
| SubClass * | Allocate () |
| T * | Allocate () |
| template<class SubClass > | |
| void | Deallocate (SubClass *E) |
| void | PrintStats () |
RecyclingAllocator - This class wraps an Allocator, adding the functionality of recycling deleted objects.
Definition at line 27 of file RecyclingAllocator.h.
| llvm::RecyclingAllocator< AllocatorType, T, Size, Align >::~RecyclingAllocator | ( | ) | [inline] |
Definition at line 38 of file RecyclingAllocator.h.
| SubClass* llvm::RecyclingAllocator< AllocatorType, T, Size, Align >::Allocate | ( | ) | [inline] |
Allocate - Return a pointer to storage for an object of type SubClass. The storage may be either newly allocated or recycled.
Definition at line 44 of file RecyclingAllocator.h.
| T* llvm::RecyclingAllocator< AllocatorType, T, Size, Align >::Allocate | ( | ) | [inline] |
Definition at line 46 of file RecyclingAllocator.h.
| void llvm::RecyclingAllocator< AllocatorType, T, Size, Align >::Deallocate | ( | SubClass * | E | ) | [inline] |
Deallocate - Release storage for the pointed-to object. The storage will be kept track of and may be recycled.
Definition at line 52 of file RecyclingAllocator.h.
| void llvm::RecyclingAllocator< AllocatorType, T, Size, Align >::PrintStats | ( | ) | [inline] |
Definition at line 54 of file RecyclingAllocator.h.