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