print.c: rename pet_expr_build_ast_expr to pet_expr_access_build_ast_expr
[pet.git] / tests / array.scop
bloba656250d9c6cc7f6ee2a04124ade39b9196a6e21
1 start: 76
2 end: 115
3 indent: "\t"
4 context: '{  :  }'
5 schedule: '{ domain: "{ S_0[] }" }'
6 arrays:
7 - context: '{  :  }'
8   extent: '{ A[i0] : i0 >= 0 }'
9   element_type: const int
10   element_size: 4
11 - context: '{  :  }'
12   extent: '{ B[i0] : i0 >= 0 }'
13   element_type: int
14   element_size: 4
15 statements:
16 - line: 6
17   domain: '{ S_0[] }'
18   body:
19     type: expression
20     expr:
21       type: call
22       name: f
23       arguments:
24       - type: access
25         index: '{ S_0[] -> A[] }'
26         depth: 1
27         reference: __pet_ref_0
28         read: 1
29         write: 0
30       - type: access
31         may_read: '{ S_0[] -> B[o0] }'
32         may_write: '{ S_0[] -> B[o0] }'
33         must_write: '{  }'
34         index: '{ S_0[] -> B[] }'
35         depth: 1
36         reference: __pet_ref_1
37         read: 1
38         write: 1