add support for generating ASTs from schedule relations
[isl.git] / test_inputs / codegen / cloog / reservoir-lim-lam3.c
blob1d6f994f7fa36cd9ef50b4995bce2ebdbe1154a8
1 for (int c1 = 5; c1 <= 5 * M; c1 += 1) {
2 for (int c3 = max(2, -floord(M - c1 - 1, 4) - 1); c3 <= min((c1 + 1) / 3 - 3, M - 1); c3 += 1)
3 for (int c5 = max(c1 - c3 - (M + c1 + 1) / 2 - 2, 1); c5 <= min(c3 - 1, -2 * c3 + (c1 + c3) / 2 - 3); c5 += 1)
4 S1(c1 - 2 * c3 - 2 * c5 - 5, c3, c5);
5 for (int c3 = max(1, -floord(M - c1 - 1, 4) - 1); c3 <= (c1 + 1) / 5 - 1; c3 += 1)
6 S2(c1 - 4 * c3 - 3, c3);
7 if (c1 % 5 == 0)
8 S4(c1 / 5);
9 for (int c3 = max(-c1 - 3 * floord(-c1, 3) + 1, 2 * c1 - 3 * ((M + c1 + 1) / 2) + 1); c3 <= (c1 + 1) / 5 - 1; c3 += 3)
10 S3((c1 - 2 * c3 - 1) / 3, c3);