xref: /llvm-project/polly/lib/External/isl/test_inputs/codegen/separation_class4.c (revision 07b209523403d6c0d68c328cb20a8eaf6b51369c)
152a25237STobias Grosser for (int c0 = 0; c0 <= 128; c0 += 1) {
252a25237STobias Grosser   if (c0 <= 127) {
352a25237STobias Grosser     if (c0 == 0) {
452a25237STobias Grosser       for (int c3 = 0; c3 <= 1; c3 += 1)
552a25237STobias Grosser         for (int c5 = c3 + 58; c5 <= -c3 + 61; c5 += 1)
652a25237STobias Grosser           S_0(c3, c5);
7*07b20952STobias Grosser     } else {
852a25237STobias Grosser       for (int c2 = 1; c2 <= 2; c2 += 1)
952a25237STobias Grosser         for (int c3 = max(4 * c0 - 2, 4 * c0 + 6 * c2 - 12); c3 <= min(4 * c0 + 1, 4 * c0 + 6 * c2 - 7); c3 += 1)
1052a25237STobias Grosser           for (int c5 = max(4 * c0 - c3 + 57, -4 * c0 + c3 + 58); c5 <= min(4 * c0 - c3 + 61, -4 * c0 + c3 + 62); c5 += 1)
1152a25237STobias Grosser             S_0(c3, c5);
12*07b20952STobias Grosser     }
1352a25237STobias Grosser     for (int c2 = 1; c2 <= 2; c2 += 1)
1452a25237STobias Grosser       for (int c3 = max(4 * c0, 4 * c0 + 6 * c2 - 10); c3 <= min(4 * c0 + 3, 4 * c0 + 6 * c2 - 5); c3 += 1)
1552a25237STobias Grosser         for (int c5 = max(-4 * c0 + c3 + 59, 4 * c0 - c3 + 62); c5 <= min(-4 * c0 + c3 + 63, 4 * c0 - c3 + 66); c5 += 1)
1652a25237STobias Grosser           S_0(c3, c5);
17*07b20952STobias Grosser   } else {
1852a25237STobias Grosser     for (int c3 = 510; c3 <= 511; c3 += 1)
1952a25237STobias Grosser       for (int c5 = -c3 + 569; c5 < c3 - 449; c5 += 1)
2052a25237STobias Grosser         S_0(c3, c5);
2152a25237STobias Grosser   }
22*07b20952STobias Grosser }
23