fixed output
[libfirm] / ir / ana / irbackedge_t.h
1 /*
2  * Project:     libFIRM
3  * File name:   ir/ana/irbackedge_t.h
4  * Purpose:     Access function for backedges -- private header.
5  * Author:      Goetz Lindenmaier
6  * Modified by:
7  * Created:     7.2002
8  * CVS-ID:      $Id$
9  * Copyright:   (c) 2002-2003 Universität Karlsruhe
10  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
11  */
12
13 #ifndef _IRBACKEDGE_T_H_
14 #define _IRBACKEDGE_T_H_
15
16 /**
17  * Allocate a new backedge array on the obstack for given size.
18  */
19 int *new_backedge_arr(struct obstack *obst, int size);
20
21 /**
22  * allocate new backedge info for nodes.
23  */
24 void new_backedge_info(ir_node *n);
25
26 /**
27  * Adapts backedges array to new size.
28  * Must be called if in array of irnode is changed.  Else
29  * Segmentation faults might occur.
30  */
31 void fix_backedges(struct obstack *obst, ir_node *n);
32
33 #endif /* _IRBACKEDGE_T_H_ */