add isl_schedule_node_gist
[isl.git] / polyhedron_detect_equalities.c
blobc3dcec5712d4c6ade231e79ce53d51c680fca38a
1 /*
2 * Copyright 2008-2009 Katholieke Universiteit Leuven
4 * Use of this software is governed by the MIT license
6 * Written by Sven Verdoolaege, K.U.Leuven, Departement
7 * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
8 */
10 #include <isl/set.h>
12 int main(int argc, char **argv)
14 struct isl_ctx *ctx = isl_ctx_alloc();
15 struct isl_basic_set *bset;
16 isl_printer *p;
18 bset = isl_basic_set_read_from_file(ctx, stdin);
19 bset = isl_basic_set_detect_equalities(bset);
21 p = isl_printer_to_file(ctx, stdout);
22 p = isl_printer_set_output_format(p, ISL_FORMAT_POLYLIB);
23 p = isl_printer_print_basic_set(p, bset);
24 isl_printer_free(p);
26 isl_basic_set_free(bset);
27 isl_ctx_free(ctx);
29 return 0;