Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:48:19

0001 /*
0002  * Copyright 2008-2009 Katholieke Universiteit Leuven
0003  *
0004  * Use of this software is governed by the MIT license
0005  *
0006  * Written by Sven Verdoolaege, K.U.Leuven, Departement
0007  * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
0008  */
0009 
0010 #ifndef ISL_OPTIONS_H
0011 #define ISL_OPTIONS_H
0012 
0013 #include <isl/arg.h>
0014 #include <isl/ctx.h>
0015 
0016 #if defined(__cplusplus)
0017 extern "C" {
0018 #endif
0019 
0020 struct isl_options;
0021 
0022 ISL_ARG_DECL(isl_options, struct isl_options, isl_options_args)
0023 
0024 #define         ISL_BOUND_BERNSTEIN 0
0025 #define         ISL_BOUND_RANGE     1
0026 isl_stat isl_options_set_bound(isl_ctx *ctx, int val);
0027 int isl_options_get_bound(isl_ctx *ctx);
0028 
0029 #define         ISL_ON_ERROR_WARN   0
0030 #define         ISL_ON_ERROR_CONTINUE   1
0031 #define         ISL_ON_ERROR_ABORT  2
0032 isl_stat isl_options_set_on_error(isl_ctx *ctx, int val);
0033 int isl_options_get_on_error(isl_ctx *ctx);
0034 
0035 isl_stat isl_options_set_gbr_only_first(isl_ctx *ctx, int val);
0036 int isl_options_get_gbr_only_first(isl_ctx *ctx);
0037 
0038 #define     ISL_SCHEDULE_ALGORITHM_ISL      0
0039 #define     ISL_SCHEDULE_ALGORITHM_FEAUTRIER    1
0040 isl_stat isl_options_set_schedule_algorithm(isl_ctx *ctx, int val);
0041 int isl_options_get_schedule_algorithm(isl_ctx *ctx);
0042 
0043 isl_stat isl_options_set_pip_symmetry(isl_ctx *ctx, int val);
0044 int isl_options_get_pip_symmetry(isl_ctx *ctx);
0045 
0046 isl_stat isl_options_set_coalesce_bounded_wrapping(isl_ctx *ctx, int val);
0047 int isl_options_get_coalesce_bounded_wrapping(isl_ctx *ctx);
0048 
0049 isl_stat isl_options_set_coalesce_preserve_locals(isl_ctx *ctx, int val);
0050 int isl_options_get_coalesce_preserve_locals(isl_ctx *ctx);
0051 
0052 #if defined(__cplusplus)
0053 }
0054 #endif
0055 
0056 #endif