isl_map_read: accept list of predicated elements
[platform/upstream/isl.git] / isl_tab.h
index bf9ef88..6dde592 100644 (file)
--- a/isl_tab.h
+++ b/isl_tab.h
@@ -1,3 +1,12 @@
+/*
+ * 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_TAB_H
 #define ISL_TAB_H
 
@@ -26,9 +35,9 @@ enum isl_tab_undo_type {
        isl_tab_undo_zero,
        isl_tab_undo_allocate,
        isl_tab_undo_relax,
-       isl_tab_undo_bset_ineq,
-       isl_tab_undo_bset_eq,
-       isl_tab_undo_bset_div,
+       isl_tab_undo_bmap_ineq,
+       isl_tab_undo_bmap_eq,
+       isl_tab_undo_bmap_div,
        isl_tab_undo_saved_basis,
        isl_tab_undo_drop_sample,
        isl_tab_undo_saved_samples,
@@ -141,7 +150,7 @@ struct isl_tab {
        struct isl_tab_undo *top;
 
        struct isl_vec *dual;
-       struct isl_basic_set *bset;
+       struct isl_basic_map *bmap;
 
        unsigned n_sample;
        unsigned n_outside;
@@ -186,6 +195,10 @@ struct isl_tab *isl_tab_add_valid_eq(struct isl_tab *tab, isl_int *eq) WARN_UNUS
 
 int isl_tab_freeze_constraint(struct isl_tab *tab, int con) WARN_UNUSED;
 
+int isl_tab_track_bmap(struct isl_tab *tab, __isl_take isl_basic_map *bmap) WARN_UNUSED;
+int isl_tab_track_bset(struct isl_tab *tab, __isl_take isl_basic_set *bset) WARN_UNUSED;
+__isl_keep isl_basic_set *isl_tab_peek_bset(struct isl_tab *tab);
+
 int isl_tab_is_equality(struct isl_tab *tab, int con);
 int isl_tab_is_redundant(struct isl_tab *tab, int con);