link against isl libraries first
[pet.git] / tests / filter.scop
blob6a81df4bf9f492a5bd01dcd3d9314c0cb0ea6fe2
1 start: 46
2 end: 102
3 indent: "\t"
4 context: '{  :  }'
5 schedule: '{ domain: "{ S_0[]; S_1[] }", child: { sequence: [ { filter: "{ S_0[] }"
6   }, { filter: "{ S_1[] }" } ] } }'
7 arrays:
8 - context: '{  :  }'
9   extent: '{ a[] }'
10   element_type: int
11   element_size: 4
12 - context: '{  :  }'
13   extent: '{ test[i0] : i0 >= 0 }'
14   element_type: int
15   element_size: 4
16 statements:
17 - line: 7
18   domain: '{ [S_0[] -> [test]] : test < 0 or test > 0 }'
19   body:
20     type: expression
21     expr:
22       type: op
23       operation: =
24       arguments:
25       - type: access
26         index: '{ S_0[] -> a[] }'
27         reference: __pet_ref_1
28         read: 0
29         write: 1
30       - type: int
31         value: 5
32   arguments:
33   - type: access
34     index: '[index] -> { S_0[] -> test[((index) : index >= 0)] }'
35     reference: __pet_ref_0
36     read: 1
37     write: 0
38 - line: -1
39   domain: '{ S_1[] }'
40   body:
41     type: expression
42     expr:
43       type: op
44       operation: kill
45       arguments:
46       - type: access
47         killed: '{ S_1[] -> a[] }'
48         index: '{ S_1[] -> a[] }'
49         reference: __pet_ref_2
50         kill: 1