8 #include "firm_common_t.h"
12 ir_graph *main_irg; /* entry point to the compiled program */
13 /* or a list, in case we compile a library or the like? */
14 ir_graph **graphs; /* all graphs in the ir */
15 type *glob_type; /* global type. Must be a class as it can
16 have fields and procedures. */
17 type **types; /* all types in the ir */
18 ir_graph *const_code_irg; /* This ir graph gives the proper environment
19 to allocate nodes the represent values
20 of constant entities. It is not meant as
22 /*struct obstack *obst; * @@@ Should we place all types and
23 entities on an obstack, too? */
26 long max_node_nr; /* to generate unique numbers for nodes. */
30 INLINE void remove_irp_type_from_list (type *typ);
33 /* Returns a new, unique number to number nodes or the like. */
34 int get_irp_new_node_nr();
37 #endif /* ifndef _IRPROG_T_H_ */