LLVM: llvm::MallocAllocator Class Reference (original) (raw)

#include "[llvm/Support/AllocatorBase.h](AllocatorBase%5F8h%5Fsource.html)"

Inheritance diagram for llvm::MallocAllocator:

Public Member Functions
void Reset ()
LLVM_ATTRIBUTE_RETURNS_NONNULL void * Allocate (size_t Size, size_t Alignment)
void Deallocate (const void *Ptr, size_t Size, size_t Alignment)
void PrintStats () const
Public Member Functions inherited from llvm::AllocatorBase< MallocAllocator >
void * Allocate (size_t Size, size_t Alignment)
Allocate Size bytes of Alignment aligned memory.
void Deallocate (const void *Ptr, size_t Size, size_t Alignment)
Deallocate Ptr to Size bytes of memory allocated by this allocator.

Detailed Description

Definition at line 88 of file AllocatorBase.h.

Member Function Documentation

Allocate()

Deallocate()

void llvm::MallocAllocator::Deallocate ( const void * Ptr, size_t Size, size_t Alignment ) inline

PrintStats()

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

Reset()

void llvm::MallocAllocator::Reset ( ) inline

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