|
LLVM 24.0.0git
|
#include "llvm/Support/AllocatorBase.h"
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. | |
Definition at line 89 of file AllocatorBase.h.
|
inline |
Definition at line 93 of file AllocatorBase.h.
References llvm::allocate_buffer(), LLVM_ATTRIBUTE_RETURNS_NONNULL, and llvm::Size.
Referenced by llvm::BumpPtrAllocatorImpl< MallocAllocator, 65536 >::AllocateSlow().
Definition at line 100 of file AllocatorBase.h.
References llvm::deallocate_buffer(), and llvm::Size.
|
inline |
Definition at line 107 of file AllocatorBase.h.
|
inline |
Definition at line 91 of file AllocatorBase.h.