1 define void @__clc_vstore_half_float_helper__private(float %data, half addrspace(0)* nocapture %ptr) nounwind alwaysinline {
2 %res = fptrunc float %data to half
3 store half %res, half addrspace(0)* %ptr
7 define void @__clc_vstore_half_float_helper__global(float %data, half addrspace(1)* nocapture %ptr) nounwind alwaysinline {
8 %res = fptrunc float %data to half
9 store half %res, half addrspace(1)* %ptr
13 define void @__clc_vstore_half_float_helper__local(float %data, half addrspace(3)* nocapture %ptr) nounwind alwaysinline {
14 %res = fptrunc float %data to half
15 store half %res, half addrspace(3)* %ptr
19 define void @__clc_vstore_half_double_helper__private(double %data, half addrspace(0)* nocapture %ptr) nounwind alwaysinline {
20 %res = fptrunc double %data to half
21 store half %res, half addrspace(0)* %ptr
25 define void @__clc_vstore_half_double_helper__global(double %data, half addrspace(1)* nocapture %ptr) nounwind alwaysinline {
26 %res = fptrunc double %data to half
27 store half %res, half addrspace(1)* %ptr
31 define void @__clc_vstore_half_double_helper__local(double %data, half addrspace(3)* nocapture %ptr) nounwind alwaysinline {
32 %res = fptrunc double %data to half
33 store half %res, half addrspace(3)* %ptr