scan.cc: extract out shared pet_scop_get_affine_skip_domain
[pet.git] / tests / filter.scop
blob106c86723428a1f3b245d767497db964b7ad94ce
1 start: 46
2 end: 102
3 context: '{  :  }'
4 arrays:
5 - context: '{  :  }'
6   extent: '{ test[i0] : i0 >= 0 }'
7   element_type: int
8   element_size: 4
9 - context: '{  :  }'
10   extent: '{ a[] }'
11   element_type: int
12   element_size: 4
13 statements:
14 - line: 7
15   domain: '{ [S_1[] -> [test]] : test <= -1 or test >= 1 }'
16   schedule: '{ S_1[] -> [0] }'
17   body:
18     type: binary
19     operation: =
20     arguments:
21     - type: access
22       relation: '{ S_1[] -> a[] }'
23       reference: __pet_ref_1
24       read: 0
25       write: 1
26     - type: access
27       relation: '{ S_1[] -> [5] }'
28       reference: __pet_ref_2
29       read: 1
30       write: 0
31   arguments:
32   - type: access
33     relation: '[index] -> { S_1[] -> test[index] : index >= 0 or index >= 0 }'
34     reference: __pet_ref_0
35     read: 1
36     write: 0