7 #if defined(__cplusplus)
11 /* Let n (>= 0) be the number of iterators shared by first and second.
12 * If first precedes second textually return 2 * n + 1,
13 * otherwise return 2 * n.
15 typedef int (*isl_access_level_before
)(void *first
, void *second
);
17 struct isl_access_info
;
18 typedef struct isl_access_info isl_access_info
;
20 typedef struct isl_flow isl_flow
;
22 __isl_give isl_access_info
*isl_access_info_alloc(__isl_take isl_map
*sink
,
23 void *sink_user
, isl_access_level_before fn
, int max_source
);
24 __isl_give isl_access_info
*isl_access_info_add_source(
25 __isl_take isl_access_info
*acc
, __isl_take isl_map
*source
,
27 __isl_give isl_flow
*isl_access_info_compute_flow(__isl_take isl_access_info
*acc
);
28 int isl_flow_foreach(__isl_keep isl_flow
*deps
,
29 int (*fn
)(__isl_take isl_map
*dep
, void *dep_user
, void *user
),
31 __isl_give isl_set
*isl_flow_get_no_source(__isl_keep isl_flow
*deps
);
32 void isl_flow_free(__isl_take isl_flow
*deps
);
34 #if defined(__cplusplus)