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