barvinok.git
11 months agouse test scripts for performing testsmaster
Sven Verdoolaege [Fri, 28 Apr 2023 20:20:17 +0000 (28 22:20 +0200)]
use test scripts for performing tests

This exploits the automake parallel test harness,
which takes care of collecting the test scripts output and
only prints a summary of the results.

The parallel test harness uses the test-driver helper program,
which now gets installed by autoreconf and should therefore be ignored.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
12 months agobarvinok_enumerate_e: drop Omega simplification
Sven Verdoolaege [Mon, 7 Nov 2016 13:30:40 +0000 (7 14:30 +0100)]
barvinok_enumerate_e: drop Omega simplification

This has not been tested in a while and it is not even clear
which version of Omega this is supposed to use.
Furthermore, the Omega library no longer appears to be maintained.

If a user really needs such simplifications, they will just
have to do them separately.
The iscc interface also provides similar simplifications through isl.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
12 months agobarvinok_enumerate_e: drop option to use Parker's DFA based counting
Sven Verdoolaege [Tue, 18 Oct 2016 10:39:46 +0000 (18 12:39 +0200)]
barvinok_enumerate_e: drop option to use Parker's DFA based counting

In fact, since this is the only remaining use
of Parker's library, remove it completely.

This was only ever meant as a means to compare
different ways of counting and it is not clear
if it still compiles.
In particular, it (also) uses the Omega library and
use of that library will be completely removed in the next commit.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
12 months agoremove selection of default specialization
Sven Verdoolaege [Sat, 20 Aug 2022 07:49:40 +0000 (20 09:49 +0200)]
remove selection of default specialization

Ever since barvinok-0.21-122-g2f7cca5df (optionc.c: move choice of
which specialization to use to barvinok_options,
Thu Sep 21 14:30:59 2006 +0200), the type of specialization
selected at configure time only determines the default specialization.
Since the actual choice of specialization type can be set at run time,
there is little point in being able to set this default
at configure time.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
12 months agodoc/barvinok.bib: drop Parker2004 entry
Sven Verdoolaege [Mon, 1 May 2023 08:47:47 +0000 (1 10:47 +0200)]
doc/barvinok.bib: drop Parker2004 entry

The last reference to this entry was removed in barvinok-0.30-25-g095e4cf7e3
(drop "Omega counting calculator", Sat Mar 27 13:54:54 2010 +0100).

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
12 months agodoc: update outputs of examples
Sven Verdoolaege [Sat, 19 Mar 2022 11:36:29 +0000 (19 12:36 +0100)]
doc: update outputs of examples

The outputs of some the examples in the documentation look
slightly different from when they were first documented.
Update the outputs to the current state.

In particular
- the vertices of the input of barvinok_count are no longer computed
- barvinok_enumerate* no longer prints the input
- in isl output, an integer division is now printed as floor(n/d)

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
13 months agodrop declaration of pip_*_Polyhedron_Reduced_Basis
Sven Verdoolaege [Mon, 10 Apr 2023 09:39:51 +0000 (10 11:39 +0200)]
drop declaration of pip_*_Polyhedron_Reduced_Basis

This was missing from barvinok-0.32.1-86-g9d3250ea28 (drop piplib submodule,
Fri Dec 24 22:40:19 2010 +0100).

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
13 months agodrop NTL_5_3_2.patch
Sven Verdoolaege [Mon, 10 Apr 2023 14:26:26 +0000 (10 16:26 +0200)]
drop NTL_5_3_2.patch

This was missing from barvinok-0.21-89-ge83f144b80 (README: update,
Sun Aug 13 08:22:32 2006 +0200), which removed the only reference
to this file.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
13 months agoscale.c: Param_Polyhedron_Domain: only set Facets in result if set in input
Sven Verdoolaege [Tue, 18 Oct 2016 11:35:10 +0000 (18 13:35 +0200)]
scale.c: Param_Polyhedron_Domain: only set Facets in result if set in input

A Param_Vertices of a Param_Polyhedron created by ISL_P2PP
does not have its Facets set.  Since the user may set the chambers option
to BV_CHAMBERS_ISL, Param_Polyhedron_Domain should not assume
that this field has been set.

Simply refrain from setting the field in the result
if it was not set in the input.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
13 months agobarvinok 0.41.7barvinok-0.41.7
Sven Verdoolaege [Sun, 2 Apr 2023 08:43:54 +0000 (2 10:43 +0200)]
barvinok 0.41.7

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
13 months agoupdate pet to version 0.11.7
Sven Verdoolaege [Sun, 2 Apr 2023 08:39:31 +0000 (2 10:39 +0200)]
update pet to version 0.11.7

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
13 months agoupdate isl to version 0.26
Sven Verdoolaege [Sun, 2 Apr 2023 08:08:32 +0000 (2 10:08 +0200)]
update isl to version 0.26

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
13 months agoadd some iscc tests for fixed powers
Sven Verdoolaege [Mon, 20 Mar 2023 19:49:05 +0000 (20 20:49 +0100)]
add some iscc tests for fixed powers

This should detect issues such as the one fixed in the previous commit.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
13 months agoiscc: fix computation of (negative) fixed powers of a binary relation
Sven Verdoolaege [Mon, 20 Mar 2023 19:44:53 +0000 (20 20:44 +0100)]
iscc: fix computation of (negative) fixed powers of a binary relation

Commit barvinok-0.41.6-36-g028122eed (update isl for support
for recent versions of clang, Sat Mar 4 10:42:47 2023 +0100)
brought in isl commit isl-0.25-105-g7aed8cab9 (no longer treat minus sign
as part of token value, Tue Aug 2 13:52:13 2022 +0200),
which affects the parsing of negative powers.
Take into account the separate sign.

Reported-by: Evghenii <eg0x52@gmail.com>
Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
14 months agoupdate isl for change in coalescing
Sven Verdoolaege [Tue, 7 Mar 2023 20:54:39 +0000 (7 21:54 +0100)]
update isl for change in coalescing

This has an effect on one of the pet test cases.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
14 months agoupdate pet for support for recent versions of clang
Sven Verdoolaege [Sat, 4 Mar 2023 09:43:18 +0000 (4 10:43 +0100)]
update pet for support for recent versions of clang

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
14 months agoupdate isl for support for recent versions of clang
Sven Verdoolaege [Sat, 4 Mar 2023 09:42:47 +0000 (4 10:42 +0100)]
update isl for support for recent versions of clang

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
20 months agorequire C++11
Sven Verdoolaege [Mon, 15 Aug 2022 12:12:36 +0000 (15 14:12 +0200)]
require C++11

Even though there is only a very limited need for C++11 in the current
code base, C++11 should be widely available by now, so there should
no longer be any need to handle the unavailability of C++11.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
20 months agodrop support for __gnu_cxx::hash_map
Sven Verdoolaege [Mon, 15 Aug 2022 12:03:59 +0000 (15 14:03 +0200)]
drop support for __gnu_cxx::hash_map

The type std::unordered_map has been available since C++11
so there should no longer be any need for this alternative.
In fact, the next commit will simply require C++11.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
20 months agoreplace obsolete AC_TRY_LINK by AC_LINK_IFELSE
Sven Verdoolaege [Mon, 15 Aug 2022 13:50:52 +0000 (15 15:50 +0200)]
replace obsolete AC_TRY_LINK by AC_LINK_IFELSE

This macro has been obsolete since autoconf 2.55.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
20 months agoreplace obsolete AC_TRY_COMPILE by AC_COMPILE_IFELSE
Sven Verdoolaege [Mon, 15 Aug 2022 13:01:45 +0000 (15 15:01 +0200)]
replace obsolete AC_TRY_COMPILE by AC_COMPILE_IFELSE

This macro has been obsolete since autoconf 2.55.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
20 months agoreplace obsolete AC_HELP_STRING calls by AS_HELP_STRING
Sven Verdoolaege [Mon, 15 Aug 2022 12:48:49 +0000 (15 14:48 +0200)]
replace obsolete AC_HELP_STRING calls by AS_HELP_STRING

The macro AC_HELP_STRING was already obsolete when the calls
were first introduce in barvinok-0.37-24-g459f8ab49 (configure.ac:
allow builddir for NTL, Mon Feb 23 16:30:01 2015 +0100).

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
20 months agoreplace obsolete AC_PROG_LIBTOOL by LT_INIT
Sven Verdoolaege [Mon, 15 Aug 2022 12:30:50 +0000 (15 14:30 +0200)]
replace obsolete AC_PROG_LIBTOOL by LT_INIT

It has been obsolete since libtool 2.2.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
20 months agodrop ev_size.c
Sven Verdoolaege [Mon, 17 Oct 2016 07:22:40 +0000 (17 09:22 +0200)]
drop ev_size.c

This was intended to be compiled as a shared library and then preloaded
to obtain some statistics.  It is probably not useful anymore and
may not even compile anymore.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
20 months agodrop count_domain.c
Sven Verdoolaege [Mon, 17 Oct 2016 07:21:13 +0000 (17 09:21 +0200)]
drop count_domain.c

This was intended to be compiled as a shared library and then preloaded
to obtain some statistics.  It is probably not useful anymore and
may not even compile anymore.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
20 months agodrop collect_nonsimple.c
Sven Verdoolaege [Wed, 19 Oct 2016 07:13:20 +0000 (19 09:13 +0200)]
drop collect_nonsimple.c

This was intended to be compiled as a shared library and then preloaded
to obtain some statistics.  It is probably not useful anymore and
may not even compile anymore.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
20 months agodrop collect_polytopes2.c
Sven Verdoolaege [Mon, 17 Oct 2016 07:20:32 +0000 (17 09:20 +0200)]
drop collect_polytopes2.c

This was intended to be compiled as a shared library and then preloaded
to obtain some statistics.  It is probably not useful anymore and
may not even compile anymore.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
20 months agodrop collect_polytopes.c
Sven Verdoolaege [Wed, 19 Oct 2016 07:13:30 +0000 (19 09:13 +0200)]
drop collect_polytopes.c

This was intended to be compiled as a shared library and then preloaded
to obtain some statistics.  It is probably not useful anymore and
may not even compile anymore.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
20 months agodrop verify_lexsmaller test application
Sven Verdoolaege [Tue, 25 Oct 2016 07:57:58 +0000 (25 09:57 +0200)]
drop verify_lexsmaller test application

This is an undocumented test application that is probably
not useful anymore.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
20 months agodrop polytope_lattice_width application
Sven Verdoolaege [Fri, 21 Oct 2016 07:34:54 +0000 (21 09:34 +0200)]
drop polytope_lattice_width application

The lattice width can be computed using iscc.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
20 months agodrop polyhedron_sample application
Sven Verdoolaege [Fri, 25 Nov 2016 16:09:17 +0000 (25 17:09 +0100)]
drop polyhedron_sample application

Both iscc and isl/isl_polyhedron_sample provide essentially
the same functionality.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
20 months agodrop polytope_scan application
Sven Verdoolaege [Thu, 17 Nov 2016 09:04:33 +0000 (17 10:04 +0100)]
drop polytope_scan application

Both iscc and isl/isl_polytope_scan provide essentially
the same functionality.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
20 months agodrop remove_redundant_equalities application
Sven Verdoolaege [Sat, 4 Sep 2021 12:33:06 +0000 (4 14:33 +0200)]
drop remove_redundant_equalities application

isl/isl_polyhedron_remove_redundant_equalities provides
the same functionality.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
20 months agoupdate documentation to removal of barvinok_enumerate_pip_with_options
Sven Verdoolaege [Sat, 20 Aug 2022 08:14:41 +0000 (20 10:14 +0200)]
update documentation to removal of barvinok_enumerate_pip_with_options

This was missing from barvinok-0.30-29-gd2ec7899e (drop
barvinok_enumerate_pip_with_options, Sat Apr 3 16:32:23 2010 +0200).

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
20 months agoconfigure.ac: drop AM_PROG_LEX and AC_PROG_YACC calls
Sven Verdoolaege [Mon, 15 Aug 2022 12:19:22 +0000 (15 14:19 +0200)]
configure.ac: drop AM_PROG_LEX and AC_PROG_YACC calls

This was missing from barvinok-0.30-25-g095e4cf7e (drop "Omega counting
calculator", Sat Mar 27 13:54:54 2010 +0100).

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
20 months agoadd an iscc weighted counting test case with an equality among parameters
Sven Verdoolaege [Fri, 9 Jul 2021 19:33:28 +0000 (9 21:33 +0200)]
add an iscc weighted counting test case with an equality among parameters

This tests the proper handling of such equality constraints.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
20 months agotest box and bernoulli summation algorithms on square_p2 test cases
Sven Verdoolaege [Sun, 1 Aug 2021 16:52:52 +0000 (1 18:52 +0200)]
test box and bernoulli summation algorithms on square_p2 test cases

Leaving this test case out was presumably a typo
in barvinok-0.39-34-g48e6e77dbc (test box and bernoulli
summation algorithms, Mon Oct 17 14:08:42 2016 +0200).

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
21 months agoadd tests/ehrhart_union.README explaining origin of the ehrhart_union inputs
Sven Verdoolaege [Mon, 13 Feb 2017 10:26:57 +0000 (13 11:26 +0100)]
add tests/ehrhart_union.README explaining origin of the ehrhart_union inputs

The file is added to tests/ instead of tests/ehrhart_union/
because currently all files in tests/ehrhart_union/ get treated
as a test input.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
21 months agoadd tests/ehrhart.README explaining origin of some of the ehrhart inputs
Sven Verdoolaege [Mon, 13 Feb 2017 10:24:45 +0000 (13 11:24 +0100)]
add tests/ehrhart.README explaining origin of some of the ehrhart inputs

The file is added to tests/ instead of tests/ehrhart/
because currently all files in tests/ehrhart/ get treated
as a test input.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
21 months agoadd tests/lexmin.README explaining origin of some of the lexmin inputs
Sven Verdoolaege [Mon, 13 Feb 2017 09:14:44 +0000 (13 10:14 +0100)]
add tests/lexmin.README explaining origin of some of the lexmin inputs

The file is added to tests/ instead of tests/lexmin/
because currently all files in tests/lexmin/ get treated
as a test input.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
21 months agotests/pwqp/hong*.pwqp: mention contributor
Sven Verdoolaege [Mon, 13 Feb 2017 10:03:52 +0000 (13 11:03 +0100)]
tests/pwqp/hong*.pwqp: mention contributor

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
21 months agotests/iscc/leroux: mention origin
Sven Verdoolaege [Sat, 29 May 2021 08:53:35 +0000 (29 10:53 +0200)]
tests/iscc/leroux: mention origin

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
21 months agotests/iscc/lattice_width-jon_*: mention contributor
Sven Verdoolaege [Mon, 13 Feb 2017 10:07:02 +0000 (13 11:07 +0100)]
tests/iscc/lattice_width-jon_*: mention contributor

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
21 months agotests/iscc/count/garbervetsky: mention contributor
Sven Verdoolaege [Mon, 13 Feb 2017 10:08:42 +0000 (13 11:08 +0100)]
tests/iscc/count/garbervetsky: mention contributor

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
21 months agotests/iscc/count/empty7: mention contributor
Sven Verdoolaege [Mon, 13 Feb 2017 10:17:24 +0000 (13 11:17 +0100)]
tests/iscc/count/empty7: mention contributor

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
21 months agotests/iscc/count/andreas: mention contributor
Sven Verdoolaege [Mon, 13 Feb 2017 10:10:10 +0000 (13 11:10 +0100)]
tests/iscc/count/andreas: mention contributor

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
21 months agotests/ehrhart_e/**/seghir-*: mention contributor
Sven Verdoolaege [Mon, 13 Feb 2017 10:21:16 +0000 (13 11:21 +0100)]
tests/ehrhart_e/**/seghir-*: mention contributor

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
21 months agotests/ehrhart/classen*: mention contributor
Sven Verdoolaege [Mon, 13 Feb 2017 10:17:24 +0000 (13 11:17 +0100)]
tests/ehrhart/classen*: mention contributor

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
21 months agoconvert sample test to iscc test
Sven Verdoolaege [Mon, 17 Oct 2016 10:45:43 +0000 (17 12:45 +0200)]
convert sample test to iscc test

The original sample test was added in barvinok-0.28-21-g361d5103e0
(Polyhedron_Factor: handle polyhedra with a non-trivial lineality
space, Thu Apr 2 11:42:04 2009 +0200), before iscc was introduced.
Now that iscc is available, there is no need to use specialized code
in the test executable to test the results of sampling.
Instead, iscc can be used.
This also makes it easier to write new tests since they are
more uniform with other iscc based test cases.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
21 months agoconvert counting tests to iscc tests
Sven Verdoolaege [Fri, 14 Oct 2016 08:26:42 +0000 (14 10:26 +0200)]
convert counting tests to iscc tests

The original tests were added before iscc was introduced.
Now that iscc is available, there is no need to use specialized code
in the test executable to test the results of some counting problems.
Instead, iscc can be used.
This also makes it easier to write new tests since they are
more uniform with other iscc based test cases.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
21 months agomake isl_basic_set_lattice_width static
Sven Verdoolaege [Fri, 2 Dec 2016 08:53:43 +0000 (2 09:53 +0100)]
make isl_basic_set_lattice_width static

This function is only used internally inside lattice_width.c and
therefore does not need to be exposed.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
21 months agosummate.c: add missing include
Sven Verdoolaege [Wed, 9 Nov 2016 14:29:02 +0000 (9 15:29 +0100)]
summate.c: add missing include

This was missing from barvinok-0.32.1-37-g5aadc07ba6 (separate out
isl interface, Sun Nov 28 18:22:21 2010 +0100).

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
22 months agobarvinok 0.41.6barvinok-0.41.6
Sven Verdoolaege [Sat, 2 Jul 2022 14:24:43 +0000 (2 16:24 +0200)]
barvinok 0.41.6

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
22 months agoupdate pet to version 0.11.6
Sven Verdoolaege [Sat, 2 Jul 2022 14:00:20 +0000 (2 16:00 +0200)]
update pet to version 0.11.6

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
22 months agoupdate isl to version 0.25
Sven Verdoolaege [Sat, 2 Jul 2022 13:27:09 +0000 (2 15:27 +0200)]
update isl to version 0.25

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
22 months agoallow static building of executables
Sven Verdoolaege [Sat, 2 Jul 2022 13:16:11 +0000 (2 15:16 +0200)]
allow static building of executables

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
22 months agoconfigure.ac: rename BV_LDFLAGS to BV_LIB_LDFLAGS
Sven Verdoolaege [Sat, 2 Jul 2022 13:04:13 +0000 (2 15:04 +0200)]
configure.ac: rename BV_LDFLAGS to BV_LIB_LDFLAGS

This make room for a broader BV_LDFLAGS in the next commit.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
22 months agoconfigure.ac: drop spurious space
Sven Verdoolaege [Sat, 2 Jul 2022 13:02:45 +0000 (2 15:02 +0200)]
configure.ac: drop spurious space

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
22 months agoupdate pet for support for recent versions of clang
Sven Verdoolaege [Sat, 2 Jul 2022 12:19:24 +0000 (2 14:19 +0200)]
update pet for support for recent versions of clang

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
22 months agoupdate isl for support for recent versions of clang
Sven Verdoolaege [Sat, 2 Jul 2022 10:58:40 +0000 (2 12:58 +0200)]
update isl for support for recent versions of clang

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agomanual_count: rename "dim" variable to "space"
Sven Verdoolaege [Sun, 15 Aug 2021 09:53:35 +0000 (15 11:53 +0200)]
manual_count: rename "dim" variable to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agoisl_map_apply_pw_qpolynomial: rename "dim" variables to "space"
Sven Verdoolaege [Sun, 15 Aug 2021 09:52:33 +0000 (15 11:52 +0200)]
isl_map_apply_pw_qpolynomial: rename "dim" variables to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agosummate.c: pw_qpolynomial_apply: rename "dim" variables to "space"
Sven Verdoolaege [Sun, 15 Aug 2021 09:51:46 +0000 (15 11:51 +0200)]
summate.c: pw_qpolynomial_apply: rename "dim" variables to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agoisl_union_set_apply_union_pw_qpolynomial: rename "dim" variable to "space"
Sven Verdoolaege [Sun, 15 Aug 2021 09:50:46 +0000 (15 11:50 +0200)]
isl_union_set_apply_union_pw_qpolynomial: rename "dim" variable to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agosummate.c: pw_qpolynomial_apply_set: rename "dim" variables to "space"
Sven Verdoolaege [Sun, 15 Aug 2021 09:49:59 +0000 (15 11:49 +0200)]
summate.c: pw_qpolynomial_apply_set: rename "dim" variables to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agoisl_union_map_apply_union_pw_qpolynomial: rename "dim" variable to "space"
Sven Verdoolaege [Sun, 15 Aug 2021 09:48:40 +0000 (15 11:48 +0200)]
isl_union_map_apply_union_pw_qpolynomial: rename "dim" variable to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agoisl_union_pw_qpolynomial_sum: rename "dim" variable to "space"
Sven Verdoolaege [Sun, 15 Aug 2021 09:47:49 +0000 (15 11:47 +0200)]
isl_union_pw_qpolynomial_sum: rename "dim" variable to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agoPolyhedron_Sample: rename "dim" variable to "space"
Sven Verdoolaege [Sun, 15 Aug 2021 09:46:43 +0000 (15 11:46 +0200)]
Polyhedron_Sample: rename "dim" variable to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agoisl_constraints_opt: rename "dim" variable to "space"
Sven Verdoolaege [Sun, 15 Aug 2021 09:45:57 +0000 (15 11:45 +0200)]
isl_constraints_opt: rename "dim" variable to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agoisl_polyhedron_affine_sign: rename "dim" variable to "space"
Sven Verdoolaege [Sun, 15 Aug 2021 09:45:14 +0000 (15 11:45 +0200)]
isl_polyhedron_affine_sign: rename "dim" variable to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agobound.c: split_on_domain_size: rename "dim" variable to "space"
Sven Verdoolaege [Sun, 15 Aug 2021 09:43:52 +0000 (15 11:43 +0200)]
bound.c: split_on_domain_size: rename "dim" variable to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agoisl_Polyhedron_Reduced_Basis: rename "dim" variable to "space"
Sven Verdoolaege [Sun, 15 Aug 2021 09:41:56 +0000 (15 11:41 +0200)]
isl_Polyhedron_Reduced_Basis: rename "dim" variable to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agobarvinok_enumerate.cc: verify_isl: rename "dim" variable to "space"
Sven Verdoolaege [Sun, 15 Aug 2021 09:41:16 +0000 (15 11:41 +0200)]
barvinok_enumerate.cc: verify_isl: rename "dim" variable to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agoisl_union_map_card: rename "dim" variable to "space"
Sven Verdoolaege [Sun, 15 Aug 2021 09:29:31 +0000 (15 11:29 +0200)]
isl_union_map_card: rename "dim" variable to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agoisl_union_set_card: rename "dim" variable to "space"
Sven Verdoolaege [Sun, 15 Aug 2021 09:28:28 +0000 (15 11:28 +0200)]
isl_union_set_card: rename "dim" variable to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agoisl_map_card: rename "dim" variable to "space"
Sven Verdoolaege [Sun, 15 Aug 2021 09:27:50 +0000 (15 11:27 +0200)]
isl_map_card: rename "dim" variable to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agobarvinok.cc: card_as_sum: rename "dim" variable to "space"
Sven Verdoolaege [Sun, 15 Aug 2021 09:26:32 +0000 (15 11:26 +0200)]
barvinok.cc: card_as_sum: rename "dim" variable to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agobarvinok.cc: basic_map_card: rename "dim" variable to "space"
Sven Verdoolaege [Sun, 15 Aug 2021 09:25:20 +0000 (15 11:25 +0200)]
barvinok.cc: basic_map_card: rename "dim" variable to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agoisl_union_set_lattice_width: rename "dim" variable to "space"
Sven Verdoolaege [Sat, 14 Aug 2021 16:29:00 +0000 (14 18:29 +0200)]
isl_union_set_lattice_width: rename "dim" variable to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agoisl_set_lattice_width: rename "dim" variable to "space"
Sven Verdoolaege [Sat, 14 Aug 2021 16:28:29 +0000 (14 18:28 +0200)]
isl_set_lattice_width: rename "dim" variable to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agoisl_basic_set_lattice_width: rename "dim" variable to "space"
Sven Verdoolaege [Sat, 14 Aug 2021 10:59:16 +0000 (14 12:59 +0200)]
isl_basic_set_lattice_width: rename "dim" variable to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agoevalue_isl.c: relation2pwqp: rename "dim" variable to "space"
Sven Verdoolaege [Sat, 7 Aug 2021 16:59:21 +0000 (7 18:59 +0200)]
evalue_isl.c: relation2pwqp: rename "dim" variable to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agoevalue_isl.c: extract_base: rename "dim" parameter to "space"
Sven Verdoolaege [Sun, 15 Aug 2021 09:39:28 +0000 (15 11:39 +0200)]
evalue_isl.c: extract_base: rename "dim" parameter to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agoisl_pw_qpolynomial_from_evalue: rename "dim" parameter to "space"
Sven Verdoolaege [Sun, 15 Aug 2021 09:37:51 +0000 (15 11:37 +0200)]
isl_pw_qpolynomial_from_evalue: rename "dim" parameter to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agoisl_qpolynomial_from_evalue: rename "dim" parameter to "space"
Sven Verdoolaege [Sun, 15 Aug 2021 09:34:55 +0000 (15 11:34 +0200)]
isl_qpolynomial_from_evalue: rename "dim" parameter to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agoverify_options_set_range_pwqp.c: use isl_pw_qpolynomial_dim
Sven Verdoolaege [Sun, 15 Aug 2021 10:03:18 +0000 (15 12:03 +0200)]
verify_options_set_range_pwqp.c: use isl_pw_qpolynomial_dim

This (slightly) simplifies the code.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agoextract out shared verify_options_set_range_pwqp
Sven Verdoolaege [Sat, 30 Apr 2022 19:58:55 +0000 (30 21:58 +0200)]
extract out shared verify_options_set_range_pwqp

This removes some minor code duplication.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agobarvinok_summate.c: verify: fix memory management annotation
Sven Verdoolaege [Sat, 30 Apr 2022 14:53:45 +0000 (30 16:53 +0200)]
barvinok_summate.c: verify: fix memory management annotation

The wrong annotation was introduced in barvinok-0.32.1-26-ge6fe2be3f2
(barvinok_summate: use isl interface, Wed Nov 10 16:46:55 2010 +0100).

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agoevalue_isl.c: add_guarded_qp: drop unused variable
Sven Verdoolaege [Sat, 7 Aug 2021 17:08:01 +0000 (7 19:08 +0200)]
evalue_isl.c: add_guarded_qp: drop unused variable

This variable was already unused when it was introduced in
barvinok-0.29-31-g4c1a378b02 (add isl_pw_qpolynomial_to_evalue,
Tue Mar 9 16:10:10 2010 +0100).

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agobarvinok_summate.c: verify_point: drop unused variable
Sven Verdoolaege [Sat, 7 Aug 2021 14:04:04 +0000 (7 16:04 +0200)]
barvinok_summate.c: verify_point: drop unused variable

This was missing from barvinok-0.34-19-g411eb84a87 (barvinok_summate.c:
verify_point: explicitly project onto parameter space,
Thu Sep 1 13:05:12 2011 +0200).

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agodoc: update gforge.inria.fr link
Sven Verdoolaege [Sat, 19 Mar 2022 10:53:07 +0000 (19 11:53 +0100)]
doc: update gforge.inria.fr link

This link is now dead.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agobarvinok_bound: fix --iterate option
Sven Verdoolaege [Sun, 15 Aug 2021 13:27:27 +0000 (15 15:27 +0200)]
barvinok_bound: fix --iterate option

In particular, adjust the code to the changed isl_pw_qpolynomial space.
This was missing from barvinok-0.34-25-g235972b7ef (update isl
for change in space of isl_pw_* objects, Sun Sep 4 15:04:00 2011 +0200).
Add a test case for this option to ensure it does not get broken again.
Note that --iterate only works for inputs without parameters.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agobound.c: iterate: rename "dim" variable to "space"
Sven Verdoolaege [Sun, 15 Aug 2021 09:43:02 +0000 (15 11:43 +0200)]
bound.c: iterate: rename "dim" variable to "space"

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2 years agoupdate pet for more relaxed pet_expr_is_equal index comparison
Sven Verdoolaege [Mon, 26 Jul 2021 19:54:22 +0000 (26 21:54 +0200)]
update pet for more relaxed pet_expr_is_equal index comparison

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
3 years agobarvinok 0.41.5barvinok-0.41.5
Sven Verdoolaege [Sat, 1 May 2021 10:51:39 +0000 (1 12:51 +0200)]
barvinok 0.41.5

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
3 years agoupdate pet to version 0.11.5
Sven Verdoolaege [Sat, 1 May 2021 10:41:58 +0000 (1 12:41 +0200)]
update pet to version 0.11.5

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
3 years agoupdate isl to version 0.24
Sven Verdoolaege [Sat, 1 May 2021 10:17:36 +0000 (1 12:17 +0200)]
update isl to version 0.24

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
3 years agoMakefile.am: drop LOCAL_POLYLIB_LA
Sven Verdoolaege [Sat, 10 Apr 2021 15:03:22 +0000 (10 17:03 +0200)]
Makefile.am: drop LOCAL_POLYLIB_LA

The last use was removed in barvinok-0.36-17-g1d67a277c4
(integrate isl-polylib module, Wed May 29 11:43:49 2013 +0200).

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
3 years agobuild libisl.la before libpet.la
Sven Verdoolaege [Sat, 10 Apr 2021 15:00:25 +0000 (10 17:00 +0200)]
build libisl.la before libpet.la

If both are being built, then libpet.la depends on libisl.la.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
3 years agoupdate pet for support for recent versions of clang
Sven Verdoolaege [Sat, 10 Apr 2021 13:37:02 +0000 (10 15:37 +0200)]
update pet for support for recent versions of clang

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>