X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Ffirm_types.h;h=3eb801e04d000f95fd6b9cf94c3ea064d3d83713;hb=fa9c992b5f23e7a059ac91fdd04b409b951ebcc4;hp=e0028d53d208ea500a61c5538bb0b585ddf2c372;hpb=e7ba741cdd9599ce05d7989bff60a1c6137ee0b5;p=libfirm diff --git a/include/libfirm/firm_types.h b/include/libfirm/firm_types.h index e0028d53d..3eb801e04 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. * @@ -26,24 +26,9 @@ #ifndef FIRM_COMMON_FIRM_TYPES_H #define FIRM_COMMON_FIRM_TYPES_H -#ifdef _MSC_VER -typedef __int64 long64; -typedef unsigned __int64 ulong64; - -#define LL_FMT "i64" -#define ULL_FMT "ui64" - -#else -typedef long long long64; -typedef unsigned long long ulong64; - -#define LL_FMT "ll" -#define ULL_FMT "llu" - -#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; @@ -63,7 +48,11 @@ 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 struct arch_irn_ops_t arch_irn_ops_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 *); @@ -72,4 +61,20 @@ typedef void irg_reg_walk_func(ir_region *, void *); 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