scheduling: optionally create schedules with outermost parallelism
[platform/upstream/isl.git] / isl_options.c
index 558373f..72fec13 100644 (file)
@@ -11,9 +11,9 @@
 #include <stdlib.h>
 #include <string.h>
 
-#include "isl_ctx.h"
-#include "isl_options.h"
-#include <isl_version.h>
+#include <isl/ctx.h>
+#include <isl/options.h>
+#include <isl/version.h>
 
 struct isl_arg_choice isl_lp_solver_choice[] = {
        {"tab",         ISL_LP_TAB},
@@ -54,7 +54,7 @@ struct isl_arg_choice isl_gbr_choice[] = {
 
 struct isl_arg_choice isl_closure_choice[] = {
        {"isl",         ISL_CLOSURE_ISL},
-       {"omega",       ISL_CLOSURE_OMEGA},
+       {"box",         ISL_CLOSURE_BOX},
        {0}
 };
 
@@ -75,6 +75,12 @@ static struct isl_arg_flags bernstein_recurse[] = {
        {0}
 };
 
+static struct isl_arg_choice convex[] = {
+       {"wrap",        ISL_CONVEX_HULL_WRAP},
+       {"fm",          ISL_CONVEX_HULL_FM},
+       {0}
+};
+
 static void print_version(void)
 {
        printf("%s", isl_version());
@@ -102,6 +108,18 @@ ISL_ARG_CHOICE(struct isl_options, bound, 0, "bound", bound,
        ISL_BOUND_BERNSTEIN, "algorithm to use for computing bounds")
 ISL_ARG_FLAGS(struct isl_options, bernstein_recurse, 0,
        "bernstein-recurse", bernstein_recurse, ISL_BERNSTEIN_FACTORS, NULL)
+ISL_ARG_BOOL(struct isl_options, bernstein_triangulate, 0,
+       "bernstein-triangulate", 1,
+       "triangulate domains during Bernstein expansion")
+ISL_ARG_BOOL(struct isl_options, pip_symmetry, 0, "pip-symmetry", 1,
+       "detect simple symmetries in PIP input")
+ISL_ARG_CHOICE(struct isl_options, convex, 0, "convex-hull", \
+       convex, ISL_CONVEX_HULL_WRAP, "convex hull algorithm to use")
+ISL_ARG_BOOL(struct isl_options, schedule_parametric, 0,
+       "schedule-parametric", 1, "construct possibly parametric schedules")
+ISL_ARG_BOOL(struct isl_options, schedule_outer_parallelism, 0,
+       "schedule-outer-parallelism", 0,
+       "try to construct schedules with outer parallelism")
 ISL_ARG_VERSION(print_version)
 ISL_ARG_END
 };