X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fcommon%2Ffirm_types.h;h=1a207b313619a30cd5daaa86edbc698d46e1f77a;hb=9b0957659c22d223a11d75df3df3478b188850e2;hp=1c21701ae3095fc38b338940c27873f81e9501e3;hpb=48bc3df3c1542a509f14a13f7a8cc28ea21d312d;p=libfirm diff --git a/ir/common/firm_types.h b/ir/common/firm_types.h index 1c21701ae..1a207b313 100644 --- a/ir/common/firm_types.h +++ b/ir/common/firm_types.h @@ -11,11 +11,36 @@ #ifndef _FIRM_TYPES_H_ #define _FIRM_TYPES_H_ +#ifndef _IDENT_TYPEDEF_ +#define _IDENT_TYPEDEF_ +typedef const struct _ident ident; +#endif + #ifndef _IR_NODE_TYPEDEF_ #define _IR_NODE_TYPEDEF_ typedef struct ir_node ir_node; #endif +#ifndef _IR_OP_TYPEDEF_ +#define _IR_OP_TYPEDEF_ +typedef struct ir_op ir_op; +#endif + +#ifndef _IR_MODE_TYPEDEF_ +#define _IR_MODE_TYPEDEF_ +typedef struct ir_mode ir_mode; +#endif + +#ifndef _IR_EDGE_TYPEDEF_ +#define _IR_EDGE_TYPEDEF_ +typedef struct _ir_edge_t ir_edge_t; +#endif + +#ifndef _IR_BLOCK_EDGE_TYPEDEF_ +#define _IR_BLOCK_EDGE_TYPEDEF_ +typedef struct _ir_block_edge_t ir_block_edge_t; +#endif + #ifndef _TARVAL_TYPEDEF_ #define _TARVAL_TYPEDEF_ typedef struct tarval tarval; @@ -23,7 +48,12 @@ typedef struct tarval tarval; #ifndef _TYPE_TYPEDEF_ #define _TYPE_TYPEDEF_ -typedef struct type type; +typedef struct ir_type type; +#endif + +#ifndef _IR_TYPE_TYPEDEF_ +#define _IR_TYPE_TYPEDEF_ +typedef struct ir_type ir_type; #endif #ifndef _IR_GRAPH_TYPEDEF_ @@ -31,14 +61,34 @@ typedef struct type type; typedef struct ir_graph ir_graph; #endif +#ifndef _IR_LOOP_TYPEDEF_ +#define _IR_LOOP_TYPEDEF_ +typedef struct ir_loop ir_loop; +#endif + #ifndef _ENTITY_TYPEDEF_ #define _ENTITY_TYPEDEF_ typedef struct entity entity; #endif +#ifndef _COMPOUND_GRAPH_PATH_TYPEDEF_ +#define _COMPOUND_GRAPH_PATH_TYPEDEF_ +typedef struct compound_graph_path compound_graph_path; +#endif + #ifndef _IR_EXTBB_TYPEDEF_ #define _IR_EXTBB_TYPEDEF_ typedef struct _ir_extblk ir_extblk; #endif +#ifndef _IRG_WALK_FUNC_TYPEDEF_ +#define _IRG_WALK_FUNC_TYPEDEF_ +typedef void irg_walk_func(ir_node *, void *); +#endif + +#ifndef _SEQNO_T_TYPEDEF_ +#define _SEQNO_T_TYPEDEF_ +typedef struct sn_entry *seqno_t; +#endif + #endif /* _FIRM_TYPES_H_ */