LLVM API Documentation
#include <Allocator.h>
Public Member Functions | |
| MallocAllocator () | |
| ~MallocAllocator () | |
| void | Reset () |
| void * | Allocate (size_t Size, size_t) |
| template<typename T> | |
| T * | Allocate () |
| template<typename T> | |
| T * | Allocate (size_t Num) |
| void | Deallocate (void *Ptr) |
| void | PrintStats () const |
Definition at line 22 of file Allocator.h.
| llvm::MallocAllocator::MallocAllocator | ( | ) | [inline] |
Definition at line 24 of file Allocator.h.
| llvm::MallocAllocator::~MallocAllocator | ( | ) | [inline] |
Definition at line 25 of file Allocator.h.
| void llvm::MallocAllocator::Reset | ( | ) | [inline] |
Definition at line 27 of file Allocator.h.
| void* llvm::MallocAllocator::Allocate | ( | size_t | Size, | |
| size_t | ||||
| ) | [inline] |
Definition at line 29 of file Allocator.h.
| T* llvm::MallocAllocator::Allocate | ( | ) | [inline] |
| T* llvm::MallocAllocator::Allocate | ( | size_t | Num | ) | [inline] |
| void llvm::MallocAllocator::Deallocate | ( | void * | Ptr | ) | [inline] |
Definition at line 39 of file Allocator.h.
| void llvm::MallocAllocator::PrintStats | ( | ) | const [inline] |
Definition at line 41 of file Allocator.h.