History log of /llvm-project/mlir/unittests/Analysis/Presburger/BarvinokTest.cpp (Results 1 – 5 of 5)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3
# 562790f3 15-Feb-2024 Abhinav271828 <71174780+Abhinav271828@users.noreply.github.com>

[MLIR][Presburger] Implement vertex enumeration and chamber decomposition for polytope generating function computation. (#78987)

We implement a function to compute the generating function correspond

[MLIR][Presburger] Implement vertex enumeration and chamber decomposition for polytope generating function computation. (#78987)

We implement a function to compute the generating function corresponding
to a full-dimensional parametric polytope whose tangent cones are all
unimodular.
We fix a bug in unimodGenFunc to check the absolute value of the index.
We also implement Matrix<T>::negateMatrix() and Matrix<T>::scaleRow for
convenience.

show more ...


Revision tags: llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init
# 68a5261d 22-Jan-2024 Abhinav271828 <71174780+Abhinav271828@users.noreply.github.com>

[MLIR][Presburger] Implement function to evaluate the number of terms in a generating function. (#78078)

We implement `computeNumTerms()`, which counts the number of terms in a
generating function

[MLIR][Presburger] Implement function to evaluate the number of terms in a generating function. (#78078)

We implement `computeNumTerms()`, which counts the number of terms in a
generating function by substituting the unit vector in it.
This is the main function in Barvinok's algorithm – the number of points
in a polytope is given by the number of terms in the generating function
corresponding to it.
We also modify the GeneratingFunction class to have `const` getters and
improve the simplification of QuasiPolynomials.

show more ...


# 850f713e 13-Jan-2024 Abhinav271828 <71174780+Abhinav271828@users.noreply.github.com>

[MLIR][Presburger] Helper functions to compute the constant term of a generating function (#77819)

We implement two functions that are needed to compute the constant term
of a GF.
One finds a vect

[MLIR][Presburger] Helper functions to compute the constant term of a generating function (#77819)

We implement two functions that are needed to compute the constant term
of a GF.
One finds a vector not orthogonal to all the non-null vectors in a given
set.
One computes the coefficient of any term in an arbitrary rational
function (quotient of two polynomials).

show more ...


# 2dde029d 10-Jan-2024 Abhinav271828 <71174780+Abhinav271828@users.noreply.github.com>

[MLIR][Presburger] Implement computation of generating function for unimodular cones (#77235)

We implement a function that computes the generating function
corresponding to a unimodular cone.
The

[MLIR][Presburger] Implement computation of generating function for unimodular cones (#77235)

We implement a function that computes the generating function
corresponding to a unimodular cone.
The generating function for a polytope is obtained by summing these
generating functions over all tangent cones.

show more ...


# 4c8dbb68 07-Jan-2024 Abhinav271828 <71174780+Abhinav271828@users.noreply.github.com>

[MLIR][Presburger] Definitions for basic functions related to cones (#76650)

We add some basic type aliases and function definitions relating to
cones for Barvinok's algorithm.
These include functio

[MLIR][Presburger] Definitions for basic functions related to cones (#76650)

We add some basic type aliases and function definitions relating to
cones for Barvinok's algorithm.
These include functions to get the dual of a cone and find its index.

show more ...