|
1 | 1 | ;=========================== begin_copyright_notice ============================
|
2 | 2 | ;
|
3 |
| -; Copyright (C) 2022 Intel Corporation |
| 3 | +; Copyright (C) 2022-2023 Intel Corporation |
4 | 4 | ;
|
5 | 5 | ; SPDX-License-Identifier: MIT
|
6 | 6 | ;
|
|
26 | 26 | @llvm.used = appending global [3 x i8*] [i8* addrspacecast (i8 addrspace(2)* bitcast ([2 x i32] addrspace(2)* @a to i8 addrspace(2)*) to i8*), i8* addrspacecast (i8 addrspace(1)* bitcast (i32 addrspace(1)* @c to i8 addrspace(1)*) to i8*), i8* addrspacecast (i8 addrspace(1)* bitcast (i32 addrspace(2)* addrspace(1)* @d to i8 addrspace(1)*) to i8*)], section "llvm.metadata"
|
27 | 27 |
|
28 | 28 | ; Function Attrs: convergent noinline nounwind optnone
|
29 |
| -define spir_kernel void @test_program(i32 addrspace(1)* %dst, <8 x i32> %r0, <8 x i32> %payloadHeader, i8 addrspace(2)* %constBase, i8 addrspace(1)* %globalBase, i8* %privateBase, i32 %bufferOffset) #0 { |
| 29 | +define spir_kernel void @test_program(i32 addrspace(1)* %dst, <8 x i32> %r0, <8 x i32> %payloadHeader, i8 addrspace(2)* %constBase, i8 addrspace(1)* %globalBase, i8* %privateBase, i32 %bufferOffset) { |
30 | 30 | ; CHECK-LABEL: @test_program(
|
31 | 31 | ; CHECK: entry:
|
32 | 32 | ; CHECK: [[OFFC:%.*]] = getelementptr i8, i8 addrspace(1)* %globalBase, i64 8
|
@@ -59,74 +59,26 @@ entry:
|
59 | 59 | ret void
|
60 | 60 | }
|
61 | 61 |
|
62 |
| -; Function Attrs: nounwind readnone speculatable |
63 |
| -declare void @llvm.dbg.declare(metadata, metadata, metadata) #1 |
| 62 | +!IGCMetadata = !{!0} |
| 63 | +!igc.functions = !{!20} |
64 | 64 |
|
65 |
| -; Function Attrs: nounwind readnone speculatable |
66 |
| -declare void @llvm.dbg.value(metadata, metadata, metadata) #1 |
| 65 | +!0 = !{!"ModuleMD", !1} |
| 66 | +!1 = !{!"inlineProgramScopeOffsets", !2, !3, !4, !5, !6, !7} |
| 67 | +!2 = !{!"inlineProgramScopeOffsetsMap[0]", [2 x i32] addrspace(2)* @a} |
| 68 | +!3 = !{!"inlineProgramScopeOffsetsValue[0]", i64 0} |
| 69 | +!4 = !{!"inlineProgramScopeOffsetsMap[1]", i32 addrspace(1)* @c} |
| 70 | +!5 = !{!"inlineProgramScopeOffsetsValue[1]", i64 8} |
| 71 | +!6 = !{!"inlineProgramScopeOffsetsMap[2]", i32 addrspace(2)* addrspace(1)* @d} |
| 72 | +!7 = !{!"inlineProgramScopeOffsetsValue[2]", i64 0} |
67 | 73 |
|
68 |
| -attributes #0 = { convergent noinline nounwind optnone } |
69 |
| -attributes #1 = { nounwind readnone speculatable } |
70 |
| - |
71 |
| -!IGCMetadata = !{!3} |
72 |
| -!igc.functions = !{!51} |
73 |
| - |
74 |
| -!3 = !{!"ModuleMD", !4, !6, !44} |
75 |
| -!4 = !{!"compOpt", !5} |
76 |
| -!5 = !{!"OptDisable", i1 true} |
77 |
| -!6 = !{!"FuncMD", !7, !8} |
78 |
| -!7 = !{!"FuncMDMap[0]", void (i32 addrspace(1)*, <8 x i32>, <8 x i32>, i8 addrspace(2)*, i8 addrspace(1)*, i8*, i32)* @test_program} |
79 |
| -!8 = !{!"FuncMDValue[0]", !9, !10, !14, !32, !34, !36, !38, !40, !42} |
80 |
| -!9 = !{!"localOffsets"} |
81 |
| -!10 = !{!"workGroupWalkOrder", !11, !12, !13} |
82 |
| -!11 = !{!"dim0", i32 0} |
83 |
| -!12 = !{!"dim1", i32 0} |
84 |
| -!13 = !{!"dim2", i32 0} |
85 |
| -!14 = !{!"resAllocMD", !15, !16} |
86 |
| -!15 = !{!"samplersNumType", i32 0} |
87 |
| -!16 = !{!"argAllocMDList", !17, !21, !24, !25, !27, !29, !31} |
88 |
| -!17 = !{!"argAllocMDListVec[0]", !18, !19, !20} |
89 |
| -!18 = !{!"type", i32 1} |
90 |
| -!19 = !{!"extensionType", i32 -1} |
91 |
| -!20 = !{!"indexType", i32 0} |
92 |
| -!21 = !{!"argAllocMDListVec[1]", !22, !19, !23} |
93 |
| -!22 = !{!"type", i32 0} |
94 |
| -!23 = !{!"indexType", i32 -1} |
95 |
| -!24 = !{!"argAllocMDListVec[2]", !22, !19, !23} |
96 |
| -!25 = !{!"argAllocMDListVec[3]", !18, !19, !26} |
97 |
| -!26 = !{!"indexType", i32 1} |
98 |
| -!27 = !{!"argAllocMDListVec[4]", !18, !19, !28} |
99 |
| -!28 = !{!"indexType", i32 2} |
100 |
| -!29 = !{!"argAllocMDListVec[5]", !18, !19, !30} |
101 |
| -!30 = !{!"indexType", i32 3} |
102 |
| -!31 = !{!"argAllocMDListVec[6]", !22, !19, !23} |
103 |
| -!32 = !{!"m_OpenCLArgAddressSpaces", !33} |
104 |
| -!33 = !{!"m_OpenCLArgAddressSpacesVec[0]", i32 1} |
105 |
| -!34 = !{!"m_OpenCLArgAccessQualifiers", !35} |
106 |
| -!35 = !{!"m_OpenCLArgAccessQualifiersVec[0]", !"none"} |
107 |
| -!36 = !{!"m_OpenCLArgTypes", !37} |
108 |
| -!37 = !{!"m_OpenCLArgTypesVec[0]", !"int*"} |
109 |
| -!38 = !{!"m_OpenCLArgBaseTypes", !39} |
110 |
| -!39 = !{!"m_OpenCLArgBaseTypesVec[0]", !"int*"} |
111 |
| -!40 = !{!"m_OpenCLArgTypeQualifiers", !41} |
112 |
| -!41 = !{!"m_OpenCLArgTypeQualifiersVec[0]", !""} |
113 |
| -!42 = !{!"m_OpenCLArgNames", !43} |
114 |
| -!43 = !{!"m_OpenCLArgNamesVec[0]", !"dst"} |
115 |
| -!44 = !{!"inlineProgramScopeOffsets", !45, !46, !47, !48, !49, !50} |
116 |
| -!45 = !{!"inlineProgramScopeOffsetsMap[0]", [2 x i32] addrspace(2)* @a} |
117 |
| -!46 = !{!"inlineProgramScopeOffsetsValue[0]", i32 0} |
118 |
| -!47 = !{!"inlineProgramScopeOffsetsMap[1]", i32 addrspace(1)* @c} |
119 |
| -!48 = !{!"inlineProgramScopeOffsetsValue[1]", i32 8} |
120 |
| -!49 = !{!"inlineProgramScopeOffsetsMap[2]", i32 addrspace(2)* addrspace(1)* @d} |
121 |
| -!50 = !{!"inlineProgramScopeOffsetsValue[2]", i32 0} |
122 |
| -!51 = !{void (i32 addrspace(1)*, <8 x i32>, <8 x i32>, i8 addrspace(2)*, i8 addrspace(1)*, i8*, i32)* @test_program, !52} |
123 |
| -!52 = !{!53, !54} |
124 |
| -!53 = !{!"function_type", i32 0} |
125 |
| -!54 = !{!"implicit_arg_desc", !55, !56, !57, !58, !59, !60} |
126 |
| -!55 = !{i32 0} |
127 |
| -!56 = !{i32 1} |
128 |
| -!57 = !{i32 10} |
129 |
| -!58 = !{i32 11} |
130 |
| -!59 = !{i32 12} |
131 |
| -!60 = !{i32 14, !61} |
132 |
| -!61 = !{!"explicit_arg_num", i32 0} |
| 74 | +!20 = !{void (i32 addrspace(1)*, <8 x i32>, <8 x i32>, i8 addrspace(2)*, i8 addrspace(1)*, i8*, i32)* @test_program, !21} |
| 75 | +!21 = !{!22, !23} |
| 76 | +!22 = !{!"function_type", i32 0} |
| 77 | +!23 = !{!"implicit_arg_desc", !24, !25, !26, !27, !28, !29} |
| 78 | +!24 = !{i32 0} |
| 79 | +!25 = !{i32 1} |
| 80 | +!26 = !{i32 10} |
| 81 | +!27 = !{i32 11} |
| 82 | +!28 = !{i32 12} |
| 83 | +!29 = !{i32 14, !30} |
| 84 | +!30 = !{!"explicit_arg_num", i32 0} |
0 commit comments