xref: /netbsd-src/external/mit/isl/dist/test_inputs/codegen/hoist.in (revision 5971e316fdea024efff6be8f03536623db06833e)
1*5971e316Smrg# check that the shared conditions ni >= t0 + 1 and nj >= t1 + 1
2*5971e316Smrg# are hoisted out of the loop
3*5971e316Smrg[ni, nj, nk, t0, t1] -> { S_1[i, j, k] -> [t0, t1, k, i, j] :
4*5971e316Smrg	exists (e0 = [(-t0 + i)/16], e1 = [(-t1 + j)/16]:
5*5971e316Smrg	16e0 = -t0 + i and 16e1 = -t1 + j and k >= 0 and j >= 0 and
6*5971e316Smrg	j <= -1 + nj and i >= 0 and i <= -1 + ni and k <= -1 + nk and
7*5971e316Smrg	ni >= 1 and nj >= 1 and nk >= 1 and j <= 63 and t1 >= 0 and
8*5971e316Smrg	i <= 63 and k <= 15 and t0 >= 0 and t1 <= 15 and t0 <= 15) }
9*5971e316Smrg[t0, t1] -> { : 0 <= t0, t1 <= 15 }
10*5971e316Smrg{ [t0, t1, i5, i6, i7] -> unroll[x] : x >= 3}
11