replace pet_stmt_from_pet_expr by pet_stmt_from_pet_tree
[pet.git] / tests / break3.scop
bloba336695ce5c4af1dc282e5a863a46922c5b0f957
1 start: 43
2 end: 186
3 indent: "\t"
4 context: '{  :  }'
5 arrays:
6 - context: '{  :  }'
7   extent: '{ __pet_test_0[i, j] : i >= 0 and i <= 99 and j <= 99 and j >= 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: '{ a[i0] : i0 >= 0 and i0 <= 99 }'
14   element_type: int
15   element_size: 4
16 statements:
17 - line: 10
18   domain: '{ [S_0[i, j] -> [0]] : i >= 0 and i <= 99 and j <= 99 and j >= 0 }'
19   schedule: '{ S_0[i, j] -> [0, i, j, 0] }'
20   body:
21     type: expression
22     expr:
23       type: op
24       operation: =
25       arguments:
26       - type: access
27         relation: '{ S_0[i, j] -> a[i] }'
28         index: '{ S_0[i, j] -> a[(i)] }'
29         reference: __pet_ref_1
30         read: 0
31         write: 1
32       - type: int
33         value: 0
34   arguments:
35   - type: access
36     relation: '{ S_0[i, j] -> __pet_test_0[i, -1 + j] : j >= 1 }'
37     index: '{ S_0[i, j] -> __pet_test_0[(i), ((-1 + j) : j >= 1)] }'
38     reference: __pet_ref_0
39     read: 1
40     write: 0
41 - line: 11
42   domain: '{ [S_1[i, j] -> [0]] : i >= 0 and i <= 99 and j <= 99 and j >= 0 }'
43   schedule: '{ S_1[i, j] -> [0, i, j, 1, 0] }'
44   body:
45     type: expression
46     expr:
47       type: op
48       operation: =
49       arguments:
50       - type: access
51         relation: '{ S_1[i, j] -> __pet_test_0[i, j] }'
52         index: '{ S_1[i, j] -> __pet_test_0[(i), (j)] }'
53         reference: __pet_ref_3
54         read: 0
55         write: 1
56       - type: call
57         name: f
58   arguments:
59   - type: access
60     relation: '{ S_1[i, j] -> __pet_test_0[i, -1 + j] : j >= 1 }'
61     index: '{ S_1[i, j] -> __pet_test_0[(i), ((-1 + j) : j >= 1)] }'
62     reference: __pet_ref_2
63     read: 1
64     write: 0
65 - line: 13
66   domain: '{ [S_2[i, j] -> [0]] : i >= 0 and i <= 99 and j <= 99 and j >= 0 }'
67   schedule: '{ S_2[i, j] -> [0, i, j, 2] }'
68   body:
69     type: expression
70     expr:
71       type: op
72       operation: =
73       arguments:
74       - type: access
75         relation: '{ S_2[i, j] -> a[i] }'
76         index: '{ S_2[i, j] -> a[(i)] }'
77         reference: __pet_ref_5
78         read: 0
79         write: 1
80       - type: op
81         operation: +
82         arguments:
83         - type: access
84           relation: '{ S_2[i, j] -> [i] }'
85           index: '{ S_2[i, j] -> [(i)] }'
86           reference: __pet_ref_6
87           read: 1
88           write: 0
89         - type: access
90           relation: '{ S_2[i, j] -> [j] }'
91           index: '{ S_2[i, j] -> [(j)] }'
92           reference: __pet_ref_7
93           read: 1
94           write: 0
95   arguments:
96   - type: access
97     relation: '{ S_2[i, j] -> __pet_test_0[i, j] }'
98     index: '{ S_2[i, j] -> __pet_test_0[(i), (j)] }'
99     reference: __pet_ref_4
100     read: 1
101     write: 0
102 implications:
103 - satisfied: 0
104   extension: '{ __pet_test_0[i, j] -> __pet_test_0[i, j''] : j'' <= j and i >= 0 and
105     i <= 99 and j'' >= 0 and j'' <= 99 }'