update isl for isl_pw_aff_has_dim_id
[pet.git] / tests / piecewise.scop
blobbffe60adefd023d5dcacc792f9a4af4ff1a0ffdf
1 context: '[N] -> {  : N >= 0 }'
2 arrays:
3 - context: '[N] -> {  : N >= 0 }'
4   extent: '[N] -> { a[i0, i1] : i0 >= 0 and i1 >= 0 and i1 <= -1 + N }'
5   element_type: int
6 statements:
7 - line: 8
8   domain: '[N] -> { S_0[i, j] : i >= 0 and i <= -1 + N and j >= i and j <= -1 + N
9     }'
10   schedule: '[N] -> { S_0[i, j] -> [0, i, j] }'
11   body:
12     type: binary
13     operation: =
14     arguments:
15     - type: access
16       relation: '[N] -> { S_0[i, j] -> a[i, j] }'
17       read: 0
18       write: 1
19     - type: access
20       relation: '[N] -> { S_0[i, j] -> a[i, 0] : i <= 0; S_0[i, j] -> a[-1 + i, 0]
21         : i >= 1 }'
22       read: 1
23       write: 0