support empty statements
[pet.git] / tests / struct2.scop
blob758ec071eecda359028d599830dc2560dabddfdf
1 start: 58
2 end: 166
3 indent: "\t"
4 context: '{  :  }'
5 schedule: '{ domain: "{ S_0[i, j] : 0 <= i <= 9 and 0 <= j <= 19; S_1[] }", child:
6   { sequence: [ { filter: "{ S_0[i, j] }", child: { schedule: "L_0[{ S_0[i, j] ->
7   [(i)] }]", child: { schedule: "L_1[{ S_0[i, j] -> [(j)] }]" } } }, { filter: "{
8   S_1[] }" } ] } }'
9 types:
10 - name: s
11   definition: "struct s {\n    int a;\n}"
12 arrays:
13 - context: '{  :  }'
14   extent: '{ s[i0, i1] : 0 <= i0 <= 9 and 0 <= i1 <= 19 }'
15   element_type: struct s
16   element_size: 4
17   element_is_record: 1
18 - context: '{  :  }'
19   extent: '{ s_a[s[i0, i1] -> a[]] : 0 <= i0 <= 9 and 0 <= i1 <= 19 }'
20   element_type: int
21   element_size: 4
22 statements:
23 - line: 12
24   domain: '{ S_0[i, j] : 0 <= i <= 9 and 0 <= j <= 19 }'
25   body:
26     type: expression
27     expr:
28       type: op
29       operation: =
30       arguments:
31       - type: access
32         index: '{ S_0[i, j] -> s_a[s[(i), (j)] -> a[]] }'
33         reference: __pet_ref_0
34         read: 0
35         write: 1
36       - type: int
37         value: 5
38 - line: -1
39   domain: '{ S_1[] }'
40   body:
41     type: expression
42     expr:
43       type: op
44       operation: kill
45       arguments:
46       - type: access
47         killed: '{ S_1[] -> s[o0, o1] : 0 <= o0 <= 9 and 0 <= o1 <= 19 }'
48         index: '{ S_1[] -> s[] }'
49         depth: 2
50         reference: __pet_ref_1
51         kill: 1