[Mlir-commits] [mlir] [MLIR][Presburger] Implement computation of generating function for unimodular cones (PR #77235)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Jan 8 08:58:49 PST 2024


================
@@ -63,3 +63,71 @@ MPInt mlir::presburger::detail::getIndex(ConeV cone) {
 
   return cone.determinant();
 }
+
+/// Compute the generating function for a unimodular cone.
+GeneratingFunction mlir::presburger::detail::unimodularConeGeneratingFunction(
----------------
Abhinav271828 wrote:

Hmm, @Superty and I discussed it and decided that a `Barvinok` namespace might be appropriate for all these functions and classes. I'll add that in a later patch.

https://github.com/llvm/llvm-project/pull/77235


More information about the Mlir-commits mailing list