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
extract out the handling of skip conditions
[pet.git]
/
tests
/
assume.c
blob
11174de7c04b0fe19f5caa16257f32cca298fcf7
1
void
foo
(
int
n
,
int
m
,
int
S
,
int
D
[
const
restrict
static
S
])
2
{
3
#pragma scop
4
__pencil_assume
(
m
>
n
);
5
for
(
int
i
=
0
;
i
<
n
;
i
++) {
6
D
[
i
] =
D
[
i
+
m
];
7
}
8
#pragma endscop
9
}