6 #include "isl_options.h"
8 struct isl_arg_choice isl_lp_solver_choice
[] = {
16 struct isl_arg_choice isl_ilp_solver_choice
[] = {
24 struct isl_arg_choice isl_pip_solver_choice
[] = {
32 struct isl_arg_choice isl_pip_context_choice
[] = {
33 {"gbr", ISL_CONTEXT_GBR
},
34 {"lexmin", ISL_CONTEXT_LEXMIN
},
38 struct isl_arg_choice isl_gbr_choice
[] = {
39 {"never", ISL_GBR_NEVER
},
40 {"once", ISL_GBR_ONCE
},
41 {"always", ISL_GBR_ALWAYS
},
45 struct isl_arg isl_options_arg
[] = {
46 ISL_ARG_CHOICE(struct isl_options
, lp_solver
, 0, "lp-solver", \
47 isl_lp_solver_choice
, ISL_LP_TAB
)
48 ISL_ARG_CHOICE(struct isl_options
, ilp_solver
, 0, "ilp-solver", \
49 isl_ilp_solver_choice
, ISL_ILP_GBR
)
50 ISL_ARG_CHOICE(struct isl_options
, pip
, 0, "pip", \
51 isl_pip_solver_choice
, ISL_PIP_TAB
)
52 ISL_ARG_CHOICE(struct isl_options
, context
, 0, "context", \
53 isl_pip_context_choice
, ISL_CONTEXT_GBR
)
54 ISL_ARG_CHOICE(struct isl_options
, gbr
, 0, "gbr", \
55 isl_gbr_choice
, ISL_GBR_ONCE
)
56 ISL_ARG_BOOL(struct isl_options
, gbr_only_first
, 0, "gbr-only-first", 0)
60 ISL_ARG_DEF(isl_options
, struct isl_options
, isl_options_arg
)