try and include initial declarations in outer block when autodetecting
[pet.git] / tests / inc.scop
blobc94d018ed927770c42ecb9cd12ddef769de0a5ee
1 start: 38
2 end: 107
3 indent: "\t"
4 context: '[N] -> {  : N >= 0 and N <= 2147483647 }'
5 schedule: '{ domain: "[N] -> { S_0[i] : i >= 0 and i <= -1 + N }", child: { schedule:
6   "[N] -> L_0[{ S_0[i] -> [(i)] }]" } }'
7 arrays:
8 - context: '[N] -> {  : N >= 0 }'
9   extent: '[N] -> { a[i0] : i0 >= 0 and i0 <= -1 + N }'
10   element_type: int
11   element_size: 4
12 statements:
13 - line: 8
14   domain: '[N] -> { S_0[i] : i >= 0 and i <= -1 + N }'
15   body:
16     type: expression
17     expr:
18       type: op
19       operation: =
20       arguments:
21       - type: access
22         index: '[N] -> { S_0[i] -> a[(i)] }'
23         reference: __pet_ref_0
24         read: 0
25         write: 1
26       - type: access
27         index: '[N] -> { S_0[i] -> [(i)] }'
28         reference: __pet_ref_1
29         read: 1
30         write: 0