scop.c: expr_embed: use pet_expr_foreach_access_expr
[pet.git] / tests / generic_condition.scop
blobde3435346eefefe9e0ca672ec0aaca6bb3a8d213
1 context: '[N] -> {  : N <= 2147483647 and N >= -2147483648 }'
2 arrays:
3 - context: '{  :  }'
4   extent: '{ a[] }'
5   element_type: int
6 statements:
7 - line: 8
8   domain: '[N] -> { S_0[i] : i >= 0 and N <= -1 }'
9   schedule: '[N] -> { S_0[i] -> [0, i] }'
10   body:
11     type: binary
12     operation: =
13     arguments:
14     - type: access
15       relation: '[N] -> { S_0[i] -> a[] }'
16       read: 0
17       write: 1
18     - type: access
19       relation: '[N] -> { S_0[i] -> [5] }'
20       read: 1
21       write: 0