Implement better magic to handle changing control dependencies when welding blocks
[libfirm] / ir / opt / loop_unrolling.h
1 /*
2  * Project:     libFIRM
3  * File name:   ir/opt/loop_unrolling.h
4  * Purpose:     Loop unrolling.
5  * Author:      Beyhan Veliev
6  * Modified by:
7  * Created:     16.11.2004
8  * CVS-ID:      $Id$
9  * Copyright:   (c) 2004 Universität Karlsruhe
10  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
11  */
12
13 /**
14  * @file loop_unrolling.h
15  *
16  * Loop unrolling.
17  *
18  * @author Beyhan Veliev
19  */
20 #ifndef _LOOP_UNROLLING_H_
21 #define _LOOP_UNROLLING_H_
22
23 #include "irgraph.h"
24 /* Make a copy for a ir node.*/
25 void copy_irn(ir_node *irn, void *env);
26 /**
27  * Do Loop unrolling in the given graph.
28  */
29 void optimize_loop_unrolling(ir_graph *irg);
30 #endif  /* _LOOP_UNROLLING_H_ */