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