diff options
author | Tobias Grosser <tobias@grosser.es> | 2017-07-14 10:36:00 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2017-07-14 10:36:00 +0000 |
commit | 231179ac70dd35e7711cd31121f86c79cebedfc1 (patch) | |
tree | b5472f974818e850d73547df0fb3c2237852c77a | |
parent | 49db03062618c85de880f3e9ab200faecda115f7 (diff) | |
download | bcm5719-llvm-231179ac70dd35e7711cd31121f86c79cebedfc1.tar.gz bcm5719-llvm-231179ac70dd35e7711cd31121f86c79cebedfc1.zip |
update isl to: isl-0.18-791-ga22eb92
This is a regular maintenance update
llvm-svn: 308013
-rw-r--r-- | polly/lib/External/isl/GIT_HEAD_ID | 2 | ||||
-rwxr-xr-x | polly/lib/External/isl/config.guess | 28 | ||||
-rwxr-xr-x | polly/lib/External/isl/config.sub | 22 | ||||
-rw-r--r-- | polly/lib/External/isl/include/isl/mat.h | 10 | ||||
-rw-r--r-- | polly/lib/External/isl/include/isl/set.h | 8 | ||||
-rw-r--r-- | polly/lib/External/isl/include/isl/vec.h | 2 | ||||
-rw-r--r-- | polly/lib/External/isl/isl_map.c | 28 | ||||
-rw-r--r-- | polly/lib/External/isl/isl_map_private.h | 42 | ||||
-rw-r--r-- | polly/lib/External/isl/isl_map_simplify.c | 8 | ||||
-rw-r--r-- | polly/lib/External/isl/isl_mat.c | 17 | ||||
-rw-r--r-- | polly/lib/External/isl/isl_vec.c | 4 | ||||
-rw-r--r-- | polly/lib/External/isl/ltmain.sh | 6 |
12 files changed, 84 insertions, 93 deletions
diff --git a/polly/lib/External/isl/GIT_HEAD_ID b/polly/lib/External/isl/GIT_HEAD_ID index b50c79479b5..82e1cd3784a 100644 --- a/polly/lib/External/isl/GIT_HEAD_ID +++ b/polly/lib/External/isl/GIT_HEAD_ID @@ -1 +1 @@ -isl-0.18-768-g033b61ae +isl-0.18-791-ga22eb92 diff --git a/polly/lib/External/isl/config.guess b/polly/lib/External/isl/config.guess index 2e9ad7fe818..0967f2afa92 100755 --- a/polly/lib/External/isl/config.guess +++ b/polly/lib/External/isl/config.guess @@ -2,7 +2,7 @@ # Attempt to guess a canonical system name. # Copyright 1992-2016 Free Software Foundation, Inc. -timestamp='2016-10-02' +timestamp='2016-04-02' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -186,12 +186,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched - # to ELF recently (or will in the future) and ABI. + # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in - earm*) - os=netbsdelf - ;; - arm*|i386|m68k|ns32k|sh3*|sparc|vax) + arm*|earm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ @@ -1000,9 +997,6 @@ EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } ;; - mips64el:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} - exit ;; openrisc*:Linux:*:*) echo or1k-unknown-linux-${LIBC} exit ;; @@ -1035,9 +1029,6 @@ EOF ppcle:Linux:*:*) echo powerpcle-unknown-linux-${LIBC} exit ;; - riscv32:Linux:*:* | riscv64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} - exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux-${LIBC} exit ;; @@ -1417,17 +1408,18 @@ esac cat >&2 <<EOF $0: unable to guess system type -This script (version $timestamp), has failed to recognize the -operating system you are using. If your script is old, overwrite -config.guess and config.sub with the latest versions from: +This script, last modified $timestamp, has failed to recognize +the operating system you are using. It is advised that you +download the most up to date version of the config scripts from http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess and http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub -If $0 has already been updated, send the following data and any -information you think might be pertinent to config-patches@gnu.org to -provide the necessary information to handle your system. +If the version you run ($0) is already up to date, please +send the following data and any information you think might be +pertinent to <config-patches@gnu.org> in order to provide the needed +information to handle your system. config.guess timestamp = $timestamp diff --git a/polly/lib/External/isl/config.sub b/polly/lib/External/isl/config.sub index dd2ca93c6fb..8d39c4ba39f 100755 --- a/polly/lib/External/isl/config.sub +++ b/polly/lib/External/isl/config.sub @@ -2,7 +2,7 @@ # Configuration validation subroutine script. # Copyright 1992-2016 Free Software Foundation, Inc. -timestamp='2016-11-04' +timestamp='2016-03-30' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -117,7 +117,7 @@ case $maybe_os in nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ - kopensolaris*-gnu* | cloudabi*-eabi* | \ + kopensolaris*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` @@ -301,7 +301,6 @@ case $basic_machine in | open8 | or1k | or1knd | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ - | pru \ | pyramid \ | riscv32 | riscv64 \ | rl78 | rx \ @@ -429,7 +428,6 @@ case $basic_machine in | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ - | pru-* \ | pyramid-* \ | riscv32-* | riscv64-* \ | rl78-* | romp-* | rs6000-* | rx-* \ @@ -645,14 +643,6 @@ case $basic_machine in basic_machine=m68k-bull os=-sysv3 ;; - e500v[12]) - basic_machine=powerpc-unknown - os=$os"spe" - ;; - e500v[12]-*) - basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` - os=$os"spe" - ;; ebmon29k) basic_machine=a29k-amd os=-ebmon @@ -1032,7 +1022,7 @@ case $basic_machine in ppc-* | ppcbe-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; - ppcle | powerpclittle) + ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) @@ -1042,7 +1032,7 @@ case $basic_machine in ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; - ppc64le | powerpc64little) + ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) @@ -1399,7 +1389,7 @@ case $os in | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* | -cegcc* \ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ + | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ @@ -1409,7 +1399,7 @@ case $os in | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ - | -onefs* | -tirtos* | -phoenix* | -fuchsia*) + | -onefs* | -tirtos*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) diff --git a/polly/lib/External/isl/include/isl/mat.h b/polly/lib/External/isl/include/isl/mat.h index fc21fd2439f..8764c96f365 100644 --- a/polly/lib/External/isl/include/isl/mat.h +++ b/polly/lib/External/isl/include/isl/mat.h @@ -27,12 +27,12 @@ isl_ctx *isl_mat_get_ctx(__isl_keep isl_mat *mat); __isl_give isl_mat *isl_mat_alloc(isl_ctx *ctx, unsigned n_row, unsigned n_col); -struct isl_mat *isl_mat_dup(struct isl_mat *mat); +__isl_give isl_mat *isl_mat_dup(__isl_keep isl_mat *mat); struct isl_mat *isl_mat_extend(struct isl_mat *mat, unsigned n_row, unsigned n_col); struct isl_mat *isl_mat_identity(struct isl_ctx *ctx, unsigned n_row); __isl_give isl_mat *isl_mat_copy(__isl_keep isl_mat *mat); -struct isl_mat *isl_mat_cow(struct isl_mat *mat); +__isl_give isl_mat *isl_mat_cow(__isl_take isl_mat *mat); __isl_null isl_mat *isl_mat_free(__isl_take isl_mat *mat); int isl_mat_rows(__isl_keep isl_mat *mat); @@ -73,9 +73,9 @@ __isl_give isl_mat *isl_mat_right_kernel(__isl_take isl_mat *mat); __isl_give isl_mat *isl_mat_normalize(__isl_take isl_mat *mat); __isl_give isl_mat *isl_mat_normalize_row(__isl_take isl_mat *mat, int row); -struct isl_mat *isl_mat_drop_cols(struct isl_mat *mat, - unsigned col, unsigned n); -struct isl_mat *isl_mat_drop_rows(struct isl_mat *mat, +__isl_give isl_mat *isl_mat_drop_cols(__isl_take isl_mat *mat, + unsigned col, unsigned n); +__isl_give isl_mat *isl_mat_drop_rows(__isl_take isl_mat *mat, unsigned row, unsigned n); __isl_give isl_mat *isl_mat_insert_cols(__isl_take isl_mat *mat, unsigned col, unsigned n); diff --git a/polly/lib/External/isl/include/isl/set.h b/polly/lib/External/isl/include/isl/set.h index a0bc344c04e..76c00fa11ba 100644 --- a/polly/lib/External/isl/include/isl/set.h +++ b/polly/lib/External/isl/include/isl/set.h @@ -266,8 +266,8 @@ __isl_give isl_basic_set *isl_set_unshifted_simple_hull_from_set_list( __isl_take isl_set *set, __isl_take isl_set_list *list); __isl_give isl_basic_set *isl_set_bounded_simple_hull(__isl_take isl_set *set); -struct isl_set *isl_set_union_disjoint( - struct isl_set *set1, struct isl_set *set2); +__isl_give isl_set *isl_set_union_disjoint( + __isl_take isl_set *set1, __isl_take isl_set *set2); __isl_export __isl_give isl_set *isl_set_union( __isl_take isl_set *set1, @@ -337,7 +337,7 @@ __isl_give isl_basic_set *isl_basic_set_eliminate( enum isl_dim_type type, unsigned first, unsigned n); __isl_give isl_set *isl_set_eliminate(__isl_take isl_set *set, enum isl_dim_type type, unsigned first, unsigned n); -struct isl_set *isl_set_eliminate_dims(struct isl_set *set, +__isl_give isl_set *isl_set_eliminate_dims(__isl_take isl_set *set, unsigned first, unsigned n); __isl_give isl_set *isl_set_remove_dims(__isl_take isl_set *bset, enum isl_dim_type type, unsigned first, unsigned n); @@ -399,7 +399,7 @@ __isl_give isl_basic_set *isl_basic_set_neg(__isl_take isl_basic_set *bset); __isl_give isl_set *isl_set_neg(__isl_take isl_set *set); __isl_give isl_set *isl_set_make_disjoint(__isl_take isl_set *set); -struct isl_set *isl_basic_set_compute_divs(struct isl_basic_set *bset); +__isl_give isl_set *isl_basic_set_compute_divs(__isl_take isl_basic_set *bset); __isl_give isl_set *isl_set_compute_divs(__isl_take isl_set *set); ISL_DEPRECATED __isl_give isl_set *isl_set_align_divs(__isl_take isl_set *set); diff --git a/polly/lib/External/isl/include/isl/vec.h b/polly/lib/External/isl/include/isl/vec.h index e73278cd236..6b587943e96 100644 --- a/polly/lib/External/isl/include/isl/vec.h +++ b/polly/lib/External/isl/include/isl/vec.h @@ -44,7 +44,7 @@ void isl_vec_dump(__isl_keep isl_vec *vec); __isl_give isl_printer *isl_printer_print_vec(__isl_take isl_printer *printer, __isl_keep isl_vec *vec); -struct isl_vec *isl_vec_ceil(struct isl_vec *vec); +__isl_give isl_vec *isl_vec_ceil(__isl_take isl_vec *vec); struct isl_vec *isl_vec_normalize(struct isl_vec *vec); __isl_give isl_vec *isl_vec_set_si(__isl_take isl_vec *vec, int v); __isl_give isl_vec *isl_vec_set_val(__isl_take isl_vec *vec, diff --git a/polly/lib/External/isl/isl_map.c b/polly/lib/External/isl/isl_map.c index 960f80fd892..cb3b376071d 100644 --- a/polly/lib/External/isl/isl_map.c +++ b/polly/lib/External/isl/isl_map.c @@ -1173,7 +1173,7 @@ struct isl_basic_set *isl_basic_set_alloc(struct isl_ctx *ctx, return bset_from_bmap(bmap); } -struct isl_basic_set *isl_basic_set_alloc_space(__isl_take isl_space *dim, +__isl_give isl_basic_set *isl_basic_set_alloc_space(__isl_take isl_space *dim, unsigned extra, unsigned n_eq, unsigned n_ineq) { struct isl_basic_map *bmap; @@ -1853,7 +1853,8 @@ error: return NULL; } -struct isl_basic_set *isl_basic_set_extend_space(struct isl_basic_set *base, +__isl_give isl_basic_set *isl_basic_set_extend_space( + __isl_take isl_basic_set *base, __isl_take isl_space *dim, unsigned extra, unsigned n_eq, unsigned n_ineq) { @@ -2049,7 +2050,8 @@ error: return NULL; } -struct isl_basic_set *isl_basic_set_set_to_empty(struct isl_basic_set *bset) +__isl_give isl_basic_set *isl_basic_set_set_to_empty( + __isl_take isl_basic_set *bset) { return bset_from_bmap(isl_basic_map_set_to_empty(bset_to_bmap(bset))); } @@ -2171,8 +2173,8 @@ static void constraint_drop_vars(isl_int *c, unsigned n, unsigned rem) * the div array too as the number of rows in this array is assumed * to be equal to extra. */ -struct isl_basic_set *isl_basic_set_drop_dims( - struct isl_basic_set *bset, unsigned first, unsigned n) +__isl_give isl_basic_set *isl_basic_set_drop_dims( + __isl_take isl_basic_set *bset, unsigned first, unsigned n) { return isl_basic_map_drop(bset_to_bmap(bset), isl_dim_set, first, n); } @@ -5300,8 +5302,8 @@ int isl_basic_map_add_div_constraint(__isl_keep isl_basic_map *bmap, return add_lower_div_constraint(bmap, div_pos, bmap->div[div]); } -struct isl_basic_set *isl_basic_map_underlying_set( - struct isl_basic_map *bmap) +__isl_give isl_basic_set *isl_basic_map_underlying_set( + __isl_take isl_basic_map *bmap) { if (!bmap) goto error; @@ -5355,8 +5357,8 @@ __isl_give isl_basic_set_list *isl_basic_map_list_underlying_set( return list; } -struct isl_basic_map *isl_basic_map_overlying_set( - struct isl_basic_set *bset, struct isl_basic_map *like) +__isl_give isl_basic_map *isl_basic_map_overlying_set( + __isl_take isl_basic_set *bset, __isl_take isl_basic_map *like) { struct isl_basic_map *bmap; struct isl_ctx *ctx; @@ -5425,7 +5427,7 @@ struct isl_basic_set *isl_basic_set_from_underlying_set( bset_to_bmap(like))); } -struct isl_set *isl_map_underlying_set(struct isl_map *map) +__isl_give isl_set *isl_map_underlying_set(__isl_take isl_map *map) { int i; @@ -7597,7 +7599,7 @@ __isl_give isl_map *isl_map_compute_divs(__isl_take isl_map *map) return res; } -struct isl_set *isl_basic_set_compute_divs(struct isl_basic_set *bset) +__isl_give isl_set *isl_basic_set_compute_divs(__isl_take isl_basic_set *bset) { return set_from_map(isl_basic_map_compute_divs(bset_to_bmap(bset))); } @@ -7778,8 +7780,8 @@ __isl_give isl_map *isl_map_union(__isl_take isl_map *map1, return isl_map_align_params_map_map_and(map1, map2, &map_union_aligned); } -struct isl_set *isl_set_union_disjoint( - struct isl_set *set1, struct isl_set *set2) +__isl_give isl_set *isl_set_union_disjoint( + __isl_take isl_set *set1, __isl_take isl_set *set2) { return set_from_map(isl_map_union_disjoint(set_to_map(set1), set_to_map(set2))); diff --git a/polly/lib/External/isl/isl_map_private.h b/polly/lib/External/isl/isl_map_private.h index d5b25039782..ba2937efe89 100644 --- a/polly/lib/External/isl/isl_map_private.h +++ b/polly/lib/External/isl/isl_map_private.h @@ -194,7 +194,8 @@ isl_bool isl_basic_map_compatible_range(__isl_keep isl_basic_map *bmap, __isl_give isl_basic_map *isl_basic_map_extend_space( __isl_take isl_basic_map *base, __isl_take isl_space *dim, unsigned extra, unsigned n_eq, unsigned n_ineq); -struct isl_basic_set *isl_basic_set_extend_space(struct isl_basic_set *base, +__isl_give isl_basic_set *isl_basic_set_extend_space( + __isl_take isl_basic_set *base, __isl_take isl_space *dim, unsigned extra, unsigned n_eq, unsigned n_ineq); struct isl_basic_set *isl_basic_set_add_constraints(struct isl_basic_set *bset1, @@ -263,15 +264,16 @@ __isl_give isl_set *isl_basic_set_list_union( __isl_give isl_basic_map *isl_basic_map_set_to_empty( __isl_take isl_basic_map *bmap); -struct isl_basic_set *isl_basic_set_set_to_empty(struct isl_basic_set *bset); +__isl_give isl_basic_set *isl_basic_set_set_to_empty( + __isl_take isl_basic_set *bset); struct isl_basic_set *isl_basic_set_order_divs(struct isl_basic_set *bset); void isl_basic_map_swap_div(struct isl_basic_map *bmap, int a, int b); void isl_basic_set_swap_div(struct isl_basic_set *bset, int a, int b); __isl_give isl_basic_map *isl_basic_map_order_divs( __isl_take isl_basic_map *bmap); __isl_give isl_map *isl_map_order_divs(__isl_take isl_map *map); -struct isl_basic_map *isl_basic_map_align_divs( - struct isl_basic_map *dst, struct isl_basic_map *src); +__isl_give isl_basic_map *isl_basic_map_align_divs( + __isl_take isl_basic_map *dst, __isl_keep isl_basic_map *src); __isl_give isl_map *isl_map_align_divs_to_basic_map_list( __isl_take isl_map *map, __isl_keep isl_basic_map_list *list); __isl_give isl_basic_map_list *isl_basic_map_list_align_divs_to_basic_map( @@ -284,8 +286,8 @@ __isl_give isl_basic_map *isl_basic_map_sort_divs( __isl_give isl_map *isl_map_sort_divs(__isl_take isl_map *map); __isl_give isl_basic_map *isl_basic_map_gauss(__isl_take isl_basic_map *bmap, int *progress); -struct isl_basic_set *isl_basic_set_gauss( - struct isl_basic_set *bset, int *progress); +__isl_give isl_basic_set *isl_basic_set_gauss( + __isl_take isl_basic_set *bset, int *progress); int isl_basic_map_constraint_cmp(__isl_keep isl_basic_map *bmap, isl_int *c1, isl_int *c2); __isl_give isl_basic_map *isl_basic_map_sort_constraints( @@ -298,18 +300,19 @@ isl_bool isl_basic_map_plain_is_equal(__isl_keep isl_basic_map *bmap1, __isl_keep isl_basic_map *bmap2); __isl_give isl_basic_map *isl_basic_map_normalize_constraints( __isl_take isl_basic_map *bmap); -struct isl_basic_set *isl_basic_set_normalize_constraints( - struct isl_basic_set *bset); +__isl_give isl_basic_set *isl_basic_set_normalize_constraints( + __isl_take isl_basic_set *bset); __isl_give isl_basic_map *isl_basic_map_implicit_equalities( __isl_take isl_basic_map *bmap); -struct isl_basic_set *isl_basic_map_underlying_set(struct isl_basic_map *bmap); +__isl_give isl_basic_set *isl_basic_map_underlying_set( + __isl_take isl_basic_map *bmap); __isl_give isl_basic_set *isl_basic_set_underlying_set( __isl_take isl_basic_set *bset); __isl_give isl_basic_set_list *isl_basic_map_list_underlying_set( __isl_take isl_basic_map_list *list); -struct isl_set *isl_map_underlying_set(struct isl_map *map); -struct isl_basic_map *isl_basic_map_overlying_set(struct isl_basic_set *bset, - struct isl_basic_map *like); +__isl_give isl_set *isl_map_underlying_set(__isl_take isl_map *map); +__isl_give isl_basic_map *isl_basic_map_overlying_set( + __isl_take isl_basic_set *bset, __isl_take isl_basic_map *like); __isl_give isl_basic_map *isl_basic_map_drop_constraint_involving_unknown_divs( __isl_take isl_basic_map *bmap); __isl_give isl_map *isl_map_drop_constraint_involving_unknown_divs( @@ -322,8 +325,8 @@ __isl_give isl_basic_map *isl_basic_map_drop(__isl_take isl_basic_map *bmap, enum isl_dim_type type, unsigned first, unsigned n); __isl_give isl_set *isl_set_drop(__isl_take isl_set *set, enum isl_dim_type type, unsigned first, unsigned n); -struct isl_basic_set *isl_basic_set_drop_dims( - struct isl_basic_set *bset, unsigned first, unsigned n); +__isl_give isl_basic_set *isl_basic_set_drop_dims( + __isl_take isl_basic_set *bset, unsigned first, unsigned n); __isl_give isl_map *isl_map_drop(__isl_take isl_map *map, enum isl_dim_type type, unsigned first, unsigned n); __isl_give isl_basic_map *isl_basic_map_drop_unrelated_constraints( @@ -358,8 +361,8 @@ int isl_basic_map_add_div_constraint(__isl_keep isl_basic_map *bmap, int isl_basic_map_add_div_constraints(struct isl_basic_map *bmap, unsigned div); __isl_give isl_basic_map *isl_basic_map_add_known_div_constraints( __isl_take isl_basic_map *bmap); -struct isl_basic_map *isl_basic_map_drop_redundant_divs( - struct isl_basic_map *bmap); +__isl_give isl_basic_map *isl_basic_map_drop_redundant_divs( + __isl_take isl_basic_map *bmap); __isl_give isl_basic_set *isl_basic_set_recession_cone( __isl_take isl_basic_set *bset); @@ -388,9 +391,10 @@ __isl_give isl_basic_map *isl_basic_map_from_multi_aff2( struct isl_mat; -struct isl_basic_set *isl_basic_set_preimage(struct isl_basic_set *bset, - struct isl_mat *mat); -struct isl_set *isl_set_preimage(struct isl_set *set, struct isl_mat *mat); +__isl_give isl_basic_set *isl_basic_set_preimage( + __isl_take isl_basic_set *bset, __isl_take isl_mat *mat); +__isl_give isl_set *isl_set_preimage( + __isl_take isl_set *set, __isl_take isl_mat *mat); __isl_give isl_basic_map *isl_basic_map_transform_dims( __isl_take isl_basic_map *bmap, enum isl_dim_type type, unsigned first, diff --git a/polly/lib/External/isl/isl_map_simplify.c b/polly/lib/External/isl/isl_map_simplify.c index 2b8cd896c05..06806d9e984 100644 --- a/polly/lib/External/isl/isl_map_simplify.c +++ b/polly/lib/External/isl/isl_map_simplify.c @@ -98,8 +98,8 @@ __isl_give isl_basic_map *isl_basic_map_normalize_constraints( return bmap; } -struct isl_basic_set *isl_basic_set_normalize_constraints( - struct isl_basic_set *bset) +__isl_give isl_basic_set *isl_basic_set_normalize_constraints( + __isl_take isl_basic_set *bset) { isl_basic_map *bmap = bset_to_bmap(bset); return bset_from_bmap(isl_basic_map_normalize_constraints(bmap)); @@ -594,8 +594,8 @@ __isl_give isl_basic_map *isl_basic_map_gauss(__isl_take isl_basic_map *bmap, return bmap; } -struct isl_basic_set *isl_basic_set_gauss( - struct isl_basic_set *bset, int *progress) +__isl_give isl_basic_set *isl_basic_set_gauss( + __isl_take isl_basic_set *bset, int *progress) { return bset_from_bmap(isl_basic_map_gauss(bset_to_bmap(bset), progress)); diff --git a/polly/lib/External/isl/isl_mat.c b/polly/lib/External/isl/isl_mat.c index 3d0eb297ab9..0e9666c8e5d 100644 --- a/polly/lib/External/isl/isl_mat.c +++ b/polly/lib/External/isl/isl_mat.c @@ -203,7 +203,7 @@ __isl_give isl_mat *isl_mat_copy(__isl_keep isl_mat *mat) return mat; } -struct isl_mat *isl_mat_dup(struct isl_mat *mat) +__isl_give isl_mat *isl_mat_dup(__isl_keep isl_mat *mat) { int i; struct isl_mat *mat2; @@ -218,7 +218,7 @@ struct isl_mat *isl_mat_dup(struct isl_mat *mat) return mat2; } -struct isl_mat *isl_mat_cow(struct isl_mat *mat) +__isl_give isl_mat *isl_mat_cow(__isl_take isl_mat *mat) { struct isl_mat *mat2; if (!mat) @@ -1284,8 +1284,8 @@ static int preimage(struct isl_ctx *ctx, isl_int **q, unsigned n, * the div array too as the number of rows in this array is assumed * to be equal to extra. */ -struct isl_basic_set *isl_basic_set_preimage(struct isl_basic_set *bset, - struct isl_mat *mat) +__isl_give isl_basic_set *isl_basic_set_preimage( + __isl_take isl_basic_set *bset, __isl_take isl_mat *mat) { struct isl_ctx *ctx; @@ -1340,7 +1340,8 @@ error2: return NULL; } -struct isl_set *isl_set_preimage(struct isl_set *set, struct isl_mat *mat) +__isl_give isl_set *isl_set_preimage( + __isl_take isl_set *set, __isl_take isl_mat *mat) { int i; @@ -1428,7 +1429,8 @@ void isl_mat_dump(__isl_keep isl_mat *mat) isl_mat_print_internal(mat, stderr, 0); } -struct isl_mat *isl_mat_drop_cols(struct isl_mat *mat, unsigned col, unsigned n) +__isl_give isl_mat *isl_mat_drop_cols(__isl_take isl_mat *mat, + unsigned col, unsigned n) { int r; @@ -1448,7 +1450,8 @@ struct isl_mat *isl_mat_drop_cols(struct isl_mat *mat, unsigned col, unsigned n) return mat; } -struct isl_mat *isl_mat_drop_rows(struct isl_mat *mat, unsigned row, unsigned n) +__isl_give isl_mat *isl_mat_drop_rows(__isl_take isl_mat *mat, + unsigned row, unsigned n) { int r; diff --git a/polly/lib/External/isl/isl_vec.c b/polly/lib/External/isl/isl_vec.c index 25976c19da6..a48abf9ed4a 100644 --- a/polly/lib/External/isl/isl_vec.c +++ b/polly/lib/External/isl/isl_vec.c @@ -30,7 +30,7 @@ uint32_t isl_vec_get_hash(__isl_keep isl_vec *vec) return isl_seq_get_hash(vec->el, vec->size); } -struct isl_vec *isl_vec_alloc(struct isl_ctx *ctx, unsigned size) +__isl_give isl_vec *isl_vec_alloc(struct isl_ctx *ctx, unsigned size) { struct isl_vec *vec; @@ -439,7 +439,7 @@ void isl_vec_lcm(struct isl_vec *vec, isl_int *lcm) /* Given a rational vector, with the denominator in the first element * of the vector, round up all coordinates. */ -struct isl_vec *isl_vec_ceil(struct isl_vec *vec) +__isl_give isl_vec *isl_vec_ceil(__isl_take isl_vec *vec) { vec = isl_vec_cow(vec); if (!vec) diff --git a/polly/lib/External/isl/ltmain.sh b/polly/lib/External/isl/ltmain.sh index a736cf99425..2ad8be8483d 100644 --- a/polly/lib/External/isl/ltmain.sh +++ b/polly/lib/External/isl/ltmain.sh @@ -31,7 +31,7 @@ PROGRAM=libtool PACKAGE=libtool -VERSION="2.4.6 Debian-2.4.6-2" +VERSION="2.4.6 Debian-2.4.6-1" package_revision=2.4.6 @@ -1977,7 +1977,7 @@ func_version () # End: # Set a version string. -scriptversion='(GNU libtool) 2.4.6' +scriptversion='(GNU libtool) 2.4.6 Debian-2.4.6-1' # func_echo ARG... @@ -2068,7 +2068,7 @@ include the following information: compiler: $LTCC compiler flags: $LTCFLAGS linker: $LD (gnu? $with_gnu_ld) - version: $progname $scriptversion Debian-2.4.6-2 + version: $progname $scriptversion automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` |