aboutsummaryrefslogtreecommitdiffhomepage
path: root/ptx/src/test/spirv_run/mov_address.spvtxt
blob: 26ae21fa97742c60d3d2ee581cb656887bfafe80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
               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