xref: /llvm-project/llvm/test/Analysis/KernelInfo/enable-kernel-info/Inputs/test.ll (revision 18f8106f310ee702046a11f360af47947c030d2e)
1; CHECK: remark: test.c:10:0: in artificial function 'test', omp_target_num_teams = 100
2; NONE-NOT: remark:
3define void @test() #0 !dbg !5 {
4entry:
5  ret void
6}
7
8attributes #0 = {
9  "omp_target_num_teams"="100"
10}
11
12!llvm.module.flags = !{!0}
13!llvm.dbg.cu = !{!1}
14!nvvm.annotations = !{!6}
15
16!0 = !{i32 2, !"Debug Info Version", i32 3}
17!1 = distinct !DICompileUnit(language: DW_LANG_C11, file: !2, producer: "clang version 19.0.0git", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, splitDebugInlining: false, nameTableKind: None)
18!2 = !DIFile(filename: "test.c", directory: "/tmp")
19!3 = !{}
20!4 = !DISubroutineType(types: !3)
21!5 = distinct !DISubprogram(name: "test", scope: !2, file: !2, line: 10, type: !4, scopeLine: 10, flags: DIFlagArtificial | DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition, unit: !1, retainedNodes: !3)
22!6 = distinct !{ptr null, !"kernel", i32 1}
23