150
|
1 define float @__clc_vload_half_float_helper__private(half addrspace(0)* nocapture %ptr) nounwind alwaysinline {
|
|
2 %data = load half, half addrspace(0)* %ptr
|
|
3 %res = fpext half %data to float
|
|
4 ret float %res
|
|
5 }
|
|
6
|
|
7 define float @__clc_vload_half_float_helper__global(half addrspace(1)* nocapture %ptr) nounwind alwaysinline {
|
|
8 %data = load half, half addrspace(1)* %ptr
|
|
9 %res = fpext half %data to float
|
|
10 ret float %res
|
|
11 }
|
|
12
|
|
13 define float @__clc_vload_half_float_helper__local(half addrspace(3)* nocapture %ptr) nounwind alwaysinline {
|
|
14 %data = load half, half addrspace(3)* %ptr
|
|
15 %res = fpext half %data to float
|
|
16 ret float %res
|
|
17 }
|
|
18
|
|
19 define float @__clc_vload_half_float_helper__constant(half addrspace(4)* nocapture %ptr) nounwind alwaysinline {
|
|
20 %data = load half, half addrspace(4)* %ptr
|
|
21 %res = fpext half %data to float
|
|
22 ret float %res
|
|
23 }
|