export pet_expr_new_cast
[pet.git] / tests / min2.scop
blobdf4efcfc61160be88938d77295bde5932299f1cb
1 start: 83
2 end: 166
3 indent: "\t"
4 context: '[N] -> {  : N <= 1073741823 and N >= 0 }'
5 arrays:
6 - context: '[N] -> {  : N >= 0 }'
7   extent: '[N] -> { a[i0] : i0 <= -1 + N and i0 >= 0 }'
8   element_type: int
9   element_size: 4
10 statements:
11 - line: 10
12   domain: '[N] -> { S_0[i] : i <= -1 + N and i >= 0 and i <= -11 + 2N }'
13   schedule: '[N] -> { S_0[i] -> [0, i] }'
14   body:
15     type: expression
16     expr:
17       type: op
18       operation: =
19       arguments:
20       - type: access
21         index: '[N] -> { S_0[i] -> a[(i)] }'
22         reference: __pet_ref_0
23         read: 0
24         write: 1
25       - type: access
26         index: '[N] -> { S_0[i] -> [(i)] }'
27         reference: __pet_ref_1
28         read: 1
29         write: 0