4 /* An access to an array element or an iterator.
5 * Accesses to iterators have an access relation that maps to an unnamed space.
6 * An access may be both read and write.
8 struct gpu_stmt_access
{
9 /* Access reads elements */
11 /* Access writes elements */
13 /* All writes are definite writes. */
16 /* Index of the array reference group this reference belong to.
17 * -1 if no reference groups have been computed for the array.
21 /* May access relation */
23 /* May access relation with as domain a mapping from iteration domain
24 * to a reference identifier.
26 isl_map
*tagged_access
;
27 /* The reference id of the corresponding pet_expr. */
30 struct gpu_stmt_access
*next
;
35 struct pet_stmt
*stmt
;
37 /* Number of tile dimensions. */
39 /* Number of initial parallel loops among tile dimensions. */
42 /* Linked list of accesses. */
43 struct gpu_stmt_access
*accesses
;
46 __isl_give isl_map
*project_out(__isl_take isl_space
*dim
,
47 int len
, int first
, int n
);
48 __isl_give isl_map
*projection(__isl_take isl_space
*dim
,
49 int src_len
, int dst_len
);
50 __isl_give isl_set
*extend(__isl_take isl_set
*set
, int dst_len
);
51 __isl_give isl_union_map
*align_range(__isl_take isl_union_map
*umap
);