GCC Middle and Back End API Reference
alloc-pool.h File Reference

Go to the source code of this file.

Data Structures

struct  alloc_pool_list_def
struct  alloc_pool_def

Typedefs

typedef unsigned long ALLOC_POOL_ID_TYPE
typedef struct
alloc_pool_list_def
alloc_pool_list
typedef struct alloc_pool_defalloc_pool

Functions

alloc_pool create_alloc_pool (const char *, size_t, size_t)
void free_alloc_pool (alloc_pool)
void empty_alloc_pool (alloc_pool)
void free_alloc_pool_if_empty (alloc_pool *)
void * pool_alloc (alloc_pool) ATTRIBUTE_MALLOC
void pool_free (alloc_pool, void *)
void dump_alloc_pool_statistics (void)

Typedef Documentation

typedef struct alloc_pool_def * alloc_pool
typedef unsigned long ALLOC_POOL_ID_TYPE

Function Documentation

alloc_pool create_alloc_pool ( const char *  ,
size_t  ,
size_t   
)
void dump_alloc_pool_statistics ( void  )
   Output per-alloc_pool memory usage statistics.  
void empty_alloc_pool ( alloc_pool  )
void free_alloc_pool ( alloc_pool  )
void free_alloc_pool_if_empty ( alloc_pool )
void* pool_alloc ( alloc_pool  )
void pool_free ( alloc_pool  ,
void *   
)