LLVM API Documentation

llvm::MallocSlabAllocator Class Reference

#include <Allocator.h>

Inheritance diagram for llvm::MallocSlabAllocator:
[legend]
Collaboration diagram for llvm::MallocSlabAllocator:
[legend]

List of all members.

Public Member Functions

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


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.

Definition at line 69 of file Allocator.h.


Constructor & Destructor Documentation

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

Definition at line 75 of file Allocator.h.

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

Definition at line 150 of file Allocator.cpp.


Member Function Documentation

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

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

Implements llvm::SlabAllocator.

Definition at line 159 of file Allocator.cpp.

References llvm::MallocAllocator::Deallocate().


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