print.c: rename pet_expr_build_ast_expr to pet_expr_access_build_ast_expr
[pet.git] / tests / struct2.scop
blob4126f22b86e4452a24bc93e1c0a2b99c69217ef0
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   outer: 1
19 - context: '{  :  }'
20   extent: '{ s_a[s[i0, i1] -> a[]] : 0 <= i0 <= 9 and 0 <= i1 <= 19 }'
21   element_type: int
22   element_size: 4
23 statements:
24 - line: 12
25   domain: '{ S_0[i, j] : 0 <= i <= 9 and 0 <= j <= 19 }'
26   body:
27     type: expression
28     expr:
29       type: op
30       operation: =
31       arguments:
32       - type: access
33         index: '{ S_0[i, j] -> s_a[s[(i), (j)] -> a[]] }'
34         reference: __pet_ref_0
35         read: 0
36         write: 1
37       - type: int
38         value: 5
39 - line: -1
40   domain: '{ S_1[] }'
41   body:
42     type: expression
43     expr:
44       type: op
45       operation: kill
46       arguments:
47       - type: access
48         killed: '{ S_1[] -> s[o0, o1] : 0 <= o0 <= 9 and 0 <= o1 <= 19 }'
49         index: '{ S_1[] -> s[] }'
50         depth: 2
51         reference: __pet_ref_1
52         kill: 1