~ubuntu-branches/ubuntu/trusty/cloog/trusty

« back to all changes in this revision

Viewing changes to isl/include/isl/options.h

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2011-12-15 18:39:17 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20111215183917-uqggmujou8wna9js
Tags: 0.17.0-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
#define ISL_OPTIONS_H
12
12
 
13
13
#include <isl/arg.h>
 
14
#include <isl/ctx.h>
14
15
 
15
16
#if defined(__cplusplus)
16
17
extern "C" {
17
18
#endif
18
19
 
19
 
struct isl_options {
20
 
        #define                 ISL_LP_TAB      0
21
 
        #define                 ISL_LP_PIP      1
22
 
        unsigned                lp_solver;
23
 
 
24
 
        #define                 ISL_ILP_GBR     0
25
 
        #define                 ISL_ILP_PIP     1
26
 
        unsigned                ilp_solver;
27
 
 
28
 
        #define                 ISL_PIP_TAB     0
29
 
        #define                 ISL_PIP_PIP     1
30
 
        unsigned                pip;
31
 
 
32
 
        #define                 ISL_CONTEXT_GBR         0
33
 
        #define                 ISL_CONTEXT_LEXMIN      1
34
 
        unsigned                context;
35
 
 
36
 
        #define                 ISL_GBR_NEVER   0
37
 
        #define                 ISL_GBR_ONCE    1
38
 
        #define                 ISL_GBR_ALWAYS  2
39
 
        unsigned                gbr;
40
 
        unsigned                gbr_only_first;
41
 
 
42
 
        #define                 ISL_CLOSURE_ISL         0
43
 
        #define                 ISL_CLOSURE_BOX         1
44
 
        unsigned                closure;
45
 
 
46
 
        #define                 ISL_BOUND_BERNSTEIN     0
47
 
        #define                 ISL_BOUND_RANGE         1
48
 
        int                     bound;
49
 
 
50
 
        #define                 ISL_BERNSTEIN_FACTORS   1
51
 
        #define                 ISL_BERNSTEIN_INTERVALS 2
52
 
        int                     bernstein_recurse;
53
 
 
54
 
        int                     bernstein_triangulate;
55
 
 
56
 
        int                     pip_symmetry;
57
 
 
58
 
        #define                 ISL_CONVEX_HULL_WRAP    0
59
 
        #define                 ISL_CONVEX_HULL_FM      1
60
 
        int                     convex;
61
 
 
62
 
        int                     schedule_parametric;
63
 
        int                     schedule_outer_zero_distance;
64
 
        int                     schedule_maximize_band_depth;
65
 
        int                     schedule_split_parallel;
66
 
};
67
 
 
68
 
ISL_ARG_DECL(isl_options, struct isl_options, isl_options_arg)
69
 
 
70
 
extern struct isl_arg isl_options_arg[];
 
20
struct isl_options;
 
21
 
 
22
ISL_ARG_DECL(isl_options, struct isl_options, isl_options_args)
 
23
 
 
24
#define                 ISL_BOUND_BERNSTEIN     0
 
25
#define                 ISL_BOUND_RANGE         1
 
26
int isl_options_set_bound(isl_ctx *ctx, int val);
 
27
int isl_options_get_bound(isl_ctx *ctx);
 
28
 
 
29
#define                 ISL_ON_ERROR_WARN       0
 
30
#define                 ISL_ON_ERROR_CONTINUE   1
 
31
#define                 ISL_ON_ERROR_ABORT      2
 
32
int isl_options_set_on_error(isl_ctx *ctx, int val);
 
33
int isl_options_get_on_error(isl_ctx *ctx);
 
34
 
 
35
int isl_options_set_gbr_only_first(isl_ctx *ctx, int val);
 
36
int isl_options_get_gbr_only_first(isl_ctx *ctx);
71
37
 
72
38
#if defined(__cplusplus)
73
39
}