add support for generating ASTs from schedule relations
[isl.git] / test_inputs / codegen / cloog / reservoir-pingali5.c
blob1d337c09e4999374866658890c7518cbd3296ff9
1 for (int c1 = 3; c1 <= 2 * M - 1; c1 += 1) {
2 for (int c3 = c1 - (c1 + 1) / 2 + 2; c3 <= M; c3 += 1)
3 for (int c7 = c1 - (c1 + 1) / 2 + 1; c7 <= min(c1 - 1, c3 - 1); c7 += 1)
4 S1(c7, c1 - c7, c3);
5 for (int c3 = max(1, -M + c1); c3 <= (c1 + 1) / 2 - 1; c3 += 1)
6 S2(c1 - c3, c3);
7 for (int c3 = c1 - (c1 + 1) / 2 + 2; c3 <= M; c3 += 1)
8 for (int c7 = c1 - (c1 + 1) / 2 + 1; c7 <= min(c1 - 1, c3 - 1); c7 += 1)
9 S3(c7, c1 - c7, c3);