export pet_expr_new_cast
[pet.git] / tests / summary.scop
blobecbcd7b61fabb1d50a57a6dd9ecc2f2dc93d8b17
1 start: 357
2 end: 435
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: 24
13   domain: '[n] -> { S_0[i] : i <= -1 + n and i >= 0 }'
14   schedule: '[n] -> { S_0[i] -> [0, i] }'
15   body:
16     type: expression
17     expr:
18       type: call
19       name: set_odd
20       arguments:
21       - type: access
22         index: '[n] -> { S_0[i] -> [(n)] }'
23         reference: __pet_ref_0
24         read: 1
25         write: 0
26       - type: access
27         may_write: '[n] -> { S_0[i] -> A[i, o1] : exists (e0 = floor((-1 + o1)/2):
28           2e0 = -1 + o1 and o1 >= 1 and o1 <= -1 + n) }'
29         must_write: '[n] -> {  }'
30         index: '[n] -> { S_0[i] -> A[(i)] }'
31         depth: 2
32         reference: __pet_ref_1
33         read: 0
34         write: 1