brintos

brintos / llvm-project-archived public Read only

0
0
Text · 716 B · c3dcec5 Raw
31 lines · c
1/*2 * Copyright 2008-2009 Katholieke Universiteit Leuven3 *4 * Use of this software is governed by the MIT license5 *6 * Written by Sven Verdoolaege, K.U.Leuven, Departement7 * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium8 */9 10#include <isl/set.h>11 12int main(int argc, char **argv)13{14	struct isl_ctx *ctx = isl_ctx_alloc();15	struct isl_basic_set *bset;16	isl_printer *p;17 18	bset = isl_basic_set_read_from_file(ctx, stdin);19	bset = isl_basic_set_detect_equalities(bset);20 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);25 26	isl_basic_set_free(bset);27	isl_ctx_free(ctx);28 29	return 0;30}31