; ModuleID = 'LLVMDialectModule' source_filename = "LLVMDialectModule" define void @triton__0d1de(ptr addrspace(1) %0, i32 %1) local_unnamed_addr !dbg !5 { %3 = tail call i32 @llvm.nvvm.read.ptx.sreg.tid.x(), !dbg !8 %4 = shl i32 %3, 2, !dbg !8 %5 = and i32 %4, 508, !dbg !8 %6 = tail call i32 asm "mov.u32 $0, %ctaid.x;", "=r"() #1, !dbg !9 %7 = shl i32 %6, 10, !dbg !10 %8 = or i32 %7, %5, !dbg !11 %9 = or i32 %8, 512, !dbg !11 %10 = sext i32 %8 to i64, !dbg !12 %11 = getelementptr float, ptr addrspace(1) %0, i64 %10, !dbg !12 %12 = sext i32 %9 to i64, !dbg !12 %13 = getelementptr float, ptr addrspace(1) %0, i64 %12, !dbg !12 tail call void asm sideeffect "@$5 st.global.v4.b32 [ $4 + 0 ], { $0, $1, $2, $3 };", "r,r,r,r,l,b"(i32 0, i32 0, i32 0, i32 0, ptr addrspace(1) %11, i1 true) #1, !dbg !13 tail call void asm sideeffect "@$5 st.global.v4.b32 [ $4 + 0 ], { $0, $1, $2, $3 };", "r,r,r,r,l,b"(i32 0, i32 0, i32 0, i32 0, ptr addrspace(1) %13, i1 true) #1, !dbg !13 ret void, !dbg !14 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare noundef i32 @llvm.nvvm.read.ptx.sreg.tid.x() #0 attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #1 = { nounwind } !llvm.module.flags = !{!0} !llvm.dbg.cu = !{!1} !nvvm.annotations = !{!3, !4, !4, !3} !0 = !{i32 2, !"Debug Info Version", i32 3} !1 = distinct !DICompileUnit(language: DW_LANG_C, file: !2, producer: "triton", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug) !2 = !DIFile(filename: "c7w5r66fcggm6aokktzwmg24mlevq2hqdw2bgwzwlovrel6re5ym.py", directory: "/tmp/torchinductor_root/7w") !3 = !{ptr @triton__0d1de, !"kernel", i32 1} !4 = !{ptr @triton__0d1de, !"maxntidx", i32 128} !5 = distinct !DISubprogram(name: "triton__0d1de", linkageName: "triton__0d1de", scope: !2, file: !2, line: 18, type: !6, scopeLine: 18, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !1) !6 = !DISubroutineType(cc: DW_CC_normal, types: !7) !7 = !{} !8 = !DILocation(line: 21, column: 36, scope: !5) !9 = !DILocation(line: 20, column: 28, scope: !5) !10 = !DILocation(line: 20, column: 33, scope: !5) !11 = !DILocation(line: 21, column: 23, scope: !5) !12 = !DILocation(line: 25, column: 25, scope: !5) !13 = !DILocation(line: 25, column: 36, scope: !5) !14 = !DILocation(line: 25, column: 4, scope: !5)