pet 0.11.8
[pet.git] / tests / encapsulate / inf_break.scop
blob3f46246f577c5b3bc56a51ebb26c4fe49f2fd84a
1 start: 21
2 end: 103
3 indent: "\t"
4 context: '{  :  }'
5 schedule: '{ domain: "{ S_5[]; S_6[]; S_4[] }", child: { sequence: [ { filter: "{
6   S_5[] }" }, { filter: "{ S_4[] }" }, { filter: "{ S_6[] }" } ] } }'
7 arrays:
8 - context: '{  :  }'
9   extent: '{ s[] }'
10   element_type: int
11   element_size: 4
12   declared: 1
13 - context: '{  :  }'
14   extent: '{ A[i0] : i0 >= 0 }'
15   element_type: int
16   element_size: 4
17 statements:
18 - line: 5
19   domain: '{ S_5[] }'
20   body:
21     type: expression
22     expr:
23       type: op
24       operation: kill
25       arguments:
26       - type: access
27         killed: '{ S_5[] -> s[] }'
28         index: '{ S_5[] -> s[] }'
29         reference: __pet_ref_0
30         kill: 1
31 - line: 4
32   domain: '{ S_4[] }'
33   body:
34     type: while
35     condition:
36       type: int
37       value: 1
38     body:
39       type: block
40       block: 1
41       children:
42       - type: declaration-init
43         variable:
44           type: access
45           index: '{ S_4[] -> s[] }'
46           reference: __pet_ref_1
47           read: 0
48           write: 1
49         initialization:
50           type: access
51           index: '{ S_4[] -> A[(0)] }'
52           reference: __pet_ref_2
53           read: 1
54           write: 0
55       - type: if
56         condition:
57           type: op
58           operation: '!'
59           arguments:
60           - type: access
61             index: '{ S_4[] -> s[] }'
62             reference: __pet_ref_3
63             read: 1
64             write: 0
65         then:
66           type: break
67 - line: 5
68   domain: '{ S_6[] }'
69   body:
70     type: expression
71     expr:
72       type: op
73       operation: kill
74       arguments:
75       - type: access
76         killed: '{ S_6[] -> s[] }'
77         index: '{ S_6[] -> s[] }'
78         reference: __pet_ref_4
79         kill: 1