export pet_expr_new_cast
[pet.git] / tests / filter3.scop
bloba8b2541b5d0133227c73157d90e95864879f3f39
1 start: 51
2 end: 125
3 indent: "\t"
4 context: '{  :  }'
5 arrays:
6 - context: '{  :  }'
7   extent: '{ __pet_test_0[] }'
8   value_bounds: '{ [i0] : i0 >= 0 and i0 <= 1 }'
9   element_type: int
10   element_size: 4
11   uniquely_defined: 1
12 - context: '{  :  }'
13   extent: '{ index[] }'
14   element_type: int
15   element_size: 4
16 - context: '{  :  }'
17   extent: '{ test[i0] : i0 >= 0 }'
18   element_type: int
19   element_size: 4
20 statements:
21 - line: 6
22   domain: '{ S_0[] }'
23   schedule: '{ S_0[] -> [0] }'
24   body:
25     type: expression
26     expr:
27       type: op
28       operation: =
29       arguments:
30       - type: access
31         index: '{ S_0[] -> index[] }'
32         reference: __pet_ref_0
33         read: 0
34         write: 1
35       - type: call
36         name: f
37 - line: 7
38   domain: '{ S_1[] }'
39   schedule: '{ S_1[] -> [1, 0] }'
40   body:
41     type: expression
42     expr:
43       type: op
44       operation: =
45       arguments:
46       - type: access
47         index: '{ S_1[] -> __pet_test_0[] }'
48         reference: __pet_ref_1
49         read: 0
50         write: 1
51       - type: access
52         index: '{ [S_1[] -> [i0]] -> test[((i0) : i0 >= 0)] }'
53         reference: __pet_ref_3
54         read: 1
55         write: 0
56         arguments:
57         - type: access
58           index: '{ S_1[] -> index[] }'
59           reference: __pet_ref_2
60           read: 1
61           write: 0
62 - line: 8
63   domain: '{ [S_2[] -> [1]] }'
64   schedule: '{ S_2[] -> [1, 1] }'
65   body:
66     type: expression
67     expr:
68       type: op
69       operation: =
70       arguments:
71       - type: access
72         index: '{ S_2[] -> index[] }'
73         reference: __pet_ref_5
74         read: 0
75         write: 1
76       - type: int
77         value: 5
78   arguments:
79   - type: access
80     index: '{ S_2[] -> __pet_test_0[] }'
81     reference: __pet_ref_4
82     read: 1
83     write: 0