xref: /llvm-project/polly/lib/External/isl/test_inputs/codegen/hoist.in (revision 52a25237d894fd5736a90f11df2c5c9391d13fd5)
1*52a25237STobias Grosser# check that the shared conditions ni >= t0 + 1 and nj >= t1 + 1
2*52a25237STobias Grosser# are hoisted out of the loop
3*52a25237STobias Grosser[ni, nj, nk, t0, t1] -> { S_1[i, j, k] -> [t0, t1, k, i, j] :
4*52a25237STobias Grosser	exists (e0 = [(-t0 + i)/16], e1 = [(-t1 + j)/16]:
5*52a25237STobias Grosser	16e0 = -t0 + i and 16e1 = -t1 + j and k >= 0 and j >= 0 and
6*52a25237STobias Grosser	j <= -1 + nj and i >= 0 and i <= -1 + ni and k <= -1 + nk and
7*52a25237STobias Grosser	ni >= 1 and nj >= 1 and nk >= 1 and j <= 63 and t1 >= 0 and
8*52a25237STobias Grosser	i <= 63 and k <= 15 and t0 >= 0 and t1 <= 15 and t0 <= 15) }
9*52a25237STobias Grosser[t0, t1] -> { : 0 <= t0, t1 <= 15 }
10*52a25237STobias Grosser{ [t0, t1, i5, i6, i7] -> unroll[x] : x >= 3}
11