3 * File name: ir/common/firm_types.c
4 * Purpose: Definition of opaque firm types
8 * Copyright: (c) 1998-2007 Universität Karlsruhe
9 * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
11 #ifndef _FIRM_TYPES_H_
12 #define _FIRM_TYPES_H_
15 typedef __int64 long64;
16 typedef unsigned __int64 ulong64;
19 #define ULL_FMT "ui64"
22 typedef long long long64;
23 typedef unsigned long long ulong64;
30 #ifndef _IDENT_TYPEDEF_
31 #define _IDENT_TYPEDEF_
32 typedef const struct _ident ident, *ir_ident_ptr;
35 #ifndef _IR_NODE_TYPEDEF_
36 #define _IR_NODE_TYPEDEF_
37 typedef struct ir_node ir_node, *ir_node_ptr;
40 #ifndef _IR_OP_TYPEDEF_
41 #define _IR_OP_TYPEDEF_
42 typedef struct ir_op ir_op, *ir_op_ptr;
45 #ifndef _IR_MODE_TYPEDEF_
46 #define _IR_MODE_TYPEDEF_
47 typedef struct ir_mode ir_mode, *ir_mode_ptr;
50 #ifndef _IR_EDGE_TYPEDEF_
51 #define _IR_EDGE_TYPEDEF_
52 typedef struct _ir_edge_t ir_edge_t, *ir_edge_ptr;
55 #ifndef _TARVAL_TYPEDEF_
56 #define _TARVAL_TYPEDEF_
57 typedef struct tarval tarval, *ir_tarval_ptr;
60 #ifndef _IR_ENUM_CONST_TYPEDEF_
61 #define _IR_ENUM_CONST_TYPEDEF_
62 typedef struct ir_enum_const ir_enum_const, *ir_enum_const_ptr;
65 #ifndef _IR_TYPE_TYPEDEF_
66 #define _IR_TYPE_TYPEDEF_
67 typedef struct ir_type ir_type, *ir_type_ptr;
70 #ifndef _IR_GRAPH_TYPEDEF_
71 #define _IR_GRAPH_TYPEDEF_
72 typedef struct ir_graph ir_graph, *ir_graph_ptr;
75 #ifndef _IR_LOOP_TYPEDEF_
76 #define _IR_LOOP_TYPEDEF_
77 typedef struct ir_loop ir_loop, *ir_loop_ptr;
80 #ifndef _IR_REGION_TYPEDEF_
81 #define _IR_REGION_TYPEDEF_
82 typedef struct ir_region ir_region, *ir_region_ptr;
85 #ifndef _IR_REG_TREE_TYPEDEF_
86 #define _IR_REG_TREE_TYPEDEF_
87 typedef struct ir_reg_tree ir_reg_tree, *ir_reg_tree_ptr;
90 #ifndef _ENTITY_TYPEDEF_
91 #define _ENTITY_TYPEDEF_
92 typedef struct ir_entity ir_entity, *ir_entity_ptr;
95 #ifndef _COMPOUND_GRAPH_PATH_TYPEDEF_
96 #define _COMPOUND_GRAPH_PATH_TYPEDEF_
97 typedef struct compound_graph_path compound_graph_path, *ir_compound_graph_path_ptr;
100 #ifndef _IR_PHASE_TYPEDEF_
101 #define _IR_PHASE_TYPEDEF_
102 typedef struct _ir_phase ir_phase, *ir_phase_ptr;
105 #ifndef _IR_EXTBB_TYPEDEF_
106 #define _IR_EXTBB_TYPEDEF_
107 typedef struct _ir_extblk ir_extblk, *ir_extblk_ptr;
110 #ifndef _IRG_WALK_FUNC_TYPEDEF_
111 #define _IRG_WALK_FUNC_TYPEDEF_
112 typedef void irg_walk_func(ir_node *, void *);
115 #ifndef _IRG_REG_WALK_FUNC_TYPEDEF_
116 #define _IRG_REG_WALK_FUNC_TYPEDEF_
117 typedef void irg_reg_walk_func(ir_region *, void *);
120 #ifndef _SEQNO_T_TYPEDEF_
121 #define _SEQNO_T_TYPEDEF_
122 typedef struct sn_entry *seqno_t;
125 #ifndef _EXECFREQ_TYPEDEF
126 #define _EXECFREQ_TYPEDEF
127 typedef struct ir_exec_freq ir_exec_freq, *ir_exec_freq_ptr;
130 #endif /* _FIRM_TYPES_H_ */