[Polly] Partially refactoring of IslAstInfo and IslNodeBuilder to use isl++. NFC.
authorpatacca <patacca@autistici.org>
Sat, 10 Apr 2021 21:25:05 +0000 (16:25 -0500)
committerMichael Kruse <llvm-project@meinersbur.de>
Sun, 11 Apr 2021 02:28:02 +0000 (21:28 -0500)
commit82fbc5d45b0c2fc9050d1d5e335e35afb4ab2611
tree95a80ac512dd1b395e45dd39cb993281fe6c017a
parent9829f5e6b1bca9b61efc629770d28bb9014dec45
[Polly] Partially refactoring of IslAstInfo and IslNodeBuilder to use isl++. NFC.

Polly use algorithms from the Integer Set Library (isl), which is a library written in C and which is incompatible with the rest of the LLVM as it is written in C++.

Changes made:
 - Refactoring the following methods of class IslAstInfo
   - isParallel() isExecutedInParallel() isReductionParallel() getSchedule() getMinimalDependenceDistance() getBrokenReductions()
 - Refactoring the following methods of class IslNodeBuilder
   - getReferencesInSubtree() getScheduleForAstNode()
 - Refactoring function getBrokenReductionsStr()
 - Fixed the mismatching function declaration for getScheduleForAstNode()

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D99971
polly/include/polly/CodeGen/IslAst.h
polly/include/polly/CodeGen/IslNodeBuilder.h
polly/lib/CodeGen/IslAst.cpp
polly/lib/CodeGen/IslNodeBuilder.cpp