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
[mlir] More fixes for 9fddaf6b14102963f12dbb9730f101fc52e662c1
[llvm-project.git]
/
compiler-rt
/
test
/
profile
/
Inputs
/
instrprof-icall-promo_2.cpp
blob
658ab0bf44d1260f8149191bf4d2a54ac39a2111
1
#include
"instrprof-icall-promo.h"
2
extern
int
ref
(
A
*);
3
4
int
A
::
bar
() {
return
2
; }
5
6
extern
A
*
ap
;
7
int
test
() {
8
for
(
int
i
=
0
;
i
<
10000
;
i
++)
ap
->
foo
();
9
return
ref
(
ap
);
10
}
11
12
int
main
() {
13
test
();
14
return
0
;
15
}