repo.or.cz
/
pet.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
allow loop increments of the form i = i + cst
[pet.git]
/
tests
/
loop2.scop
blob
5e9184645f6e286e4935a981e1769a189d93c1d4
1
context: '{ [] }'
2
arrays:
3
- context: '{ [] }'
4
extent: '{ a[i0] : i0 >= 0 and i0 <= 9 }'
5
element_type: int
6
statements:
7
- line: 9
8
domain: '{ S_0[i] : (i <= 4 and i >= 0) or (i <= 9 and i >= 6) }'
9
schedule: '{ S_0[i] -> [0, i] }'
10
body:
11
type: binary
12
operation: =
13
arguments:
14
- type: access
15
relation: '{ S_0[i] -> a[i] }'
16
read: 0
17
write: 1
18
- type: access
19
relation: '{ S_0[i] -> [i] }'
20
read: 1
21
write: 0