LLVM API Documentation
#include <Recycler.h>
Public Member Functions | |
| ~Recycler () | |
| template<class AllocatorType> | |
| void | clear (AllocatorType &Allocator) |
| template<class SubClass, class AllocatorType> | |
| SubClass * | Allocate (AllocatorType &Allocator) |
| template<class AllocatorType> | |
| T * | Allocate (AllocatorType &Allocator) |
| template<class SubClass, class AllocatorType> | |
| void | Deallocate (AllocatorType &, SubClass *Element) |
| void | PrintStats () |
Definition at line 59 of file Recycler.h.
| llvm::Recycler< T, Size, Align >::~Recycler | ( | ) | [inline] |
Definition at line 66 of file Recycler.h.
| void llvm::Recycler< T, Size, Align >::clear | ( | AllocatorType & | Allocator | ) | [inline] |
clear - Release all the tracked allocations to the allocator. The recycler must be free of any tracked allocations before being deleted; calling clear is one way to ensure this.
Definition at line 77 of file Recycler.h.
| SubClass* llvm::Recycler< T, Size, Align >::Allocate | ( | AllocatorType & | Allocator | ) | [inline] |
Definition at line 85 of file Recycler.h.
| T* llvm::Recycler< T, Size, Align >::Allocate | ( | AllocatorType & | Allocator | ) | [inline] |
Definition at line 96 of file Recycler.h.
| void llvm::Recycler< T, Size, Align >::Deallocate | ( | AllocatorType & | , | |
| SubClass * | Element | |||
| ) | [inline] |
Definition at line 101 of file Recycler.h.
| void llvm::Recycler< T, Size, Align >::PrintStats | ( | ) | [inline] |
Definition at line 105 of file Recycler.h.