[Mlir-commits] [mlir] [MLIR][Presburger] Shift GeneratingFunction.h to includes (PR #77114)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Jan 5 08:27:27 PST 2024


https://github.com/Abhinav271828 created https://github.com/llvm/llvm-project/pull/77114

We shift the GeneratingFunction.h header file to the include/ directory and wrap it in a `detail` namespace.

>From 8fe3212272ed113eebeac99a35f8a3f9a97f2d3f Mon Sep 17 00:00:00 2001
From: Abhinav271828 <abhinav.m at research.iiit.ac.in>
Date: Fri, 5 Jan 2024 21:55:19 +0530
Subject: [PATCH] Shift GF and make namespace

---
 .../mlir}/Analysis/Presburger/GeneratingFunction.h              | 2 ++
 1 file changed, 2 insertions(+)
 rename mlir/{lib => include/mlir}/Analysis/Presburger/GeneratingFunction.h (99%)

diff --git a/mlir/lib/Analysis/Presburger/GeneratingFunction.h b/mlir/include/mlir/Analysis/Presburger/GeneratingFunction.h
similarity index 99%
rename from mlir/lib/Analysis/Presburger/GeneratingFunction.h
rename to mlir/include/mlir/Analysis/Presburger/GeneratingFunction.h
index f7deba921ea51e..318f1a6429a6c0 100644
--- a/mlir/lib/Analysis/Presburger/GeneratingFunction.h
+++ b/mlir/include/mlir/Analysis/Presburger/GeneratingFunction.h
@@ -19,6 +19,7 @@
 
 namespace mlir {
 namespace presburger {
+namespace detail {
 
 // A parametric point is a vector, each of whose elements
 // is an affine function of n parameters. Each row
@@ -128,6 +129,7 @@ class GeneratingFunction {
   std::vector<std::vector<Point>> denominators;
 };
 
+} // namespace detail
 } // namespace presburger
 } // namespace mlir
 



More information about the Mlir-commits mailing list