export pet_expr_new_cast
[pet.git] / tests / inf3.scop
blob1bb57ccad63f8c4c7b76ae3712e04e8ba3b4a0cd
1 start: 31
2 end: 104
3 indent: "\t"
4 context: '{  :  }'
5 arrays:
6 - context: '{  :  }'
7   extent: '{ A[i0] : i0 >= 0 }'
8   element_type: int
9   element_size: 4
10 - context: '{  :  }'
11   extent: '{ i[] }'
12   element_type: int
13   element_size: 4
14 statements:
15 - line: 5
16   domain: '{ S_0[] }'
17   schedule: '{ S_0[] -> [0] }'
18   body:
19     type: expression
20     expr:
21       type: op
22       operation: =
23       arguments:
24       - type: access
25         index: '{ S_0[] -> i[] }'
26         reference: __pet_ref_0
27         read: 0
28         write: 1
29       - type: int
30         value: 5
31 - line: 7
32   domain: '{ S_1[t] : t >= 0 }'
33   schedule: '{ S_1[t] -> [1, t, 0] }'
34   body:
35     type: expression
36     expr:
37       type: op
38       operation: =
39       arguments:
40       - type: access
41         index: '{ [S_1[t] -> [i1]] -> A[((i1) : i1 >= 0)] }'
42         reference: __pet_ref_2
43         read: 0
44         write: 1
45         arguments:
46         - type: access
47           index: '{ S_1[t] -> i[] }'
48           reference: __pet_ref_1
49           read: 1
50           write: 0
51       - type: int
52         value: 6
53 - line: 8
54   domain: '{ S_2[t] : t >= 0 }'
55   schedule: '{ S_2[t] -> [1, t, 1] }'
56   body:
57     type: expression
58     expr:
59       type: op
60       operation: =
61       arguments:
62       - type: access
63         index: '{ S_2[t] -> i[] }'
64         reference: __pet_ref_3
65         read: 0
66         write: 1
67       - type: int
68         value: 7