X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Ffirm_types.h;h=9ec9bbc24d8d74a270cb60ec11eeda74c15e769a;hb=9ec98298a0bf99ccb9533365dd7245e0a380f3df;hp=265594f284bf60ba2e072b8bd170606e49e1a915;hpb=1debaa86f7001d785c92cb4e4343ce1900f2cd9d;p=libfirm diff --git a/include/libfirm/firm_types.h b/include/libfirm/firm_types.h index 265594f28..9ec9bbc24 100644 --- a/include/libfirm/firm_types.h +++ b/include/libfirm/firm_types.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -42,8 +42,9 @@ typedef unsigned long long ulong64; #endif /* _MSC_VER */ -typedef long ir_visited_t; +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; @@ -63,10 +64,32 @@ typedef struct compound_graph_path compound_graph_path, *ir_compound_graph_path typedef struct _ir_phase ir_phase, *ir_phase_ptr; typedef struct _ir_extblk ir_extblk, *ir_extblk_ptr; typedef struct ir_exec_freq ir_exec_freq, *ir_exec_freq_ptr; +typedef struct ir_cdep ir_cdep, *ir_cdep_ptr; typedef struct sn_entry *seqno_t; +typedef union ir_initializer_t ir_initializer_t, *ir_initializer_ptr; 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