This repository was archived by the owner on Apr 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -195,10 +195,6 @@ inline isl::multi_aff operator/(isl::multi_aff left, isl::multi_val right) {
195
195
// /////////////////////////////////////////////////////////////////////////////
196
196
// Operations on isl::set and isl::union_set
197
197
// /////////////////////////////////////////////////////////////////////////////
198
- inline isl::set operator &(isl::set S1, isl::set S2) {
199
- return S1.intersect (S2);
200
- }
201
-
202
198
inline isl::union_set operator &(isl::union_set S1, isl::set S2) {
203
199
return S1.intersect (isl::union_set (S2));
204
200
}
@@ -207,10 +203,6 @@ inline isl::union_set operator&(isl::set S1, isl::union_set S2) {
207
203
return S2 & S1;
208
204
}
209
205
210
- inline isl::union_set operator &(isl::union_set S1, isl::union_set S2) {
211
- return S1.intersect (S2);
212
- }
213
-
214
206
// /////////////////////////////////////////////////////////////////////////////
215
207
// Operations on isl::set and isl::point
216
208
// /////////////////////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change @@ -40,6 +40,11 @@ inline T operator-(T a, T b) {
40
40
return a.sub (b);
41
41
}
42
42
43
+ template <typename T>
44
+ inline T operator &(T S1, T S2) {
45
+ return S1.intersect (S2);
46
+ }
47
+
43
48
inline isl::val operator *(isl::val l, isl::val r) {
44
49
return l.mul (r);
45
50
}
@@ -184,10 +189,8 @@ isl::multi_aff operator/(isl::multi_aff left, isl::multi_val right);
184
189
// /////////////////////////////////////////////////////////////////////////////
185
190
// Operations on isl::set and isl::union_set
186
191
// /////////////////////////////////////////////////////////////////////////////
187
- isl::set operator &(isl::set S1, isl::set S2);
188
192
isl::union_set operator &(isl::union_set S1, isl::set S2);
189
193
isl::union_set operator &(isl::set S1, isl::union_set S2);
190
- isl::union_set operator &(isl::union_set S1, isl::union_set S2);
191
194
192
195
// /////////////////////////////////////////////////////////////////////////////
193
196
// Operations on isl::set and isl::point
You can’t perform that action at this time.
0 commit comments