
Go to the source code of this file.
Data Types | |
| type | alloc_pool_list_def |
| type | alloc_pool_def |
Typedefs | |
| typedef unsigned long | ALLOC_POOL_ID_TYPE |
| typedef struct alloc_pool_list_def * | alloc_pool_list |
| typedef struct alloc_pool_def * | alloc_pool |
Functions/Subroutines | |
| alloc_pool | create_alloc_pool (const char *, size_t, size_t) |
| 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 *) |
| void | dump_alloc_pool_statistics (void) |
| typedef struct alloc_pool_def * alloc_pool |
| typedef unsigned long ALLOC_POOL_ID_TYPE |
Definition at line 25 of file alloc-pool.h.
| typedef struct alloc_pool_list_def * alloc_pool_list |
| alloc_pool create_alloc_pool | ( | const char * | , | |
| size_t | , | |||
| size_t | ||||
| ) |
Definition at line 120 of file alloc-pool.c.
References align_eight, alloc_pool_def::block_list, alloc_pool_def::block_size, alloc_pool_def::blocks_allocated, alloc_pool_def::elt_size, alloc_pool_def::elts_allocated, alloc_pool_def::elts_free, alloc_pool_def::elts_per_block, alloc_pool_def::free_list, gcc_assert, last_id, alloc_pool_def::name, NULL, offsetof, pool, pool_size, and xmalloc().
Referenced by alloc_rbi_pool(), cselib_init(), df_alloc(), df_chain_alloc(), df_lr_alloc(), df_rd_alloc(), df_ru_alloc(), df_scan_alloc(), df_ur_alloc(), df_urec_alloc(), et_new_occ(), et_new_tree(), execute_cse_reciprocals(), init_alias_vars(), init_pre(), init_reassoc(), initialize_original_copy_tables(), sh_reorg(), and vt_initialize().
Definition at line 331 of file alloc-pool.c.
References fprintf(), and htab_traverse().
Referenced by finalize().
| void free_alloc_pool | ( | alloc_pool | ) |
Definition at line 185 of file alloc-pool.c.
References alloc_pool_def::block_list, alloc_pool_def::block_size, free(), gcc_assert, memset, alloc_pool_def::name, alloc_pool_list_def::next, and NULL.
Referenced by cselib_finish(), delete_points_to_sets(), df_chain_alloc(), df_chain_free(), df_chain_reset(), df_free(), df_lr_free(), df_rd_free(), df_ru_free(), df_scan_free_internal(), df_ur_free(), df_urec_free(), execute_cse_reciprocals(), fini_pre(), fini_reassoc(), free_alloc_pool_if_empty(), free_original_copy_tables(), free_rbi_pool(), sh_reorg(), and vt_finalize().
| void free_alloc_pool_if_empty | ( | alloc_pool * | ) |
Definition at line 212 of file alloc-pool.c.
References free_alloc_pool(), and NULL.
Referenced by et_free_pools().
| void* pool_alloc | ( | alloc_pool | ) |
Definition at line 212 of file alloc-pool.c.
References align_eight, ALLOCATION_OBJECT_PTR_FROM_USER_PTR, alloc_pool_def::block_list, alloc_pool_def::block_size, alloc_pool_def::blocks_allocated, alloc_pool_def::elt_size, alloc_pool_def::elts_allocated, alloc_pool_def::elts_free, alloc_pool_def::elts_per_block, alloc_pool_def::free_list, gcc_assert, i, alloc_pool_def::name, alloc_pool_list_def::next, USER_PTR_FROM_ALLOCATION_OBJECT_PTR, xmalloc(), and XNEWVEC.
Referenced by add_constant(), add_to_ops_vec(), attrs_list_copy(), attrs_list_insert(), bitmap_set_new(), create_value_expr_from(), df_bb_refs_record(), df_chain_create(), df_grow_reg_info(), df_insn_create_insn_record(), df_link_create(), df_lr_alloc(), df_rd_alloc(), df_ref_create(), df_ref_create_structure(), df_ref_record(), df_ru_alloc(), df_scan_alloc(), df_ur_alloc(), df_urec_alloc(), emit_notes_for_differences_1(), et_new_occ(), et_new_tree(), GTY(), initialize_bb_rbi(), insert_into_set(), insert_operand_rank(), new_constraint(), new_constraint_edge(), new_cselib_val(), new_elt_loc_list(), new_var_info(), occ_new(), phi_translate(), pool_copy_list(), poolify_tree(), set_bb_copy(), set_bb_original(), set_new(), set_variable_part(), unshare_variable(), variable_union(), and variable_was_changed().
| void pool_free | ( | alloc_pool | , | |
| void * | ||||
| ) |
Definition at line 277 of file alloc-pool.c.
References ALLOCATION_OBJECT_PTR_FROM_USER_PTR, alloc_pool_def::elt_size, alloc_pool_def::elts_allocated, alloc_pool_def::elts_free, alloc_pool_def::free_list, gcc_assert, memset, alloc_pool_list_def::next, and offsetof.
Referenced by attrs_list_clear(), clear_edges_for_node(), clobber_variable_part(), delete_variable_part(), df_chain_unlink(), df_insn_refs_delete(), df_lr_free_bb_info(), df_rd_free_bb_info(), df_reg_chain_unlink(), df_ru_free_bb_info(), df_scan_free_bb_info(), df_ur_free_bb_info(), df_urec_free_bb_info(), emit_note_insn_var_location(), et_free_tree(), et_free_tree_force(), et_split(), free_bb(), free_reg_ref_chain(), phi_translate(), set_remove(), set_variable_part(), unchain_one_elt_list(), unchain_one_elt_loc_list(), unchain_one_value(), var_reg_delete(), var_reg_delete_and_set(), var_regno_delete(), and variable_htab_free().
1.5.6