+/*
+ * Copyright 2008-2009 Katholieke Universiteit Leuven
+ *
+ * Use of this software is governed by the GNU LGPLv2.1 license
+ *
+ * Written by Sven Verdoolaege, K.U.Leuven, Departement
+ * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
+ */
+
#ifndef ISL_MAP_H
#define ISL_MAP_H
struct isl_basic_map *isl_basic_map_simplify(struct isl_basic_map *bmap);
struct isl_basic_map *isl_basic_map_detect_equalities(
struct isl_basic_map *bmap);
-#define ISL_FORMAT_POLYLIB 1
-#define ISL_FORMAT_OMEGA 2
__isl_give isl_basic_map *isl_basic_map_read_from_file(isl_ctx *ctx,
- FILE *input, unsigned nparam, unsigned input_format);
+ FILE *input, int nparam);
+__isl_give isl_basic_map *isl_basic_map_read_from_str(isl_ctx *ctx,
+ const char *str, int nparam);
+__isl_give isl_map *isl_map_read_from_file(struct isl_ctx *ctx,
+ FILE *input, int nparam);
+__isl_give isl_map *isl_map_read_from_str(isl_ctx *ctx,
+ const char *str, int nparam);
+#define ISL_FORMAT_ISL 0
+#define ISL_FORMAT_POLYLIB 1
+void isl_basic_map_print(__isl_keep isl_basic_map *bmap, FILE *out, int indent,
+ const char *prefix, const char *suffix, unsigned output_format);
+void isl_map_print(__isl_keep isl_map *map, FILE *out, int indent,
+ unsigned output_format);
struct isl_basic_map *isl_basic_map_fix_si(struct isl_basic_map *bmap,
enum isl_dim_type type, unsigned pos, int value);