Tobias Grosser | 30aa24c | 2011-05-14 19:02:06 +0000 | [diff] [blame] | 1 | //===- Schedule.cpp - Calculate an optimized schedule ---------------------===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
Tobias Grosser | 234a482 | 2015-08-15 09:34:33 +0000 | [diff] [blame] | 10 | // This pass generates an entirey new schedule tree from the data dependences |
| 11 | // and iteration domains. The new schedule tree is computed in two steps: |
Tobias Grosser | 30aa24c | 2011-05-14 19:02:06 +0000 | [diff] [blame] | 12 | // |
Tobias Grosser | 234a482 | 2015-08-15 09:34:33 +0000 | [diff] [blame] | 13 | // 1) The isl scheduling optimizer is run |
| 14 | // |
| 15 | // The isl scheduling optimizer creates a new schedule tree that maximizes |
| 16 | // parallelism and tileability and minimizes data-dependence distances. The |
| 17 | // algorithm used is a modified version of the ``Pluto'' algorithm: |
| 18 | // |
| 19 | // U. Bondhugula, A. Hartono, J. Ramanujam, and P. Sadayappan. |
| 20 | // A Practical Automatic Polyhedral Parallelizer and Locality Optimizer. |
| 21 | // In Proceedings of the 2008 ACM SIGPLAN Conference On Programming Language |
| 22 | // Design and Implementation, PLDI ’08, pages 101–113. ACM, 2008. |
| 23 | // |
| 24 | // 2) A set of post-scheduling transformations is applied on the schedule tree. |
| 25 | // |
| 26 | // These optimizations include: |
| 27 | // |
| 28 | // - Tiling of the innermost tilable bands |
| 29 | // - Prevectorization - The coice of a possible outer loop that is strip-mined |
| 30 | // to the innermost level to enable inner-loop |
| 31 | // vectorization. |
| 32 | // - Some optimizations for spatial locality are also planned. |
| 33 | // |
| 34 | // For a detailed description of the schedule tree itself please see section 6 |
| 35 | // of: |
| 36 | // |
| 37 | // Polyhedral AST generation is more than scanning polyhedra |
| 38 | // Tobias Grosser, Sven Verdoolaege, Albert Cohen |
| 39 | // ACM Transations on Programming Languages and Systems (TOPLAS), |
| 40 | // 37(4), July 2015 |
| 41 | // http://www.grosser.es/#pub-polyhedral-AST-generation |
| 42 | // |
| 43 | // This publication also contains a detailed discussion of the different options |
| 44 | // for polyhedral loop unrolling, full/partial tile separation and other uses |
| 45 | // of the schedule tree. |
| 46 | // |
Tobias Grosser | 30aa24c | 2011-05-14 19:02:06 +0000 | [diff] [blame] | 47 | //===----------------------------------------------------------------------===// |
| 48 | |
Tobias Grosser | 967239c | 2011-10-23 20:59:44 +0000 | [diff] [blame] | 49 | #include "polly/ScheduleOptimizer.h" |
Tobias Grosser | ba0d092 | 2015-05-09 09:13:42 +0000 | [diff] [blame] | 50 | #include "polly/CodeGen/CodeGeneration.h" |
| 51 | #include "polly/DependenceInfo.h" |
| 52 | #include "polly/LinkAllPasses.h" |
| 53 | #include "polly/Options.h" |
| 54 | #include "polly/ScopInfo.h" |
| 55 | #include "polly/Support/GICHelper.h" |
| 56 | #include "llvm/Support/Debug.h" |
Tobias Grosser | 2493e92 | 2011-12-07 07:42:57 +0000 | [diff] [blame] | 57 | #include "isl/aff.h" |
Tobias Grosser | de68cc9 | 2011-06-30 20:01:02 +0000 | [diff] [blame] | 58 | #include "isl/band.h" |
Tobias Grosser | 8ad6bc3 | 2012-01-31 13:26:29 +0000 | [diff] [blame] | 59 | #include "isl/constraint.h" |
| 60 | #include "isl/map.h" |
Tobias Grosser | 42152ff | 2012-01-30 19:38:47 +0000 | [diff] [blame] | 61 | #include "isl/options.h" |
Tobias Grosser | 97d8745 | 2015-05-30 06:46:59 +0000 | [diff] [blame] | 62 | #include "isl/printer.h" |
Tobias Grosser | 8ad6bc3 | 2012-01-31 13:26:29 +0000 | [diff] [blame] | 63 | #include "isl/schedule.h" |
Tobias Grosser | bbb4cec | 2015-03-22 12:06:39 +0000 | [diff] [blame] | 64 | #include "isl/schedule_node.h" |
Tobias Grosser | 8ad6bc3 | 2012-01-31 13:26:29 +0000 | [diff] [blame] | 65 | #include "isl/space.h" |
Tobias Grosser | cd524dc | 2015-05-09 09:36:38 +0000 | [diff] [blame] | 66 | #include "isl/union_map.h" |
| 67 | #include "isl/union_set.h" |
Tobias Grosser | 30aa24c | 2011-05-14 19:02:06 +0000 | [diff] [blame] | 68 | |
| 69 | using namespace llvm; |
| 70 | using namespace polly; |
| 71 | |
Chandler Carruth | 95fef94 | 2014-04-22 03:30:19 +0000 | [diff] [blame] | 72 | #define DEBUG_TYPE "polly-opt-isl" |
| 73 | |
Tobias Grosser | 161c908 | 2015-08-19 08:22:06 +0000 | [diff] [blame] | 74 | static cl::opt<bool> EnableTiling("polly-tiling", |
| 75 | cl::desc("Enable loop tiling"), |
| 76 | cl::init(true), cl::ZeroOrMore, |
| 77 | cl::cat(PollyCategory)); |
Tobias Grosser | 353a268 | 2011-10-23 20:59:26 +0000 | [diff] [blame] | 78 | |
Tobias Grosser | a26db47 | 2012-01-30 19:38:43 +0000 | [diff] [blame] | 79 | static cl::opt<std::string> |
Tobias Grosser | 483a90d | 2014-07-09 10:50:10 +0000 | [diff] [blame] | 80 | OptimizeDeps("polly-opt-optimize-only", |
| 81 | cl::desc("Only a certain kind of dependences (all/raw)"), |
| 82 | cl::Hidden, cl::init("all"), cl::ZeroOrMore, |
| 83 | cl::cat(PollyCategory)); |
Tobias Grosser | 1deda29 | 2012-02-14 14:02:48 +0000 | [diff] [blame] | 84 | |
| 85 | static cl::opt<std::string> |
Tobias Grosser | 483a90d | 2014-07-09 10:50:10 +0000 | [diff] [blame] | 86 | SimplifyDeps("polly-opt-simplify-deps", |
| 87 | cl::desc("Dependences should be simplified (yes/no)"), |
| 88 | cl::Hidden, cl::init("yes"), cl::ZeroOrMore, |
| 89 | cl::cat(PollyCategory)); |
Tobias Grosser | a26db47 | 2012-01-30 19:38:43 +0000 | [diff] [blame] | 90 | |
Tobias Grosser | 483a90d | 2014-07-09 10:50:10 +0000 | [diff] [blame] | 91 | static cl::opt<int> MaxConstantTerm( |
| 92 | "polly-opt-max-constant-term", |
| 93 | cl::desc("The maximal constant term allowed (-1 is unlimited)"), cl::Hidden, |
| 94 | cl::init(20), cl::ZeroOrMore, cl::cat(PollyCategory)); |
Tobias Grosser | 992e60c | 2012-02-20 08:41:15 +0000 | [diff] [blame] | 95 | |
Tobias Grosser | 483a90d | 2014-07-09 10:50:10 +0000 | [diff] [blame] | 96 | static cl::opt<int> MaxCoefficient( |
| 97 | "polly-opt-max-coefficient", |
| 98 | cl::desc("The maximal coefficient allowed (-1 is unlimited)"), cl::Hidden, |
| 99 | cl::init(20), cl::ZeroOrMore, cl::cat(PollyCategory)); |
| 100 | |
| 101 | static cl::opt<std::string> FusionStrategy( |
| 102 | "polly-opt-fusion", cl::desc("The fusion strategy to choose (min/max)"), |
| 103 | cl::Hidden, cl::init("min"), cl::ZeroOrMore, cl::cat(PollyCategory)); |
Tobias Grosser | 92f5480 | 2012-02-20 08:41:47 +0000 | [diff] [blame] | 104 | |
Tobias Grosser | e602a07 | 2013-05-07 07:30:56 +0000 | [diff] [blame] | 105 | static cl::opt<std::string> |
Tobias Grosser | 483a90d | 2014-07-09 10:50:10 +0000 | [diff] [blame] | 106 | MaximizeBandDepth("polly-opt-maximize-bands", |
| 107 | cl::desc("Maximize the band depth (yes/no)"), cl::Hidden, |
| 108 | cl::init("yes"), cl::ZeroOrMore, cl::cat(PollyCategory)); |
Tobias Grosser | b3ad85b | 2012-01-30 19:38:50 +0000 | [diff] [blame] | 109 | |
Tobias Grosser | 07c1c2f | 2015-08-19 08:46:11 +0000 | [diff] [blame] | 110 | static cl::opt<int> PrevectorWidth( |
| 111 | "polly-prevect-width", |
| 112 | cl::desc( |
| 113 | "The number of loop iterations to strip-mine for pre-vectorization"), |
| 114 | cl::Hidden, cl::init(4), cl::ZeroOrMore, cl::cat(PollyCategory)); |
| 115 | |
Tobias Grosser | 483a90d | 2014-07-09 10:50:10 +0000 | [diff] [blame] | 116 | static cl::opt<int> DefaultTileSize( |
| 117 | "polly-default-tile-size", |
| 118 | cl::desc("The default tile size (if not enough were provided by" |
| 119 | " --polly-tile-sizes)"), |
| 120 | cl::Hidden, cl::init(32), cl::ZeroOrMore, cl::cat(PollyCategory)); |
Johannes Doerfert | c3958b2 | 2014-05-28 17:21:02 +0000 | [diff] [blame] | 121 | |
| 122 | static cl::list<int> TileSizes("polly-tile-sizes", |
| 123 | cl::desc("A tile size" |
| 124 | " for each loop dimension, filled with" |
| 125 | " --polly-default-tile-size"), |
| 126 | cl::Hidden, cl::ZeroOrMore, cl::CommaSeparated, |
| 127 | cl::cat(PollyCategory)); |
Tobias Grosser | 30aa24c | 2011-05-14 19:02:06 +0000 | [diff] [blame] | 128 | namespace { |
| 129 | |
Tobias Grosser | 4d96c8d | 2013-03-23 01:05:07 +0000 | [diff] [blame] | 130 | class IslScheduleOptimizer : public ScopPass { |
Tobias Grosser | 4d96c8d | 2013-03-23 01:05:07 +0000 | [diff] [blame] | 131 | public: |
| 132 | static char ID; |
Tobias Grosser | 5a56cbf | 2014-04-16 07:33:47 +0000 | [diff] [blame] | 133 | explicit IslScheduleOptimizer() : ScopPass(ID) { LastSchedule = nullptr; } |
Tobias Grosser | 2878142 | 2012-10-16 07:29:19 +0000 | [diff] [blame] | 134 | |
Tobias Grosser | 4d96c8d | 2013-03-23 01:05:07 +0000 | [diff] [blame] | 135 | ~IslScheduleOptimizer() { isl_schedule_free(LastSchedule); } |
Tobias Grosser | 30aa24c | 2011-05-14 19:02:06 +0000 | [diff] [blame] | 136 | |
Johannes Doerfert | 909a3bf | 2015-03-01 18:42:08 +0000 | [diff] [blame] | 137 | bool runOnScop(Scop &S) override; |
| 138 | void printScop(raw_ostream &OS, Scop &S) const override; |
| 139 | void getAnalysisUsage(AnalysisUsage &AU) const override; |
Tobias Grosser | 460e9a4 | 2012-04-25 13:22:43 +0000 | [diff] [blame] | 140 | |
Tobias Grosser | 4d96c8d | 2013-03-23 01:05:07 +0000 | [diff] [blame] | 141 | private: |
| 142 | isl_schedule *LastSchedule; |
Tobias Grosser | 2878142 | 2012-10-16 07:29:19 +0000 | [diff] [blame] | 143 | |
Johannes Doerfert | 7ceb040 | 2015-02-11 17:25:09 +0000 | [diff] [blame] | 144 | /// @brief Decide if the @p NewSchedule is profitable for @p S. |
| 145 | /// |
| 146 | /// @param S The SCoP we optimize. |
| 147 | /// @param NewSchedule The new schedule we computed. |
| 148 | /// |
| 149 | /// @return True, if we believe @p NewSchedule is an improvement for @p S. |
| 150 | bool isProfitableSchedule(Scop &S, __isl_keep isl_union_map *NewSchedule); |
| 151 | |
Tobias Grosser | 9bdea57 | 2015-08-20 12:22:37 +0000 | [diff] [blame^] | 152 | /// @brief Tile a schedule node. |
| 153 | /// |
| 154 | /// @param Node The node to tile. |
| 155 | /// @param TileSizes A vector of tile sizes that should be used for |
| 156 | /// tiling. |
| 157 | /// @param DefaultTileSize A default tile size that is used for dimensions |
| 158 | /// that are not covered by the TileSizes vector. |
| 159 | static __isl_give isl_schedule_node * |
| 160 | tileNode(__isl_take isl_schedule_node *Node, ArrayRef<int> TileSizes, |
| 161 | int DefaultTileSize); |
| 162 | |
Tobias Grosser | b241d92 | 2015-07-28 18:03:36 +0000 | [diff] [blame] | 163 | /// @brief Pre-vectorizes one scheduling dimension of a schedule band. |
Tobias Grosser | 4d96c8d | 2013-03-23 01:05:07 +0000 | [diff] [blame] | 164 | /// |
Tobias Grosser | b241d92 | 2015-07-28 18:03:36 +0000 | [diff] [blame] | 165 | /// prevectSchedBand splits out the dimension DimToVectorize, tiles it and |
| 166 | /// sinks the resulting point loop. |
Tobias Grosser | 4d96c8d | 2013-03-23 01:05:07 +0000 | [diff] [blame] | 167 | /// |
Tobias Grosser | b241d92 | 2015-07-28 18:03:36 +0000 | [diff] [blame] | 168 | /// Example (DimToVectorize=0, VectorWidth=4): |
Tobias Grosser | 4d96c8d | 2013-03-23 01:05:07 +0000 | [diff] [blame] | 169 | /// |
Tobias Grosser | b241d92 | 2015-07-28 18:03:36 +0000 | [diff] [blame] | 170 | /// | Before transformation: |
Tobias Grosser | 4d96c8d | 2013-03-23 01:05:07 +0000 | [diff] [blame] | 171 | /// | |
| 172 | /// | A[i,j] -> [i,j] |
| 173 | /// | |
| 174 | /// | for (i = 0; i < 128; i++) |
| 175 | /// | for (j = 0; j < 128; j++) |
| 176 | /// | A(i,j); |
| 177 | /// |
Tobias Grosser | 4d96c8d | 2013-03-23 01:05:07 +0000 | [diff] [blame] | 178 | /// | After transformation: |
| 179 | /// | |
Tobias Grosser | b241d92 | 2015-07-28 18:03:36 +0000 | [diff] [blame] | 180 | /// | for (it = 0; it < 32; it+=1) |
Tobias Grosser | 4d96c8d | 2013-03-23 01:05:07 +0000 | [diff] [blame] | 181 | /// | for (j = 0; j < 128; j++) |
Tobias Grosser | b241d92 | 2015-07-28 18:03:36 +0000 | [diff] [blame] | 182 | /// | for (ip = 0; ip <= 3; ip++) |
| 183 | /// | A(4 * it + ip,j); |
Tobias Grosser | 4d96c8d | 2013-03-23 01:05:07 +0000 | [diff] [blame] | 184 | /// |
| 185 | /// The goal of this transformation is to create a trivially vectorizable |
| 186 | /// loop. This means a parallel loop at the innermost level that has a |
| 187 | /// constant number of iterations corresponding to the target vector width. |
| 188 | /// |
| 189 | /// This transformation creates a loop at the innermost level. The loop has |
| 190 | /// a constant number of iterations, if the number of loop iterations at |
| 191 | /// DimToVectorize can be divided by VectorWidth. The default VectorWidth is |
| 192 | /// currently constant and not yet target specific. This function does not |
| 193 | /// reason about parallelism. |
Tobias Grosser | b241d92 | 2015-07-28 18:03:36 +0000 | [diff] [blame] | 194 | static __isl_give isl_schedule_node * |
| 195 | prevectSchedBand(__isl_take isl_schedule_node *Node, unsigned DimToVectorize, |
Tobias Grosser | 07c1c2f | 2015-08-19 08:46:11 +0000 | [diff] [blame] | 196 | int VectorWidth); |
Tobias Grosser | 460e9a4 | 2012-04-25 13:22:43 +0000 | [diff] [blame] | 197 | |
Tobias Grosser | bbb4cec | 2015-03-22 12:06:39 +0000 | [diff] [blame] | 198 | /// @brief Apply additional optimizations on the bands in the schedule tree. |
Tobias Grosser | 4d96c8d | 2013-03-23 01:05:07 +0000 | [diff] [blame] | 199 | /// |
Tobias Grosser | bbb4cec | 2015-03-22 12:06:39 +0000 | [diff] [blame] | 200 | /// We are looking for an innermost band node and apply the following |
| 201 | /// transformations: |
| 202 | /// |
| 203 | /// - Tile the band |
| 204 | /// - if the band is tileable |
| 205 | /// - if the band has more than one loop dimension |
| 206 | /// |
Tobias Grosser | 3b10c94 | 2015-07-25 12:28:56 +0000 | [diff] [blame] | 207 | /// - Prevectorize the schedule of the band (or the point loop in case of |
Tobias Grosser | b241d92 | 2015-07-28 18:03:36 +0000 | [diff] [blame] | 208 | /// tiling). |
Tobias Grosser | bbb4cec | 2015-03-22 12:06:39 +0000 | [diff] [blame] | 209 | /// - if vectorization is enabled |
| 210 | /// |
| 211 | /// @param Node The schedule node to (possibly) optimize. |
| 212 | /// @param User A pointer to forward some use information (currently unused). |
| 213 | static isl_schedule_node *optimizeBand(isl_schedule_node *Node, void *User); |
Tobias Grosser | 460e9a4 | 2012-04-25 13:22:43 +0000 | [diff] [blame] | 214 | |
Tobias Grosser | 808cd69 | 2015-07-14 09:33:13 +0000 | [diff] [blame] | 215 | /// @brief Apply post-scheduling transformations. |
| 216 | /// |
| 217 | /// This function applies a set of additional local transformations on the |
| 218 | /// schedule tree as it computed by the isl scheduler. Local transformations |
| 219 | /// applied include: |
| 220 | /// |
| 221 | /// - Tiling |
| 222 | /// - Prevectorization |
| 223 | /// |
| 224 | /// @param Schedule The schedule object post-transformations will be applied |
| 225 | /// on. |
| 226 | /// @returns The transformed schedule. |
| 227 | static __isl_give isl_schedule * |
| 228 | addPostTransforms(__isl_take isl_schedule *Schedule); |
Tobias Grosser | 2878142 | 2012-10-16 07:29:19 +0000 | [diff] [blame] | 229 | |
Tobias Grosser | 20532b8 | 2014-04-11 17:56:49 +0000 | [diff] [blame] | 230 | using llvm::Pass::doFinalization; |
| 231 | |
Johannes Doerfert | 909a3bf | 2015-03-01 18:42:08 +0000 | [diff] [blame] | 232 | virtual bool doFinalization() override { |
Tobias Grosser | 4d96c8d | 2013-03-23 01:05:07 +0000 | [diff] [blame] | 233 | isl_schedule_free(LastSchedule); |
Tobias Grosser | 5a56cbf | 2014-04-16 07:33:47 +0000 | [diff] [blame] | 234 | LastSchedule = nullptr; |
Tobias Grosser | 4d96c8d | 2013-03-23 01:05:07 +0000 | [diff] [blame] | 235 | return true; |
| 236 | } |
| 237 | }; |
Tobias Grosser | 30aa24c | 2011-05-14 19:02:06 +0000 | [diff] [blame] | 238 | } |
| 239 | |
Tobias Grosser | 73600b8 | 2011-10-08 00:30:40 +0000 | [diff] [blame] | 240 | char IslScheduleOptimizer::ID = 0; |
Tobias Grosser | 30aa24c | 2011-05-14 19:02:06 +0000 | [diff] [blame] | 241 | |
Tobias Grosser | b241d92 | 2015-07-28 18:03:36 +0000 | [diff] [blame] | 242 | __isl_give isl_schedule_node * |
| 243 | IslScheduleOptimizer::prevectSchedBand(__isl_take isl_schedule_node *Node, |
| 244 | unsigned DimToVectorize, |
| 245 | int VectorWidth) { |
| 246 | assert(isl_schedule_node_get_type(Node) == isl_schedule_node_band); |
Tobias Grosser | c6699b7 | 2011-06-30 20:29:13 +0000 | [diff] [blame] | 247 | |
Tobias Grosser | b241d92 | 2015-07-28 18:03:36 +0000 | [diff] [blame] | 248 | auto Space = isl_schedule_node_band_get_space(Node); |
| 249 | auto ScheduleDimensions = isl_space_dim(Space, isl_dim_set); |
| 250 | isl_space_free(Space); |
| 251 | assert(DimToVectorize < ScheduleDimensions); |
Tobias Grosser | f533880 | 2011-10-06 00:03:35 +0000 | [diff] [blame] | 252 | |
Tobias Grosser | b241d92 | 2015-07-28 18:03:36 +0000 | [diff] [blame] | 253 | if (DimToVectorize > 0) { |
| 254 | Node = isl_schedule_node_band_split(Node, DimToVectorize); |
| 255 | Node = isl_schedule_node_child(Node, 0); |
| 256 | } |
| 257 | if (DimToVectorize < ScheduleDimensions - 1) |
| 258 | Node = isl_schedule_node_band_split(Node, 1); |
| 259 | Space = isl_schedule_node_band_get_space(Node); |
| 260 | auto Sizes = isl_multi_val_zero(Space); |
| 261 | auto Ctx = isl_schedule_node_get_ctx(Node); |
| 262 | Sizes = |
| 263 | isl_multi_val_set_val(Sizes, 0, isl_val_int_from_si(Ctx, VectorWidth)); |
| 264 | Node = isl_schedule_node_band_tile(Node, Sizes); |
| 265 | Node = isl_schedule_node_child(Node, 0); |
| 266 | Node = isl_schedule_node_band_sink(Node); |
| 267 | Node = isl_schedule_node_child(Node, 0); |
| 268 | return Node; |
Tobias Grosser | c6699b7 | 2011-06-30 20:29:13 +0000 | [diff] [blame] | 269 | } |
| 270 | |
Tobias Grosser | d891b54 | 2015-08-20 12:16:23 +0000 | [diff] [blame] | 271 | __isl_give isl_schedule_node * |
Tobias Grosser | 9bdea57 | 2015-08-20 12:22:37 +0000 | [diff] [blame^] | 272 | IslScheduleOptimizer::tileNode(__isl_take isl_schedule_node *Node, |
| 273 | ArrayRef<int> TileSizes, int DefaultTileSize) { |
| 274 | auto Ctx = isl_schedule_node_get_ctx(Node); |
| 275 | auto Space = isl_schedule_node_band_get_space(Node); |
| 276 | auto Dims = isl_space_dim(Space, isl_dim_set); |
| 277 | auto Sizes = isl_multi_val_zero(Space); |
| 278 | for (unsigned i = 0; i < Dims; i++) { |
| 279 | auto tileSize = i < TileSizes.size() ? TileSizes[i] : DefaultTileSize; |
| 280 | Sizes = isl_multi_val_set_val(Sizes, i, isl_val_int_from_si(Ctx, tileSize)); |
| 281 | } |
| 282 | Node = isl_schedule_node_band_tile(Node, Sizes); |
| 283 | return isl_schedule_node_child(Node, 0); |
| 284 | } |
| 285 | |
| 286 | __isl_give isl_schedule_node * |
Tobias Grosser | d891b54 | 2015-08-20 12:16:23 +0000 | [diff] [blame] | 287 | IslScheduleOptimizer::optimizeBand(__isl_take isl_schedule_node *Node, |
| 288 | void *User) { |
Tobias Grosser | bbb4cec | 2015-03-22 12:06:39 +0000 | [diff] [blame] | 289 | if (isl_schedule_node_get_type(Node) != isl_schedule_node_band) |
| 290 | return Node; |
Tobias Grosser | de68cc9 | 2011-06-30 20:01:02 +0000 | [diff] [blame] | 291 | |
Tobias Grosser | bbb4cec | 2015-03-22 12:06:39 +0000 | [diff] [blame] | 292 | if (isl_schedule_node_n_children(Node) != 1) |
| 293 | return Node; |
Tobias Grosser | de68cc9 | 2011-06-30 20:01:02 +0000 | [diff] [blame] | 294 | |
Tobias Grosser | bbb4cec | 2015-03-22 12:06:39 +0000 | [diff] [blame] | 295 | if (!isl_schedule_node_band_get_permutable(Node)) |
| 296 | return Node; |
Tobias Grosser | 44f19ac | 2011-07-05 22:15:53 +0000 | [diff] [blame] | 297 | |
Tobias Grosser | bbb4cec | 2015-03-22 12:06:39 +0000 | [diff] [blame] | 298 | auto Space = isl_schedule_node_band_get_space(Node); |
| 299 | auto Dims = isl_space_dim(Space, isl_dim_set); |
Tobias Grosser | 9bdea57 | 2015-08-20 12:22:37 +0000 | [diff] [blame^] | 300 | isl_space_free(Space); |
Tobias Grosser | de68cc9 | 2011-06-30 20:01:02 +0000 | [diff] [blame] | 301 | |
Tobias Grosser | 9bdea57 | 2015-08-20 12:22:37 +0000 | [diff] [blame^] | 302 | if (Dims <= 1) |
Tobias Grosser | bbb4cec | 2015-03-22 12:06:39 +0000 | [diff] [blame] | 303 | return Node; |
Tobias Grosser | de68cc9 | 2011-06-30 20:01:02 +0000 | [diff] [blame] | 304 | |
Tobias Grosser | bbb4cec | 2015-03-22 12:06:39 +0000 | [diff] [blame] | 305 | auto Child = isl_schedule_node_get_child(Node, 0); |
| 306 | auto Type = isl_schedule_node_get_type(Child); |
| 307 | isl_schedule_node_free(Child); |
| 308 | |
Tobias Grosser | 9bdea57 | 2015-08-20 12:22:37 +0000 | [diff] [blame^] | 309 | if (Type != isl_schedule_node_leaf) |
Tobias Grosser | bbb4cec | 2015-03-22 12:06:39 +0000 | [diff] [blame] | 310 | return Node; |
Tobias Grosser | bbb4cec | 2015-03-22 12:06:39 +0000 | [diff] [blame] | 311 | |
Tobias Grosser | 9bdea57 | 2015-08-20 12:22:37 +0000 | [diff] [blame^] | 312 | if (EnableTiling) |
| 313 | Node = tileNode(Node, TileSizes, DefaultTileSize); |
Tobias Grosser | bbb4cec | 2015-03-22 12:06:39 +0000 | [diff] [blame] | 314 | |
| 315 | if (PollyVectorizerChoice == VECTORIZER_NONE) |
Tobias Grosser | f10f463 | 2015-08-19 08:03:37 +0000 | [diff] [blame] | 316 | return Node; |
Tobias Grosser | bbb4cec | 2015-03-22 12:06:39 +0000 | [diff] [blame] | 317 | |
Tobias Grosser | b241d92 | 2015-07-28 18:03:36 +0000 | [diff] [blame] | 318 | for (int i = Dims - 1; i >= 0; i--) |
Tobias Grosser | f10f463 | 2015-08-19 08:03:37 +0000 | [diff] [blame] | 319 | if (isl_schedule_node_band_member_get_coincident(Node, i)) { |
Tobias Grosser | 07c1c2f | 2015-08-19 08:46:11 +0000 | [diff] [blame] | 320 | Node = IslScheduleOptimizer::prevectSchedBand(Node, i, PrevectorWidth); |
Tobias Grosser | bbb4cec | 2015-03-22 12:06:39 +0000 | [diff] [blame] | 321 | break; |
| 322 | } |
Tobias Grosser | bbb4cec | 2015-03-22 12:06:39 +0000 | [diff] [blame] | 323 | |
Tobias Grosser | f10f463 | 2015-08-19 08:03:37 +0000 | [diff] [blame] | 324 | return Node; |
Tobias Grosser | de68cc9 | 2011-06-30 20:01:02 +0000 | [diff] [blame] | 325 | } |
| 326 | |
Tobias Grosser | 808cd69 | 2015-07-14 09:33:13 +0000 | [diff] [blame] | 327 | __isl_give isl_schedule * |
| 328 | IslScheduleOptimizer::addPostTransforms(__isl_take isl_schedule *Schedule) { |
Tobias Grosser | bbb4cec | 2015-03-22 12:06:39 +0000 | [diff] [blame] | 329 | isl_schedule_node *Root = isl_schedule_get_root(Schedule); |
Tobias Grosser | 808cd69 | 2015-07-14 09:33:13 +0000 | [diff] [blame] | 330 | isl_schedule_free(Schedule); |
Tobias Grosser | b2f3992 | 2015-05-28 13:32:11 +0000 | [diff] [blame] | 331 | Root = isl_schedule_node_map_descendant_bottom_up( |
Tobias Grosser | bbb4cec | 2015-03-22 12:06:39 +0000 | [diff] [blame] | 332 | Root, IslScheduleOptimizer::optimizeBand, NULL); |
Tobias Grosser | 808cd69 | 2015-07-14 09:33:13 +0000 | [diff] [blame] | 333 | auto S = isl_schedule_node_get_schedule(Root); |
Tobias Grosser | bbb4cec | 2015-03-22 12:06:39 +0000 | [diff] [blame] | 334 | isl_schedule_node_free(Root); |
Tobias Grosser | 808cd69 | 2015-07-14 09:33:13 +0000 | [diff] [blame] | 335 | return S; |
Tobias Grosser | 30aa24c | 2011-05-14 19:02:06 +0000 | [diff] [blame] | 336 | } |
| 337 | |
Johannes Doerfert | 7ceb040 | 2015-02-11 17:25:09 +0000 | [diff] [blame] | 338 | bool IslScheduleOptimizer::isProfitableSchedule( |
| 339 | Scop &S, __isl_keep isl_union_map *NewSchedule) { |
| 340 | // To understand if the schedule has been optimized we check if the schedule |
| 341 | // has changed at all. |
| 342 | // TODO: We can improve this by tracking if any necessarily beneficial |
| 343 | // transformations have been performed. This can e.g. be tiling, loop |
| 344 | // interchange, or ...) We can track this either at the place where the |
| 345 | // transformation has been performed or, in case of automatic ILP based |
| 346 | // optimizations, by comparing (yet to be defined) performance metrics |
| 347 | // before/after the scheduling optimizer |
| 348 | // (e.g., #stride-one accesses) |
| 349 | isl_union_map *OldSchedule = S.getSchedule(); |
| 350 | bool changed = !isl_union_map_is_equal(OldSchedule, NewSchedule); |
| 351 | isl_union_map_free(OldSchedule); |
| 352 | return changed; |
| 353 | } |
| 354 | |
Tobias Grosser | 73600b8 | 2011-10-08 00:30:40 +0000 | [diff] [blame] | 355 | bool IslScheduleOptimizer::runOnScop(Scop &S) { |
Johannes Doerfert | 6f7921f | 2015-02-14 12:02:24 +0000 | [diff] [blame] | 356 | |
| 357 | // Skip empty SCoPs but still allow code generation as it will delete the |
| 358 | // loops present but not needed. |
| 359 | if (S.getSize() == 0) { |
| 360 | S.markAsOptimized(); |
| 361 | return false; |
| 362 | } |
| 363 | |
Johannes Doerfert | 7e6424b | 2015-03-05 00:43:48 +0000 | [diff] [blame] | 364 | const Dependences &D = getAnalysis<DependenceInfo>().getDependences(); |
Tobias Grosser | 30aa24c | 2011-05-14 19:02:06 +0000 | [diff] [blame] | 365 | |
Johannes Doerfert | 7e6424b | 2015-03-05 00:43:48 +0000 | [diff] [blame] | 366 | if (!D.hasValidDependences()) |
Tobias Grosser | 38c36ea | 2014-02-23 15:15:44 +0000 | [diff] [blame] | 367 | return false; |
| 368 | |
Tobias Grosser | 2878142 | 2012-10-16 07:29:19 +0000 | [diff] [blame] | 369 | isl_schedule_free(LastSchedule); |
Tobias Grosser | 5a56cbf | 2014-04-16 07:33:47 +0000 | [diff] [blame] | 370 | LastSchedule = nullptr; |
Tobias Grosser | 2878142 | 2012-10-16 07:29:19 +0000 | [diff] [blame] | 371 | |
Tobias Grosser | 30aa24c | 2011-05-14 19:02:06 +0000 | [diff] [blame] | 372 | // Build input data. |
Johannes Doerfert | 7e6424b | 2015-03-05 00:43:48 +0000 | [diff] [blame] | 373 | int ValidityKinds = |
| 374 | Dependences::TYPE_RAW | Dependences::TYPE_WAR | Dependences::TYPE_WAW; |
Tobias Grosser | 1deda29 | 2012-02-14 14:02:48 +0000 | [diff] [blame] | 375 | int ProximityKinds; |
| 376 | |
| 377 | if (OptimizeDeps == "all") |
Johannes Doerfert | 7e6424b | 2015-03-05 00:43:48 +0000 | [diff] [blame] | 378 | ProximityKinds = |
| 379 | Dependences::TYPE_RAW | Dependences::TYPE_WAR | Dependences::TYPE_WAW; |
Tobias Grosser | 1deda29 | 2012-02-14 14:02:48 +0000 | [diff] [blame] | 380 | else if (OptimizeDeps == "raw") |
Johannes Doerfert | 7e6424b | 2015-03-05 00:43:48 +0000 | [diff] [blame] | 381 | ProximityKinds = Dependences::TYPE_RAW; |
Tobias Grosser | 1deda29 | 2012-02-14 14:02:48 +0000 | [diff] [blame] | 382 | else { |
| 383 | errs() << "Do not know how to optimize for '" << OptimizeDeps << "'" |
Tobias Grosser | 4d96c8d | 2013-03-23 01:05:07 +0000 | [diff] [blame] | 384 | << " Falling back to optimizing all dependences.\n"; |
Johannes Doerfert | 7e6424b | 2015-03-05 00:43:48 +0000 | [diff] [blame] | 385 | ProximityKinds = |
| 386 | Dependences::TYPE_RAW | Dependences::TYPE_WAR | Dependences::TYPE_WAW; |
Tobias Grosser | 1deda29 | 2012-02-14 14:02:48 +0000 | [diff] [blame] | 387 | } |
| 388 | |
Tobias Grosser | 5f9a762 | 2012-02-14 14:02:40 +0000 | [diff] [blame] | 389 | isl_union_set *Domain = S.getDomains(); |
Tobias Grosser | 30aa24c | 2011-05-14 19:02:06 +0000 | [diff] [blame] | 390 | |
Tobias Grosser | 98610ee | 2012-02-13 23:31:39 +0000 | [diff] [blame] | 391 | if (!Domain) |
Tobias Grosser | 30aa24c | 2011-05-14 19:02:06 +0000 | [diff] [blame] | 392 | return false; |
| 393 | |
Johannes Doerfert | 7e6424b | 2015-03-05 00:43:48 +0000 | [diff] [blame] | 394 | isl_union_map *Validity = D.getDependences(ValidityKinds); |
| 395 | isl_union_map *Proximity = D.getDependences(ProximityKinds); |
Tobias Grosser | 8a50702 | 2012-03-16 11:51:41 +0000 | [diff] [blame] | 396 | |
Tobias Grosser | a26db47 | 2012-01-30 19:38:43 +0000 | [diff] [blame] | 397 | // Simplify the dependences by removing the constraints introduced by the |
| 398 | // domains. This can speed up the scheduling time significantly, as large |
| 399 | // constant coefficients will be removed from the dependences. The |
| 400 | // introduction of some additional dependences reduces the possible |
| 401 | // transformations, but in most cases, such transformation do not seem to be |
| 402 | // interesting anyway. In some cases this option may stop the scheduler to |
| 403 | // find any schedule. |
| 404 | if (SimplifyDeps == "yes") { |
Tobias Grosser | 00383a7 | 2012-02-14 14:02:44 +0000 | [diff] [blame] | 405 | Validity = isl_union_map_gist_domain(Validity, isl_union_set_copy(Domain)); |
| 406 | Validity = isl_union_map_gist_range(Validity, isl_union_set_copy(Domain)); |
Tobias Grosser | 4d96c8d | 2013-03-23 01:05:07 +0000 | [diff] [blame] | 407 | Proximity = |
| 408 | isl_union_map_gist_domain(Proximity, isl_union_set_copy(Domain)); |
Tobias Grosser | 00383a7 | 2012-02-14 14:02:44 +0000 | [diff] [blame] | 409 | Proximity = isl_union_map_gist_range(Proximity, isl_union_set_copy(Domain)); |
Tobias Grosser | a26db47 | 2012-01-30 19:38:43 +0000 | [diff] [blame] | 410 | } else if (SimplifyDeps != "no") { |
| 411 | errs() << "warning: Option -polly-opt-simplify-deps should either be 'yes' " |
| 412 | "or 'no'. Falling back to default: 'yes'\n"; |
| 413 | } |
| 414 | |
Tobias Grosser | 30aa24c | 2011-05-14 19:02:06 +0000 | [diff] [blame] | 415 | DEBUG(dbgs() << "\n\nCompute schedule from: "); |
Tobias Grosser | 01aea58 | 2014-10-22 23:16:28 +0000 | [diff] [blame] | 416 | DEBUG(dbgs() << "Domain := " << stringFromIslObj(Domain) << ";\n"); |
| 417 | DEBUG(dbgs() << "Proximity := " << stringFromIslObj(Proximity) << ";\n"); |
| 418 | DEBUG(dbgs() << "Validity := " << stringFromIslObj(Validity) << ";\n"); |
Tobias Grosser | 30aa24c | 2011-05-14 19:02:06 +0000 | [diff] [blame] | 419 | |
Michael Kruse | c59f22c | 2015-06-18 16:45:40 +0000 | [diff] [blame] | 420 | unsigned IslSerializeSCCs; |
Tobias Grosser | b3ad85b | 2012-01-30 19:38:50 +0000 | [diff] [blame] | 421 | |
| 422 | if (FusionStrategy == "max") { |
Michael Kruse | c59f22c | 2015-06-18 16:45:40 +0000 | [diff] [blame] | 423 | IslSerializeSCCs = 0; |
Tobias Grosser | b3ad85b | 2012-01-30 19:38:50 +0000 | [diff] [blame] | 424 | } else if (FusionStrategy == "min") { |
Michael Kruse | c59f22c | 2015-06-18 16:45:40 +0000 | [diff] [blame] | 425 | IslSerializeSCCs = 1; |
Tobias Grosser | b3ad85b | 2012-01-30 19:38:50 +0000 | [diff] [blame] | 426 | } else { |
| 427 | errs() << "warning: Unknown fusion strategy. Falling back to maximal " |
| 428 | "fusion.\n"; |
Michael Kruse | c59f22c | 2015-06-18 16:45:40 +0000 | [diff] [blame] | 429 | IslSerializeSCCs = 0; |
Tobias Grosser | b3ad85b | 2012-01-30 19:38:50 +0000 | [diff] [blame] | 430 | } |
| 431 | |
Tobias Grosser | 95e860c | 2012-01-30 19:38:54 +0000 | [diff] [blame] | 432 | int IslMaximizeBands; |
| 433 | |
Tobias Grosser | a4ea90b | 2012-01-30 22:43:56 +0000 | [diff] [blame] | 434 | if (MaximizeBandDepth == "yes") { |
Tobias Grosser | 95e860c | 2012-01-30 19:38:54 +0000 | [diff] [blame] | 435 | IslMaximizeBands = 1; |
Tobias Grosser | a4ea90b | 2012-01-30 22:43:56 +0000 | [diff] [blame] | 436 | } else if (MaximizeBandDepth == "no") { |
Tobias Grosser | 95e860c | 2012-01-30 19:38:54 +0000 | [diff] [blame] | 437 | IslMaximizeBands = 0; |
| 438 | } else { |
| 439 | errs() << "warning: Option -polly-opt-maximize-bands should either be 'yes'" |
| 440 | " or 'no'. Falling back to default: 'yes'\n"; |
| 441 | IslMaximizeBands = 1; |
| 442 | } |
| 443 | |
Michael Kruse | c59f22c | 2015-06-18 16:45:40 +0000 | [diff] [blame] | 444 | isl_options_set_schedule_serialize_sccs(S.getIslCtx(), IslSerializeSCCs); |
Tobias Grosser | 95e860c | 2012-01-30 19:38:54 +0000 | [diff] [blame] | 445 | isl_options_set_schedule_maximize_band_depth(S.getIslCtx(), IslMaximizeBands); |
Tobias Grosser | 992e60c | 2012-02-20 08:41:15 +0000 | [diff] [blame] | 446 | isl_options_set_schedule_max_constant_term(S.getIslCtx(), MaxConstantTerm); |
Tobias Grosser | 92f5480 | 2012-02-20 08:41:47 +0000 | [diff] [blame] | 447 | isl_options_set_schedule_max_coefficient(S.getIslCtx(), MaxCoefficient); |
Tobias Grosser | 4f6bcef | 2015-03-31 07:52:36 +0000 | [diff] [blame] | 448 | isl_options_set_tile_scale_tile_loops(S.getIslCtx(), 0); |
Tobias Grosser | 42152ff | 2012-01-30 19:38:47 +0000 | [diff] [blame] | 449 | |
| 450 | isl_options_set_on_error(S.getIslCtx(), ISL_ON_ERROR_CONTINUE); |
Tobias Grosser | a38c924 | 2014-01-26 19:36:28 +0000 | [diff] [blame] | 451 | |
| 452 | isl_schedule_constraints *ScheduleConstraints; |
| 453 | ScheduleConstraints = isl_schedule_constraints_on_domain(Domain); |
| 454 | ScheduleConstraints = |
| 455 | isl_schedule_constraints_set_proximity(ScheduleConstraints, Proximity); |
| 456 | ScheduleConstraints = isl_schedule_constraints_set_validity( |
| 457 | ScheduleConstraints, isl_union_map_copy(Validity)); |
| 458 | ScheduleConstraints = |
| 459 | isl_schedule_constraints_set_coincidence(ScheduleConstraints, Validity); |
Tobias Grosser | 00383a7 | 2012-02-14 14:02:44 +0000 | [diff] [blame] | 460 | isl_schedule *Schedule; |
Tobias Grosser | a38c924 | 2014-01-26 19:36:28 +0000 | [diff] [blame] | 461 | Schedule = isl_schedule_constraints_compute_schedule(ScheduleConstraints); |
Tobias Grosser | 42152ff | 2012-01-30 19:38:47 +0000 | [diff] [blame] | 462 | isl_options_set_on_error(S.getIslCtx(), ISL_ON_ERROR_ABORT); |
| 463 | |
| 464 | // In cases the scheduler is not able to optimize the code, we just do not |
| 465 | // touch the schedule. |
Tobias Grosser | 98610ee | 2012-02-13 23:31:39 +0000 | [diff] [blame] | 466 | if (!Schedule) |
Tobias Grosser | 42152ff | 2012-01-30 19:38:47 +0000 | [diff] [blame] | 467 | return false; |
Tobias Grosser | 30aa24c | 2011-05-14 19:02:06 +0000 | [diff] [blame] | 468 | |
Tobias Grosser | 97d8745 | 2015-05-30 06:46:59 +0000 | [diff] [blame] | 469 | DEBUG({ |
| 470 | auto *P = isl_printer_to_str(S.getIslCtx()); |
| 471 | P = isl_printer_set_yaml_style(P, ISL_YAML_STYLE_BLOCK); |
| 472 | P = isl_printer_print_schedule(P, Schedule); |
| 473 | dbgs() << "NewScheduleTree: \n" << isl_printer_get_str(P) << "\n"; |
| 474 | isl_printer_free(P); |
| 475 | }); |
Tobias Grosser | 4d63b9d | 2012-02-20 08:41:21 +0000 | [diff] [blame] | 476 | |
Tobias Grosser | 808cd69 | 2015-07-14 09:33:13 +0000 | [diff] [blame] | 477 | isl_schedule *NewSchedule = addPostTransforms(Schedule); |
| 478 | isl_union_map *NewScheduleMap = isl_schedule_get_map(NewSchedule); |
Johannes Doerfert | 7ceb040 | 2015-02-11 17:25:09 +0000 | [diff] [blame] | 479 | |
Tobias Grosser | 808cd69 | 2015-07-14 09:33:13 +0000 | [diff] [blame] | 480 | if (!isProfitableSchedule(S, NewScheduleMap)) { |
| 481 | isl_union_map_free(NewScheduleMap); |
| 482 | isl_schedule_free(NewSchedule); |
Johannes Doerfert | 7ceb040 | 2015-02-11 17:25:09 +0000 | [diff] [blame] | 483 | return false; |
| 484 | } |
| 485 | |
Tobias Grosser | 808cd69 | 2015-07-14 09:33:13 +0000 | [diff] [blame] | 486 | S.setScheduleTree(NewSchedule); |
Johannes Doerfert | 7ceb040 | 2015-02-11 17:25:09 +0000 | [diff] [blame] | 487 | S.markAsOptimized(); |
Tobias Grosser | 30aa24c | 2011-05-14 19:02:06 +0000 | [diff] [blame] | 488 | |
Tobias Grosser | 808cd69 | 2015-07-14 09:33:13 +0000 | [diff] [blame] | 489 | isl_union_map_free(NewScheduleMap); |
Tobias Grosser | 30aa24c | 2011-05-14 19:02:06 +0000 | [diff] [blame] | 490 | return false; |
| 491 | } |
| 492 | |
Johannes Doerfert | 3fe584d | 2015-03-01 18:40:25 +0000 | [diff] [blame] | 493 | void IslScheduleOptimizer::printScop(raw_ostream &OS, Scop &) const { |
Tobias Grosser | 2878142 | 2012-10-16 07:29:19 +0000 | [diff] [blame] | 494 | isl_printer *p; |
| 495 | char *ScheduleStr; |
| 496 | |
| 497 | OS << "Calculated schedule:\n"; |
| 498 | |
| 499 | if (!LastSchedule) { |
| 500 | OS << "n/a\n"; |
| 501 | return; |
| 502 | } |
| 503 | |
| 504 | p = isl_printer_to_str(isl_schedule_get_ctx(LastSchedule)); |
| 505 | p = isl_printer_print_schedule(p, LastSchedule); |
| 506 | ScheduleStr = isl_printer_get_str(p); |
| 507 | isl_printer_free(p); |
| 508 | |
| 509 | OS << ScheduleStr << "\n"; |
Tobias Grosser | 30aa24c | 2011-05-14 19:02:06 +0000 | [diff] [blame] | 510 | } |
| 511 | |
Tobias Grosser | 73600b8 | 2011-10-08 00:30:40 +0000 | [diff] [blame] | 512 | void IslScheduleOptimizer::getAnalysisUsage(AnalysisUsage &AU) const { |
Tobias Grosser | 30aa24c | 2011-05-14 19:02:06 +0000 | [diff] [blame] | 513 | ScopPass::getAnalysisUsage(AU); |
Johannes Doerfert | f6557f9 | 2015-03-04 22:43:40 +0000 | [diff] [blame] | 514 | AU.addRequired<DependenceInfo>(); |
Tobias Grosser | 30aa24c | 2011-05-14 19:02:06 +0000 | [diff] [blame] | 515 | } |
| 516 | |
Tobias Grosser | 4d96c8d | 2013-03-23 01:05:07 +0000 | [diff] [blame] | 517 | Pass *polly::createIslScheduleOptimizerPass() { |
Tobias Grosser | 73600b8 | 2011-10-08 00:30:40 +0000 | [diff] [blame] | 518 | return new IslScheduleOptimizer(); |
Tobias Grosser | 30aa24c | 2011-05-14 19:02:06 +0000 | [diff] [blame] | 519 | } |
Tobias Grosser | 4d96c8d | 2013-03-23 01:05:07 +0000 | [diff] [blame] | 520 | |
| 521 | INITIALIZE_PASS_BEGIN(IslScheduleOptimizer, "polly-opt-isl", |
| 522 | "Polly - Optimize schedule of SCoP", false, false); |
Johannes Doerfert | f6557f9 | 2015-03-04 22:43:40 +0000 | [diff] [blame] | 523 | INITIALIZE_PASS_DEPENDENCY(DependenceInfo); |
Tobias Grosser | 4d96c8d | 2013-03-23 01:05:07 +0000 | [diff] [blame] | 524 | INITIALIZE_PASS_DEPENDENCY(ScopInfo); |
| 525 | INITIALIZE_PASS_END(IslScheduleOptimizer, "polly-opt-isl", |
| 526 | "Polly - Optimize schedule of SCoP", false, false) |