print.c: rename pet_expr_build_ast_expr to pet_expr_access_build_ast_expr
[pet.git] / tests / struct12.scop
blob82356ce998e1eb5b19c4b11c588435cd6d702185
1 start: 74
2 end: 113
3 indent: "\t"
4 context: '{  :  }'
5 schedule: '{ domain: "{ S_0[]; S_1[] }", child: { sequence: [ { filter: "{ S_0[] }"
6   }, { filter: "{ S_1[] }" } ] } }'
7 types:
8 - name: field
9   definition: typedef int field
10 - name: a
11   definition: "typedef struct s {\n    field a;\n} a"
12 arrays:
13 - context: '{  :  }'
14   extent: '{ s[] }'
15   element_type: a
16   element_size: 4
17   element_is_record: 1
18   outer: 1
19 - context: '{  :  }'
20   extent: '{ s_a[s[] -> a[]] }'
21   element_type: field
22   element_size: 4
23 statements:
24 - line: 11
25   domain: '{ S_0[] }'
26   body:
27     type: expression
28     expr:
29       type: op
30       operation: =
31       arguments:
32       - type: access
33         index: '{ S_0[] -> s_a[s[] -> 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[] }'
49         index: '{ S_1[] -> s[] }'
50         reference: __pet_ref_1
51         kill: 1