added Id tag
[libfirm] / ir / ir / irprog_t.h
1
2 /* $Id$ */
3
4 # ifndef _IRPROG_T_H_
5 # define _IRPROG_T_H_
6
7 #include "irprog.h"
8
9 struct ir_prog {
10   firm_kind kind;
11   ir_graph  *main_irg;            /* entry point to the compiled program */
12                   /* or a list, in case we compile a library or the like? */
13   ir_graph **graphs;              /* all graphs in the ir */
14   type      *glob_type;           /* global type.  Must be a class as it can
15                                      have fields and procedures.  */
16   type     **types;               /* all types in the ir */
17   /*struct obstack *obst;          * @@@ Should we place all types and
18                                      entities on an obstack, too? */
19 #ifdef DEBUG_libfirm
20   long max_node_nr;                /* to generate unique numbers for nodes. */
21 #endif
22 };
23
24 #endif /* ifndef _IRPROG_T_H_ */