export pet_expr_extract_affine
[pet.git] / tests / loop6.scop
blob2a746fd7eae37cd192431994e461b976888fa2e3
1 start: 30
2 end: 137
3 context: '[n] -> {  : n >= 0 and n <= 2147483647 }'
4 arrays:
5 - context: '[n] -> {  : n >= 0 }'
6   extent: '[n] -> { a[i0] : i0 <= -1 + n and i0 >= 0 }'
7   element_type: int
8   element_size: 4
9 statements:
10 - line: 8
11   domain: '[n] -> { S_0[i] : i >= 0 and i <= 2147483547 and i <= n }'
12   schedule: '[n] -> { S_0[i] -> [0, i] }'
13   body:
14     type: op
15     operation: =
16     arguments:
17     - type: access
18       relation: '[n] -> { S_0[i] -> a[i] }'
19       index: '[n] -> { S_0[i] -> a[(i)] }'
20       reference: __pet_ref_0
21       read: 0
22       write: 1
23     - type: int
24       value: 0