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
pet_expr: document the read and write fields
[pet.git]
/
tests
/
array.scop
blob
5972b3b94dc9e39d16df29ace67991690511f6d1
1
start: 76
2
end: 115
3
indent: "\t"
4
context: '{ : }'
5
arrays:
6
- context: '{ : }'
7
extent: '{ A[i0] : i0 >= 0 }'
8
element_type: const int
9
element_size: 4
10
- context: '{ : }'
11
extent: '{ B[i0] : i0 >= 0 }'
12
element_type: int
13
element_size: 4
14
statements:
15
- line: 6
16
domain: '{ S_0[] }'
17
schedule: '{ S_0[] -> [0] }'
18
body:
19
type: expression
20
expr:
21
type: call
22
name: f
23
arguments:
24
- type: access
25
index: '{ S_0[] -> A[] }'
26
depth: 1
27
reference: __pet_ref_0
28
read: 1
29
write: 0
30
- type: access
31
index: '{ S_0[] -> B[] }'
32
depth: 1
33
reference: __pet_ref_1
34
read: 0
35
write: 1