3 #include <isl/options.h>
5 int main(int argc
, char **argv
)
9 struct isl_options
*options
;
12 options
= isl_options_new_with_defaults();
14 argc
= isl_options_parse(options
, argc
, argv
, ISL_ARG_ALL
);
16 ctx
= isl_ctx_alloc_with_options(&isl_options_args
, options
);
18 map
= isl_map_read_from_file(ctx
, stdin
);
19 map
= isl_map_transitive_closure(map
, &exact
);
21 printf("# NOT exact\n");
22 isl_map_print(map
, stdout
, 0, ISL_FORMAT_ISL
);
24 map
= isl_map_compute_divs(map
);
25 map
= isl_map_coalesce(map
);
26 printf("# coalesced\n");
27 isl_map_print(map
, stdout
, 0, ISL_FORMAT_ISL
);