update test case outputs
[pet.git] / tests / ternary.scop
blob301cf4b9a727430b3aabfd6c51686261f0397e5d
1 start: 47
2 end: 141
3 indent: "\t"
4 context: '{  :  }'
5 schedule: '{ domain: "{ S_0[i] : i >= 0 and i <= 99; S_1[i] : i >= 0 and i <= 99 }",
6   child: { schedule: "L_0[{ S_0[i] -> [(i)]; S_1[i] -> [(i)] }]", child: { sequence:
7   [ { filter: "{ S_0[i] }" }, { filter: "{ S_1[i] }" } ] } } }'
8 arrays:
9 - context: '{  :  }'
10   extent: '{ a[i0] : i0 >= 0 and i0 <= 99 }'
11   element_type: int
12   element_size: 4
13 - context: '{  :  }'
14   extent: '{ j[] }'
15   element_type: int
16   element_size: 4
17 statements:
18 - line: 9
19   domain: '{ S_0[i] : i >= 0 and i <= 99 }'
20   body:
21     type: expression
22     expr:
23       type: op
24       operation: =
25       arguments:
26       - type: access
27         index: '{ S_0[i] -> j[] }'
28         reference: __pet_ref_0
29         read: 0
30         write: 1
31       - type: call
32         name: f
33 - line: 10
34   domain: '{ S_1[i] : i >= 0 and i <= 99 }'
35   body:
36     type: expression
37     expr:
38       type: op
39       operation: =
40       arguments:
41       - type: access
42         index: '{ S_1[i] -> a[(i)] }'
43         reference: __pet_ref_1
44         read: 0
45         write: 1
46       - type: op
47         operation: '?:'
48         arguments:
49         - type: access
50           index: '{ S_1[i] -> j[] }'
51           reference: __pet_ref_2
52           read: 1
53           write: 0
54         - type: int
55           value: 40
56         - type: int
57           value: 90