condeval.h added
[libfirm] / ir / common / firm_types.h
1 /*
2  * Project:     libFIRM
3  * File name:   ir/common/firm_types.c
4  * Purpose:     Definition of opaque firm types
5  * Author:      Michael Beck
6  * Created:
7  * CVS-ID:      $Id$
8  * Copyright:   (c) 1998-2006 Universität Karlsruhe
9  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
10  */
11 #ifndef _FIRM_TYPES_H_
12 #define _FIRM_TYPES_H_
13
14 #ifdef _MSC_VER
15 typedef          __int64 long64;
16 typedef unsigned __int64 ulong64;
17
18 #define LL_FMT  "i64"
19 #define ULL_FMT "ui64"
20
21 #else
22 typedef          long long long64;
23 typedef unsigned long long ulong64;
24
25 #define LL_FMT  "ll"
26 #define ULL_FMT "llu"
27
28 #endif /* _MSC_VER */
29
30 #ifndef _IDENT_TYPEDEF_
31 #define _IDENT_TYPEDEF_
32 typedef const struct _ident ident;
33 #endif
34
35 #ifndef _IR_NODE_TYPEDEF_
36 #define _IR_NODE_TYPEDEF_
37 typedef struct ir_node ir_node;
38 #endif
39
40 #ifndef _IR_OP_TYPEDEF_
41 #define _IR_OP_TYPEDEF_
42 typedef struct ir_op ir_op;
43 #endif
44
45 #ifndef _IR_MODE_TYPEDEF_
46 #define _IR_MODE_TYPEDEF_
47 typedef struct ir_mode ir_mode;
48 #endif
49
50 #ifndef _IR_EDGE_TYPEDEF_
51 #define _IR_EDGE_TYPEDEF_
52 typedef struct _ir_edge_t ir_edge_t;
53 #endif
54
55 #ifndef _IR_BLOCK_EDGE_TYPEDEF_
56 #define _IR_BLOCK_EDGE_TYPEDEF_
57 typedef struct _ir_block_edge_t ir_block_edge_t;
58 #endif
59
60 #ifndef _TARVAL_TYPEDEF_
61 #define _TARVAL_TYPEDEF_
62 typedef struct tarval tarval;
63 #endif
64
65 #ifndef _IR_ENUM_CONST_TYPEDEF_
66 #define _IR_ENUM_CONST_TYPEDEF_
67 typedef struct ir_enum_const ir_enum_const;
68 #endif
69
70 #ifndef _IR_TYPE_TYPEDEF_
71 #define _IR_TYPE_TYPEDEF_
72 typedef struct ir_type ir_type;
73 #endif
74
75 #ifndef _IR_GRAPH_TYPEDEF_
76 #define _IR_GRAPH_TYPEDEF_
77 typedef struct ir_graph ir_graph;
78 #endif
79
80 #ifndef _IR_LOOP_TYPEDEF_
81 #define _IR_LOOP_TYPEDEF_
82 typedef struct ir_loop ir_loop;
83 #endif
84
85 #ifndef _ENTITY_TYPEDEF_
86 #define _ENTITY_TYPEDEF_
87 typedef struct entity entity;
88 #endif
89
90 #ifndef _COMPOUND_GRAPH_PATH_TYPEDEF_
91 #define _COMPOUND_GRAPH_PATH_TYPEDEF_
92 typedef struct compound_graph_path compound_graph_path;
93 #endif
94
95 #ifndef _IR_EXTBB_TYPEDEF_
96 #define _IR_EXTBB_TYPEDEF_
97 typedef struct _ir_extblk ir_extblk;
98 #endif
99
100 #ifndef _IRG_WALK_FUNC_TYPEDEF_
101 #define _IRG_WALK_FUNC_TYPEDEF_
102 typedef void irg_walk_func(ir_node *, void *);
103 #endif
104
105 #ifndef _SEQNO_T_TYPEDEF_
106 #define _SEQNO_T_TYPEDEF_
107 typedef struct sn_entry *seqno_t;
108 #endif
109
110 #ifndef _EXECFREQ_TYPEDEF
111 #define _EXECFREQ_TYPEDEF
112 typedef struct _exec_freq_t exec_freq_t;
113 #endif
114
115 #endif /* _FIRM_TYPES_H_ */