repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove wasteful caching. This isn't needed for correctness because any function
[llvm.git]
/
test
/
FrontendC
/
2005-05-06-CountBuiltins.c
blob
da40a142ae90b98e0737ddf0bfbdf34203fd633c
1
// RUN: %llvmgcc %s -S -o - | llvm-as | llvm-dis | not grep call.*__builtin
2
3
int
G
,
H
,
I
;
4
void
foo
(
int
P
) {
5
G
=
__builtin_clz
(
P
);
6
H
=
__builtin_ctz
(
P
);
7
I
=
__builtin_popcount
(
P
);
8
}
9
10
long long
g
,
h
,
i
;
11
void
fooll
(
float
P
) {
12
g
=
__builtin_clzll
(
P
);
13
g
=
__builtin_clzll
(
P
);
14
h
=
__builtin_ctzll
(
P
);
15
i
=
__builtin_popcountll
(
P
);
16
}
17