scop.c: expr_writes: use pet_expr_is_affine
[pet.git] / tests / generic_condition.scop
blob19b2bdca1c09c32a354558409f3619d8dd0b449d
1 start: 35
2 end: 101
3 context: '[N] -> {  : N <= 2147483647 and N >= -2147483648 }'
4 arrays:
5 - context: '{  :  }'
6   extent: '[N] -> { a[] }'
7   element_type: int
8   element_size: 4
9 statements:
10 - line: 8
11   domain: '[N] -> { S_0[i] : N <= -1 and i >= 0 }'
12   schedule: '[N] -> { S_0[i] -> [0, i] }'
13   body:
14     type: binary
15     operation: =
16     arguments:
17     - type: access
18       relation: '[N] -> { S_0[i] -> a[] }'
19       reference: __pet_ref_0
20       read: 0
21       write: 1
22     - type: access
23       relation: '[N] -> { S_0[i] -> [5] }'
24       reference: __pet_ref_1
25       read: 1
26       write: 0