added new licence header
[libfirm] / ir / be / becopystat.h
1 /*
2  * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
3  *
4  * This file is part of libFirm.
5  *
6  * This file may be distributed and/or modified under the terms of the
7  * GNU General Public License version 2 as published by the Free Software
8  * Foundation and appearing in the file LICENSE.GPL included in the
9  * packaging of this file.
10  *
11  * Licensees holding valid libFirm Professional Edition licenses may use
12  * this file in accordance with the libFirm Commercial License.
13  * Agreement provided with the Software.
14  *
15  * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
16  * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17  * PURPOSE.
18  */
19
20 /**
21  * Author:      Daniel Grund
22  * Date:                11.04.2005
23  * Copyright:   (c) Universitaet Karlsruhe
24  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
25  * CVS-Id:      $Id$
26  */
27 #ifndef _BECOPYSTAT_H
28 #define _BECOPYSTAT_H
29
30 #include "firm_config.h"
31 #include "irgraph.h"
32 #include "bearch_t.h"
33 #include "bechordal_t.h"
34
35 void copystat_add_max_costs(int costs);
36 void copystat_add_inevit_costs(int costs);
37 void copystat_add_init_costs(int costs);
38 void copystat_add_heur_costs(int costs);
39 void copystat_add_opt_costs(int costs);
40 void copystat_add_heur_time(int time);
41 void copystat_dump(ir_graph *irg);
42 void copystat_dump_pretty(ir_graph *irg);
43
44 #ifdef WITH_ILP
45
46 void copystat_add_ilp_5_sec_costs(int costs);
47 void copystat_add_ilp_30_sec_costs(int costs);
48 void copystat_add_ilp_time(int time);
49 void copystat_add_ilp_vars(int vars);
50 void copystat_add_ilp_csts(int csts);
51 void copystat_add_ilp_iter(int iters);
52
53 #endif /* WITH_ILP */
54
55 /**
56  * Compares different solutions of the same problem
57  */
58 void co_compare_solvers(be_chordal_env_t *chordal_env);
59
60 #endif /* _BECOPYSTAT_H */