Blame isl-0.16.1/include/isl/options.h

Packit fb9d21
/*
Packit fb9d21
 * Copyright 2008-2009 Katholieke Universiteit Leuven
Packit fb9d21
 *
Packit fb9d21
 * Use of this software is governed by the MIT license
Packit fb9d21
 *
Packit fb9d21
 * Written by Sven Verdoolaege, K.U.Leuven, Departement
Packit fb9d21
 * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
Packit fb9d21
 */
Packit fb9d21
Packit fb9d21
#ifndef ISL_OPTIONS_H
Packit fb9d21
#define ISL_OPTIONS_H
Packit fb9d21
Packit fb9d21
#include <isl/arg.h>
Packit fb9d21
#include <isl/ctx.h>
Packit fb9d21
Packit fb9d21
#if defined(__cplusplus)
Packit fb9d21
extern "C" {
Packit fb9d21
#endif
Packit fb9d21
Packit fb9d21
struct isl_options;
Packit fb9d21
Packit fb9d21
ISL_ARG_DECL(isl_options, struct isl_options, isl_options_args)
Packit fb9d21
Packit fb9d21
#define			ISL_BOUND_BERNSTEIN	0
Packit fb9d21
#define			ISL_BOUND_RANGE		1
Packit fb9d21
isl_stat isl_options_set_bound(isl_ctx *ctx, int val);
Packit fb9d21
int isl_options_get_bound(isl_ctx *ctx);
Packit fb9d21
Packit fb9d21
#define			ISL_ON_ERROR_WARN	0
Packit fb9d21
#define			ISL_ON_ERROR_CONTINUE	1
Packit fb9d21
#define			ISL_ON_ERROR_ABORT	2
Packit fb9d21
isl_stat isl_options_set_on_error(isl_ctx *ctx, int val);
Packit fb9d21
int isl_options_get_on_error(isl_ctx *ctx);
Packit fb9d21
Packit fb9d21
isl_stat isl_options_set_gbr_only_first(isl_ctx *ctx, int val);
Packit fb9d21
int isl_options_get_gbr_only_first(isl_ctx *ctx);
Packit fb9d21
Packit fb9d21
#define		ISL_SCHEDULE_ALGORITHM_ISL		0
Packit fb9d21
#define		ISL_SCHEDULE_ALGORITHM_FEAUTRIER	1
Packit fb9d21
isl_stat isl_options_set_schedule_algorithm(isl_ctx *ctx, int val);
Packit fb9d21
int isl_options_get_schedule_algorithm(isl_ctx *ctx);
Packit fb9d21
Packit fb9d21
isl_stat isl_options_set_coalesce_bounded_wrapping(isl_ctx *ctx, int val);
Packit fb9d21
int isl_options_get_coalesce_bounded_wrapping(isl_ctx *ctx);
Packit fb9d21
Packit fb9d21
#if defined(__cplusplus)
Packit fb9d21
}
Packit fb9d21
#endif
Packit fb9d21
Packit fb9d21
#endif