isl_map_coalesce: avoid ignoring constraints redundant wrt implicit equalities
[isl.git] / opt_type.h
blob9505e72c20bf304ea3f27189a9014a1a932aeb40
1 #define NO_LOC
2 #ifdef HAS_TYPE
3 #define OPT_TYPE_PARAM , enum isl_fold type
4 #define OPT_TYPE_PARAM_FIRST enum isl_fold type,
5 #define OPT_TYPE_ARG(loc) , loc type
6 #define OPT_TYPE_ARG_FIRST(loc) loc type,
7 #define OPT_SET_TYPE(loc,val) loc type = (val);
8 #define OPT_EQUAL_TYPES(loc1, loc2) ((loc1 type) == (loc2 type))
9 #else
10 #define OPT_TYPE_PARAM
11 #define OPT_TYPE_PARAM_FIRST
12 #define OPT_TYPE_ARG(loc)
13 #define OPT_TYPE_ARG_FIRST(loc)
14 #define OPT_SET_TYPE(loc,val)
15 #define OPT_EQUAL_TYPES(loc1, loc2) 1
16 #endif