codegen_test.sh: remove test output file on success
[pet.git] / tests / loop3.scop
blob3cd867fa996a8f26643bd940df11b08bf2ebce88
1 start: 34
2 end: 124
3 indent: "\t"
4 context: '{  :  }'
5 schedule: '{ domain: "{ S_0[i] : (i <= 9 and i >= 7) or (i <= 4 and i >= 0); S_2[];
6   S_1[] }", child: { sequence: [ { filter: "{ S_0[i] }", child: { schedule: "L_0[{
7   S_0[i] -> [(i)] }]" } }, { filter: "{ S_2[]; S_1[] }", child: { set: [ { filter:
8   "{ S_1[] }" }, { filter: "{ S_2[] }" } ] } } ] } }'
9 arrays:
10 - context: '{  :  }'
11   extent: '{ a[i0] : i0 >= 0 and i0 <= 9 }'
12   element_type: int
13   element_size: 4
14 - context: '{  :  }'
15   extent: '{ i[] }'
16   element_type: int
17   element_size: 4
18 statements:
19 - line: 9
20   domain: '{ S_0[i] : (i <= 9 and i >= 7) or (i <= 4 and i >= 0) }'
21   body:
22     type: expression
23     expr:
24       type: op
25       operation: =
26       arguments:
27       - type: access
28         index: '{ S_0[i] -> a[(i)] }'
29         reference: __pet_ref_0
30         read: 0
31         write: 1
32       - type: access
33         index: '{ S_0[i] -> [(i)] }'
34         reference: __pet_ref_1
35         read: 1
36         write: 0
37 - line: -1
38   domain: '{ S_1[] }'
39   body:
40     type: expression
41     expr:
42       type: op
43       operation: kill
44       arguments:
45       - type: access
46         killed: '{ S_1[] -> i[] }'
47         index: '{ S_1[] -> i[] }'
48         reference: __pet_ref_2
49         kill: 1
50 - line: -1
51   domain: '{ S_2[] }'
52   body:
53     type: expression
54     expr:
55       type: op
56       operation: kill
57       arguments:
58       - type: access
59         killed: '{ S_2[] -> a[o0] : o0 >= 0 and o0 <= 9 }'
60         index: '{ S_2[] -> a[] }'
61         depth: 1
62         reference: __pet_ref_3
63         kill: 1