committing ilp based spilling
[libfirm] / ir / be / becopystat.h
1 /**
2  * Author:      Daniel Grund
3  * Date:                11.04.2005
4  * Copyright:   (c) Universitaet Karlsruhe
5  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
6  * CVS-Id:      $Id$
7  */
8 #ifndef _BECOPYSTAT_H
9 #define _BECOPYSTAT_H
10
11 #include "firm_config.h"
12 #include "irgraph.h"
13 #include "bearch.h"
14 #include "bechordal_t.h"
15
16 void copystat_init(void);
17 void copystat_reset(void);
18 void copystat_collect_cls(be_chordal_env_t *chordal_env);
19 void copystat_add_max_costs(int costs);
20 void copystat_add_inevit_costs(int costs);
21 void copystat_add_init_costs(int costs);
22 void copystat_add_heur_costs(int costs);
23 void copystat_add_opt_costs(int costs);
24 void copystat_add_heur_time(int time);
25 void copystat_dump(ir_graph *irg);
26 void copystat_dump_pretty(ir_graph *irg);
27
28 #ifdef WITH_ILP
29
30 void copystat_add_ilp_5_sec_costs(int costs);
31 void copystat_add_ilp_30_sec_costs(int costs);
32 void copystat_add_ilp_time(int time);
33 void copystat_add_ilp_vars(int vars);
34 void copystat_add_ilp_csts(int csts);
35 void copystat_add_ilp_iter(int iters);
36
37 #endif /* WITH_ILP */
38
39 /**
40  * Compares different solutions of the same problem
41  */
42 void co_compare_solvers(be_chordal_env_t *chordal_env);
43
44 #endif /* _BECOPYSTAT_H */