limit parameters in context to possible values of corresponding variables
[pet.git] / tests / inc.scop
blobe38dc680d81482591642b472e264ef6ac6d67bdd
1 context: '[N] -> {  : N >= 0 and N <= 2147483647 }'
2 arrays:
3 - context: '[N] -> {  : N >= 0 }'
4   extent: '[N] -> { a[i0] : i0 >= 0 and i0 <= -1 + N }'
5   element_type: int
6 statements:
7 - line: 8
8   domain: '[N] -> { S_0[i] : i >= 0 and i <= -1 + N }'
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[i] }'
16       read: 0
17       write: 1
18     - type: access
19       relation: '[N] -> { S_0[i] -> [i] }'
20       read: 1
21       write: 0