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 struct ir_loop **sons; /**< Inner loops */
25 struct ir_node **nodes; /**< Nodes in loop. */
26 int depth; /**< Nesting depth */
28 struct state_entry *mem_phis;
29 struct state_entry *states;
32 struct loop_node *link;
37 add_loop_son(ir_loop *loop, ir_loop *son);
40 add_loop_node(ir_loop *loop, ir_node *n);
42 #endif /* _IRLOOP_T_H_ */