pet_expr: put pet_expr_call field in substructure
[pet.git] / tests / if1.scop
blob34b6e257c92a7f364105cd53cc380e81250193ec
1 start: 22
2 end: 73
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: '{ a[] }'
14   element_type: int
15   element_size: 4
16 statements:
17 - line: 6
18   domain: '{ S_0[] }'
19   schedule: '{ S_0[] -> [0, 0] }'
20   body:
21     type: expression
22     expr:
23       type: op
24       operation: =
25       arguments:
26       - type: access
27         index: '{ S_0[] -> __pet_test_0[] }'
28         reference: __pet_ref_0
29         read: 0
30         write: 1
31       - type: op
32         operation: <<
33         arguments:
34         - type: int
35           value: 1
36         - type: int
37           value: 0
38 - line: 7
39   domain: '{ [S_1[] -> [1]] }'
40   schedule: '{ S_1[] -> [0, 1] }'
41   body:
42     type: expression
43     expr:
44       type: op
45       operation: =
46       arguments:
47       - type: access
48         index: '{ S_1[] -> a[] }'
49         reference: __pet_ref_2
50         read: 0
51         write: 1
52       - type: int
53         value: 1
54   arguments:
55   - type: access
56     index: '{ S_1[] -> __pet_test_0[] }'
57     reference: __pet_ref_1
58     read: 1
59     write: 0