isl_aff_ceil: compute ceil(e/m) as floor((e + m - 1)/m)
[isl.git] / test_inputs / codegen / cloog / reservoir-pingali5.c
blob51f2f0c154e87e41ff3ed130c28a97928b87a92c
1 for (int c1 = 3; c1 < 2 * M; c1 += 1) {
2 for (int c3 = c1 / 2 + 2; c3 <= M; c3 += 1)
3 for (int c7 = c1 / 2 + 1; c7 < min(c1, c3); c7 += 1)
4 S1(c7, c1 - c7, c3);
5 for (int c3 = max(1, -M + c1); c3 < (c1 + 1) / 2; c3 += 1)
6 S2(c1 - c3, c3);
7 for (int c3 = c1 / 2 + 2; c3 <= M; c3 += 1)
8 for (int c7 = c1 / 2 + 1; c7 < min(c1, c3); c7 += 1)
9 S3(c7, c1 - c7, c3);