LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
llvm::MallocSlabAllocator Class Reference

#include <Allocator.h>

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

Public Member Functions

 MallocSlabAllocator ()
 
virtual ~MallocSlabAllocator ()
 
virtual MemSlabAllocate (size_t Size) LLVM_OVERRIDE
 
virtual void Deallocate (MemSlab *Slab) LLVM_OVERRIDE
 
- Public Member Functions inherited from llvm::SlabAllocator
virtual ~SlabAllocator ()
 

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 74 of file Allocator.h.

Constructor & Destructor Documentation

llvm::MallocSlabAllocator::MallocSlabAllocator ( )
inline

Definition at line 80 of file Allocator.h.

llvm::MallocSlabAllocator::~MallocSlabAllocator ( )
virtual

Definition at line 176 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 185 of file Allocator.cpp.

References llvm::MallocAllocator::Deallocate().


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