use an isl_multi_pw_aff to represent a skip condition
[pet.git] / tests / break2.scop
blob498407e26e41c8ccdf99f50afac457d506f2f3fe
1 start: 33
2 end: 208
3 context: '{  :  }'
4 arrays:
5 - context: '{  :  }'
6   extent: '{ a[i0] : i0 >= 0 and i0 <= 99 }'
7   element_type: int
8   element_size: 4
9 statements:
10 - line: 8
11   domain: '{ S_0[i, j] : (i >= 0 and i <= 99 and j >= 0 and j <= 99 and j <= i) or
12     (i >= 0 and i <= 9 and j >= 0 and j <= 99 and j >= 1 + i) }'
13   schedule: '{ S_0[i, j] -> [0, i, j, 0] }'
14   body:
15     type: binary
16     operation: =
17     arguments:
18     - type: access
19       relation: '{ S_0[i, j] -> a[i] }'
20       reference: __pet_ref_0
21       read: 0
22       write: 1
23     - type: access
24       relation: '{ S_0[i, j] -> [0] }'
25       reference: __pet_ref_1
26       read: 1
27       write: 0
28 - line: 13
29   domain: '{ S_1[i, j] : i >= 10 and i <= 99 and j >= 0 and j <= 99 and j <= -1 +
30     i }'
31   schedule: '{ S_1[i, j] -> [0, i, j, 3] }'
32   body:
33     type: binary
34     operation: =
35     arguments:
36     - type: access
37       relation: '{ S_1[i, j] -> a[i] }'
38       reference: __pet_ref_2
39       read: 0
40       write: 1
41     - type: binary
42       operation: +
43       arguments:
44       - type: access
45         relation: '{ S_1[i, j] -> [i] }'
46         reference: __pet_ref_3
47         read: 1
48         write: 0
49       - type: access
50         relation: '{ S_1[i, j] -> [j] }'
51         reference: __pet_ref_4
52         read: 1
53         write: 0