export pet_expr_extract_affine
[pet.git] / tests / break5.scop
blob94c6feea6e03588ecee8f8f4b290057895e8649e
1 start: 33
2 end: 269
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 <= 150 - i and j <= 99 and j <=
12     i and j >= 1) or (i >= 0 and i <= 89 and j >= 1 and j <= 99 and j <= i and j >=
13     151 - i) or (i >= 0 and i <= 9 and j >= 0 and j <= 99 and j >= 1 + i); S_0[i,
14     0] : i >= 0 and i <= 99 }'
15   schedule: '{ S_0[i, j] -> [0, i, j, 0] }'
16   body:
17     type: op
18     operation: =
19     arguments:
20     - type: access
21       relation: '{ S_0[i, j] -> a[i] }'
22       index: '{ S_0[i, j] -> a[(i)] }'
23       reference: __pet_ref_0
24       read: 0
25       write: 1
26     - type: int
27       value: 0
28 - line: 17
29   domain: '{ S_1[i, j] : i >= 10 and i <= 99 and j <= 149 - i and j <= 60 and j <=
30     -1 + i and j >= 1; S_1[i, 0] : i >= 10 and i <= 99 }'
31   schedule: '{ S_1[i, j] -> [0, i, j, 5] }'
32   body:
33     type: op
34     operation: =
35     arguments:
36     - type: access
37       relation: '{ S_1[i, j] -> a[i] }'
38       index: '{ S_1[i, j] -> a[(i)] }'
39       reference: __pet_ref_1
40       read: 0
41       write: 1
42     - type: op
43       operation: +
44       arguments:
45       - type: access
46         relation: '{ S_1[i, j] -> [i] }'
47         index: '{ S_1[i, j] -> [(i)] }'
48         reference: __pet_ref_2
49         read: 1
50         write: 0
51       - type: access
52         relation: '{ S_1[i, j] -> [j] }'
53         index: '{ S_1[i, j] -> [(j)] }'
54         reference: __pet_ref_3
55         read: 1
56         write: 0