mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-07-25 13:16:23 +03:00
34 lines
1.3 KiB
Plaintext
34 lines
1.3 KiB
Plaintext
OpCapability GenericPointer
|
|
OpCapability Linkage
|
|
OpCapability Addresses
|
|
OpCapability Kernel
|
|
OpCapability Int64
|
|
OpCapability Int8
|
|
%12 = OpExtInstImport "OpenCL.std"
|
|
OpMemoryModel Physical64 OpenCL
|
|
OpEntryPoint Kernel %1 "mov_address"
|
|
%void = OpTypeVoid
|
|
%ulong = OpTypeInt 64 0
|
|
%15 = OpTypeFunction %void %ulong %ulong
|
|
%_ptr_Function_ulong = OpTypePointer Function %ulong
|
|
%uchar = OpTypeInt 8 0
|
|
%uint = OpTypeInt 32 0
|
|
%uint_8 = OpConstant %uint 8
|
|
%_arr_uchar_uint_8 = OpTypeArray %uchar %uint_8
|
|
%_ptr_Function__arr_uchar_uint_8 = OpTypePointer Function %_arr_uchar_uint_8
|
|
%1 = OpFunction %void None %15
|
|
%6 = OpFunctionParameter %ulong
|
|
%7 = OpFunctionParameter %ulong
|
|
%10 = OpLabel
|
|
%2 = OpVariable %_ptr_Function_ulong Function
|
|
%3 = OpVariable %_ptr_Function_ulong Function
|
|
%4 = OpVariable %_ptr_Function__arr_uchar_uint_8 Function
|
|
%5 = OpVariable %_ptr_Function_ulong Function
|
|
OpStore %2 %6
|
|
OpStore %3 %7
|
|
%9 = OpConvertPtrToU %ulong %4
|
|
%8 = OpCopyObject %ulong %9
|
|
OpStore %5 %8
|
|
OpReturn
|
|
OpFunctionEnd
|