repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
etc/services - sync with NetBSD-8
[minix.git]
/
external
/
bsd
/
llvm
/
dist
/
clang
/
test
/
CodeGenOpenCL
/
event_t.cl
blob
ddf12a9d8b9a39afa4aa93e7bf6573f8c40eb207
1
//
RUN
:
%clang_cc1 %s -emit-llvm -o - -O0 | FileCheck %s
2
3
void foo
(
event_t
evt
)
;
4
5
void kernel ker
() {
6
event_t e
;
7
//
CHECK
:
alloca %opencl.event_t
*,
8
foo
(
e
)
;
9
//
CHECK
:
call void
@
foo
(
%opencl.event_t
*
%
10
foo
(
0
)
;
11
//
CHECK
:
call void
@
foo
(
%opencl.event_t
*
null
)
12
}