isl_space_is_domain: extract out isl_space_has_domain_tuples
[isl.git] / isl_multi_templ.h
blobe528b6069411a0c852c62bfd8f7737b7c975f196
1 #include <isl/space.h>
3 #include <isl_multi_macro.h>
5 /* A multiple expression with base expressions of type EL.
7 * "space" is the space in which the multiple expression lives.
8 * "n" is the number of base expression and is equal
9 * to the output or set dimension of "space".
10 * "p" is an array of size "n" of base expressions.
11 * The array is only accessible when n > 0.
13 struct MULTI(BASE) {
14 int ref;
15 isl_space *space;
17 int n;
18 struct {
19 EL *p[1];
20 } u;
23 __isl_give MULTI(BASE) *CAT(MULTI(BASE),_alloc)(__isl_take isl_space *space);