#include "config.h"#include "system.h"#include "coretypes.h"#include "tm.h"#include "errors.h"#include "varray.h"#include "ggc.h"#include "hashtab.h"

Go to the source code of this file.
Defines | |
| #define | VARRAY_HDR_SIZE (sizeof (struct varray_head_tag) - sizeof (varray_data)) |
Functions/Subroutines | |
| varray_type | varray_init (size_t num_elements, enum varray_data_enum element_kind, const char *name) |
| varray_type | varray_grow (varray_type va, size_t n) |
| void | varray_clear (varray_type va) |
| void | dump_varray_statistics (void) |
Variables | |
| type { | |
| unsigned char size | |
| bool uses_ggc | |
| } | element [NUM_VARRAY_DATA] |
| #define VARRAY_HDR_SIZE (sizeof (struct varray_head_tag) - sizeof (varray_data)) |
| void varray_clear | ( | varray_type | va | ) |
| varray_type varray_grow | ( | varray_type | va, | |
| size_t | n | |||
| ) |
Definition at line 151 of file varray.c.
References data_size, element, ggc_realloc, memset, VARRAY_HDR_SIZE, varray_type, and xrealloc().
| varray_type varray_init | ( | size_t | num_elements, | |
| enum varray_data_enum | element_kind, | |||
| const char * | name | |||
| ) |
Definition at line 125 of file varray.c.
References data_size, element, ggc_alloc_cleared, ptr, uses_ggc, VARRAY_HDR_SIZE, varray_type, and xcalloc().
struct { ... } element[NUM_VARRAY_DATA] [static] |
Referenced by _bfd_generic_link_add_archive_symbols(), arm_emit_vector_const(), bitmap_clear(), bitmap_element_allocate(), bitmap_find_bit(), build_message_expr(), Compute_Split_Regions(), Consistent_Layout(), digest_init(), GOTO_TABLE::Dismantle(), GTABLE::Dismantle(), dom_opt_finalize_block(), ecoff_link_add_archive_symbols(), elf_link_add_archive_symbols(), HASH_TABLE< unsigned int, WN_PAIR * >::Enter(), USER_HASH_TABLE< KEY_TYPE, DATA_TYPE, HASH_FUNC, KEY_EQ >::Enter(), HASH_TABLE< SIG_TYPE, DATA_TYPE >::Enter_If_Unique(), eq_descriptor_extension(), fei_control_list(), ffebit_count(), ffebit_set(), ffebit_test(), ffecom_arrayref_(), ffecom_tree_canonize_ref_(), finish_struct(), Get_Align(), Get_Size(), IPA_LNO_Map_Node(), layout_type(), lookup_avail_expr(), Map_Field_To_STs(), phi_arg_index_from_use(), Process_Common_Element(), PRQ_Downheap(), PRQ_Upheap(), pushdecl(), record_cond(), record_range(), simplify_cond_and_lookup_avail_expr(), Split_Individual_Common(), Update_reference_count(), varray_clear(), varray_grow(), varray_init(), HASH_TABLE< unsigned int, WN_PAIR * >::~HASH_TABLE(), and USER_HASH_TABLE< KEY_TYPE, DATA_TYPE, HASH_FUNC, KEY_EQ >::~USER_HASH_TABLE().
1.5.6