fixed config.h include
[libfirm] / ir / opt / loop_unrolling.c
1 /**
2  *
3  * @file loop_unrolling.c
4  *
5  * Project:     libFIRM
6  * File name:   ir/opt/loop_unrolling.c
7  * Purpose:     Make loop unrolling.
8  * Author:      Beyhan Veliev
9  * Modified by:
10  * Created:     16.11.2004
11  * CVS-ID:      $Id$
12  * Copyright:   (c) 2004 Universität Karlsruhe
13  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
14  */
15
16
17 # include "loop_unrolling.h"
18
19 # include "irgwalk.h"
20 # include "irnode_t.h"
21 # include "irloop_t.h"
22
23 static void do_loop_unroll(ir_node *n, void *env){
24 }
25
26
27
28
29
30
31
32 /* Performs loop unrolling for the passed graph. */
33 void optimize_loop_unrolling(ir_graph *irg) {
34
35   if (!get_optimize() || !get_opt_loop_unrolling()) return;
36
37   /* -- Search expressions that can be optimized -- */
38   irg_walk_graph(irg, NULL, do_loop_unroll, NULL);
39
40 }