5 unsigned isl_basic_map_offset(struct isl_basic_map *bmap,
6 enum isl_dim_type type);
8 int isl_map_compatible_domain(struct isl_map *map, struct isl_set *set);
9 int isl_basic_map_compatible_domain(struct isl_basic_map *bmap,
10 struct isl_basic_set *bset);
11 int isl_basic_map_compatible_range(struct isl_basic_map *bmap,
12 struct isl_basic_set *bset);
14 struct isl_basic_map *isl_basic_map_extend_dim(struct isl_basic_map *base,
15 struct isl_dim *dim, unsigned extra,
16 unsigned n_eq, unsigned n_ineq);
17 struct isl_basic_set *isl_basic_set_extend_dim(struct isl_basic_set *base,
18 struct isl_dim *dim, unsigned extra,
19 unsigned n_eq, unsigned n_ineq);
20 struct isl_basic_set *isl_basic_set_add_constraints(struct isl_basic_set *bset1,
21 struct isl_basic_set *bset2, unsigned pos);
23 struct isl_map *isl_map_grow(struct isl_map *map, int n);
24 struct isl_set *isl_set_grow(struct isl_set *set, int n);
26 int isl_basic_set_contains(struct isl_basic_set *bset, struct isl_vec *vec);
28 struct isl_basic_set *isl_basic_set_alloc_dim(struct isl_dim *dim,
29 unsigned extra, unsigned n_eq, unsigned n_ineq);
30 struct isl_set *isl_set_alloc_dim(struct isl_dim *dim, int n, unsigned flags);
31 struct isl_basic_map *isl_basic_map_alloc_dim(struct isl_dim *dim,
32 unsigned extra, unsigned n_eq, unsigned n_ineq);
33 struct isl_map *isl_map_alloc_dim(struct isl_dim *dim, int n, unsigned flags);
35 unsigned isl_basic_map_total_dim(const struct isl_basic_map *bmap);
37 int isl_basic_map_alloc_equality(struct isl_basic_map *bmap);
38 int isl_basic_set_alloc_equality(struct isl_basic_set *bset);
39 int isl_basic_set_free_inequality(struct isl_basic_set *bset, unsigned n);
40 int isl_basic_map_free_equality(struct isl_basic_map *bmap, unsigned n);
41 int isl_basic_set_free_equality(struct isl_basic_set *bset, unsigned n);
42 int isl_basic_set_alloc_inequality(struct isl_basic_set *bset);
43 int isl_basic_map_alloc_inequality(struct isl_basic_map *bmap);
44 int isl_basic_map_free_inequality(struct isl_basic_map *bmap, unsigned n);
45 int isl_basic_map_alloc_div(struct isl_basic_map *bmap);
46 int isl_basic_set_alloc_div(struct isl_basic_set *bset);
47 int isl_basic_map_free_div(struct isl_basic_map *bmap, unsigned n);
48 int isl_basic_set_free_div(struct isl_basic_set *bset, unsigned n);
49 void isl_basic_map_inequality_to_equality(
50 struct isl_basic_map *bmap, unsigned pos);
51 int isl_basic_map_drop_equality(struct isl_basic_map *bmap, unsigned pos);
52 int isl_basic_set_drop_equality(struct isl_basic_set *bset, unsigned pos);
53 int isl_basic_set_drop_inequality(struct isl_basic_set *bset, unsigned pos);
54 int isl_basic_map_drop_inequality(struct isl_basic_map *bmap, unsigned pos);
55 __isl_give isl_basic_set *isl_basic_set_add_eq(__isl_take isl_basic_set *bset,
57 __isl_give isl_basic_set *isl_basic_set_add_ineq(__isl_take isl_basic_set *bset,
60 int isl_inequality_negate(struct isl_basic_map *bmap, unsigned pos);
62 struct isl_basic_set *isl_basic_set_cow(struct isl_basic_set *bset);
63 struct isl_basic_map *isl_basic_map_cow(struct isl_basic_map *bmap);
64 struct isl_set *isl_set_cow(struct isl_set *set);
65 struct isl_map *isl_map_cow(struct isl_map *map);
67 struct isl_basic_map *isl_basic_map_set_to_empty(struct isl_basic_map *bmap);
68 struct isl_basic_set *isl_basic_set_set_to_empty(struct isl_basic_set *bset);
69 struct isl_map *isl_basic_map_compute_divs(struct isl_basic_map *bmap);
70 struct isl_map *isl_map_compute_divs(struct isl_map *map);
71 struct isl_basic_set *isl_basic_set_order_divs(struct isl_basic_set *bset);
72 void isl_basic_map_swap_div(struct isl_basic_map *bmap, int a, int b);
73 struct isl_basic_map *isl_basic_map_order_divs(struct isl_basic_map *bmap);
74 struct isl_basic_map *isl_basic_map_align_divs(
75 struct isl_basic_map *dst, struct isl_basic_map *src);
76 struct isl_basic_set *isl_basic_set_align_divs(
77 struct isl_basic_set *dst, struct isl_basic_set *src);
78 struct isl_map *isl_map_align_divs(struct isl_map *map);
79 struct isl_set *isl_set_align_divs(struct isl_set *set);
80 struct isl_basic_map *isl_basic_map_gauss(
81 struct isl_basic_map *bmap, int *progress);
82 struct isl_basic_set *isl_basic_set_gauss(
83 struct isl_basic_set *bset, int *progress);
84 struct isl_basic_map *isl_basic_map_normalize_constraints(
85 struct isl_basic_map *bmap);
86 struct isl_basic_set *isl_basic_set_normalize_constraints(
87 struct isl_basic_set *bset);
88 struct isl_basic_map *isl_basic_map_implicit_equalities(
89 struct isl_basic_map *bmap);
90 struct isl_basic_set *isl_basic_map_underlying_set(struct isl_basic_map *bmap);
91 __isl_give isl_basic_set *isl_basic_set_underlying_set(
92 __isl_take isl_basic_set *bset);
93 struct isl_set *isl_map_underlying_set(struct isl_map *map);
94 struct isl_basic_map *isl_basic_map_overlying_set(struct isl_basic_set *bset,
95 struct isl_basic_map *like);
96 struct isl_basic_map *isl_basic_map_drop(struct isl_basic_map *bmap,
97 enum isl_dim_type type, unsigned first, unsigned n);
98 struct isl_basic_set *isl_basic_set_drop_dims(
99 struct isl_basic_set *bset, unsigned first, unsigned n);
100 struct isl_set *isl_set_drop_dims(
101 struct isl_set *set, unsigned first, unsigned n);
102 struct isl_map *isl_map_drop_inputs(
103 struct isl_map *map, unsigned first, unsigned n);
104 struct isl_map *isl_map_drop(struct isl_map *map,
105 enum isl_dim_type type, unsigned first, unsigned n);
107 struct isl_map *isl_map_remove_empty_parts(struct isl_map *map);
108 struct isl_set *isl_set_remove_empty_parts(struct isl_set *set);
110 struct isl_set *isl_set_normalize(struct isl_set *set);
112 struct isl_set *isl_set_drop_vars(
113 struct isl_set *set, unsigned first, unsigned n);
115 struct isl_basic_map *isl_basic_map_eliminate_vars(
116 struct isl_basic_map *bmap, unsigned pos, unsigned n);
117 struct isl_basic_set *isl_basic_set_eliminate_vars(
118 struct isl_basic_set *bset, unsigned pos, unsigned n);
120 int isl_basic_set_constraint_is_redundant(struct isl_basic_set **bset,
121 isl_int *c, isl_int *opt_n, isl_int *opt_d);
123 struct isl_basic_map *isl_basic_map_drop_redundant_divs(
124 struct isl_basic_map *bmap);
125 struct isl_basic_set *isl_basic_set_drop_redundant_divs(
126 struct isl_basic_set *bset);
128 struct isl_basic_set *isl_basic_set_recession_cone(struct isl_basic_set *bset);
129 struct isl_basic_set *isl_basic_set_lineality_space(struct isl_basic_set *bset);
131 struct isl_basic_set *isl_basic_set_set_rational(struct isl_basic_set *bset);
135 struct isl_basic_set *isl_basic_set_preimage(struct isl_basic_set *bset,
136 struct isl_mat *mat);
137 struct isl_set *isl_set_preimage(struct isl_set *set, struct isl_mat *mat);