repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
[llvm/avr.git]
/
test
/
Analysis
/
CallGraph
/
2008-09-09-DirectCall.ll
blob
6e34209a0e362fa8ad675a1669ab686406be3384
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
}