|
LLVM
7.0.0
|
#include "llvm/Support/Allocator.h"
Public Member Functions | |
| void | Reset () |
| LLVM_ATTRIBUTE_RETURNS_NONNULL void * | Allocate (size_t Size, size_t) |
| void | Deallocate (const void *Ptr, size_t) |
| 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. More... | |
| T * | Allocate (size_t Num=1) |
| Allocate space for a sequence of objects without constructing them. More... | |
| void | Deallocate (const void *Ptr, size_t Size) |
| Deallocate Ptr to Size bytes of memory allocated by this allocator. More... | |
| std::enable_if< !std::is_same< typename std::remove_cv< T >::type, void >::value, void >::type | Deallocate (T *Ptr, size_t Num=1) |
| Deallocate space for a sequence of objects without constructing them. More... | |
Definition at line 93 of file Allocator.h.
|
inline |
Definition at line 97 of file Allocator.h.
References llvm::safe_malloc().
Definition at line 105 of file Allocator.h.
|
inline |
Definition at line 112 of file Allocator.h.
References llvm::detail::printBumpPtrAllocatorStats().
|
inline |
Definition at line 95 of file Allocator.h.
1.8.13