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 (const void *Ptr)
void PrintStats () const


Detailed Description

Definition at line 24 of file Allocator.h.


Constructor & Destructor Documentation

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

Definition at line 26 of file Allocator.h.

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

Definition at line 27 of file Allocator.h.


Member Function Documentation

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

Definition at line 29 of file Allocator.h.

void* llvm::MallocAllocator::Allocate ( size_t  Size,
size_t   
) [inline]

Definition at line 31 of file Allocator.h.

Referenced by llvm::MallocSlabAllocator::Allocate().

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

Definition at line 34 of file Allocator.h.

References T.

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

Definition at line 37 of file Allocator.h.

References T.

void llvm::MallocAllocator::Deallocate ( const void *  Ptr  )  [inline]

Definition at line 41 of file Allocator.h.

Referenced by llvm::MallocSlabAllocator::Deallocate().

void llvm::MallocAllocator::PrintStats (  )  const [inline]

Definition at line 43 of file Allocator.h.


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