X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Ffirm_types.h;h=4749ddab74051ec46aaa77e2622b911012d308e9;hb=5c29185ff3a42b50a593e0fcc4af7ed22f84eb41;hp=b73e400e9f58d5ecb94e806a12dca91c11f77282;hpb=1ec30d95387eb392ba5a1adc7958ebd91383d59c;p=libfirm diff --git a/include/libfirm/firm_types.h b/include/libfirm/firm_types.h index b73e400e9..4749ddab7 100644 --- a/include/libfirm/firm_types.h +++ b/include/libfirm/firm_types.h @@ -42,6 +42,10 @@ typedef unsigned long long ulong64; #endif /* _MSC_VER */ +typedef unsigned long ir_visited_t; +typedef unsigned long ir_exc_region_t; +typedef unsigned long ir_label_t; + typedef struct dbg_info dbg_info, *dbg_info_ptr; typedef const struct _ident ident, *ir_ident_ptr; typedef struct ir_node ir_node, *ir_node_ptr; @@ -62,8 +66,27 @@ typedef struct _ir_extblk ir_extblk, *ir_extblk_ptr; typedef struct ir_exec_freq ir_exec_freq, *ir_exec_freq_ptr; typedef struct sn_entry *seqno_t; - typedef void irg_walk_func(ir_node *, void *); typedef void irg_reg_walk_func(ir_region *, void *); +/* settings */ +typedef struct ir_settings_arch_dep_t ir_settings_arch_dep_t; +typedef struct ir_settings_if_conv_t ir_settings_if_conv_t; + +/* states */ + +/** The state of the interprocedural view. + * + * This value indicates the state of the interprocedural view. + */ +typedef enum { + ip_view_no, /**< The interprocedural view is not constructed. There are no + view specific nodes (EndReg, Filter, Break ...) in any graph. */ + ip_view_valid, /**< The interprocedural view is valid. */ + ip_view_invalid /**< The interprocedural view is invalid. Specific nodes are + all still in the representation, but the graph is no more complete. */ +} ip_view_state; + + + #endif