Debian Codegraph @

llvm/test/CodeGen/SPIRV/debug-info/debug-type-pointer.ll

raw
1 ; RUN: llc --verify-machineinstrs --spv-emit-nonsemantic-debug-info --spirv-ext=+SPV_KHR_non_semantic_info --print-after=spirv-nonsemantic-debug-info -O0 -mtriple=spirv64-unknown-unknown %s -o - 2>&1 | FileCheck %s --check-prefix=CHECK-MIR
2 ; RUN: llc --verify-machineinstrs --print-after=spirv-nonsemantic-debug-info -O0 -mtriple=spirv64-amd-amdhsa %s -o - 2>&1 | FileCheck %s --check-prefix=CHECK-MIR
3 ; RUN: llc --verify-machineinstrs --spv-emit-nonsemantic-debug-info --spirv-ext=+SPV_KHR_non_semantic_info -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
4 ; RUN: llc --verify-machineinstrs -O0 -mtriple=spirv64-amd-amdhsa %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
5 ; RUN: llc --verify-machineinstrs -O0 -mtriple=spirv64-unknown-unknown --spirv-ext=+SPV_KHR_non_semantic_info %s -o - | FileCheck %s --check-prefix=CHECK-OPTION
6 ; TODO(#109287): When type is void * the spirv-val raises an error when DebugInfoNone is set as <id> Base Type argument of DebugTypePointer.
7 ; DISABLED: %if spirv-tools %{ llc --verify-machineinstrs --spv-emit-nonsemantic-debug-info --spirv-ext=+SPV_KHR_non_semantic_info -O0 -mtriple=spirv64-unknown-unknown %s -o - -filetype=obj | spirv-val %}
8
9 ; CHECK-MIR-DAG: [[i32type:%[0-9]+\:type]] = OpTypeInt 32, 0
10 ; CHECK-MIR-DAG: [[void_type:%[0-9]+\:type\(s64\)]] = OpTypeVoid
11 ; CHECK-MIR-DAG: [[i32_8:%[0-9]+\:iid]] = OpConstantI [[i32type]], 8{{$}}
12 ; CHECK-MIR-DAG: [[i32_0:%[0-9]+\:iid(\(s32\))?]] = OpConstantNull [[i32type]]
13 ; CHECK-MIR-DAG: [[i32_5:%[0-9]+\:iid\(s32\)]] = OpConstantI [[i32type]], 5{{$}}
14 ; CHECK-MIR-DAG: [[enc_float:%[0-9]+\:iid\(s32\)]] = OpConstantI [[i32type]], 3{{$}}
15 ; CHECK-MIR-DAG: [[enc_boolean:%[0-9]+\:iid\(s32\)]] = OpConstantI [[i32type]], 2{{$}}
16 ; CHECK-MIR-DAG: [[bool:%[0-9]+\:id\(s32\)]] = OpExtInst [[void_type]], 3, 2, {{%[0-9]+\:[a-z0-9\(\)]+}}, [[i32_8]], [[enc_boolean]], [[i32_0]]
17 ; CHECK-MIR-DAG: [[i32_16:%[0-9]+\:iid\(s32\)]] = OpConstantI [[i32type]], 16{{$}}
18 ; CHECK-MIR-DAG: [[enc_signed:%[0-9]+\:iid\(s32\)]] = OpConstantI [[i32type]], 4{{$}}
19 ; CHECK-MIR-DAG: [[short:%[0-9]+\:id\(s32\)]] = OpExtInst [[void_type]], 3, 2, {{%[0-9]+\:[a-z0-9\(\)]+}}, [[i32_16]], [[enc_signed]], [[i32_0]]
20 ; CHECK-MIR-DAG: [[char:%[0-9]+\:id\(s32\)]] = OpExtInst [[void_type]], 3, 2, {{%[0-9]+\:[a-z0-9\(\)]+}}, [[i32_8]], [[i32_5]], [[i32_0]]
21 ; CHECK-MIR-DAG: [[i32_64:%[0-9]+\:iid\(s32\)]] = OpConstantI [[i32type]], 64{{$}}
22 ; CHECK-MIR-DAG: [[long:%[0-9]+\:id\(s32\)]] = OpExtInst [[void_type]], 3, 2, {{%[0-9]+\:[a-z0-9\(\)]+}}, [[i32_64]], [[enc_signed]], [[i32_0]]
23 ; CHECK-MIR-DAG: [[i32_32:%[0-9]+\:iid\(s32\)]] = OpConstantI [[i32type]], 32{{$}}
24 ; CHECK-MIR-DAG: [[enc_unsigned:%[0-9]+\:iid\(s32\)]] = OpConstantI [[i32type]], 6{{$}}
25 ; CHECK-MIR-DAG: [[unsigned_int:%[0-9]+\:id\(s32\)]] = OpExtInst [[void_type]], 3, 2, {{%[0-9]+\:[a-z0-9\(\)]+}}, [[i32_32]], [[enc_unsigned]], [[i32_0]]
26 ; CHECK-MIR-DAG: [[unsigned_short:%[0-9]+\:id\(s32\)]] = OpExtInst [[void_type]], 3, 2, {{%[0-9]+\:[a-z0-9\(\)]+}}, [[i32_16]], [[enc_unsigned]], [[i32_0]]
27 ; CHECK-MIR-DAG: [[enc_unsigned_char:%[0-9]+\:iid\(s32\)]] = OpConstantI [[i32type]], 7{{$}}
28 ; CHECK-MIR-DAG: [[unsigned_char:%[0-9]+\:id\(s32\)]] = OpExtInst [[void_type]], 3, 2, {{%[0-9]+\:[a-z0-9\(\)]+}}, [[i32_8]], [[enc_unsigned_char]], [[i32_0]]
29 ; CHECK-MIR-DAG: [[unsigned_long:%[0-9]+\:id\(s32\)]] = OpExtInst [[void_type]], 3, 2, {{%[0-9]+\:[a-z0-9\(\)]+}}, [[i32_64]], [[enc_unsigned]], [[i32_0]]
30 ; CHECK-MIR-DAG: [[float:%[0-9]+\:id\(s32\)]] = OpExtInst [[void_type]], 3, 2, {{%[0-9]+\:[a-z0-9\(\)]+}}, [[i32_32]], [[enc_float]], [[i32_0]]
31 ; CHECK-MIR-DAG: [[double:%[0-9]+\:id\(s32\)]] = OpExtInst [[void_type]], 3, 2, {{%[0-9]+\:[a-z0-9\(\)]+}}, [[i32_64]], [[enc_float]], [[i32_0]]
32 ; CHECK-MIR-DAG: [[int:%[0-9]+\:id\(s32\)]] = OpExtInst [[void_type]], 3, 2, {{%[0-9]+\:[a-z0-9\(\)]+}}, [[i32_32]], [[enc_signed]], [[i32_0]]
33 ; CHECK-MIR-DAG: OpExtInst [[void_type]], 3, 3, [[bool]], [[i32_8]], [[i32_0]]
34 ; CHECK-MIR-DAG: OpExtInst [[void_type]], 3, 3, [[short]], [[i32_8]], [[i32_0]]
35 ; CHECK-MIR-DAG: OpExtInst [[void_type]], 3, 3, [[char]], [[i32_8]], [[i32_0]]
36 ; CHECK-MIR-DAG: OpExtInst [[void_type]], 3, 3, [[long]], [[i32_8]], [[i32_0]]
37 ; CHECK-MIR-DAG: OpExtInst [[void_type]], 3, 3, [[unsigned_int]], [[i32_8]], [[i32_0]]
38 ; CHECK-MIR-DAG: OpExtInst [[void_type]], 3, 3, [[unsigned_short]], [[i32_8]], [[i32_0]]
39 ; CHECK-MIR-DAG: OpExtInst [[void_type]], 3, 3, [[unsigned_char]], [[i32_8]], [[i32_0]]
40 ; CHECK-MIR-DAG: OpExtInst [[void_type]], 3, 3, [[unsigned_long]], [[i32_8]], [[i32_0]]
41 ; CHECK-MIR-DAG: OpExtInst [[void_type]], 3, 3, [[float]], [[i32_8]], [[i32_0]]
42 ; CHECK-MIR-DAG: OpExtInst [[void_type]], 3, 3, [[double]], [[i32_8]], [[i32_0]]
43 ; CHECK-MIR-DAG: OpExtInst [[void_type]], 3, 3, [[int]], [[i32_5]], [[i32_0]]
44 ; CHECK-MIR-DAG: [[debug_info_none:%[0-9]+\:id\(s32\)]] = OpExtInst [[void_type]], 3, 0
45 ; CHECK-MIR-DAG: OpExtInst [[void_type]], 3, 3, [[debug_info_none]], [[i32_5]], [[i32_0]]
46
47 ; CHECK-SPIRV: [[i32type:%[0-9]+]] = OpTypeInt 32 0
48 ; CHECK-SPIRV-DAG: [[i32_8:%[0-9]+]] = OpConstant [[i32type]] 8{{$}}
49 ; CHECK-SPIRV-DAG: [[i32_0:%[0-9]+]] = OpConstantNull [[i32type]]{{$}}
50 ; CHECK-SPIRV-DAG: [[i32_5:%[0-9]+]] = OpConstant [[i32type]] 5{{$}}
51 ; CHECK-SPIRV-DAG: [[enc_float:%[0-9]+]] = OpConstant [[i32type]] 3{{$}}
52 ; CHECK-SPIRV-DAG: [[enc_boolean:%[0-9]+]] = OpConstant [[i32type]] 2{{$}}
53 ; CHECK-SPIRV-DAG: [[i32_16:%[0-9]+]] = OpConstant [[i32type]] 16{{$}}
54 ; CHECK-SPIRV-DAG: [[enc_signed:%[0-9]+]] = OpConstant [[i32type]] 4{{$}}
55 ; CHECK-SPIRV-DAG: [[i32_64:%[0-9]+]] = OpConstant [[i32type]] 64{{$}}
56 ; CHECK-SPIRV-DAG: [[i32_32:%[0-9]+]] = OpConstant [[i32type]] 32{{$}}
57 ; CHECK-SPIRV-DAG: [[enc_unsigned:%[0-9]+]] = OpConstant [[i32type]] 6{{$}}
58 ; CHECK-SPIRV-DAG: [[enc_unsigned_char:%[0-9]+]] = OpConstant [[i32type]] 7{{$}}
59 ; CHECK-SPIRV-DAG: [[bool:%[0-9]+]] = OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypeBasic {{%[0-9]+}} [[i32_8]] [[enc_boolean]] [[i32_0]]
60 ; CHECK-SPIRV-DAG: [[short:%[0-9]+]] = OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypeBasic {{%[0-9]+}} [[i32_16]] [[enc_signed]] [[i32_0]]
61 ; CHECK-SPIRV-DAG: [[char:%[0-9]+]] = OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypeBasic {{%[0-9]+}} [[i32_8]] [[i32_5]] [[i32_0]]
62 ; CHECK-SPIRV-DAG: [[long:%[0-9]+]] = OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypeBasic {{%[0-9]+}} [[i32_64]] [[enc_signed]] [[i32_0]]
63 ; CHECK-SPIRV-DAG: [[unsigned_int:%[0-9]+]] = OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypeBasic {{%[0-9]+}} [[i32_32]] [[enc_unsigned]] [[i32_0]]
64 ; CHECK-SPIRV-DAG: [[unsigned_short:%[0-9]+]] = OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypeBasic {{%[0-9]+}} [[i32_16]] [[enc_unsigned]] [[i32_0]]
65 ; CHECK-SPIRV-DAG: [[unsigned_char:%[0-9]+]] = OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypeBasic {{%[0-9]+}} [[i32_8]] [[enc_unsigned_char]] [[i32_0]]
66 ; CHECK-SPIRV-DAG: [[unsigned_long:%[0-9]+]] = OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypeBasic {{%[0-9]+}} [[i32_64]] [[enc_unsigned]] [[i32_0]]
67 ; CHECK-SPIRV-DAG: [[float:%[0-9]+]] = OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypeBasic {{%[0-9]+}} [[i32_32]] [[enc_float]] [[i32_0]]
68 ; CHECK-SPIRV-DAG: [[double:%[0-9]+]] = OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypeBasic {{%[0-9]+}} [[i32_64]] [[enc_float]] [[i32_0]]
69 ; CHECK-SPIRV-DAG: [[int:%[0-9]+]] = OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypeBasic {{%[0-9]+}} [[i32_32]] [[enc_signed]] [[i32_0]]
70 ; CHECK-SPIRV-DAG: OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypePointer [[bool]] [[i32_8]] [[i32_0]]
71 ; CHECK-SPIRV-DAG: OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypePointer [[short]] [[i32_8]] [[i32_0]]
72 ; CHECK-SPIRV-DAG: OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypePointer [[char]] [[i32_8]] [[i32_0]]
73 ; CHECK-SPIRV-DAG: OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypePointer [[long]] [[i32_8]] [[i32_0]]
74 ; CHECK-SPIRV-DAG: OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypePointer [[unsigned_int]] [[i32_8]] [[i32_0]]
75 ; CHECK-SPIRV-DAG: OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypePointer [[unsigned_short]] [[i32_8]] [[i32_0]]
76 ; CHECK-SPIRV-DAG: OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypePointer [[unsigned_char]] [[i32_8]] [[i32_0]]
77 ; CHECK-SPIRV-DAG: OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypePointer [[unsigned_long]] [[i32_8]] [[i32_0]]
78 ; CHECK-SPIRV-DAG: OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypePointer [[float]] [[i32_8]] [[i32_0]]
79 ; CHECK-SPIRV-DAG: OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypePointer [[double]] [[i32_8]] [[i32_0]]
80 ; CHECK-SPIRV-DAG: OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypePointer [[int]] [[i32_5]] [[i32_0]]
81 ; CHECK-SPIRV-DAG: [[debug_info_none:%[0-9]+]] = OpExtInst {{%[0-9]+ %[0-9]+}} DebugInfoNone
82 ; CHECK-SPIRV-DAG: OpExtInst {{%[0-9]+ %[0-9]+}} DebugTypePointer [[debug_info_none]] [[i32_5]] [[i32_0]]
83
84 ; CHECK-OPTION-NOT: DebugTypePointer
85
86 @gi0 = dso_local addrspace(1) global ptr addrspace(4) null, align 4, !dbg !0
87 @gv0 = dso_local addrspace(1) global ptr addrspace(4) null, align 4, !dbg !5
88
89 define spir_func i32 @test0() !dbg !17 {
90 %1 = alloca ptr addrspace(4), align 4
91 %2 = alloca ptr addrspace(4), align 4
92 %3 = alloca ptr addrspace(4), align 4
93 %4 = alloca ptr addrspace(4), align 4
94 %5 = alloca ptr addrspace(4), align 4
95 %6 = alloca ptr addrspace(4), align 4
96 %7 = alloca ptr addrspace(4), align 4
97 %8 = alloca ptr addrspace(4), align 4
98 %9 = alloca ptr addrspace(4), align 4
99 %10 = alloca ptr addrspace(4), align 4
100 %11 = alloca ptr addrspace(4), align 4
101 %12 = alloca ptr addrspace(4), align 4
102 %13 = alloca [8 x i32], align 4
103 #dbg_declare(ptr %1, !21, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !24)
104 store ptr addrspace(4) null, ptr %1, align 4, !dbg !24
105 #dbg_declare(ptr %2, !25, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !28)
106 store ptr addrspace(4) null, ptr %2, align 4, !dbg !28
107 #dbg_declare(ptr %3, !29, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !32)
108 store ptr addrspace(4) null, ptr %3, align 4, !dbg !32
109 #dbg_declare(ptr %4, !33, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !36)
110 store ptr addrspace(4) null, ptr %4, align 4, !dbg !36
111 #dbg_declare(ptr %5, !37, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !40)
112 store ptr addrspace(4) null, ptr %5, align 4, !dbg !40
113 #dbg_declare(ptr %6, !41, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !44)
114 store ptr addrspace(4) null, ptr %6, align 4, !dbg !44
115 #dbg_declare(ptr %7, !45, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !48)
116 store ptr addrspace(4) null, ptr %7, align 4, !dbg !48
117 #dbg_declare(ptr %8, !49, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !52)
118 store ptr addrspace(4) null, ptr %8, align 4, !dbg !52
119 #dbg_declare(ptr %9, !53, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !56)
120 store ptr addrspace(4) null, ptr %9, align 4, !dbg !56
121 #dbg_declare(ptr %10, !57, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !60)
122 store ptr addrspace(4) null, ptr %10, align 4, !dbg !60
123 #dbg_declare(ptr %11, !61, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !62)
124 store ptr addrspace(4) null, ptr %11, align 4, !dbg !62
125 #dbg_declare(ptr %12, !63, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !64)
126 %14 = load ptr addrspace(4), ptr %11, align 4, !dbg !65
127 store ptr addrspace(4) %14, ptr %12, align 4, !dbg !64
128 #dbg_declare(ptr %13, !66, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !70)
129 store [8 x i32] zeroinitializer, ptr %13, align 4
130 ret i32 0, !dbg !71
131 }
132
133 define spir_func i32 @test1() !dbg !72 {
134 %1 = alloca ptr addrspace(4), align 4
135 %2 = alloca ptr addrspace(4), align 4
136 %3 = alloca ptr addrspace(4), align 4
137 %4 = alloca ptr addrspace(4), align 4
138 %5 = alloca ptr addrspace(4), align 4
139 %6 = alloca ptr addrspace(4), align 4
140 %7 = alloca ptr addrspace(4), align 4
141 %8 = alloca ptr addrspace(4), align 4
142 %9 = alloca ptr addrspace(4), align 4
143 %10 = alloca ptr addrspace(4), align 4
144 %11 = alloca ptr addrspace(4), align 4
145 %12 = alloca ptr addrspace(4), align 4
146 %13 = alloca [8 x i32], align 4
147 #dbg_declare(ptr %1, !73, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !74)
148 store ptr addrspace(4) null, ptr %1, align 4, !dbg !74
149 #dbg_declare(ptr %2, !75, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !76)
150 store ptr addrspace(4) null, ptr %2, align 4, !dbg !76
151 #dbg_declare(ptr %3, !77, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !78)
152 store ptr addrspace(4) null, ptr %3, align 4, !dbg !78
153 #dbg_declare(ptr %4, !79, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !80)
154 store ptr addrspace(4) null, ptr %4, align 4, !dbg !80
155 #dbg_declare(ptr %5, !81, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !82)
156 store ptr addrspace(4) null, ptr %5, align 4, !dbg !82
157 #dbg_declare(ptr %6, !83, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !84)
158 store ptr addrspace(4) null, ptr %6, align 4, !dbg !84
159 #dbg_declare(ptr %7, !85, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !86)
160 store ptr addrspace(4) null, ptr %7, align 4, !dbg !86
161 #dbg_declare(ptr %8, !87, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !88)
162 store ptr addrspace(4) null, ptr %8, align 4, !dbg !88
163 #dbg_declare(ptr %9, !89, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !90)
164 store ptr addrspace(4) null, ptr %9, align 4, !dbg !90
165 #dbg_declare(ptr %10, !91, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !92)
166 store ptr addrspace(4) null, ptr %10, align 4, !dbg !92
167 #dbg_declare(ptr %11, !93, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !94)
168 store ptr addrspace(4) null, ptr %11, align 4, !dbg !94
169 #dbg_declare(ptr %12, !95, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !96)
170 %14 = load ptr addrspace(4), ptr %11, align 4, !dbg !97
171 store ptr addrspace(4) %14, ptr %12, align 4, !dbg !96
172 #dbg_declare(ptr %13, !98, !DIExpression(DW_OP_constu, 0, DW_OP_swap, DW_OP_xderef), !99)
173 store [8 x i32] zeroinitializer, ptr %13, align 4
174 ret i32 0, !dbg !100
175 }
176
177 !llvm.dbg.cu = !{!2}
178 !llvm.module.flags = !{!10, !11, !12, !13}
179 !opencl.ocl.version = !{!14}
180 !opencl.cxx.version = !{!15}
181 !opencl.spir.version = !{!14}
182 !llvm.ident = !{!16}
183
184 !0 = !DIGlobalVariableExpression(var: !1, expr: !DIExpression(DW_OP_constu, 1, DW_OP_swap, DW_OP_xderef))
185 !1 = distinct !DIGlobalVariable(name: "gi0", scope: !2, file: !3, line: 1, type: !8, isLocal: false, isDefinition: true)
186 !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_14, file: !3, producer: "clang version XX.X.XXXX (FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, globals: !4, splitDebugInlining: false, nameTableKind: None)
187 !3 = !DIFile(filename: "example.cpp", directory: "/AAAAAAAAAA/BBBBBBBB/CCCCCCCCC", checksumkind: CSK_MD5, checksum: "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF")
188 !4 = !{!0, !5}
189 !5 = !DIGlobalVariableExpression(var: !6, expr: !DIExpression(DW_OP_constu, 1, DW_OP_swap, DW_OP_xderef))
190 !6 = distinct !DIGlobalVariable(name: "gv0", scope: !2, file: !3, line: 3, type: !7, isLocal: false, isDefinition: true)
191 !7 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 32, dwarfAddressSpace: 1)
192 !8 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !9, size: 32, dwarfAddressSpace: 1)
193 !9 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
194 !10 = !{i32 7, !"Dwarf Version", i32 5}
195 !11 = !{i32 2, !"Debug Info Version", i32 3}
196 !12 = !{i32 1, !"wchar_size", i32 4}
197 !13 = !{i32 7, !"frame-pointer", i32 2}
198 !14 = !{i32 2, i32 0}
199 !15 = !{i32 1, i32 0}
200 !16 = !{!"clang version 20.0.0git (https://github.com/bwlodarcz/llvm-project de1f5b96adcea52bf7c9670c46123fe1197050d2)"}
201 !17 = distinct !DISubprogram(name: "test0", linkageName: "test0", scope: !3, file: !3, line: 5, type: !18, scopeLine: 5, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20)
202 !18 = !DISubroutineType(cc: DW_CC_LLVM_SpirFunction, types: !19)
203 !19 = !{!9}
204 !20 = !{}
205 !21 = !DILocalVariable(name: "bp0", scope: !17, file: !3, line: 6, type: !22)
206 !22 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !23, size: 32, dwarfAddressSpace: 4)
207 !23 = !DIBasicType(name: "bool", size: 8, encoding: DW_ATE_boolean)
208 !24 = !DILocation(line: 6, column: 9, scope: !17)
209 !25 = !DILocalVariable(name: "sp0", scope: !17, file: !3, line: 7, type: !26)
210 !26 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !27, size: 32, dwarfAddressSpace: 4)
211 !27 = !DIBasicType(name: "short", size: 16, encoding: DW_ATE_signed)
212 !28 = !DILocation(line: 7, column: 10, scope: !17)
213 !29 = !DILocalVariable(name: "cp0", scope: !17, file: !3, line: 8, type: !30)
214 !30 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !31, size: 32, dwarfAddressSpace: 4)
215 !31 = !DIBasicType(name: "char", size: 8, encoding: DW_ATE_signed_char)
216 !32 = !DILocation(line: 8, column: 9, scope: !17)
217 !33 = !DILocalVariable(name: "lp0", scope: !17, file: !3, line: 9, type: !34)
218 !34 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !35, size: 32, dwarfAddressSpace: 4)
219 !35 = !DIBasicType(name: "long", size: 64, encoding: DW_ATE_signed)
220 !36 = !DILocation(line: 9, column: 9, scope: !17)
221 !37 = !DILocalVariable(name: "uip0", scope: !17, file: !3, line: 10, type: !38)
222 !38 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !39, size: 32, dwarfAddressSpace: 4)
223 !39 = !DIBasicType(name: "unsigned int", size: 32, encoding: DW_ATE_unsigned)
224 !40 = !DILocation(line: 10, column: 17, scope: !17)
225 !41 = !DILocalVariable(name: "usp0", scope: !17, file: !3, line: 11, type: !42)
226 !42 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !43, size: 32, dwarfAddressSpace: 4)
227 !43 = !DIBasicType(name: "unsigned short", size: 16, encoding: DW_ATE_unsigned)
228 !44 = !DILocation(line: 11, column: 19, scope: !17)
229 !45 = !DILocalVariable(name: "ucp0", scope: !17, file: !3, line: 12, type: !46)
230 !46 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !47, size: 32, dwarfAddressSpace: 4)
231 !47 = !DIBasicType(name: "unsigned char", size: 8, encoding: DW_ATE_unsigned_char)
232 !48 = !DILocation(line: 12, column: 18, scope: !17)
233 !49 = !DILocalVariable(name: "ulp0", scope: !17, file: !3, line: 13, type: !50)
234 !50 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !51, size: 32, dwarfAddressSpace: 4)
235 !51 = !DIBasicType(name: "unsigned long", size: 64, encoding: DW_ATE_unsigned)
236 !52 = !DILocation(line: 13, column: 18, scope: !17)
237 !53 = !DILocalVariable(name: "fp0", scope: !17, file: !3, line: 14, type: !54)
238 !54 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !55, size: 32, dwarfAddressSpace: 4)
239 !55 = !DIBasicType(name: "float", size: 32, encoding: DW_ATE_float)
240 !56 = !DILocation(line: 14, column: 10, scope: !17)
241 !57 = !DILocalVariable(name: "dp0", scope: !17, file: !3, line: 15, type: !58)
242 !58 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !59, size: 32, dwarfAddressSpace: 4)
243 !59 = !DIBasicType(name: "double", size: 64, encoding: DW_ATE_float)
244 !60 = !DILocation(line: 15, column: 11, scope: !17)
245 !61 = !DILocalVariable(name: "ip0", scope: !17, file: !3, line: 16, type: !8)
246 !62 = !DILocation(line: 16, column: 8, scope: !17)
247 !63 = !DILocalVariable(name: "addr0", scope: !17, file: !3, line: 17, type: !7)
248 !64 = !DILocation(line: 17, column: 9, scope: !17)
249 !65 = !DILocation(line: 17, column: 17, scope: !17)
250 !66 = !DILocalVariable(name: "arr0", scope: !17, file: !3, line: 18, type: !67)
251 !67 = !DICompositeType(tag: DW_TAG_array_type, baseType: !9, size: 256, elements: !68)
252 !68 = !{!69}
253 !69 = !DISubrange(count: 8)
254 !70 = !DILocation(line: 18, column: 7, scope: !17)
255 !71 = !DILocation(line: 19, column: 3, scope: !17)
256 !72 = distinct !DISubprogram(name: "test1", linkageName: "test1", scope: !3, file: !3, line: 22, type: !18, scopeLine: 22, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20)
257 !73 = !DILocalVariable(name: "bp1", scope: !72, file: !3, line: 23, type: !22)
258 !74 = !DILocation(line: 23, column: 9, scope: !72)
259 !75 = !DILocalVariable(name: "sp1", scope: !72, file: !3, line: 24, type: !26)
260 !76 = !DILocation(line: 24, column: 10, scope: !72)
261 !77 = !DILocalVariable(name: "cp1", scope: !72, file: !3, line: 25, type: !30)
262 !78 = !DILocation(line: 25, column: 9, scope: !72)
263 !79 = !DILocalVariable(name: "lp1", scope: !72, file: !3, line: 26, type: !34)
264 !80 = !DILocation(line: 26, column: 9, scope: !72)
265 !81 = !DILocalVariable(name: "uip1", scope: !72, file: !3, line: 27, type: !38)
266 !82 = !DILocation(line: 27, column: 17, scope: !72)
267 !83 = !DILocalVariable(name: "usp1", scope: !72, file: !3, line: 28, type: !42)
268 !84 = !DILocation(line: 28, column: 19, scope: !72)
269 !85 = !DILocalVariable(name: "ucp1", scope: !72, file: !3, line: 29, type: !46)
270 !86 = !DILocation(line: 29, column: 18, scope: !72)
271 !87 = !DILocalVariable(name: "ulp1", scope: !72, file: !3, line: 30, type: !50)
272 !88 = !DILocation(line: 30, column: 18, scope: !72)
273 !89 = !DILocalVariable(name: "fp1", scope: !72, file: !3, line: 31, type: !54)
274 !90 = !DILocation(line: 31, column: 10, scope: !72)
275 !91 = !DILocalVariable(name: "dp1", scope: !72, file: !3, line: 32, type: !58)
276 !92 = !DILocation(line: 32, column: 11, scope: !72)
277 !93 = !DILocalVariable(name: "ip1", scope: !72, file: !3, line: 33, type: !8)
278 !94 = !DILocation(line: 33, column: 8, scope: !72)
279 !95 = !DILocalVariable(name: "addr1", scope: !72, file: !3, line: 34, type: !7)
280 !96 = !DILocation(line: 34, column: 9, scope: !72)
281 !97 = !DILocation(line: 34, column: 17, scope: !72)
282 !98 = !DILocalVariable(name: "arr1", scope: !72, file: !3, line: 35, type: !67)
283 !99 = !DILocation(line: 35, column: 7, scope: !72)
284 !100 = !DILocation(line: 36, column: 3, scope: !72)
285 !101 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !67, size: 32, dwarfAddressSpace: 4)