repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Heuristic: If the number of operands in the alias are more than the number of
[llvm/stm8.git]
/
test
/
Analysis
/
CallGraph
/
2008-09-09-DirectCall.ll
blob
784d6c7ba1b123ab1e9246ee0561477e91d95613
1
; RUN: opt < %s -print-callgraph -disable-output |& \
2
; RUN: grep {calls function 'callee'} | count 2
3
4
define internal void @callee(...) {
5
entry:
6
unreachable
7
}
8
9
define void @caller() {
10
entry:
11
call void (...)* @callee( void (...)* @callee )
12
unreachable
13
}