Movatterモバイル変換


[0]ホーム

URL:


Next:, Up:Internal structure   [Contents][Index]


10.4.2.1 Current structure hierarchy

struct tree_decl_minimal

This is the minimal structure to inherit from in order for commonDECL macros to work. The fields it contains are a unique ID,source location, context, and name.

struct tree_decl_common

This structure inherits fromstruct tree_decl_minimal. Itcontains fields that mostDECL nodes need, such as a field tostore alignment, machine mode, size, and attributes.

struct tree_field_decl

This structure inherits fromstruct tree_decl_common. It isused to representFIELD_DECL.

struct tree_label_decl

This structure inherits fromstruct tree_decl_common. It isused to representLABEL_DECL.

struct tree_translation_unit_decl

This structure inherits fromstruct tree_decl_common. It isused to representTRANSLATION_UNIT_DECL.

struct tree_decl_with_rtl

This structure inherits fromstruct tree_decl_common. Itcontains a field to store the low-level RTL associated with aDECL node.

struct tree_result_decl

This structure inherits fromstruct tree_decl_with_rtl. It isused to representRESULT_DECL.

struct tree_const_decl

This structure inherits fromstruct tree_decl_with_rtl. It isused to representCONST_DECL.

struct tree_parm_decl

This structure inherits fromstruct tree_decl_with_rtl. It isused to representPARM_DECL.

struct tree_decl_with_vis

This structure inherits fromstruct tree_decl_with_rtl. Itcontains fields necessary to store visibility information, as well asa section name and assembler name.

struct tree_var_decl

This structure inherits fromstruct tree_decl_with_vis. It isused to representVAR_DECL.

struct tree_function_decl

This structure inherits fromstruct tree_decl_with_vis. It isused to representFUNCTION_DECL.


Next:Adding new DECL node types, Up:Internal structure   [Contents][Index]


[8]ページ先頭

©2009-2026 Movatter.jp