LLVM API Documentation

llvm::MallocAllocator Class Reference

#include <Allocator.h>

List of all members.

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


Detailed Description

Definition at line 22 of file Allocator.h.


Constructor & Destructor Documentation

llvm::MallocAllocator::MallocAllocator (  )  [inline]

Definition at line 24 of file Allocator.h.

llvm::MallocAllocator::~MallocAllocator (  )  [inline]

Definition at line 25 of file Allocator.h.


Member Function Documentation

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.

template<typename T>
T* llvm::MallocAllocator::Allocate (  )  [inline]

Definition at line 32 of file Allocator.h.

References T.

template<typename T>
T* llvm::MallocAllocator::Allocate ( size_t  Num  )  [inline]

Definition at line 35 of file Allocator.h.

References T.

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.


The documentation for this class was generated from the following file: