link against single libLLVM shared library when available
[pet.git] / tests / struct2.scop
blobd2d9385c156bcc158eeaa217bc4c7d05158d0e1d
1 start: 58
2 end: 166
3 indent: "\t"
4 context: '{  :  }'
5 schedule: '{ domain: "{ S_0[i, j] : i >= 0 and i <= 9 and j >= 0 and j <= 19; S_1[]
6   }", child: { sequence: [ { filter: "{ S_0[i, j] }", child: { schedule: "L_0[{ S_0[i,
7   j] -> [(i)] }]", child: { schedule: "L_1[{ S_0[i, j] -> [(j)] }]" } } }, { filter:
8   "{ S_1[] }" } ] } }'
9 types:
10 - name: s
11   definition: "struct s {\n    int a;\n}"
12 arrays:
13 - context: '{  :  }'
14   extent: '{ s[i0, i1] : i0 >= 0 and i1 >= 0 and i0 <= 9 and i1 <= 19 }'
15   element_type: struct s
16   element_size: 4
17   element_is_record: 1
18 - context: '{  :  }'
19   extent: '{ s_a[s[i0, i1] -> a[]] : i0 >= 0 and i1 >= 0 and i0 <= 9 and i1 <= 19
20     }'
21   element_type: int
22   element_size: 4
23 statements:
24 - line: 12
25   domain: '{ S_0[i, j] : i >= 0 and i <= 9 and j >= 0 and j <= 19 }'
26   body:
27     type: expression
28     expr:
29       type: op
30       operation: =
31       arguments:
32       - type: access
33         index: '{ S_0[i, j] -> s_a[s[(i), (j)] -> a[]] }'
34         reference: __pet_ref_0
35         read: 0
36         write: 1
37       - type: int
38         value: 5
39 - line: -1
40   domain: '{ S_1[] }'
41   body:
42     type: expression
43     expr:
44       type: op
45       operation: kill
46       arguments:
47       - type: access
48         killed: '{ S_1[] -> s[o0, o1] : o0 >= 0 and o1 >= 0 and o0 <= 9 and o1 <=
49           19 }'
50         index: '{ S_1[] -> s[] }'
51         depth: 2
52         reference: __pet_ref_1
53         kill: 1