2 * Copyright 2008-2009 Katholieke Universiteit Leuven
4 * Use of this software is governed by the GNU LGPLv2.1 license
6 * Written by Sven Verdoolaege, K.U.Leuven, Departement
7 * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
15 #include "isl_options.h"
17 struct isl_arg_choice isl_lp_solver_choice[] = {
25 struct isl_arg_choice isl_ilp_solver_choice[] = {
33 struct isl_arg_choice isl_pip_solver_choice[] = {
41 struct isl_arg_choice isl_pip_context_choice[] = {
42 {"gbr", ISL_CONTEXT_GBR},
43 {"lexmin", ISL_CONTEXT_LEXMIN},
47 struct isl_arg_choice isl_gbr_choice[] = {
48 {"never", ISL_GBR_NEVER},
49 {"once", ISL_GBR_ONCE},
50 {"always", ISL_GBR_ALWAYS},
54 struct isl_arg_choice isl_closure_choice[] = {
55 {"isl", ISL_CLOSURE_ISL},
56 {"omega", ISL_CLOSURE_OMEGA},
60 struct isl_arg isl_options_arg[] = {
61 ISL_ARG_CHOICE(struct isl_options, lp_solver, 0, "lp-solver", \
62 isl_lp_solver_choice, ISL_LP_TAB, "lp solver to use")
63 ISL_ARG_CHOICE(struct isl_options, ilp_solver, 0, "ilp-solver", \
64 isl_ilp_solver_choice, ISL_ILP_GBR, "ilp solver to use")
65 ISL_ARG_CHOICE(struct isl_options, pip, 0, "pip", \
66 isl_pip_solver_choice, ISL_PIP_TAB, "pip solver to use")
67 ISL_ARG_CHOICE(struct isl_options, context, 0, "context", \
68 isl_pip_context_choice, ISL_CONTEXT_GBR,
69 "how to handle the pip context tableau")
70 ISL_ARG_CHOICE(struct isl_options, gbr, 0, "gbr", \
71 isl_gbr_choice, ISL_GBR_ONCE,
72 "how often to use generalized basis reduction")
73 ISL_ARG_CHOICE(struct isl_options, closure, 0, "closure", \
74 isl_closure_choice, ISL_CLOSURE_ISL,
75 "closure operation to use")
76 ISL_ARG_BOOL(struct isl_options, gbr_only_first, 0, "gbr-only-first", 0,
77 "only perform basis reduction in first direction")
81 ISL_ARG_DEF(isl_options, struct isl_options, isl_options_arg)