1 /* Copyright (C) 2002 by Universitaet Karlsruhe
8 * @author Goetz Lindenmaier
13 #include "firm_common.h"
19 /** The loops datastructure. */
21 firm_kind kind; /**< A type tag, set to k_ir_loop. */
23 struct ir_loop *outer_loop; /**< The outer loop */
24 loop_element *children; /**< Mixed array: Contains sons and loop_nodes */
25 /* struct ir_loop **sons; */ /**< Inner loops */
26 /* struct ir_node **nodes; */ /**< Nodes in loop. */
27 int depth; /**< Nesting depth */
28 int n_sons; /**< Number of ir_nodes in array "children" */
29 int n_nodes; /**< Number of loop_nodes in array "childern" */
32 struct state_entry *mem_phis;
33 struct state_entry *states;
36 struct loop_node *link;
41 add_loop_son(ir_loop *loop, ir_loop *son);
44 add_loop_node(ir_loop *loop, ir_node *n);
46 #endif /* _IRLOOP_T_H_ */