repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
lldb
/
test
/
API
/
python_api
/
compile_unit
/
main.c
blob
fc53ac95d1789176ab614bfc057750aff2e9201f
1
int
a
(
int
);
2
int
b
(
int
);
3
int
c
(
int
);
4
5
int
a
(
int
val
) {
6
if
(
val
<=
1
)
7
val
=
b
(
val
);
8
else if
(
val
>=
3
)
9
val
=
c
(
val
);
10
11
return
val
;
12
}
13
14
int
b
(
int
val
) {
return
c
(
val
); }
15
16
int
c
(
int
val
) {
17
return
val
+
3
;
// break here.
18
}
19
20
int
main
(
int
argc
,
char const
*
argv
[]) {
21
int
A1
=
a
(
1
);
// a(1) -> b(1) -> c(1)
22
int
B2
=
b
(
2
);
// b(2) -> c(2)
23
int
A3
=
a
(
3
);
// a(3) -> c(3)
24
return
0
;
25
}