support inlining of outermost call expressions
[pet.git] / tests / inline2.scop
blobaa5e533c92e783dad398eb3927a1041a1b523e3e
1 start: 50
2 end: 99
3 indent: "\t"
4 context: '{  :  }'
5 schedule: '{ domain: "{ S_0[]; S_2[]; S_1[] }", child: { sequence: [ { filter: "{
6   S_0[] }" }, { filter: "{ S_1[] }" }, { filter: "{ S_2[] }" } ] } }'
7 arrays:
8 - context: '{  :  }'
9   extent: '{ a[] }'
10   element_type: int
11   element_size: 4
12   declared: 1
13   exposed: 1
14 statements:
15 - line: 9
16   domain: '{ S_0[] }'
17   body:
18     type: expression
19     expr:
20       type: op
21       operation: kill
22       arguments:
23       - type: access
24         killed: '{ S_0[] -> a[] }'
25         index: '{ S_0[] -> a[] }'
26         reference: __pet_ref_0
27         kill: 1
28 - line: 9
29   domain: '{ S_1[] }'
30   body:
31     type: expression
32     expr:
33       type: op
34       operation: =
35       arguments:
36       - type: access
37         index: '{ S_1[] -> a[] }'
38         reference: __pet_ref_1
39         read: 0
40         write: 1
41       - type: int
42         value: 1
43 - line: 3
44   domain: '{ S_2[] }'
45   body:
46     type: expression
47     expr:
48       type: op
49       operation: +=
50       arguments:
51       - type: access
52         index: '{ S_2[] -> a[] }'
53         reference: __pet_ref_2
54         read: 1
55         write: 1
56       - type: int
57         value: 1