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