Refactoring, Bugfixes, added path constraints
[libfirm] / ir / be / becopyilp1.c
1 /**
2  * Author:      Daniel Grund
3  * Date:                17.05.2005
4  * Copyright:   (c) Universitaet Karlsruhe
5  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
6  * CVS-ID:      $Id$
7  *
8  * ILP formalization using:
9  *  - 2 classes of vars: Nodes- and optimality variables.
10  *  - Clique constraints
11  *  - Path constraints
12  *  - Clique path constraints
13  */
14
15 #ifdef HAVE_CONFIG_H
16 #include "config.h"
17 #endif /* HAVE_CONFIG_H */
18
19 #ifdef WITH_ILP
20
21 #include "becopyilp_t.h"
22
23 #define DEBUG_LVL 1
24
25 typedef struct _my_env_t {
26         int foo;
27 } my_env_t;
28
29
30 static void ilp1_build(ilp_env_t *ienv) {
31         ienv->lp = new_lpp(ienv->co->name, lpp_minimize);
32
33 }
34
35 static void ilp1_apply(ilp_env_t *ienv) {
36
37 }
38
39 int co_solve_ilp1(copy_opt_t *co, double time_limit) {
40         return 1;
41 }
42
43
44 #else /* WITH_ILP */
45
46 static void only_that_you_can_compile_without_WITH_ILP_defined(void) {
47 }
48
49 #endif /* WITH_ILP */