[MLIR][Presburger] Remove inheritence in MultiAffineFunction
authorGroverkss <groverkss@gmail.com>
Mon, 18 Apr 2022 19:44:18 +0000 (01:14 +0530)
committerGroverkss <groverkss@gmail.com>
Mon, 18 Apr 2022 19:55:13 +0000 (01:25 +0530)
commit15650b320bf6a1ce5b7e00147d1cf2725946aab2
tree5d39f0a3a394d4251175d8919667b1f9797af97b
parentef34442232fbfd46ef8620838556b608641569c6
[MLIR][Presburger] Remove inheritence in MultiAffineFunction

This patch removes inheritence of MultiAffineFunction from IntegerPolyhedron
and instead makes IntegerPolyhedron as a member.

This patch removes virtualization in MultiAffineFunction and also removes
unnecessary functions inherited from IntegerPolyhedron.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D123921
mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
mlir/include/mlir/Analysis/Presburger/PWMAFunction.h
mlir/include/mlir/Analysis/Presburger/Utils.h
mlir/lib/Analysis/Presburger/IntegerRelation.cpp
mlir/lib/Analysis/Presburger/PWMAFunction.cpp
mlir/lib/Analysis/Presburger/Utils.cpp