add isl_basic_map_equate
[platform/upstream/isl.git] / include / isl / stream.h
index 80199f2..90b92f7 100644 (file)
@@ -12,6 +12,7 @@
 
 #include <stdio.h>
 #include <isl/hash.h>
+#include <isl/aff_type.h>
 #include <isl/obj.h>
 
 #if defined(__cplusplus)
@@ -22,7 +23,7 @@ enum isl_token_type { ISL_TOKEN_ERROR = -1,
                        ISL_TOKEN_UNKNOWN = 256, ISL_TOKEN_VALUE,
                        ISL_TOKEN_IDENT, ISL_TOKEN_GE,
                        ISL_TOKEN_LE, ISL_TOKEN_GT, ISL_TOKEN_LT,
-                       ISL_TOKEN_NE,
+                       ISL_TOKEN_NE, ISL_TOKEN_EQ_EQ,
                        ISL_TOKEN_LEX_GE, ISL_TOKEN_LEX_LE,
                        ISL_TOKEN_LEX_GT, ISL_TOKEN_LEX_LT,
                        ISL_TOKEN_TO, ISL_TOKEN_AND,
@@ -36,7 +37,7 @@ enum isl_token_type { ISL_TOKEN_ERROR = -1,
                        ISL_TOKEN_LAST };
 
 struct isl_token {
-       enum isl_token_type  type;
+       int type;
 
        unsigned int on_new_line : 1;
        unsigned is_keyword : 1;
@@ -96,8 +97,8 @@ enum isl_token_type isl_stream_register_keyword(struct isl_stream *s,
        const char *name);
 
 struct isl_obj isl_stream_read_obj(struct isl_stream *s);
-__isl_give isl_map *isl_stream_read_map(struct isl_stream *s, int nparam);
-__isl_give isl_set *isl_stream_read_set(struct isl_stream *s, int nparam);
+__isl_give isl_map *isl_stream_read_map(struct isl_stream *s);
+__isl_give isl_set *isl_stream_read_set(struct isl_stream *s);
 __isl_give isl_pw_qpolynomial *isl_stream_read_pw_qpolynomial(
        struct isl_stream *s);
 __isl_give isl_union_map *isl_stream_read_union_map(struct isl_stream *s);