Next: Adding new DECL node types, Up: Internal structure
struct tree_decl_minimal
DECL
macros to work. The fields it contains are a unique ID,
source location, context, and name.
struct tree_decl_common
struct tree_decl_minimal
. It
contains fields that most DECL
nodes need, such as a field to
store alignment, machine mode, size, and attributes.
struct tree_field_decl
struct tree_decl_common
. It is
used to represent FIELD_DECL
.
struct tree_label_decl
struct tree_decl_common
. It is
used to represent LABEL_DECL
.
struct tree_translation_unit_decl
struct tree_decl_common
. It is
used to represent TRANSLATION_UNIT_DECL
.
struct tree_decl_with_rtl
struct tree_decl_common
. It
contains a field to store the low-level RTL associated with a
DECL
node.
struct tree_result_decl
struct tree_decl_with_rtl
. It is
used to represent RESULT_DECL
.
struct tree_const_decl
struct tree_decl_with_rtl
. It is
used to represent CONST_DECL
.
struct tree_parm_decl
struct tree_decl_with_rtl
. It is
used to represent PARM_DECL
.
struct tree_decl_with_vis
struct tree_decl_with_rtl
. It
contains fields necessary to store visibility information, as well as
a section name and assembler name.
struct tree_var_decl
struct tree_decl_with_vis
. It is
used to represent VAR_DECL
.
struct tree_function_decl
struct tree_decl_with_vis
. It is
used to represent FUNCTION_DECL
.