|
GCC Middle and Back End API Reference
|
#include <alloc-pool.h>


Public Member Functions | |
| object_allocator (const char *name CXX_MEM_STAT_INFO) | |
| void | release () |
| void | release_if_empty () |
| template<typename... Ts> | |
| ATTRIBUTE_MALLOC T * | allocate (Ts... args) |
| void * | allocate_raw () ATTRIBUTE_MALLOC |
| void | remove (T *object) |
| void | remove_raw (void *object) |
| size_t | num_elts_current () |
Private Attributes | |
| pool_allocator | m_allocator |
Type based memory pool allocator.
|
inline |
References CXX_MEM_STAT_INFO, m_allocator, and PASS_MEM_STAT.
Referenced by canon_relative_path_prefix(), initiate_invariants(), lto_reader_init(), and vect_slp_init().
|
inline |
References base_pool_allocator< TBlockAllocator >::allocate(), and m_allocator.
Referenced by df_grow_reg_info(), df_insn_create_insn_record(), df_ref_create_structure(), df_ref_record(), and optimize_constant_pool().
|
inline |
References base_pool_allocator< TBlockAllocator >::allocate(), and m_allocator.
|
inline |
References m_allocator, and base_pool_allocator< TBlockAllocator >::num_elts_current().
|
inline |
References m_allocator, and base_pool_allocator< TBlockAllocator >::release().
Referenced by optimize_constant_pool().
|
inline |
References m_allocator, and base_pool_allocator< TBlockAllocator >::release_if_empty().
|
inline |
|
inline |
References m_allocator, and base_pool_allocator< TBlockAllocator >::remove().
|
private |
Referenced by allocate(), allocate_raw(), num_elts_current(), object_allocator(), release(), release_if_empty(), remove(), and remove_raw().