summaryrefslogtreecommitdiffstats
path: root/polly/lib/External/isl/test_inputs/codegen/cloog/logopar.c
blob: 70f98e8cd8995627233c9bc0b6f92d52d06ae192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  for (int c1 = 0; c1 <= m; c1 += 1)
    S1(1, c1);
  for (int c0 = 2; c0 <= n; c0 += 1) {
    for (int c1 = 0; c1 < c0 - 1; c1 += 1)
      S2(c0, c1);
    for (int c1 = c0 - 1; c1 <= n; c1 += 1) {
      S1(c0, c1);
      S2(c0, c1);
    }
    for (int c1 = n + 1; c1 <= m; c1 += 1)
      S1(c0, c1);
  }
  for (int c0 = n + 1; c0 <= m + 1; c0 += 1)
    for (int c1 = c0 - 1; c1 <= m; c1 += 1)
      S1(c0, c1);
}
OpenPOWER on IntegriCloud