20#ifndef GCC_STOR_LAYOUT_H
21#define GCC_STOR_LAYOUT_H
69#define make_signed_fract_type(P) make_fract_type (P, 0, 0)
70#define make_unsigned_fract_type(P) make_fract_type (P, 1, 0)
71#define make_sat_signed_fract_type(P) make_fract_type (P, 0, 1)
72#define make_sat_unsigned_fract_type(P) make_fract_type (P, 1, 1)
73#define make_signed_accum_type(P) make_accum_type (P, 0, 0)
74#define make_unsigned_accum_type(P) make_accum_type (P, 1, 0)
75#define make_sat_signed_accum_type(P) make_accum_type (P, 0, 1)
76#define make_sat_unsigned_accum_type(P) make_accum_type (P, 1, 1)
78#define make_or_reuse_signed_fract_type(P) \
79 make_or_reuse_fract_type (P, 0, 0)
80#define make_or_reuse_unsigned_fract_type(P) \
81 make_or_reuse_fract_type (P, 1, 0)
82#define make_or_reuse_sat_signed_fract_type(P) \
83 make_or_reuse_fract_type (P, 0, 1)
84#define make_or_reuse_sat_unsigned_fract_type(P) \
85 make_or_reuse_fract_type (P, 1, 1)
86#define make_or_reuse_signed_accum_type(P) \
87 make_or_reuse_accum_type (P, 0, 0)
88#define make_or_reuse_unsigned_accum_type(P) \
89 make_or_reuse_accum_type (P, 1, 0)
90#define make_or_reuse_sat_signed_accum_type(P) \
91 make_or_reuse_accum_type (P, 0, 1)
92#define make_or_reuse_sat_unsigned_accum_type(P) \
93 make_or_reuse_accum_type (P, 1, 1)
const union tree_node * const_tree
Definition coretypes.h:98
union tree_node * tree
Definition coretypes.h:97
mode_class
Definition genmodes.cc:29
opt_mode< machine_mode > opt_machine_mode
Definition machmode.h:23
poly_int< NUM_POLY_INT_COEFFS, unsigned HOST_WIDE_INT > poly_uint64
Definition poly-int-types.h:25
signop
Definition signop.h:28
tree bitwise_type_for_mode(machine_mode mode)
Definition stor-layout.cc:462
void place_field(record_layout_info rli, tree field)
Definition stor-layout.cc:1285
void finalize_size_functions(void)
Definition stor-layout.cc:275
unsigned int update_alignment_for_field(record_layout_info rli, tree field, unsigned int known_align)
Definition stor-layout.cc:1065
record_layout_info start_record_layout(tree t)
Definition stor-layout.cc:872
opt_machine_mode bitwise_mode_for_size(poly_uint64 size)
Definition stor-layout.cc:484
void layout_decl(tree decl, unsigned int known_align)
Definition stor-layout.cc:661
tree variable_size(tree size)
Definition stor-layout.cc:67
void layout_type(tree type)
Definition stor-layout.cc:2437
tree make_signed_type(int precision)
Definition stor-layout.cc:2842
void finish_bitfield_layout(tree t)
Definition stor-layout.cc:2233
tree byte_from_pos(tree offset, tree bitpos)
Definition stor-layout.cc:952
tree rli_size_so_far(record_layout_info rli)
Definition stor-layout.cc:1054
tree rli_size_unit_so_far(record_layout_info rli)
Definition stor-layout.cc:1046
tree make_fract_type(int precision, int unsignedp, int satp)
Definition stor-layout.cc:2869
void finish_record_layout(record_layout_info rli, int free_p)
Definition stor-layout.cc:2320
void normalize_rli(record_layout_info rli)
Definition stor-layout.cc:1038
void set_min_and_max_values_for_integral_type(tree type, int precision, signop sgn)
Definition stor-layout.cc:2995
opt_machine_mode mode_for_size_tree(const_tree size, enum mode_class mclass, int limit)
Definition stor-layout.cc:327
tree make_unsigned_type(int precision)
Definition stor-layout.cc:2855
void normalize_offset(tree *poffset, tree *pbitpos, unsigned int off_align)
Definition stor-layout.cc:994
unsigned int min_align_of_type(tree type)
Definition stor-layout.cc:2821
tree make_accum_type(int precision, int unsignedp, int satp)
Definition stor-layout.cc:2891
void pos_from_bit(tree *poffset, tree *pbitpos, unsigned int off_align, tree pos)
Definition stor-layout.cc:967
void fixup_signed_type(tree type)
Definition stor-layout.cc:3018
void finish_builtin_struct(tree type, const char *name, tree fields, tree align_type)
Definition stor-layout.cc:2368
void compute_array_mode(tree type)
Definition stor-layout.cc:2402
tree bit_from_pos(tree offset, tree bitpos)
Definition stor-layout.cc:941
void compute_record_mode(tree type)
Definition stor-layout.cc:1872
void initialize_sizetypes(void)
Definition stor-layout.cc:2912
void fixup_unsigned_type(tree type)
Definition stor-layout.cc:3033
void relayout_decl(tree decl)
Definition stor-layout.cc:852