mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-04-12 10:48:53 +03:00
63 lines
2.4 KiB
Plaintext
63 lines
2.4 KiB
Plaintext
OpCapability GenericPointer
|
|
OpCapability Linkage
|
|
OpCapability Addresses
|
|
OpCapability Kernel
|
|
OpCapability Int8
|
|
OpCapability Int16
|
|
OpCapability Int64
|
|
OpCapability Float16
|
|
OpCapability Float64
|
|
%31 = OpExtInstImport "OpenCL.std"
|
|
OpMemoryModel Physical64 OpenCL
|
|
OpEntryPoint Kernel %1 "and"
|
|
%void = OpTypeVoid
|
|
%ulong = OpTypeInt 64 0
|
|
%34 = OpTypeFunction %void %ulong %ulong
|
|
%_ptr_Function_ulong = OpTypePointer Function %ulong
|
|
%uint = OpTypeInt 32 0
|
|
%_ptr_Function_uint = OpTypePointer Function %uint
|
|
%_ptr_Generic_uint = OpTypePointer Generic %uint
|
|
%ulong_4 = OpConstant %ulong 4
|
|
%uchar = OpTypeInt 8 0
|
|
%_ptr_Generic_uchar = OpTypePointer Generic %uchar
|
|
%1 = OpFunction %void None %34
|
|
%8 = OpFunctionParameter %ulong
|
|
%9 = OpFunctionParameter %ulong
|
|
%29 = OpLabel
|
|
%2 = OpVariable %_ptr_Function_ulong Function
|
|
%3 = OpVariable %_ptr_Function_ulong Function
|
|
%4 = OpVariable %_ptr_Function_ulong Function
|
|
%5 = OpVariable %_ptr_Function_ulong Function
|
|
%6 = OpVariable %_ptr_Function_uint Function
|
|
%7 = OpVariable %_ptr_Function_uint Function
|
|
OpStore %2 %8
|
|
OpStore %3 %9
|
|
%10 = OpLoad %ulong %2 Aligned 8
|
|
OpStore %4 %10
|
|
%11 = OpLoad %ulong %3 Aligned 8
|
|
OpStore %5 %11
|
|
%13 = OpLoad %ulong %4
|
|
%23 = OpConvertUToPtr %_ptr_Generic_uint %13
|
|
%12 = OpLoad %uint %23 Aligned 4
|
|
OpStore %6 %12
|
|
%15 = OpLoad %ulong %4
|
|
%24 = OpConvertUToPtr %_ptr_Generic_uint %15
|
|
%41 = OpBitcast %_ptr_Generic_uchar %24
|
|
%42 = OpInBoundsPtrAccessChain %_ptr_Generic_uchar %41 %ulong_4
|
|
%22 = OpBitcast %_ptr_Generic_uint %42
|
|
%14 = OpLoad %uint %22 Aligned 4
|
|
OpStore %7 %14
|
|
%17 = OpLoad %uint %6
|
|
%18 = OpLoad %uint %7
|
|
%26 = OpCopyObject %uint %17
|
|
%27 = OpCopyObject %uint %18
|
|
%25 = OpBitwiseAnd %uint %26 %27
|
|
%16 = OpCopyObject %uint %25
|
|
OpStore %6 %16
|
|
%19 = OpLoad %ulong %5
|
|
%20 = OpLoad %uint %6
|
|
%28 = OpConvertUToPtr %_ptr_Generic_uint %19
|
|
OpStore %28 %20 Aligned 4
|
|
OpReturn
|
|
OpFunctionEnd
|