2015-02-17 03:33:40 +08:00
|
|
|
#define isl_union_set_list isl_union_map_list
|
2015-02-05 04:55:43 +08:00
|
|
|
#define isl_union_set isl_union_map
|
|
|
|
#include <isl/union_map.h>
|
|
|
|
#include <isl/union_set.h>
|
|
|
|
|
|
|
|
struct isl_union_map {
|
|
|
|
int ref;
|
|
|
|
isl_space *dim;
|
|
|
|
|
|
|
|
struct isl_hash_table table;
|
|
|
|
};
|
2015-02-17 03:33:40 +08:00
|
|
|
|
2021-01-20 00:28:43 +08:00
|
|
|
struct isl_hash_table_entry *isl_union_set_find_entry(
|
|
|
|
__isl_keep isl_union_set *uset, __isl_keep isl_space *space,
|
|
|
|
int reserve);
|
|
|
|
|
2018-04-21 16:34:22 +08:00
|
|
|
__isl_keep isl_space *isl_union_map_peek_space(__isl_keep isl_union_map *umap);
|
[Polly] Update ISL to isl-0.22.1-87-gfee05a13.
The primary motivation is to fix an assertion failure in
isl_basic_map_alloc_equality:
isl_assert(ctx, room_for_con(bmap, 1), return -1);
Although the assertion does not occur anymore, I could not identify
which of ISL's commits fixed it.
Compared to the previous ISL version, Polly requires some changes for this update
* Since ISL commit
20d3574 "perform parameter alignment by modifying both arguments to function"
isl_*_gist_* and similar functions do not always align the paramter
list anymore. This caused the parameter lists in JScop files to
become out-of-sync. Since many regression tests use JScop files with
a fixed parameter list and order, we explicitly call align_params to
ensure a predictable parameter list.
* ISL changed some return types to isl_size, a typedef of (signed) int.
This caused some issues where the return type was unsigned int before:
- No overload for std::max(unsigned,isl_size)
- It cause additional 'mixed signed/unsigned comparison' warnings.
Since they do not break compilation, and sizes larger than 2^31
were never supported, I am going to fix it separately.
* With the change to isl_size, commit
57d547 "isl_*_list_size: return isl_size"
also changed the return value in case of an error from 0 to -1. This
caused undefined looping over isl_iterator since the 'end iterator'
got index -1, never reached from the 'begin iterator' with index 0.
* Some internal changes in ISL caused the number of operations to
increase when determining access ranges to determine aliasing
overlaps. In one test, this caused exceeding the default limit of
800000. The operations-limit was disabled for this test.
2020-02-11 04:51:33 +08:00
|
|
|
__isl_keep isl_space *isl_union_set_peek_space(__isl_keep isl_union_set *uset);
|
2018-04-21 16:34:22 +08:00
|
|
|
isl_bool isl_union_map_is_params(__isl_keep isl_union_map *umap);
|
2017-03-10 17:17:55 +08:00
|
|
|
isl_bool isl_union_map_space_has_equal_params(__isl_keep isl_union_map *umap,
|
|
|
|
__isl_keep isl_space *space);
|
2018-02-20 15:26:42 +08:00
|
|
|
isl_bool isl_union_set_space_has_equal_params(__isl_keep isl_union_set *uset,
|
|
|
|
__isl_keep isl_space *space);
|
2015-02-17 03:33:40 +08:00
|
|
|
__isl_give isl_union_map *isl_union_map_reset_range_space(
|
|
|
|
__isl_take isl_union_map *umap, __isl_take isl_space *space);
|
2018-04-21 16:34:22 +08:00
|
|
|
__isl_give isl_union_map *isl_union_map_reset_equal_dim_space(
|
|
|
|
__isl_take isl_union_map *umap, __isl_take isl_space *space);
|