llvm::MallocSlabAllocator Class Reference

MallocSlabAllocator - The default slab allocator for the bump allocator is an adapter class for MallocAllocator that just forwards the method calls and translates the arguments. More...

#include <Allocator.h>

Inheritance diagram for llvm::MallocSlabAllocator:
llvm::SlabAllocator

List of all members.

Public Member Functions

 MallocSlabAllocator ()
virtual ~MallocSlabAllocator ()
virtual MemSlabAllocate (size_t Size)
virtual void Deallocate (MemSlab *Slab)

Private Attributes

MallocAllocator Allocator
 Allocator - The underlying allocator that we forward to.

Detailed Description

MallocSlabAllocator - The default slab allocator for the bump allocator is an adapter class for MallocAllocator that just forwards the method calls and translates the arguments.


Constructor & Destructor Documentation

llvm::MallocSlabAllocator::MallocSlabAllocator (  )  [inline]
llvm::MallocSlabAllocator::~MallocSlabAllocator (  )  [virtual]

Member Function Documentation

MemSlab * llvm::MallocSlabAllocator::Allocate ( size_t  Size  )  [virtual]

Implements llvm::SlabAllocator.

void llvm::MallocSlabAllocator::Deallocate ( MemSlab Slab  )  [virtual]

Implements llvm::SlabAllocator.


Member Data Documentation

Allocator - The underlying allocator that we forward to.


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

Generated on 2 Nov 2013 for Galois by  doxygen 1.6.1