[MLIR][FlatAffineConstraints][NFC] Move some static functions to be available to...
authorGroverkss <groverkss@gmail.com>
Sat, 25 Dec 2021 17:05:57 +0000 (22:35 +0530)
committerGroverkss <groverkss@gmail.com>
Sat, 25 Dec 2021 17:06:23 +0000 (22:36 +0530)
commit5b2e611b734cb64c5600c1c8d0a6b4881a05f874
treeb18507cbfbae211f2c93236e321325f6fcfa9ac3
parentd86e2cc2e37c9051a5cf5a4b9b3ae4b9a961ef11
[MLIR][FlatAffineConstraints][NFC] Move some static functions to be available to Presburger/

This patch moves some static functions from AffineStructures.cpp to
Presburger/Utils.cpp and some to be private members of FlatAffineConstraints
(which will later be moved to IntegerPolyhedron) to allow for a smoother
transition for moving FlatAffineConstraints math functionality to
Presburger/IntegerPolyhedron.

This patch is part of a series of patches for moving math functionality to
Presburger directory.

Reviewed By: arjunp, bondhugula

Differential Revision: https://reviews.llvm.org/D115869
mlir/include/mlir/Analysis/AffineStructures.h
mlir/include/mlir/Analysis/Presburger/IntegerPolyhedron.h
mlir/include/mlir/Analysis/Presburger/Utils.h [new file with mode: 0644]
mlir/lib/Analysis/AffineStructures.cpp
mlir/lib/Analysis/Presburger/CMakeLists.txt
mlir/lib/Analysis/Presburger/IntegerPolyhedron.cpp
mlir/lib/Analysis/Presburger/Utils.cpp [new file with mode: 0644]