Convert to doxygen comments
[libfirm] / ir / ir / irgraph_t.h
index 8f7848b..66f7ae8 100644 (file)
@@ -1,9 +1,9 @@
 /* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
-** All rights reserved.
-**
-** Authors: Martin Trapp, Christian Schaefer
-**
-** irgraph.h: ir graph construction
+* All rights reserved.
+*
+* Authors: Martin Trapp, Christian Schaefer
+*
+* irgraph.h: ir graph construction
 */
 
 /* $Id$ */
@@ -13,6 +13,7 @@
 # include "obst.h"
 # include "pset.h"
 # include "irgraph.h"
+# include "firm_common_t.h"
 
 #define FRAME_TP_SUFFIX "frame_tp"
 
@@ -35,6 +36,7 @@ struct ir_graph {
   struct ir_node *args;              /* methods arguments */
   struct ir_node *bad;              /* bad node of this ir_graph, the one and
                                         only in this graph */
+  struct ir_node *unknown;           /* unknown node of this ir_graph */
   struct obstack *obst;                     /* obstack where all of the ir_nodes live */
   struct ir_node *current_block;     /* block for newly gen_*()-erated
                                        ir_nodes */
@@ -43,9 +45,10 @@ struct ir_graph {
   irg_phase_state phase_state;       /* compiler phase */
   op_pinned pinned;                  /* Flag for status of nodes */
   irg_outs_state outs_state;         /* Out edges. */
+  irg_dom_state dom_state;           /* Dominator information */
 
   /** Fields for construction **/
-#if USE_EXPICIT_PHI_IN_STACK
+#if USE_EXPLICIT_PHI_IN_STACK
   struct Phi_in_stack *Phi_in_stack; /* needed for automatic Phi construction */
 #endif
   int n_loc;                         /* number of local variable in this
@@ -55,6 +58,9 @@ struct ir_graph {
   pset *value_table;                 /* hash table for global value numbering (cse)
                                        for optimizing use in iropt.c */
   struct ir_node **outs;             /* Space for the out arrays. */
+  struct ir_loop *loop;              /* The outermost loop */
+  void *link;                        /* A void* field to link any information to
+                                       the node. */
 
   /** Fields for Walking the graph **/
   unsigned long visited;             /* this flag is an identifier for
@@ -68,7 +74,7 @@ struct ir_graph {
    Must look like a correct irg, spare everything else. */
 ir_graph *new_const_code_irg();
 
-inline void
+INLINE void
 set_irg_pinned (ir_graph *irg, op_pinned p);
 
 # endif /* _IRGRAPH_T_H_ */