3 * File name: ir/common/firm_types.c
4 * Purpose: Definition of opaque firm types
8 * Copyright: (c) 1998-2005 Universität Karlsruhe
9 * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
11 #ifndef _FIRM_TYPES_H_
12 #define _FIRM_TYPES_H_
14 #ifndef _IDENT_TYPEDEF_
15 #define _IDENT_TYPEDEF_
16 typedef const struct _ident ident;
19 #ifndef _IR_NODE_TYPEDEF_
20 #define _IR_NODE_TYPEDEF_
21 typedef struct ir_node ir_node;
24 #ifndef _IR_OP_TYPEDEF_
25 #define _IR_OP_TYPEDEF_
26 typedef struct ir_op ir_op;
29 #ifndef _IR_MODE_TYPEDEF_
30 #define _IR_MODE_TYPEDEF_
31 typedef struct ir_mode ir_mode;
34 #ifndef _IR_EDGE_TYPEDEF_
35 #define _IR_EDGE_TYPEDEF_
36 typedef struct _ir_edge_t ir_edge_t;
39 #ifndef _IR_BLOCK_EDGE_TYPEDEF_
40 #define _IR_BLOCK_EDGE_TYPEDEF_
41 typedef struct _ir_block_edge_t ir_block_edge_t;
44 #ifndef _TARVAL_TYPEDEF_
45 #define _TARVAL_TYPEDEF_
46 typedef struct tarval tarval;
49 #ifndef _IR_TYPE_TYPEDEF_
50 #define _IR_TYPE_TYPEDEF_
51 typedef struct ir_type ir_type;
54 #ifndef _IR_GRAPH_TYPEDEF_
55 #define _IR_GRAPH_TYPEDEF_
56 typedef struct ir_graph ir_graph;
59 #ifndef _IR_LOOP_TYPEDEF_
60 #define _IR_LOOP_TYPEDEF_
61 typedef struct ir_loop ir_loop;
64 #ifndef _ENTITY_TYPEDEF_
65 #define _ENTITY_TYPEDEF_
66 typedef struct entity entity;
69 #ifndef _COMPOUND_GRAPH_PATH_TYPEDEF_
70 #define _COMPOUND_GRAPH_PATH_TYPEDEF_
71 typedef struct compound_graph_path compound_graph_path;
74 #ifndef _IR_EXTBB_TYPEDEF_
75 #define _IR_EXTBB_TYPEDEF_
76 typedef struct _ir_extblk ir_extblk;
79 #ifndef _IRG_WALK_FUNC_TYPEDEF_
80 #define _IRG_WALK_FUNC_TYPEDEF_
81 typedef void irg_walk_func(ir_node *, void *);
84 #ifndef _SEQNO_T_TYPEDEF_
85 #define _SEQNO_T_TYPEDEF_
86 typedef struct sn_entry *seqno_t;
89 #endif /* _FIRM_TYPES_H_ */