export pet_expr_new_cast
[pet.git] / tests / call6.scop
blob36195ace6fd0375aa71044e4446872aa0a99b7a2
1 start: 149
2 end: 217
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: access
35         index: '[n] -> { S_1[] -> [(-1)] }'
36         reference: __pet_ref_1
37         read: 1
38         write: 0
39       - type: access
40         may_read: '[n] -> { S_1[] -> A[o0] : o0 <= 3 and o0 >= 0 }'
41         may_write: '[n] -> { S_1[] -> A[o0] : o0 <= 3 and o0 >= 0 }'
42         must_write: '[n] -> { S_1[] -> A[o0] : o0 <= 3 and o0 >= 0 }'
43         index: '[n] -> { S_1[] -> A[] }'
44         depth: 1
45         reference: __pet_ref_2
46         read: 1
47         write: 1