123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- #ifndef GCC_STOR_LAYOUT_H
- #define GCC_STOR_LAYOUT_H
- extern void set_min_and_max_values_for_integral_type (tree, int, signop);
- extern void fixup_signed_type (tree);
- extern void internal_reference_types (void);
- extern unsigned int update_alignment_for_field (record_layout_info, tree,
- unsigned int);
- extern record_layout_info start_record_layout (tree);
- extern tree bit_from_pos (tree, tree);
- extern tree byte_from_pos (tree, tree);
- extern void pos_from_bit (tree *, tree *, unsigned int, tree);
- extern void normalize_offset (tree *, tree *, unsigned int);
- extern tree rli_size_unit_so_far (record_layout_info);
- extern tree rli_size_so_far (record_layout_info);
- extern void normalize_rli (record_layout_info);
- extern void place_field (record_layout_info, tree);
- extern void compute_record_mode (tree);
- extern void finish_bitfield_layout (tree);
- extern void finish_record_layout (record_layout_info, int);
- extern unsigned int element_precision (const_tree);
- extern void finalize_size_functions (void);
- extern void fixup_unsigned_type (tree);
- extern void initialize_sizetypes (void);
- extern void finish_builtin_struct (tree, const char *, tree, tree);
- extern void layout_decl (tree, unsigned);
- extern void layout_type (tree);
- extern unsigned int min_align_of_type (tree);
- extern tree make_fract_type (int, int, int);
- extern tree make_accum_type (int, int, int);
- #define make_signed_fract_type(P) make_fract_type (P, 0, 0)
- #define make_unsigned_fract_type(P) make_fract_type (P, 1, 0)
- #define make_sat_signed_fract_type(P) make_fract_type (P, 0, 1)
- #define make_sat_unsigned_fract_type(P) make_fract_type (P, 1, 1)
- #define make_signed_accum_type(P) make_accum_type (P, 0, 0)
- #define make_unsigned_accum_type(P) make_accum_type (P, 1, 0)
- #define make_sat_signed_accum_type(P) make_accum_type (P, 0, 1)
- #define make_sat_unsigned_accum_type(P) make_accum_type (P, 1, 1)
- #define make_or_reuse_signed_fract_type(P) \
- make_or_reuse_fract_type (P, 0, 0)
- #define make_or_reuse_unsigned_fract_type(P) \
- make_or_reuse_fract_type (P, 1, 0)
- #define make_or_reuse_sat_signed_fract_type(P) \
- make_or_reuse_fract_type (P, 0, 1)
- #define make_or_reuse_sat_unsigned_fract_type(P) \
- make_or_reuse_fract_type (P, 1, 1)
- #define make_or_reuse_signed_accum_type(P) \
- make_or_reuse_accum_type (P, 0, 0)
- #define make_or_reuse_unsigned_accum_type(P) \
- make_or_reuse_accum_type (P, 1, 0)
- #define make_or_reuse_sat_signed_accum_type(P) \
- make_or_reuse_accum_type (P, 0, 1)
- #define make_or_reuse_sat_unsigned_accum_type(P) \
- make_or_reuse_accum_type (P, 1, 1)
- extern tree make_signed_type (int);
- extern tree make_unsigned_type (int);
- extern machine_mode mode_for_size_tree (const_tree, enum mode_class, int);
- extern tree bitwise_type_for_mode (machine_mode);
- extern void relayout_decl (tree);
- extern tree variable_size (tree);
- extern machine_mode vector_type_mode (const_tree);
- #endif
|