export pet_expr_new_cast
[pet.git] / tests / call5.scop
blobeb970ef671ae926df1100a9d9b5049dd98e73f61
1 start: 141
2 end: 208
3 indent: "\t"
4 context: '[n] -> {  : n >= 4 and n <= 2147483647 }'
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[] }'
13   schedule: '{ S_0[] -> [0] }'
14   body:
15     type: expression
16     expr:
17       type: op
18       operation: assume
19       arguments:
20       - type: access
21         index: '[n] -> { S_0[] -> [(1)] }'
22         reference: __pet_ref_0
23         read: 1
24         write: 0
25 - line: 11
26   domain: '[n] -> { S_1[] }'
27   schedule: '{ S_1[] -> [1] }'
28   body:
29     type: expression
30     expr:
31       type: call
32       name: foo
33       arguments:
34       - type: int
35         value: 0
36       - type: access
37         may_read: '[n] -> { S_1[] -> A[o0] : o0 <= 3 and o0 >= 0 }'
38         may_write: '[n] -> { S_1[] -> A[o0] : o0 <= 3 and o0 >= 0 }'
39         must_write: '[n] -> { S_1[] -> A[o0] : o0 <= 3 and o0 >= 0 }'
40         index: '[n] -> { S_1[] -> A[] }'
41         depth: 1
42         reference: __pet_ref_1
43         read: 1
44         write: 1