Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- SpecForge-ext/cache/compiled_kernels/triton/2/2HBOMUT44J5WFCUWYGRFAAS3HGVNDHLHT7HCSXUCAOIKU6XGJNTA/triton_red_fused__to_copy_clone_slice_sum_transpose_5.cubinAdded
- SpecForge-ext/cache/compiled_kernels/triton/2/2HBOMUT44J5WFCUWYGRFAAS3HGVNDHLHT7HCSXUCAOIKU6XGJNTA/triton_red_fused__to_copy_clone_slice_sum_transpose_5.jsonAdded+1
- SpecForge-ext/cache/compiled_kernels/triton/2/2HBOMUT44J5WFCUWYGRFAAS3HGVNDHLHT7HCSXUCAOIKU6XGJNTA/triton_red_fused__to_copy_clone_slice_sum_transpose_5.llirAdded+204
- SpecForge-ext/cache/compiled_kernels/triton/2/2HBOMUT44J5WFCUWYGRFAAS3HGVNDHLHT7HCSXUCAOIKU6XGJNTA/triton_red_fused__to_copy_clone_slice_sum_transpose_5.ptxAdded+525
- SpecForge-ext/cache/compiled_kernels/triton/2/2HBOMUT44J5WFCUWYGRFAAS3HGVNDHLHT7HCSXUCAOIKU6XGJNTA/triton_red_fused__to_copy_clone_slice_sum_transpose_5.sourceAdded+193
- SpecForge-ext/cache/compiled_kernels/triton/2/2HBOMUT44J5WFCUWYGRFAAS3HGVNDHLHT7HCSXUCAOIKU6XGJNTA/triton_red_fused__to_copy_clone_slice_sum_transpose_5.ttgirAdded+147
- SpecForge-ext/cache/compiled_kernels/triton/2/2HBOMUT44J5WFCUWYGRFAAS3HGVNDHLHT7HCSXUCAOIKU6XGJNTA/triton_red_fused__to_copy_clone_slice_sum_transpose_5.ttirAdded+152
- SpecForge-ext/cache/compiled_kernels/triton/2/2J5U2YWHZDEYPTTFYZZF7L472MAKN4PYN3O5UNMFLMRH5VW6ZZQA/__grp__triton_tem_fused_zeros_1.jsonAdded+1
- SpecForge-ext/cache/compiled_kernels/triton/2/2J5U2YWHZDEYPTTFYZZF7L472MAKN4PYN3O5UNMFLMRH5VW6ZZQA/triton_tem_fused_zeros_1.jsonAdded+1
- SpecForge-ext/cache/compiled_kernels/triton/2/2J5U2YWHZDEYPTTFYZZF7L472MAKN4PYN3O5UNMFLMRH5VW6ZZQA/triton_tem_fused_zeros_1.llirAdded
- SpecForge-ext/cache/compiled_kernels/triton/2/2J5U2YWHZDEYPTTFYZZF7L472MAKN4PYN3O5UNMFLMRH5VW6ZZQA/triton_tem_fused_zeros_1.ptxAdded
- SpecForge-ext/cache/compiled_kernels/triton/2/2J5U2YWHZDEYPTTFYZZF7L472MAKN4PYN3O5UNMFLMRH5VW6ZZQA/triton_tem_fused_zeros_1.sourceAdded
- SpecForge-ext/cache/compiled_kernels/triton/2/2J5U2YWHZDEYPTTFYZZF7L472MAKN4PYN3O5UNMFLMRH5VW6ZZQA/triton_tem_fused_zeros_1.ttgirAdded
- SpecForge-ext/cache/compiled_kernels/triton/2/2J5U2YWHZDEYPTTFYZZF7L472MAKN4PYN3O5UNMFLMRH5VW6ZZQA/triton_tem_fused_zeros_1.ttirAdded
- SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/__grp__triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.jsonAdded+1
- SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.cubinAdded
- SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.jsonAdded+1
- SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.llirAdded+333
- SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.ptxAdded+809
- SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.sourceAdded+418
- SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.ttgirAdded+280
- SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.ttirAdded+283
- SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/__grp__triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.jsonAdded+1
- SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.cubinAdded
- SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.jsonAdded+1
- SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.llirAdded+781
- SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.ptxAdded+1410
- SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.sourceAdded
- SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.ttgirAdded+841
- SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.ttirAdded+799
- SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/__grp__triton_red_fused_argmax_1.jsonAdded+1
- SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/triton_red_fused_argmax_1.cubinAdded
- SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/triton_red_fused_argmax_1.jsonAdded+1
- SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/triton_red_fused_argmax_1.llirAdded+611
- SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/triton_red_fused_argmax_1.ptxAdded+1196
- SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/triton_red_fused_argmax_1.sourceAdded+315
- SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/triton_red_fused_argmax_1.ttgirAdded+203
- SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/triton_red_fused_argmax_1.ttirAdded+204
- SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/__grp__triton_poi_fused_new_zeros_0.jsonAdded+1
- SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/triton_poi_fused_new_zeros_0.cubinAdded
- SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/triton_poi_fused_new_zeros_0.jsonAdded+1
- SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/triton_poi_fused_new_zeros_0.llirAdded+52
- SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/triton_poi_fused_new_zeros_0.ptxAdded+214
- SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/triton_poi_fused_new_zeros_0.sourceAdded+38
- SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/triton_poi_fused_new_zeros_0.ttgirAdded+35
- SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/triton_poi_fused_new_zeros_0.ttirAdded+34
- SpecForge-ext/cache/compiled_kernels/triton/2/4GZ7CVSLAS6HV3PFLT7QTVXV766VDM2EJD6F6EMVZBCIWXUB73MA/__grp__triton_red_fused_zeros_0.jsonAdded+1
- SpecForge-ext/cache/compiled_kernels/triton/2/4GZ7CVSLAS6HV3PFLT7QTVXV766VDM2EJD6F6EMVZBCIWXUB73MA/triton_red_fused_zeros_0.cubinAdded
- SpecForge-ext/cache/compiled_kernels/triton/2/4GZ7CVSLAS6HV3PFLT7QTVXV766VDM2EJD6F6EMVZBCIWXUB73MA/triton_red_fused_zeros_0.jsonAdded+1
- SpecForge-ext/cache/compiled_kernels/triton/2/4GZ7CVSLAS6HV3PFLT7QTVXV766VDM2EJD6F6EMVZBCIWXUB73MA/triton_red_fused_zeros_0.llirAdded+190
1{"hash": "d1c2e6527ce27b628a96c1a250025b39aad19d679fce295e820390aa7ae64b66", "target": {"backend": "cuda", "arch": 90, "warp_size": 32}, "num_warps": 4, "num_ctas": 1, "num_stages": 1, "warp_size": 32, "maxnreg": null, "cluster_dims": [1, 1, 1], "ptx_version": null, "ptx_options": null, "ir_override": null, "enable_fp_fusion": true, "launch_cooperative_grid": false, "launch_pdl": false, "supported_fp8_dtypes": ["fp8e4b15", "fp8e4nv", "fp8e5"], "deprecated_fp8_dot_operand_dtypes": ["fp8e4b15"], "default_dot_input_precision": "tf32", "allowed_dot_input_precisions": ["tf32", "tf32x3", "ieee"], "max_num_imprecise_acc_default": 1073741824, "extern_libs": [["libdevice", "/workspace/specforge/lib/python3.11/site-packages/triton/backends/nvidia/lib/libdevice.10.bc"]], "debug": true, "backend_name": "cuda", "sanitize_overflow": false, "arch": "sm90", "instrumentation_mode": "", "triton_version": "3.5.1", "tensordesc_meta": [], "shared": 1024, "tmem_size": 0, "global_scratch_size": 0, "global_scratch_align": 1, "profile_scratch_size": 0, "profile_scratch_align": 1, "name": "triton_red_fused__to_copy_clone_slice_sum_transpose_5"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204; ModuleID = 'LLVMDialectModule'source_filename = "LLVMDialectModule"target datalayout = "e-p3:32:32-p4:32:32-p5:32:32-p6:32:32-p7:32:32-i64:64-i128:128-v16:16-v32:32-n16:32:64"
@global_smem = external addrspace(3) global [0 x i8], align 16
; Function Attrs: nounwinddefine ptx_kernel void @triton_red_fused__to_copy_clone_slice_sum_transpose_5(ptr addrspace(1) %0, ptr addrspace(1) %1, i64 %2, i64 %3, i32 %4, i32 %5, ptr addrspace(1) readnone captures(none) %6, ptr addrspace(1) readnone captures(none) %7) local_unnamed_addr #0 !dbg !4 { %9 = tail call i32 @llvm.nvvm.read.ptx.sreg.ctaid.x(), !dbg !7 %10 = shl i32 %9, 5, !dbg !8 %11 = tail call i32 @llvm.nvvm.read.ptx.sreg.tid.x(), !dbg !9 %12 = and i32 %11, 31, !dbg !9 %13 = or disjoint i32 %10, %12, !dbg !10 %14 = icmp slt i32 %13, %4, !dbg !11 %15 = lshr i32 %11, 5, !dbg !12 %16 = and i32 %15, 3, !dbg !12 %17 = sext i32 %13 to i64, !dbg !13 %.frozen = freeze i64 %2, !dbg !14 %18 = sdiv i64 %17, %.frozen, !dbg !14 %19 = mul i64 %18, %.frozen, !dbg !13 %.decomposed = sub i64 %17, %19, !dbg !13 %20 = icmp sgt i32 %5, 0, !dbg !15 br i1 %20, label %.lr.ph, label %._crit_edge, !dbg !15
.lr.ph: ; preds = %8 %21 = mul i64 %3, %2, !dbg !16 %22 = mul i64 %21, %18, !dbg !17 %23 = getelementptr i32, ptr addrspace(1) %0, i64 %.decomposed %invariant.gep = getelementptr i32, ptr addrspace(1) %23, i64 %22, !dbg !15 %24 = insertelement <4 x i1> poison, i1 %14, i64 0, !dbg !18 %25 = shufflevector <4 x i1> %24, <4 x i1> poison, <4 x i32> zeroinitializer, !dbg !18 %26 = insertelement <4 x i32> poison, i32 %5, i64 0, !dbg !19 %27 = shufflevector <4 x i32> %26, <4 x i32> poison, <4 x i32> zeroinitializer, !dbg !19 br label %28, !dbg !15
28: ; preds = %.lr.ph, %28 %29 = phi i32 [ 0, %.lr.ph ], [ %68, %28 ] %30 = phi <4 x i64> [ zeroinitializer, %.lr.ph ], [ %67, %28 ] %31 = tail call i64 asm sideeffect "mov.u64 $0, 0x0;\0A\09createpolicy.fractional.L2::evict_last.b64 $0, 1.0;", "=l"() #5, !dbg !20 %32 = or disjoint i32 %29, %16, !dbg !21 %33 = or disjoint i32 %32, 4, !dbg !21 %34 = or disjoint i32 %32, 8, !dbg !21 %35 = or disjoint i32 %32, 12, !dbg !21 %36 = insertelement <4 x i32> poison, i32 %32, i64 0, !dbg !19 %37 = insertelement <4 x i32> %36, i32 %33, i64 1, !dbg !19 %38 = insertelement <4 x i32> %37, i32 %34, i64 2, !dbg !19 %39 = insertelement <4 x i32> %38, i32 %35, i64 3, !dbg !19 %40 = icmp slt <4 x i32> %39, %27, !dbg !19 %41 = sext i32 %32 to i64, !dbg !22 %42 = sext i32 %33 to i64, !dbg !22 %43 = sext i32 %34 to i64, !dbg !22 %44 = sext i32 %35 to i64, !dbg !22 %45 = mul i64 %2, %41, !dbg !22 %46 = mul i64 %2, %42, !dbg !22 %47 = mul i64 %2, %43, !dbg !22 %48 = mul i64 %2, %44, !dbg !22 %gep = getelementptr i32, ptr addrspace(1) %invariant.gep, i64 %45, !dbg !23 %gep4 = getelementptr i32, ptr addrspace(1) %invariant.gep, i64 %46, !dbg !23 %gep6 = getelementptr i32, ptr addrspace(1) %invariant.gep, i64 %47, !dbg !23 %gep8 = getelementptr i32, ptr addrspace(1) %invariant.gep, i64 %48, !dbg !23 %49 = and <4 x i1> %25, %40, !dbg !18 %50 = extractelement <4 x i1> %49, i64 0, !dbg !20 %51 = tail call i32 asm sideeffect "mov.u32 $0, 0x0;\0A\09@$3 ld.global.L1::evict_last.L2::cache_hint.b32 { $0 }, [ $1 + 0 ], $2;", "=r,l,l,b"(ptr addrspace(1) %gep, i64 %31, i1 %50) #5, !dbg !20 %52 = tail call i64 asm sideeffect "mov.u64 $0, 0x0;\0A\09createpolicy.fractional.L2::evict_last.b64 $0, 1.0;", "=l"() #5, !dbg !20 %53 = extractelement <4 x i1> %49, i64 1, !dbg !20 %54 = tail call i32 asm sideeffect "mov.u32 $0, 0x0;\0A\09@$3 ld.global.L1::evict_last.L2::cache_hint.b32 { $0 }, [ $1 + 0 ], $2;", "=r,l,l,b"(ptr addrspace(1) %gep4, i64 %52, i1 %53) #5, !dbg !20 %55 = tail call i64 asm sideeffect "mov.u64 $0, 0x0;\0A\09createpolicy.fractional.L2::evict_last.b64 $0, 1.0;", "=l"() #5, !dbg !20 %56 = extractelement <4 x i1> %49, i64 2, !dbg !20 %57 = tail call i32 asm sideeffect "mov.u32 $0, 0x0;\0A\09@$3 ld.global.L1::evict_last.L2::cache_hint.b32 { $0 }, [ $1 + 0 ], $2;", "=r,l,l,b"(ptr addrspace(1) %gep6, i64 %55, i1 %56) #5, !dbg !20 %58 = tail call i64 asm sideeffect "mov.u64 $0, 0x0;\0A\09createpolicy.fractional.L2::evict_last.b64 $0, 1.0;", "=l"() #5, !dbg !20 %59 = extractelement <4 x i1> %49, i64 3, !dbg !20 %60 = tail call i32 asm sideeffect "mov.u32 $0, 0x0;\0A\09@$3 ld.global.L1::evict_last.L2::cache_hint.b32 { $0 }, [ $1 + 0 ], $2;", "=r,l,l,b"(ptr addrspace(1) %gep8, i64 %58, i1 %59) #5, !dbg !20 %61 = insertelement <4 x i32> poison, i32 %51, i64 0, !dbg !24 %62 = insertelement <4 x i32> %61, i32 %54, i64 1, !dbg !24 %63 = insertelement <4 x i32> %62, i32 %57, i64 2, !dbg !24 %64 = insertelement <4 x i32> %63, i32 %60, i64 3, !dbg !24 %65 = sext <4 x i32> %64 to <4 x i64>, !dbg !24 %66 = select <4 x i1> %49, <4 x i64> %65, <4 x i64> zeroinitializer, !dbg !25 %67 = add <4 x i64> %66, %30, !dbg !25 %68 = add i32 %29, 16, !dbg !15 %69 = icmp slt i32 %68, %5, !dbg !15 br i1 %69, label %28, label %._crit_edge.loopexit, !dbg !15
._crit_edge.loopexit: ; preds = %28 %70 = tail call i64 @llvm.vector.reduce.add.v4i64(<4 x i64> %67), !dbg !26 br label %._crit_edge, !dbg !26
._crit_edge: ; preds = %._crit_edge.loopexit, %8 %71 = phi i64 [ 0, %8 ], [ %70, %._crit_edge.loopexit ], !dbg !26 %.idx = shl nuw nsw i32 %12, 5, !dbg !30 %72 = getelementptr i8, ptr addrspace(3) @global_smem, i32 %.idx, !dbg !30 %73 = getelementptr i64, ptr addrspace(3) %72, i32 %16, !dbg !30 %74 = insertelement <1 x i64> poison, i64 %71, i64 0, !dbg !30 tail call void asm sideeffect "@$2 st.shared.b64 [ $0 + 0 ], $1;", "r,l,b"(ptr addrspace(3) %73, <1 x i64> %74, i1 true) #5, !dbg !30 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !30 %75 = icmp samesign ult i32 %11, 128, !dbg !30 %76 = getelementptr i64, ptr addrspace(3) @global_smem, i32 %11, !dbg !30 %77 = tail call i64 asm sideeffect "@$2 ld.shared.b64 $0, [ $1 + 0 ];", "=l,r,b"(ptr addrspace(3) %76, i1 %75) #5, !dbg !30 %extelt.offset = lshr i64 %77, 32, !dbg !30 %78 = trunc nuw i64 %extelt.offset to i32, !dbg !30 %79 = trunc i64 %77 to i32, !dbg !30 %80 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %79, i32 2, i32 31), !dbg !30 %81 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %78, i32 2, i32 31), !dbg !30 %82 = insertelement <2 x i32> poison, i32 %80, i64 0, !dbg !30 %83 = insertelement <2 x i32> %82, i32 %81, i64 1, !dbg !30 %84 = bitcast <2 x i32> %83 to i64, !dbg !30 %85 = add i64 %77, %84, !dbg !26 %extelt.offset2 = lshr i64 %85, 32, !dbg !30 %86 = trunc nuw i64 %extelt.offset2 to i32, !dbg !30 %87 = trunc i64 %85 to i32, !dbg !30 %88 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %87, i32 1, i32 31), !dbg !30 %89 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %86, i32 1, i32 31), !dbg !30 %90 = insertelement <2 x i32> poison, i32 %88, i64 0, !dbg !30 %91 = insertelement <2 x i32> %90, i32 %89, i64 1, !dbg !30 %92 = bitcast <2 x i32> %91 to i64, !dbg !30 %93 = add i64 %85, %92, !dbg !26 %94 = and i32 %11, 899, !dbg !30 %95 = icmp eq i32 %94, 0, !dbg !30 %96 = insertelement <1 x i64> poison, i64 %93, i64 0, !dbg !30 tail call void asm sideeffect "@$2 st.shared.b64 [ $0 + 0 ], $1;", "r,l,b"(ptr addrspace(3) %76, <1 x i64> %96, i1 %95) #5, !dbg !30 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !30 %97 = load i64, ptr addrspace(3) %72, align 16, !dbg !30 %98 = trunc i64 %97 to i32, !dbg !31 %99 = icmp slt i64 %2, 2, !dbg !32 %100 = icmp sgt i64 %2, 1, !dbg !33 %101 = select i1 %100, i64 %2, i64 0, !dbg !34 %102 = zext i1 %99 to i64, !dbg !35 %103 = add i64 %101, %102, !dbg !36 %104 = mul i64 %18, %103, !dbg !37 %105 = getelementptr i32, ptr addrspace(1) %1, i64 %.decomposed, !dbg !38 %106 = getelementptr i32, ptr addrspace(1) %105, i64 %104, !dbg !38 %107 = and i32 %11, 96, !dbg !39 %108 = icmp eq i32 %107, 0, !dbg !39 %109 = and i1 %108, %14, !dbg !39 tail call void asm sideeffect "@$2 st.global.b32 [ $1 + 0 ], { $0 };", "r,l,b"(i32 %98, ptr addrspace(1) %106, i1 %109) #5, !dbg !39 ret void, !dbg !40}
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)declare noundef range(i32 0, 2147483647) i32 @llvm.nvvm.read.ptx.sreg.ctaid.x() #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)declare noundef range(i32 0, 1024) i32 @llvm.nvvm.read.ptx.sreg.tid.x() #1
; Function Attrs: convergent nocallback nounwinddeclare void @llvm.nvvm.barrier.cta.sync.aligned.all(i32) #2
; Function Attrs: convergent nocallback nounwind memory(inaccessiblemem: readwrite)declare i32 @llvm.nvvm.shfl.sync.bfly.i32(i32, i32, i32, i32) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)declare i64 @llvm.vector.reduce.add.v4i64(<4 x i64>) #4
attributes #0 = { nounwind "nvvm.reqntid"="128" }attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }attributes #2 = { convergent nocallback nounwind }attributes #3 = { convergent nocallback nounwind memory(inaccessiblemem: readwrite) }attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }attributes #5 = { nounwind }
!llvm.dbg.cu = !{!0}!llvm.module.flags = !{!2, !3}
!0 = distinct !DICompileUnit(language: DW_LANG_C, file: !1, producer: "triton", isOptimized: true, runtimeVersion: 0, emissionKind: LineTablesOnly)!1 = !DIFile(filename: "ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py", directory: "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk")!2 = !{i32 2, !"Debug Info Version", i32 3}!3 = !{i32 4, !"nvvm-reflect-ftz", i32 1}!4 = distinct !DISubprogram(name: "triton_red_fused__to_copy_clone_slice_sum_transpose_5", linkageName: "triton_red_fused__to_copy_clone_slice_sum_transpose_5", scope: !1, file: !1, line: 18, type: !5, scopeLine: 18, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0)!5 = !DISubroutineType(cc: DW_CC_normal, types: !6)!6 = !{}!7 = !DILocation(line: 21, column: 28, scope: !4)!8 = !DILocation(line: 21, column: 33, scope: !4)!9 = !DILocation(line: 22, column: 44, scope: !4)!10 = !DILocation(line: 22, column: 23, scope: !4)!11 = !DILocation(line: 23, column: 21, scope: !4)!12 = !DILocation(line: 24, column: 37, scope: !4)!13 = !DILocation(line: 26, column: 19, scope: !4)!14 = !DILocation(line: 27, column: 19, scope: !4)!15 = !DILocation(line: 30, column: 40, scope: !4)!16 = !DILocation(line: 36, column: 54, scope: !4)!17 = !DILocation(line: 36, column: 58, scope: !4)!18 = !DILocation(line: 36, column: 73, scope: !4)!19 = !DILocation(line: 32, column: 29, scope: !4)!20 = !DILocation(line: 36, column: 63, scope: !4)!21 = !DILocation(line: 31, column: 31, scope: !4)!22 = !DILocation(line: 36, column: 43, scope: !4)!23 = !DILocation(line: 36, column: 34, scope: !4)!24 = !DILocation(line: 37, column: 23, scope: !4)!25 = !DILocation(line: 40, column: 48, scope: !4)!26 = !DILocation(line: 261, column: 15, scope: !27, inlinedAt: !29)!27 = distinct !DILexicalBlockFile(scope: !4, file: !28, discriminator: 0)!28 = !DIFile(filename: "standard.py", directory: "/workspace/specforge/lib/python3.11/site-packages/triton/language")!29 = !DILocation(line: 41, column: 25, scope: !4)!30 = !DILocation(line: 291, column: 36, scope: !27, inlinedAt: !29)!31 = !DILocation(line: 42, column: 19, scope: !4)!32 = !DILocation(line: 43, column: 49, scope: !4)!33 = !DILocation(line: 43, column: 75, scope: !4)!34 = !DILocation(line: 43, column: 66, scope: !4)!35 = !DILocation(line: 43, scope: !4)!36 = !DILocation(line: 43, column: 57, scope: !4)!37 = !DILocation(line: 43, column: 34, scope: !4)!38 = !DILocation(line: 43, column: 25, scope: !4)!39 = !DILocation(line: 43, column: 88, scope: !4)!40 = !DILocation(line: 43, column: 4, scope: !4)123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525//// Generated by LLVM NVPTX Back-End//
.version 8.7.target sm_90a.address_size 64
// .globl triton_red_fused__to_copy_clone_slice_sum_transpose_5 // -- Begin function triton_red_fused__to_copy_clone_slice_sum_transpose_5.extern .shared .align 16 .b8 global_smem[]; // @triton_red_fused__to_copy_clone_slice_sum_transpose_5.visible .entry triton_red_fused__to_copy_clone_slice_sum_transpose_5( .param .u64 .ptr .global .align 1 triton_red_fused__to_copy_clone_slice_sum_transpose_5_param_0, .param .u64 .ptr .global .align 1 triton_red_fused__to_copy_clone_slice_sum_transpose_5_param_1, .param .u64 triton_red_fused__to_copy_clone_slice_sum_transpose_5_param_2, .param .u64 triton_red_fused__to_copy_clone_slice_sum_transpose_5_param_3, .param .u32 triton_red_fused__to_copy_clone_slice_sum_transpose_5_param_4, .param .u32 triton_red_fused__to_copy_clone_slice_sum_transpose_5_param_5, .param .u64 .ptr .global .align 1 triton_red_fused__to_copy_clone_slice_sum_transpose_5_param_6, .param .u64 .ptr .global .align 1 triton_red_fused__to_copy_clone_slice_sum_transpose_5_param_7).reqntid 128{ .reg .pred %p<24>; .reg .b32 %r<51>; .reg .b64 %rd<97>; .loc 1 18 0 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:18:0$L__func_begin0: .loc 1 18 0 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:18:0
// %bb.0: ld.param.b32 %r11, [triton_red_fused__to_copy_clone_slice_sum_transpose_5_param_5]; ld.param.b64 %rd20, [triton_red_fused__to_copy_clone_slice_sum_transpose_5_param_2];$L__tmp0: .loc 1 21 28 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:21:28 mov.u32 %r12, %ctaid.x; .loc 1 21 33 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:21:33 shl.b32 %r13, %r12, 5; .loc 1 22 44 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:22:44 mov.u32 %r1, %tid.x; and.b32 %r2, %r1, 31; .loc 1 22 23 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:22:23 or.b32 %r14, %r13, %r2; .loc 1 26 19 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:26:19 cvt.s64.s32 %rd1, %r14; .loc 1 27 19 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:27:19 or.b64 %rd23, %rd1, %rd20; and.b64 %rd24, %rd23, -4294967296; setp.ne.b64 %p5, %rd24, 0; cvt.u32.u64 %r49, %rd1; @%p5 bra $L__BB0_2; bra.uni $L__BB0_1;$L__BB0_2: div.s64 %rd91, %rd1, %rd20; bra.uni $L__BB0_3;$L__BB0_1: cvt.u32.u64 %r15, %rd20; div.u32 %r17, %r49, %r15; cvt.u64.u32 %rd91, %r17;$L__BB0_3: .loc 1 0 19 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:0:19 ld.param.b32 %r10, [triton_red_fused__to_copy_clone_slice_sum_transpose_5_param_4]; ld.param.b64 %rd19, [triton_red_fused__to_copy_clone_slice_sum_transpose_5_param_1]; bfe.u32 %r3, %r1, 5, 2; .loc 1 26 19 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:26:19 mul.lo.s64 %rd26, %rd91, %rd20; sub.s64 %rd6, %rd1, %rd26; .loc 1 30 40 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:30:40 setp.lt.s32 %p6, %r11, 1; mov.b64 %rd96, 0; shl.b64 %rd90, %rd6, 2; @%p6 bra $L__BB0_7;// %bb.4: // %.lr.ph .loc 1 0 40 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:0:40 ld.param.b64 %rd21, [triton_red_fused__to_copy_clone_slice_sum_transpose_5_param_3]; ld.param.b64 %rd18, [triton_red_fused__to_copy_clone_slice_sum_transpose_5_param_0]; .loc 1 23 21 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:23:21 setp.lt.s32 %p1, %r49, %r10; .loc 1 36 54 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:36:54 mul.lo.s64 %rd31, %rd21, %rd20; .loc 1 36 58 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:36:58 mul.lo.s64 %rd32, %rd31, %rd91; add.s64 %rd34, %rd18, %rd90; .loc 1 30 40 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:30:40 shl.b64 %rd35, %rd32, 2; add.s64 %rd7, %rd34, %rd35; mov.b64 %rd92, 0; mov.b32 %r50, 0; mov.b64 %rd93, %rd92; mov.b64 %rd94, %rd92; mov.b64 %rd95, %rd92;$L__BB0_5: // =>This Inner Loop Header: Depth=1 .loc 1 36 63 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:36:63 // begin inline asm mov.u64 %rd36, 0x0; createpolicy.fractional.L2::evict_last.b64 %rd36, 1.0; // end inline asm .loc 1 31 31 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:31:31 add.s32 %r24, %r3, %r50; add.s32 %r25, %r24, 4; add.s32 %r26, %r24, 8; .loc 1 32 29 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:32:29 add.s32 %r27, %r24, 12; setp.lt.s32 %p11, %r24, %r11; setp.lt.s32 %p12, %r25, %r11; setp.lt.s32 %p13, %r26, %r11; setp.lt.s32 %p14, %r27, %r11; .loc 1 36 43 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:36:43 cvt.s64.s32 %rd48, %r24; cvt.s64.s32 %rd49, %r25; cvt.s64.s32 %rd50, %r26; cvt.s64.s32 %rd51, %r27; mul.lo.s64 %rd52, %rd20, %rd48; mul.lo.s64 %rd53, %rd20, %rd49; mul.lo.s64 %rd54, %rd20, %rd50; mul.lo.s64 %rd55, %rd20, %rd51; .loc 1 36 34 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:36:34 shl.b64 %rd56, %rd52, 2; add.s64 %rd37, %rd7, %rd56; shl.b64 %rd57, %rd53, 2; add.s64 %rd40, %rd7, %rd57; shl.b64 %rd58, %rd54, 2; add.s64 %rd43, %rd7, %rd58; shl.b64 %rd59, %rd55, 2; add.s64 %rd46, %rd7, %rd59; .loc 1 36 73 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:36:73 and.pred %p10, %p1, %p14; and.pred %p9, %p1, %p13; and.pred %p8, %p1, %p12; and.pred %p7, %p1, %p11; .loc 1 36 63 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:36:63 // begin inline asm mov.u32 %r20, 0x0; @%p7 ld.global.L1::evict_last.L2::cache_hint.b32 { %r20 }, [ %rd37 + 0 ], %rd36; // end inline asm // begin inline asm mov.u64 %rd39, 0x0; createpolicy.fractional.L2::evict_last.b64 %rd39, 1.0; // end inline asm // begin inline asm mov.u32 %r21, 0x0; @%p8 ld.global.L1::evict_last.L2::cache_hint.b32 { %r21 }, [ %rd40 + 0 ], %rd39; // end inline asm // begin inline asm mov.u64 %rd42, 0x0; createpolicy.fractional.L2::evict_last.b64 %rd42, 1.0; // end inline asm // begin inline asm mov.u32 %r22, 0x0; @%p9 ld.global.L1::evict_last.L2::cache_hint.b32 { %r22 }, [ %rd43 + 0 ], %rd42; // end inline asm // begin inline asm mov.u64 %rd45, 0x0; createpolicy.fractional.L2::evict_last.b64 %rd45, 1.0; // end inline asm // begin inline asm mov.u32 %r23, 0x0; @%p10 ld.global.L1::evict_last.L2::cache_hint.b32 { %r23 }, [ %rd46 + 0 ], %rd45; // end inline asm .loc 1 37 23 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:37:23 cvt.s64.s32 %rd60, %r20; cvt.s64.s32 %rd61, %r21; cvt.s64.s32 %rd62, %r22; cvt.s64.s32 %rd63, %r23; .loc 1 40 48 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:40:48 selp.b64 %rd64, %rd63, 0, %p10; selp.b64 %rd65, %rd62, 0, %p9; selp.b64 %rd66, %rd61, 0, %p8; selp.b64 %rd67, %rd60, 0, %p7; add.s64 %rd92, %rd67, %rd92; add.s64 %rd93, %rd66, %rd93; add.s64 %rd94, %rd65, %rd94; add.s64 %rd95, %rd64, %rd95; .loc 1 30 40 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:30:40 add.s32 %r50, %r50, 16; setp.lt.s32 %p15, %r50, %r11; @%p15 bra $L__BB0_5;// %bb.6: // %._crit_edge.loopexit$L__tmp1: .loc 2 261 15 // standard.py:261:15 @[ ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:41:25 ] add.s64 %rd68, %rd92, %rd94; add.s64 %rd69, %rd93, %rd95; add.s64 %rd96, %rd68, %rd69;$L__tmp2:$L__BB0_7: // %._crit_edge .loc 1 23 21 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:23:21 setp.lt.s32 %p20, %r49, %r10;$L__tmp3: .loc 2 291 36 // standard.py:291:36 @[ ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:41:25 ] shl.b32 %r33, %r2, 5; mov.b32 %r34, global_smem; add.s32 %r35, %r34, %r33; shl.b32 %r36, %r3, 3; add.s32 %r28, %r35, %r36; mov.pred %p16, -1; // begin inline asm @%p16 st.shared.b64 [ %r28 + 0 ], %rd96; // end inline asm bar.sync 0; setp.lt.u32 %p17, %r1, 128; shl.b32 %r37, %r1, 3; add.s32 %r29, %r34, %r37; // begin inline asm @%p17 ld.shared.b64 %rd71, [ %r29 + 0 ]; // end inline asm mov.b64 {_, %r38}, %rd71; cvt.u32.u64 %r39, %rd71; shfl.sync.bfly.b32 %r40, %r39, 2, 31, -1; shfl.sync.bfly.b32 %r41, %r38, 2, 31, -1; cvt.u64.u32 %rd74, %r40; cvt.u64.u32 %rd75, %r41; shl.b64 %rd76, %rd75, 32; or.b64 %rd77, %rd74, %rd76; .loc 2 261 15 // standard.py:261:15 @[ ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:41:25 ] add.s64 %rd78, %rd71, %rd77; .loc 2 291 36 // standard.py:291:36 @[ ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:41:25 ] mov.b64 {_, %r42}, %rd78; cvt.u32.u64 %r43, %rd78; shfl.sync.bfly.b32 %r44, %r43, 1, 31, -1; shfl.sync.bfly.b32 %r45, %r42, 1, 31, -1; cvt.u64.u32 %rd79, %r44; cvt.u64.u32 %rd80, %r45; shl.b64 %rd81, %rd80, 32; or.b64 %rd82, %rd79, %rd81; .loc 2 261 15 // standard.py:261:15 @[ ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:41:25 ] add.s64 %rd72, %rd78, %rd82; .loc 2 291 36 // standard.py:291:36 @[ ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:41:25 ] and.b32 %r46, %r1, 899; setp.eq.b32 %p18, %r46, 0; // begin inline asm @%p18 st.shared.b64 [ %r29 + 0 ], %rd72; // end inline asm bar.sync 0; ld.shared.b32 %r31, [%r35];$L__tmp4: .loc 1 43 49 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:43:49 setp.lt.s64 %p21, %rd20, 2; .loc 1 43 75 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:43:75 setp.gt.s64 %p22, %rd20, 1; .loc 1 43 66 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:43:66 selp.b64 %rd83, %rd20, 0, %p22; .loc 1 43 0 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:43 selp.b64 %rd84, 1, 0, %p21; .loc 1 43 57 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:43:57 add.s64 %rd85, %rd83, %rd84; .loc 1 43 34 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:43:34 mul.lo.s64 %rd86, %rd91, %rd85; .loc 1 43 25 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:43:25 add.s64 %rd88, %rd19, %rd90; shl.b64 %rd89, %rd86, 2; add.s64 %rd73, %rd88, %rd89; .loc 1 43 88 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:43:88 and.b32 %r47, %r1, 96; setp.eq.b32 %p23, %r47, 0; and.pred %p19, %p23, %p20; // begin inline asm @%p19 st.global.b32 [ %rd73 + 0 ], { %r31 }; // end inline asm .loc 1 43 4 // ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py:43:4 ret;$L__tmp5:$L__func_end0: // -- End function} .file 1 "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py" .file 2 "/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py" .section .debug_abbrev {.b8 1 // Abbreviation Code.b8 17 // DW_TAG_compile_unit.b8 1 // DW_CHILDREN_yes.b8 37 // DW_AT_producer.b8 8 // DW_FORM_string.b8 19 // DW_AT_language.b8 5 // DW_FORM_data2.b8 3 // DW_AT_name.b8 8 // DW_FORM_string.b8 16 // DW_AT_stmt_list.b8 6 // DW_FORM_data4.b8 27 // DW_AT_comp_dir.b8 8 // DW_FORM_string.b8 0 // EOM(1).b8 0 // EOM(2).b8 2 // Abbreviation Code.b8 46 // DW_TAG_subprogram.b8 0 // DW_CHILDREN_no.b8 3 // DW_AT_name.b8 8 // DW_FORM_string.b8 32 // DW_AT_inline.b8 11 // DW_FORM_data1.b8 0 // EOM(1).b8 0 // EOM(2).b8 3 // Abbreviation Code.b8 46 // DW_TAG_subprogram.b8 1 // DW_CHILDREN_yes.b8 17 // DW_AT_low_pc.b8 1 // DW_FORM_addr.b8 18 // DW_AT_high_pc.b8 1 // DW_FORM_addr.b8 49 // DW_AT_abstract_origin.b8 19 // DW_FORM_ref4.b8 0 // EOM(1).b8 0 // EOM(2).b8 4 // Abbreviation Code.b8 29 // DW_TAG_inlined_subroutine.b8 0 // DW_CHILDREN_no.b8 49 // DW_AT_abstract_origin.b8 19 // DW_FORM_ref4.b8 17 // DW_AT_low_pc.b8 1 // DW_FORM_addr.b8 18 // DW_AT_high_pc.b8 1 // DW_FORM_addr.b8 88 // DW_AT_call_file.b8 11 // DW_FORM_data1.b8 89 // DW_AT_call_line.b8 11 // DW_FORM_data1.b8 87 // DW_AT_call_column.b8 11 // DW_FORM_data1.b8 0 // EOM(1).b8 0 // EOM(2).b8 0 // EOM(3) } .section .debug_info {.b32 238 // Length of Unit.b8 2 // DWARF version number.b8 0.b32 .debug_abbrev // Offset Into Abbrev. Section.b8 8 // Address Size (in bytes).b8 1 // Abbrev [1] 0xb:0xe7 DW_TAG_compile_unit.b8 116 // DW_AT_producer.b8 114.b8 105.b8 116.b8 111.b8 110.b8 0.b8 2 // DW_AT_language.b8 0.b8 99 // DW_AT_name.b8 107.b8 107.b8 108.b8 120.b8 100.b8 109.b8 116.b8 101.b8 55.b8 122.b8 50.b8 121.b8 55.b8 50.b8 103.b8 114.b8 109.b8 53.b8 103.b8 119.b8 97.b8 52.b8 50.b8 112.b8 110.b8 109.b8 122.b8 117.b8 112.b8 107.b8 109.b8 122.b8 99.b8 51.b8 50.b8 54.b8 52.b8 107.b8 113.b8 103.b8 111.b8 119.b8 108.b8 99.b8 114.b8 99.b8 109.b8 109.b8 53.b8 51.b8 98.b8 46.b8 112.b8 121.b8 0.b32 .debug_line // DW_AT_stmt_list.b8 47 // DW_AT_comp_dir.b8 119.b8 111.b8 114.b8 107.b8 115.b8 112.b8 97.b8 99.b8 101.b8 47.b8 104.b8 97.b8 110.b8 114.b8 117.b8 105.b8 47.b8 83.b8 112.b8 101.b8 99.b8 70.b8 111.b8 114.b8 103.b8 101.b8 45.b8 101.b8 120.b8 116.b8 47.b8 99.b8 97.b8 99.b8 104.b8 101.b8 47.b8 99.b8 111.b8 109.b8 112.b8 105.b8 108.b8 101.b8 100.b8 95.b8 107.b8 101.b8 114.b8 110.b8 101.b8 108.b8 115.b8 47.b8 107.b8 107.b8 0.b8 2 // Abbrev [2] 0x8b:0x38 DW_TAG_subprogram.b8 116 // DW_AT_name.b8 114.b8 105.b8 116.b8 111.b8 110.b8 95.b8 114.b8 101.b8 100.b8 95.b8 102.b8 117.b8 115.b8 101.b8 100.b8 95.b8 95.b8 116.b8 111.b8 95.b8 99.b8 111.b8 112.b8 121.b8 95.b8 99.b8 108.b8 111.b8 110.b8 101.b8 95.b8 115.b8 108.b8 105.b8 99.b8 101.b8 95.b8 115.b8 117.b8 109.b8 95.b8 116.b8 114.b8 97.b8 110.b8 115.b8 112.b8 111.b8 115.b8 101.b8 95.b8 53.b8 0.b8 1 // DW_AT_inline.b8 3 // Abbrev [3] 0xc3:0x2e DW_TAG_subprogram.b64 $L__func_begin0 // DW_AT_low_pc.b64 $L__func_end0 // DW_AT_high_pc.b32 139 // DW_AT_abstract_origin.b8 4 // Abbrev [4] 0xd8:0x18 DW_TAG_inlined_subroutine.b32 139 // DW_AT_abstract_origin.b64 $L__tmp1 // DW_AT_low_pc.b64 $L__tmp4 // DW_AT_high_pc.b8 1 // DW_AT_call_file.b8 41 // DW_AT_call_line.b8 25 // DW_AT_call_column.b8 0 // End Of Children Mark.b8 0 // End Of Children Mark } .section .debug_macinfo { }123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193#loc = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":18:0)#loc41 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":285:0)#loc43 = loc(unknown)#loc46 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":260:0)#loc50 = loc("in_ptr0"(#loc))#loc51 = loc("out_ptr1"(#loc))#loc52 = loc("ks0"(#loc))#loc53 = loc("ks1"(#loc))#loc54 = loc("xnumel"(#loc))#loc55 = loc("r0_numel"(#loc))#loc85 = loc("input"(#loc41))#loc86 = loc("a"(#loc46))#loc87 = loc("b"(#loc46))module { tt.func public @triton_red_fused__to_copy_clone_slice_sum_transpose_5(%in_ptr0: !tt.ptr<i32> {tt.divisibility = 16 : i32} loc("in_ptr0"(#loc)), %out_ptr1: !tt.ptr<i32> {tt.divisibility = 16 : i32} loc("out_ptr1"(#loc)), %ks0: i64 loc("ks0"(#loc)), %ks1: i64 loc("ks1"(#loc)), %xnumel: i32 loc("xnumel"(#loc)), %r0_numel: i32 loc("r0_numel"(#loc))) attributes {noinline = false} { %xoffset = tt.get_program_id x : i32 loc(#loc56) %xoffset_0 = arith.constant 32 : i32 loc(#loc57) %xoffset_1 = arith.constant 32 : i32 loc(#loc57) %xoffset_2 = arith.muli %xoffset, %xoffset_1 : i32 loc(#loc57) %xindex = tt.make_range {end = 32 : i32, start = 0 : i32} : tensor<32xi32> loc(#loc58) %xindex_3 = tt.expand_dims %xindex {axis = 1 : i32} : tensor<32xi32> -> tensor<32x1xi32> loc(#loc59) %xindex_4 = tt.splat %xoffset_2 : i32 -> tensor<32x1xi32> loc(#loc60) %xindex_5 = arith.addi %xindex_4, %xindex_3 : tensor<32x1xi32> loc(#loc60) %xmask = tt.splat %xnumel : i32 -> tensor<32x1xi32> loc(#loc61) %xmask_6 = arith.cmpi slt, %xindex_5, %xmask : tensor<32x1xi32> loc(#loc61) %r0_base = tt.make_range {end = 16 : i32, start = 0 : i32} : tensor<16xi32> loc(#loc62) %r0_base_7 = tt.expand_dims %r0_base {axis = 0 : i32} : tensor<16xi32> -> tensor<1x16xi32> loc(#loc63) %x0 = arith.extsi %xindex_5 : tensor<32x1xi32> to tensor<32x1xi64> loc(#loc64) %x0_8 = tt.splat %ks0 : i64 -> tensor<32x1xi64> loc(#loc64) %x0_9 = arith.remsi %x0, %x0_8 : tensor<32x1xi64> loc(#loc64) %x1 = arith.extsi %xindex_5 : tensor<32x1xi32> to tensor<32x1xi64> loc(#loc65) %x1_10 = tt.splat %ks0 : i64 -> tensor<32x1xi64> loc(#loc65) %x1_11 = arith.divsi %x1, %x1_10 : tensor<32x1xi64> loc(#loc65) %_tmp3 = arith.constant 0 : i64 loc(#loc66) %_tmp3_12 = arith.constant dense<0> : tensor<32x16xi64> loc(#loc66) %c0_i32 = arith.constant 0 : i32 loc(#loc12) %c16_i32 = arith.constant 16 : i32 loc(#loc12) %0 = arith.bitcast %c0_i32 : i32 to i32 loc(#loc12) %1 = arith.bitcast %r0_numel : i32 to i32 loc(#loc12) %2 = arith.bitcast %c16_i32 : i32 to i32 loc(#loc12) %3 = ub.poison : i32 loc(#loc12) %_tmp3_13 = scf.for %r0_offset = %0 to %1 step %2 iter_args(%_tmp3_18 = %_tmp3_12) -> (tensor<32x16xi64>) : i32 { %r0_index = tt.splat %r0_offset : i32 -> tensor<1x16xi32> loc(#loc68) %r0_index_19 = arith.addi %r0_index, %r0_base_7 : tensor<1x16xi32> loc(#loc68) %r0_mask = tt.splat %r0_numel : i32 -> tensor<1x16xi32> loc(#loc69) %r0_mask_20 = arith.cmpi slt, %r0_index_19, %r0_mask : tensor<1x16xi32> loc(#loc69) %tmp0 = arith.extsi %r0_index_19 : tensor<1x16xi32> to tensor<1x16xi64> loc(#loc70) %tmp0_21 = tt.splat %ks0 : i64 -> tensor<1x16xi64> loc(#loc70) %tmp0_22 = arith.muli %tmp0_21, %tmp0 : tensor<1x16xi64> loc(#loc70) %tmp0_23 = tt.broadcast %x0_9 : tensor<32x1xi64> -> tensor<32x16xi64> loc(#loc71) %tmp0_24 = tt.broadcast %tmp0_22 : tensor<1x16xi64> -> tensor<32x16xi64> loc(#loc71) %tmp0_25 = arith.addi %tmp0_23, %tmp0_24 : tensor<32x16xi64> loc(#loc71) %tmp0_26 = arith.muli %ks0, %ks1 : i64 loc(#loc72) %tmp0_27 = tt.splat %tmp0_26 : i64 -> tensor<32x1xi64> loc(#loc73) %tmp0_28 = arith.muli %tmp0_27, %x1_11 : tensor<32x1xi64> loc(#loc73) %tmp0_29 = tt.broadcast %tmp0_28 : tensor<32x1xi64> -> tensor<32x16xi64> loc(#loc74) %tmp0_30 = arith.addi %tmp0_25, %tmp0_29 : tensor<32x16xi64> loc(#loc74) %tmp0_31 = tt.splat %in_ptr0 : !tt.ptr<i32> -> tensor<32x16x!tt.ptr<i32>> loc(#loc75) %tmp0_32 = tt.addptr %tmp0_31, %tmp0_30 : tensor<32x16x!tt.ptr<i32>>, tensor<32x16xi64> loc(#loc75) %tmp0_33 = tt.broadcast %r0_mask_20 : tensor<1x16xi1> -> tensor<32x16xi1> loc(#loc76) %tmp0_34 = tt.broadcast %xmask_6 : tensor<32x1xi1> -> tensor<32x16xi1> loc(#loc76) %tmp0_35 = arith.andi %tmp0_33, %tmp0_34 : tensor<32x16xi1> loc(#loc76) %tmp0_36 = arith.constant 0.000000e+00 : f32 loc(#loc77) %tmp0_37 = arith.constant dense<0.000000e+00> : tensor<32x16xf32> loc(#loc77) %tmp0_38 = arith.fptosi %tmp0_37 : tensor<32x16xf32> to tensor<32x16xi32> loc(#loc77) %tmp0_39 = tt.load %tmp0_32, %tmp0_35, %tmp0_38 evictionPolicy = evict_last : tensor<32x16x!tt.ptr<i32>> loc(#loc77) %tmp1 = arith.extsi %tmp0_39 : tensor<32x16xi32> to tensor<32x16xi64> loc(#loc78) %tmp4 = arith.addi %_tmp3_18, %tmp1 : tensor<32x16xi64> loc(#loc79) %_tmp3_40 = tt.broadcast %r0_mask_20 : tensor<1x16xi1> -> tensor<32x16xi1> loc(#loc80) %_tmp3_41 = tt.broadcast %xmask_6 : tensor<32x1xi1> -> tensor<32x16xi1> loc(#loc80) %_tmp3_42 = arith.andi %_tmp3_40, %_tmp3_41 : tensor<32x16xi1> loc(#loc80) %_tmp3_43 = arith.select %_tmp3_42, %tmp4, %_tmp3_18 : tensor<32x16xi1>, tensor<32x16xi64> loc(#loc81) scf.yield %_tmp3_43 : tensor<32x16xi64> loc(#loc27) } loc(#loc67) %tmp3 = tt.call @"triton.language.standard.sum__i64S32_16S__(1,)cconstexpr_1__(2,)cconstexpr_False__(3,)cNone"(%_tmp3_13) : (tensor<32x16xi64>) -> tensor<32xi64> loc(#loc82) %tmp3_14 = tt.expand_dims %tmp3 {axis = 1 : i32} : tensor<32xi64> -> tensor<32x1xi64> loc(#loc83) %tmp5 = arith.trunci %tmp3_14 : tensor<32x1xi64> to tensor<32x1xi32> loc(#loc84) %c1_i32 = arith.constant 1 : i32 loc(#loc31) %4 = arith.extsi %c1_i32 : i32 to i64 loc(#loc31) %5 = arith.cmpi sge, %4, %ks0 : i64 loc(#loc31) %c1_i32_15 = arith.constant 1 : i32 loc(#loc32) %c1_i32_16 = arith.constant 1 : i32 loc(#loc32) %6 = arith.extui %5 : i1 to i32 loc(#loc32) %7 = arith.muli %c1_i32_16, %6 : i32 loc(#loc32) %c1_i32_17 = arith.constant 1 : i32 loc(#loc33) %8 = arith.extsi %c1_i32_17 : i32 to i64 loc(#loc33) %9 = arith.cmpi sgt, %ks0, %8 : i64 loc(#loc33) %10 = arith.extui %9 : i1 to i64 loc(#loc34) %11 = arith.muli %ks0, %10 : i64 loc(#loc34) %12 = arith.extsi %7 : i32 to i64 loc(#loc35) %13 = arith.addi %12, %11 : i64 loc(#loc35) %14 = tt.splat %13 : i64 -> tensor<32x1xi64> loc(#loc36) %15 = arith.muli %x1_11, %14 : tensor<32x1xi64> loc(#loc36) %16 = arith.addi %x0_9, %15 : tensor<32x1xi64> loc(#loc37) %17 = tt.splat %out_ptr1 : !tt.ptr<i32> -> tensor<32x1x!tt.ptr<i32>> loc(#loc38) %18 = tt.addptr %17, %16 : tensor<32x1x!tt.ptr<i32>>, tensor<32x1xi64> loc(#loc38) tt.store %18, %tmp5, %xmask_6 : tensor<32x1x!tt.ptr<i32>> loc(#loc39) tt.return loc(#loc40) } loc(#loc) tt.func private @"triton.language.standard.sum__i64S32_16S__(1,)cconstexpr_1__(2,)cconstexpr_False__(3,)cNone"(%input: tensor<32x16xi64> loc("input"(#loc41))) -> tensor<32xi64> attributes {noinline = false} { %0 = "tt.reduce"(%input) <{axis = 1 : i32}> ({ ^bb0(%arg1: i64 loc(unknown), %arg2: i64 loc(unknown)): %2 = tt.call @triton.language.standard._sum_combine__i64_i64__(%arg1, %arg2) : (i64, i64) -> i64 loc(#loc42) tt.reduce.return %2 : i64 loc(#loc42) }) : (tensor<32x16xi64>) -> tensor<32xi64> loc(#loc42) tt.return %0 : tensor<32xi64> loc(#loc44) ^bb1: // no predecessors %1 = ub.poison : tensor<32xi64> loc(#loc45) tt.return %1 : tensor<32xi64> loc(#loc45) } loc(#loc41) tt.func private @triton.language.standard._sum_combine__i64_i64__(%a: i64 loc("a"(#loc46)), %b: i64 loc("b"(#loc46))) -> i64 attributes {noinline = false} { %0 = arith.addi %a, %b : i64 loc(#loc47) tt.return %0 : i64 loc(#loc48) ^bb1: // no predecessors %1 = ub.poison : i64 loc(#loc49) tt.return %1 : i64 loc(#loc49) } loc(#loc46)} loc(#loc)#loc1 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":21:28)#loc2 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":21:33)#loc3 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":22:36)#loc4 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":22:44)#loc5 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":22:23)#loc6 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":23:21)#loc7 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":24:27)#loc8 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":24:37)#loc9 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":26:19)#loc10 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":27:19)#loc11 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":28:43)#loc12 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":30:40)#loc13 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":31:31)#loc14 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":32:29)#loc15 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:43)#loc16 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:39)#loc17 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:54)#loc18 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:58)#loc19 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:50)#loc20 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:34)#loc21 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:73)#loc22 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:63)#loc23 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":37:23)#loc24 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":39:23)#loc25 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":40:35)#loc26 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":40:48)#loc27 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":40:8)#loc28 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":41:25)#loc29 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":41:28)#loc30 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":42:19)#loc31 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:49)#loc32 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:41)#loc33 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:75)#loc34 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:66)#loc35 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:57)#loc36 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:34)#loc37 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:30)#loc38 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:25)#loc39 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:88)#loc40 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:4)#loc42 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":291:36)#loc44 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":291:11)#loc45 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":291:4)#loc47 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":261:15)#loc48 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":261:11)#loc49 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":261:4)#loc56 = loc("xoffset"(#loc1))#loc57 = loc("xoffset"(#loc2))#loc58 = loc("xindex"(#loc3))#loc59 = loc("xindex"(#loc4))#loc60 = loc("xindex"(#loc5))#loc61 = loc("xmask"(#loc6))#loc62 = loc("r0_base"(#loc7))#loc63 = loc("r0_base"(#loc8))#loc64 = loc("x0"(#loc9))#loc65 = loc("x1"(#loc10))#loc66 = loc("_tmp3"(#loc11))#loc67 = loc("_tmp3"(#loc12))#loc68 = loc("r0_index"(#loc13))#loc69 = loc("r0_mask"(#loc14))#loc70 = loc("tmp0"(#loc15))#loc71 = loc("tmp0"(#loc16))#loc72 = loc("tmp0"(#loc17))#loc73 = loc("tmp0"(#loc18))#loc74 = loc("tmp0"(#loc19))#loc75 = loc("tmp0"(#loc20))#loc76 = loc("tmp0"(#loc21))#loc77 = loc("tmp0"(#loc22))#loc78 = loc("tmp1"(#loc23))#loc79 = loc("tmp4"(#loc24))#loc80 = loc("_tmp3"(#loc25))#loc81 = loc("_tmp3"(#loc26))#loc82 = loc("tmp3"(#loc28))#loc83 = loc("tmp3"(#loc29))#loc84 = loc("tmp5"(#loc30))123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147#blocked = #ttg.blocked<{sizePerThread = [1, 1], threadsPerWarp = [32, 1], warpsPerCTA = [1, 4], order = [0, 1]}>#loc = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":18:0)#loc1 = loc(unknown)#loc26 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":41:25)#loc40 = loc("in_ptr0"(#loc))#loc41 = loc("out_ptr1"(#loc))#loc42 = loc("ks0"(#loc))#loc43 = loc("ks1"(#loc))#loc44 = loc("xnumel"(#loc))#loc45 = loc("r0_numel"(#loc))#loc68 = loc("tmp3"(#loc26))#loc73 = loc(callsite(#loc1 at #loc68))module attributes {"ttg.num-ctas" = 1 : i32, "ttg.num-warps" = 4 : i32, ttg.target = "cuda:90", "ttg.threads-per-warp" = 32 : i32} { tt.func public @triton_red_fused__to_copy_clone_slice_sum_transpose_5(%in_ptr0: !tt.ptr<i32> {tt.divisibility = 16 : i32} loc("in_ptr0"(#loc)), %out_ptr1: !tt.ptr<i32> {tt.divisibility = 16 : i32} loc("out_ptr1"(#loc)), %ks0: i64 loc("ks0"(#loc)), %ks1: i64 loc("ks1"(#loc)), %xnumel: i32 loc("xnumel"(#loc)), %r0_numel: i32 loc("r0_numel"(#loc))) attributes {noinline = false} { %cst = arith.constant dense<0> : tensor<32x16xi64, #blocked> loc(#loc1) %c0_i32 = arith.constant 0 : i32 loc(#loc1) %c16_i32 = arith.constant 16 : i32 loc(#loc1) %c1_i64 = arith.constant 1 : i64 loc(#loc1) %c32_i32 = arith.constant 32 : i32 loc(#loc1) %cst_0 = arith.constant dense<0> : tensor<32x16xi32, #blocked> loc(#loc1) %xoffset = tt.get_program_id x : i32 loc(#loc46) %xoffset_1 = arith.muli %xoffset, %c32_i32 : i32 loc(#loc47) %xindex = tt.make_range {end = 32 : i32, start = 0 : i32} : tensor<32xi32, #ttg.slice<{dim = 1, parent = #blocked}>> loc(#loc48) %xindex_2 = tt.expand_dims %xindex {axis = 1 : i32} : tensor<32xi32, #ttg.slice<{dim = 1, parent = #blocked}>> -> tensor<32x1xi32, #blocked> loc(#loc48) %xindex_3 = tt.splat %xoffset_1 : i32 -> tensor<32x1xi32, #blocked> loc(#loc49) %xindex_4 = arith.addi %xindex_3, %xindex_2 : tensor<32x1xi32, #blocked> loc(#loc49) %xmask = tt.splat %xnumel : i32 -> tensor<32x1xi32, #blocked> loc(#loc50) %xmask_5 = arith.cmpi slt, %xindex_4, %xmask : tensor<32x1xi32, #blocked> loc(#loc50) %r0_base = tt.make_range {end = 16 : i32, start = 0 : i32} : tensor<16xi32, #ttg.slice<{dim = 0, parent = #blocked}>> loc(#loc51) %r0_base_6 = tt.expand_dims %r0_base {axis = 0 : i32} : tensor<16xi32, #ttg.slice<{dim = 0, parent = #blocked}>> -> tensor<1x16xi32, #blocked> loc(#loc51) %x0 = arith.extsi %xindex_4 : tensor<32x1xi32, #blocked> to tensor<32x1xi64, #blocked> loc(#loc52) %x0_7 = tt.splat %ks0 : i64 -> tensor<32x1xi64, #blocked> loc(#loc52) %x0_8 = arith.remsi %x0, %x0_7 : tensor<32x1xi64, #blocked> loc(#loc52) %x1 = arith.divsi %x0, %x0_7 : tensor<32x1xi64, #blocked> loc(#loc53) %r0_mask = tt.splat %r0_numel : i32 -> tensor<1x16xi32, #blocked> loc(#loc54) %tmp0 = tt.splat %ks0 : i64 -> tensor<1x16xi64, #blocked> loc(#loc55) %tmp0_9 = tt.broadcast %x0_8 : tensor<32x1xi64, #blocked> -> tensor<32x16xi64, #blocked> loc(#loc56) %tmp0_10 = arith.muli %ks0, %ks1 : i64 loc(#loc57) %tmp0_11 = tt.splat %tmp0_10 : i64 -> tensor<32x1xi64, #blocked> loc(#loc58) %tmp0_12 = arith.muli %tmp0_11, %x1 : tensor<32x1xi64, #blocked> loc(#loc58) %tmp0_13 = tt.broadcast %tmp0_12 : tensor<32x1xi64, #blocked> -> tensor<32x16xi64, #blocked> loc(#loc59) %tmp0_14 = tt.splat %in_ptr0 : !tt.ptr<i32> -> tensor<32x16x!tt.ptr<i32>, #blocked> loc(#loc60) %tmp0_15 = tt.broadcast %xmask_5 : tensor<32x1xi1, #blocked> -> tensor<32x16xi1, #blocked> loc(#loc61) %_tmp3 = scf.for %_tmp3_17 = %c0_i32 to %r0_numel step %c16_i32 iter_args(%_tmp3_18 = %cst) -> (tensor<32x16xi64, #blocked>) : i32 { %r0_index = tt.splat %_tmp3_17 : i32 -> tensor<1x16xi32, #blocked> loc(#loc63) %r0_index_19 = arith.addi %r0_index, %r0_base_6 : tensor<1x16xi32, #blocked> loc(#loc63) %r0_mask_20 = arith.cmpi slt, %r0_index_19, %r0_mask : tensor<1x16xi32, #blocked> loc(#loc54) %tmp0_21 = arith.extsi %r0_index_19 : tensor<1x16xi32, #blocked> to tensor<1x16xi64, #blocked> loc(#loc55) %tmp0_22 = arith.muli %tmp0, %tmp0_21 : tensor<1x16xi64, #blocked> loc(#loc55) %tmp0_23 = tt.broadcast %tmp0_22 : tensor<1x16xi64, #blocked> -> tensor<32x16xi64, #blocked> loc(#loc56) %tmp0_24 = arith.addi %tmp0_9, %tmp0_23 : tensor<32x16xi64, #blocked> loc(#loc56) %tmp0_25 = arith.addi %tmp0_24, %tmp0_13 : tensor<32x16xi64, #blocked> loc(#loc59) %tmp0_26 = tt.addptr %tmp0_14, %tmp0_25 : tensor<32x16x!tt.ptr<i32>, #blocked>, tensor<32x16xi64, #blocked> loc(#loc60) %tmp0_27 = tt.broadcast %r0_mask_20 : tensor<1x16xi1, #blocked> -> tensor<32x16xi1, #blocked> loc(#loc61) %tmp0_28 = arith.andi %tmp0_27, %tmp0_15 : tensor<32x16xi1, #blocked> loc(#loc61) %tmp0_29 = tt.load %tmp0_26, %tmp0_28, %cst_0 evictionPolicy = evict_last : tensor<32x16x!tt.ptr<i32>, #blocked> loc(#loc64) %tmp1 = arith.extsi %tmp0_29 : tensor<32x16xi32, #blocked> to tensor<32x16xi64, #blocked> loc(#loc65) %tmp4 = arith.addi %_tmp3_18, %tmp1 : tensor<32x16xi64, #blocked> loc(#loc66) %_tmp3_30 = arith.select %tmp0_28, %tmp4, %_tmp3_18 : tensor<32x16xi1, #blocked>, tensor<32x16xi64, #blocked> loc(#loc67) scf.yield %_tmp3_30 : tensor<32x16xi64, #blocked> loc(#loc24) } loc(#loc62) %tmp3 = "tt.reduce"(%_tmp3) <{axis = 1 : i32}> ({ ^bb0(%tmp3_17: i64 loc(callsite(#loc1 at #loc68)), %tmp3_18: i64 loc(callsite(#loc1 at #loc68))): %tmp3_19 = arith.addi %tmp3_17, %tmp3_18 : i64 loc(#loc74) tt.reduce.return %tmp3_19 : i64 loc(#loc72) }) : (tensor<32x16xi64, #blocked>) -> tensor<32xi64, #ttg.slice<{dim = 1, parent = #blocked}>> loc(#loc72) %tmp3_16 = tt.expand_dims %tmp3 {axis = 1 : i32} : tensor<32xi64, #ttg.slice<{dim = 1, parent = #blocked}>> -> tensor<32x1xi64, #blocked> loc(#loc69) %tmp5 = arith.trunci %tmp3_16 : tensor<32x1xi64, #blocked> to tensor<32x1xi32, #blocked> loc(#loc70) %0 = arith.cmpi sle, %ks0, %c1_i64 : i64 loc(#loc30) %1 = arith.cmpi sgt, %ks0, %c1_i64 : i64 loc(#loc31) %2 = arith.extui %1 : i1 to i64 loc(#loc32) %3 = arith.muli %ks0, %2 : i64 loc(#loc32) %4 = arith.extui %0 : i1 to i64 loc(#loc71) %5 = arith.addi %4, %3 : i64 loc(#loc33) %6 = tt.splat %5 : i64 -> tensor<32x1xi64, #blocked> loc(#loc35) %7 = arith.muli %x1, %6 : tensor<32x1xi64, #blocked> loc(#loc35) %8 = arith.addi %x0_8, %7 : tensor<32x1xi64, #blocked> loc(#loc36) %9 = tt.splat %out_ptr1 : !tt.ptr<i32> -> tensor<32x1x!tt.ptr<i32>, #blocked> loc(#loc37) %10 = tt.addptr %9, %8 : tensor<32x1x!tt.ptr<i32>, #blocked>, tensor<32x1xi64, #blocked> loc(#loc37) tt.store %10, %tmp5, %xmask_5 : tensor<32x1x!tt.ptr<i32>, #blocked> loc(#loc38) tt.return loc(#loc39) } loc(#loc)} loc(#loc)#loc2 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":21:28)#loc3 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":21:33)#loc4 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":22:44)#loc5 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":22:23)#loc6 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":23:21)#loc7 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":24:37)#loc8 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":26:19)#loc9 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":27:19)#loc10 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":32:29)#loc11 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:43)#loc12 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:39)#loc13 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:54)#loc14 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:58)#loc15 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:50)#loc16 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:34)#loc17 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:73)#loc18 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":30:40)#loc19 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":31:31)#loc20 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:63)#loc21 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":37:23)#loc22 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":39:23)#loc23 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":40:48)#loc24 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":40:8)#loc25 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":291:36)#loc27 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":261:15)#loc28 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":41:28)#loc29 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":42:19)#loc30 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:49)#loc31 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:75)#loc32 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:66)#loc33 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:57)#loc34 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:41)#loc35 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:34)#loc36 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:30)#loc37 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:25)#loc38 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:88)#loc39 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:4)#loc46 = loc("xoffset"(#loc2))#loc47 = loc("xoffset"(#loc3))#loc48 = loc("xindex"(#loc4))#loc49 = loc("xindex"(#loc5))#loc50 = loc("xmask"(#loc6))#loc51 = loc("r0_base"(#loc7))#loc52 = loc("x0"(#loc8))#loc53 = loc("x1"(#loc9))#loc54 = loc("r0_mask"(#loc10))#loc55 = loc("tmp0"(#loc11))#loc56 = loc("tmp0"(#loc12))#loc57 = loc("tmp0"(#loc13))#loc58 = loc("tmp0"(#loc14))#loc59 = loc("tmp0"(#loc15))#loc60 = loc("tmp0"(#loc16))#loc61 = loc("tmp0"(#loc17))#loc62 = loc("_tmp3"(#loc18))#loc63 = loc("r0_index"(#loc19))#loc64 = loc("tmp0"(#loc20))#loc65 = loc("tmp1"(#loc21))#loc66 = loc("tmp4"(#loc22))#loc67 = loc("_tmp3"(#loc23))#loc69 = loc("tmp3"(#loc28))#loc70 = loc("tmp5"(#loc29))#loc71 = loc(fused[#loc33, #loc34])#loc72 = loc(callsite(#loc25 at #loc68))#loc74 = loc(callsite(#loc27 at #loc72))123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152#loc = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":18:0)#loc1 = loc(unknown)#loc29 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":41:25)#loc43 = loc("in_ptr0"(#loc))#loc44 = loc("out_ptr1"(#loc))#loc45 = loc("ks0"(#loc))#loc46 = loc("ks1"(#loc))#loc47 = loc("xnumel"(#loc))#loc48 = loc("r0_numel"(#loc))#loc74 = loc("tmp3"(#loc29))#loc79 = loc(callsite(#loc1 at #loc74))module { tt.func public @triton_red_fused__to_copy_clone_slice_sum_transpose_5(%in_ptr0: !tt.ptr<i32> {tt.divisibility = 16 : i32} loc("in_ptr0"(#loc)), %out_ptr1: !tt.ptr<i32> {tt.divisibility = 16 : i32} loc("out_ptr1"(#loc)), %ks0: i64 loc("ks0"(#loc)), %ks1: i64 loc("ks1"(#loc)), %xnumel: i32 loc("xnumel"(#loc)), %r0_numel: i32 loc("r0_numel"(#loc))) attributes {noinline = false} { %c1_i64 = arith.constant 1 : i64 loc(#loc1) %cst = arith.constant dense<0> : tensor<32x16xi32> loc(#loc1) %c16_i32 = arith.constant 16 : i32 loc(#loc2) %c0_i32 = arith.constant 0 : i32 loc(#loc2) %_tmp3 = arith.constant dense<0> : tensor<32x16xi64> loc(#loc49) %c32_i32 = arith.constant 32 : i32 loc(#loc1) %xoffset = tt.get_program_id x : i32 loc(#loc50) %xoffset_0 = arith.muli %xoffset, %c32_i32 : i32 loc(#loc51) %xindex = tt.make_range {end = 32 : i32, start = 0 : i32} : tensor<32xi32> loc(#loc52) %xindex_1 = tt.expand_dims %xindex {axis = 1 : i32} : tensor<32xi32> -> tensor<32x1xi32> loc(#loc53) %xindex_2 = tt.splat %xoffset_0 : i32 -> tensor<32x1xi32> loc(#loc54) %xindex_3 = arith.addi %xindex_2, %xindex_1 : tensor<32x1xi32> loc(#loc54) %xmask = tt.splat %xnumel : i32 -> tensor<32x1xi32> loc(#loc55) %xmask_4 = arith.cmpi slt, %xindex_3, %xmask : tensor<32x1xi32> loc(#loc55) %r0_base = tt.make_range {end = 16 : i32, start = 0 : i32} : tensor<16xi32> loc(#loc56) %r0_base_5 = tt.expand_dims %r0_base {axis = 0 : i32} : tensor<16xi32> -> tensor<1x16xi32> loc(#loc57) %x0 = arith.extsi %xindex_3 : tensor<32x1xi32> to tensor<32x1xi64> loc(#loc58) %x0_6 = tt.splat %ks0 : i64 -> tensor<32x1xi64> loc(#loc58) %x0_7 = arith.remsi %x0, %x0_6 : tensor<32x1xi64> loc(#loc58) %x1 = arith.divsi %x0, %x0_6 : tensor<32x1xi64> loc(#loc59) %_tmp3_8 = scf.for %r0_offset = %c0_i32 to %r0_numel step %c16_i32 iter_args(%_tmp3_10 = %_tmp3) -> (tensor<32x16xi64>) : i32 { %r0_index = tt.splat %r0_offset : i32 -> tensor<1x16xi32> loc(#loc61) %r0_index_11 = arith.addi %r0_index, %r0_base_5 : tensor<1x16xi32> loc(#loc61) %r0_mask = tt.splat %r0_numel : i32 -> tensor<1x16xi32> loc(#loc62) %r0_mask_12 = arith.cmpi slt, %r0_index_11, %r0_mask : tensor<1x16xi32> loc(#loc62) %tmp0 = arith.extsi %r0_index_11 : tensor<1x16xi32> to tensor<1x16xi64> loc(#loc63) %tmp0_13 = tt.splat %ks0 : i64 -> tensor<1x16xi64> loc(#loc63) %tmp0_14 = arith.muli %tmp0_13, %tmp0 : tensor<1x16xi64> loc(#loc63) %tmp0_15 = tt.broadcast %x0_7 : tensor<32x1xi64> -> tensor<32x16xi64> loc(#loc64) %tmp0_16 = tt.broadcast %tmp0_14 : tensor<1x16xi64> -> tensor<32x16xi64> loc(#loc64) %tmp0_17 = arith.addi %tmp0_15, %tmp0_16 : tensor<32x16xi64> loc(#loc64) %tmp0_18 = arith.muli %ks0, %ks1 : i64 loc(#loc65) %tmp0_19 = tt.splat %tmp0_18 : i64 -> tensor<32x1xi64> loc(#loc66) %tmp0_20 = arith.muli %tmp0_19, %x1 : tensor<32x1xi64> loc(#loc66) %tmp0_21 = tt.broadcast %tmp0_20 : tensor<32x1xi64> -> tensor<32x16xi64> loc(#loc67) %tmp0_22 = arith.addi %tmp0_17, %tmp0_21 : tensor<32x16xi64> loc(#loc67) %tmp0_23 = tt.splat %in_ptr0 : !tt.ptr<i32> -> tensor<32x16x!tt.ptr<i32>> loc(#loc68) %tmp0_24 = tt.addptr %tmp0_23, %tmp0_22 : tensor<32x16x!tt.ptr<i32>>, tensor<32x16xi64> loc(#loc68) %tmp0_25 = tt.broadcast %r0_mask_12 : tensor<1x16xi1> -> tensor<32x16xi1> loc(#loc69) %tmp0_26 = tt.broadcast %xmask_4 : tensor<32x1xi1> -> tensor<32x16xi1> loc(#loc69) %tmp0_27 = arith.andi %tmp0_25, %tmp0_26 : tensor<32x16xi1> loc(#loc69) %tmp0_28 = tt.load %tmp0_24, %tmp0_27, %cst evictionPolicy = evict_last : tensor<32x16x!tt.ptr<i32>> loc(#loc70) %tmp1 = arith.extsi %tmp0_28 : tensor<32x16xi32> to tensor<32x16xi64> loc(#loc71) %tmp4 = arith.addi %_tmp3_10, %tmp1 : tensor<32x16xi64> loc(#loc72) %_tmp3_29 = arith.select %tmp0_27, %tmp4, %_tmp3_10 : tensor<32x16xi1>, tensor<32x16xi64> loc(#loc73) scf.yield %_tmp3_29 : tensor<32x16xi64> loc(#loc27) } loc(#loc60) %tmp3 = "tt.reduce"(%_tmp3_8) <{axis = 1 : i32}> ({ ^bb0(%tmp3_10: i64 loc(callsite(#loc1 at #loc74)), %tmp3_11: i64 loc(callsite(#loc1 at #loc74))): %tmp3_12 = arith.addi %tmp3_10, %tmp3_11 : i64 loc(#loc80) tt.reduce.return %tmp3_12 : i64 loc(#loc78) }) : (tensor<32x16xi64>) -> tensor<32xi64> loc(#loc78) %tmp3_9 = tt.expand_dims %tmp3 {axis = 1 : i32} : tensor<32xi64> -> tensor<32x1xi64> loc(#loc75) %tmp5 = arith.trunci %tmp3_9 : tensor<32x1xi64> to tensor<32x1xi32> loc(#loc76) %0 = arith.cmpi sle, %ks0, %c1_i64 : i64 loc(#loc33) %1 = arith.cmpi sgt, %ks0, %c1_i64 : i64 loc(#loc34) %2 = arith.extui %1 : i1 to i64 loc(#loc35) %3 = arith.muli %ks0, %2 : i64 loc(#loc35) %4 = arith.extui %0 : i1 to i64 loc(#loc77) %5 = arith.addi %4, %3 : i64 loc(#loc36) %6 = tt.splat %5 : i64 -> tensor<32x1xi64> loc(#loc38) %7 = arith.muli %x1, %6 : tensor<32x1xi64> loc(#loc38) %8 = arith.addi %x0_7, %7 : tensor<32x1xi64> loc(#loc39) %9 = tt.splat %out_ptr1 : !tt.ptr<i32> -> tensor<32x1x!tt.ptr<i32>> loc(#loc40) %10 = tt.addptr %9, %8 : tensor<32x1x!tt.ptr<i32>>, tensor<32x1xi64> loc(#loc40) tt.store %10, %tmp5, %xmask_4 : tensor<32x1x!tt.ptr<i32>> loc(#loc41) tt.return loc(#loc42) } loc(#loc)} loc(#loc)#loc2 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":30:40)#loc3 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":28:43)#loc4 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":21:28)#loc5 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":21:33)#loc6 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":22:36)#loc7 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":22:44)#loc8 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":22:23)#loc9 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":23:21)#loc10 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":24:27)#loc11 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":24:37)#loc12 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":26:19)#loc13 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":27:19)#loc14 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":31:31)#loc15 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":32:29)#loc16 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:43)#loc17 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:39)#loc18 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:54)#loc19 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:58)#loc20 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:50)#loc21 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:34)#loc22 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:73)#loc23 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":36:63)#loc24 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":37:23)#loc25 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":39:23)#loc26 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":40:48)#loc27 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":40:8)#loc28 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":291:36)#loc30 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":261:15)#loc31 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":41:28)#loc32 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":42:19)#loc33 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:49)#loc34 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:75)#loc35 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:66)#loc36 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:57)#loc37 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:41)#loc38 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:34)#loc39 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:30)#loc40 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:25)#loc41 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:88)#loc42 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/kk/ckklxdmte7z2y72grm5gwa42pnmzupkmzc3264kqgowlcrcmm53b.py":43:4)#loc49 = loc("_tmp3"(#loc3))#loc50 = loc("xoffset"(#loc4))#loc51 = loc("xoffset"(#loc5))#loc52 = loc("xindex"(#loc6))#loc53 = loc("xindex"(#loc7))#loc54 = loc("xindex"(#loc8))#loc55 = loc("xmask"(#loc9))#loc56 = loc("r0_base"(#loc10))#loc57 = loc("r0_base"(#loc11))#loc58 = loc("x0"(#loc12))#loc59 = loc("x1"(#loc13))#loc60 = loc("_tmp3"(#loc2))#loc61 = loc("r0_index"(#loc14))#loc62 = loc("r0_mask"(#loc15))#loc63 = loc("tmp0"(#loc16))#loc64 = loc("tmp0"(#loc17))#loc65 = loc("tmp0"(#loc18))#loc66 = loc("tmp0"(#loc19))#loc67 = loc("tmp0"(#loc20))#loc68 = loc("tmp0"(#loc21))#loc69 = loc("tmp0"(#loc22))#loc70 = loc("tmp0"(#loc23))#loc71 = loc("tmp1"(#loc24))#loc72 = loc("tmp4"(#loc25))#loc73 = loc("_tmp3"(#loc26))#loc75 = loc("tmp3"(#loc31))#loc76 = loc("tmp5"(#loc32))#loc77 = loc(fused[#loc36, #loc37])#loc78 = loc(callsite(#loc28 at #loc74))#loc80 = loc(callsite(#loc30 at #loc78))1{"child_paths": {"triton_tem_fused_zeros_1.source": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/2J5U2YWHZDEYPTTFYZZF7L472MAKN4PYN3O5UNMFLMRH5VW6ZZQA/triton_tem_fused_zeros_1.source", "triton_tem_fused_zeros_1.ttir": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/2J5U2YWHZDEYPTTFYZZF7L472MAKN4PYN3O5UNMFLMRH5VW6ZZQA/triton_tem_fused_zeros_1.ttir", "triton_tem_fused_zeros_1.ttgir": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/2J5U2YWHZDEYPTTFYZZF7L472MAKN4PYN3O5UNMFLMRH5VW6ZZQA/triton_tem_fused_zeros_1.ttgir", "triton_tem_fused_zeros_1.llir": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/2J5U2YWHZDEYPTTFYZZF7L472MAKN4PYN3O5UNMFLMRH5VW6ZZQA/triton_tem_fused_zeros_1.llir", "triton_tem_fused_zeros_1.ptx": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/2J5U2YWHZDEYPTTFYZZF7L472MAKN4PYN3O5UNMFLMRH5VW6ZZQA/triton_tem_fused_zeros_1.ptx", "triton_tem_fused_zeros_1.cubin": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/2J5U2YWHZDEYPTTFYZZF7L472MAKN4PYN3O5UNMFLMRH5VW6ZZQA/triton_tem_fused_zeros_1.cubin", "triton_tem_fused_zeros_1.json": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/2J5U2YWHZDEYPTTFYZZF7L472MAKN4PYN3O5UNMFLMRH5VW6ZZQA/triton_tem_fused_zeros_1.json"}}1{"hash": "d27b4d62c7c8c987ce65c6725faf9fd300a6f1f86eddda35855b227ed6dece60", "target": {"backend": "cuda", "arch": 90, "warp_size": 32}, "num_warps": 8, "num_ctas": 1, "num_stages": 3, "warp_size": 32, "maxnreg": null, "cluster_dims": [1, 1, 1], "ptx_version": null, "ptx_options": null, "ir_override": null, "enable_fp_fusion": true, "launch_cooperative_grid": false, "launch_pdl": false, "supported_fp8_dtypes": ["fp8e4b15", "fp8e4nv", "fp8e5"], "deprecated_fp8_dot_operand_dtypes": ["fp8e4b15"], "default_dot_input_precision": "tf32", "allowed_dot_input_precisions": ["tf32", "tf32x3", "ieee"], "max_num_imprecise_acc_default": 1073741824, "extern_libs": [["libdevice", "/workspace/specforge/lib/python3.11/site-packages/triton/backends/nvidia/lib/libdevice.10.bc"]], "debug": true, "backend_name": "cuda", "sanitize_overflow": false, "arch": "sm90", "instrumentation_mode": "", "triton_version": "3.5.1", "tensordesc_meta": [], "shared": 164864, "tmem_size": 0, "global_scratch_size": 0, "global_scratch_align": 1, "profile_scratch_size": 0, "profile_scratch_align": 1, "name": "triton_tem_fused_zeros_1"}1{"child_paths": {"triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.source": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.source", "triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.ttir": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.ttir", "triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.ttgir": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.ttgir", "triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.llir": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.llir", "triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.ptx": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.ptx", "triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.cubin": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.cubin", "triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.json": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.json"}}1{"hash": "db4fe3a24d03312f3dea8e5ee7eb1a7c6d73f10bc6de254a208984a64d7fe777", "target": {"backend": "cuda", "arch": 90, "warp_size": 32}, "num_warps": 16, "num_ctas": 1, "num_stages": 1, "warp_size": 32, "maxnreg": null, "cluster_dims": [1, 1, 1], "ptx_version": null, "ptx_options": null, "ir_override": null, "enable_fp_fusion": true, "launch_cooperative_grid": false, "launch_pdl": false, "supported_fp8_dtypes": ["fp8e4b15", "fp8e4nv", "fp8e5"], "deprecated_fp8_dot_operand_dtypes": ["fp8e4b15"], "default_dot_input_precision": "tf32", "allowed_dot_input_precisions": ["tf32", "tf32x3", "ieee"], "max_num_imprecise_acc_default": 1073741824, "extern_libs": [["libdevice", "/workspace/specforge/lib/python3.11/site-packages/triton/backends/nvidia/lib/libdevice.10.bc"]], "debug": true, "backend_name": "cuda", "sanitize_overflow": false, "arch": "sm90", "instrumentation_mode": "", "triton_version": "3.5.1", "tensordesc_meta": [], "shared": 128, "tmem_size": 0, "global_scratch_size": 0, "global_scratch_align": 1, "profile_scratch_size": 0, "profile_scratch_align": 1, "name": "triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333; ModuleID = 'LLVMDialectModule'source_filename = "LLVMDialectModule"target datalayout = "e-p3:32:32-p4:32:32-p5:32:32-p6:32:32-p7:32:32-i64:64-i128:128-v16:16-v32:32-n16:32:64"
@global_smem = external addrspace(3) global [0 x i8], align 16
; Function Attrs: nounwinddefine ptx_kernel void @triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1(ptr addrspace(1) %0, ptr addrspace(1) %1, ptr addrspace(1) %2, i64 %3, i64 %4, i64 %5, i64 %6, i64 %7, i64 %8, i32 %9, i32 %10, ptr addrspace(1) readnone captures(none) %11, ptr addrspace(1) readnone captures(none) %12) local_unnamed_addr #0 !dbg !4 { %14 = tail call i32 @llvm.nvvm.read.ptx.sreg.ctaid.x(), !dbg !7 %15 = icmp slt i32 %14, %9, !dbg !8 %16 = tail call i32 @llvm.nvvm.read.ptx.sreg.tid.x(), !dbg !9 %17 = and i32 %16, 511, !dbg !9 %18 = zext nneg i32 %14 to i64, !dbg !10 %.frozen = freeze i64 %3, !dbg !10 %19 = sdiv i64 %18, %.frozen, !dbg !10 %20 = srem i64 %19, %4, !dbg !11 %21 = mul i64 %19, %.frozen, !dbg !12 %.decomposed = sub i64 %18, %21, !dbg !12 %22 = sdiv i64 %18, %7, !dbg !13 %23 = shl nsw i64 %20, 7, !dbg !14 %24 = shl nuw nsw i64 %.decomposed, 7, !dbg !15 %25 = getelementptr i64, ptr addrspace(1) %0, i64 %22, !dbg !16 %26 = and i32 %16, 127 %27 = zext nneg i32 %26 to i64 %28 = or disjoint i64 %24, %27 %29 = icmp slt i64 %28, %6 %30 = icmp sge i64 %28, %8 %31 = tail call i64 @llvm.smin.i64(i64 %8, i64 0) %32 = sub nsw i64 %.decomposed, %20 %33 = shl nsw i64 %32, 7 %34 = zext nneg i32 %17 to i64, !dbg !17 %35 = zext nneg i32 %26 to i64, !dbg !17 %36 = zext nneg i32 %16 to i64, !dbg !17 %37 = insertelement <4 x i1> poison, i1 %15, i64 0, !dbg !18 %38 = shufflevector <4 x i1> %37, <4 x i1> poison, <4 x i32> zeroinitializer, !dbg !18 %39 = insertelement <4 x i1> poison, i1 %29, i64 0, !dbg !19 %40 = shufflevector <4 x i1> %39, <4 x i1> poison, <4 x i32> zeroinitializer, !dbg !19 %41 = insertelement <4 x i64> poison, i64 %23, i64 0, !dbg !20 %42 = shufflevector <4 x i64> %41, <4 x i64> poison, <4 x i32> zeroinitializer, !dbg !20 %43 = insertelement <4 x i64> poison, i64 %5, i64 0, !dbg !21 %44 = shufflevector <4 x i64> %43, <4 x i64> poison, <4 x i32> zeroinitializer, !dbg !21 %45 = insertelement <4 x i64> poison, i64 %28, i64 0, !dbg !22 %46 = shufflevector <4 x i64> %45, <4 x i64> poison, <4 x i32> zeroinitializer, !dbg !22 %47 = insertelement <4 x i1> poison, i1 %30, i64 0, !dbg !23 %48 = shufflevector <4 x i1> %47, <4 x i1> poison, <4 x i32> zeroinitializer, !dbg !23 %49 = insertelement <4 x i64> poison, i64 %33, i64 0, !dbg !24 %50 = shufflevector <4 x i64> %49, <4 x i64> poison, <4 x i32> zeroinitializer, !dbg !24 %51 = insertelement <4 x i64> poison, i64 %8, i64 0, !dbg !25 %52 = shufflevector <4 x i64> %51, <4 x i64> poison, <4 x i32> zeroinitializer, !dbg !25 br label %53, !dbg !17
53: ; preds = %13, %53 %indvars.iv = phi i64 [ 0, %13 ], [ %indvars.iv.next, %53 ] %54 = phi <4 x i64> [ zeroinitializer, %13 ], [ %128, %53 ] %55 = or disjoint i64 %indvars.iv, %34, !dbg !26 %56 = or disjoint i64 %indvars.iv, %36, !dbg !26 %57 = lshr i64 %55, 7, !dbg !27 %58 = lshr i64 %56, 7, !dbg !27 %59 = trunc nuw nsw i64 %58 to i32, !dbg !27 %60 = or i32 %59, 4, !dbg !27 %61 = or disjoint i64 %57, 8, !dbg !27 %62 = or i32 %59, 12, !dbg !27 %63 = zext nneg i32 %60 to i64, !dbg !20 %64 = zext nneg i32 %62 to i64, !dbg !20 %65 = tail call i64 asm sideeffect "mov.u64 $0, 0x0;\0A\09createpolicy.fractional.L2::evict_last.b64 $0, 1.0;", "=l"() #5, !dbg !28 %66 = sub nsw i64 %35, %57, !dbg !29 %67 = sub nsw i32 %26, %60, !dbg !29 %68 = sub nsw i64 %35, %61, !dbg !29 %69 = sub nsw i32 %26, %62, !dbg !29 %70 = sext i32 %67 to i64, !dbg !30 %71 = sext i32 %69 to i64, !dbg !30 %72 = insertelement <4 x i64> poison, i64 %57, i64 0, !dbg !20 %73 = insertelement <4 x i64> %72, i64 %63, i64 1, !dbg !20 %74 = insertelement <4 x i64> %73, i64 %61, i64 2, !dbg !20 %75 = insertelement <4 x i64> %74, i64 %64, i64 3, !dbg !20 %76 = or disjoint <4 x i64> %42, %75, !dbg !20 %77 = icmp slt <4 x i64> %76, %44, !dbg !21 %78 = and <4 x i1> %40, %77, !dbg !19 %79 = icmp sge <4 x i64> %76, %46, !dbg !22 %80 = extractelement <4 x i1> %78, i64 0, !dbg !31 %81 = and i1 %15, %80, !dbg !31 %82 = extractelement <4 x i1> %78, i64 1, !dbg !31 %83 = and i1 %15, %82, !dbg !31 %84 = extractelement <4 x i1> %78, i64 2, !dbg !31 %85 = and i1 %15, %84, !dbg !31 %86 = extractelement <4 x i1> %78, i64 3, !dbg !31 %87 = and i1 %15, %86, !dbg !31 %88 = tail call i64 asm sideeffect "mov.u64 $0, 0x0;\0A\09@$3 ld.global.L1::evict_last.L2::cache_hint.b64 { $0 }, [ $1 + 0 ], $2;", "=l,l,l,b"(ptr addrspace(1) %25, i64 %65, i1 %81) #5, !dbg !28 %89 = tail call i64 asm sideeffect "mov.u64 $0, 0x0;\0A\09createpolicy.fractional.L2::evict_last.b64 $0, 1.0;", "=l"() #5, !dbg !28 %90 = tail call i64 asm sideeffect "mov.u64 $0, 0x0;\0A\09@$3 ld.global.L1::evict_last.L2::cache_hint.b64 { $0 }, [ $1 + 0 ], $2;", "=l,l,l,b"(ptr addrspace(1) %25, i64 %89, i1 %83) #5, !dbg !28 %91 = tail call i64 asm sideeffect "mov.u64 $0, 0x0;\0A\09createpolicy.fractional.L2::evict_last.b64 $0, 1.0;", "=l"() #5, !dbg !28 %92 = tail call i64 asm sideeffect "mov.u64 $0, 0x0;\0A\09@$3 ld.global.L1::evict_last.L2::cache_hint.b64 { $0 }, [ $1 + 0 ], $2;", "=l,l,l,b"(ptr addrspace(1) %25, i64 %91, i1 %85) #5, !dbg !28 %93 = tail call i64 asm sideeffect "mov.u64 $0, 0x0;\0A\09createpolicy.fractional.L2::evict_last.b64 $0, 1.0;", "=l"() #5, !dbg !28 %94 = tail call i64 asm sideeffect "mov.u64 $0, 0x0;\0A\09@$3 ld.global.L1::evict_last.L2::cache_hint.b64 { $0 }, [ $1 + 0 ], $2;", "=l,l,l,b"(ptr addrspace(1) %25, i64 %93, i1 %87) #5, !dbg !28 %95 = insertelement <4 x i64> poison, i64 %88, i64 0, !dbg !32 %96 = insertelement <4 x i64> %95, i64 %90, i64 1, !dbg !32 %97 = insertelement <4 x i64> %96, i64 %92, i64 2, !dbg !32 %98 = insertelement <4 x i64> %97, i64 %94, i64 3, !dbg !32 %99 = icmp slt <4 x i64> %46, %98, !dbg !32 %100 = icmp slt <4 x i64> %76, %98, !dbg !33 %101 = and <4 x i1> %99, %100, !dbg !34 %102 = and <4 x i1> %79, %101, !dbg !35 %103 = srem i64 %28, %8, !dbg !36 %.not = icmp eq i64 %103, 0, !dbg !37 %104 = select i1 %.not, i64 0, i64 %31, !dbg !38 %105 = add nsw i64 %104, %103, !dbg !38 %106 = insertelement <4 x i64> poison, i64 %105, i64 0, !dbg !39 %107 = shufflevector <4 x i64> %106, <4 x i64> poison, <4 x i32> zeroinitializer, !dbg !39 %108 = icmp slt <4 x i64> %107, %98, !dbg !39 %109 = insertelement <4 x i64> poison, i64 %66, i64 0, !dbg !24 %110 = insertelement <4 x i64> %109, i64 %70, i64 1, !dbg !24 %111 = insertelement <4 x i64> %110, i64 %68, i64 2, !dbg !24 %112 = insertelement <4 x i64> %111, i64 %71, i64 3, !dbg !24 %113 = add nsw <4 x i64> %50, %112, !dbg !24 %114 = srem <4 x i64> %113, %52, !dbg !25 %115 = icmp ne <4 x i64> %114, zeroinitializer, !dbg !40 %116 = xor <4 x i64> %114, %52, !dbg !41 %117 = icmp slt <4 x i64> %116, zeroinitializer, !dbg !41 %118 = and <4 x i1> %115, %117, !dbg !42 %119 = select <4 x i1> %118, <4 x i64> %52, <4 x i64> zeroinitializer, !dbg !43 %120 = sub <4 x i64> zeroinitializer, %119, !dbg !44 %121 = icmp eq <4 x i64> %114, %120, !dbg !44 %122 = and <4 x i1> %108, %121, !dbg !23 %123 = and <4 x i1> %48, %122, !dbg !23 %124 = or <4 x i1> %102, %123, !dbg !45 %125 = select <4 x i1> %38, <4 x i1> %78, <4 x i1> zeroinitializer, !dbg !18 %126 = select <4 x i1> %125, <4 x i1> %124, <4 x i1> zeroinitializer, !dbg !18 %127 = zext <4 x i1> %126 to <4 x i64>, !dbg !18 %128 = add <4 x i64> %54, %127, !dbg !18 %indvars.iv.next = add nuw nsw i64 %indvars.iv, 2048, !dbg !17 %129 = icmp samesign ult i64 %indvars.iv, 14336, !dbg !17 br i1 %129, label %53, label %130, !dbg !17
130: ; preds = %53 %131 = and i32 %16, 31, !dbg !9 %132 = lshr i32 %16, 5, !dbg !9 %133 = tail call i64 @llvm.vector.reduce.add.v4i64(<4 x i64> %128), !dbg !46 %extelt.offset = lshr i64 %133, 32, !dbg !50 %134 = trunc nuw i64 %extelt.offset to i32, !dbg !50 %135 = trunc i64 %133 to i32, !dbg !50 %136 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %135, i32 16, i32 31), !dbg !50 %137 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %134, i32 16, i32 31), !dbg !50 %138 = insertelement <2 x i32> poison, i32 %136, i64 0, !dbg !50 %139 = insertelement <2 x i32> %138, i32 %137, i64 1, !dbg !50 %140 = bitcast <2 x i32> %139 to i64, !dbg !50 %141 = add i64 %133, %140, !dbg !46 %extelt.offset1 = lshr i64 %141, 32, !dbg !50 %142 = trunc nuw i64 %extelt.offset1 to i32, !dbg !50 %143 = trunc i64 %141 to i32, !dbg !50 %144 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %143, i32 8, i32 31), !dbg !50 %145 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %142, i32 8, i32 31), !dbg !50 %146 = insertelement <2 x i32> poison, i32 %144, i64 0, !dbg !50 %147 = insertelement <2 x i32> %146, i32 %145, i64 1, !dbg !50 %148 = bitcast <2 x i32> %147 to i64, !dbg !50 %149 = add i64 %141, %148, !dbg !46 %extelt.offset2 = lshr i64 %149, 32, !dbg !50 %150 = trunc nuw i64 %extelt.offset2 to i32, !dbg !50 %151 = trunc i64 %149 to i32, !dbg !50 %152 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %151, i32 4, i32 31), !dbg !50 %153 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %150, i32 4, i32 31), !dbg !50 %154 = insertelement <2 x i32> poison, i32 %152, i64 0, !dbg !50 %155 = insertelement <2 x i32> %154, i32 %153, i64 1, !dbg !50 %156 = bitcast <2 x i32> %155 to i64, !dbg !50 %157 = add i64 %149, %156, !dbg !46 %extelt.offset3 = lshr i64 %157, 32, !dbg !50 %158 = trunc nuw i64 %extelt.offset3 to i32, !dbg !50 %159 = trunc i64 %157 to i32, !dbg !50 %160 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %159, i32 2, i32 31), !dbg !50 %161 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %158, i32 2, i32 31), !dbg !50 %162 = insertelement <2 x i32> poison, i32 %160, i64 0, !dbg !50 %163 = insertelement <2 x i32> %162, i32 %161, i64 1, !dbg !50 %164 = bitcast <2 x i32> %163 to i64, !dbg !50 %165 = add i64 %157, %164, !dbg !46 %extelt.offset4 = lshr i64 %165, 32, !dbg !50 %166 = trunc nuw i64 %extelt.offset4 to i32, !dbg !50 %167 = trunc i64 %165 to i32, !dbg !50 %168 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %167, i32 1, i32 31), !dbg !50 %169 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %166, i32 1, i32 31), !dbg !50 %170 = insertelement <2 x i32> poison, i32 %168, i64 0, !dbg !50 %171 = insertelement <2 x i32> %170, i32 %169, i64 1, !dbg !50 %172 = bitcast <2 x i32> %171 to i64, !dbg !50 %173 = add i64 %165, %172, !dbg !46 %174 = and i32 %132, 15, !dbg !50 %175 = icmp eq i32 %131, 0, !dbg !50 %176 = getelementptr i64, ptr addrspace(3) @global_smem, i32 %174, !dbg !50 %177 = insertelement <1 x i64> poison, i64 %173, i64 0, !dbg !50 tail call void asm sideeffect "@$2 st.shared.b64 [ $0 + 0 ], $1;", "r,l,b"(ptr addrspace(3) %176, <1 x i64> %177, i1 %175) #5, !dbg !50 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !50 %178 = icmp samesign ult i32 %16, 16, !dbg !50 %179 = getelementptr i64, ptr addrspace(3) @global_smem, i32 %16, !dbg !50 %180 = tail call i64 asm sideeffect "@$2 ld.shared.b64 $0, [ $1 + 0 ];", "=l,r,b"(ptr addrspace(3) %179, i1 %178) #5, !dbg !50 %extelt.offset5 = lshr i64 %180, 32, !dbg !50 %181 = trunc nuw i64 %extelt.offset5 to i32, !dbg !50 %182 = trunc i64 %180 to i32, !dbg !50 %183 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %182, i32 8, i32 31), !dbg !50 %184 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %181, i32 8, i32 31), !dbg !50 %185 = insertelement <2 x i32> poison, i32 %183, i64 0, !dbg !50 %186 = insertelement <2 x i32> %185, i32 %184, i64 1, !dbg !50 %187 = bitcast <2 x i32> %186 to i64, !dbg !50 %188 = add i64 %180, %187, !dbg !46 %extelt.offset6 = lshr i64 %188, 32, !dbg !50 %189 = trunc nuw i64 %extelt.offset6 to i32, !dbg !50 %190 = trunc i64 %188 to i32, !dbg !50 %191 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %190, i32 4, i32 31), !dbg !50 %192 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %189, i32 4, i32 31), !dbg !50 %193 = insertelement <2 x i32> poison, i32 %191, i64 0, !dbg !50 %194 = insertelement <2 x i32> %193, i32 %192, i64 1, !dbg !50 %195 = bitcast <2 x i32> %194 to i64, !dbg !50 %196 = add i64 %188, %195, !dbg !46 %extelt.offset7 = lshr i64 %196, 32, !dbg !50 %197 = trunc nuw i64 %extelt.offset7 to i32, !dbg !50 %198 = trunc i64 %196 to i32, !dbg !50 %199 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %198, i32 2, i32 31), !dbg !50 %200 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %197, i32 2, i32 31), !dbg !50 %201 = insertelement <2 x i32> poison, i32 %199, i64 0, !dbg !50 %202 = insertelement <2 x i32> %201, i32 %200, i64 1, !dbg !50 %203 = bitcast <2 x i32> %202 to i64, !dbg !50 %204 = add i64 %196, %203, !dbg !46 %extelt.offset8 = lshr i64 %204, 32, !dbg !50 %205 = trunc nuw i64 %extelt.offset8 to i32, !dbg !50 %206 = trunc i64 %204 to i32, !dbg !50 %207 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %206, i32 1, i32 31), !dbg !50 %208 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %205, i32 1, i32 31), !dbg !50 %209 = insertelement <2 x i32> poison, i32 %207, i64 0, !dbg !50 %210 = insertelement <2 x i32> %209, i32 %208, i64 1, !dbg !50 %211 = bitcast <2 x i32> %210 to i64, !dbg !50 %212 = add i64 %204, %211, !dbg !46 %213 = icmp eq i32 %16, 0, !dbg !50 %214 = insertelement <1 x i64> poison, i64 %212, i64 0, !dbg !50 tail call void asm sideeffect "@$2 st.shared.b64 [ $0 + 0 ], $1;", "r,l,b"(ptr addrspace(3) %179, <1 x i64> %214, i1 %213) #5, !dbg !50 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !50 %215 = load i64, ptr addrspace(3) @global_smem, align 16, !dbg !50 %216 = add i64 %215, -1, !dbg !51 %217 = icmp ult i64 %216, 16383, !dbg !51 %218 = zext i1 %217 to i32, !dbg !52 %219 = icmp eq i64 %215, 16384, !dbg !53 %220 = zext i1 %219 to i32, !dbg !52 %221 = getelementptr i32, ptr addrspace(1) %1, i64 %18, !dbg !54 %222 = icmp eq i32 %17, 0, !dbg !55 %223 = and i1 %222, %15, !dbg !55 tail call void asm sideeffect "@$2 st.global.b32 [ $1 + 0 ], { $0 };", "r,l,b"(i32 %218, ptr addrspace(1) %221, i1 %223) #5, !dbg !55 %224 = getelementptr i32, ptr addrspace(1) %2, i64 %18, !dbg !56 tail call void asm sideeffect "@$2 st.global.b32 [ $1 + 0 ], { $0 };", "r,l,b"(i32 %220, ptr addrspace(1) %224, i1 %223) #5, !dbg !57 ret void, !dbg !58}
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)declare noundef range(i32 0, 2147483647) i32 @llvm.nvvm.read.ptx.sreg.ctaid.x() #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)declare noundef range(i32 0, 1024) i32 @llvm.nvvm.read.ptx.sreg.tid.x() #1
; Function Attrs: convergent nocallback nounwind memory(inaccessiblemem: readwrite)declare i32 @llvm.nvvm.shfl.sync.bfly.i32(i32, i32, i32, i32) #2
; Function Attrs: convergent nocallback nounwinddeclare void @llvm.nvvm.barrier.cta.sync.aligned.all(i32) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)declare i64 @llvm.smin.i64(i64, i64) #4
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)declare i64 @llvm.vector.reduce.add.v4i64(<4 x i64>) #4
attributes #0 = { nounwind "nvvm.reqntid"="512" }attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }attributes #2 = { convergent nocallback nounwind memory(inaccessiblemem: readwrite) }attributes #3 = { convergent nocallback nounwind }attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }attributes #5 = { nounwind }
!llvm.dbg.cu = !{!0}!llvm.module.flags = !{!2, !3}
!0 = distinct !DICompileUnit(language: DW_LANG_C, file: !1, producer: "triton", isOptimized: true, runtimeVersion: 0, emissionKind: LineTablesOnly)!1 = !DIFile(filename: "cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py", directory: "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by")!2 = !{i32 2, !"Debug Info Version", i32 3}!3 = !{i32 4, !"nvvm-reflect-ftz", i32 1}!4 = distinct !DISubprogram(name: "triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1", linkageName: "triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1", scope: !1, file: !1, line: 18, type: !5, scopeLine: 18, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0)!5 = !DISubroutineType(cc: DW_CC_normal, types: !6)!6 = !{}!7 = !DILocation(line: 22, column: 28, scope: !4)!8 = !DILocation(line: 24, column: 21, scope: !4)!9 = !DILocation(line: 25, column: 37, scope: !4)!10 = !DILocation(line: 27, column: 21, scope: !4)!11 = !DILocation(line: 27, column: 28, scope: !4)!12 = !DILocation(line: 28, column: 19, scope: !4)!13 = !DILocation(line: 29, column: 19, scope: !4)!14 = !DILocation(line: 39, column: 26, scope: !4)!15 = !DILocation(line: 42, column: 26, scope: !4)!16 = !DILocation(line: 49, column: 35, scope: !4)!17 = !DILocation(line: 32, column: 40, scope: !4)!18 = !DILocation(line: 86, column: 50, scope: !4)!19 = !DILocation(line: 45, column: 22, scope: !4)!20 = !DILocation(line: 39, column: 22, scope: !4)!21 = !DILocation(line: 41, column: 22, scope: !4)!22 = !DILocation(line: 48, column: 23, scope: !4)!23 = !DILocation(line: 79, column: 24, scope: !4)!24 = !DILocation(line: 69, column: 51, scope: !4)!25 = !DILocation(line: 70, column: 25, scope: !4)!26 = !DILocation(line: 33, column: 31, scope: !4)!27 = !DILocation(line: 37, column: 27, scope: !4)!28 = !DILocation(line: 49, column: 77, scope: !4)!29 = !DILocation(line: 69, column: 24, scope: !4)!30 = !DILocation(line: 69, column: 38, scope: !4)!31 = !DILocation(line: 49, column: 94, scope: !4)!32 = !DILocation(line: 50, column: 23, scope: !4)!33 = !DILocation(line: 51, column: 23, scope: !4)!34 = !DILocation(line: 52, column: 24, scope: !4)!35 = !DILocation(line: 53, column: 23, scope: !4)!36 = !DILocation(line: 58, column: 24, scope: !4)!37 = !DILocation(line: 60, column: 25, scope: !4)!38 = !DILocation(line: 66, column: 39, scope: !4)!39 = !DILocation(line: 67, column: 24, scope: !4)!40 = !DILocation(line: 71, column: 25, scope: !4)!41 = !DILocation(line: 73, column: 25, scope: !4)!42 = !DILocation(line: 74, column: 24, scope: !4)!43 = !DILocation(line: 76, column: 39, scope: !4)!44 = !DILocation(line: 78, column: 25, scope: !4)!45 = !DILocation(line: 80, column: 24, scope: !4)!46 = !DILocation(line: 261, column: 15, scope: !47, inlinedAt: !49)!47 = distinct !DILexicalBlockFile(scope: !4, file: !48, discriminator: 0)!48 = !DIFile(filename: "standard.py", directory: "/workspace/specforge/lib/python3.11/site-packages/triton/language")!49 = !DILocation(line: 87, column: 27, scope: !4)!50 = !DILocation(line: 291, column: 36, scope: !47, inlinedAt: !49)!51 = !DILocation(line: 92, column: 20, scope: !4)!52 = !DILocation(line: 0, scope: !4)!53 = !DILocation(line: 95, column: 21, scope: !4)!54 = !DILocation(line: 98, column: 25, scope: !4)!55 = !DILocation(line: 98, column: 37, scope: !4)!56 = !DILocation(line: 99, column: 25, scope: !4)!57 = !DILocation(line: 99, column: 37, scope: !4)!58 = !DILocation(line: 99, column: 4, scope: !4)123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809//// Generated by LLVM NVPTX Back-End//
.version 8.7.target sm_90a.address_size 64
// .globl triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1 // -- Begin function triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.extern .shared .align 16 .b8 global_smem[]; // @triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.visible .entry triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1( .param .u64 .ptr .global .align 1 triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_0, .param .u64 .ptr .global .align 1 triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_1, .param .u64 .ptr .global .align 1 triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_2, .param .u64 triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_3, .param .u64 triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_4, .param .u64 triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_5, .param .u64 triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_6, .param .u64 triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_7, .param .u64 triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_8, .param .u32 triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_9, .param .u32 triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_10, .param .u64 .ptr .global .align 1 triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_11, .param .u64 .ptr .global .align 1 triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_12).reqntid 512{ .reg .pred %p<89>; .reg .b32 %r<77>; .reg .b64 %rd<216>; .loc 1 18 0 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:18:0$L__func_begin0: .loc 1 18 0 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:18:0
// %bb.0: ld.param.b64 %rd65, [triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_4];$L__tmp0: .loc 1 22 28 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:22:28 mov.u32 %r8, %ctaid.x; ld.param.b64 %rd70, [triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_3]; .loc 1 27 21 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:27:21 cvt.u64.u32 %rd1, %r8; and.b64 %rd71, %rd70, -4294967296; setp.ne.b64 %p21, %rd71, 0; cvt.u32.u64 %r75, %rd1; @%p21 bra $L__BB0_2; bra.uni $L__BB0_1;$L__BB0_2: div.s64 %rd205, %rd1, %rd70; bra.uni $L__BB0_3;$L__BB0_1: cvt.u32.u64 %r9, %rd70; div.u32 %r11, %r75, %r9; cvt.u64.u32 %rd205, %r11;$L__BB0_3: .loc 1 0 21 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:0:21 mov.u32 %r1, %tid.x; ld.param.b64 %rd68, [triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_7]; .loc 1 27 28 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:27:28 or.b64 %rd72, %rd205, %rd65; and.b64 %rd73, %rd72, -4294967296; setp.ne.b64 %p22, %rd73, 0; @%p22 bra $L__BB0_5; bra.uni $L__BB0_4;$L__BB0_5: rem.s64 %rd206, %rd205, %rd65; bra.uni $L__BB0_6;$L__BB0_4: cvt.u32.u64 %r12, %rd65; cvt.u32.u64 %r13, %rd205; rem.u32 %r14, %r13, %r12; cvt.u64.u32 %rd206, %r14;$L__BB0_6: .loc 1 0 28 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:0:28 ld.param.b32 %r7, [triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_9]; ld.param.b64 %rd69, [triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_8]; ld.param.b64 %rd67, [triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_6]; ld.param.b64 %rd62, [triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_0]; and.b32 %r2, %r1, 511; .loc 1 28 19 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:28:19 mul.lo.s64 %rd74, %rd205, %rd70; sub.s64 %rd9, %rd1, %rd74; .loc 1 29 19 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:29:19 and.b64 %rd75, %rd68, -4294967296; setp.ne.b64 %p23, %rd75, 0; @%p23 bra $L__BB0_8; bra.uni $L__BB0_7;$L__BB0_8: div.s64 %rd207, %rd1, %rd68; bra.uni $L__BB0_9;$L__BB0_7: cvt.u32.u64 %r15, %rd68; div.u32 %r17, %r75, %r15; cvt.u64.u32 %rd207, %r17;$L__BB0_9: .loc 1 0 19 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:0:19 ld.param.b64 %rd66, [triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_5]; ld.param.b64 %rd64, [triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_2]; ld.param.b64 %rd63, [triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1_param_1]; .loc 1 24 21 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:24:21 setp.lt.s32 %p1, %r75, %r7; .loc 1 39 26 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:39:26 shl.b64 %rd16, %rd206, 7; .loc 1 42 26 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:42:26 shl.b64 %rd81, %rd9, 7; .loc 1 49 35 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:49:35 shl.b64 %rd82, %rd207, 3; add.s64 %rd90, %rd62, %rd82; and.b32 %r3, %r1, 127; cvt.u64.u32 %rd83, %r3; or.b64 %rd24, %rd81, %rd83; setp.lt.s64 %p5, %rd24, %rd67; setp.ge.s64 %p9, %rd24, %rd69; min.s64 %rd15, %rd69, 0; sub.s64 %rd84, %rd9, %rd206; shl.b64 %rd28, %rd84, 7; .loc 1 32 40 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:32:40 cvt.u64.u32 %rd85, %r2; cvt.u64.u32 %rd86, %r1; shr.u64 %rd87, %rd86, 7; cvt.u32.u64 %r76, %rd87; shr.u64 %rd209, %rd85, 7; sub.s64 %rd208, %rd83, %rd209; mov.b64 %rd211, 0; mov.b64 %rd210, -2048; mov.b64 %rd212, %rd211; mov.b64 %rd213, %rd211; mov.b64 %rd214, %rd211; bra.uni $L__BB0_10;$L__BB0_12: // in Loop: Header=BB0_10 Depth=1 .loc 1 58 24 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:58:24 rem.s64 %rd215, %rd24, %rd69;$L__BB0_13: // in Loop: Header=BB0_10 Depth=1 .loc 1 0 0 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:0 sub.s32 %r22, %r3, %r20; add.s64 %rd45, %rd208, -8; sub.s32 %r23, %r3, %r21; cvt.s64.s32 %rd46, %r22; cvt.s64.s32 %rd47, %r23; .loc 1 60 25 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:60:25 setp.eq.b64 %p42, %rd215, 0; .loc 1 66 39 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:66:39 selp.b64 %rd117, 0, %rd15, %p42; add.s64 %rd118, %rd117, %rd215; .loc 1 67 24 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:67:24 setp.lt.s64 %p43, %rd118, %rd89; setp.lt.s64 %p44, %rd118, %rd93; setp.lt.s64 %p45, %rd118, %rd97; setp.lt.s64 %p46, %rd118, %rd101; .loc 1 69 51 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:69:51 add.s64 %rd119, %rd28, %rd47; add.s64 %rd120, %rd28, %rd45; add.s64 %rd121, %rd28, %rd46; add.s64 %rd122, %rd28, %rd208; .loc 1 70 25 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:70:25 rem.s64 %rd123, %rd122, %rd69; rem.s64 %rd124, %rd121, %rd69; rem.s64 %rd125, %rd120, %rd69; rem.s64 %rd126, %rd119, %rd69; .loc 1 71 25 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:71:25 setp.ne.b64 %p47, %rd126, 0; setp.ne.b64 %p48, %rd125, 0; setp.ne.b64 %p49, %rd124, 0; setp.ne.b64 %p50, %rd123, 0; .loc 1 73 25 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:73:25 xor.b64 %rd127, %rd126, %rd69; xor.b64 %rd128, %rd125, %rd69; xor.b64 %rd129, %rd124, %rd69; xor.b64 %rd130, %rd123, %rd69; .loc 1 76 39 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:76:39 shr.s64 %rd131, %rd130, 63; and.b64 %rd132, %rd131, %rd69; selp.b64 %rd133, %rd132, 0, %p50; shr.s64 %rd134, %rd129, 63; and.b64 %rd135, %rd134, %rd69; selp.b64 %rd136, %rd135, 0, %p49; shr.s64 %rd137, %rd128, 63; and.b64 %rd138, %rd137, %rd69; selp.b64 %rd139, %rd138, 0, %p48; shr.s64 %rd140, %rd127, 63; and.b64 %rd141, %rd140, %rd69; selp.b64 %rd142, %rd141, 0, %p47; .loc 1 78 25 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:78:25 neg.s64 %rd143, %rd142; neg.s64 %rd144, %rd139; neg.s64 %rd145, %rd136; neg.s64 %rd146, %rd133; setp.eq.b64 %p51, %rd123, %rd146; setp.eq.b64 %p52, %rd124, %rd145; setp.eq.b64 %p53, %rd125, %rd144; setp.eq.b64 %p54, %rd126, %rd143; .loc 1 79 24 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:79:24 and.pred %p55, %p46, %p54; and.pred %p57, %p45, %p53; and.pred %p59, %p44, %p52; and.pred %p61, %p43, %p51; and.pred %p63, %p9, %p61; and.pred %p64, %p9, %p59; and.pred %p65, %p9, %p57; and.pred %p66, %p9, %p55; .loc 1 80 24 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:80:24 or.pred %p67, %p20, %p66; or.pred %p68, %p19, %p65; or.pred %p69, %p18, %p64; or.pred %p70, %p17, %p63; .loc 1 86 50 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:86:50 and.pred %p75, %p24, %p70; and.pred %p76, %p25, %p69; and.pred %p77, %p26, %p68; and.pred %p78, %p27, %p67; selp.b64 %rd147, 1, 0, %p78; selp.b64 %rd148, 1, 0, %p77; selp.b64 %rd149, 1, 0, %p76; selp.b64 %rd150, 1, 0, %p75; add.s64 %rd211, %rd211, %rd150; add.s64 %rd212, %rd212, %rd149; add.s64 %rd213, %rd213, %rd148; add.s64 %rd214, %rd214, %rd147; .loc 1 32 40 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:32:40 add.s64 %rd210, %rd210, 2048; add.s32 %r76, %r76, 16; add.s64 %rd209, %rd209, 16; add.s64 %rd208, %rd208, -16; setp.lt.u64 %p79, %rd210, 14336; @%p79 bra $L__BB0_10; bra.uni $L__BB0_14;$L__BB0_10: // =>This Inner Loop Header: Depth=1 .loc 1 37 27 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:37:27 or.b32 %r20, %r76, 4; add.s64 %rd104, %rd209, %rd16; or.b32 %r21, %r76, 12; .loc 1 39 22 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:39:22 cvt.u64.u32 %rd105, %r20; cvt.u64.u32 %rd106, %r21; .loc 1 49 77 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:49:77 // begin inline asm mov.u64 %rd88, 0x0; createpolicy.fractional.L2::evict_last.b64 %rd88, 1.0; // end inline asm .loc 1 39 22 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:39:22 or.b64 %rd107, %rd16, %rd106; add.s64 %rd108, %rd104, 8; or.b64 %rd109, %rd16, %rd105; or.b64 %rd110, %rd16, %rd209; .loc 1 41 22 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:41:22 setp.lt.s64 %p29, %rd110, %rd66; setp.lt.s64 %p30, %rd109, %rd66; setp.lt.s64 %p31, %rd108, %rd66; setp.lt.s64 %p32, %rd107, %rd66; .loc 1 45 22 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:45:22 and.pred %p16, %p5, %p32; and.pred %p15, %p5, %p31; and.pred %p14, %p5, %p30; and.pred %p13, %p5, %p29; .loc 1 48 23 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:48:23 setp.ge.s64 %p33, %rd107, %rd24; setp.ge.s64 %p34, %rd108, %rd24; setp.ge.s64 %p35, %rd109, %rd24; setp.ge.s64 %p36, %rd110, %rd24; .loc 1 49 94 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:49:94 and.pred %p24, %p1, %p13; and.pred %p25, %p1, %p14; and.pred %p26, %p1, %p15; and.pred %p27, %p1, %p16; .loc 1 49 77 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:49:77 // begin inline asm mov.u64 %rd89, 0x0; @%p24 ld.global.L1::evict_last.L2::cache_hint.b64 { %rd89 }, [ %rd90 + 0 ], %rd88; // end inline asm // begin inline asm mov.u64 %rd92, 0x0; createpolicy.fractional.L2::evict_last.b64 %rd92, 1.0; // end inline asm // begin inline asm mov.u64 %rd93, 0x0; @%p25 ld.global.L1::evict_last.L2::cache_hint.b64 { %rd93 }, [ %rd90 + 0 ], %rd92; // end inline asm // begin inline asm mov.u64 %rd96, 0x0; createpolicy.fractional.L2::evict_last.b64 %rd96, 1.0; // end inline asm // begin inline asm mov.u64 %rd97, 0x0; @%p26 ld.global.L1::evict_last.L2::cache_hint.b64 { %rd97 }, [ %rd90 + 0 ], %rd96; // end inline asm // begin inline asm mov.u64 %rd100, 0x0; createpolicy.fractional.L2::evict_last.b64 %rd100, 1.0; // end inline asm // begin inline asm mov.u64 %rd101, 0x0; @%p27 ld.global.L1::evict_last.L2::cache_hint.b64 { %rd101 }, [ %rd90 + 0 ], %rd100; // end inline asm .loc 1 52 24 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:52:24 max.s64 %rd111, %rd24, %rd107; setp.lt.s64 %p37, %rd111, %rd101; max.s64 %rd112, %rd24, %rd108; setp.lt.s64 %p38, %rd112, %rd97; max.s64 %rd113, %rd24, %rd109; setp.lt.s64 %p39, %rd113, %rd93; max.s64 %rd114, %rd24, %rd110; setp.lt.s64 %p40, %rd114, %rd89; .loc 1 53 23 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:53:23 and.pred %p17, %p36, %p40; and.pred %p18, %p35, %p39; and.pred %p19, %p34, %p38; and.pred %p20, %p33, %p37; .loc 1 58 24 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:58:24 or.b64 %rd115, %rd24, %rd69; and.b64 %rd116, %rd115, -4294967296; setp.ne.b64 %p41, %rd116, 0; @%p41 bra $L__BB0_12;// %bb.11: // in Loop: Header=BB0_10 Depth=1 cvt.u32.u64 %r24, %rd69; cvt.u32.u64 %r25, %rd24; rem.u32 %r26, %r25, %r24; cvt.u64.u32 %rd215, %r26; bra.uni $L__BB0_13;$L__BB0_14: .loc 1 25 37 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:25:37 and.b32 %r33, %r1, 31;$L__tmp1: .loc 2 261 15 // standard.py:261:15 @[ cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:87:27 ] add.s64 %rd156, %rd211, %rd213; add.s64 %rd157, %rd212, %rd214; add.s64 %rd158, %rd156, %rd157; .loc 2 291 36 // standard.py:291:36 @[ cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:87:27 ] mov.b64 {_, %r34}, %rd158; cvt.u32.u64 %r35, %rd158; shfl.sync.bfly.b32 %r36, %r35, 16, 31, -1; shfl.sync.bfly.b32 %r37, %r34, 16, 31, -1; cvt.u64.u32 %rd159, %r36; cvt.u64.u32 %rd160, %r37; shl.b64 %rd161, %rd160, 32; or.b64 %rd162, %rd159, %rd161; .loc 2 261 15 // standard.py:261:15 @[ cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:87:27 ] add.s64 %rd163, %rd158, %rd162; .loc 2 291 36 // standard.py:291:36 @[ cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:87:27 ] mov.b64 {_, %r38}, %rd163; cvt.u32.u64 %r39, %rd163; shfl.sync.bfly.b32 %r40, %r39, 8, 31, -1; shfl.sync.bfly.b32 %r41, %r38, 8, 31, -1; cvt.u64.u32 %rd164, %r40; cvt.u64.u32 %rd165, %r41; shl.b64 %rd166, %rd165, 32; or.b64 %rd167, %rd164, %rd166; .loc 2 261 15 // standard.py:261:15 @[ cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:87:27 ] add.s64 %rd168, %rd163, %rd167; .loc 2 291 36 // standard.py:291:36 @[ cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:87:27 ] mov.b64 {_, %r42}, %rd168; cvt.u32.u64 %r43, %rd168; shfl.sync.bfly.b32 %r44, %r43, 4, 31, -1; shfl.sync.bfly.b32 %r45, %r42, 4, 31, -1; cvt.u64.u32 %rd169, %r44; cvt.u64.u32 %rd170, %r45; shl.b64 %rd171, %rd170, 32; or.b64 %rd172, %rd169, %rd171; .loc 2 261 15 // standard.py:261:15 @[ cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:87:27 ] add.s64 %rd173, %rd168, %rd172; .loc 2 291 36 // standard.py:291:36 @[ cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:87:27 ] mov.b64 {_, %r46}, %rd173; cvt.u32.u64 %r47, %rd173; shfl.sync.bfly.b32 %r48, %r47, 2, 31, -1; shfl.sync.bfly.b32 %r49, %r46, 2, 31, -1; cvt.u64.u32 %rd174, %r48; cvt.u64.u32 %rd175, %r49; shl.b64 %rd176, %rd175, 32; or.b64 %rd177, %rd174, %rd176; .loc 2 261 15 // standard.py:261:15 @[ cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:87:27 ] add.s64 %rd178, %rd173, %rd177; .loc 2 291 36 // standard.py:291:36 @[ cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:87:27 ] mov.b64 {_, %r50}, %rd178; cvt.u32.u64 %r51, %rd178; shfl.sync.bfly.b32 %r52, %r51, 1, 31, -1; shfl.sync.bfly.b32 %r53, %r50, 1, 31, -1; cvt.u64.u32 %rd179, %r52; cvt.u64.u32 %rd180, %r53; shl.b64 %rd181, %rd180, 32; or.b64 %rd182, %rd179, %rd181; .loc 2 261 15 // standard.py:261:15 @[ cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:87:27 ] add.s64 %rd151, %rd178, %rd182; .loc 2 291 36 // standard.py:291:36 @[ cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:87:27 ] setp.eq.b32 %p80, %r33, 0; shr.u32 %r54, %r1, 2; and.b32 %r55, %r54, 120; mov.b32 %r56, global_smem; add.s32 %r27, %r56, %r55; // begin inline asm @%p80 st.shared.b64 [ %r27 + 0 ], %rd151; // end inline asm bar.sync 0; setp.lt.u32 %p81, %r1, 16; shl.b32 %r57, %r1, 3; add.s32 %r28, %r56, %r57; // begin inline asm @%p81 ld.shared.b64 %rd152, [ %r28 + 0 ]; // end inline asm mov.b64 {_, %r58}, %rd152; cvt.u32.u64 %r59, %rd152; shfl.sync.bfly.b32 %r60, %r59, 8, 31, -1; shfl.sync.bfly.b32 %r61, %r58, 8, 31, -1; cvt.u64.u32 %rd183, %r60; cvt.u64.u32 %rd184, %r61; shl.b64 %rd185, %rd184, 32; or.b64 %rd186, %rd183, %rd185; .loc 2 261 15 // standard.py:261:15 @[ cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:87:27 ] add.s64 %rd187, %rd152, %rd186; .loc 2 291 36 // standard.py:291:36 @[ cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:87:27 ] mov.b64 {_, %r62}, %rd187; cvt.u32.u64 %r63, %rd187; shfl.sync.bfly.b32 %r64, %r63, 4, 31, -1; shfl.sync.bfly.b32 %r65, %r62, 4, 31, -1; cvt.u64.u32 %rd188, %r64; cvt.u64.u32 %rd189, %r65; shl.b64 %rd190, %rd189, 32; or.b64 %rd191, %rd188, %rd190; .loc 2 261 15 // standard.py:261:15 @[ cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:87:27 ] add.s64 %rd192, %rd187, %rd191; .loc 2 291 36 // standard.py:291:36 @[ cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:87:27 ] mov.b64 {_, %r66}, %rd192; cvt.u32.u64 %r67, %rd192; shfl.sync.bfly.b32 %r68, %r67, 2, 31, -1; shfl.sync.bfly.b32 %r69, %r66, 2, 31, -1; cvt.u64.u32 %rd193, %r68; cvt.u64.u32 %rd194, %r69; shl.b64 %rd195, %rd194, 32; or.b64 %rd196, %rd193, %rd195; .loc 2 261 15 // standard.py:261:15 @[ cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:87:27 ] add.s64 %rd197, %rd192, %rd196; .loc 2 291 36 // standard.py:291:36 @[ cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:87:27 ] mov.b64 {_, %r70}, %rd197; cvt.u32.u64 %r71, %rd197; shfl.sync.bfly.b32 %r72, %r71, 1, 31, -1; shfl.sync.bfly.b32 %r73, %r70, 1, 31, -1; cvt.u64.u32 %rd198, %r72; cvt.u64.u32 %rd199, %r73; shl.b64 %rd200, %rd199, 32; or.b64 %rd201, %rd198, %rd200; .loc 2 261 15 // standard.py:261:15 @[ cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:87:27 ] add.s64 %rd153, %rd197, %rd201; .loc 2 291 36 // standard.py:291:36 @[ cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:87:27 ] setp.eq.b32 %p82, %r1, 0; // begin inline asm @%p82 st.shared.b64 [ %r28 + 0 ], %rd153; // end inline asm bar.sync 0; ld.shared.b64 %rd202, [global_smem];$L__tmp2: .loc 1 92 20 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:92:20 add.s64 %rd203, %rd202, -1; setp.lt.u64 %p86, %rd203, 16383; .loc 1 0 0 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:0 selp.b32 %r30, 1, 0, %p86; .loc 1 95 21 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:95:21 setp.eq.b64 %p87, %rd202, 16384; .loc 1 0 0 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:0 selp.b32 %r31, 1, 0, %p87; .loc 1 98 25 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:98:25 shl.b64 %rd204, %rd1, 2; add.s64 %rd154, %rd63, %rd204; .loc 1 98 37 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:98:37 setp.eq.b32 %p88, %r2, 0; and.pred %p83, %p88, %p1; // begin inline asm @%p83 st.global.b32 [ %rd154 + 0 ], { %r30 }; // end inline asm .loc 1 99 25 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:99:25 add.s64 %rd155, %rd64, %rd204; .loc 1 99 37 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:99:37 // begin inline asm @%p83 st.global.b32 [ %rd155 + 0 ], { %r31 }; // end inline asm .loc 1 99 4 // cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py:99:4 ret;$L__tmp3:$L__func_end0: // -- End function} .file 1 "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py" .file 2 "/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py" .section .debug_abbrev {.b8 1 // Abbreviation Code.b8 17 // DW_TAG_compile_unit.b8 1 // DW_CHILDREN_yes.b8 37 // DW_AT_producer.b8 8 // DW_FORM_string.b8 19 // DW_AT_language.b8 5 // DW_FORM_data2.b8 3 // DW_AT_name.b8 8 // DW_FORM_string.b8 16 // DW_AT_stmt_list.b8 6 // DW_FORM_data4.b8 27 // DW_AT_comp_dir.b8 8 // DW_FORM_string.b8 0 // EOM(1).b8 0 // EOM(2).b8 2 // Abbreviation Code.b8 46 // DW_TAG_subprogram.b8 0 // DW_CHILDREN_no.b8 3 // DW_AT_name.b8 8 // DW_FORM_string.b8 32 // DW_AT_inline.b8 11 // DW_FORM_data1.b8 0 // EOM(1).b8 0 // EOM(2).b8 3 // Abbreviation Code.b8 46 // DW_TAG_subprogram.b8 1 // DW_CHILDREN_yes.b8 17 // DW_AT_low_pc.b8 1 // DW_FORM_addr.b8 18 // DW_AT_high_pc.b8 1 // DW_FORM_addr.b8 49 // DW_AT_abstract_origin.b8 19 // DW_FORM_ref4.b8 0 // EOM(1).b8 0 // EOM(2).b8 4 // Abbreviation Code.b8 29 // DW_TAG_inlined_subroutine.b8 0 // DW_CHILDREN_no.b8 49 // DW_AT_abstract_origin.b8 19 // DW_FORM_ref4.b8 17 // DW_AT_low_pc.b8 1 // DW_FORM_addr.b8 18 // DW_AT_high_pc.b8 1 // DW_FORM_addr.b8 88 // DW_AT_call_file.b8 11 // DW_FORM_data1.b8 89 // DW_AT_call_line.b8 11 // DW_FORM_data1.b8 87 // DW_AT_call_column.b8 11 // DW_FORM_data1.b8 0 // EOM(1).b8 0 // EOM(2).b8 0 // EOM(3) } .section .debug_info {.b32 307 // Length of Unit.b8 2 // DWARF version number.b8 0.b32 .debug_abbrev // Offset Into Abbrev. Section.b8 8 // Address Size (in bytes).b8 1 // Abbrev [1] 0xb:0x12c DW_TAG_compile_unit.b8 116 // DW_AT_producer.b8 114.b8 105.b8 116.b8 111.b8 110.b8 0.b8 2 // DW_AT_language.b8 0.b8 99 // DW_AT_name.b8 98.b8 121.b8 102.b8 54.b8 116.b8 110.b8 120.b8 100.b8 117.b8 114.b8 106.b8 101.b8 117.b8 122.b8 99.b8 112.b8 102.b8 53.b8 113.b8 119.b8 102.b8 99.b8 116.b8 106.b8 112.b8 113.b8 100.b8 114.b8 98.b8 117.b8 108.b8 50.b8 100.b8 120.b8 52.b8 103.b8 51.b8 55.b8 104.b8 54.b8 120.b8 116.b8 100.b8 101.b8 112.b8 97.b8 106.b8 51.b8 122.b8 117.b8 111.b8 46.b8 112.b8 121.b8 0.b32 .debug_line // DW_AT_stmt_list.b8 47 // DW_AT_comp_dir.b8 119.b8 111.b8 114.b8 107.b8 115.b8 112.b8 97.b8 99.b8 101.b8 47.b8 104.b8 97.b8 110.b8 114.b8 117.b8 105.b8 47.b8 83.b8 112.b8 101.b8 99.b8 70.b8 111.b8 114.b8 103.b8 101.b8 45.b8 101.b8 120.b8 116.b8 47.b8 99.b8 97.b8 99.b8 104.b8 101.b8 47.b8 99.b8 111.b8 109.b8 112.b8 105.b8 108.b8 101.b8 100.b8 95.b8 107.b8 101.b8 114.b8 110.b8 101.b8 108.b8 115.b8 47.b8 98.b8 121.b8 0.b8 2 // Abbrev [2] 0x8b:0x7d DW_TAG_subprogram.b8 116 // DW_AT_name.b8 114.b8 105.b8 116.b8 111.b8 110.b8 95.b8 114.b8 101.b8 100.b8 95.b8 102.b8 117.b8 115.b8 101.b8 100.b8 95.b8 95.b8 116.b8 111.b8 95.b8 99.b8 111.b8 112.b8 121.b8 95.b8 97.b8 114.b8 97.b8 110.b8 103.b8 101.b8 95.b8 98.b8 105.b8 116.b8 119.b8 105.b8 115.b8 101.b8 95.b8 97.b8 110.b8 100.b8 95.b8 98.b8 105.b8 116.b8 119.b8 105.b8 115.b8 101.b8 95.b8 111.b8 114.b8 95.b8 99.b8 111.b8 110.b8 115.b8 116.b8 97.b8 110.b8 116.b8 95.b8 112.b8 97.b8 100.b8 95.b8 110.b8 100.b8 95.b8 101.b8 113.b8 95.b8 103.b8 101.b8 95.b8 103.b8 116.b8 95.b8 105.b8 110.b8 100.b8 101.b8 120.b8 95.b8 108.b8 116.b8 95.b8 112.b8 101.b8 114.b8 109.b8 117.b8 116.b8 101.b8 95.b8 114.b8 101.b8 109.b8 97.b8 105.b8 110.b8 100.b8 101.b8 114.b8 95.b8 115.b8 117.b8 98.b8 95.b8 115.b8 117.b8 109.b8 95.b8 118.b8 105.b8 101.b8 119.b8 95.b8 49.b8 0.b8 1 // DW_AT_inline.b8 3 // Abbrev [3] 0x108:0x2e DW_TAG_subprogram.b64 $L__func_begin0 // DW_AT_low_pc.b64 $L__func_end0 // DW_AT_high_pc.b32 139 // DW_AT_abstract_origin.b8 4 // Abbrev [4] 0x11d:0x18 DW_TAG_inlined_subroutine.b32 139 // DW_AT_abstract_origin.b64 $L__tmp1 // DW_AT_low_pc.b64 $L__tmp2 // DW_AT_high_pc.b8 1 // DW_AT_call_file.b8 87 // DW_AT_call_line.b8 27 // DW_AT_call_column.b8 0 // End Of Children Mark.b8 0 // End Of Children Mark } .section .debug_macinfo { }123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418#loc = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":18:0)#loc97 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":285:0)#loc99 = loc(unknown)#loc102 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":260:0)#loc106 = loc("in_ptr0"(#loc))#loc107 = loc("out_ptr1"(#loc))#loc108 = loc("out_ptr2"(#loc))#loc109 = loc("ks0"(#loc))#loc110 = loc("ks1"(#loc))#loc111 = loc("ks2"(#loc))#loc112 = loc("ks3"(#loc))#loc113 = loc("ks4"(#loc))#loc114 = loc("ks5"(#loc))#loc115 = loc("xnumel"(#loc))#loc116 = loc("r0_numel"(#loc))#loc207 = loc("input"(#loc97))#loc208 = loc("a"(#loc102))#loc209 = loc("b"(#loc102))module { tt.func public @triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1(%in_ptr0: !tt.ptr<i64> {tt.divisibility = 16 : i32} loc("in_ptr0"(#loc)), %out_ptr1: !tt.ptr<i32> {tt.divisibility = 16 : i32} loc("out_ptr1"(#loc)), %out_ptr2: !tt.ptr<i32> {tt.divisibility = 16 : i32} loc("out_ptr2"(#loc)), %ks0: i64 loc("ks0"(#loc)), %ks1: i64 loc("ks1"(#loc)), %ks2: i64 loc("ks2"(#loc)), %ks3: i64 loc("ks3"(#loc)), %ks4: i64 loc("ks4"(#loc)), %ks5: i64 loc("ks5"(#loc)), %xnumel: i32 loc("xnumel"(#loc)), %r0_numel: i32 {tt.divisibility = 16 : i32} loc("r0_numel"(#loc))) attributes {noinline = false} { %r0_numel_0 = arith.constant 16384 : i32 loc(#loc117) %xoffset = tt.get_program_id x : i32 loc(#loc118) %xoffset_1 = arith.constant 1 : i32 loc(#loc119) %xoffset_2 = arith.constant 1 : i32 loc(#loc119) %xoffset_3 = arith.muli %xoffset, %xoffset_2 : i32 loc(#loc119) %xindex = tt.make_range {end = 1 : i32, start = 0 : i32} : tensor<1xi32> loc(#loc120) %xindex_4 = tt.expand_dims %xindex {axis = 1 : i32} : tensor<1xi32> -> tensor<1x1xi32> loc(#loc121) %xindex_5 = tt.splat %xoffset_3 : i32 -> tensor<1x1xi32> loc(#loc122) %xindex_6 = arith.addi %xindex_5, %xindex_4 : tensor<1x1xi32> loc(#loc122) %xmask = tt.splat %xnumel : i32 -> tensor<1x1xi32> loc(#loc123) %xmask_7 = arith.cmpi slt, %xindex_6, %xmask : tensor<1x1xi32> loc(#loc123) %r0_base = tt.make_range {end = 2048 : i32, start = 0 : i32} : tensor<2048xi32> loc(#loc124) %r0_base_8 = tt.expand_dims %r0_base {axis = 0 : i32} : tensor<2048xi32> -> tensor<1x2048xi32> loc(#loc125) %x1 = arith.extsi %xindex_6 : tensor<1x1xi32> to tensor<1x1xi64> loc(#loc126) %x1_9 = tt.splat %ks0 : i64 -> tensor<1x1xi64> loc(#loc126) %x1_10 = arith.divsi %x1, %x1_9 : tensor<1x1xi64> loc(#loc126) %x1_11 = tt.splat %ks1 : i64 -> tensor<1x1xi64> loc(#loc127) %x1_12 = arith.remsi %x1_10, %x1_11 : tensor<1x1xi64> loc(#loc127) %x0 = arith.extsi %xindex_6 : tensor<1x1xi32> to tensor<1x1xi64> loc(#loc128) %x0_13 = tt.splat %ks0 : i64 -> tensor<1x1xi64> loc(#loc128) %x0_14 = arith.remsi %x0, %x0_13 : tensor<1x1xi64> loc(#loc128) %x2 = arith.extsi %xindex_6 : tensor<1x1xi32> to tensor<1x1xi64> loc(#loc129) %x2_15 = tt.splat %ks4 : i64 -> tensor<1x1xi64> loc(#loc129) %x2_16 = arith.divsi %x2, %x2_15 : tensor<1x1xi64> loc(#loc129) %_tmp46 = arith.constant 0 : i64 loc(#loc130) %_tmp46_17 = arith.constant dense<0> : tensor<1x2048xi64> loc(#loc130) %c0_i32 = arith.constant 0 : i32 loc(#loc15) %c2048_i32 = arith.constant 2048 : i32 loc(#loc15) %0 = arith.bitcast %c0_i32 : i32 to i32 loc(#loc15) %1 = arith.bitcast %r0_numel_0 : i32 to i32 loc(#loc15) %2 = arith.bitcast %c2048_i32 : i32 to i32 loc(#loc15) %3 = ub.poison : i32 loc(#loc15) %_tmp46_18 = scf.for %r0_offset = %0 to %1 step %2 iter_args(%_tmp46_22 = %_tmp46_17) -> (tensor<1x2048xi64>) : i32 { %r0_index = tt.splat %r0_offset : i32 -> tensor<1x2048xi32> loc(#loc132) %r0_index_23 = arith.addi %r0_index, %r0_base_8 : tensor<1x2048xi32> loc(#loc132) %r0_mask = arith.constant dense<16384> : tensor<1x2048xi32> loc(#loc133) %r0_mask_24 = arith.cmpi slt, %r0_index_23, %r0_mask : tensor<1x2048xi32> loc(#loc133) %r0_4 = arith.constant 128 : i32 loc(#loc134) %r0_4_25 = arith.constant 128 : i32 loc(#loc134) %r0_4_26 = arith.constant dense<128> : tensor<1x2048xi32> loc(#loc134) %r0_4_27 = arith.divsi %r0_index_23, %r0_4_26 : tensor<1x2048xi32> loc(#loc134) %r0_3 = arith.constant 128 : i32 loc(#loc135) %r0_3_28 = arith.constant 128 : i32 loc(#loc135) %r0_3_29 = arith.constant dense<128> : tensor<1x2048xi32> loc(#loc135) %r0_3_30 = arith.remsi %r0_index_23, %r0_3_29 : tensor<1x2048xi32> loc(#loc135) %tmp0 = arith.constant 128 : i32 loc(#loc136) %tmp0_31 = arith.constant 128 : i64 loc(#loc136) %tmp0_32 = arith.constant dense<128> : tensor<1x1xi64> loc(#loc136) %tmp0_33 = arith.muli %tmp0_32, %x1_12 : tensor<1x1xi64> loc(#loc136) %tmp0_34 = arith.extsi %r0_4_27 : tensor<1x2048xi32> to tensor<1x2048xi64> loc(#loc137) %tmp0_35 = tt.broadcast %tmp0_33 : tensor<1x1xi64> -> tensor<1x2048xi64> loc(#loc137) %tmp0_36 = arith.addi %tmp0_34, %tmp0_35 : tensor<1x2048xi64> loc(#loc137) %tmp2 = tt.splat %ks2 : i64 -> tensor<1x2048xi64> loc(#loc138) %tmp2_37 = arith.cmpi slt, %tmp0_36, %tmp2 : tensor<1x2048xi64> loc(#loc138) %tmp3 = arith.constant 128 : i32 loc(#loc139) %tmp3_38 = arith.constant 128 : i64 loc(#loc139) %tmp3_39 = arith.constant dense<128> : tensor<1x1xi64> loc(#loc139) %tmp3_40 = arith.muli %tmp3_39, %x0_14 : tensor<1x1xi64> loc(#loc139) %tmp3_41 = arith.extsi %r0_3_30 : tensor<1x2048xi32> to tensor<1x2048xi64> loc(#loc140) %tmp3_42 = tt.broadcast %tmp3_40 : tensor<1x1xi64> -> tensor<1x2048xi64> loc(#loc140) %tmp3_43 = arith.addi %tmp3_41, %tmp3_42 : tensor<1x2048xi64> loc(#loc140) %tmp5 = tt.splat %ks3 : i64 -> tensor<1x2048xi64> loc(#loc141) %tmp5_44 = arith.cmpi slt, %tmp3_43, %tmp5 : tensor<1x2048xi64> loc(#loc141) %tmp6 = arith.andi %tmp2_37, %tmp5_44 : tensor<1x2048xi1> loc(#loc142) %tmp7 = arith.constant 128 : i32 loc(#loc143) %tmp7_45 = arith.constant 128 : i64 loc(#loc143) %tmp7_46 = arith.constant dense<128> : tensor<1x1xi64> loc(#loc143) %tmp7_47 = arith.muli %tmp7_46, %x1_12 : tensor<1x1xi64> loc(#loc143) %tmp7_48 = arith.extsi %r0_4_27 : tensor<1x2048xi32> to tensor<1x2048xi64> loc(#loc144) %tmp7_49 = tt.broadcast %tmp7_47 : tensor<1x1xi64> -> tensor<1x2048xi64> loc(#loc144) %tmp7_50 = arith.addi %tmp7_48, %tmp7_49 : tensor<1x2048xi64> loc(#loc144) %tmp8 = arith.constant 128 : i32 loc(#loc145) %tmp8_51 = arith.constant 128 : i64 loc(#loc145) %tmp8_52 = arith.constant dense<128> : tensor<1x1xi64> loc(#loc145) %tmp8_53 = arith.muli %tmp8_52, %x0_14 : tensor<1x1xi64> loc(#loc145) %tmp8_54 = arith.extsi %r0_3_30 : tensor<1x2048xi32> to tensor<1x2048xi64> loc(#loc146) %tmp8_55 = tt.broadcast %tmp8_53 : tensor<1x1xi64> -> tensor<1x2048xi64> loc(#loc146) %tmp8_56 = arith.addi %tmp8_54, %tmp8_55 : tensor<1x2048xi64> loc(#loc146) %tmp9 = arith.cmpi sge, %tmp7_50, %tmp8_56 : tensor<1x2048xi64> loc(#loc147) %tmp10 = tt.broadcast %x2_16 : tensor<1x1xi64> -> tensor<1x2048xi64> loc(#loc148) %tmp10_57 = tt.splat %in_ptr0 : !tt.ptr<i64> -> tensor<1x2048x!tt.ptr<i64>> loc(#loc149) %tmp10_58 = tt.addptr %tmp10_57, %tmp10 : tensor<1x2048x!tt.ptr<i64>>, tensor<1x2048xi64> loc(#loc149) %tmp10_59 = arith.andi %r0_mask_24, %tmp6 : tensor<1x2048xi1> loc(#loc150) %tmp10_60 = tt.broadcast %xmask_7 : tensor<1x1xi1> -> tensor<1x2048xi1> loc(#loc151) %tmp10_61 = arith.andi %tmp10_59, %tmp10_60 : tensor<1x2048xi1> loc(#loc151) %tmp10_62 = arith.constant 0.000000e+00 : f32 loc(#loc152) %tmp10_63 = arith.constant dense<0.000000e+00> : tensor<1x2048xf32> loc(#loc152) %tmp10_64 = arith.fptosi %tmp10_63 : tensor<1x2048xf32> to tensor<1x2048xi64> loc(#loc152) %tmp10_65 = tt.load %tmp10_58, %tmp10_61, %tmp10_64 evictionPolicy = evict_last : tensor<1x2048x!tt.ptr<i64>> loc(#loc152) %tmp11 = arith.cmpi slt, %tmp8_56, %tmp10_65 : tensor<1x2048xi64> loc(#loc153) %tmp12 = arith.cmpi slt, %tmp7_50, %tmp10_65 : tensor<1x2048xi64> loc(#loc154) %tmp13 = arith.andi %tmp11, %tmp12 : tensor<1x2048xi1> loc(#loc155) %tmp14 = arith.andi %tmp9, %tmp13 : tensor<1x2048xi1> loc(#loc156) %tmp15 = arith.constant false loc(#loc157) %tmp15_66 = arith.constant dense<false> : tensor<1x1xi1> loc(#loc157) %tmp16 = arith.constant dense<false> : tensor<1x2048xi1> loc(#loc158) %tmp16_67 = arith.ori %tmp16, %tmp14 : tensor<1x2048xi1> loc(#loc158) %tmp17 = tt.splat %ks5 : i64 -> tensor<1x2048xi64> loc(#loc159) %tmp18 = arith.cmpi sge, %tmp8_56, %tmp17 : tensor<1x2048xi64> loc(#loc160) %tmp19 = arith.remsi %tmp8_56, %tmp17 : tensor<1x2048xi64> loc(#loc161) %tmp20 = arith.constant 0 : i32 loc(#loc162) %tmp20_68 = arith.constant dense<0> : tensor<1x1xi32> loc(#loc162) %tmp21 = arith.extsi %tmp20_68 : tensor<1x1xi32> to tensor<1x1xi64> loc(#loc163) %tmp21_69 = tt.broadcast %tmp21 : tensor<1x1xi64> -> tensor<1x2048xi64> loc(#loc163) %tmp21_70 = arith.cmpi ne, %tmp19, %tmp21_69 : tensor<1x2048xi64> loc(#loc163) %tmp22 = arith.constant 0 : i32 loc(#loc164) %tmp22_71 = arith.extsi %tmp22 : i32 to i64 loc(#loc164) %tmp22_72 = tt.splat %tmp22_71 : i64 -> tensor<1x2048xi64> loc(#loc164) %tmp22_73 = arith.cmpi slt, %tmp19, %tmp22_72 : tensor<1x2048xi64> loc(#loc164) %tmp23 = arith.constant 0 : i32 loc(#loc165) %tmp23_74 = arith.extsi %tmp23 : i32 to i64 loc(#loc165) %tmp23_75 = tt.splat %tmp23_74 : i64 -> tensor<1x2048xi64> loc(#loc165) %tmp23_76 = arith.cmpi slt, %tmp17, %tmp23_75 : tensor<1x2048xi64> loc(#loc165) %tmp24 = arith.cmpi ne, %tmp22_73, %tmp23_76 : tensor<1x2048xi1> loc(#loc166) %tmp25 = arith.andi %tmp21_70, %tmp24 : tensor<1x2048xi1> loc(#loc167) %tmp26 = arith.addi %tmp19, %tmp17 : tensor<1x2048xi64> loc(#loc168) %tmp27 = arith.select %tmp25, %tmp26, %tmp19 : tensor<1x2048xi1>, tensor<1x2048xi64> loc(#loc169) %tmp28 = arith.cmpi slt, %tmp27, %tmp10_65 : tensor<1x2048xi64> loc(#loc170) %tmp29 = arith.andi %tmp18, %tmp28 : tensor<1x2048xi1> loc(#loc171) %tmp30 = arith.constant -1 : i32 loc(#loc172) %tmp30_77 = arith.constant -1 : i32 loc(#loc172) %tmp30_78 = arith.constant dense<-1> : tensor<1x2048xi32> loc(#loc172) %tmp30_79 = arith.muli %tmp30_78, %r0_4_27 : tensor<1x2048xi32> loc(#loc172) %tmp30_80 = arith.addi %r0_3_30, %tmp30_79 : tensor<1x2048xi32> loc(#loc173) %tmp30_81 = arith.constant -128 : i32 loc(#loc174) %tmp30_82 = arith.constant -128 : i64 loc(#loc174) %tmp30_83 = arith.constant dense<-128> : tensor<1x1xi64> loc(#loc174) %tmp30_84 = arith.muli %tmp30_83, %x1_12 : tensor<1x1xi64> loc(#loc174) %tmp30_85 = arith.extsi %tmp30_80 : tensor<1x2048xi32> to tensor<1x2048xi64> loc(#loc175) %tmp30_86 = tt.broadcast %tmp30_84 : tensor<1x1xi64> -> tensor<1x2048xi64> loc(#loc175) %tmp30_87 = arith.addi %tmp30_85, %tmp30_86 : tensor<1x2048xi64> loc(#loc175) %tmp30_88 = arith.constant 128 : i32 loc(#loc176) %tmp30_89 = arith.constant 128 : i64 loc(#loc176) %tmp30_90 = arith.constant dense<128> : tensor<1x1xi64> loc(#loc176) %tmp30_91 = arith.muli %tmp30_90, %x0_14 : tensor<1x1xi64> loc(#loc176) %tmp30_92 = tt.broadcast %tmp30_91 : tensor<1x1xi64> -> tensor<1x2048xi64> loc(#loc177) %tmp30_93 = arith.addi %tmp30_87, %tmp30_92 : tensor<1x2048xi64> loc(#loc177) %tmp31 = arith.remsi %tmp30_93, %tmp17 : tensor<1x2048xi64> loc(#loc178) %tmp32 = arith.extsi %tmp20_68 : tensor<1x1xi32> to tensor<1x1xi64> loc(#loc179) %tmp32_94 = tt.broadcast %tmp32 : tensor<1x1xi64> -> tensor<1x2048xi64> loc(#loc179) %tmp32_95 = arith.cmpi ne, %tmp31, %tmp32_94 : tensor<1x2048xi64> loc(#loc179) %tmp33 = arith.constant 0 : i32 loc(#loc180) %tmp33_96 = arith.extsi %tmp33 : i32 to i64 loc(#loc180) %tmp33_97 = tt.splat %tmp33_96 : i64 -> tensor<1x2048xi64> loc(#loc180) %tmp33_98 = arith.cmpi slt, %tmp31, %tmp33_97 : tensor<1x2048xi64> loc(#loc180) %tmp34 = arith.cmpi ne, %tmp33_98, %tmp23_76 : tensor<1x2048xi1> loc(#loc181) %tmp35 = arith.andi %tmp32_95, %tmp34 : tensor<1x2048xi1> loc(#loc182) %tmp36 = arith.addi %tmp31, %tmp17 : tensor<1x2048xi64> loc(#loc183) %tmp37 = arith.select %tmp35, %tmp36, %tmp31 : tensor<1x2048xi1>, tensor<1x2048xi64> loc(#loc184) %tmp38 = arith.constant 0 : i64 loc(#loc185) %tmp38_99 = arith.constant dense<0> : tensor<1x1xi64> loc(#loc185) %tmp39 = arith.constant dense<0> : tensor<1x2048xi64> loc(#loc186) %tmp39_100 = arith.cmpi eq, %tmp37, %tmp39 : tensor<1x2048xi64> loc(#loc186) %tmp40 = arith.andi %tmp29, %tmp39_100 : tensor<1x2048xi1> loc(#loc187) %tmp41 = arith.ori %tmp16_67, %tmp40 : tensor<1x2048xi1> loc(#loc188) %tmp42 = arith.constant false loc(#loc189) %tmp42_101 = arith.constant dense<false> : tensor<1x2048xi1> loc(#loc189) %tmp43 = arith.select %tmp6, %tmp41, %tmp42_101 : tensor<1x2048xi1>, tensor<1x2048xi1> loc(#loc190) %tmp44 = arith.extui %tmp43 : tensor<1x2048xi1> to tensor<1x2048xi64> loc(#loc191) %tmp47 = arith.addi %_tmp46_22, %tmp44 : tensor<1x2048xi64> loc(#loc192) %_tmp46_102 = tt.broadcast %xmask_7 : tensor<1x1xi1> -> tensor<1x2048xi1> loc(#loc193) %_tmp46_103 = arith.andi %r0_mask_24, %_tmp46_102 : tensor<1x2048xi1> loc(#loc193) %_tmp46_104 = arith.select %_tmp46_103, %tmp47, %_tmp46_22 : tensor<1x2048xi1>, tensor<1x2048xi64> loc(#loc194) scf.yield %_tmp46_104 : tensor<1x2048xi64> loc(#loc79) } loc(#loc131) %tmp46 = tt.call @"triton.language.standard.sum__i64S1_2048S__(1,)cconstexpr_1__(2,)cconstexpr_False__(3,)cNone"(%_tmp46_18) : (tensor<1x2048xi64>) -> tensor<1xi64> loc(#loc195) %tmp46_19 = tt.expand_dims %tmp46 {axis = 1 : i32} : tensor<1xi64> -> tensor<1x1xi64> loc(#loc196) %tmp48 = arith.constant 0 : i64 loc(#loc197) %tmp48_20 = arith.constant dense<0> : tensor<1x1xi64> loc(#loc197) %tmp49 = arith.cmpi sgt, %tmp46_19, %tmp48_20 : tensor<1x1xi64> loc(#loc198) %tmp50 = arith.constant 16384 : i64 loc(#loc199) %tmp50_21 = arith.constant dense<16384> : tensor<1x1xi64> loc(#loc199) %tmp51 = arith.cmpi slt, %tmp46_19, %tmp50_21 : tensor<1x1xi64> loc(#loc200) %tmp52 = arith.andi %tmp49, %tmp51 : tensor<1x1xi1> loc(#loc201) %tmp53 = arith.extui %tmp52 : tensor<1x1xi1> to tensor<1x1xi8> loc(#loc202) %tmp54 = arith.extsi %tmp53 : tensor<1x1xi8> to tensor<1x1xi32> loc(#loc203) %tmp55 = arith.cmpi eq, %tmp46_19, %tmp50_21 : tensor<1x1xi64> loc(#loc204) %tmp56 = arith.extui %tmp55 : tensor<1x1xi1> to tensor<1x1xi8> loc(#loc205) %tmp57 = arith.extsi %tmp56 : tensor<1x1xi8> to tensor<1x1xi32> loc(#loc206) %4 = tt.splat %out_ptr1 : !tt.ptr<i32> -> tensor<1x1x!tt.ptr<i32>> loc(#loc92) %5 = tt.addptr %4, %xindex_6 : tensor<1x1x!tt.ptr<i32>>, tensor<1x1xi32> loc(#loc92) tt.store %5, %tmp54, %xmask_7 : tensor<1x1x!tt.ptr<i32>> loc(#loc93) %6 = tt.splat %out_ptr2 : !tt.ptr<i32> -> tensor<1x1x!tt.ptr<i32>> loc(#loc94) %7 = tt.addptr %6, %xindex_6 : tensor<1x1x!tt.ptr<i32>>, tensor<1x1xi32> loc(#loc94) tt.store %7, %tmp57, %xmask_7 : tensor<1x1x!tt.ptr<i32>> loc(#loc95) tt.return loc(#loc96) } loc(#loc) tt.func private @"triton.language.standard.sum__i64S1_2048S__(1,)cconstexpr_1__(2,)cconstexpr_False__(3,)cNone"(%input: tensor<1x2048xi64> loc("input"(#loc97))) -> tensor<1xi64> attributes {noinline = false} { %0 = "tt.reduce"(%input) <{axis = 1 : i32}> ({ ^bb0(%arg1: i64 loc(unknown), %arg2: i64 loc(unknown)): %2 = tt.call @triton.language.standard._sum_combine__i64_i64__(%arg1, %arg2) : (i64, i64) -> i64 loc(#loc98) tt.reduce.return %2 : i64 loc(#loc98) }) : (tensor<1x2048xi64>) -> tensor<1xi64> loc(#loc98) tt.return %0 : tensor<1xi64> loc(#loc100) ^bb1: // no predecessors %1 = ub.poison : tensor<1xi64> loc(#loc101) tt.return %1 : tensor<1xi64> loc(#loc101) } loc(#loc97) tt.func private @triton.language.standard._sum_combine__i64_i64__(%a: i64 loc("a"(#loc102)), %b: i64 loc("b"(#loc102))) -> i64 attributes {noinline = false} { %0 = arith.addi %a, %b : i64 loc(#loc103) tt.return %0 : i64 loc(#loc104) ^bb1: // no predecessors %1 = ub.poison : i64 loc(#loc105) tt.return %1 : i64 loc(#loc105) } loc(#loc102)} loc(#loc)#loc1 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":19:15)#loc2 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":22:28)#loc3 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":22:33)#loc4 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":23:36)#loc5 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":23:44)#loc6 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":23:23)#loc7 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":24:21)#loc8 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":25:27)#loc9 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":25:37)#loc10 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":27:21)#loc11 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":27:28)#loc12 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":28:19)#loc13 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":29:19)#loc14 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":30:44)#loc15 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":32:40)#loc16 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":33:31)#loc17 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":34:29)#loc18 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":37:27)#loc19 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":38:27)#loc20 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":39:26)#loc21 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":39:22)#loc22 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":41:22)#loc23 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":42:26)#loc24 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":42:22)#loc25 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":44:22)#loc26 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":45:22)#loc27 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":46:26)#loc28 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":46:22)#loc29 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":47:26)#loc30 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":47:22)#loc31 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":48:23)#loc32 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":49:55)#loc33 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":49:35)#loc34 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":49:87)#loc35 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":49:94)#loc36 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":49:77)#loc37 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":50:23)#loc38 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":51:23)#loc39 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":52:24)#loc40 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":53:23)#loc41 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":54:39)#loc42 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":55:24)#loc43 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":56:37)#loc44 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":57:24)#loc45 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":58:24)#loc46 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":59:35)#loc47 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":60:25)#loc48 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":61:92)#loc49 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":62:92)#loc50 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":63:25)#loc51 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":64:24)#loc52 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":65:24)#loc53 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":66:39)#loc54 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":67:24)#loc55 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":68:24)#loc56 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":69:29)#loc57 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":69:24)#loc58 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":69:45)#loc59 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":69:38)#loc60 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":69:55)#loc61 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":69:51)#loc62 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":70:25)#loc63 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":71:25)#loc64 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":72:92)#loc65 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":73:25)#loc66 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":74:24)#loc67 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":75:24)#loc68 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":76:39)#loc69 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":77:35)#loc70 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":78:25)#loc71 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":79:24)#loc72 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":80:24)#loc73 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":81:44)#loc74 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":82:38)#loc75 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":83:25)#loc76 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":85:25)#loc77 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":86:36)#loc78 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":86:50)#loc79 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":86:8)#loc80 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":87:27)#loc81 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":87:30)#loc82 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":88:31)#loc83 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":89:20)#loc84 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":90:35)#loc85 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":91:20)#loc86 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":92:20)#loc87 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":93:21)#loc88 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":94:21)#loc89 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":95:21)#loc90 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":96:21)#loc91 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":97:21)#loc92 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":98:25)#loc93 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":98:37)#loc94 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":99:25)#loc95 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":99:37)#loc96 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":99:4)#loc98 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":291:36)#loc100 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":291:11)#loc101 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":291:4)#loc103 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":261:15)#loc104 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":261:11)#loc105 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":261:4)#loc117 = loc("r0_numel"(#loc1))#loc118 = loc("xoffset"(#loc2))#loc119 = loc("xoffset"(#loc3))#loc120 = loc("xindex"(#loc4))#loc121 = loc("xindex"(#loc5))#loc122 = loc("xindex"(#loc6))#loc123 = loc("xmask"(#loc7))#loc124 = loc("r0_base"(#loc8))#loc125 = loc("r0_base"(#loc9))#loc126 = loc("x1"(#loc10))#loc127 = loc("x1"(#loc11))#loc128 = loc("x0"(#loc12))#loc129 = loc("x2"(#loc13))#loc130 = loc("_tmp46"(#loc14))#loc131 = loc("_tmp46"(#loc15))#loc132 = loc("r0_index"(#loc16))#loc133 = loc("r0_mask"(#loc17))#loc134 = loc("r0_4"(#loc18))#loc135 = loc("r0_3"(#loc19))#loc136 = loc("tmp0"(#loc20))#loc137 = loc("tmp0"(#loc21))#loc138 = loc("tmp2"(#loc22))#loc139 = loc("tmp3"(#loc23))#loc140 = loc("tmp3"(#loc24))#loc141 = loc("tmp5"(#loc25))#loc142 = loc("tmp6"(#loc26))#loc143 = loc("tmp7"(#loc27))#loc144 = loc("tmp7"(#loc28))#loc145 = loc("tmp8"(#loc29))#loc146 = loc("tmp8"(#loc30))#loc147 = loc("tmp9"(#loc31))#loc148 = loc("tmp10"(#loc32))#loc149 = loc("tmp10"(#loc33))#loc150 = loc("tmp10"(#loc34))#loc151 = loc("tmp10"(#loc35))#loc152 = loc("tmp10"(#loc36))#loc153 = loc("tmp11"(#loc37))#loc154 = loc("tmp12"(#loc38))#loc155 = loc("tmp13"(#loc39))#loc156 = loc("tmp14"(#loc40))#loc157 = loc("tmp15"(#loc41))#loc158 = loc("tmp16"(#loc42))#loc159 = loc("tmp17"(#loc43))#loc160 = loc("tmp18"(#loc44))#loc161 = loc("tmp19"(#loc45))#loc162 = loc("tmp20"(#loc46))#loc163 = loc("tmp21"(#loc47))#loc164 = loc("tmp22"(#loc48))#loc165 = loc("tmp23"(#loc49))#loc166 = loc("tmp24"(#loc50))#loc167 = loc("tmp25"(#loc51))#loc168 = loc("tmp26"(#loc52))#loc169 = loc("tmp27"(#loc53))#loc170 = loc("tmp28"(#loc54))#loc171 = loc("tmp29"(#loc55))#loc172 = loc("tmp30"(#loc56))#loc173 = loc("tmp30"(#loc57))#loc174 = loc("tmp30"(#loc58))#loc175 = loc("tmp30"(#loc59))#loc176 = loc("tmp30"(#loc60))#loc177 = loc("tmp30"(#loc61))#loc178 = loc("tmp31"(#loc62))#loc179 = loc("tmp32"(#loc63))#loc180 = loc("tmp33"(#loc64))#loc181 = loc("tmp34"(#loc65))#loc182 = loc("tmp35"(#loc66))#loc183 = loc("tmp36"(#loc67))#loc184 = loc("tmp37"(#loc68))#loc185 = loc("tmp38"(#loc69))#loc186 = loc("tmp39"(#loc70))#loc187 = loc("tmp40"(#loc71))#loc188 = loc("tmp41"(#loc72))#loc189 = loc("tmp42"(#loc73))#loc190 = loc("tmp43"(#loc74))#loc191 = loc("tmp44"(#loc75))#loc192 = loc("tmp47"(#loc76))#loc193 = loc("_tmp46"(#loc77))#loc194 = loc("_tmp46"(#loc78))#loc195 = loc("tmp46"(#loc80))#loc196 = loc("tmp46"(#loc81))#loc197 = loc("tmp48"(#loc82))#loc198 = loc("tmp49"(#loc83))#loc199 = loc("tmp50"(#loc84))#loc200 = loc("tmp51"(#loc85))#loc201 = loc("tmp52"(#loc86))#loc202 = loc("tmp53"(#loc87))#loc203 = loc("tmp54"(#loc88))#loc204 = loc("tmp55"(#loc89))#loc205 = loc("tmp56"(#loc90))#loc206 = loc("tmp57"(#loc91))123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280#blocked = #ttg.blocked<{sizePerThread = [1, 1], threadsPerWarp = [1, 32], warpsPerCTA = [1, 16], order = [0, 1]}>#loc = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":18:0)#loc1 = loc(unknown)#loc63 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":87:27)#loc79 = loc("in_ptr0"(#loc))#loc80 = loc("out_ptr1"(#loc))#loc81 = loc("out_ptr2"(#loc))#loc82 = loc("ks0"(#loc))#loc83 = loc("ks1"(#loc))#loc84 = loc("ks2"(#loc))#loc85 = loc("ks3"(#loc))#loc86 = loc("ks4"(#loc))#loc87 = loc("ks5"(#loc))#loc88 = loc("xnumel"(#loc))#loc89 = loc("r0_numel"(#loc))#loc149 = loc("tmp46"(#loc63))#loc164 = loc(callsite(#loc1 at #loc149))module attributes {"ttg.num-ctas" = 1 : i32, "ttg.num-warps" = 16 : i32, ttg.target = "cuda:90", "ttg.threads-per-warp" = 32 : i32} { tt.func public @triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1(%in_ptr0: !tt.ptr<i64> {tt.divisibility = 16 : i32} loc("in_ptr0"(#loc)), %out_ptr1: !tt.ptr<i32> {tt.divisibility = 16 : i32} loc("out_ptr1"(#loc)), %out_ptr2: !tt.ptr<i32> {tt.divisibility = 16 : i32} loc("out_ptr2"(#loc)), %ks0: i64 loc("ks0"(#loc)), %ks1: i64 loc("ks1"(#loc)), %ks2: i64 loc("ks2"(#loc)), %ks3: i64 loc("ks3"(#loc)), %ks4: i64 loc("ks4"(#loc)), %ks5: i64 loc("ks5"(#loc)), %xnumel: i32 loc("xnumel"(#loc)), %r0_numel: i32 {tt.divisibility = 16 : i32} loc("r0_numel"(#loc))) attributes {noinline = false} { %cst = arith.constant dense<128> : tensor<1x2048xi32, #blocked> loc(#loc1) %cst_0 = arith.constant dense<16384> : tensor<1x2048xi32, #blocked> loc(#loc1) %c-128_i64 = arith.constant -128 : i64 loc(#loc1) %c0_i64 = arith.constant 0 : i64 loc(#loc1) %c128_i64 = arith.constant 128 : i64 loc(#loc1) %c2048_i32 = arith.constant 2048 : i32 loc(#loc1) %c16384_i32 = arith.constant 16384 : i32 loc(#loc1) %c0_i32 = arith.constant 0 : i32 loc(#loc1) %cst_1 = arith.constant dense<16384> : tensor<1x1xi64, #blocked> loc(#loc1) %cst_2 = arith.constant dense<0> : tensor<1x1xi64, #blocked> loc(#loc1) %cst_3 = arith.constant dense<false> : tensor<1x2048xi1, #blocked> loc(#loc1) %cst_4 = arith.constant dense<0> : tensor<1x2048xi64, #blocked> loc(#loc1) %xoffset = tt.get_program_id x : i32 loc(#loc90) %xmask = arith.cmpi slt, %xoffset, %xnumel : i32 loc(#loc91) %r0_base = tt.make_range {end = 2048 : i32, start = 0 : i32} : tensor<2048xi32, #ttg.slice<{dim = 0, parent = #blocked}>> loc(#loc92) %r0_base_5 = tt.expand_dims %r0_base {axis = 0 : i32} : tensor<2048xi32, #ttg.slice<{dim = 0, parent = #blocked}>> -> tensor<1x2048xi32, #blocked> loc(#loc92) %x1 = arith.extsi %xoffset : i32 to i64 loc(#loc93) %x1_6 = arith.divsi %x1, %ks0 : i64 loc(#loc93) %x1_7 = arith.remsi %x1_6, %ks1 : i64 loc(#loc94) %x0 = arith.remsi %x1, %ks0 : i64 loc(#loc95) %x2 = arith.divsi %x1, %ks4 : i64 loc(#loc96) %tmp0 = arith.muli %x1_7, %c128_i64 : i64 loc(#loc97) %tmp0_8 = tt.splat %tmp0 : i64 -> tensor<1x2048xi64, #blocked> loc(#loc159) %tmp2 = tt.splat %ks2 : i64 -> tensor<1x2048xi64, #blocked> loc(#loc99) %tmp3 = arith.muli %x0, %c128_i64 : i64 loc(#loc100) %tmp3_9 = tt.splat %tmp3 : i64 -> tensor<1x2048xi64, #blocked> loc(#loc160) %tmp5 = tt.splat %ks3 : i64 -> tensor<1x2048xi64, #blocked> loc(#loc102) %tmp10 = tt.addptr %in_ptr0, %x2 : !tt.ptr<i64>, i64 loc(#loc103) %tmp10_10 = tt.splat %xmask : i1 -> tensor<1x2048xi1, #blocked> loc(#loc161) %tmp10_11 = tt.splat %tmp10 : !tt.ptr<i64> -> tensor<1x2048x!tt.ptr<i64>, #blocked> loc(#loc105) %tmp17 = tt.splat %ks5 : i64 -> tensor<1x2048xi64, #blocked> loc(#loc106) %tmp23 = arith.cmpi slt, %ks5, %c0_i64 : i64 loc(#loc107) %tmp23_12 = tt.splat %tmp23 : i1 -> tensor<1x2048xi1, #blocked> loc(#loc107) %tmp30 = arith.muli %x1_7, %c-128_i64 : i64 loc(#loc108) %tmp30_13 = tt.splat %tmp30 : i64 -> tensor<1x2048xi64, #blocked> loc(#loc162) %_tmp46 = scf.for %_tmp46_15 = %c0_i32 to %c16384_i32 step %c2048_i32 iter_args(%arg12 = %cst_4) -> (tensor<1x2048xi64, #blocked>) : i32 { %r0_index = tt.splat %_tmp46_15 : i32 -> tensor<1x2048xi32, #blocked> loc(#loc111) %r0_index_16 = arith.addi %r0_index, %r0_base_5 : tensor<1x2048xi32, #blocked> loc(#loc111) %r0_mask = arith.cmpi slt, %r0_index_16, %cst_0 : tensor<1x2048xi32, #blocked> loc(#loc112) %r0_4 = arith.divsi %r0_index_16, %cst : tensor<1x2048xi32, #blocked> loc(#loc113) %r0_3 = arith.remsi %r0_index_16, %cst : tensor<1x2048xi32, #blocked> loc(#loc114) %tmp0_17 = arith.extsi %r0_4 : tensor<1x2048xi32, #blocked> to tensor<1x2048xi64, #blocked> loc(#loc98) %tmp0_18 = arith.addi %tmp0_17, %tmp0_8 : tensor<1x2048xi64, #blocked> loc(#loc98) %tmp2_19 = arith.cmpi slt, %tmp0_18, %tmp2 : tensor<1x2048xi64, #blocked> loc(#loc99) %tmp3_20 = arith.extsi %r0_3 : tensor<1x2048xi32, #blocked> to tensor<1x2048xi64, #blocked> loc(#loc101) %tmp3_21 = arith.addi %tmp3_20, %tmp3_9 : tensor<1x2048xi64, #blocked> loc(#loc101) %tmp5_22 = arith.cmpi slt, %tmp3_21, %tmp5 : tensor<1x2048xi64, #blocked> loc(#loc102) %tmp6 = arith.andi %tmp2_19, %tmp5_22 : tensor<1x2048xi1, #blocked> loc(#loc115) %tmp9 = arith.cmpi sge, %tmp0_18, %tmp3_21 : tensor<1x2048xi64, #blocked> loc(#loc116) %tmp10_23 = arith.andi %r0_mask, %tmp6 : tensor<1x2048xi1, #blocked> loc(#loc117) %tmp10_24 = arith.andi %tmp10_23, %tmp10_10 : tensor<1x2048xi1, #blocked> loc(#loc104) %tmp10_25 = tt.load %tmp10_11, %tmp10_24, %cst_4 evictionPolicy = evict_last : tensor<1x2048x!tt.ptr<i64>, #blocked> loc(#loc105) %tmp11 = arith.cmpi slt, %tmp3_21, %tmp10_25 : tensor<1x2048xi64, #blocked> loc(#loc118) %tmp12 = arith.cmpi slt, %tmp0_18, %tmp10_25 : tensor<1x2048xi64, #blocked> loc(#loc119) %tmp13 = arith.andi %tmp11, %tmp12 : tensor<1x2048xi1, #blocked> loc(#loc120) %tmp14 = arith.andi %tmp9, %tmp13 : tensor<1x2048xi1, #blocked> loc(#loc121) %tmp18 = arith.cmpi sge, %tmp3_21, %tmp17 : tensor<1x2048xi64, #blocked> loc(#loc122) %tmp19 = arith.remsi %tmp3_21, %tmp17 : tensor<1x2048xi64, #blocked> loc(#loc123) %tmp21 = arith.cmpi ne, %tmp19, %cst_4 : tensor<1x2048xi64, #blocked> loc(#loc124) %tmp22 = arith.cmpi slt, %tmp19, %cst_4 : tensor<1x2048xi64, #blocked> loc(#loc125) %tmp24 = arith.cmpi ne, %tmp22, %tmp23_12 : tensor<1x2048xi1, #blocked> loc(#loc126) %tmp25 = arith.andi %tmp21, %tmp24 : tensor<1x2048xi1, #blocked> loc(#loc127) %tmp26 = arith.addi %tmp19, %tmp17 : tensor<1x2048xi64, #blocked> loc(#loc128) %tmp27 = arith.select %tmp25, %tmp26, %tmp19 : tensor<1x2048xi1, #blocked>, tensor<1x2048xi64, #blocked> loc(#loc129) %tmp28 = arith.cmpi slt, %tmp27, %tmp10_25 : tensor<1x2048xi64, #blocked> loc(#loc130) %tmp29 = arith.andi %tmp18, %tmp28 : tensor<1x2048xi1, #blocked> loc(#loc131) %tmp30_26 = arith.subi %r0_3, %r0_4 : tensor<1x2048xi32, #blocked> loc(#loc132) %tmp30_27 = arith.extsi %tmp30_26 : tensor<1x2048xi32, #blocked> to tensor<1x2048xi64, #blocked> loc(#loc109) %tmp30_28 = arith.addi %tmp30_27, %tmp30_13 : tensor<1x2048xi64, #blocked> loc(#loc109) %tmp30_29 = arith.addi %tmp30_28, %tmp3_9 : tensor<1x2048xi64, #blocked> loc(#loc133) %tmp31 = arith.remsi %tmp30_29, %tmp17 : tensor<1x2048xi64, #blocked> loc(#loc134) %tmp32 = arith.cmpi ne, %tmp31, %cst_4 : tensor<1x2048xi64, #blocked> loc(#loc135) %tmp33 = arith.cmpi slt, %tmp31, %cst_4 : tensor<1x2048xi64, #blocked> loc(#loc136) %tmp34 = arith.cmpi ne, %tmp33, %tmp23_12 : tensor<1x2048xi1, #blocked> loc(#loc137) %tmp35 = arith.andi %tmp32, %tmp34 : tensor<1x2048xi1, #blocked> loc(#loc138) %tmp36 = arith.addi %tmp31, %tmp17 : tensor<1x2048xi64, #blocked> loc(#loc139) %tmp37 = arith.select %tmp35, %tmp36, %tmp31 : tensor<1x2048xi1, #blocked>, tensor<1x2048xi64, #blocked> loc(#loc140) %tmp39 = arith.cmpi eq, %tmp37, %cst_4 : tensor<1x2048xi64, #blocked> loc(#loc141) %tmp40 = arith.andi %tmp29, %tmp39 : tensor<1x2048xi1, #blocked> loc(#loc142) %tmp41 = arith.ori %tmp14, %tmp40 : tensor<1x2048xi1, #blocked> loc(#loc143) %tmp43 = arith.select %tmp6, %tmp41, %cst_3 : tensor<1x2048xi1, #blocked>, tensor<1x2048xi1, #blocked> loc(#loc144) %tmp44 = arith.extui %tmp43 : tensor<1x2048xi1, #blocked> to tensor<1x2048xi64, #blocked> loc(#loc145) %tmp47 = arith.addi %arg12, %tmp44 : tensor<1x2048xi64, #blocked> loc(#loc146) %_tmp46_30 = arith.andi %r0_mask, %tmp10_10 : tensor<1x2048xi1, #blocked> loc(#loc147) %_tmp46_31 = arith.select %_tmp46_30, %tmp47, %arg12 : tensor<1x2048xi1, #blocked>, tensor<1x2048xi64, #blocked> loc(#loc148) scf.yield %_tmp46_31 : tensor<1x2048xi64, #blocked> loc(#loc61) } loc(#loc110) %tmp46 = "tt.reduce"(%_tmp46) <{axis = 1 : i32}> ({ ^bb0(%tmp46_15: i64 loc(callsite(#loc1 at #loc149)), %tmp46_16: i64 loc(callsite(#loc1 at #loc149))): %tmp46_17 = arith.addi %tmp46_15, %tmp46_16 : i64 loc(#loc167) tt.reduce.return %tmp46_17 : i64 loc(#loc163) }) : (tensor<1x2048xi64, #blocked>) -> tensor<1xi64, #ttg.slice<{dim = 1, parent = #blocked}>> loc(#loc163) %tmp46_14 = tt.expand_dims %tmp46 {axis = 1 : i32} : tensor<1xi64, #ttg.slice<{dim = 1, parent = #blocked}>> -> tensor<1x1xi64, #blocked> loc(#loc150) %tmp49 = arith.cmpi sgt, %tmp46_14, %cst_2 : tensor<1x1xi64, #blocked> loc(#loc151) %tmp51 = arith.cmpi slt, %tmp46_14, %cst_1 : tensor<1x1xi64, #blocked> loc(#loc152) %tmp52 = arith.andi %tmp49, %tmp51 : tensor<1x1xi1, #blocked> loc(#loc153) %tmp54 = arith.extui %tmp52 : tensor<1x1xi1, #blocked> to tensor<1x1xi32, #blocked> loc(#loc165) %tmp55 = arith.cmpi eq, %tmp46_14, %cst_1 : tensor<1x1xi64, #blocked> loc(#loc156) %tmp57 = arith.extui %tmp55 : tensor<1x1xi1, #blocked> to tensor<1x1xi32, #blocked> loc(#loc166) %0 = tt.addptr %out_ptr1, %xoffset : !tt.ptr<i32>, i32 loc(#loc74) %1 = tt.splat %0 : !tt.ptr<i32> -> tensor<1x1x!tt.ptr<i32>, #blocked> loc(#loc75) %2 = tt.splat %xmask : i1 -> tensor<1x1xi1, #blocked> loc(#loc75) tt.store %1, %tmp54, %2 : tensor<1x1x!tt.ptr<i32>, #blocked> loc(#loc75) %3 = tt.addptr %out_ptr2, %xoffset : !tt.ptr<i32>, i32 loc(#loc76) %4 = tt.splat %3 : !tt.ptr<i32> -> tensor<1x1x!tt.ptr<i32>, #blocked> loc(#loc77) tt.store %4, %tmp57, %2 : tensor<1x1x!tt.ptr<i32>, #blocked> loc(#loc77) tt.return loc(#loc78) } loc(#loc)} loc(#loc)#loc2 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":22:28)#loc3 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":24:21)#loc4 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":25:37)#loc5 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":27:21)#loc6 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":27:28)#loc7 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":28:19)#loc8 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":29:19)#loc9 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":39:26)#loc10 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":39:22)#loc11 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":41:22)#loc12 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":42:26)#loc13 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":42:22)#loc14 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":44:22)#loc15 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":49:35)#loc16 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":49:94)#loc17 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":49:77)#loc18 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":56:37)#loc19 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":62:92)#loc20 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":69:45)#loc21 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":69:38)#loc22 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":32:40)#loc23 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":33:31)#loc24 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":34:29)#loc25 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":37:27)#loc26 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":38:27)#loc27 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":45:22)#loc28 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":48:23)#loc29 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":49:87)#loc30 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":50:23)#loc31 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":51:23)#loc32 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":52:24)#loc33 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":53:23)#loc34 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":57:24)#loc35 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":58:24)#loc36 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":60:25)#loc37 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":61:92)#loc38 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":63:25)#loc39 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":64:24)#loc40 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":65:24)#loc41 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":66:39)#loc42 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":67:24)#loc43 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":68:24)#loc44 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":69:24)#loc45 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":69:51)#loc46 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":70:25)#loc47 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":71:25)#loc48 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":72:92)#loc49 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":73:25)#loc50 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":74:24)#loc51 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":75:24)#loc52 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":76:39)#loc53 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":78:25)#loc54 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":79:24)#loc55 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":80:24)#loc56 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":82:38)#loc57 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":83:25)#loc58 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":85:25)#loc59 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":86:36)#loc60 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":86:50)#loc61 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":86:8)#loc62 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":291:36)#loc64 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":261:15)#loc65 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":87:30)#loc66 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":89:20)#loc67 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":91:20)#loc68 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":92:20)#loc69 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":94:21)#loc70 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":93:21)#loc71 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":95:21)#loc72 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":97:21)#loc73 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":96:21)#loc74 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":98:25)#loc75 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":98:37)#loc76 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":99:25)#loc77 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":99:37)#loc78 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":99:4)#loc90 = loc("xoffset"(#loc2))#loc91 = loc("xmask"(#loc3))#loc92 = loc("r0_base"(#loc4))#loc93 = loc("x1"(#loc5))#loc94 = loc("x1"(#loc6))#loc95 = loc("x0"(#loc7))#loc96 = loc("x2"(#loc8))#loc97 = loc("tmp0"(#loc9))#loc98 = loc("tmp0"(#loc10))#loc99 = loc("tmp2"(#loc11))#loc100 = loc("tmp3"(#loc12))#loc101 = loc("tmp3"(#loc13))#loc102 = loc("tmp5"(#loc14))#loc103 = loc("tmp10"(#loc15))#loc104 = loc("tmp10"(#loc16))#loc105 = loc("tmp10"(#loc17))#loc106 = loc("tmp17"(#loc18))#loc107 = loc("tmp23"(#loc19))#loc108 = loc("tmp30"(#loc20))#loc109 = loc("tmp30"(#loc21))#loc110 = loc("_tmp46"(#loc22))#loc111 = loc("r0_index"(#loc23))#loc112 = loc("r0_mask"(#loc24))#loc113 = loc("r0_4"(#loc25))#loc114 = loc("r0_3"(#loc26))#loc115 = loc("tmp6"(#loc27))#loc116 = loc("tmp9"(#loc28))#loc117 = loc("tmp10"(#loc29))#loc118 = loc("tmp11"(#loc30))#loc119 = loc("tmp12"(#loc31))#loc120 = loc("tmp13"(#loc32))#loc121 = loc("tmp14"(#loc33))#loc122 = loc("tmp18"(#loc34))#loc123 = loc("tmp19"(#loc35))#loc124 = loc("tmp21"(#loc36))#loc125 = loc("tmp22"(#loc37))#loc126 = loc("tmp24"(#loc38))#loc127 = loc("tmp25"(#loc39))#loc128 = loc("tmp26"(#loc40))#loc129 = loc("tmp27"(#loc41))#loc130 = loc("tmp28"(#loc42))#loc131 = loc("tmp29"(#loc43))#loc132 = loc("tmp30"(#loc44))#loc133 = loc("tmp30"(#loc45))#loc134 = loc("tmp31"(#loc46))#loc135 = loc("tmp32"(#loc47))#loc136 = loc("tmp33"(#loc48))#loc137 = loc("tmp34"(#loc49))#loc138 = loc("tmp35"(#loc50))#loc139 = loc("tmp36"(#loc51))#loc140 = loc("tmp37"(#loc52))#loc141 = loc("tmp39"(#loc53))#loc142 = loc("tmp40"(#loc54))#loc143 = loc("tmp41"(#loc55))#loc144 = loc("tmp43"(#loc56))#loc145 = loc("tmp44"(#loc57))#loc146 = loc("tmp47"(#loc58))#loc147 = loc("_tmp46"(#loc59))#loc148 = loc("_tmp46"(#loc60))#loc150 = loc("tmp46"(#loc65))#loc151 = loc("tmp49"(#loc66))#loc152 = loc("tmp51"(#loc67))#loc153 = loc("tmp52"(#loc68))#loc154 = loc("tmp54"(#loc69))#loc155 = loc("tmp53"(#loc70))#loc156 = loc("tmp55"(#loc71))#loc157 = loc("tmp57"(#loc72))#loc158 = loc("tmp56"(#loc73))#loc159 = loc(fused[#loc98, #loc97])#loc160 = loc(fused[#loc101, #loc100])#loc161 = loc(fused[#loc104, #loc91])#loc162 = loc(fused[#loc109, #loc108])#loc163 = loc(callsite(#loc62 at #loc149))#loc165 = loc(fused[#loc154, #loc155])#loc166 = loc(fused[#loc157, #loc158])#loc167 = loc(callsite(#loc64 at #loc163))123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283#loc = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":18:0)#loc1 = loc(unknown)#loc65 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":87:27)#loc81 = loc("in_ptr0"(#loc))#loc82 = loc("out_ptr1"(#loc))#loc83 = loc("out_ptr2"(#loc))#loc84 = loc("ks0"(#loc))#loc85 = loc("ks1"(#loc))#loc86 = loc("ks2"(#loc))#loc87 = loc("ks3"(#loc))#loc88 = loc("ks4"(#loc))#loc89 = loc("ks5"(#loc))#loc90 = loc("xnumel"(#loc))#loc91 = loc("r0_numel"(#loc))#loc153 = loc("tmp46"(#loc65))#loc168 = loc(callsite(#loc1 at #loc153))module { tt.func public @triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1(%in_ptr0: !tt.ptr<i64> {tt.divisibility = 16 : i32} loc("in_ptr0"(#loc)), %out_ptr1: !tt.ptr<i32> {tt.divisibility = 16 : i32} loc("out_ptr1"(#loc)), %out_ptr2: !tt.ptr<i32> {tt.divisibility = 16 : i32} loc("out_ptr2"(#loc)), %ks0: i64 loc("ks0"(#loc)), %ks1: i64 loc("ks1"(#loc)), %ks2: i64 loc("ks2"(#loc)), %ks3: i64 loc("ks3"(#loc)), %ks4: i64 loc("ks4"(#loc)), %ks5: i64 loc("ks5"(#loc)), %xnumel: i32 loc("xnumel"(#loc)), %r0_numel: i32 {tt.divisibility = 16 : i32} loc("r0_numel"(#loc))) attributes {noinline = false} { %c-128_i64 = arith.constant -128 : i64 loc(#loc1) %c0_i64 = arith.constant 0 : i64 loc(#loc1) %c128_i64 = arith.constant 128 : i64 loc(#loc1) %c2048_i32 = arith.constant 2048 : i32 loc(#loc2) %c16384_i32 = arith.constant 16384 : i32 loc(#loc2) %c0_i32 = arith.constant 0 : i32 loc(#loc2) %tmp50 = arith.constant dense<16384> : tensor<1x1xi64> loc(#loc92) %cst = arith.constant dense<0> : tensor<1x1xi64> loc(#loc1) %cst_0 = arith.constant dense<false> : tensor<1x2048xi1> loc(#loc1) %cst_1 = arith.constant dense<128> : tensor<1x2048xi32> loc(#loc1) %cst_2 = arith.constant dense<16384> : tensor<1x2048xi32> loc(#loc1) %cst_3 = arith.constant dense<0> : tensor<1x2048xi64> loc(#loc1) %xoffset = tt.get_program_id x : i32 loc(#loc93) %xmask = arith.cmpi slt, %xoffset, %xnumel : i32 loc(#loc94) %xmask_4 = tt.splat %xmask : i1 -> tensor<1x1xi1> loc(#loc94) %r0_base = tt.make_range {end = 2048 : i32, start = 0 : i32} : tensor<2048xi32> loc(#loc95) %r0_base_5 = tt.expand_dims %r0_base {axis = 0 : i32} : tensor<2048xi32> -> tensor<1x2048xi32> loc(#loc96) %x1 = arith.extsi %xoffset : i32 to i64 loc(#loc97) %x1_6 = arith.divsi %x1, %ks0 : i64 loc(#loc97) %x1_7 = arith.remsi %x1_6, %ks1 : i64 loc(#loc98) %x0 = arith.remsi %x1, %ks0 : i64 loc(#loc99) %x2 = arith.divsi %x1, %ks4 : i64 loc(#loc100) %_tmp46 = scf.for %r0_offset = %c0_i32 to %c16384_i32 step %c2048_i32 iter_args(%_tmp46_9 = %cst_3) -> (tensor<1x2048xi64>) : i32 { %r0_index = tt.splat %r0_offset : i32 -> tensor<1x2048xi32> loc(#loc102) %r0_index_10 = arith.addi %r0_index, %r0_base_5 : tensor<1x2048xi32> loc(#loc102) %r0_mask = arith.cmpi slt, %r0_index_10, %cst_2 : tensor<1x2048xi32> loc(#loc103) %r0_4 = arith.divsi %r0_index_10, %cst_1 : tensor<1x2048xi32> loc(#loc104) %r0_3 = arith.remsi %r0_index_10, %cst_1 : tensor<1x2048xi32> loc(#loc105) %tmp0 = arith.muli %x1_7, %c128_i64 : i64 loc(#loc106) %tmp0_11 = arith.extsi %r0_4 : tensor<1x2048xi32> to tensor<1x2048xi64> loc(#loc107) %tmp0_12 = tt.splat %tmp0 : i64 -> tensor<1x2048xi64> loc(#loc163) %tmp0_13 = arith.addi %tmp0_11, %tmp0_12 : tensor<1x2048xi64> loc(#loc107) %tmp2 = tt.splat %ks2 : i64 -> tensor<1x2048xi64> loc(#loc108) %tmp2_14 = arith.cmpi slt, %tmp0_13, %tmp2 : tensor<1x2048xi64> loc(#loc108) %tmp3 = arith.muli %x0, %c128_i64 : i64 loc(#loc109) %tmp3_15 = arith.extsi %r0_3 : tensor<1x2048xi32> to tensor<1x2048xi64> loc(#loc110) %tmp3_16 = tt.splat %tmp3 : i64 -> tensor<1x2048xi64> loc(#loc164) %tmp3_17 = arith.addi %tmp3_15, %tmp3_16 : tensor<1x2048xi64> loc(#loc110) %tmp5 = tt.splat %ks3 : i64 -> tensor<1x2048xi64> loc(#loc111) %tmp5_18 = arith.cmpi slt, %tmp3_17, %tmp5 : tensor<1x2048xi64> loc(#loc111) %tmp6 = arith.andi %tmp2_14, %tmp5_18 : tensor<1x2048xi1> loc(#loc112) %tmp9 = arith.cmpi sge, %tmp0_13, %tmp3_17 : tensor<1x2048xi64> loc(#loc113) %tmp10 = tt.addptr %in_ptr0, %x2 : !tt.ptr<i64>, i64 loc(#loc114) %tmp10_19 = tt.splat %tmp10 : !tt.ptr<i64> -> tensor<1x2048x!tt.ptr<i64>> loc(#loc114) %tmp10_20 = arith.andi %r0_mask, %tmp6 : tensor<1x2048xi1> loc(#loc115) %tmp10_21 = tt.splat %xmask : i1 -> tensor<1x2048xi1> loc(#loc165) %tmp10_22 = arith.andi %tmp10_20, %tmp10_21 : tensor<1x2048xi1> loc(#loc116) %tmp10_23 = tt.load %tmp10_19, %tmp10_22, %cst_3 evictionPolicy = evict_last : tensor<1x2048x!tt.ptr<i64>> loc(#loc117) %tmp11 = arith.cmpi slt, %tmp3_17, %tmp10_23 : tensor<1x2048xi64> loc(#loc118) %tmp12 = arith.cmpi slt, %tmp0_13, %tmp10_23 : tensor<1x2048xi64> loc(#loc119) %tmp13 = arith.andi %tmp11, %tmp12 : tensor<1x2048xi1> loc(#loc120) %tmp14 = arith.andi %tmp9, %tmp13 : tensor<1x2048xi1> loc(#loc121) %tmp17 = tt.splat %ks5 : i64 -> tensor<1x2048xi64> loc(#loc122) %tmp18 = arith.cmpi sge, %tmp3_17, %tmp17 : tensor<1x2048xi64> loc(#loc123) %tmp19 = arith.remsi %tmp3_17, %tmp17 : tensor<1x2048xi64> loc(#loc124) %tmp21 = arith.cmpi ne, %tmp19, %cst_3 : tensor<1x2048xi64> loc(#loc125) %tmp22 = arith.cmpi slt, %tmp19, %cst_3 : tensor<1x2048xi64> loc(#loc126) %tmp23 = arith.cmpi slt, %ks5, %c0_i64 : i64 loc(#loc127) %tmp23_24 = tt.splat %tmp23 : i1 -> tensor<1x2048xi1> loc(#loc127) %tmp24 = arith.cmpi ne, %tmp22, %tmp23_24 : tensor<1x2048xi1> loc(#loc128) %tmp25 = arith.andi %tmp21, %tmp24 : tensor<1x2048xi1> loc(#loc129) %tmp26 = arith.addi %tmp19, %tmp17 : tensor<1x2048xi64> loc(#loc130) %tmp27 = arith.select %tmp25, %tmp26, %tmp19 : tensor<1x2048xi1>, tensor<1x2048xi64> loc(#loc131) %tmp28 = arith.cmpi slt, %tmp27, %tmp10_23 : tensor<1x2048xi64> loc(#loc132) %tmp29 = arith.andi %tmp18, %tmp28 : tensor<1x2048xi1> loc(#loc133) %tmp30 = arith.subi %r0_3, %r0_4 : tensor<1x2048xi32> loc(#loc134) %tmp30_25 = arith.muli %x1_7, %c-128_i64 : i64 loc(#loc135) %tmp30_26 = arith.extsi %tmp30 : tensor<1x2048xi32> to tensor<1x2048xi64> loc(#loc136) %tmp30_27 = tt.splat %tmp30_25 : i64 -> tensor<1x2048xi64> loc(#loc166) %tmp30_28 = arith.addi %tmp30_26, %tmp30_27 : tensor<1x2048xi64> loc(#loc136) %tmp30_29 = arith.addi %tmp30_28, %tmp3_16 : tensor<1x2048xi64> loc(#loc137) %tmp31 = arith.remsi %tmp30_29, %tmp17 : tensor<1x2048xi64> loc(#loc138) %tmp32 = arith.cmpi ne, %tmp31, %cst_3 : tensor<1x2048xi64> loc(#loc139) %tmp33 = arith.cmpi slt, %tmp31, %cst_3 : tensor<1x2048xi64> loc(#loc140) %tmp34 = arith.cmpi ne, %tmp33, %tmp23_24 : tensor<1x2048xi1> loc(#loc141) %tmp35 = arith.andi %tmp32, %tmp34 : tensor<1x2048xi1> loc(#loc142) %tmp36 = arith.addi %tmp31, %tmp17 : tensor<1x2048xi64> loc(#loc143) %tmp37 = arith.select %tmp35, %tmp36, %tmp31 : tensor<1x2048xi1>, tensor<1x2048xi64> loc(#loc144) %tmp39 = arith.cmpi eq, %tmp37, %cst_3 : tensor<1x2048xi64> loc(#loc145) %tmp40 = arith.andi %tmp29, %tmp39 : tensor<1x2048xi1> loc(#loc146) %tmp41 = arith.ori %tmp14, %tmp40 : tensor<1x2048xi1> loc(#loc147) %tmp43 = arith.select %tmp6, %tmp41, %cst_0 : tensor<1x2048xi1>, tensor<1x2048xi1> loc(#loc148) %tmp44 = arith.extui %tmp43 : tensor<1x2048xi1> to tensor<1x2048xi64> loc(#loc149) %tmp47 = arith.addi %_tmp46_9, %tmp44 : tensor<1x2048xi64> loc(#loc150) %_tmp46_30 = arith.andi %r0_mask, %tmp10_21 : tensor<1x2048xi1> loc(#loc151) %_tmp46_31 = arith.select %_tmp46_30, %tmp47, %_tmp46_9 : tensor<1x2048xi1>, tensor<1x2048xi64> loc(#loc152) scf.yield %_tmp46_31 : tensor<1x2048xi64> loc(#loc63) } loc(#loc101) %tmp46 = "tt.reduce"(%_tmp46) <{axis = 1 : i32}> ({ ^bb0(%tmp46_9: i64 loc(callsite(#loc1 at #loc153)), %tmp46_10: i64 loc(callsite(#loc1 at #loc153))): %tmp46_11 = arith.addi %tmp46_9, %tmp46_10 : i64 loc(#loc171) tt.reduce.return %tmp46_11 : i64 loc(#loc167) }) : (tensor<1x2048xi64>) -> tensor<1xi64> loc(#loc167) %tmp46_8 = tt.expand_dims %tmp46 {axis = 1 : i32} : tensor<1xi64> -> tensor<1x1xi64> loc(#loc154) %tmp49 = arith.cmpi sgt, %tmp46_8, %cst : tensor<1x1xi64> loc(#loc155) %tmp51 = arith.cmpi slt, %tmp46_8, %tmp50 : tensor<1x1xi64> loc(#loc156) %tmp52 = arith.andi %tmp49, %tmp51 : tensor<1x1xi1> loc(#loc157) %tmp54 = arith.extui %tmp52 : tensor<1x1xi1> to tensor<1x1xi32> loc(#loc169) %tmp55 = arith.cmpi eq, %tmp46_8, %tmp50 : tensor<1x1xi64> loc(#loc160) %tmp57 = arith.extui %tmp55 : tensor<1x1xi1> to tensor<1x1xi32> loc(#loc170) %0 = tt.addptr %out_ptr1, %xoffset : !tt.ptr<i32>, i32 loc(#loc76) %1 = tt.splat %0 : !tt.ptr<i32> -> tensor<1x1x!tt.ptr<i32>> loc(#loc76) tt.store %1, %tmp54, %xmask_4 : tensor<1x1x!tt.ptr<i32>> loc(#loc77) %2 = tt.addptr %out_ptr2, %xoffset : !tt.ptr<i32>, i32 loc(#loc78) %3 = tt.splat %2 : !tt.ptr<i32> -> tensor<1x1x!tt.ptr<i32>> loc(#loc78) tt.store %3, %tmp57, %xmask_4 : tensor<1x1x!tt.ptr<i32>> loc(#loc79) tt.return loc(#loc80) } loc(#loc)} loc(#loc)#loc2 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":32:40)#loc3 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":90:35)#loc4 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":22:28)#loc5 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":24:21)#loc6 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":25:27)#loc7 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":25:37)#loc8 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":27:21)#loc9 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":27:28)#loc10 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":28:19)#loc11 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":29:19)#loc12 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":33:31)#loc13 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":34:29)#loc14 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":37:27)#loc15 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":38:27)#loc16 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":39:26)#loc17 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":39:22)#loc18 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":41:22)#loc19 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":42:26)#loc20 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":42:22)#loc21 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":44:22)#loc22 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":45:22)#loc23 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":48:23)#loc24 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":49:35)#loc25 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":49:87)#loc26 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":49:94)#loc27 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":49:77)#loc28 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":50:23)#loc29 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":51:23)#loc30 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":52:24)#loc31 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":53:23)#loc32 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":56:37)#loc33 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":57:24)#loc34 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":58:24)#loc35 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":60:25)#loc36 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":61:92)#loc37 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":62:92)#loc38 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":63:25)#loc39 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":64:24)#loc40 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":65:24)#loc41 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":66:39)#loc42 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":67:24)#loc43 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":68:24)#loc44 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":69:24)#loc45 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":69:45)#loc46 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":69:38)#loc47 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":69:51)#loc48 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":70:25)#loc49 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":71:25)#loc50 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":72:92)#loc51 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":73:25)#loc52 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":74:24)#loc53 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":75:24)#loc54 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":76:39)#loc55 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":78:25)#loc56 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":79:24)#loc57 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":80:24)#loc58 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":82:38)#loc59 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":83:25)#loc60 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":85:25)#loc61 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":86:36)#loc62 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":86:50)#loc63 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":86:8)#loc64 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":291:36)#loc66 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":261:15)#loc67 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":87:30)#loc68 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":89:20)#loc69 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":91:20)#loc70 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":92:20)#loc71 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":94:21)#loc72 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":93:21)#loc73 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":95:21)#loc74 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":97:21)#loc75 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":96:21)#loc76 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":98:25)#loc77 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":98:37)#loc78 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":99:25)#loc79 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":99:37)#loc80 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/by/cbyf6tnxdurjeuzcpf5qwfctjpqdrbul2dx4g37h6xtdepaj3zuo.py":99:4)#loc92 = loc("tmp50"(#loc3))#loc93 = loc("xoffset"(#loc4))#loc94 = loc("xmask"(#loc5))#loc95 = loc("r0_base"(#loc6))#loc96 = loc("r0_base"(#loc7))#loc97 = loc("x1"(#loc8))#loc98 = loc("x1"(#loc9))#loc99 = loc("x0"(#loc10))#loc100 = loc("x2"(#loc11))#loc101 = loc("_tmp46"(#loc2))#loc102 = loc("r0_index"(#loc12))#loc103 = loc("r0_mask"(#loc13))#loc104 = loc("r0_4"(#loc14))#loc105 = loc("r0_3"(#loc15))#loc106 = loc("tmp0"(#loc16))#loc107 = loc("tmp0"(#loc17))#loc108 = loc("tmp2"(#loc18))#loc109 = loc("tmp3"(#loc19))#loc110 = loc("tmp3"(#loc20))#loc111 = loc("tmp5"(#loc21))#loc112 = loc("tmp6"(#loc22))#loc113 = loc("tmp9"(#loc23))#loc114 = loc("tmp10"(#loc24))#loc115 = loc("tmp10"(#loc25))#loc116 = loc("tmp10"(#loc26))#loc117 = loc("tmp10"(#loc27))#loc118 = loc("tmp11"(#loc28))#loc119 = loc("tmp12"(#loc29))#loc120 = loc("tmp13"(#loc30))#loc121 = loc("tmp14"(#loc31))#loc122 = loc("tmp17"(#loc32))#loc123 = loc("tmp18"(#loc33))#loc124 = loc("tmp19"(#loc34))#loc125 = loc("tmp21"(#loc35))#loc126 = loc("tmp22"(#loc36))#loc127 = loc("tmp23"(#loc37))#loc128 = loc("tmp24"(#loc38))#loc129 = loc("tmp25"(#loc39))#loc130 = loc("tmp26"(#loc40))#loc131 = loc("tmp27"(#loc41))#loc132 = loc("tmp28"(#loc42))#loc133 = loc("tmp29"(#loc43))#loc134 = loc("tmp30"(#loc44))#loc135 = loc("tmp30"(#loc45))#loc136 = loc("tmp30"(#loc46))#loc137 = loc("tmp30"(#loc47))#loc138 = loc("tmp31"(#loc48))#loc139 = loc("tmp32"(#loc49))#loc140 = loc("tmp33"(#loc50))#loc141 = loc("tmp34"(#loc51))#loc142 = loc("tmp35"(#loc52))#loc143 = loc("tmp36"(#loc53))#loc144 = loc("tmp37"(#loc54))#loc145 = loc("tmp39"(#loc55))#loc146 = loc("tmp40"(#loc56))#loc147 = loc("tmp41"(#loc57))#loc148 = loc("tmp43"(#loc58))#loc149 = loc("tmp44"(#loc59))#loc150 = loc("tmp47"(#loc60))#loc151 = loc("_tmp46"(#loc61))#loc152 = loc("_tmp46"(#loc62))#loc154 = loc("tmp46"(#loc67))#loc155 = loc("tmp49"(#loc68))#loc156 = loc("tmp51"(#loc69))#loc157 = loc("tmp52"(#loc70))#loc158 = loc("tmp54"(#loc71))#loc159 = loc("tmp53"(#loc72))#loc160 = loc("tmp55"(#loc73))#loc161 = loc("tmp57"(#loc74))#loc162 = loc("tmp56"(#loc75))#loc163 = loc(fused[#loc107, #loc106])#loc164 = loc(fused[#loc110, #loc109])#loc165 = loc(fused[#loc116, #loc94])#loc166 = loc(fused[#loc136, #loc135])#loc167 = loc(callsite(#loc64 at #loc153))#loc169 = loc(fused[#loc158, #loc159])#loc170 = loc(fused[#loc161, #loc162])#loc171 = loc(callsite(#loc66 at #loc167))1{"child_paths": {"triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.source": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.source", "triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.ttir": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.ttir", "triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.ttgir": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.ttgir", "triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.llir": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.llir", "triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.ptx": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.ptx", "triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.cubin": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.cubin", "triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.json": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.json"}}1{"hash": "dcf9c3d58e1d47ce5613d5d0ceadd19ad1e3325e6f9b526d3b2abd496024081a", "target": {"backend": "cuda", "arch": 90, "warp_size": 32}, "num_warps": 2, "num_ctas": 1, "num_stages": 1, "warp_size": 32, "maxnreg": null, "cluster_dims": [1, 1, 1], "ptx_version": null, "ptx_options": null, "ir_override": null, "enable_fp_fusion": true, "launch_cooperative_grid": false, "launch_pdl": false, "supported_fp8_dtypes": ["fp8e4b15", "fp8e4nv", "fp8e5"], "deprecated_fp8_dot_operand_dtypes": ["fp8e4b15"], "default_dot_input_precision": "tf32", "allowed_dot_input_precisions": ["tf32", "tf32x3", "ieee"], "max_num_imprecise_acc_default": 1073741824, "extern_libs": [["libdevice", "/workspace/specforge/lib/python3.11/site-packages/triton/backends/nvidia/lib/libdevice.10.bc"]], "debug": true, "backend_name": "cuda", "sanitize_overflow": false, "arch": "sm90", "instrumentation_mode": "", "triton_version": "3.5.1", "tensordesc_meta": [], "shared": 512, "tmem_size": 0, "global_scratch_size": 0, "global_scratch_align": 1, "profile_scratch_size": 0, "profile_scratch_align": 1, "name": "triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781; ModuleID = 'LLVMDialectModule'source_filename = "LLVMDialectModule"target datalayout = "e-p3:32:32-p4:32:32-p5:32:32-p6:32:32-p7:32:32-i64:64-i128:128-v16:16-v32:32-n16:32:64"
@global_smem = external addrspace(3) global [0 x i8], align 16
; Function Attrs: nounwinddefine ptx_kernel void @triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3(ptr addrspace(1) %0, ptr addrspace(1) %1, ptr addrspace(1) %2, i32 %3, i32 %4, ptr addrspace(1) readnone captures(none) %5, ptr addrspace(1) readnone captures(none) %6) local_unnamed_addr #0 !dbg !4 { %8 = tail call i32 @llvm.nvvm.read.ptx.sreg.ctaid.x(), !dbg !7 %9 = shl i32 %8, 3, !dbg !8 %10 = tail call i32 @llvm.nvvm.read.ptx.sreg.tid.x(), !dbg !9 %11 = and i32 %10, 24, !dbg !9 %12 = lshr i32 %10, 5, !dbg !9 %13 = and i32 %10, 7, !dbg !9 %14 = lshr i32 %10, 3, !dbg !9 %15 = and i32 %14, 7, !dbg !9 %16 = or disjoint i32 %9, %13, !dbg !10 %17 = or disjoint i32 %15, %9, !dbg !10 %18 = icmp slt i32 %16, 32, !dbg !11 %19 = icmp slt i32 %17, 32, !dbg !11 %20 = or disjoint i32 %15, 8, !dbg !12 %21 = shl nuw nsw i32 %13, 1, !dbg !12 %22 = sdiv i32 %16, 16, !dbg !13 %23 = mul nuw nsw i32 %15, 17, !dbg !14 %24 = mul nuw nsw i32 %20, 17, !dbg !14 %25 = shl i32 %22, 8, !dbg !15 %26 = add i32 %25, %16, !dbg !15 %27 = add i32 %26, %23, !dbg !16 %28 = add i32 %26, %24, !dbg !16 %29 = sext i32 %27 to i64, !dbg !17 %30 = getelementptr i32, ptr addrspace(1) %0, i64 %29, !dbg !17 %31 = sext i32 %28 to i64, !dbg !17 %32 = getelementptr i32, ptr addrspace(1) %0, i64 %31, !dbg !17 %33 = tail call i32 asm sideeffect "mov.u32 $0, 0x0;\0A\09@$2 ld.global.b32 { $0 }, [ $1 + 0 ];", "=r,l,b"(ptr addrspace(1) %30, i1 %18) #4, !dbg !18 %34 = tail call i32 asm sideeffect "mov.u32 $0, 0x0;\0A\09@$2 ld.global.b32 { $0 }, [ $1 + 0 ];", "=r,l,b"(ptr addrspace(1) %32, i1 %18) #4, !dbg !18 %35 = lshr i32 %10, 4, !dbg !19 %.lobit = and i32 %35, 1, !dbg !19 %36 = and i32 %10, 8, !dbg !19 %.not = icmp eq i32 %36, 0, !dbg !19 %.lobit1 = lshr exact i32 %36, 3, !dbg !19 %37 = and i32 %10, 32, !dbg !19 %.not3 = icmp eq i32 %37, 0, !dbg !19 %.lobit2 = lshr exact i32 %37, 5, !dbg !19 %38 = xor i32 %.lobit1, 1, !dbg !23 %39 = xor i32 %.lobit, 1, !dbg !23 %40 = xor i32 %.lobit2, 1, !dbg !23 %41 = mul nuw nsw i32 %33, %38, !dbg !24 %42 = mul nuw nsw i32 %34, %38, !dbg !24 %43 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %41, i32 8, i32 31), !dbg !25 %44 = add i32 %43, %41, !dbg !28 %45 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %42, i32 8, i32 31), !dbg !25 %46 = add i32 %45, %42, !dbg !28 %47 = mul nuw nsw i32 %33, %.lobit1, !dbg !29 %48 = mul nuw nsw i32 %34, %.lobit1, !dbg !29 %49 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %47, i32 8, i32 31), !dbg !25 %50 = add i32 %49, %47, !dbg !28 %51 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %48, i32 8, i32 31), !dbg !25 %52 = add i32 %51, %48, !dbg !28 %53 = mul nuw nsw i32 %38, %15, !dbg !30 %54 = mul nuw nsw i32 %20, %38, !dbg !30 %55 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %53, i32 8, i32 31), !dbg !25 %56 = add i32 %55, %53, !dbg !28 %57 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %54, i32 8, i32 31), !dbg !25 %58 = add i32 %57, %54, !dbg !28 %59 = mul nuw nsw i32 %15, %.lobit1, !dbg !31 %60 = mul nuw nsw i32 %20, %.lobit1, !dbg !31 %61 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %59, i32 8, i32 31), !dbg !25 %62 = add i32 %61, %59, !dbg !28 %63 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %60, i32 8, i32 31), !dbg !25 %64 = add i32 %63, %60, !dbg !28 %65 = trunc i32 %35 to i1, !dbg !32 %66 = icmp sge i32 %44, %50, !dbg !32 %67 = icmp ne i32 %44, %50, !dbg !32 %68 = icmp sle i32 %56, %62, !dbg !32 %69 = or i1 %67, %68, !dbg !32 %70 = and i1 %66, %69, !dbg !32 %.not4 = xor i1 %70, %65, !dbg !32 %71 = icmp sge i32 %46, %52, !dbg !32 %72 = icmp ne i32 %46, %52, !dbg !32 %73 = icmp sle i32 %58, %64, !dbg !32 %74 = or i1 %72, %73, !dbg !32 %75 = and i1 %71, %74, !dbg !32 %.not5 = xor i1 %75, %65, !dbg !32 %76 = xor i32 %50, %44, !dbg !33 %77 = xor i32 %52, %46, !dbg !33 %78 = select i1 %.not4, i32 0, i32 %76, !dbg !34 %79 = select i1 %.not5, i32 0, i32 %77, !dbg !34 %80 = xor i32 %78, %33, !dbg !35 %81 = xor i32 %79, %34, !dbg !35 %82 = xor i32 %62, %56, !dbg !36 %83 = xor i32 %64, %58, !dbg !36 %84 = select i1 %.not4, i32 0, i32 %82, !dbg !37 %85 = select i1 %.not5, i32 0, i32 %83, !dbg !37 %86 = xor i32 %84, %15, !dbg !38 %87 = xor i32 %85, %20, !dbg !38 %88 = mul nuw nsw i32 %80, %39, !dbg !24 %89 = mul nuw nsw i32 %81, %39, !dbg !24 %90 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %88, i32 16, i32 31), !dbg !25 %91 = add i32 %88, %90, !dbg !28 %92 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %89, i32 16, i32 31), !dbg !25 %93 = add i32 %89, %92, !dbg !28 %94 = mul nuw nsw i32 %80, %.lobit, !dbg !29 %95 = mul nuw nsw i32 %81, %.lobit, !dbg !29 %96 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %94, i32 16, i32 31), !dbg !25 %97 = add i32 %94, %96, !dbg !28 %98 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %95, i32 16, i32 31), !dbg !25 %99 = add i32 %95, %98, !dbg !28 %100 = mul nuw nsw i32 %86, %39, !dbg !30 %101 = mul nuw nsw i32 %87, %39, !dbg !30 %102 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %100, i32 16, i32 31), !dbg !25 %103 = add i32 %100, %102, !dbg !28 %104 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %101, i32 16, i32 31), !dbg !25 %105 = add i32 %101, %104, !dbg !28 %106 = mul nuw nsw i32 %86, %.lobit, !dbg !31 %107 = mul nuw nsw i32 %87, %.lobit, !dbg !31 %108 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %106, i32 16, i32 31), !dbg !25 %109 = add i32 %106, %108, !dbg !28 %110 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %107, i32 16, i32 31), !dbg !25 %111 = add i32 %107, %110, !dbg !28 %112 = icmp slt i32 %91, %97, !dbg !39 %113 = icmp slt i32 %93, %99, !dbg !39 %114 = icmp eq i32 %91, %97, !dbg !40 %115 = icmp eq i32 %93, %99, !dbg !40 %116 = icmp sgt i32 %103, %109, !dbg !41 %117 = icmp sgt i32 %105, %111, !dbg !41 %118 = and i1 %114, %116, !dbg !42 %119 = and i1 %115, %117, !dbg !42 %120 = or i1 %112, %118, !dbg !43 %121 = or i1 %113, %119, !dbg !43 %122 = zext i1 %120 to i32, !dbg !44 %123 = zext i1 %121 to i32, !dbg !44 %.not6 = icmp eq i32 %.lobit2, %122, !dbg !32 %.not7 = icmp eq i32 %.lobit2, %123, !dbg !32 %124 = xor i32 %91, %97, !dbg !33 %125 = xor i32 %93, %99, !dbg !33 %126 = select i1 %.not6, i32 0, i32 %124, !dbg !34 %127 = select i1 %.not7, i32 0, i32 %125, !dbg !34 %128 = xor i32 %126, %80, !dbg !35 %129 = xor i32 %127, %81, !dbg !35 %130 = xor i32 %103, %109, !dbg !36 %131 = xor i32 %105, %111, !dbg !36 %132 = select i1 %.not6, i32 0, i32 %130, !dbg !37 %133 = select i1 %.not7, i32 0, i32 %131, !dbg !37 %134 = xor i32 %132, %86, !dbg !38 %135 = xor i32 %133, %87, !dbg !38 %136 = mul nuw nsw i32 %128, %38, !dbg !24 %137 = mul nuw nsw i32 %129, %38, !dbg !24 %138 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %136, i32 8, i32 31), !dbg !25 %139 = add i32 %136, %138, !dbg !28 %140 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %137, i32 8, i32 31), !dbg !25 %141 = add i32 %137, %140, !dbg !28 %142 = mul nuw nsw i32 %128, %.lobit1, !dbg !29 %143 = mul nuw nsw i32 %129, %.lobit1, !dbg !29 %144 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %142, i32 8, i32 31), !dbg !25 %145 = add i32 %142, %144, !dbg !28 %146 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %143, i32 8, i32 31), !dbg !25 %147 = add i32 %143, %146, !dbg !28 %148 = mul nuw nsw i32 %134, %38, !dbg !30 %149 = mul nuw nsw i32 %135, %38, !dbg !30 %150 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %148, i32 8, i32 31), !dbg !25 %151 = add i32 %148, %150, !dbg !28 %152 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %149, i32 8, i32 31), !dbg !25 %153 = add i32 %149, %152, !dbg !28 %154 = mul nuw nsw i32 %134, %.lobit1, !dbg !31 %155 = mul nuw nsw i32 %135, %.lobit1, !dbg !31 %156 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %154, i32 8, i32 31), !dbg !25 %157 = add i32 %154, %156, !dbg !28 %158 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %155, i32 8, i32 31), !dbg !25 %159 = add i32 %155, %158, !dbg !28 %160 = icmp slt i32 %139, %145, !dbg !39 %161 = icmp slt i32 %141, %147, !dbg !39 %162 = icmp eq i32 %139, %145, !dbg !40 %163 = icmp eq i32 %141, %147, !dbg !40 %164 = icmp sgt i32 %151, %157, !dbg !41 %165 = icmp sgt i32 %153, %159, !dbg !41 %166 = and i1 %162, %164, !dbg !42 %167 = and i1 %163, %165, !dbg !42 %168 = or i1 %160, %166, !dbg !43 %169 = or i1 %161, %167, !dbg !43 %170 = zext i1 %168 to i32, !dbg !44 %171 = zext i1 %169 to i32, !dbg !44 %.not8 = icmp eq i32 %.lobit2, %170, !dbg !32 %.not9 = icmp eq i32 %.lobit2, %171, !dbg !32 %172 = xor i32 %139, %145, !dbg !33 %173 = xor i32 %141, %147, !dbg !33 %174 = select i1 %.not8, i32 0, i32 %172, !dbg !34 %175 = select i1 %.not9, i32 0, i32 %173, !dbg !34 %176 = xor i32 %174, %128, !dbg !35 %177 = xor i32 %175, %129, !dbg !35 %178 = xor i32 %151, %157, !dbg !36 %179 = xor i32 %153, %159, !dbg !36 %180 = select i1 %.not8, i32 0, i32 %178, !dbg !37 %181 = select i1 %.not9, i32 0, i32 %179, !dbg !37 %182 = xor i32 %180, %134, !dbg !38 %183 = xor i32 %181, %135, !dbg !38 %184 = mul nuw nsw i32 %176, %40, !dbg !24 %185 = mul nuw nsw i32 %177, %40, !dbg !24 %186 = and i32 %12, 1, !dbg !25 %187 = shl nuw nsw i32 %10, 1, !dbg !25 %188 = and i32 %187, 48, !dbg !25 %189 = or disjoint i32 %188, %21, !dbg !25 %.idx = shl nuw nsw i32 %189, 3, !dbg !25 %190 = getelementptr i8, ptr addrspace(3) @global_smem, i32 %.idx, !dbg !25 %191 = getelementptr i32, ptr addrspace(3) %190, i32 %186, !dbg !25 %192 = insertelement <1 x i32> poison, i32 %184, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %191, <1 x i32> %192, i1 true) #4, !dbg !25 %193 = getelementptr i8, ptr addrspace(3) %190, i32 8, !dbg !25 %194 = getelementptr i32, ptr addrspace(3) %193, i32 %186, !dbg !25 %195 = insertelement <1 x i32> poison, i32 %185, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %194, <1 x i32> %195, i1 true) #4, !dbg !25 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %196 = icmp samesign ult i32 %10, 128, !dbg !25 %197 = getelementptr i32, ptr addrspace(3) @global_smem, i32 %10, !dbg !25 %198 = tail call i32 asm sideeffect "@$2 ld.shared.b32 $0, [ $1 + 0 ];", "=r,r,b"(ptr addrspace(3) %197, i1 %196) #4, !dbg !25 %199 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %198, i32 1, i32 31), !dbg !25 %200 = add i32 %199, %198, !dbg !28 %201 = and i32 %10, 897, !dbg !25 %202 = icmp eq i32 %201, 0, !dbg !25 %203 = insertelement <1 x i32> poison, i32 %200, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %197, <1 x i32> %203, i1 %202) #4, !dbg !25 %204 = getelementptr i8, ptr addrspace(3) %197, i32 256, !dbg !25 %205 = tail call i32 asm sideeffect "@$2 ld.shared.b32 $0, [ $1 + 0 ];", "=r,r,b"(ptr addrspace(3) %204, i1 %196) #4, !dbg !25 %206 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %205, i32 1, i32 31), !dbg !25 %207 = add i32 %206, %205, !dbg !28 %208 = insertelement <1 x i32> poison, i32 %207, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %204, <1 x i32> %208, i1 %202) #4, !dbg !25 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %209 = load i32, ptr addrspace(3) %190, align 16, !dbg !25 %210 = load i32, ptr addrspace(3) %193, align 8, !dbg !25 %211 = mul nuw nsw i32 %176, %.lobit2, !dbg !29 %212 = mul nuw nsw i32 %177, %.lobit2, !dbg !29 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %213 = insertelement <1 x i32> poison, i32 %211, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %191, <1 x i32> %213, i1 true) #4, !dbg !25 %214 = insertelement <1 x i32> poison, i32 %212, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %194, <1 x i32> %214, i1 true) #4, !dbg !25 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %215 = tail call i32 asm sideeffect "@$2 ld.shared.b32 $0, [ $1 + 0 ];", "=r,r,b"(ptr addrspace(3) %197, i1 %196) #4, !dbg !25 %216 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %215, i32 1, i32 31), !dbg !25 %217 = add i32 %216, %215, !dbg !28 %218 = insertelement <1 x i32> poison, i32 %217, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %197, <1 x i32> %218, i1 %202) #4, !dbg !25 %219 = tail call i32 asm sideeffect "@$2 ld.shared.b32 $0, [ $1 + 0 ];", "=r,r,b"(ptr addrspace(3) %204, i1 %196) #4, !dbg !25 %220 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %219, i32 1, i32 31), !dbg !25 %221 = add i32 %220, %219, !dbg !28 %222 = insertelement <1 x i32> poison, i32 %221, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %204, <1 x i32> %222, i1 %202) #4, !dbg !25 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %223 = load i32, ptr addrspace(3) %190, align 16, !dbg !25 %224 = load i32, ptr addrspace(3) %193, align 8, !dbg !25 %225 = mul nuw nsw i32 %182, %40, !dbg !30 %226 = mul nuw nsw i32 %183, %40, !dbg !30 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %227 = insertelement <1 x i32> poison, i32 %225, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %191, <1 x i32> %227, i1 true) #4, !dbg !25 %228 = insertelement <1 x i32> poison, i32 %226, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %194, <1 x i32> %228, i1 true) #4, !dbg !25 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %229 = tail call i32 asm sideeffect "@$2 ld.shared.b32 $0, [ $1 + 0 ];", "=r,r,b"(ptr addrspace(3) %197, i1 %196) #4, !dbg !25 %230 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %229, i32 1, i32 31), !dbg !25 %231 = add i32 %230, %229, !dbg !28 %232 = insertelement <1 x i32> poison, i32 %231, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %197, <1 x i32> %232, i1 %202) #4, !dbg !25 %233 = tail call i32 asm sideeffect "@$2 ld.shared.b32 $0, [ $1 + 0 ];", "=r,r,b"(ptr addrspace(3) %204, i1 %196) #4, !dbg !25 %234 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %233, i32 1, i32 31), !dbg !25 %235 = add i32 %234, %233, !dbg !28 %236 = insertelement <1 x i32> poison, i32 %235, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %204, <1 x i32> %236, i1 %202) #4, !dbg !25 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %237 = load i32, ptr addrspace(3) %190, align 16, !dbg !25 %238 = load i32, ptr addrspace(3) %193, align 8, !dbg !25 %239 = mul nuw nsw i32 %182, %.lobit2, !dbg !31 %240 = mul nuw nsw i32 %183, %.lobit2, !dbg !31 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %241 = insertelement <1 x i32> poison, i32 %239, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %191, <1 x i32> %241, i1 true) #4, !dbg !25 %242 = insertelement <1 x i32> poison, i32 %240, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %194, <1 x i32> %242, i1 true) #4, !dbg !25 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %243 = tail call i32 asm sideeffect "@$2 ld.shared.b32 $0, [ $1 + 0 ];", "=r,r,b"(ptr addrspace(3) %197, i1 %196) #4, !dbg !25 %244 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %243, i32 1, i32 31), !dbg !25 %245 = add i32 %244, %243, !dbg !28 %246 = insertelement <1 x i32> poison, i32 %245, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %197, <1 x i32> %246, i1 %202) #4, !dbg !25 %247 = tail call i32 asm sideeffect "@$2 ld.shared.b32 $0, [ $1 + 0 ];", "=r,r,b"(ptr addrspace(3) %204, i1 %196) #4, !dbg !25 %248 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %247, i32 1, i32 31), !dbg !25 %249 = add i32 %248, %247, !dbg !28 %250 = insertelement <1 x i32> poison, i32 %249, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %204, <1 x i32> %250, i1 %202) #4, !dbg !25 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %251 = load i32, ptr addrspace(3) %190, align 16, !dbg !25 %252 = load i32, ptr addrspace(3) %193, align 8, !dbg !25 %253 = icmp slt i32 %209, %223, !dbg !39 %254 = icmp sge i32 %210, %224, !dbg !39 %255 = icmp eq i32 %209, %223, !dbg !40 %256 = icmp ne i32 %210, %224, !dbg !40 %257 = icmp sgt i32 %237, %251, !dbg !41 %258 = icmp sle i32 %238, %252, !dbg !41 %259 = and i1 %255, %257, !dbg !42 %.not15 = or i1 %256, %258, !dbg !43 %260 = or i1 %253, %259, !dbg !43 %.not12 = and i1 %254, %.not15, !dbg !44 %261 = xor i32 %223, %209, !dbg !33 %262 = xor i32 %224, %210, !dbg !33 %263 = select i1 %260, i32 %261, i32 0, !dbg !34 %264 = select i1 %.not12, i32 %262, i32 0, !dbg !34 %265 = xor i32 %263, %176, !dbg !35 %266 = xor i32 %264, %177, !dbg !35 %267 = xor i32 %251, %237, !dbg !36 %268 = xor i32 %252, %238, !dbg !36 %269 = select i1 %260, i32 %267, i32 0, !dbg !37 %270 = select i1 %.not12, i32 %268, i32 0, !dbg !37 %271 = xor i32 %269, %182, !dbg !38 %272 = xor i32 %270, %183, !dbg !38 %273 = mul nuw nsw i32 %265, %39, !dbg !24 %274 = mul nuw nsw i32 %266, %39, !dbg !24 %275 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %273, i32 16, i32 31), !dbg !25 %276 = add i32 %273, %275, !dbg !28 %277 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %274, i32 16, i32 31), !dbg !25 %278 = add i32 %274, %277, !dbg !28 %279 = mul nuw nsw i32 %265, %.lobit, !dbg !29 %280 = mul nuw nsw i32 %266, %.lobit, !dbg !29 %281 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %279, i32 16, i32 31), !dbg !25 %282 = add i32 %279, %281, !dbg !28 %283 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %280, i32 16, i32 31), !dbg !25 %284 = add i32 %280, %283, !dbg !28 %285 = mul nuw nsw i32 %271, %39, !dbg !30 %286 = mul nuw nsw i32 %272, %39, !dbg !30 %287 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %285, i32 16, i32 31), !dbg !25 %288 = add i32 %285, %287, !dbg !28 %289 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %286, i32 16, i32 31), !dbg !25 %290 = add i32 %286, %289, !dbg !28 %291 = mul nuw nsw i32 %271, %.lobit, !dbg !31 %292 = mul nuw nsw i32 %272, %.lobit, !dbg !31 %293 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %291, i32 16, i32 31), !dbg !25 %294 = add i32 %293, %291, !dbg !28 %295 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %292, i32 16, i32 31), !dbg !25 %296 = add i32 %295, %292, !dbg !28 %297 = icmp slt i32 %276, %282, !dbg !39 %298 = icmp sge i32 %278, %284, !dbg !39 %299 = icmp eq i32 %276, %282, !dbg !40 %300 = icmp ne i32 %278, %284, !dbg !40 %301 = icmp sgt i32 %288, %294, !dbg !41 %302 = icmp sle i32 %290, %296, !dbg !41 %303 = and i1 %299, %301, !dbg !42 %.not21 = or i1 %300, %302, !dbg !43 %304 = or i1 %297, %303, !dbg !43 %.not18 = and i1 %298, %.not21, !dbg !44 %305 = xor i32 %276, %282, !dbg !33 %306 = xor i32 %278, %284, !dbg !33 %307 = select i1 %304, i32 %305, i32 0, !dbg !34 %308 = select i1 %.not18, i32 %306, i32 0, !dbg !34 %309 = xor i32 %307, %265, !dbg !35 %310 = xor i32 %308, %266, !dbg !35 %311 = xor i32 %294, %288, !dbg !36 %312 = xor i32 %296, %290, !dbg !36 %313 = select i1 %304, i32 %311, i32 0, !dbg !37 %314 = select i1 %.not18, i32 %312, i32 0, !dbg !37 %315 = xor i32 %313, %271, !dbg !38 %316 = xor i32 %314, %272, !dbg !38 %317 = mul nuw nsw i32 %309, %38, !dbg !24 %318 = mul nuw nsw i32 %310, %38, !dbg !24 %319 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %317, i32 8, i32 31), !dbg !25 %320 = add i32 %317, %319, !dbg !28 %321 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %318, i32 8, i32 31), !dbg !25 %322 = add i32 %318, %321, !dbg !28 %323 = mul nuw nsw i32 %309, %.lobit1, !dbg !29 %324 = mul nuw nsw i32 %310, %.lobit1, !dbg !29 %325 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %323, i32 8, i32 31), !dbg !25 %326 = add i32 %323, %325, !dbg !28 %327 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %324, i32 8, i32 31), !dbg !25 %328 = add i32 %324, %327, !dbg !28 %329 = mul nuw nsw i32 %315, %38, !dbg !30 %330 = mul nuw nsw i32 %316, %38, !dbg !30 %331 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %329, i32 8, i32 31), !dbg !25 %332 = add i32 %329, %331, !dbg !28 %333 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %330, i32 8, i32 31), !dbg !25 %334 = add i32 %330, %333, !dbg !28 %335 = mul nuw nsw i32 %315, %.lobit1, !dbg !31 %336 = mul nuw nsw i32 %316, %.lobit1, !dbg !31 %337 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %335, i32 8, i32 31), !dbg !25 %338 = add i32 %337, %335, !dbg !28 %339 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %336, i32 8, i32 31), !dbg !25 %340 = add i32 %339, %336, !dbg !28 %341 = icmp slt i32 %320, %326, !dbg !39 %342 = icmp sge i32 %322, %328, !dbg !39 %343 = icmp eq i32 %320, %326, !dbg !40 %344 = icmp ne i32 %322, %328, !dbg !40 %345 = icmp sgt i32 %332, %338, !dbg !41 %346 = icmp sle i32 %334, %340, !dbg !41 %347 = and i1 %343, %345, !dbg !42 %.not27 = or i1 %344, %346, !dbg !43 %348 = or i1 %341, %347, !dbg !43 %.not24 = and i1 %342, %.not27, !dbg !44 %349 = xor i32 %320, %326, !dbg !33 %350 = xor i32 %322, %328, !dbg !33 %351 = select i1 %348, i32 %349, i32 0, !dbg !34 %352 = select i1 %.not24, i32 %350, i32 0, !dbg !34 %353 = xor i32 %351, %309, !dbg !35 %354 = xor i32 %352, %310, !dbg !35 %355 = xor i32 %338, %332, !dbg !36 %356 = xor i32 %340, %334, !dbg !36 %357 = select i1 %348, i32 %355, i32 0, !dbg !37 %358 = select i1 %.not24, i32 %356, i32 0, !dbg !37 %359 = xor i32 %357, %315, !dbg !38 %360 = xor i32 %358, %316, !dbg !38 %361 = icmp slt i32 %353, %354, !dbg !39 %362 = icmp eq i32 %353, %354, !dbg !40 %363 = icmp sgt i32 %359, %360, !dbg !41 %364 = and i1 %362, %363, !dbg !42 %365 = or i1 %361, %364, !dbg !43 %366 = xor i32 %354, %353, !dbg !33 %367 = select i1 %365, i32 %366, i32 0, !dbg !34 %368 = xor i32 %367, %353, !dbg !35 %369 = xor i32 %367, %354, !dbg !35 %370 = xor i32 %360, %359, !dbg !36 %371 = select i1 %365, i32 %370, i32 0, !dbg !37 %372 = xor i32 %371, %359, !dbg !38 %373 = xor i32 %371, %360, !dbg !38 %374 = mul nuw nsw i32 %368, %40, !dbg !24 %375 = mul nuw nsw i32 %369, %40, !dbg !24 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %376 = insertelement <1 x i32> poison, i32 %374, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %191, <1 x i32> %376, i1 true) #4, !dbg !25 %377 = insertelement <1 x i32> poison, i32 %375, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %194, <1 x i32> %377, i1 true) #4, !dbg !25 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %378 = tail call i32 asm sideeffect "@$2 ld.shared.b32 $0, [ $1 + 0 ];", "=r,r,b"(ptr addrspace(3) %197, i1 %196) #4, !dbg !25 %379 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %378, i32 1, i32 31), !dbg !25 %380 = add i32 %379, %378, !dbg !28 %381 = insertelement <1 x i32> poison, i32 %380, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %197, <1 x i32> %381, i1 %202) #4, !dbg !25 %382 = tail call i32 asm sideeffect "@$2 ld.shared.b32 $0, [ $1 + 0 ];", "=r,r,b"(ptr addrspace(3) %204, i1 %196) #4, !dbg !25 %383 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %382, i32 1, i32 31), !dbg !25 %384 = add i32 %383, %382, !dbg !28 %385 = insertelement <1 x i32> poison, i32 %384, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %204, <1 x i32> %385, i1 %202) #4, !dbg !25 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %386 = load i32, ptr addrspace(3) %190, align 16, !dbg !25 %387 = load i32, ptr addrspace(3) %193, align 8, !dbg !25 %388 = mul nuw nsw i32 %368, %.lobit2, !dbg !29 %389 = mul nuw nsw i32 %369, %.lobit2, !dbg !29 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %390 = insertelement <1 x i32> poison, i32 %388, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %191, <1 x i32> %390, i1 true) #4, !dbg !25 %391 = insertelement <1 x i32> poison, i32 %389, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %194, <1 x i32> %391, i1 true) #4, !dbg !25 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %392 = tail call i32 asm sideeffect "@$2 ld.shared.b32 $0, [ $1 + 0 ];", "=r,r,b"(ptr addrspace(3) %197, i1 %196) #4, !dbg !25 %393 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %392, i32 1, i32 31), !dbg !25 %394 = add i32 %393, %392, !dbg !28 %395 = insertelement <1 x i32> poison, i32 %394, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %197, <1 x i32> %395, i1 %202) #4, !dbg !25 %396 = tail call i32 asm sideeffect "@$2 ld.shared.b32 $0, [ $1 + 0 ];", "=r,r,b"(ptr addrspace(3) %204, i1 %196) #4, !dbg !25 %397 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %396, i32 1, i32 31), !dbg !25 %398 = add i32 %397, %396, !dbg !28 %399 = insertelement <1 x i32> poison, i32 %398, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %204, <1 x i32> %399, i1 %202) #4, !dbg !25 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %400 = load i32, ptr addrspace(3) %190, align 16, !dbg !25 %401 = load i32, ptr addrspace(3) %193, align 8, !dbg !25 %402 = mul nuw nsw i32 %372, %40, !dbg !30 %403 = mul nuw nsw i32 %373, %40, !dbg !30 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %404 = insertelement <1 x i32> poison, i32 %402, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %191, <1 x i32> %404, i1 true) #4, !dbg !25 %405 = insertelement <1 x i32> poison, i32 %403, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %194, <1 x i32> %405, i1 true) #4, !dbg !25 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %406 = tail call i32 asm sideeffect "@$2 ld.shared.b32 $0, [ $1 + 0 ];", "=r,r,b"(ptr addrspace(3) %197, i1 %196) #4, !dbg !25 %407 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %406, i32 1, i32 31), !dbg !25 %408 = add i32 %407, %406, !dbg !28 %409 = insertelement <1 x i32> poison, i32 %408, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %197, <1 x i32> %409, i1 %202) #4, !dbg !25 %410 = tail call i32 asm sideeffect "@$2 ld.shared.b32 $0, [ $1 + 0 ];", "=r,r,b"(ptr addrspace(3) %204, i1 %196) #4, !dbg !25 %411 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %410, i32 1, i32 31), !dbg !25 %412 = add i32 %411, %410, !dbg !28 %413 = insertelement <1 x i32> poison, i32 %412, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %204, <1 x i32> %413, i1 %202) #4, !dbg !25 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %414 = load i32, ptr addrspace(3) %190, align 16, !dbg !25 %415 = load i32, ptr addrspace(3) %193, align 8, !dbg !25 %416 = mul nuw nsw i32 %372, %.lobit2, !dbg !31 %417 = mul nuw nsw i32 %373, %.lobit2, !dbg !31 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %418 = insertelement <1 x i32> poison, i32 %416, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %191, <1 x i32> %418, i1 true) #4, !dbg !25 %419 = insertelement <1 x i32> poison, i32 %417, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %194, <1 x i32> %419, i1 true) #4, !dbg !25 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %420 = tail call i32 asm sideeffect "@$2 ld.shared.b32 $0, [ $1 + 0 ];", "=r,r,b"(ptr addrspace(3) %197, i1 %196) #4, !dbg !25 %421 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %420, i32 1, i32 31), !dbg !25 %422 = add i32 %421, %420, !dbg !28 %423 = insertelement <1 x i32> poison, i32 %422, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %197, <1 x i32> %423, i1 %202) #4, !dbg !25 %424 = tail call i32 asm sideeffect "@$2 ld.shared.b32 $0, [ $1 + 0 ];", "=r,r,b"(ptr addrspace(3) %204, i1 %196) #4, !dbg !25 %425 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %424, i32 1, i32 31), !dbg !25 %426 = add i32 %425, %424, !dbg !28 %427 = insertelement <1 x i32> poison, i32 %426, i64 0, !dbg !25 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %204, <1 x i32> %427, i1 %202) #4, !dbg !25 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !25 %428 = load i32, ptr addrspace(3) %190, align 16, !dbg !25 %429 = load i32, ptr addrspace(3) %193, align 8, !dbg !25 %430 = icmp slt i32 %386, %400, !dbg !39 %431 = icmp slt i32 %387, %401, !dbg !39 %432 = icmp eq i32 %386, %400, !dbg !40 %433 = icmp eq i32 %387, %401, !dbg !40 %434 = icmp sgt i32 %414, %428, !dbg !41 %435 = icmp sgt i32 %415, %429, !dbg !41 %436 = and i1 %432, %434, !dbg !42 %437 = and i1 %433, %435, !dbg !42 %438 = or i1 %430, %436, !dbg !43 %439 = or i1 %431, %437, !dbg !43 %440 = xor i32 %400, %386, !dbg !33 %441 = xor i32 %401, %387, !dbg !33 %442 = select i1 %438, i32 %440, i32 0, !dbg !34 %443 = select i1 %439, i32 %441, i32 0, !dbg !34 %444 = xor i32 %442, %368, !dbg !35 %445 = xor i32 %443, %369, !dbg !35 %446 = xor i32 %428, %414, !dbg !36 %447 = xor i32 %429, %415, !dbg !36 %448 = select i1 %438, i32 %446, i32 0, !dbg !37 %449 = select i1 %439, i32 %447, i32 0, !dbg !37 %450 = xor i32 %448, %372, !dbg !38 %451 = xor i32 %449, %373, !dbg !38 %452 = mul nuw nsw i32 %444, %39, !dbg !24 %453 = mul nuw nsw i32 %445, %39, !dbg !24 %454 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %452, i32 16, i32 31), !dbg !25 %455 = add i32 %452, %454, !dbg !28 %456 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %453, i32 16, i32 31), !dbg !25 %457 = add i32 %453, %456, !dbg !28 %458 = mul nuw nsw i32 %444, %.lobit, !dbg !29 %459 = mul nuw nsw i32 %445, %.lobit, !dbg !29 %460 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %458, i32 16, i32 31), !dbg !25 %461 = add i32 %458, %460, !dbg !28 %462 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %459, i32 16, i32 31), !dbg !25 %463 = add i32 %459, %462, !dbg !28 %464 = mul nuw nsw i32 %450, %39, !dbg !30 %465 = mul nuw nsw i32 %451, %39, !dbg !30 %466 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %464, i32 16, i32 31), !dbg !25 %467 = add i32 %464, %466, !dbg !28 %468 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %465, i32 16, i32 31), !dbg !25 %469 = add i32 %465, %468, !dbg !28 %470 = mul nuw nsw i32 %450, %.lobit, !dbg !31 %471 = mul nuw nsw i32 %451, %.lobit, !dbg !31 %472 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %470, i32 16, i32 31), !dbg !25 %473 = add i32 %472, %470, !dbg !28 %474 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %471, i32 16, i32 31), !dbg !25 %475 = add i32 %474, %471, !dbg !28 %476 = icmp slt i32 %455, %461, !dbg !39 %477 = icmp slt i32 %457, %463, !dbg !39 %478 = icmp eq i32 %455, %461, !dbg !40 %479 = icmp eq i32 %457, %463, !dbg !40 %480 = icmp sgt i32 %467, %473, !dbg !41 %481 = icmp sgt i32 %469, %475, !dbg !41 %482 = and i1 %478, %480, !dbg !42 %483 = and i1 %479, %481, !dbg !42 %484 = or i1 %476, %482, !dbg !43 %485 = or i1 %477, %483, !dbg !43 %486 = xor i32 %455, %461, !dbg !33 %487 = xor i32 %457, %463, !dbg !33 %488 = select i1 %484, i32 %486, i32 0, !dbg !34 %489 = select i1 %485, i32 %487, i32 0, !dbg !34 %490 = xor i32 %488, %444, !dbg !35 %491 = xor i32 %489, %445, !dbg !35 %492 = xor i32 %473, %467, !dbg !36 %493 = xor i32 %475, %469, !dbg !36 %494 = select i1 %484, i32 %492, i32 0, !dbg !37 %495 = select i1 %485, i32 %493, i32 0, !dbg !37 %496 = xor i32 %494, %450, !dbg !38 %497 = xor i32 %495, %451, !dbg !38 %498 = mul nuw nsw i32 %490, %38, !dbg !24 %499 = mul nuw nsw i32 %491, %38, !dbg !24 %500 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %498, i32 8, i32 31), !dbg !25 %501 = add i32 %498, %500, !dbg !28 %502 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %499, i32 8, i32 31), !dbg !25 %503 = add i32 %499, %502, !dbg !28 %504 = mul nuw nsw i32 %490, %.lobit1, !dbg !29 %505 = mul nuw nsw i32 %491, %.lobit1, !dbg !29 %506 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %504, i32 8, i32 31), !dbg !25 %507 = add i32 %504, %506, !dbg !28 %508 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %505, i32 8, i32 31), !dbg !25 %509 = add i32 %505, %508, !dbg !28 %510 = mul nuw nsw i32 %496, %38, !dbg !30 %511 = mul nuw nsw i32 %497, %38, !dbg !30 %512 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %510, i32 8, i32 31), !dbg !25 %513 = add i32 %510, %512, !dbg !28 %514 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %511, i32 8, i32 31), !dbg !25 %515 = add i32 %511, %514, !dbg !28 %516 = mul nuw nsw i32 %496, %.lobit1, !dbg !31 %517 = mul nuw nsw i32 %497, %.lobit1, !dbg !31 %518 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %516, i32 8, i32 31), !dbg !25 %519 = add i32 %518, %516, !dbg !28 %520 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %517, i32 8, i32 31), !dbg !25 %521 = add i32 %520, %517, !dbg !28 %522 = icmp slt i32 %501, %507, !dbg !39 %523 = icmp slt i32 %503, %509, !dbg !39 %524 = icmp eq i32 %501, %507, !dbg !40 %525 = icmp eq i32 %503, %509, !dbg !40 %526 = icmp sgt i32 %513, %519, !dbg !41 %527 = icmp sgt i32 %515, %521, !dbg !41 %528 = and i1 %524, %526, !dbg !42 %529 = and i1 %525, %527, !dbg !42 %530 = or i1 %522, %528, !dbg !43 %531 = or i1 %523, %529, !dbg !43 %532 = xor i32 %519, %513, !dbg !36 %533 = xor i32 %521, %515, !dbg !36 %534 = select i1 %530, i32 %532, i32 0, !dbg !37 %535 = select i1 %531, i32 %533, i32 0, !dbg !37 %536 = xor i32 %534, %496, !dbg !38 %537 = xor i32 %535, %497, !dbg !38 %narrow = select i1 %18, i32 %33, i32 0, !dbg !45 %538 = sext i32 %narrow to i64, !dbg !45 %narrow28 = select i1 %18, i32 %34, i32 0, !dbg !45 %539 = sext i32 %narrow28 to i64, !dbg !45 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !46 %540 = add nsw i64 %539, %538, !dbg !48 %extelt.offset = lshr i64 %540, 32, !dbg !46 %541 = trunc nuw i64 %extelt.offset to i32, !dbg !46 %542 = trunc i64 %540 to i32, !dbg !46 %543 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %542, i32 16, i32 31), !dbg !46 %544 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %541, i32 16, i32 31), !dbg !46 %545 = insertelement <2 x i32> poison, i32 %543, i64 0, !dbg !46 %546 = insertelement <2 x i32> %545, i32 %544, i64 1, !dbg !46 %547 = bitcast <2 x i32> %546 to i64, !dbg !46 %548 = add i64 %540, %547, !dbg !48 %extelt.offset29 = lshr i64 %548, 32, !dbg !46 %549 = trunc nuw i64 %extelt.offset29 to i32, !dbg !46 %550 = trunc i64 %548 to i32, !dbg !46 %551 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %550, i32 8, i32 31), !dbg !46 %552 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %549, i32 8, i32 31), !dbg !46 %553 = insertelement <2 x i32> poison, i32 %551, i64 0, !dbg !46 %554 = insertelement <2 x i32> %553, i32 %552, i64 1, !dbg !46 %555 = bitcast <2 x i32> %554 to i64, !dbg !46 %556 = add i64 %548, %555, !dbg !48 %557 = icmp eq i32 %11, 0, !dbg !46 %558 = getelementptr i64, ptr addrspace(3) @global_smem, i32 %21, !dbg !46 %559 = getelementptr i64, ptr addrspace(3) %558, i32 %186, !dbg !46 %560 = insertelement <1 x i64> poison, i64 %556, i64 0, !dbg !46 tail call void asm sideeffect "@$2 st.shared.b64 [ $0 + 0 ], $1;", "r,l,b"(ptr addrspace(3) %559, <1 x i64> %560, i1 %557) #4, !dbg !46 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !46 %561 = icmp samesign ult i32 %10, 16, !dbg !46 %562 = getelementptr i64, ptr addrspace(3) @global_smem, i32 %10, !dbg !46 %563 = tail call i64 asm sideeffect "@$2 ld.shared.b64 $0, [ $1 + 0 ];", "=l,r,b"(ptr addrspace(3) %562, i1 %561) #4, !dbg !46 %extelt.offset30 = lshr i64 %563, 32, !dbg !46 %564 = trunc nuw i64 %extelt.offset30 to i32, !dbg !46 %565 = trunc i64 %563 to i32, !dbg !46 %566 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %565, i32 1, i32 31), !dbg !46 %567 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %564, i32 1, i32 31), !dbg !46 %568 = insertelement <2 x i32> poison, i32 %566, i64 0, !dbg !46 %569 = insertelement <2 x i32> %568, i32 %567, i64 1, !dbg !46 %570 = bitcast <2 x i32> %569 to i64, !dbg !46 %571 = add i64 %563, %570, !dbg !48 %572 = and i32 %10, 1009, !dbg !46 %573 = icmp eq i32 %572, 0, !dbg !46 %574 = insertelement <1 x i64> poison, i64 %571, i64 0, !dbg !46 tail call void asm sideeffect "@$2 st.shared.b64 [ $0 + 0 ], $1;", "r,l,b"(ptr addrspace(3) %562, <1 x i64> %574, i1 %573) #4, !dbg !46 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !46 %575 = load i64, ptr addrspace(3) %558, align 16, !dbg !46 %576 = trunc i64 %575 to i32, !dbg !49 %577 = shl i32 %17, 4, !dbg !50 %578 = or disjoint i32 %577, %21, !dbg !51 %579 = sext i32 %578 to i64, !dbg !52 %580 = getelementptr i32, ptr addrspace(1) %1, i64 %579, !dbg !52 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !53 %581 = and i32 %10, 3, !dbg !53 %582 = shl nuw nsw i32 %581, 3, !dbg !53 %583 = and i32 %187, 96, !dbg !53 %584 = and i32 %10, 4, !dbg !53 %585 = icmp eq i32 %584, 0, !dbg !53 %586 = select i1 %585, i32 0, i32 192, !dbg !53 %587 = select i1 %.not, i32 0, i32 260, !dbg !53 %588 = or disjoint i32 %582, %583, !dbg !53 %589 = xor i32 %588, %586, !dbg !53 %590 = or disjoint i32 %589, %587, !dbg !53 %591 = getelementptr inbounds nuw i8, ptr addrspace(3) @global_smem, i32 %590, !dbg !53 %592 = insertelement <1 x i32> poison, i32 %536, i64 0, !dbg !53 store <1 x i32> %592, ptr addrspace(3) %591, align 4, !dbg !53 %593 = xor i32 %590, 4, !dbg !53 %594 = getelementptr inbounds nuw i8, ptr addrspace(3) @global_smem, i32 %593, !dbg !53 %595 = insertelement <1 x i32> poison, i32 %537, i64 0, !dbg !53 store <1 x i32> %595, ptr addrspace(3) %594, align 4, !dbg !53 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !53 %596 = shl nuw nsw i32 %581, 5, !dbg !53 %597 = and i32 %10, 28, !dbg !53 %598 = select i1 %.not3, i32 0, i32 192, !dbg !53 %599 = or disjoint i32 %596, %597, !dbg !53 %600 = xor i32 %599, %598, !dbg !53 %601 = getelementptr inbounds nuw i8, ptr addrspace(3) @global_smem, i32 %600, !dbg !53 %602 = load i32, ptr addrspace(3) %601, align 4, !dbg !53 %603 = xor i32 %600, 260, !dbg !53 %604 = getelementptr inbounds nuw i8, ptr addrspace(3) @global_smem, i32 %603, !dbg !53 %605 = load i32, ptr addrspace(3) %604, align 4, !dbg !53 tail call void asm sideeffect "@$3 st.global.v2.b32 [ $2 + 0 ], { $0, $1 };", "r,r,l,b"(i32 %602, i32 %605, ptr addrspace(1) %580, i1 %19) #4, !dbg !53 %606 = sext i32 %16 to i64, !dbg !54 %607 = getelementptr i32, ptr addrspace(1) %2, i64 %606, !dbg !54 %608 = and i32 %10, 56, !dbg !55 %609 = icmp eq i32 %608, 0, !dbg !55 %610 = and i1 %609, %18, !dbg !55 tail call void asm sideeffect "@$2 st.global.b32 [ $1 + 0 ], { $0 };", "r,l,b"(i32 %576, ptr addrspace(1) %607, i1 %610) #4, !dbg !55 ret void, !dbg !56}
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)declare noundef range(i32 0, 2147483647) i32 @llvm.nvvm.read.ptx.sreg.ctaid.x() #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)declare noundef range(i32 0, 1024) i32 @llvm.nvvm.read.ptx.sreg.tid.x() #1
; Function Attrs: convergent nocallback nounwind memory(inaccessiblemem: readwrite)declare i32 @llvm.nvvm.shfl.sync.bfly.i32(i32, i32, i32, i32) #2
; Function Attrs: convergent nocallback nounwinddeclare void @llvm.nvvm.barrier.cta.sync.aligned.all(i32) #3
attributes #0 = { nounwind "nvvm.reqntid"="64" }attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }attributes #2 = { convergent nocallback nounwind memory(inaccessiblemem: readwrite) }attributes #3 = { convergent nocallback nounwind }attributes #4 = { nounwind }
!llvm.dbg.cu = !{!0}!llvm.module.flags = !{!2, !3}
!0 = distinct !DICompileUnit(language: DW_LANG_C, file: !1, producer: "triton", isOptimized: true, runtimeVersion: 0, emissionKind: LineTablesOnly)!1 = !DIFile(filename: "cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py", directory: "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp")!2 = !{i32 2, !"Debug Info Version", i32 3}!3 = !{i32 4, !"nvvm-reflect-ftz", i32 1}!4 = distinct !DISubprogram(name: "triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3", linkageName: "triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3", scope: !1, file: !1, line: 18, type: !5, scopeLine: 18, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0)!5 = !DISubroutineType(cc: DW_CC_normal, types: !6)!6 = !{}!7 = !DILocation(line: 24, column: 28, scope: !4)!8 = !DILocation(line: 24, column: 33, scope: !4)!9 = !DILocation(line: 25, column: 44, scope: !4)!10 = !DILocation(line: 25, column: 23, scope: !4)!11 = !DILocation(line: 26, column: 21, scope: !4)!12 = !DILocation(line: 27, column: 38, scope: !4)!13 = !DILocation(line: 34, column: 19, scope: !4)!14 = !DILocation(line: 36, column: 38, scope: !4)!15 = !DILocation(line: 36, column: 35, scope: !4)!16 = !DILocation(line: 36, column: 45, scope: !4)!17 = !DILocation(line: 36, column: 30, scope: !4)!18 = !DILocation(line: 36, column: 54, scope: !4)!19 = !DILocation(line: 627, column: 44, scope: !20, inlinedAt: !22)!20 = distinct !DILexicalBlockFile(scope: !4, file: !21, discriminator: 0)!21 = !DIFile(filename: "triton_helpers.py", directory: "/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime")!22 = !DILocation(line: 41, column: 67, scope: !4)!23 = !DILocation(line: 537, column: 21, scope: !20, inlinedAt: !22)!24 = !DILocation(line: 538, column: 40, scope: !20, inlinedAt: !22)!25 = !DILocation(line: 291, column: 36, scope: !26, inlinedAt: !22)!26 = distinct !DILexicalBlockFile(scope: !4, file: !27, discriminator: 0)!27 = !DIFile(filename: "standard.py", directory: "/workspace/specforge/lib/python3.11/site-packages/triton/language")!28 = !DILocation(line: 261, column: 15, scope: !26, inlinedAt: !22)!29 = !DILocation(line: 539, column: 41, scope: !20, inlinedAt: !22)!30 = !DILocation(line: 548, column: 23, scope: !20, inlinedAt: !22)!31 = !DILocation(line: 551, column: 23, scope: !20, inlinedAt: !22)!32 = !DILocation(line: 599, column: 28, scope: !20, inlinedAt: !22)!33 = !DILocation(line: 600, column: 38, scope: !20, inlinedAt: !22)!34 = !DILocation(line: 600, column: 46, scope: !20, inlinedAt: !22)!35 = !DILocation(line: 600, column: 15, scope: !20, inlinedAt: !22)!36 = !DILocation(line: 601, column: 48, scope: !20, inlinedAt: !22)!37 = !DILocation(line: 601, column: 59, scope: !20, inlinedAt: !22)!38 = !DILocation(line: 601, column: 22, scope: !20, inlinedAt: !22)!39 = !DILocation(line: 574, column: 22, scope: !20, inlinedAt: !22)!40 = !DILocation(line: 591, column: 21, scope: !20, inlinedAt: !22)!41 = !DILocation(line: 594, column: 40, scope: !20, inlinedAt: !22)!42 = !DILocation(line: 594, column: 29, scope: !20, inlinedAt: !22)!43 = !DILocation(line: 594, column: 23, scope: !20, inlinedAt: !22)!44 = !DILocation(line: 599, column: 19, scope: !20, inlinedAt: !22)!45 = !DILocation(line: 44, column: 34, scope: !4)!46 = !DILocation(line: 291, column: 36, scope: !26, inlinedAt: !47)!47 = !DILocation(line: 45, column: 26, scope: !4)!48 = !DILocation(line: 261, column: 15, scope: !26, inlinedAt: !47)!49 = !DILocation(line: 48, column: 21, scope: !4)!50 = !DILocation(line: 49, column: 35, scope: !4)!51 = !DILocation(line: 49, column: 32, scope: !4)!52 = !DILocation(line: 49, column: 25, scope: !4)!53 = !DILocation(line: 49, column: 47, scope: !4)!54 = !DILocation(line: 50, column: 25, scope: !4)!55 = !DILocation(line: 50, column: 37, scope: !4)!56 = !DILocation(line: 50, column: 4, scope: !4)123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410//// Generated by LLVM NVPTX Back-End//
.version 8.7.target sm_90a.address_size 64
// .globl triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3 // -- Begin function triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.extern .shared .align 16 .b8 global_smem[]; // @triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.visible .entry triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3( .param .u64 .ptr .global .align 1 triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3_param_0, .param .u64 .ptr .global .align 1 triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3_param_1, .param .u64 .ptr .global .align 1 triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3_param_2, .param .u32 triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3_param_3, .param .u32 triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3_param_4, .param .u64 .ptr .global .align 1 triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3_param_5, .param .u64 .ptr .global .align 1 triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3_param_6).reqntid 64{ .reg .pred %p<155>; .reg .b32 %r<504>; .reg .b64 %rd<27>; .loc 1 18 0 // cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:18:0$L__func_begin0: .loc 1 18 0 // cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:18:0
// %bb.0: ld.param.b64 %rd8, [triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3_param_0]; ld.param.b64 %rd9, [triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3_param_1];$L__tmp0: .loc 1 24 28 // cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:24:28 mov.u32 %r105, %ctaid.x; .loc 1 24 33 // cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:24:33 shl.b32 %r106, %r105, 3; ld.param.b64 %rd10, [triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3_param_2]; .loc 1 25 44 // cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:25:44 mov.u32 %r107, %tid.x; and.b32 %r108, %r107, 24; and.b32 %r109, %r107, 7; bfe.u32 %r110, %r107, 3, 3; .loc 1 25 23 // cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:25:23 or.b32 %r111, %r106, %r109; or.b32 %r112, %r110, %r106; .loc 1 26 21 // cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:26:21 setp.lt.s32 %p1, %r111, 32; setp.lt.s32 %p54, %r112, 32; .loc 1 27 38 // cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:27:38 or.b32 %r113, %r110, 8; shl.b32 %r114, %r109, 1; .loc 1 34 19 // cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:34:19 bfe.s32 %r115, %r105, 28, 1; shr.u32 %r116, %r115, 28; add.s32 %r117, %r111, %r116; .loc 1 36 35 // cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:36:35 shl.b32 %r118, %r117, 4; and.b32 %r119, %r118, -256; add.s32 %r120, %r119, %r111; .loc 1 36 45 // cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:36:45 mad.lo.s32 %r121, %r110, 17, %r120; add.s32 %r122, %r121, 136; .loc 1 36 30 // cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:36:30 mad.wide.s32 %rd1, %r121, 4, %rd8; mad.wide.s32 %rd2, %r122, 4, %rd8; .loc 1 36 54 // cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:36:54 // begin inline asm mov.u32 %r1, 0x0; @%p1 ld.global.b32 { %r1 }, [ %rd1 + 0 ]; // end inline asm // begin inline asm mov.u32 %r2, 0x0; @%p1 ld.global.b32 { %r2 }, [ %rd2 + 0 ]; // end inline asm$L__tmp1: .loc 2 627 44 // triton_helpers.py:627:44 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shr.u32 %r123, %r107, 4; bfe.u32 %r124, %r107, 4, 1; bfe.s32 %r125, %r107, 3, 1; and.b32 %r126, %r107, 8; bfe.u32 %r127, %r107, 3, 1; bfe.s32 %r128, %r107, 5, 1; bfe.u32 %r129, %r107, 5, 1; .loc 2 537 21 // triton_helpers.py:537:21 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r130, %r127, 1; xor.b32 %r131, %r124, 1; xor.b32 %r132, %r129, 1; .loc 2 538 40 // triton_helpers.py:538:40 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r133, %r1, %r130; mul.lo.s32 %r134, %r2, %r130; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r135, %r133, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r136, %r135, %r133; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r137, %r134, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r138, %r137, %r134; .loc 2 539 41 // triton_helpers.py:539:41 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r139, %r1, %r127; mul.lo.s32 %r140, %r2, %r127; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r141, %r139, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r142, %r141, %r139; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r143, %r140, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r144, %r143, %r140; .loc 2 548 23 // triton_helpers.py:548:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r145, %r130, %r110; shl.b32 %r146, %r130, 3; or.b32 %r147, %r145, %r146; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r148, %r145, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r149, %r148, %r145; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r150, %r147, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r151, %r150, %r147; .loc 2 551 23 // triton_helpers.py:551:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r152, %r110, %r127; or.b32 %r153, %r152, %r126; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r154, %r152, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r155, %r154, %r152; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r156, %r153, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r157, %r156, %r153; .loc 2 599 28 // triton_helpers.py:599:28 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] and.b32 %r158, %r123, 1; setp.ne.b32 %p56, %r158, 0; setp.ge.s32 %p57, %r136, %r142; setp.ne.b32 %p58, %r136, %r142; setp.le.s32 %p59, %r149, %r155; or.pred %p60, %p58, %p59; and.pred %p61, %p57, %p60; xor.pred %p62, %p61, %p56; setp.ge.s32 %p63, %r138, %r144; setp.ne.b32 %p64, %r138, %r144; setp.le.s32 %p65, %r151, %r157; or.pred %p66, %p64, %p65; and.pred %p67, %p63, %p66; xor.pred %p68, %p67, %p56; .loc 2 600 38 // triton_helpers.py:600:38 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r159, %r142, %r136; xor.b32 %r160, %r144, %r138; .loc 2 600 46 // triton_helpers.py:600:46 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] selp.b32 %r161, 0, %r159, %p62; selp.b32 %r162, 0, %r160, %p68; .loc 2 600 15 // triton_helpers.py:600:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r163, %r161, %r1; xor.b32 %r164, %r162, %r2; .loc 2 601 48 // triton_helpers.py:601:48 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r165, %r155, %r149; xor.b32 %r166, %r157, %r151; .loc 2 601 59 // triton_helpers.py:601:59 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] selp.b32 %r167, 0, %r165, %p62; selp.b32 %r168, 0, %r166, %p68; .loc 2 601 22 // triton_helpers.py:601:22 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r169, %r167, %r110; xor.b32 %r170, %r168, %r113; .loc 2 538 40 // triton_helpers.py:538:40 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r171, %r163, %r131; mul.lo.s32 %r172, %r164, %r131; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r173, %r171, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r174, %r171, %r173; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r175, %r172, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r176, %r172, %r175; .loc 2 539 41 // triton_helpers.py:539:41 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r177, %r163, %r124; mul.lo.s32 %r178, %r164, %r124; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r179, %r177, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r180, %r177, %r179; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r181, %r178, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r182, %r178, %r181; .loc 2 548 23 // triton_helpers.py:548:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r183, %r169, %r131; mul.lo.s32 %r184, %r170, %r131; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r185, %r183, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r186, %r183, %r185; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r187, %r184, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r188, %r184, %r187; .loc 2 551 23 // triton_helpers.py:551:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r189, %r169, %r124; mul.lo.s32 %r190, %r170, %r124; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r191, %r189, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r192, %r189, %r191; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r193, %r190, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r194, %r190, %r193; .loc 2 574 22 // triton_helpers.py:574:22 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.lt.s32 %p69, %r174, %r180; setp.lt.s32 %p70, %r176, %r182; .loc 2 591 21 // triton_helpers.py:591:21 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.eq.b32 %p71, %r174, %r180; setp.eq.b32 %p72, %r176, %r182; .loc 2 594 40 // triton_helpers.py:594:40 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.gt.s32 %p73, %r186, %r192; setp.gt.s32 %p74, %r188, %r194; .loc 2 594 29 // triton_helpers.py:594:29 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] and.pred %p75, %p71, %p73; and.pred %p76, %p72, %p74; .loc 2 594 23 // triton_helpers.py:594:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] or.pred %p77, %p69, %p75; or.pred %p78, %p70, %p76; .loc 2 599 19 // triton_helpers.py:599:19 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] selp.b32 %r195, 1, 0, %p77; selp.b32 %r196, 1, 0, %p78; .loc 2 599 28 // triton_helpers.py:599:28 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.eq.b32 %p79, %r129, %r195; setp.eq.b32 %p80, %r129, %r196; .loc 2 600 38 // triton_helpers.py:600:38 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r197, %r174, %r180; xor.b32 %r198, %r176, %r182; .loc 2 600 46 // triton_helpers.py:600:46 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] selp.b32 %r199, 0, %r197, %p79; selp.b32 %r200, 0, %r198, %p80; .loc 2 600 15 // triton_helpers.py:600:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r201, %r199, %r163; xor.b32 %r202, %r200, %r164; .loc 2 601 48 // triton_helpers.py:601:48 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r203, %r186, %r192; xor.b32 %r204, %r188, %r194; .loc 2 601 59 // triton_helpers.py:601:59 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] selp.b32 %r205, 0, %r203, %p79; selp.b32 %r206, 0, %r204, %p80; .loc 2 601 22 // triton_helpers.py:601:22 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r207, %r205, %r169; xor.b32 %r208, %r206, %r170; .loc 2 538 40 // triton_helpers.py:538:40 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r209, %r201, %r130; mul.lo.s32 %r210, %r202, %r130; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r211, %r209, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r212, %r209, %r211; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r213, %r210, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r214, %r210, %r213; .loc 2 539 41 // triton_helpers.py:539:41 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r215, %r201, %r127; mul.lo.s32 %r216, %r202, %r127; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r217, %r215, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r218, %r215, %r217; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r219, %r216, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r220, %r216, %r219; .loc 2 548 23 // triton_helpers.py:548:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r221, %r207, %r130; mul.lo.s32 %r222, %r208, %r130; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r223, %r221, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r224, %r221, %r223; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r225, %r222, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r226, %r222, %r225; .loc 2 551 23 // triton_helpers.py:551:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r227, %r207, %r127; mul.lo.s32 %r228, %r208, %r127; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r229, %r227, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r230, %r227, %r229; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r231, %r228, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r232, %r228, %r231; .loc 2 574 22 // triton_helpers.py:574:22 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.lt.s32 %p81, %r212, %r218; setp.lt.s32 %p82, %r214, %r220; .loc 2 591 21 // triton_helpers.py:591:21 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.eq.b32 %p83, %r212, %r218; setp.eq.b32 %p84, %r214, %r220; .loc 2 594 40 // triton_helpers.py:594:40 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.gt.s32 %p85, %r224, %r230; setp.gt.s32 %p86, %r226, %r232; .loc 2 594 29 // triton_helpers.py:594:29 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] and.pred %p87, %p83, %p85; and.pred %p88, %p84, %p86; .loc 2 594 23 // triton_helpers.py:594:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] or.pred %p89, %p81, %p87; or.pred %p90, %p82, %p88; .loc 2 599 19 // triton_helpers.py:599:19 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] selp.b32 %r233, 1, 0, %p89; selp.b32 %r234, 1, 0, %p90; .loc 2 599 28 // triton_helpers.py:599:28 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.eq.b32 %p91, %r129, %r233; setp.eq.b32 %p92, %r129, %r234; .loc 2 600 38 // triton_helpers.py:600:38 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r235, %r212, %r218; xor.b32 %r236, %r214, %r220; .loc 2 600 46 // triton_helpers.py:600:46 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] selp.b32 %r237, 0, %r235, %p91; selp.b32 %r238, 0, %r236, %p92; .loc 2 600 15 // triton_helpers.py:600:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r239, %r237, %r201; xor.b32 %r240, %r238, %r202; .loc 2 601 48 // triton_helpers.py:601:48 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r241, %r224, %r230; xor.b32 %r242, %r226, %r232; .loc 2 601 59 // triton_helpers.py:601:59 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] selp.b32 %r243, 0, %r241, %p91; selp.b32 %r244, 0, %r242, %p92; .loc 2 601 22 // triton_helpers.py:601:22 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r245, %r243, %r207; xor.b32 %r246, %r244, %r208; .loc 2 538 40 // triton_helpers.py:538:40 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r4, %r239, %r132; mul.lo.s32 %r6, %r240, %r132; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shl.b32 %r247, %r107, 1; and.b32 %r248, %r247, 48; or.b32 %r249, %r248, %r114; shl.b32 %r250, %r249, 3; mov.b32 %r251, global_smem; add.s32 %r252, %r251, %r250; shl.b32 %r253, %r129, 2; add.s32 %r3, %r252, %r253; mov.pred %p3, -1; // begin inline asm @%p3 st.shared.b32 [ %r3 + 0 ], %r4; // end inline asm add.s32 %r5, %r3, 8; // begin inline asm @%p3 st.shared.b32 [ %r5 + 0 ], %r6; // end inline asm bar.sync 0; setp.lt.u32 %p5, %r107, 128; shl.b32 %r254, %r107, 2; add.s32 %r8, %r251, %r254; // begin inline asm @%p5 ld.shared.b32 %r7, [ %r8 + 0 ]; // end inline asm shfl.sync.bfly.b32 %r255, %r7, 1, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r10, %r255, %r7; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] and.b32 %r256, %r107, 897; setp.eq.b32 %p6, %r256, 0; // begin inline asm @%p6 st.shared.b32 [ %r8 + 0 ], %r10; // end inline asm add.s32 %r12, %r8, 256; // begin inline asm @%p5 ld.shared.b32 %r11, [ %r12 + 0 ]; // end inline asm shfl.sync.bfly.b32 %r257, %r11, 1, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r14, %r257, %r11; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] // begin inline asm @%p6 st.shared.b32 [ %r12 + 0 ], %r14; // end inline asm bar.sync 0; ld.shared.b32 %r258, [%r252]; ld.shared.b32 %r259, [%r252+8]; .loc 2 539 41 // triton_helpers.py:539:41 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r16, %r239, %r129; mul.lo.s32 %r18, %r240, %r129; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] bar.sync 0; // begin inline asm @%p3 st.shared.b32 [ %r3 + 0 ], %r16; // end inline asm // begin inline asm @%p3 st.shared.b32 [ %r5 + 0 ], %r18; // end inline asm bar.sync 0; // begin inline asm @%p5 ld.shared.b32 %r19, [ %r8 + 0 ]; // end inline asm shfl.sync.bfly.b32 %r260, %r19, 1, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r22, %r260, %r19; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] // begin inline asm @%p6 st.shared.b32 [ %r8 + 0 ], %r22; // end inline asm // begin inline asm @%p5 ld.shared.b32 %r23, [ %r12 + 0 ]; // end inline asm shfl.sync.bfly.b32 %r261, %r23, 1, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r26, %r261, %r23; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] // begin inline asm @%p6 st.shared.b32 [ %r12 + 0 ], %r26; // end inline asm bar.sync 0; ld.shared.b32 %r262, [%r252]; ld.shared.b32 %r263, [%r252+8]; .loc 2 548 23 // triton_helpers.py:548:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r28, %r245, %r132; mul.lo.s32 %r30, %r246, %r132; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] bar.sync 0; // begin inline asm @%p3 st.shared.b32 [ %r3 + 0 ], %r28; // end inline asm // begin inline asm @%p3 st.shared.b32 [ %r5 + 0 ], %r30; // end inline asm bar.sync 0; // begin inline asm @%p5 ld.shared.b32 %r31, [ %r8 + 0 ]; // end inline asm shfl.sync.bfly.b32 %r264, %r31, 1, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r34, %r264, %r31; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] // begin inline asm @%p6 st.shared.b32 [ %r8 + 0 ], %r34; // end inline asm // begin inline asm @%p5 ld.shared.b32 %r35, [ %r12 + 0 ]; // end inline asm shfl.sync.bfly.b32 %r265, %r35, 1, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r38, %r265, %r35; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] // begin inline asm @%p6 st.shared.b32 [ %r12 + 0 ], %r38; // end inline asm bar.sync 0; ld.shared.b32 %r266, [%r252]; ld.shared.b32 %r267, [%r252+8]; .loc 2 551 23 // triton_helpers.py:551:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r40, %r245, %r129; mul.lo.s32 %r42, %r246, %r129; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] bar.sync 0; // begin inline asm @%p3 st.shared.b32 [ %r3 + 0 ], %r40; // end inline asm // begin inline asm @%p3 st.shared.b32 [ %r5 + 0 ], %r42; // end inline asm bar.sync 0; // begin inline asm @%p5 ld.shared.b32 %r43, [ %r8 + 0 ]; // end inline asm shfl.sync.bfly.b32 %r268, %r43, 1, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r46, %r268, %r43; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] // begin inline asm @%p6 st.shared.b32 [ %r8 + 0 ], %r46; // end inline asm // begin inline asm @%p5 ld.shared.b32 %r47, [ %r12 + 0 ]; // end inline asm shfl.sync.bfly.b32 %r269, %r47, 1, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r50, %r269, %r47; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] // begin inline asm @%p6 st.shared.b32 [ %r12 + 0 ], %r50; // end inline asm bar.sync 0; ld.shared.b32 %r270, [%r252]; ld.shared.b32 %r271, [%r252+8]; .loc 2 574 22 // triton_helpers.py:574:22 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.lt.s32 %p93, %r258, %r262; setp.ge.s32 %p94, %r259, %r263; .loc 2 591 21 // triton_helpers.py:591:21 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.eq.b32 %p95, %r258, %r262; setp.ne.b32 %p96, %r259, %r263; .loc 2 594 40 // triton_helpers.py:594:40 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.gt.s32 %p97, %r266, %r270; setp.le.s32 %p98, %r267, %r271; .loc 2 594 29 // triton_helpers.py:594:29 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] and.pred %p99, %p95, %p97; .loc 2 594 23 // triton_helpers.py:594:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] or.pred %p100, %p96, %p98; or.pred %p101, %p93, %p99; .loc 2 599 19 // triton_helpers.py:599:19 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] and.pred %p102, %p94, %p100; .loc 2 600 38 // triton_helpers.py:600:38 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r272, %r262, %r258; xor.b32 %r273, %r263, %r259; .loc 2 600 46 // triton_helpers.py:600:46 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] selp.b32 %r274, %r272, 0, %p101; selp.b32 %r275, %r273, 0, %p102; .loc 2 600 15 // triton_helpers.py:600:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r276, %r274, %r239; xor.b32 %r277, %r275, %r240; .loc 2 601 48 // triton_helpers.py:601:48 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r278, %r270, %r266; xor.b32 %r279, %r271, %r267; .loc 2 601 59 // triton_helpers.py:601:59 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] selp.b32 %r280, %r278, 0, %p101; selp.b32 %r281, %r279, 0, %p102; .loc 2 601 22 // triton_helpers.py:601:22 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r282, %r280, %r245; xor.b32 %r283, %r281, %r246; .loc 2 538 40 // triton_helpers.py:538:40 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r284, %r276, %r131; mul.lo.s32 %r285, %r277, %r131; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r286, %r284, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r287, %r284, %r286; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r288, %r285, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r289, %r285, %r288; .loc 2 539 41 // triton_helpers.py:539:41 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r290, %r276, %r124; mul.lo.s32 %r291, %r277, %r124; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r292, %r290, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r293, %r290, %r292; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r294, %r291, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r295, %r291, %r294; .loc 2 548 23 // triton_helpers.py:548:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r296, %r282, %r131; mul.lo.s32 %r297, %r283, %r131; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r298, %r296, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r299, %r296, %r298; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r300, %r297, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r301, %r297, %r300; .loc 2 551 23 // triton_helpers.py:551:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r302, %r282, %r124; mul.lo.s32 %r303, %r283, %r124; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r304, %r302, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r305, %r304, %r302; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r306, %r303, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r307, %r306, %r303; .loc 2 574 22 // triton_helpers.py:574:22 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.lt.s32 %p103, %r287, %r293; setp.ge.s32 %p104, %r289, %r295; .loc 2 591 21 // triton_helpers.py:591:21 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.eq.b32 %p105, %r287, %r293; setp.ne.b32 %p106, %r289, %r295; .loc 2 594 40 // triton_helpers.py:594:40 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.gt.s32 %p107, %r299, %r305; setp.le.s32 %p108, %r301, %r307; .loc 2 594 29 // triton_helpers.py:594:29 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] and.pred %p109, %p105, %p107; .loc 2 594 23 // triton_helpers.py:594:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] or.pred %p110, %p106, %p108; or.pred %p111, %p103, %p109; .loc 2 599 19 // triton_helpers.py:599:19 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] and.pred %p112, %p104, %p110; .loc 2 600 38 // triton_helpers.py:600:38 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r308, %r287, %r293; xor.b32 %r309, %r289, %r295; .loc 2 600 46 // triton_helpers.py:600:46 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] selp.b32 %r310, %r308, 0, %p111; selp.b32 %r311, %r309, 0, %p112; .loc 2 600 15 // triton_helpers.py:600:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r312, %r310, %r276; xor.b32 %r313, %r311, %r277; .loc 2 601 48 // triton_helpers.py:601:48 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r314, %r305, %r299; xor.b32 %r315, %r307, %r301; .loc 2 601 59 // triton_helpers.py:601:59 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] selp.b32 %r316, %r314, 0, %p111; selp.b32 %r317, %r315, 0, %p112; .loc 2 601 22 // triton_helpers.py:601:22 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r318, %r316, %r282; xor.b32 %r319, %r317, %r283; .loc 2 538 40 // triton_helpers.py:538:40 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r320, %r312, %r130; mul.lo.s32 %r321, %r313, %r130; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r322, %r320, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r323, %r320, %r322; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r324, %r321, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r325, %r321, %r324; .loc 2 539 41 // triton_helpers.py:539:41 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r326, %r312, %r127; mul.lo.s32 %r327, %r313, %r127; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r328, %r326, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r329, %r326, %r328; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r330, %r327, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r331, %r327, %r330; .loc 2 548 23 // triton_helpers.py:548:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r332, %r318, %r130; mul.lo.s32 %r333, %r319, %r130; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r334, %r332, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r335, %r332, %r334; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r336, %r333, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r337, %r333, %r336; .loc 2 551 23 // triton_helpers.py:551:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r338, %r318, %r127; mul.lo.s32 %r339, %r319, %r127; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r340, %r338, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r341, %r340, %r338; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r342, %r339, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r343, %r342, %r339; .loc 2 574 22 // triton_helpers.py:574:22 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.lt.s32 %p113, %r323, %r329; setp.ge.s32 %p114, %r325, %r331; .loc 2 591 21 // triton_helpers.py:591:21 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.eq.b32 %p115, %r323, %r329; setp.ne.b32 %p116, %r325, %r331; .loc 2 594 40 // triton_helpers.py:594:40 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.gt.s32 %p117, %r335, %r341; setp.le.s32 %p118, %r337, %r343; .loc 2 594 29 // triton_helpers.py:594:29 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] and.pred %p119, %p115, %p117; .loc 2 594 23 // triton_helpers.py:594:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] or.pred %p120, %p116, %p118; or.pred %p121, %p113, %p119; .loc 2 599 19 // triton_helpers.py:599:19 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] and.pred %p122, %p114, %p120; .loc 2 600 38 // triton_helpers.py:600:38 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r344, %r323, %r329; xor.b32 %r345, %r325, %r331; .loc 2 600 46 // triton_helpers.py:600:46 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] selp.b32 %r346, %r344, 0, %p121; selp.b32 %r347, %r345, 0, %p122; .loc 2 600 15 // triton_helpers.py:600:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r348, %r346, %r312; xor.b32 %r349, %r347, %r313; .loc 2 601 48 // triton_helpers.py:601:48 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r350, %r341, %r335; xor.b32 %r351, %r343, %r337; .loc 2 601 59 // triton_helpers.py:601:59 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] selp.b32 %r352, %r350, 0, %p121; selp.b32 %r353, %r351, 0, %p122; .loc 2 601 22 // triton_helpers.py:601:22 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r354, %r352, %r318; xor.b32 %r355, %r353, %r319; .loc 2 574 22 // triton_helpers.py:574:22 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.lt.s32 %p123, %r348, %r349; .loc 2 591 21 // triton_helpers.py:591:21 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.eq.b32 %p124, %r348, %r349; .loc 2 594 40 // triton_helpers.py:594:40 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.gt.s32 %p125, %r354, %r355; .loc 2 594 29 // triton_helpers.py:594:29 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] and.pred %p126, %p124, %p125; .loc 2 594 23 // triton_helpers.py:594:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] or.pred %p127, %p123, %p126; .loc 2 600 38 // triton_helpers.py:600:38 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r356, %r349, %r348; .loc 2 600 46 // triton_helpers.py:600:46 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] selp.b32 %r357, %r356, 0, %p127; .loc 2 600 15 // triton_helpers.py:600:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r358, %r357, %r348; xor.b32 %r359, %r357, %r349; .loc 2 601 48 // triton_helpers.py:601:48 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r360, %r355, %r354; .loc 2 601 59 // triton_helpers.py:601:59 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] selp.b32 %r361, %r360, 0, %p127; .loc 2 601 22 // triton_helpers.py:601:22 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r362, %r361, %r354; xor.b32 %r363, %r361, %r355; .loc 2 538 40 // triton_helpers.py:538:40 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r52, %r358, %r132; mul.lo.s32 %r54, %r359, %r132; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] bar.sync 0; // begin inline asm @%p3 st.shared.b32 [ %r3 + 0 ], %r52; // end inline asm // begin inline asm @%p3 st.shared.b32 [ %r5 + 0 ], %r54; // end inline asm bar.sync 0; // begin inline asm @%p5 ld.shared.b32 %r55, [ %r8 + 0 ]; // end inline asm shfl.sync.bfly.b32 %r364, %r55, 1, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r58, %r364, %r55; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] // begin inline asm @%p6 st.shared.b32 [ %r8 + 0 ], %r58; // end inline asm // begin inline asm @%p5 ld.shared.b32 %r59, [ %r12 + 0 ]; // end inline asm shfl.sync.bfly.b32 %r365, %r59, 1, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r62, %r365, %r59; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] // begin inline asm @%p6 st.shared.b32 [ %r12 + 0 ], %r62; // end inline asm bar.sync 0; ld.shared.b32 %r366, [%r252]; ld.shared.b32 %r367, [%r252+8]; .loc 2 539 41 // triton_helpers.py:539:41 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r64, %r358, %r129; mul.lo.s32 %r66, %r359, %r129; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] bar.sync 0; // begin inline asm @%p3 st.shared.b32 [ %r3 + 0 ], %r64; // end inline asm // begin inline asm @%p3 st.shared.b32 [ %r5 + 0 ], %r66; // end inline asm bar.sync 0; // begin inline asm @%p5 ld.shared.b32 %r67, [ %r8 + 0 ]; // end inline asm shfl.sync.bfly.b32 %r368, %r67, 1, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r70, %r368, %r67; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] // begin inline asm @%p6 st.shared.b32 [ %r8 + 0 ], %r70; // end inline asm // begin inline asm @%p5 ld.shared.b32 %r71, [ %r12 + 0 ]; // end inline asm shfl.sync.bfly.b32 %r369, %r71, 1, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r74, %r369, %r71; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] // begin inline asm @%p6 st.shared.b32 [ %r12 + 0 ], %r74; // end inline asm bar.sync 0; ld.shared.b32 %r370, [%r252]; ld.shared.b32 %r371, [%r252+8]; .loc 2 548 23 // triton_helpers.py:548:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r76, %r362, %r132; mul.lo.s32 %r78, %r363, %r132; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] bar.sync 0; // begin inline asm @%p3 st.shared.b32 [ %r3 + 0 ], %r76; // end inline asm // begin inline asm @%p3 st.shared.b32 [ %r5 + 0 ], %r78; // end inline asm bar.sync 0; // begin inline asm @%p5 ld.shared.b32 %r79, [ %r8 + 0 ]; // end inline asm shfl.sync.bfly.b32 %r372, %r79, 1, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r82, %r372, %r79; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] // begin inline asm @%p6 st.shared.b32 [ %r8 + 0 ], %r82; // end inline asm // begin inline asm @%p5 ld.shared.b32 %r83, [ %r12 + 0 ]; // end inline asm shfl.sync.bfly.b32 %r373, %r83, 1, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r86, %r373, %r83; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] // begin inline asm @%p6 st.shared.b32 [ %r12 + 0 ], %r86; // end inline asm bar.sync 0; ld.shared.b32 %r374, [%r252]; ld.shared.b32 %r375, [%r252+8]; .loc 2 551 23 // triton_helpers.py:551:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r88, %r362, %r129; mul.lo.s32 %r90, %r363, %r129; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] bar.sync 0; // begin inline asm @%p3 st.shared.b32 [ %r3 + 0 ], %r88; // end inline asm // begin inline asm @%p3 st.shared.b32 [ %r5 + 0 ], %r90; // end inline asm bar.sync 0; // begin inline asm @%p5 ld.shared.b32 %r91, [ %r8 + 0 ]; // end inline asm shfl.sync.bfly.b32 %r376, %r91, 1, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r94, %r376, %r91; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] // begin inline asm @%p6 st.shared.b32 [ %r8 + 0 ], %r94; // end inline asm // begin inline asm @%p5 ld.shared.b32 %r95, [ %r12 + 0 ]; // end inline asm shfl.sync.bfly.b32 %r377, %r95, 1, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r98, %r377, %r95; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] // begin inline asm @%p6 st.shared.b32 [ %r12 + 0 ], %r98; // end inline asm bar.sync 0; ld.shared.b32 %r378, [%r252]; ld.shared.b32 %r379, [%r252+8]; .loc 2 574 22 // triton_helpers.py:574:22 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.lt.s32 %p128, %r366, %r370; setp.lt.s32 %p129, %r367, %r371; .loc 2 591 21 // triton_helpers.py:591:21 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.eq.b32 %p130, %r366, %r370; setp.eq.b32 %p131, %r367, %r371; .loc 2 594 40 // triton_helpers.py:594:40 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.gt.s32 %p132, %r374, %r378; setp.gt.s32 %p133, %r375, %r379; .loc 2 594 29 // triton_helpers.py:594:29 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] and.pred %p134, %p130, %p132; and.pred %p135, %p131, %p133; .loc 2 594 23 // triton_helpers.py:594:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] or.pred %p136, %p128, %p134; or.pred %p137, %p129, %p135; .loc 2 600 38 // triton_helpers.py:600:38 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r380, %r370, %r366; xor.b32 %r381, %r371, %r367; .loc 2 600 46 // triton_helpers.py:600:46 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] selp.b32 %r382, %r380, 0, %p136; selp.b32 %r383, %r381, 0, %p137; .loc 2 600 15 // triton_helpers.py:600:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r384, %r382, %r358; xor.b32 %r385, %r383, %r359; .loc 2 601 48 // triton_helpers.py:601:48 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r386, %r378, %r374; xor.b32 %r387, %r379, %r375; .loc 2 601 59 // triton_helpers.py:601:59 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] selp.b32 %r388, %r386, 0, %p136; selp.b32 %r389, %r387, 0, %p137; .loc 2 601 22 // triton_helpers.py:601:22 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r390, %r388, %r362; xor.b32 %r391, %r389, %r363; .loc 2 538 40 // triton_helpers.py:538:40 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r392, %r384, %r131; mul.lo.s32 %r393, %r385, %r131; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r394, %r392, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r395, %r392, %r394; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r396, %r393, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r397, %r393, %r396; .loc 2 539 41 // triton_helpers.py:539:41 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r398, %r384, %r124; mul.lo.s32 %r399, %r385, %r124; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r400, %r398, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r401, %r398, %r400; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r402, %r399, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r403, %r399, %r402; .loc 2 548 23 // triton_helpers.py:548:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r404, %r390, %r131; mul.lo.s32 %r405, %r391, %r131; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r406, %r404, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r407, %r404, %r406; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r408, %r405, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r409, %r405, %r408; .loc 2 551 23 // triton_helpers.py:551:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r410, %r390, %r124; mul.lo.s32 %r411, %r391, %r124; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r412, %r410, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r413, %r412, %r410; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r414, %r411, 16, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r415, %r414, %r411; .loc 2 574 22 // triton_helpers.py:574:22 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.lt.s32 %p138, %r395, %r401; setp.lt.s32 %p139, %r397, %r403; .loc 2 591 21 // triton_helpers.py:591:21 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.eq.b32 %p140, %r395, %r401; setp.eq.b32 %p141, %r397, %r403; .loc 2 594 40 // triton_helpers.py:594:40 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.gt.s32 %p142, %r407, %r413; setp.gt.s32 %p143, %r409, %r415; .loc 2 594 29 // triton_helpers.py:594:29 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] and.pred %p144, %p140, %p142; and.pred %p145, %p141, %p143; .loc 2 594 23 // triton_helpers.py:594:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] or.pred %p146, %p138, %p144; or.pred %p147, %p139, %p145; .loc 2 600 38 // triton_helpers.py:600:38 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r416, %r395, %r401; xor.b32 %r417, %r397, %r403; .loc 2 600 46 // triton_helpers.py:600:46 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] selp.b32 %r418, %r416, 0, %p146; selp.b32 %r419, %r417, 0, %p147; .loc 2 600 15 // triton_helpers.py:600:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r420, %r418, %r384; xor.b32 %r421, %r419, %r385; .loc 2 601 48 // triton_helpers.py:601:48 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r422, %r413, %r407; xor.b32 %r423, %r415, %r409; .loc 2 601 59 // triton_helpers.py:601:59 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] selp.b32 %r424, %r422, 0, %p146; selp.b32 %r425, %r423, 0, %p147; .loc 2 601 22 // triton_helpers.py:601:22 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r426, %r424, %r390; xor.b32 %r427, %r425, %r391; .loc 2 538 40 // triton_helpers.py:538:40 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r428, %r420, %r130; mul.lo.s32 %r429, %r421, %r130; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r430, %r428, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r431, %r428, %r430; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r432, %r429, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r433, %r429, %r432; .loc 2 539 41 // triton_helpers.py:539:41 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r434, %r420, %r127; mul.lo.s32 %r435, %r421, %r127; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r436, %r434, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r437, %r434, %r436; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r438, %r435, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r439, %r435, %r438; .loc 2 548 23 // triton_helpers.py:548:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r440, %r426, %r130; mul.lo.s32 %r441, %r427, %r130; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r442, %r440, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r443, %r440, %r442; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r444, %r441, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r445, %r441, %r444; .loc 2 551 23 // triton_helpers.py:551:23 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] mul.lo.s32 %r446, %r426, %r127; mul.lo.s32 %r447, %r427, %r127; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r448, %r446, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r449, %r448, %r446; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] shfl.sync.bfly.b32 %r450, %r447, 8, 31, -1; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] add.s32 %r451, %r450, %r447; .loc 2 574 22 // triton_helpers.py:574:22 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.lt.s32 %p148, %r431, %r437; setp.lt.s32 %p149, %r433, %r439; .loc 2 591 21 // triton_helpers.py:591:21 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.eq.b32 %p150, %r431, %r437; setp.eq.b32 %p151, %r433, %r439; .loc 2 594 40 // triton_helpers.py:594:40 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] setp.gt.s32 %p152, %r443, %r449; setp.gt.s32 %p153, %r445, %r451; .loc 2 601 48 // triton_helpers.py:601:48 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r452, %r449, %r443; xor.b32 %r453, %r451, %r445; .loc 2 601 59 // triton_helpers.py:601:59 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] selp.b32 %r454, %r452, 0, %p152; selp.b32 %r455, %r454, 0, %p150; selp.b32 %r456, %r452, %r455, %p148; selp.b32 %r457, %r453, 0, %p153; selp.b32 %r458, %r457, 0, %p151; selp.b32 %r459, %r453, %r458, %p149; .loc 2 601 22 // triton_helpers.py:601:22 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:41:67 ] xor.b32 %r460, %r456, %r426; xor.b32 %r461, %r459, %r427;$L__tmp2: .loc 1 44 34 // cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:44:34 selp.b32 %r462, %r1, 0, %p1; cvt.s64.s32 %rd11, %r462; selp.b32 %r463, %r2, 0, %p1; cvt.s64.s32 %rd12, %r463;$L__tmp3: .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:45:26 ] bar.sync 0; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:45:26 ] add.s64 %rd13, %rd12, %rd11; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:45:26 ] mov.b64 {_, %r464}, %rd13; cvt.u32.u64 %r465, %rd13; shfl.sync.bfly.b32 %r466, %r465, 16, 31, -1; shfl.sync.bfly.b32 %r467, %r464, 16, 31, -1; cvt.u64.u32 %rd14, %r466; cvt.u64.u32 %rd15, %r467; shl.b64 %rd16, %rd15, 32; or.b64 %rd17, %rd14, %rd16; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:45:26 ] add.s64 %rd18, %rd13, %rd17; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:45:26 ] mov.b64 {_, %r468}, %rd18; cvt.u32.u64 %r469, %rd18; shfl.sync.bfly.b32 %r470, %r469, 8, 31, -1; shfl.sync.bfly.b32 %r471, %r468, 8, 31, -1; cvt.u64.u32 %rd19, %r470; cvt.u64.u32 %rd20, %r471; shl.b64 %rd21, %rd20, 32; or.b64 %rd22, %rd19, %rd21; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:45:26 ] add.s64 %rd3, %rd18, %rd22; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:45:26 ] setp.eq.b32 %p51, %r108, 0; shl.b32 %r472, %r109, 4; add.s32 %r473, %r251, %r472; shl.b32 %r474, %r129, 3; add.s32 %r99, %r473, %r474; // begin inline asm @%p51 st.shared.b64 [ %r99 + 0 ], %rd3; // end inline asm bar.sync 0; setp.lt.u32 %p52, %r107, 16; shl.b32 %r475, %r107, 3; add.s32 %r100, %r251, %r475; // begin inline asm @%p52 ld.shared.b64 %rd4, [ %r100 + 0 ]; // end inline asm mov.b64 {_, %r476}, %rd4; cvt.u32.u64 %r477, %rd4; shfl.sync.bfly.b32 %r478, %r477, 1, 31, -1; shfl.sync.bfly.b32 %r479, %r476, 1, 31, -1; cvt.u64.u32 %rd23, %r478; cvt.u64.u32 %rd24, %r479; shl.b64 %rd25, %rd24, 32; or.b64 %rd26, %rd23, %rd25; .loc 3 261 15 // standard.py:261:15 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:45:26 ] add.s64 %rd5, %rd4, %rd26; .loc 3 291 36 // standard.py:291:36 @[ cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:45:26 ] and.b32 %r480, %r107, 1009; setp.eq.b32 %p53, %r480, 0; // begin inline asm @%p53 st.shared.b64 [ %r100 + 0 ], %rd5; // end inline asm bar.sync 0; ld.shared.b32 %r104, [%r473];$L__tmp4: .loc 1 49 35 // cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:49:35 shl.b32 %r481, %r112, 4; .loc 1 49 32 // cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:49:32 or.b32 %r482, %r481, %r114; .loc 1 49 25 // cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:49:25 mad.wide.s32 %rd6, %r482, 4, %rd9; .loc 1 49 47 // cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:49:47 bar.sync 0; and.b32 %r483, %r107, 3; shl.b32 %r484, %r483, 3; and.b32 %r485, %r247, 96; bfe.s32 %r486, %r107, 2, 1; and.b32 %r487, %r486, 192; and.b32 %r488, %r125, 260; or.b32 %r489, %r484, %r485; xor.b32 %r490, %r489, %r487; or.b32 %r491, %r490, %r488; add.s32 %r492, %r251, %r491; st.shared.b32 [%r492], %r460; xor.b32 %r493, %r491, 4; add.s32 %r494, %r251, %r493; st.shared.b32 [%r494], %r461; bar.sync 0; shl.b32 %r495, %r483, 5; and.b32 %r496, %r107, 28; and.b32 %r497, %r128, 192; or.b32 %r498, %r495, %r496; xor.b32 %r499, %r498, %r497; add.s32 %r500, %r251, %r499; ld.shared.b32 %r102, [%r500]; xor.b32 %r501, %r499, 4; add.s32 %r502, %r251, %r501; ld.shared.b32 %r103, [%r502+256]; // begin inline asm @%p54 st.global.v2.b32 [ %rd6 + 0 ], { %r102, %r103 }; // end inline asm .loc 1 50 25 // cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:50:25 mad.wide.s32 %rd7, %r111, 4, %rd10; .loc 1 50 37 // cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:50:37 and.b32 %r503, %r107, 56; setp.eq.b32 %p154, %r503, 0; and.pred %p55, %p154, %p1; // begin inline asm @%p55 st.global.b32 [ %rd7 + 0 ], { %r104 }; // end inline asm .loc 1 50 4 // cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py:50:4 ret;$L__tmp5:$L__func_end0: // -- End function} .file 1 "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py" .file 2 "/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py" .file 3 "/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py" .section .debug_abbrev {.b8 1 // Abbreviation Code.b8 17 // DW_TAG_compile_unit.b8 1 // DW_CHILDREN_yes.b8 37 // DW_AT_producer.b8 8 // DW_FORM_string.b8 19 // DW_AT_language.b8 5 // DW_FORM_data2.b8 3 // DW_AT_name.b8 8 // DW_FORM_string.b8 16 // DW_AT_stmt_list.b8 6 // DW_FORM_data4.b8 27 // DW_AT_comp_dir.b8 8 // DW_FORM_string.b8 0 // EOM(1).b8 0 // EOM(2).b8 2 // Abbreviation Code.b8 46 // DW_TAG_subprogram.b8 0 // DW_CHILDREN_no.b8 3 // DW_AT_name.b8 8 // DW_FORM_string.b8 32 // DW_AT_inline.b8 11 // DW_FORM_data1.b8 0 // EOM(1).b8 0 // EOM(2).b8 3 // Abbreviation Code.b8 46 // DW_TAG_subprogram.b8 1 // DW_CHILDREN_yes.b8 17 // DW_AT_low_pc.b8 1 // DW_FORM_addr.b8 18 // DW_AT_high_pc.b8 1 // DW_FORM_addr.b8 49 // DW_AT_abstract_origin.b8 19 // DW_FORM_ref4.b8 0 // EOM(1).b8 0 // EOM(2).b8 4 // Abbreviation Code.b8 29 // DW_TAG_inlined_subroutine.b8 0 // DW_CHILDREN_no.b8 49 // DW_AT_abstract_origin.b8 19 // DW_FORM_ref4.b8 17 // DW_AT_low_pc.b8 1 // DW_FORM_addr.b8 18 // DW_AT_high_pc.b8 1 // DW_FORM_addr.b8 88 // DW_AT_call_file.b8 11 // DW_FORM_data1.b8 89 // DW_AT_call_line.b8 11 // DW_FORM_data1.b8 87 // DW_AT_call_column.b8 11 // DW_FORM_data1.b8 0 // EOM(1).b8 0 // EOM(2).b8 0 // EOM(3) } .section .debug_info {.b32 267 // Length of Unit.b8 2 // DWARF version number.b8 0.b32 .debug_abbrev // Offset Into Abbrev. Section.b8 8 // Address Size (in bytes).b8 1 // Abbrev [1] 0xb:0x104 DW_TAG_compile_unit.b8 116 // DW_AT_producer.b8 114.b8 105.b8 116.b8 111.b8 110.b8 0.b8 2 // DW_AT_language.b8 0.b8 99 // DW_AT_name.b8 98.b8 112.b8 52.b8 111.b8 102.b8 105.b8 109.b8 50.b8 111.b8 117.b8 106.b8 120.b8 101.b8 54.b8 104.b8 109.b8 52.b8 55.b8 120.b8 122.b8 117.b8 103.b8 105.b8 97.b8 54.b8 55.b8 107.b8 52.b8 107.b8 111.b8 102.b8 103.b8 98.b8 103.b8 118.b8 116.b8 55.b8 110.b8 55.b8 100.b8 53.b8 103.b8 100.b8 51.b8 105.b8 117.b8 120.b8 55.b8 54.b8 108.b8 105.b8 46.b8 112.b8 121.b8 0.b32 .debug_line // DW_AT_stmt_list.b8 47 // DW_AT_comp_dir.b8 119.b8 111.b8 114.b8 107.b8 115.b8 112.b8 97.b8 99.b8 101.b8 47.b8 104.b8 97.b8 110.b8 114.b8 117.b8 105.b8 47.b8 83.b8 112.b8 101.b8 99.b8 70.b8 111.b8 114.b8 103.b8 101.b8 45.b8 101.b8 120.b8 116.b8 47.b8 99.b8 97.b8 99.b8 104.b8 101.b8 47.b8 99.b8 111.b8 109.b8 112.b8 105.b8 108.b8 101.b8 100.b8 95.b8 107.b8 101.b8 114.b8 110.b8 101.b8 108.b8 115.b8 47.b8 98.b8 112.b8 0.b8 2 // Abbrev [2] 0x8b:0x3d DW_TAG_subprogram.b8 116 // DW_AT_name.b8 114.b8 105.b8 116.b8 111.b8 110.b8 95.b8 112.b8 101.b8 114.b8 95.b8 102.b8 117.b8 115.b8 101.b8 100.b8 95.b8 95.b8 116.b8 111.b8 95.b8 99.b8 111.b8 112.b8 121.b8 95.b8 99.b8 108.b8 111.b8 110.b8 101.b8 95.b8 115.b8 108.b8 105.b8 99.b8 101.b8 95.b8 115.b8 111.b8 114.b8 116.b8 95.b8 115.b8 117.b8 109.b8 95.b8 116.b8 114.b8 97.b8 110.b8 115.b8 112.b8 111.b8 115.b8 101.b8 95.b8 51.b8 0.b8 1 // DW_AT_inline.b8 3 // Abbrev [3] 0xc8:0x46 DW_TAG_subprogram.b64 $L__func_begin0 // DW_AT_low_pc.b64 $L__func_end0 // DW_AT_high_pc.b32 139 // DW_AT_abstract_origin.b8 4 // Abbrev [4] 0xdd:0x18 DW_TAG_inlined_subroutine.b32 139 // DW_AT_abstract_origin.b64 $L__tmp1 // DW_AT_low_pc.b64 $L__tmp2 // DW_AT_high_pc.b8 1 // DW_AT_call_file.b8 41 // DW_AT_call_line.b8 67 // DW_AT_call_column.b8 4 // Abbrev [4] 0xf5:0x18 DW_TAG_inlined_subroutine.b32 139 // DW_AT_abstract_origin.b64 $L__tmp3 // DW_AT_low_pc.b64 $L__tmp4 // DW_AT_high_pc.b8 1 // DW_AT_call_file.b8 45 // DW_AT_call_line.b8 26 // DW_AT_call_column.b8 0 // End Of Children Mark.b8 0 // End Of Children Mark } .section .debug_macinfo { }123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841#blocked = #ttg.blocked<{sizePerThread = [1, 1], threadsPerWarp = [8, 4], warpsPerCTA = [1, 2], order = [0, 1]}>#blocked1 = #ttg.blocked<{sizePerThread = [1, 2], threadsPerWarp = [4, 8], warpsPerCTA = [2, 1], order = [1, 0]}>#linear = #ttg.linear<{register = [[0, 8]], lane = [[1, 0], [2, 0], [4, 0], [0, 1], [0, 2]], warp = [[0, 4]], block = []}>#linear1 = #ttg.linear<{register = [[4, 0, 0]], lane = [[8, 0, 0], [16, 0, 0], [32, 0, 0], [0, 1, 0], [1, 0, 0]], warp = [[2, 0, 0]], block = []}>#linear2 = #ttg.linear<{register = [[2, 0, 0]], lane = [[4, 0, 0], [8, 0, 0], [16, 0, 0], [0, 0, 1], [0, 1, 0]], warp = [[1, 0, 0]], block = []}>#linear3 = #ttg.linear<{register = [[1, 0, 0]], lane = [[2, 0, 0], [4, 0, 0], [8, 0, 0], [0, 0, 1], [0, 0, 2]], warp = [[0, 1, 0]], block = []}>#linear4 = #ttg.linear<{register = [[0, 1, 0]], lane = [[1, 0, 0], [2, 0, 0], [4, 0, 0], [0, 0, 1], [0, 0, 2]], warp = [[0, 0, 4]], block = []}>#loc = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":18:0)#loc1 = loc(unknown)#loc19 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":662:12)#loc20 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":41:67)#loc24 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":634:73)#loc28 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":538:51)#loc33 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":539:53)#loc42 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":548:50)#loc47 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":551:51)#loc67 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":45:26)#loc77 = loc("in_ptr0"(#loc))#loc78 = loc("out_ptr2"(#loc))#loc79 = loc("out_ptr3"(#loc))#loc80 = loc("xnumel"(#loc))#loc81 = loc("r0_numel"(#loc))#loc99 = loc(callsite(#loc19 at #loc20))#loc105 = loc("ileft"(#loc28))#loc109 = loc("iright"(#loc33))#loc118 = loc("left_idx"(#loc42))#loc123 = loc("right_idx"(#loc47))#loc143 = loc("tmp11"(#loc67))#loc149 = loc(callsite(#loc24 at #loc99))#loc153 = loc(callsite(#loc1 at #loc143))#loc157 = loc(callsite(#loc105 at #loc149))#loc161 = loc(callsite(#loc109 at #loc149))#loc169 = loc(callsite(#loc118 at #loc149))#loc174 = loc(callsite(#loc123 at #loc149))#loc194 = loc(callsite(#loc1 at #loc157))#loc196 = loc(callsite(#loc1 at #loc161))#loc199 = loc(callsite(#loc1 at #loc169))#loc202 = loc(callsite(#loc1 at #loc174))module attributes {"ttg.num-ctas" = 1 : i32, "ttg.num-warps" = 2 : i32, ttg.target = "cuda:90", "ttg.threads-per-warp" = 32 : i32} { tt.func public @triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3(%in_ptr0: !tt.ptr<i32> {tt.divisibility = 16 : i32} loc("in_ptr0"(#loc)), %out_ptr2: !tt.ptr<i32> {tt.divisibility = 16 : i32} loc("out_ptr2"(#loc)), %out_ptr3: !tt.ptr<i32> {tt.divisibility = 16 : i32} loc("out_ptr3"(#loc)), %xnumel: i32 {tt.divisibility = 16 : i32} loc("xnumel"(#loc)), %r0_numel: i32 {tt.divisibility = 16 : i32} loc("r0_numel"(#loc))) attributes {noinline = false} { %cst = arith.constant dense<0> : tensor<8x16xi32, #linear> loc(#loc1) %cst_0 = arith.constant dense<0> : tensor<8x16xi64, #blocked> loc(#loc1) %c8_i32 = arith.constant 8 : i32 loc(#loc1) %cst_1 = arith.constant dense<32> : tensor<8x1xi32, #blocked> loc(#loc1) %cst_2 = arith.constant dense<32> : tensor<8x1xi32, #blocked1> loc(#loc1) %cst_3 = arith.constant dense<16> : tensor<8x1xi32, #blocked> loc(#loc1) %cst_4 = arith.constant dense<16> : tensor<8x1xi32, #blocked1> loc(#loc1) %cst_5 = arith.constant dense<17> : tensor<1x16xi32, #blocked> loc(#loc1) %cst_6 = arith.constant dense<272> : tensor<8x1xi32, #blocked> loc(#loc1) %cst_7 = arith.constant dense<1> : tensor<1x2x1xi32, #linear1> loc(#loc1) %cst_8 = arith.constant dense<1> : tensor<1x2x1xi32, #linear2> loc(#loc1) %cst_9 = arith.constant dense<1> : tensor<1x2x1xi32, #linear3> loc(#loc1) %cst_10 = arith.constant dense<1> : tensor<1x2x1xi32, #linear4> loc(#loc1) %cst_11 = arith.constant dense<0> : tensor<8x16xi32, #blocked> loc(#loc1) %xoffset = tt.get_program_id x : i32 loc(#loc82) %xoffset_12 = arith.muli %xoffset, %c8_i32 : i32 loc(#loc83) %xindex = tt.make_range {end = 8 : i32, start = 0 : i32} : tensor<8xi32, #ttg.slice<{dim = 1, parent = #blocked}>> loc(#loc84) %xindex_13 = tt.make_range {end = 8 : i32, start = 0 : i32} : tensor<8xi32, #ttg.slice<{dim = 1, parent = #blocked1}>> loc(#loc84) %xindex_14 = tt.expand_dims %xindex {axis = 1 : i32} : tensor<8xi32, #ttg.slice<{dim = 1, parent = #blocked}>> -> tensor<8x1xi32, #blocked> loc(#loc84) %xindex_15 = tt.expand_dims %xindex_13 {axis = 1 : i32} : tensor<8xi32, #ttg.slice<{dim = 1, parent = #blocked1}>> -> tensor<8x1xi32, #blocked1> loc(#loc84) %xindex_16 = tt.splat %xoffset_12 : i32 -> tensor<8x1xi32, #blocked> loc(#loc85) %xindex_17 = tt.splat %xoffset_12 : i32 -> tensor<8x1xi32, #blocked1> loc(#loc85) %xindex_18 = arith.addi %xindex_16, %xindex_14 : tensor<8x1xi32, #blocked> loc(#loc85) %xindex_19 = arith.addi %xindex_17, %xindex_15 : tensor<8x1xi32, #blocked1> loc(#loc85) %xmask = arith.cmpi slt, %xindex_18, %cst_1 : tensor<8x1xi32, #blocked> loc(#loc86) %xmask_20 = arith.cmpi slt, %xindex_19, %cst_2 : tensor<8x1xi32, #blocked1> loc(#loc86) %r0_index = tt.make_range {end = 16 : i32, start = 0 : i32} : tensor<16xi32, #ttg.slice<{dim = 0, parent = #blocked}>> loc(#loc87) %r0_index_21 = tt.make_range {end = 16 : i32, start = 0 : i32} : tensor<16xi32, #ttg.slice<{dim = 0, parent = #linear}>> loc(#loc87) %r0_index_22 = tt.make_range {end = 16 : i32, start = 0 : i32} : tensor<16xi32, #ttg.slice<{dim = 0, parent = #blocked1}>> loc(#loc87) %r0_index_23 = tt.expand_dims %r0_index {axis = 0 : i32} : tensor<16xi32, #ttg.slice<{dim = 0, parent = #blocked}>> -> tensor<1x16xi32, #blocked> loc(#loc87) %r0_index_24 = tt.expand_dims %r0_index_21 {axis = 0 : i32} : tensor<16xi32, #ttg.slice<{dim = 0, parent = #linear}>> -> tensor<1x16xi32, #linear> loc(#loc87) %r0_index_25 = tt.expand_dims %r0_index_22 {axis = 0 : i32} : tensor<16xi32, #ttg.slice<{dim = 0, parent = #blocked1}>> -> tensor<1x16xi32, #blocked1> loc(#loc87) %x0 = arith.remsi %xindex_18, %cst_3 : tensor<8x1xi32, #blocked> loc(#loc88) %x1 = arith.divsi %xindex_18, %cst_3 : tensor<8x1xi32, #blocked> loc(#loc89) %tmp0 = arith.muli %r0_index_23, %cst_5 : tensor<1x16xi32, #blocked> loc(#loc90) %tmp0_26 = tt.broadcast %x0 : tensor<8x1xi32, #blocked> -> tensor<8x16xi32, #blocked> loc(#loc91) %tmp0_27 = tt.broadcast %tmp0 : tensor<1x16xi32, #blocked> -> tensor<8x16xi32, #blocked> loc(#loc91) %tmp0_28 = arith.addi %tmp0_26, %tmp0_27 : tensor<8x16xi32, #blocked> loc(#loc91) %tmp0_29 = arith.muli %x1, %cst_6 : tensor<8x1xi32, #blocked> loc(#loc92) %tmp0_30 = tt.broadcast %tmp0_29 : tensor<8x1xi32, #blocked> -> tensor<8x16xi32, #blocked> loc(#loc93) %tmp0_31 = arith.addi %tmp0_28, %tmp0_30 : tensor<8x16xi32, #blocked> loc(#loc93) %tmp0_32 = tt.splat %in_ptr0 : !tt.ptr<i32> -> tensor<8x16x!tt.ptr<i32>, #blocked> loc(#loc94) %tmp0_33 = tt.addptr %tmp0_32, %tmp0_31 : tensor<8x16x!tt.ptr<i32>, #blocked>, tensor<8x16xi32, #blocked> loc(#loc94) %tmp0_34 = tt.broadcast %xmask : tensor<8x1xi1, #blocked> -> tensor<8x16xi1, #blocked> loc(#loc95) %tmp0_35 = tt.broadcast %xmask_20 : tensor<8x1xi1, #blocked1> -> tensor<8x16xi1, #blocked1> loc(#loc95) %tmp0_36 = tt.load %tmp0_33, %tmp0_34, %cst_11 : tensor<8x16x!tt.ptr<i32>, #blocked> loc(#loc95) %tmp2 = arith.trunci %r0_index_24 : tensor<1x16xi32, #linear> to tensor<1x16xi16, #linear> loc(#loc96) %tmp4 = tt.broadcast %tmp2 : tensor<1x16xi16, #linear> -> tensor<8x16xi16, #linear> loc(#loc97) %flip = tt.make_range {end = 2 : i32, start = 0 : i32} : tensor<2xi32, #ttg.slice<{dim = 0, parent = #ttg.slice<{dim = 2, parent = #linear2}>}>> loc(#loc146) %flip_37 = tt.make_range {end = 2 : i32, start = 0 : i32} : tensor<2xi32, #ttg.slice<{dim = 0, parent = #ttg.slice<{dim = 2, parent = #linear1}>}>> loc(#loc146) %flip_38 = tt.make_range {end = 2 : i32, start = 0 : i32} : tensor<2xi32, #ttg.slice<{dim = 0, parent = #ttg.slice<{dim = 2, parent = #linear3}>}>> loc(#loc146) %flip_39 = tt.make_range {end = 2 : i32, start = 0 : i32} : tensor<2xi32, #ttg.slice<{dim = 0, parent = #ttg.slice<{dim = 2, parent = #linear4}>}>> loc(#loc146) %flip_40 = tt.expand_dims %flip {axis = 0 : i32} : tensor<2xi32, #ttg.slice<{dim = 0, parent = #ttg.slice<{dim = 2, parent = #linear2}>}>> -> tensor<1x2xi32, #ttg.slice<{dim = 2, parent = #linear2}>> loc(#loc146) %flip_41 = tt.expand_dims %flip_37 {axis = 0 : i32} : tensor<2xi32, #ttg.slice<{dim = 0, parent = #ttg.slice<{dim = 2, parent = #linear1}>}>> -> tensor<1x2xi32, #ttg.slice<{dim = 2, parent = #linear1}>> loc(#loc146) %flip_42 = tt.expand_dims %flip_38 {axis = 0 : i32} : tensor<2xi32, #ttg.slice<{dim = 0, parent = #ttg.slice<{dim = 2, parent = #linear3}>}>> -> tensor<1x2xi32, #ttg.slice<{dim = 2, parent = #linear3}>> loc(#loc146) %flip_43 = tt.expand_dims %flip_39 {axis = 0 : i32} : tensor<2xi32, #ttg.slice<{dim = 0, parent = #ttg.slice<{dim = 2, parent = #linear4}>}>> -> tensor<1x2xi32, #ttg.slice<{dim = 2, parent = #linear4}>> loc(#loc146) %flip_44 = tt.expand_dims %flip_40 {axis = 2 : i32} : tensor<1x2xi32, #ttg.slice<{dim = 2, parent = #linear2}>> -> tensor<1x2x1xi32, #linear2> loc(#loc146) %flip_45 = tt.expand_dims %flip_41 {axis = 2 : i32} : tensor<1x2xi32, #ttg.slice<{dim = 2, parent = #linear1}>> -> tensor<1x2x1xi32, #linear1> loc(#loc146) %flip_46 = tt.expand_dims %flip_42 {axis = 2 : i32} : tensor<1x2xi32, #ttg.slice<{dim = 2, parent = #linear3}>> -> tensor<1x2x1xi32, #linear3> loc(#loc146) %flip_47 = tt.expand_dims %flip_43 {axis = 2 : i32} : tensor<1x2xi32, #ttg.slice<{dim = 2, parent = #linear4}>> -> tensor<1x2x1xi32, #linear4> loc(#loc146) %flip_48 = tt.broadcast %flip_44 : tensor<1x2x1xi32, #linear2> -> tensor<32x2x2xi32, #linear2> loc(#loc147) %flip_49 = tt.reshape %flip_48 : tensor<32x2x2xi32, #linear2> -> tensor<8x16xi32, #blocked> loc(#loc148) %flip_50 = tt.reshape %flip_48 : tensor<32x2x2xi32, #linear2> -> tensor<8x16xi32, #linear> loc(#loc148) %y = tt.reshape %tmp0_36 : tensor<8x16xi32, #blocked> -> tensor<64x2x1xi32, #linear1> loc(#loc154) %left_mask = arith.subi %cst_7, %flip_45 : tensor<1x2x1xi32, #linear1> loc(#loc155) %left_mask_51 = arith.subi %cst_8, %flip_44 : tensor<1x2x1xi32, #linear2> loc(#loc155) %left_mask_52 = arith.subi %cst_9, %flip_46 : tensor<1x2x1xi32, #linear3> loc(#loc155) %left_mask_53 = arith.subi %cst_10, %flip_47 : tensor<1x2x1xi32, #linear4> loc(#loc155) %ileft = tt.broadcast %left_mask : tensor<1x2x1xi32, #linear1> -> tensor<64x2x1xi32, #linear1> loc(#loc156) %ileft_54 = arith.muli %y, %ileft : tensor<64x2x1xi32, #linear1> loc(#loc156) %ileft_55 = "tt.reduce"(%ileft_54) <{axis = 1 : i32}> ({ ^bb0(%ileft_419: i32 loc(callsite(#loc1 at #loc157)), %ileft_420: i32 loc(callsite(#loc1 at #loc157))): %ileft_421 = arith.addi %ileft_419, %ileft_420 : i32 loc(#loc203) tt.reduce.return %ileft_421 : i32 loc(#loc193) }) : (tensor<64x2x1xi32, #linear1>) -> tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> loc(#loc193) %ileft_56 = tt.expand_dims %ileft_55 {axis = 1 : i32} : tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> -> tensor<64x1x1xi32, #linear1> loc(#loc158) %ileft_57 = tt.broadcast %ileft_56 : tensor<64x1x1xi32, #linear1> -> tensor<64x2x1xi32, #linear1> loc(#loc159) %iright = tt.broadcast %flip_45 : tensor<1x2x1xi32, #linear1> -> tensor<64x2x1xi32, #linear1> loc(#loc160) %iright_58 = arith.muli %y, %iright : tensor<64x2x1xi32, #linear1> loc(#loc160) %iright_59 = "tt.reduce"(%iright_58) <{axis = 1 : i32}> ({ ^bb0(%iright_419: i32 loc(callsite(#loc1 at #loc161)), %iright_420: i32 loc(callsite(#loc1 at #loc161))): %iright_421 = arith.addi %iright_419, %iright_420 : i32 loc(#loc204) tt.reduce.return %iright_421 : i32 loc(#loc195) }) : (tensor<64x2x1xi32, #linear1>) -> tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> loc(#loc195) %iright_60 = tt.expand_dims %iright_59 {axis = 1 : i32} : tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> -> tensor<64x1x1xi32, #linear1> loc(#loc162) %iright_61 = tt.broadcast %iright_60 : tensor<64x1x1xi32, #linear1> -> tensor<64x2x1xi32, #linear1> loc(#loc163) %ileft_62 = tt.reshape %ileft_57 : tensor<64x2x1xi32, #linear1> -> tensor<8x16xi32, #blocked> loc(#loc164) %ileft_63 = tt.reshape %ileft_57 : tensor<64x2x1xi32, #linear1> -> tensor<8x16xi32, #linear> loc(#loc164) %iright_64 = tt.reshape %iright_61 : tensor<64x2x1xi32, #linear1> -> tensor<8x16xi32, #blocked> loc(#loc165) %iright_65 = tt.reshape %iright_61 : tensor<64x2x1xi32, #linear1> -> tensor<8x16xi32, #linear> loc(#loc165) %y_idx = tt.reshape %tmp4 : tensor<8x16xi16, #linear> -> tensor<64x2x1xi16, #linear1> loc(#loc166) %left_idx = arith.trunci %left_mask : tensor<1x2x1xi32, #linear1> to tensor<1x2x1xi16, #linear1> loc(#loc167) %left_idx_66 = tt.broadcast %left_idx : tensor<1x2x1xi16, #linear1> -> tensor<64x2x1xi16, #linear1> loc(#loc168) %left_idx_67 = arith.muli %y_idx, %left_idx_66 : tensor<64x2x1xi16, #linear1> loc(#loc168) %input = arith.extsi %left_idx_67 : tensor<64x2x1xi16, #linear1> to tensor<64x2x1xi32, #linear1> loc(#loc197) %left_idx_68 = "tt.reduce"(%input) <{axis = 1 : i32}> ({ ^bb0(%left_idx_419: i32 loc(callsite(#loc1 at #loc169)), %left_idx_420: i32 loc(callsite(#loc1 at #loc169))): %left_idx_421 = arith.addi %left_idx_419, %left_idx_420 : i32 loc(#loc205) tt.reduce.return %left_idx_421 : i32 loc(#loc198) }) : (tensor<64x2x1xi32, #linear1>) -> tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> loc(#loc198) %left_idx_69 = tt.expand_dims %left_idx_68 {axis = 1 : i32} : tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> -> tensor<64x1x1xi32, #linear1> loc(#loc170) %left_idx_70 = tt.broadcast %left_idx_69 : tensor<64x1x1xi32, #linear1> -> tensor<64x2x1xi32, #linear1> loc(#loc171) %right_idx = arith.trunci %flip_45 : tensor<1x2x1xi32, #linear1> to tensor<1x2x1xi16, #linear1> loc(#loc172) %right_idx_71 = tt.broadcast %right_idx : tensor<1x2x1xi16, #linear1> -> tensor<64x2x1xi16, #linear1> loc(#loc173) %right_idx_72 = arith.muli %y_idx, %right_idx_71 : tensor<64x2x1xi16, #linear1> loc(#loc173) %input_73 = arith.extsi %right_idx_72 : tensor<64x2x1xi16, #linear1> to tensor<64x2x1xi32, #linear1> loc(#loc200) %right_idx_74 = "tt.reduce"(%input_73) <{axis = 1 : i32}> ({ ^bb0(%right_idx_419: i32 loc(callsite(#loc1 at #loc174)), %right_idx_420: i32 loc(callsite(#loc1 at #loc174))): %right_idx_421 = arith.addi %right_idx_419, %right_idx_420 : i32 loc(#loc206) tt.reduce.return %right_idx_421 : i32 loc(#loc201) }) : (tensor<64x2x1xi32, #linear1>) -> tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> loc(#loc201) %right_idx_75 = tt.expand_dims %right_idx_74 {axis = 1 : i32} : tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> -> tensor<64x1x1xi32, #linear1> loc(#loc175) %right_idx_76 = tt.broadcast %right_idx_75 : tensor<64x1x1xi32, #linear1> -> tensor<64x2x1xi32, #linear1> loc(#loc176) %left_idx_77 = tt.reshape %left_idx_70 : tensor<64x2x1xi32, #linear1> -> tensor<8x16xi32, #blocked> loc(#loc177) %left_idx_78 = tt.reshape %left_idx_70 : tensor<64x2x1xi32, #linear1> -> tensor<8x16xi32, #linear> loc(#loc177) %right_idx_79 = tt.reshape %right_idx_76 : tensor<64x2x1xi32, #linear1> -> tensor<8x16xi32, #blocked> loc(#loc178) %right_idx_80 = tt.reshape %right_idx_76 : tensor<64x2x1xi32, #linear1> -> tensor<8x16xi32, #linear> loc(#loc178) %cond = arith.cmpi slt, %ileft_62, %iright_64 : tensor<8x16xi32, #blocked> loc(#loc179) %cond_81 = arith.cmpi slt, %ileft_63, %iright_65 : tensor<8x16xi32, #linear> loc(#loc179) %eq = arith.cmpi eq, %ileft_62, %iright_64 : tensor<8x16xi32, #blocked> loc(#loc180) %eq_82 = arith.cmpi eq, %ileft_63, %iright_65 : tensor<8x16xi32, #linear> loc(#loc180) %cond_83 = arith.cmpi sgt, %left_idx_77, %right_idx_79 : tensor<8x16xi32, #blocked> loc(#loc181) %cond_84 = arith.cmpi sgt, %left_idx_78, %right_idx_80 : tensor<8x16xi32, #linear> loc(#loc181) %cond_85 = arith.andi %eq, %cond_83 : tensor<8x16xi1, #blocked> loc(#loc182) %cond_86 = arith.andi %eq_82, %cond_84 : tensor<8x16xi1, #linear> loc(#loc182) %cond_87 = arith.ori %cond, %cond_85 : tensor<8x16xi1, #blocked> loc(#loc183) %cond_88 = arith.ori %cond_81, %cond_86 : tensor<8x16xi1, #linear> loc(#loc183) %cond_89 = arith.extui %cond_87 : tensor<8x16xi1, #blocked> to tensor<8x16xi32, #blocked> loc(#loc184) %cond_90 = arith.extui %cond_88 : tensor<8x16xi1, #linear> to tensor<8x16xi32, #linear> loc(#loc184) %cond_91 = arith.xori %cond_89, %flip_49 : tensor<8x16xi32, #blocked> loc(#loc184) %cond_92 = arith.xori %cond_90, %flip_50 : tensor<8x16xi32, #linear> loc(#loc184) %cond_93 = arith.cmpi ne, %cond_91, %cst_11 : tensor<8x16xi32, #blocked> loc(#loc185) %cond_94 = arith.cmpi ne, %cond_92, %cst : tensor<8x16xi32, #linear> loc(#loc185) %ret = arith.xori %ileft_62, %iright_64 : tensor<8x16xi32, #blocked> loc(#loc186) %ret_95 = arith.select %cond_93, %ret, %cst_11 : tensor<8x16xi1, #blocked>, tensor<8x16xi32, #blocked> loc(#loc187) %ret_96 = arith.xori %tmp0_36, %ret_95 : tensor<8x16xi32, #blocked> loc(#loc188) %ret_97 = ttg.convert_layout %ret_96 : tensor<8x16xi32, #blocked> -> tensor<8x16xi32, #linear> loc(#loc188) %new_idxs = arith.xori %left_idx_78, %right_idx_80 : tensor<8x16xi32, #linear> loc(#loc189) %new_idxs_98 = arith.select %cond_94, %new_idxs, %cst : tensor<8x16xi1, #linear>, tensor<8x16xi32, #linear> loc(#loc190) %new_idxs_99 = arith.extsi %tmp2 : tensor<1x16xi16, #linear> to tensor<1x16xi32, #linear> loc(#loc191) %new_idxs_100 = tt.broadcast %new_idxs_99 : tensor<1x16xi32, #linear> -> tensor<8x16xi32, #linear> loc(#loc191) %new_idxs_101 = arith.xori %new_idxs_100, %new_idxs_98 : tensor<8x16xi32, #linear> loc(#loc191) %flip_102 = tt.broadcast %flip_46 : tensor<1x2x1xi32, #linear3> -> tensor<16x2x4xi32, #linear3> loc(#loc147) %flip_103 = tt.reshape %flip_102 : tensor<16x2x4xi32, #linear3> -> tensor<8x16xi32, #linear> loc(#loc148) %y_104 = tt.reshape %ret_96 : tensor<8x16xi32, #blocked> -> tensor<32x2x2xi32, #linear2> loc(#loc154) %ileft_105 = tt.broadcast %left_mask_51 : tensor<1x2x1xi32, #linear2> -> tensor<32x2x2xi32, #linear2> loc(#loc156) %ileft_106 = arith.muli %y_104, %ileft_105 : tensor<32x2x2xi32, #linear2> loc(#loc156) %ileft_107 = "tt.reduce"(%ileft_106) <{axis = 1 : i32}> ({ ^bb0(%ileft_419: i32 loc(callsite(#loc1 at #loc157)), %ileft_420: i32 loc(callsite(#loc1 at #loc157))): %ileft_421 = arith.addi %ileft_419, %ileft_420 : i32 loc(#loc203) tt.reduce.return %ileft_421 : i32 loc(#loc193) }) : (tensor<32x2x2xi32, #linear2>) -> tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> loc(#loc193) %ileft_108 = tt.expand_dims %ileft_107 {axis = 1 : i32} : tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> -> tensor<32x1x2xi32, #linear2> loc(#loc158) %ileft_109 = tt.broadcast %ileft_108 : tensor<32x1x2xi32, #linear2> -> tensor<32x2x2xi32, #linear2> loc(#loc159) %iright_110 = arith.muli %y_104, %flip_48 : tensor<32x2x2xi32, #linear2> loc(#loc160) %iright_111 = "tt.reduce"(%iright_110) <{axis = 1 : i32}> ({ ^bb0(%iright_419: i32 loc(callsite(#loc1 at #loc161)), %iright_420: i32 loc(callsite(#loc1 at #loc161))): %iright_421 = arith.addi %iright_419, %iright_420 : i32 loc(#loc204) tt.reduce.return %iright_421 : i32 loc(#loc195) }) : (tensor<32x2x2xi32, #linear2>) -> tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> loc(#loc195) %iright_112 = tt.expand_dims %iright_111 {axis = 1 : i32} : tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> -> tensor<32x1x2xi32, #linear2> loc(#loc162) %iright_113 = tt.broadcast %iright_112 : tensor<32x1x2xi32, #linear2> -> tensor<32x2x2xi32, #linear2> loc(#loc163) %ileft_114 = tt.reshape %ileft_109 : tensor<32x2x2xi32, #linear2> -> tensor<8x16xi32, #linear> loc(#loc164) %iright_115 = tt.reshape %iright_113 : tensor<32x2x2xi32, #linear2> -> tensor<8x16xi32, #linear> loc(#loc165) %y_idx_116 = tt.reshape %new_idxs_101 : tensor<8x16xi32, #linear> -> tensor<32x2x2xi32, #linear2> loc(#loc166) %left_idx_117 = arith.muli %y_idx_116, %ileft_105 : tensor<32x2x2xi32, #linear2> loc(#loc168) %left_idx_118 = "tt.reduce"(%left_idx_117) <{axis = 1 : i32}> ({ ^bb0(%left_idx_419: i32 loc(callsite(#loc1 at #loc169)), %left_idx_420: i32 loc(callsite(#loc1 at #loc169))): %left_idx_421 = arith.addi %left_idx_419, %left_idx_420 : i32 loc(#loc205) tt.reduce.return %left_idx_421 : i32 loc(#loc198) }) : (tensor<32x2x2xi32, #linear2>) -> tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> loc(#loc198) %left_idx_119 = tt.expand_dims %left_idx_118 {axis = 1 : i32} : tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> -> tensor<32x1x2xi32, #linear2> loc(#loc170) %left_idx_120 = tt.broadcast %left_idx_119 : tensor<32x1x2xi32, #linear2> -> tensor<32x2x2xi32, #linear2> loc(#loc171) %right_idx_121 = arith.muli %y_idx_116, %flip_48 : tensor<32x2x2xi32, #linear2> loc(#loc173) %right_idx_122 = "tt.reduce"(%right_idx_121) <{axis = 1 : i32}> ({ ^bb0(%right_idx_419: i32 loc(callsite(#loc1 at #loc174)), %right_idx_420: i32 loc(callsite(#loc1 at #loc174))): %right_idx_421 = arith.addi %right_idx_419, %right_idx_420 : i32 loc(#loc206) tt.reduce.return %right_idx_421 : i32 loc(#loc201) }) : (tensor<32x2x2xi32, #linear2>) -> tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> loc(#loc201) %right_idx_123 = tt.expand_dims %right_idx_122 {axis = 1 : i32} : tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> -> tensor<32x1x2xi32, #linear2> loc(#loc175) %right_idx_124 = tt.broadcast %right_idx_123 : tensor<32x1x2xi32, #linear2> -> tensor<32x2x2xi32, #linear2> loc(#loc176) %left_idx_125 = tt.reshape %left_idx_120 : tensor<32x2x2xi32, #linear2> -> tensor<8x16xi32, #linear> loc(#loc177) %right_idx_126 = tt.reshape %right_idx_124 : tensor<32x2x2xi32, #linear2> -> tensor<8x16xi32, #linear> loc(#loc178) %cond_127 = arith.cmpi slt, %ileft_114, %iright_115 : tensor<8x16xi32, #linear> loc(#loc179) %eq_128 = arith.cmpi eq, %ileft_114, %iright_115 : tensor<8x16xi32, #linear> loc(#loc180) %cond_129 = arith.cmpi sgt, %left_idx_125, %right_idx_126 : tensor<8x16xi32, #linear> loc(#loc181) %cond_130 = arith.andi %eq_128, %cond_129 : tensor<8x16xi1, #linear> loc(#loc182) %cond_131 = arith.ori %cond_127, %cond_130 : tensor<8x16xi1, #linear> loc(#loc183) %cond_132 = arith.extui %cond_131 : tensor<8x16xi1, #linear> to tensor<8x16xi32, #linear> loc(#loc184) %cond_133 = arith.xori %cond_132, %flip_103 : tensor<8x16xi32, #linear> loc(#loc184) %cond_134 = arith.cmpi ne, %cond_133, %cst : tensor<8x16xi32, #linear> loc(#loc185) %ret_135 = arith.xori %ileft_114, %iright_115 : tensor<8x16xi32, #linear> loc(#loc186) %ret_136 = arith.select %cond_134, %ret_135, %cst : tensor<8x16xi1, #linear>, tensor<8x16xi32, #linear> loc(#loc187) %ret_137 = arith.xori %ret_97, %ret_136 : tensor<8x16xi32, #linear> loc(#loc188) %new_idxs_138 = arith.xori %left_idx_125, %right_idx_126 : tensor<8x16xi32, #linear> loc(#loc189) %new_idxs_139 = arith.select %cond_134, %new_idxs_138, %cst : tensor<8x16xi1, #linear>, tensor<8x16xi32, #linear> loc(#loc190) %new_idxs_140 = arith.xori %new_idxs_101, %new_idxs_139 : tensor<8x16xi32, #linear> loc(#loc191) %y_141 = tt.reshape %ret_137 : tensor<8x16xi32, #linear> -> tensor<64x2x1xi32, #linear1> loc(#loc154) %ileft_142 = arith.muli %y_141, %ileft : tensor<64x2x1xi32, #linear1> loc(#loc156) %ileft_143 = "tt.reduce"(%ileft_142) <{axis = 1 : i32}> ({ ^bb0(%ileft_419: i32 loc(callsite(#loc1 at #loc157)), %ileft_420: i32 loc(callsite(#loc1 at #loc157))): %ileft_421 = arith.addi %ileft_419, %ileft_420 : i32 loc(#loc203) tt.reduce.return %ileft_421 : i32 loc(#loc193) }) : (tensor<64x2x1xi32, #linear1>) -> tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> loc(#loc193) %ileft_144 = tt.expand_dims %ileft_143 {axis = 1 : i32} : tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> -> tensor<64x1x1xi32, #linear1> loc(#loc158) %ileft_145 = tt.broadcast %ileft_144 : tensor<64x1x1xi32, #linear1> -> tensor<64x2x1xi32, #linear1> loc(#loc159) %iright_146 = arith.muli %y_141, %iright : tensor<64x2x1xi32, #linear1> loc(#loc160) %iright_147 = "tt.reduce"(%iright_146) <{axis = 1 : i32}> ({ ^bb0(%iright_419: i32 loc(callsite(#loc1 at #loc161)), %iright_420: i32 loc(callsite(#loc1 at #loc161))): %iright_421 = arith.addi %iright_419, %iright_420 : i32 loc(#loc204) tt.reduce.return %iright_421 : i32 loc(#loc195) }) : (tensor<64x2x1xi32, #linear1>) -> tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> loc(#loc195) %iright_148 = tt.expand_dims %iright_147 {axis = 1 : i32} : tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> -> tensor<64x1x1xi32, #linear1> loc(#loc162) %iright_149 = tt.broadcast %iright_148 : tensor<64x1x1xi32, #linear1> -> tensor<64x2x1xi32, #linear1> loc(#loc163) %ileft_150 = tt.reshape %ileft_145 : tensor<64x2x1xi32, #linear1> -> tensor<8x16xi32, #linear> loc(#loc164) %iright_151 = tt.reshape %iright_149 : tensor<64x2x1xi32, #linear1> -> tensor<8x16xi32, #linear> loc(#loc165) %y_idx_152 = tt.reshape %new_idxs_140 : tensor<8x16xi32, #linear> -> tensor<64x2x1xi32, #linear1> loc(#loc166) %left_idx_153 = arith.muli %y_idx_152, %ileft : tensor<64x2x1xi32, #linear1> loc(#loc168) %left_idx_154 = "tt.reduce"(%left_idx_153) <{axis = 1 : i32}> ({ ^bb0(%left_idx_419: i32 loc(callsite(#loc1 at #loc169)), %left_idx_420: i32 loc(callsite(#loc1 at #loc169))): %left_idx_421 = arith.addi %left_idx_419, %left_idx_420 : i32 loc(#loc205) tt.reduce.return %left_idx_421 : i32 loc(#loc198) }) : (tensor<64x2x1xi32, #linear1>) -> tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> loc(#loc198) %left_idx_155 = tt.expand_dims %left_idx_154 {axis = 1 : i32} : tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> -> tensor<64x1x1xi32, #linear1> loc(#loc170) %left_idx_156 = tt.broadcast %left_idx_155 : tensor<64x1x1xi32, #linear1> -> tensor<64x2x1xi32, #linear1> loc(#loc171) %right_idx_157 = arith.muli %y_idx_152, %iright : tensor<64x2x1xi32, #linear1> loc(#loc173) %right_idx_158 = "tt.reduce"(%right_idx_157) <{axis = 1 : i32}> ({ ^bb0(%right_idx_419: i32 loc(callsite(#loc1 at #loc174)), %right_idx_420: i32 loc(callsite(#loc1 at #loc174))): %right_idx_421 = arith.addi %right_idx_419, %right_idx_420 : i32 loc(#loc206) tt.reduce.return %right_idx_421 : i32 loc(#loc201) }) : (tensor<64x2x1xi32, #linear1>) -> tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> loc(#loc201) %right_idx_159 = tt.expand_dims %right_idx_158 {axis = 1 : i32} : tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> -> tensor<64x1x1xi32, #linear1> loc(#loc175) %right_idx_160 = tt.broadcast %right_idx_159 : tensor<64x1x1xi32, #linear1> -> tensor<64x2x1xi32, #linear1> loc(#loc176) %left_idx_161 = tt.reshape %left_idx_156 : tensor<64x2x1xi32, #linear1> -> tensor<8x16xi32, #linear> loc(#loc177) %right_idx_162 = tt.reshape %right_idx_160 : tensor<64x2x1xi32, #linear1> -> tensor<8x16xi32, #linear> loc(#loc178) %cond_163 = arith.cmpi slt, %ileft_150, %iright_151 : tensor<8x16xi32, #linear> loc(#loc179) %eq_164 = arith.cmpi eq, %ileft_150, %iright_151 : tensor<8x16xi32, #linear> loc(#loc180) %cond_165 = arith.cmpi sgt, %left_idx_161, %right_idx_162 : tensor<8x16xi32, #linear> loc(#loc181) %cond_166 = arith.andi %eq_164, %cond_165 : tensor<8x16xi1, #linear> loc(#loc182) %cond_167 = arith.ori %cond_163, %cond_166 : tensor<8x16xi1, #linear> loc(#loc183) %cond_168 = arith.extui %cond_167 : tensor<8x16xi1, #linear> to tensor<8x16xi32, #linear> loc(#loc184) %cond_169 = arith.xori %cond_168, %flip_103 : tensor<8x16xi32, #linear> loc(#loc184) %cond_170 = arith.cmpi ne, %cond_169, %cst : tensor<8x16xi32, #linear> loc(#loc185) %ret_171 = arith.xori %ileft_150, %iright_151 : tensor<8x16xi32, #linear> loc(#loc186) %ret_172 = arith.select %cond_170, %ret_171, %cst : tensor<8x16xi1, #linear>, tensor<8x16xi32, #linear> loc(#loc187) %ret_173 = arith.xori %ret_137, %ret_172 : tensor<8x16xi32, #linear> loc(#loc188) %new_idxs_174 = arith.xori %left_idx_161, %right_idx_162 : tensor<8x16xi32, #linear> loc(#loc189) %new_idxs_175 = arith.select %cond_170, %new_idxs_174, %cst : tensor<8x16xi1, #linear>, tensor<8x16xi32, #linear> loc(#loc190) %new_idxs_176 = arith.xori %new_idxs_140, %new_idxs_175 : tensor<8x16xi32, #linear> loc(#loc191) %flip_177 = tt.broadcast %flip_47 : tensor<1x2x1xi32, #linear4> -> tensor<8x2x8xi32, #linear4> loc(#loc147) %flip_178 = tt.reshape %flip_177 : tensor<8x2x8xi32, #linear4> -> tensor<8x16xi32, #linear> loc(#loc148) %y_179 = tt.reshape %ret_173 : tensor<8x16xi32, #linear> -> tensor<16x2x4xi32, #linear3> loc(#loc154) %ileft_180 = tt.broadcast %left_mask_52 : tensor<1x2x1xi32, #linear3> -> tensor<16x2x4xi32, #linear3> loc(#loc156) %ileft_181 = arith.muli %y_179, %ileft_180 : tensor<16x2x4xi32, #linear3> loc(#loc156) %ileft_182 = "tt.reduce"(%ileft_181) <{axis = 1 : i32}> ({ ^bb0(%ileft_419: i32 loc(callsite(#loc1 at #loc157)), %ileft_420: i32 loc(callsite(#loc1 at #loc157))): %ileft_421 = arith.addi %ileft_419, %ileft_420 : i32 loc(#loc203) tt.reduce.return %ileft_421 : i32 loc(#loc193) }) : (tensor<16x2x4xi32, #linear3>) -> tensor<16x4xi32, #ttg.slice<{dim = 1, parent = #linear3}>> loc(#loc193) %ileft_183 = tt.expand_dims %ileft_182 {axis = 1 : i32} : tensor<16x4xi32, #ttg.slice<{dim = 1, parent = #linear3}>> -> tensor<16x1x4xi32, #linear3> loc(#loc158) %ileft_184 = tt.broadcast %ileft_183 : tensor<16x1x4xi32, #linear3> -> tensor<16x2x4xi32, #linear3> loc(#loc159) %iright_185 = arith.muli %y_179, %flip_102 : tensor<16x2x4xi32, #linear3> loc(#loc160) %iright_186 = "tt.reduce"(%iright_185) <{axis = 1 : i32}> ({ ^bb0(%iright_419: i32 loc(callsite(#loc1 at #loc161)), %iright_420: i32 loc(callsite(#loc1 at #loc161))): %iright_421 = arith.addi %iright_419, %iright_420 : i32 loc(#loc204) tt.reduce.return %iright_421 : i32 loc(#loc195) }) : (tensor<16x2x4xi32, #linear3>) -> tensor<16x4xi32, #ttg.slice<{dim = 1, parent = #linear3}>> loc(#loc195) %iright_187 = tt.expand_dims %iright_186 {axis = 1 : i32} : tensor<16x4xi32, #ttg.slice<{dim = 1, parent = #linear3}>> -> tensor<16x1x4xi32, #linear3> loc(#loc162) %iright_188 = tt.broadcast %iright_187 : tensor<16x1x4xi32, #linear3> -> tensor<16x2x4xi32, #linear3> loc(#loc163) %ileft_189 = tt.reshape %ileft_184 : tensor<16x2x4xi32, #linear3> -> tensor<8x16xi32, #linear> loc(#loc164) %iright_190 = tt.reshape %iright_188 : tensor<16x2x4xi32, #linear3> -> tensor<8x16xi32, #linear> loc(#loc165) %y_idx_191 = tt.reshape %new_idxs_176 : tensor<8x16xi32, #linear> -> tensor<16x2x4xi32, #linear3> loc(#loc166) %left_idx_192 = arith.muli %y_idx_191, %ileft_180 : tensor<16x2x4xi32, #linear3> loc(#loc168) %left_idx_193 = "tt.reduce"(%left_idx_192) <{axis = 1 : i32}> ({ ^bb0(%left_idx_419: i32 loc(callsite(#loc1 at #loc169)), %left_idx_420: i32 loc(callsite(#loc1 at #loc169))): %left_idx_421 = arith.addi %left_idx_419, %left_idx_420 : i32 loc(#loc205) tt.reduce.return %left_idx_421 : i32 loc(#loc198) }) : (tensor<16x2x4xi32, #linear3>) -> tensor<16x4xi32, #ttg.slice<{dim = 1, parent = #linear3}>> loc(#loc198) %left_idx_194 = tt.expand_dims %left_idx_193 {axis = 1 : i32} : tensor<16x4xi32, #ttg.slice<{dim = 1, parent = #linear3}>> -> tensor<16x1x4xi32, #linear3> loc(#loc170) %left_idx_195 = tt.broadcast %left_idx_194 : tensor<16x1x4xi32, #linear3> -> tensor<16x2x4xi32, #linear3> loc(#loc171) %right_idx_196 = arith.muli %y_idx_191, %flip_102 : tensor<16x2x4xi32, #linear3> loc(#loc173) %right_idx_197 = "tt.reduce"(%right_idx_196) <{axis = 1 : i32}> ({ ^bb0(%right_idx_419: i32 loc(callsite(#loc1 at #loc174)), %right_idx_420: i32 loc(callsite(#loc1 at #loc174))): %right_idx_421 = arith.addi %right_idx_419, %right_idx_420 : i32 loc(#loc206) tt.reduce.return %right_idx_421 : i32 loc(#loc201) }) : (tensor<16x2x4xi32, #linear3>) -> tensor<16x4xi32, #ttg.slice<{dim = 1, parent = #linear3}>> loc(#loc201) %right_idx_198 = tt.expand_dims %right_idx_197 {axis = 1 : i32} : tensor<16x4xi32, #ttg.slice<{dim = 1, parent = #linear3}>> -> tensor<16x1x4xi32, #linear3> loc(#loc175) %right_idx_199 = tt.broadcast %right_idx_198 : tensor<16x1x4xi32, #linear3> -> tensor<16x2x4xi32, #linear3> loc(#loc176) %left_idx_200 = tt.reshape %left_idx_195 : tensor<16x2x4xi32, #linear3> -> tensor<8x16xi32, #linear> loc(#loc177) %right_idx_201 = tt.reshape %right_idx_199 : tensor<16x2x4xi32, #linear3> -> tensor<8x16xi32, #linear> loc(#loc178) %cond_202 = arith.cmpi slt, %ileft_189, %iright_190 : tensor<8x16xi32, #linear> loc(#loc179) %eq_203 = arith.cmpi eq, %ileft_189, %iright_190 : tensor<8x16xi32, #linear> loc(#loc180) %cond_204 = arith.cmpi sgt, %left_idx_200, %right_idx_201 : tensor<8x16xi32, #linear> loc(#loc181) %cond_205 = arith.andi %eq_203, %cond_204 : tensor<8x16xi1, #linear> loc(#loc182) %cond_206 = arith.ori %cond_202, %cond_205 : tensor<8x16xi1, #linear> loc(#loc183) %cond_207 = arith.extui %cond_206 : tensor<8x16xi1, #linear> to tensor<8x16xi32, #linear> loc(#loc184) %cond_208 = arith.xori %cond_207, %flip_178 : tensor<8x16xi32, #linear> loc(#loc184) %cond_209 = arith.cmpi ne, %cond_208, %cst : tensor<8x16xi32, #linear> loc(#loc185) %ret_210 = arith.xori %ileft_189, %iright_190 : tensor<8x16xi32, #linear> loc(#loc186) %ret_211 = arith.select %cond_209, %ret_210, %cst : tensor<8x16xi1, #linear>, tensor<8x16xi32, #linear> loc(#loc187) %ret_212 = arith.xori %ret_173, %ret_211 : tensor<8x16xi32, #linear> loc(#loc188) %new_idxs_213 = arith.xori %left_idx_200, %right_idx_201 : tensor<8x16xi32, #linear> loc(#loc189) %new_idxs_214 = arith.select %cond_209, %new_idxs_213, %cst : tensor<8x16xi1, #linear>, tensor<8x16xi32, #linear> loc(#loc190) %new_idxs_215 = arith.xori %new_idxs_176, %new_idxs_214 : tensor<8x16xi32, #linear> loc(#loc191) %y_216 = tt.reshape %ret_212 : tensor<8x16xi32, #linear> -> tensor<32x2x2xi32, #linear2> loc(#loc154) %ileft_217 = arith.muli %y_216, %ileft_105 : tensor<32x2x2xi32, #linear2> loc(#loc156) %ileft_218 = "tt.reduce"(%ileft_217) <{axis = 1 : i32}> ({ ^bb0(%ileft_419: i32 loc(callsite(#loc1 at #loc157)), %ileft_420: i32 loc(callsite(#loc1 at #loc157))): %ileft_421 = arith.addi %ileft_419, %ileft_420 : i32 loc(#loc203) tt.reduce.return %ileft_421 : i32 loc(#loc193) }) : (tensor<32x2x2xi32, #linear2>) -> tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> loc(#loc193) %ileft_219 = tt.expand_dims %ileft_218 {axis = 1 : i32} : tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> -> tensor<32x1x2xi32, #linear2> loc(#loc158) %ileft_220 = tt.broadcast %ileft_219 : tensor<32x1x2xi32, #linear2> -> tensor<32x2x2xi32, #linear2> loc(#loc159) %iright_221 = arith.muli %y_216, %flip_48 : tensor<32x2x2xi32, #linear2> loc(#loc160) %iright_222 = "tt.reduce"(%iright_221) <{axis = 1 : i32}> ({ ^bb0(%iright_419: i32 loc(callsite(#loc1 at #loc161)), %iright_420: i32 loc(callsite(#loc1 at #loc161))): %iright_421 = arith.addi %iright_419, %iright_420 : i32 loc(#loc204) tt.reduce.return %iright_421 : i32 loc(#loc195) }) : (tensor<32x2x2xi32, #linear2>) -> tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> loc(#loc195) %iright_223 = tt.expand_dims %iright_222 {axis = 1 : i32} : tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> -> tensor<32x1x2xi32, #linear2> loc(#loc162) %iright_224 = tt.broadcast %iright_223 : tensor<32x1x2xi32, #linear2> -> tensor<32x2x2xi32, #linear2> loc(#loc163) %ileft_225 = tt.reshape %ileft_220 : tensor<32x2x2xi32, #linear2> -> tensor<8x16xi32, #linear> loc(#loc164) %iright_226 = tt.reshape %iright_224 : tensor<32x2x2xi32, #linear2> -> tensor<8x16xi32, #linear> loc(#loc165) %y_idx_227 = tt.reshape %new_idxs_215 : tensor<8x16xi32, #linear> -> tensor<32x2x2xi32, #linear2> loc(#loc166) %left_idx_228 = arith.muli %y_idx_227, %ileft_105 : tensor<32x2x2xi32, #linear2> loc(#loc168) %left_idx_229 = "tt.reduce"(%left_idx_228) <{axis = 1 : i32}> ({ ^bb0(%left_idx_419: i32 loc(callsite(#loc1 at #loc169)), %left_idx_420: i32 loc(callsite(#loc1 at #loc169))): %left_idx_421 = arith.addi %left_idx_419, %left_idx_420 : i32 loc(#loc205) tt.reduce.return %left_idx_421 : i32 loc(#loc198) }) : (tensor<32x2x2xi32, #linear2>) -> tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> loc(#loc198) %left_idx_230 = tt.expand_dims %left_idx_229 {axis = 1 : i32} : tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> -> tensor<32x1x2xi32, #linear2> loc(#loc170) %left_idx_231 = tt.broadcast %left_idx_230 : tensor<32x1x2xi32, #linear2> -> tensor<32x2x2xi32, #linear2> loc(#loc171) %right_idx_232 = arith.muli %y_idx_227, %flip_48 : tensor<32x2x2xi32, #linear2> loc(#loc173) %right_idx_233 = "tt.reduce"(%right_idx_232) <{axis = 1 : i32}> ({ ^bb0(%right_idx_419: i32 loc(callsite(#loc1 at #loc174)), %right_idx_420: i32 loc(callsite(#loc1 at #loc174))): %right_idx_421 = arith.addi %right_idx_419, %right_idx_420 : i32 loc(#loc206) tt.reduce.return %right_idx_421 : i32 loc(#loc201) }) : (tensor<32x2x2xi32, #linear2>) -> tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> loc(#loc201) %right_idx_234 = tt.expand_dims %right_idx_233 {axis = 1 : i32} : tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> -> tensor<32x1x2xi32, #linear2> loc(#loc175) %right_idx_235 = tt.broadcast %right_idx_234 : tensor<32x1x2xi32, #linear2> -> tensor<32x2x2xi32, #linear2> loc(#loc176) %left_idx_236 = tt.reshape %left_idx_231 : tensor<32x2x2xi32, #linear2> -> tensor<8x16xi32, #linear> loc(#loc177) %right_idx_237 = tt.reshape %right_idx_235 : tensor<32x2x2xi32, #linear2> -> tensor<8x16xi32, #linear> loc(#loc178) %cond_238 = arith.cmpi slt, %ileft_225, %iright_226 : tensor<8x16xi32, #linear> loc(#loc179) %eq_239 = arith.cmpi eq, %ileft_225, %iright_226 : tensor<8x16xi32, #linear> loc(#loc180) %cond_240 = arith.cmpi sgt, %left_idx_236, %right_idx_237 : tensor<8x16xi32, #linear> loc(#loc181) %cond_241 = arith.andi %eq_239, %cond_240 : tensor<8x16xi1, #linear> loc(#loc182) %cond_242 = arith.ori %cond_238, %cond_241 : tensor<8x16xi1, #linear> loc(#loc183) %cond_243 = arith.extui %cond_242 : tensor<8x16xi1, #linear> to tensor<8x16xi32, #linear> loc(#loc184) %cond_244 = arith.xori %cond_243, %flip_178 : tensor<8x16xi32, #linear> loc(#loc184) %cond_245 = arith.cmpi ne, %cond_244, %cst : tensor<8x16xi32, #linear> loc(#loc185) %ret_246 = arith.xori %ileft_225, %iright_226 : tensor<8x16xi32, #linear> loc(#loc186) %ret_247 = arith.select %cond_245, %ret_246, %cst : tensor<8x16xi1, #linear>, tensor<8x16xi32, #linear> loc(#loc187) %ret_248 = arith.xori %ret_212, %ret_247 : tensor<8x16xi32, #linear> loc(#loc188) %new_idxs_249 = arith.xori %left_idx_236, %right_idx_237 : tensor<8x16xi32, #linear> loc(#loc189) %new_idxs_250 = arith.select %cond_245, %new_idxs_249, %cst : tensor<8x16xi1, #linear>, tensor<8x16xi32, #linear> loc(#loc190) %new_idxs_251 = arith.xori %new_idxs_215, %new_idxs_250 : tensor<8x16xi32, #linear> loc(#loc191) %y_252 = tt.reshape %ret_248 : tensor<8x16xi32, #linear> -> tensor<64x2x1xi32, #linear1> loc(#loc154) %ileft_253 = arith.muli %y_252, %ileft : tensor<64x2x1xi32, #linear1> loc(#loc156) %ileft_254 = "tt.reduce"(%ileft_253) <{axis = 1 : i32}> ({ ^bb0(%ileft_419: i32 loc(callsite(#loc1 at #loc157)), %ileft_420: i32 loc(callsite(#loc1 at #loc157))): %ileft_421 = arith.addi %ileft_419, %ileft_420 : i32 loc(#loc203) tt.reduce.return %ileft_421 : i32 loc(#loc193) }) : (tensor<64x2x1xi32, #linear1>) -> tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> loc(#loc193) %ileft_255 = tt.expand_dims %ileft_254 {axis = 1 : i32} : tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> -> tensor<64x1x1xi32, #linear1> loc(#loc158) %ileft_256 = tt.broadcast %ileft_255 : tensor<64x1x1xi32, #linear1> -> tensor<64x2x1xi32, #linear1> loc(#loc159) %iright_257 = arith.muli %y_252, %iright : tensor<64x2x1xi32, #linear1> loc(#loc160) %iright_258 = "tt.reduce"(%iright_257) <{axis = 1 : i32}> ({ ^bb0(%iright_419: i32 loc(callsite(#loc1 at #loc161)), %iright_420: i32 loc(callsite(#loc1 at #loc161))): %iright_421 = arith.addi %iright_419, %iright_420 : i32 loc(#loc204) tt.reduce.return %iright_421 : i32 loc(#loc195) }) : (tensor<64x2x1xi32, #linear1>) -> tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> loc(#loc195) %iright_259 = tt.expand_dims %iright_258 {axis = 1 : i32} : tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> -> tensor<64x1x1xi32, #linear1> loc(#loc162) %iright_260 = tt.broadcast %iright_259 : tensor<64x1x1xi32, #linear1> -> tensor<64x2x1xi32, #linear1> loc(#loc163) %ileft_261 = tt.reshape %ileft_256 : tensor<64x2x1xi32, #linear1> -> tensor<8x16xi32, #linear> loc(#loc164) %iright_262 = tt.reshape %iright_260 : tensor<64x2x1xi32, #linear1> -> tensor<8x16xi32, #linear> loc(#loc165) %y_idx_263 = tt.reshape %new_idxs_251 : tensor<8x16xi32, #linear> -> tensor<64x2x1xi32, #linear1> loc(#loc166) %left_idx_264 = arith.muli %y_idx_263, %ileft : tensor<64x2x1xi32, #linear1> loc(#loc168) %left_idx_265 = "tt.reduce"(%left_idx_264) <{axis = 1 : i32}> ({ ^bb0(%left_idx_419: i32 loc(callsite(#loc1 at #loc169)), %left_idx_420: i32 loc(callsite(#loc1 at #loc169))): %left_idx_421 = arith.addi %left_idx_419, %left_idx_420 : i32 loc(#loc205) tt.reduce.return %left_idx_421 : i32 loc(#loc198) }) : (tensor<64x2x1xi32, #linear1>) -> tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> loc(#loc198) %left_idx_266 = tt.expand_dims %left_idx_265 {axis = 1 : i32} : tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> -> tensor<64x1x1xi32, #linear1> loc(#loc170) %left_idx_267 = tt.broadcast %left_idx_266 : tensor<64x1x1xi32, #linear1> -> tensor<64x2x1xi32, #linear1> loc(#loc171) %right_idx_268 = arith.muli %y_idx_263, %iright : tensor<64x2x1xi32, #linear1> loc(#loc173) %right_idx_269 = "tt.reduce"(%right_idx_268) <{axis = 1 : i32}> ({ ^bb0(%right_idx_419: i32 loc(callsite(#loc1 at #loc174)), %right_idx_420: i32 loc(callsite(#loc1 at #loc174))): %right_idx_421 = arith.addi %right_idx_419, %right_idx_420 : i32 loc(#loc206) tt.reduce.return %right_idx_421 : i32 loc(#loc201) }) : (tensor<64x2x1xi32, #linear1>) -> tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> loc(#loc201) %right_idx_270 = tt.expand_dims %right_idx_269 {axis = 1 : i32} : tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> -> tensor<64x1x1xi32, #linear1> loc(#loc175) %right_idx_271 = tt.broadcast %right_idx_270 : tensor<64x1x1xi32, #linear1> -> tensor<64x2x1xi32, #linear1> loc(#loc176) %left_idx_272 = tt.reshape %left_idx_267 : tensor<64x2x1xi32, #linear1> -> tensor<8x16xi32, #linear> loc(#loc177) %right_idx_273 = tt.reshape %right_idx_271 : tensor<64x2x1xi32, #linear1> -> tensor<8x16xi32, #linear> loc(#loc178) %cond_274 = arith.cmpi slt, %ileft_261, %iright_262 : tensor<8x16xi32, #linear> loc(#loc179) %eq_275 = arith.cmpi eq, %ileft_261, %iright_262 : tensor<8x16xi32, #linear> loc(#loc180) %cond_276 = arith.cmpi sgt, %left_idx_272, %right_idx_273 : tensor<8x16xi32, #linear> loc(#loc181) %cond_277 = arith.andi %eq_275, %cond_276 : tensor<8x16xi1, #linear> loc(#loc182) %cond_278 = arith.ori %cond_274, %cond_277 : tensor<8x16xi1, #linear> loc(#loc183) %cond_279 = arith.extui %cond_278 : tensor<8x16xi1, #linear> to tensor<8x16xi32, #linear> loc(#loc184) %cond_280 = arith.xori %cond_279, %flip_178 : tensor<8x16xi32, #linear> loc(#loc184) %cond_281 = arith.cmpi ne, %cond_280, %cst : tensor<8x16xi32, #linear> loc(#loc185) %ret_282 = arith.xori %ileft_261, %iright_262 : tensor<8x16xi32, #linear> loc(#loc186) %ret_283 = arith.select %cond_281, %ret_282, %cst : tensor<8x16xi1, #linear>, tensor<8x16xi32, #linear> loc(#loc187) %ret_284 = arith.xori %ret_248, %ret_283 : tensor<8x16xi32, #linear> loc(#loc188) %new_idxs_285 = arith.xori %left_idx_272, %right_idx_273 : tensor<8x16xi32, #linear> loc(#loc189) %new_idxs_286 = arith.select %cond_281, %new_idxs_285, %cst : tensor<8x16xi1, #linear>, tensor<8x16xi32, #linear> loc(#loc190) %new_idxs_287 = arith.xori %new_idxs_251, %new_idxs_286 : tensor<8x16xi32, #linear> loc(#loc191) %y_288 = tt.reshape %ret_284 : tensor<8x16xi32, #linear> -> tensor<8x2x8xi32, #linear4> loc(#loc154) %ileft_289 = tt.broadcast %left_mask_53 : tensor<1x2x1xi32, #linear4> -> tensor<8x2x8xi32, #linear4> loc(#loc156) %ileft_290 = arith.muli %y_288, %ileft_289 : tensor<8x2x8xi32, #linear4> loc(#loc156) %ileft_291 = "tt.reduce"(%ileft_290) <{axis = 1 : i32}> ({ ^bb0(%ileft_419: i32 loc(callsite(#loc1 at #loc157)), %ileft_420: i32 loc(callsite(#loc1 at #loc157))): %ileft_421 = arith.addi %ileft_419, %ileft_420 : i32 loc(#loc203) tt.reduce.return %ileft_421 : i32 loc(#loc193) }) : (tensor<8x2x8xi32, #linear4>) -> tensor<8x8xi32, #ttg.slice<{dim = 1, parent = #linear4}>> loc(#loc193) %ileft_292 = tt.expand_dims %ileft_291 {axis = 1 : i32} : tensor<8x8xi32, #ttg.slice<{dim = 1, parent = #linear4}>> -> tensor<8x1x8xi32, #linear4> loc(#loc158) %ileft_293 = tt.broadcast %ileft_292 : tensor<8x1x8xi32, #linear4> -> tensor<8x2x8xi32, #linear4> loc(#loc159) %iright_294 = arith.muli %y_288, %flip_177 : tensor<8x2x8xi32, #linear4> loc(#loc160) %iright_295 = "tt.reduce"(%iright_294) <{axis = 1 : i32}> ({ ^bb0(%iright_419: i32 loc(callsite(#loc1 at #loc161)), %iright_420: i32 loc(callsite(#loc1 at #loc161))): %iright_421 = arith.addi %iright_419, %iright_420 : i32 loc(#loc204) tt.reduce.return %iright_421 : i32 loc(#loc195) }) : (tensor<8x2x8xi32, #linear4>) -> tensor<8x8xi32, #ttg.slice<{dim = 1, parent = #linear4}>> loc(#loc195) %iright_296 = tt.expand_dims %iright_295 {axis = 1 : i32} : tensor<8x8xi32, #ttg.slice<{dim = 1, parent = #linear4}>> -> tensor<8x1x8xi32, #linear4> loc(#loc162) %iright_297 = tt.broadcast %iright_296 : tensor<8x1x8xi32, #linear4> -> tensor<8x2x8xi32, #linear4> loc(#loc163) %ileft_298 = tt.reshape %ileft_293 : tensor<8x2x8xi32, #linear4> -> tensor<8x16xi32, #linear> loc(#loc164) %iright_299 = tt.reshape %iright_297 : tensor<8x2x8xi32, #linear4> -> tensor<8x16xi32, #linear> loc(#loc165) %y_idx_300 = tt.reshape %new_idxs_287 : tensor<8x16xi32, #linear> -> tensor<8x2x8xi32, #linear4> loc(#loc166) %left_idx_301 = arith.muli %y_idx_300, %ileft_289 : tensor<8x2x8xi32, #linear4> loc(#loc168) %left_idx_302 = "tt.reduce"(%left_idx_301) <{axis = 1 : i32}> ({ ^bb0(%left_idx_419: i32 loc(callsite(#loc1 at #loc169)), %left_idx_420: i32 loc(callsite(#loc1 at #loc169))): %left_idx_421 = arith.addi %left_idx_419, %left_idx_420 : i32 loc(#loc205) tt.reduce.return %left_idx_421 : i32 loc(#loc198) }) : (tensor<8x2x8xi32, #linear4>) -> tensor<8x8xi32, #ttg.slice<{dim = 1, parent = #linear4}>> loc(#loc198) %left_idx_303 = tt.expand_dims %left_idx_302 {axis = 1 : i32} : tensor<8x8xi32, #ttg.slice<{dim = 1, parent = #linear4}>> -> tensor<8x1x8xi32, #linear4> loc(#loc170) %left_idx_304 = tt.broadcast %left_idx_303 : tensor<8x1x8xi32, #linear4> -> tensor<8x2x8xi32, #linear4> loc(#loc171) %right_idx_305 = arith.muli %y_idx_300, %flip_177 : tensor<8x2x8xi32, #linear4> loc(#loc173) %right_idx_306 = "tt.reduce"(%right_idx_305) <{axis = 1 : i32}> ({ ^bb0(%right_idx_419: i32 loc(callsite(#loc1 at #loc174)), %right_idx_420: i32 loc(callsite(#loc1 at #loc174))): %right_idx_421 = arith.addi %right_idx_419, %right_idx_420 : i32 loc(#loc206) tt.reduce.return %right_idx_421 : i32 loc(#loc201) }) : (tensor<8x2x8xi32, #linear4>) -> tensor<8x8xi32, #ttg.slice<{dim = 1, parent = #linear4}>> loc(#loc201) %right_idx_307 = tt.expand_dims %right_idx_306 {axis = 1 : i32} : tensor<8x8xi32, #ttg.slice<{dim = 1, parent = #linear4}>> -> tensor<8x1x8xi32, #linear4> loc(#loc175) %right_idx_308 = tt.broadcast %right_idx_307 : tensor<8x1x8xi32, #linear4> -> tensor<8x2x8xi32, #linear4> loc(#loc176) %left_idx_309 = tt.reshape %left_idx_304 : tensor<8x2x8xi32, #linear4> -> tensor<8x16xi32, #linear> loc(#loc177) %right_idx_310 = tt.reshape %right_idx_308 : tensor<8x2x8xi32, #linear4> -> tensor<8x16xi32, #linear> loc(#loc178) %cond_311 = arith.cmpi slt, %ileft_298, %iright_299 : tensor<8x16xi32, #linear> loc(#loc179) %eq_312 = arith.cmpi eq, %ileft_298, %iright_299 : tensor<8x16xi32, #linear> loc(#loc180) %cond_313 = arith.cmpi sgt, %left_idx_309, %right_idx_310 : tensor<8x16xi32, #linear> loc(#loc181) %cond_314 = arith.andi %eq_312, %cond_313 : tensor<8x16xi1, #linear> loc(#loc182) %cond_315 = arith.ori %cond_311, %cond_314 : tensor<8x16xi1, #linear> loc(#loc183) %ret_316 = arith.xori %ileft_298, %iright_299 : tensor<8x16xi32, #linear> loc(#loc186) %ret_317 = arith.select %cond_315, %ret_316, %cst : tensor<8x16xi1, #linear>, tensor<8x16xi32, #linear> loc(#loc187) %ret_318 = arith.xori %ret_284, %ret_317 : tensor<8x16xi32, #linear> loc(#loc188) %new_idxs_319 = arith.xori %left_idx_309, %right_idx_310 : tensor<8x16xi32, #linear> loc(#loc189) %new_idxs_320 = arith.select %cond_315, %new_idxs_319, %cst : tensor<8x16xi1, #linear>, tensor<8x16xi32, #linear> loc(#loc190) %new_idxs_321 = arith.xori %new_idxs_287, %new_idxs_320 : tensor<8x16xi32, #linear> loc(#loc191) %y_322 = tt.reshape %ret_318 : tensor<8x16xi32, #linear> -> tensor<16x2x4xi32, #linear3> loc(#loc154) %ileft_323 = arith.muli %y_322, %ileft_180 : tensor<16x2x4xi32, #linear3> loc(#loc156) %ileft_324 = "tt.reduce"(%ileft_323) <{axis = 1 : i32}> ({ ^bb0(%ileft_419: i32 loc(callsite(#loc1 at #loc157)), %ileft_420: i32 loc(callsite(#loc1 at #loc157))): %ileft_421 = arith.addi %ileft_419, %ileft_420 : i32 loc(#loc203) tt.reduce.return %ileft_421 : i32 loc(#loc193) }) : (tensor<16x2x4xi32, #linear3>) -> tensor<16x4xi32, #ttg.slice<{dim = 1, parent = #linear3}>> loc(#loc193) %ileft_325 = tt.expand_dims %ileft_324 {axis = 1 : i32} : tensor<16x4xi32, #ttg.slice<{dim = 1, parent = #linear3}>> -> tensor<16x1x4xi32, #linear3> loc(#loc158) %ileft_326 = tt.broadcast %ileft_325 : tensor<16x1x4xi32, #linear3> -> tensor<16x2x4xi32, #linear3> loc(#loc159) %iright_327 = arith.muli %y_322, %flip_102 : tensor<16x2x4xi32, #linear3> loc(#loc160) %iright_328 = "tt.reduce"(%iright_327) <{axis = 1 : i32}> ({ ^bb0(%iright_419: i32 loc(callsite(#loc1 at #loc161)), %iright_420: i32 loc(callsite(#loc1 at #loc161))): %iright_421 = arith.addi %iright_419, %iright_420 : i32 loc(#loc204) tt.reduce.return %iright_421 : i32 loc(#loc195) }) : (tensor<16x2x4xi32, #linear3>) -> tensor<16x4xi32, #ttg.slice<{dim = 1, parent = #linear3}>> loc(#loc195) %iright_329 = tt.expand_dims %iright_328 {axis = 1 : i32} : tensor<16x4xi32, #ttg.slice<{dim = 1, parent = #linear3}>> -> tensor<16x1x4xi32, #linear3> loc(#loc162) %iright_330 = tt.broadcast %iright_329 : tensor<16x1x4xi32, #linear3> -> tensor<16x2x4xi32, #linear3> loc(#loc163) %ileft_331 = tt.reshape %ileft_326 : tensor<16x2x4xi32, #linear3> -> tensor<8x16xi32, #linear> loc(#loc164) %iright_332 = tt.reshape %iright_330 : tensor<16x2x4xi32, #linear3> -> tensor<8x16xi32, #linear> loc(#loc165) %y_idx_333 = tt.reshape %new_idxs_321 : tensor<8x16xi32, #linear> -> tensor<16x2x4xi32, #linear3> loc(#loc166) %left_idx_334 = arith.muli %y_idx_333, %ileft_180 : tensor<16x2x4xi32, #linear3> loc(#loc168) %left_idx_335 = "tt.reduce"(%left_idx_334) <{axis = 1 : i32}> ({ ^bb0(%left_idx_419: i32 loc(callsite(#loc1 at #loc169)), %left_idx_420: i32 loc(callsite(#loc1 at #loc169))): %left_idx_421 = arith.addi %left_idx_419, %left_idx_420 : i32 loc(#loc205) tt.reduce.return %left_idx_421 : i32 loc(#loc198) }) : (tensor<16x2x4xi32, #linear3>) -> tensor<16x4xi32, #ttg.slice<{dim = 1, parent = #linear3}>> loc(#loc198) %left_idx_336 = tt.expand_dims %left_idx_335 {axis = 1 : i32} : tensor<16x4xi32, #ttg.slice<{dim = 1, parent = #linear3}>> -> tensor<16x1x4xi32, #linear3> loc(#loc170) %left_idx_337 = tt.broadcast %left_idx_336 : tensor<16x1x4xi32, #linear3> -> tensor<16x2x4xi32, #linear3> loc(#loc171) %right_idx_338 = arith.muli %y_idx_333, %flip_102 : tensor<16x2x4xi32, #linear3> loc(#loc173) %right_idx_339 = "tt.reduce"(%right_idx_338) <{axis = 1 : i32}> ({ ^bb0(%right_idx_419: i32 loc(callsite(#loc1 at #loc174)), %right_idx_420: i32 loc(callsite(#loc1 at #loc174))): %right_idx_421 = arith.addi %right_idx_419, %right_idx_420 : i32 loc(#loc206) tt.reduce.return %right_idx_421 : i32 loc(#loc201) }) : (tensor<16x2x4xi32, #linear3>) -> tensor<16x4xi32, #ttg.slice<{dim = 1, parent = #linear3}>> loc(#loc201) %right_idx_340 = tt.expand_dims %right_idx_339 {axis = 1 : i32} : tensor<16x4xi32, #ttg.slice<{dim = 1, parent = #linear3}>> -> tensor<16x1x4xi32, #linear3> loc(#loc175) %right_idx_341 = tt.broadcast %right_idx_340 : tensor<16x1x4xi32, #linear3> -> tensor<16x2x4xi32, #linear3> loc(#loc176) %left_idx_342 = tt.reshape %left_idx_337 : tensor<16x2x4xi32, #linear3> -> tensor<8x16xi32, #linear> loc(#loc177) %right_idx_343 = tt.reshape %right_idx_341 : tensor<16x2x4xi32, #linear3> -> tensor<8x16xi32, #linear> loc(#loc178) %cond_344 = arith.cmpi slt, %ileft_331, %iright_332 : tensor<8x16xi32, #linear> loc(#loc179) %eq_345 = arith.cmpi eq, %ileft_331, %iright_332 : tensor<8x16xi32, #linear> loc(#loc180) %cond_346 = arith.cmpi sgt, %left_idx_342, %right_idx_343 : tensor<8x16xi32, #linear> loc(#loc181) %cond_347 = arith.andi %eq_345, %cond_346 : tensor<8x16xi1, #linear> loc(#loc182) %cond_348 = arith.ori %cond_344, %cond_347 : tensor<8x16xi1, #linear> loc(#loc183) %ret_349 = arith.xori %ileft_331, %iright_332 : tensor<8x16xi32, #linear> loc(#loc186) %ret_350 = arith.select %cond_348, %ret_349, %cst : tensor<8x16xi1, #linear>, tensor<8x16xi32, #linear> loc(#loc187) %ret_351 = arith.xori %ret_318, %ret_350 : tensor<8x16xi32, #linear> loc(#loc188) %new_idxs_352 = arith.xori %left_idx_342, %right_idx_343 : tensor<8x16xi32, #linear> loc(#loc189) %new_idxs_353 = arith.select %cond_348, %new_idxs_352, %cst : tensor<8x16xi1, #linear>, tensor<8x16xi32, #linear> loc(#loc190) %new_idxs_354 = arith.xori %new_idxs_321, %new_idxs_353 : tensor<8x16xi32, #linear> loc(#loc191) %y_355 = tt.reshape %ret_351 : tensor<8x16xi32, #linear> -> tensor<32x2x2xi32, #linear2> loc(#loc154) %ileft_356 = arith.muli %y_355, %ileft_105 : tensor<32x2x2xi32, #linear2> loc(#loc156) %ileft_357 = "tt.reduce"(%ileft_356) <{axis = 1 : i32}> ({ ^bb0(%ileft_419: i32 loc(callsite(#loc1 at #loc157)), %ileft_420: i32 loc(callsite(#loc1 at #loc157))): %ileft_421 = arith.addi %ileft_419, %ileft_420 : i32 loc(#loc203) tt.reduce.return %ileft_421 : i32 loc(#loc193) }) : (tensor<32x2x2xi32, #linear2>) -> tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> loc(#loc193) %ileft_358 = tt.expand_dims %ileft_357 {axis = 1 : i32} : tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> -> tensor<32x1x2xi32, #linear2> loc(#loc158) %ileft_359 = tt.broadcast %ileft_358 : tensor<32x1x2xi32, #linear2> -> tensor<32x2x2xi32, #linear2> loc(#loc159) %iright_360 = arith.muli %y_355, %flip_48 : tensor<32x2x2xi32, #linear2> loc(#loc160) %iright_361 = "tt.reduce"(%iright_360) <{axis = 1 : i32}> ({ ^bb0(%iright_419: i32 loc(callsite(#loc1 at #loc161)), %iright_420: i32 loc(callsite(#loc1 at #loc161))): %iright_421 = arith.addi %iright_419, %iright_420 : i32 loc(#loc204) tt.reduce.return %iright_421 : i32 loc(#loc195) }) : (tensor<32x2x2xi32, #linear2>) -> tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> loc(#loc195) %iright_362 = tt.expand_dims %iright_361 {axis = 1 : i32} : tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> -> tensor<32x1x2xi32, #linear2> loc(#loc162) %iright_363 = tt.broadcast %iright_362 : tensor<32x1x2xi32, #linear2> -> tensor<32x2x2xi32, #linear2> loc(#loc163) %ileft_364 = tt.reshape %ileft_359 : tensor<32x2x2xi32, #linear2> -> tensor<8x16xi32, #linear> loc(#loc164) %iright_365 = tt.reshape %iright_363 : tensor<32x2x2xi32, #linear2> -> tensor<8x16xi32, #linear> loc(#loc165) %y_idx_366 = tt.reshape %new_idxs_354 : tensor<8x16xi32, #linear> -> tensor<32x2x2xi32, #linear2> loc(#loc166) %left_idx_367 = arith.muli %y_idx_366, %ileft_105 : tensor<32x2x2xi32, #linear2> loc(#loc168) %left_idx_368 = "tt.reduce"(%left_idx_367) <{axis = 1 : i32}> ({ ^bb0(%left_idx_419: i32 loc(callsite(#loc1 at #loc169)), %left_idx_420: i32 loc(callsite(#loc1 at #loc169))): %left_idx_421 = arith.addi %left_idx_419, %left_idx_420 : i32 loc(#loc205) tt.reduce.return %left_idx_421 : i32 loc(#loc198) }) : (tensor<32x2x2xi32, #linear2>) -> tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> loc(#loc198) %left_idx_369 = tt.expand_dims %left_idx_368 {axis = 1 : i32} : tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> -> tensor<32x1x2xi32, #linear2> loc(#loc170) %left_idx_370 = tt.broadcast %left_idx_369 : tensor<32x1x2xi32, #linear2> -> tensor<32x2x2xi32, #linear2> loc(#loc171) %right_idx_371 = arith.muli %y_idx_366, %flip_48 : tensor<32x2x2xi32, #linear2> loc(#loc173) %right_idx_372 = "tt.reduce"(%right_idx_371) <{axis = 1 : i32}> ({ ^bb0(%right_idx_419: i32 loc(callsite(#loc1 at #loc174)), %right_idx_420: i32 loc(callsite(#loc1 at #loc174))): %right_idx_421 = arith.addi %right_idx_419, %right_idx_420 : i32 loc(#loc206) tt.reduce.return %right_idx_421 : i32 loc(#loc201) }) : (tensor<32x2x2xi32, #linear2>) -> tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> loc(#loc201) %right_idx_373 = tt.expand_dims %right_idx_372 {axis = 1 : i32} : tensor<32x2xi32, #ttg.slice<{dim = 1, parent = #linear2}>> -> tensor<32x1x2xi32, #linear2> loc(#loc175) %right_idx_374 = tt.broadcast %right_idx_373 : tensor<32x1x2xi32, #linear2> -> tensor<32x2x2xi32, #linear2> loc(#loc176) %left_idx_375 = tt.reshape %left_idx_370 : tensor<32x2x2xi32, #linear2> -> tensor<8x16xi32, #linear> loc(#loc177) %right_idx_376 = tt.reshape %right_idx_374 : tensor<32x2x2xi32, #linear2> -> tensor<8x16xi32, #linear> loc(#loc178) %cond_377 = arith.cmpi slt, %ileft_364, %iright_365 : tensor<8x16xi32, #linear> loc(#loc179) %eq_378 = arith.cmpi eq, %ileft_364, %iright_365 : tensor<8x16xi32, #linear> loc(#loc180) %cond_379 = arith.cmpi sgt, %left_idx_375, %right_idx_376 : tensor<8x16xi32, #linear> loc(#loc181) %cond_380 = arith.andi %eq_378, %cond_379 : tensor<8x16xi1, #linear> loc(#loc182) %cond_381 = arith.ori %cond_377, %cond_380 : tensor<8x16xi1, #linear> loc(#loc183) %ret_382 = arith.xori %ileft_364, %iright_365 : tensor<8x16xi32, #linear> loc(#loc186) %ret_383 = arith.select %cond_381, %ret_382, %cst : tensor<8x16xi1, #linear>, tensor<8x16xi32, #linear> loc(#loc187) %ret_384 = arith.xori %ret_351, %ret_383 : tensor<8x16xi32, #linear> loc(#loc188) %new_idxs_385 = arith.xori %left_idx_375, %right_idx_376 : tensor<8x16xi32, #linear> loc(#loc189) %new_idxs_386 = arith.select %cond_381, %new_idxs_385, %cst : tensor<8x16xi1, #linear>, tensor<8x16xi32, #linear> loc(#loc190) %new_idxs_387 = arith.xori %new_idxs_354, %new_idxs_386 : tensor<8x16xi32, #linear> loc(#loc191) %y_388 = tt.reshape %ret_384 : tensor<8x16xi32, #linear> -> tensor<64x2x1xi32, #linear1> loc(#loc154) %ileft_389 = arith.muli %y_388, %ileft : tensor<64x2x1xi32, #linear1> loc(#loc156) %ileft_390 = "tt.reduce"(%ileft_389) <{axis = 1 : i32}> ({ ^bb0(%ileft_419: i32 loc(callsite(#loc1 at #loc157)), %ileft_420: i32 loc(callsite(#loc1 at #loc157))): %ileft_421 = arith.addi %ileft_419, %ileft_420 : i32 loc(#loc203) tt.reduce.return %ileft_421 : i32 loc(#loc193) }) : (tensor<64x2x1xi32, #linear1>) -> tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> loc(#loc193) %ileft_391 = tt.expand_dims %ileft_390 {axis = 1 : i32} : tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> -> tensor<64x1x1xi32, #linear1> loc(#loc158) %ileft_392 = tt.broadcast %ileft_391 : tensor<64x1x1xi32, #linear1> -> tensor<64x2x1xi32, #linear1> loc(#loc159) %iright_393 = arith.muli %y_388, %iright : tensor<64x2x1xi32, #linear1> loc(#loc160) %iright_394 = "tt.reduce"(%iright_393) <{axis = 1 : i32}> ({ ^bb0(%iright_419: i32 loc(callsite(#loc1 at #loc161)), %iright_420: i32 loc(callsite(#loc1 at #loc161))): %iright_421 = arith.addi %iright_419, %iright_420 : i32 loc(#loc204) tt.reduce.return %iright_421 : i32 loc(#loc195) }) : (tensor<64x2x1xi32, #linear1>) -> tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> loc(#loc195) %iright_395 = tt.expand_dims %iright_394 {axis = 1 : i32} : tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> -> tensor<64x1x1xi32, #linear1> loc(#loc162) %iright_396 = tt.broadcast %iright_395 : tensor<64x1x1xi32, #linear1> -> tensor<64x2x1xi32, #linear1> loc(#loc163) %ileft_397 = tt.reshape %ileft_392 : tensor<64x2x1xi32, #linear1> -> tensor<8x16xi32, #linear> loc(#loc164) %iright_398 = tt.reshape %iright_396 : tensor<64x2x1xi32, #linear1> -> tensor<8x16xi32, #linear> loc(#loc165) %y_idx_399 = tt.reshape %new_idxs_387 : tensor<8x16xi32, #linear> -> tensor<64x2x1xi32, #linear1> loc(#loc166) %left_idx_400 = arith.muli %y_idx_399, %ileft : tensor<64x2x1xi32, #linear1> loc(#loc168) %left_idx_401 = "tt.reduce"(%left_idx_400) <{axis = 1 : i32}> ({ ^bb0(%left_idx_419: i32 loc(callsite(#loc1 at #loc169)), %left_idx_420: i32 loc(callsite(#loc1 at #loc169))): %left_idx_421 = arith.addi %left_idx_419, %left_idx_420 : i32 loc(#loc205) tt.reduce.return %left_idx_421 : i32 loc(#loc198) }) : (tensor<64x2x1xi32, #linear1>) -> tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> loc(#loc198) %left_idx_402 = tt.expand_dims %left_idx_401 {axis = 1 : i32} : tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> -> tensor<64x1x1xi32, #linear1> loc(#loc170) %left_idx_403 = tt.broadcast %left_idx_402 : tensor<64x1x1xi32, #linear1> -> tensor<64x2x1xi32, #linear1> loc(#loc171) %right_idx_404 = arith.muli %y_idx_399, %iright : tensor<64x2x1xi32, #linear1> loc(#loc173) %right_idx_405 = "tt.reduce"(%right_idx_404) <{axis = 1 : i32}> ({ ^bb0(%right_idx_419: i32 loc(callsite(#loc1 at #loc174)), %right_idx_420: i32 loc(callsite(#loc1 at #loc174))): %right_idx_421 = arith.addi %right_idx_419, %right_idx_420 : i32 loc(#loc206) tt.reduce.return %right_idx_421 : i32 loc(#loc201) }) : (tensor<64x2x1xi32, #linear1>) -> tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> loc(#loc201) %right_idx_406 = tt.expand_dims %right_idx_405 {axis = 1 : i32} : tensor<64x1xi32, #ttg.slice<{dim = 1, parent = #linear1}>> -> tensor<64x1x1xi32, #linear1> loc(#loc175) %right_idx_407 = tt.broadcast %right_idx_406 : tensor<64x1x1xi32, #linear1> -> tensor<64x2x1xi32, #linear1> loc(#loc176) %left_idx_408 = tt.reshape %left_idx_403 : tensor<64x2x1xi32, #linear1> -> tensor<8x16xi32, #linear> loc(#loc177) %right_idx_409 = tt.reshape %right_idx_407 : tensor<64x2x1xi32, #linear1> -> tensor<8x16xi32, #linear> loc(#loc178) %cond_410 = arith.cmpi slt, %ileft_397, %iright_398 : tensor<8x16xi32, #linear> loc(#loc179) %eq_411 = arith.cmpi eq, %ileft_397, %iright_398 : tensor<8x16xi32, #linear> loc(#loc180) %cond_412 = arith.cmpi sgt, %left_idx_408, %right_idx_409 : tensor<8x16xi32, #linear> loc(#loc181) %cond_413 = arith.andi %eq_411, %cond_412 : tensor<8x16xi1, #linear> loc(#loc182) %cond_414 = arith.ori %cond_410, %cond_413 : tensor<8x16xi1, #linear> loc(#loc183) %new_idxs_415 = arith.xori %left_idx_408, %right_idx_409 : tensor<8x16xi32, #linear> loc(#loc189) %new_idxs_416 = arith.select %cond_414, %new_idxs_415, %cst : tensor<8x16xi1, #linear>, tensor<8x16xi32, #linear> loc(#loc190) %new_idxs_417 = arith.xori %new_idxs_387, %new_idxs_416 : tensor<8x16xi32, #linear> loc(#loc191) %tmp7 = arith.extsi %tmp0_36 : tensor<8x16xi32, #blocked> to tensor<8x16xi64, #blocked> loc(#loc141) %tmp10 = arith.select %tmp0_34, %tmp7, %cst_0 : tensor<8x16xi1, #blocked>, tensor<8x16xi64, #blocked> loc(#loc142) %tmp11 = "tt.reduce"(%tmp10) <{axis = 1 : i32}> ({ ^bb0(%tmp11_419: i64 loc(callsite(#loc1 at #loc143)), %tmp11_420: i64 loc(callsite(#loc1 at #loc143))): %tmp11_421 = arith.addi %tmp11_419, %tmp11_420 : i64 loc(#loc192) tt.reduce.return %tmp11_421 : i64 loc(#loc152) }) : (tensor<8x16xi64, #blocked>) -> tensor<8xi64, #ttg.slice<{dim = 1, parent = #blocked}>> loc(#loc152) %tmp11_418 = tt.expand_dims %tmp11 {axis = 1 : i32} : tensor<8xi64, #ttg.slice<{dim = 1, parent = #blocked}>> -> tensor<8x1xi64, #blocked> loc(#loc144) %tmp14 = arith.trunci %tmp11_418 : tensor<8x1xi64, #blocked> to tensor<8x1xi32, #blocked> loc(#loc145) %0 = arith.muli %xindex_19, %cst_4 : tensor<8x1xi32, #blocked1> loc(#loc70) %1 = tt.broadcast %r0_index_25 : tensor<1x16xi32, #blocked1> -> tensor<8x16xi32, #blocked1> loc(#loc71) %2 = tt.broadcast %0 : tensor<8x1xi32, #blocked1> -> tensor<8x16xi32, #blocked1> loc(#loc71) %3 = arith.addi %1, %2 : tensor<8x16xi32, #blocked1> loc(#loc71) %4 = tt.splat %out_ptr2 : !tt.ptr<i32> -> tensor<8x16x!tt.ptr<i32>, #blocked1> loc(#loc72) %5 = tt.addptr %4, %3 : tensor<8x16x!tt.ptr<i32>, #blocked1>, tensor<8x16xi32, #blocked1> loc(#loc72) %6 = ttg.convert_layout %new_idxs_417 : tensor<8x16xi32, #linear> -> tensor<8x16xi32, #blocked1> loc(#loc73) tt.store %5, %6, %tmp0_35 : tensor<8x16x!tt.ptr<i32>, #blocked1> loc(#loc73) %7 = tt.splat %out_ptr3 : !tt.ptr<i32> -> tensor<8x1x!tt.ptr<i32>, #blocked> loc(#loc74) %8 = tt.addptr %7, %xindex_18 : tensor<8x1x!tt.ptr<i32>, #blocked>, tensor<8x1xi32, #blocked> loc(#loc74) tt.store %8, %tmp14, %xmask : tensor<8x1x!tt.ptr<i32>, #blocked> loc(#loc75) tt.return loc(#loc76) } loc(#loc)} loc(#loc)#loc2 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":24:28)#loc3 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":24:33)#loc4 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":25:44)#loc5 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":25:23)#loc6 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":26:21)#loc7 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":27:38)#loc8 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":33:19)#loc9 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":34:19)#loc10 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":36:38)#loc11 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":36:35)#loc12 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":36:49)#loc13 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":36:45)#loc14 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":36:30)#loc15 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":36:54)#loc16 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":38:19)#loc17 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":40:33)#loc18 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":627:44)#loc21 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":627:60)#loc22 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":627:68)#loc23 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":533:22)#loc25 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":537:21)#loc26 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":538:40)#loc27 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":291:36)#loc29 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":261:15)#loc30 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":538:65)#loc31 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":538:78)#loc32 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":539:41)#loc34 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":539:67)#loc35 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":539:80)#loc36 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":540:30)#loc37 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":541:32)#loc38 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":546:29)#loc39 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":548:36)#loc40 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":548:23)#loc41 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":290:25)#loc43 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":548:53)#loc44 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":548:66)#loc45 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":551:37)#loc46 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":551:23)#loc48 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":551:54)#loc49 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":551:67)#loc50 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":553:36)#loc51 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":554:38)#loc52 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":574:22)#loc53 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":591:21)#loc54 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":594:40)#loc55 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":594:29)#loc56 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":594:23)#loc57 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":599:19)#loc58 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":599:28)#loc59 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":600:38)#loc60 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":600:46)#loc61 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":600:15)#loc62 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":601:48)#loc63 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":601:59)#loc64 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":601:22)#loc65 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":42:19)#loc66 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":44:34)#loc68 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":45:29)#loc69 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":48:21)#loc70 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":49:35)#loc71 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":49:32)#loc72 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":49:25)#loc73 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":49:47)#loc74 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":50:25)#loc75 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":50:37)#loc76 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":50:4)#loc82 = loc("xoffset"(#loc2))#loc83 = loc("xoffset"(#loc3))#loc84 = loc("xindex"(#loc4))#loc85 = loc("xindex"(#loc5))#loc86 = loc("xmask"(#loc6))#loc87 = loc("r0_index"(#loc7))#loc88 = loc("x0"(#loc8))#loc89 = loc("x1"(#loc9))#loc90 = loc("tmp0"(#loc10))#loc91 = loc("tmp0"(#loc11))#loc92 = loc("tmp0"(#loc12))#loc93 = loc("tmp0"(#loc13))#loc94 = loc("tmp0"(#loc14))#loc95 = loc("tmp0"(#loc15))#loc96 = loc("tmp2"(#loc16))#loc97 = loc("tmp4"(#loc17))#loc98 = loc("flip"(#loc18))#loc100 = loc("flip"(#loc21))#loc101 = loc("flip"(#loc22))#loc102 = loc("y"(#loc23))#loc103 = loc("left_mask"(#loc25))#loc104 = loc("ileft"(#loc26))#loc106 = loc("ileft"(#loc30))#loc107 = loc("ileft"(#loc31))#loc108 = loc("iright"(#loc32))#loc110 = loc("iright"(#loc34))#loc111 = loc("iright"(#loc35))#loc112 = loc("ileft"(#loc36))#loc113 = loc("iright"(#loc37))#loc114 = loc("y_idx"(#loc38))#loc115 = loc("left_idx"(#loc39))#loc116 = loc("left_idx"(#loc40))#loc117 = loc("input"(#loc41))#loc119 = loc("left_idx"(#loc43))#loc120 = loc("left_idx"(#loc44))#loc121 = loc("right_idx"(#loc45))#loc122 = loc("right_idx"(#loc46))#loc124 = loc("right_idx"(#loc48))#loc125 = loc("right_idx"(#loc49))#loc126 = loc("left_idx"(#loc50))#loc127 = loc("right_idx"(#loc51))#loc128 = loc("cond"(#loc52))#loc129 = loc("eq"(#loc53))#loc130 = loc("cond"(#loc54))#loc131 = loc("cond"(#loc55))#loc132 = loc("cond"(#loc56))#loc133 = loc("cond"(#loc57))#loc134 = loc("cond"(#loc58))#loc135 = loc("ret"(#loc59))#loc136 = loc("ret"(#loc60))#loc137 = loc("ret"(#loc61))#loc138 = loc("new_idxs"(#loc62))#loc139 = loc("new_idxs"(#loc63))#loc140 = loc("new_idxs"(#loc64))#loc141 = loc("tmp7"(#loc65))#loc142 = loc("tmp10"(#loc66))#loc144 = loc("tmp11"(#loc68))#loc145 = loc("tmp14"(#loc69))#loc146 = loc(callsite(#loc98 at #loc99))#loc147 = loc(callsite(#loc100 at #loc99))#loc148 = loc(callsite(#loc101 at #loc99))#loc150 = loc("cond"(#loc128))#loc151 = loc("eq"(#loc129))#loc152 = loc(callsite(#loc27 at #loc143))#loc154 = loc(callsite(#loc102 at #loc149))#loc155 = loc(callsite(#loc103 at #loc149))#loc156 = loc(callsite(#loc104 at #loc149))#loc158 = loc(callsite(#loc106 at #loc149))#loc159 = loc(callsite(#loc107 at #loc149))#loc160 = loc(callsite(#loc108 at #loc149))#loc162 = loc(callsite(#loc110 at #loc149))#loc163 = loc(callsite(#loc111 at #loc149))#loc164 = loc(callsite(#loc112 at #loc149))#loc165 = loc(callsite(#loc113 at #loc149))#loc166 = loc(callsite(#loc114 at #loc149))#loc167 = loc(callsite(#loc115 at #loc149))#loc168 = loc(callsite(#loc116 at #loc149))#loc170 = loc(callsite(#loc119 at #loc149))#loc171 = loc(callsite(#loc120 at #loc149))#loc172 = loc(callsite(#loc121 at #loc149))#loc173 = loc(callsite(#loc122 at #loc149))#loc175 = loc(callsite(#loc124 at #loc149))#loc176 = loc(callsite(#loc125 at #loc149))#loc177 = loc(callsite(#loc126 at #loc149))#loc178 = loc(callsite(#loc127 at #loc149))#loc179 = loc(callsite(#loc150 at #loc149))#loc180 = loc(callsite(#loc151 at #loc149))#loc181 = loc(callsite(#loc130 at #loc149))#loc182 = loc(callsite(#loc131 at #loc149))#loc183 = loc(callsite(#loc132 at #loc149))#loc184 = loc(callsite(#loc133 at #loc149))#loc185 = loc(callsite(#loc134 at #loc149))#loc186 = loc(callsite(#loc135 at #loc149))#loc187 = loc(callsite(#loc136 at #loc149))#loc188 = loc(callsite(#loc137 at #loc149))#loc189 = loc(callsite(#loc138 at #loc149))#loc190 = loc(callsite(#loc139 at #loc149))#loc191 = loc(callsite(#loc140 at #loc149))#loc192 = loc(callsite(#loc29 at #loc152))#loc193 = loc(callsite(#loc27 at #loc157))#loc195 = loc(callsite(#loc27 at #loc161))#loc197 = loc(callsite(#loc117 at #loc169))#loc198 = loc(callsite(#loc27 at #loc169))#loc200 = loc(callsite(#loc117 at #loc174))#loc201 = loc(callsite(#loc27 at #loc174))#loc203 = loc(callsite(#loc29 at #loc193))#loc204 = loc(callsite(#loc29 at #loc195))#loc205 = loc(callsite(#loc29 at #loc198))#loc206 = loc(callsite(#loc29 at #loc201))123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799#loc = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":18:0)#loc1 = loc(unknown)#loc2 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":41:67)#loc23 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":662:12)#loc28 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":634:73)#loc32 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":538:51)#loc37 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":539:53)#loc46 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":548:50)#loc51 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":551:51)#loc70 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":45:26)#loc80 = loc("in_ptr0"(#loc))#loc81 = loc("out_ptr2"(#loc))#loc82 = loc("out_ptr3"(#loc))#loc83 = loc("xnumel"(#loc))#loc84 = loc("r0_numel"(#loc))#loc106 = loc(callsite(#loc23 at #loc2))#loc113 = loc("ileft"(#loc32))#loc117 = loc("iright"(#loc37))#loc126 = loc("left_idx"(#loc46))#loc131 = loc("right_idx"(#loc51))#loc150 = loc("tmp11"(#loc70))#loc157 = loc(callsite(#loc28 at #loc106))#loc161 = loc(callsite(#loc1 at #loc150))#loc165 = loc(callsite(#loc113 at #loc157))#loc169 = loc(callsite(#loc117 at #loc157))#loc177 = loc(callsite(#loc126 at #loc157))#loc182 = loc(callsite(#loc131 at #loc157))#loc202 = loc(callsite(#loc1 at #loc165))#loc204 = loc(callsite(#loc1 at #loc169))#loc207 = loc(callsite(#loc1 at #loc177))#loc210 = loc(callsite(#loc1 at #loc182))module { tt.func public @triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3(%in_ptr0: !tt.ptr<i32> {tt.divisibility = 16 : i32} loc("in_ptr0"(#loc)), %out_ptr2: !tt.ptr<i32> {tt.divisibility = 16 : i32} loc("out_ptr2"(#loc)), %out_ptr3: !tt.ptr<i32> {tt.divisibility = 16 : i32} loc("out_ptr3"(#loc)), %xnumel: i32 {tt.divisibility = 16 : i32} loc("xnumel"(#loc)), %r0_numel: i32 {tt.divisibility = 16 : i32} loc("r0_numel"(#loc))) attributes {noinline = false} { %cst = arith.constant dense<1> : tensor<1x2x1xi32> loc(#loc85) %cst_0 = arith.constant dense<0> : tensor<8x16xi32> loc(#loc1) %tmp10 = arith.constant dense<0> : tensor<8x16xi64> loc(#loc86) %tmp0 = arith.constant dense<272> : tensor<8x1xi32> loc(#loc87) %tmp0_1 = arith.constant dense<17> : tensor<1x16xi32> loc(#loc88) %cst_2 = arith.constant dense<16> : tensor<8x1xi32> loc(#loc1) %xmask = arith.constant dense<32> : tensor<8x1xi32> loc(#loc89) %c8_i32 = arith.constant 8 : i32 loc(#loc1) %xoffset = tt.get_program_id x : i32 loc(#loc90) %xoffset_3 = arith.muli %xoffset, %c8_i32 : i32 loc(#loc91) %xindex = tt.make_range {end = 8 : i32, start = 0 : i32} : tensor<8xi32> loc(#loc92) %xindex_4 = tt.expand_dims %xindex {axis = 1 : i32} : tensor<8xi32> -> tensor<8x1xi32> loc(#loc93) %xindex_5 = tt.splat %xoffset_3 : i32 -> tensor<8x1xi32> loc(#loc94) %xindex_6 = arith.addi %xindex_5, %xindex_4 : tensor<8x1xi32> loc(#loc94) %xmask_7 = arith.cmpi slt, %xindex_6, %xmask : tensor<8x1xi32> loc(#loc89) %r0_index = tt.make_range {end = 16 : i32, start = 0 : i32} : tensor<16xi32> loc(#loc95) %r0_index_8 = tt.expand_dims %r0_index {axis = 0 : i32} : tensor<16xi32> -> tensor<1x16xi32> loc(#loc96) %x0 = arith.remsi %xindex_6, %cst_2 : tensor<8x1xi32> loc(#loc97) %x1 = arith.divsi %xindex_6, %cst_2 : tensor<8x1xi32> loc(#loc98) %tmp0_9 = arith.muli %r0_index_8, %tmp0_1 : tensor<1x16xi32> loc(#loc88) %tmp0_10 = tt.broadcast %x0 : tensor<8x1xi32> -> tensor<8x16xi32> loc(#loc99) %tmp0_11 = tt.broadcast %tmp0_9 : tensor<1x16xi32> -> tensor<8x16xi32> loc(#loc99) %tmp0_12 = arith.addi %tmp0_10, %tmp0_11 : tensor<8x16xi32> loc(#loc99) %tmp0_13 = arith.muli %x1, %tmp0 : tensor<8x1xi32> loc(#loc87) %tmp0_14 = tt.broadcast %tmp0_13 : tensor<8x1xi32> -> tensor<8x16xi32> loc(#loc100) %tmp0_15 = arith.addi %tmp0_12, %tmp0_14 : tensor<8x16xi32> loc(#loc100) %tmp0_16 = tt.splat %in_ptr0 : !tt.ptr<i32> -> tensor<8x16x!tt.ptr<i32>> loc(#loc101) %tmp0_17 = tt.addptr %tmp0_16, %tmp0_15 : tensor<8x16x!tt.ptr<i32>>, tensor<8x16xi32> loc(#loc101) %tmp0_18 = tt.broadcast %xmask_7 : tensor<8x1xi1> -> tensor<8x16xi1> loc(#loc102) %tmp0_19 = tt.load %tmp0_17, %tmp0_18, %cst_0 : tensor<8x16x!tt.ptr<i32>> loc(#loc102) %tmp2 = arith.trunci %r0_index_8 : tensor<1x16xi32> to tensor<1x16xi16> loc(#loc103) %tmp4 = tt.broadcast %tmp2 : tensor<1x16xi16> -> tensor<8x16xi16> loc(#loc104) %flip = tt.make_range {end = 2 : i32, start = 0 : i32} : tensor<2xi32> loc(#loc153) %flip_20 = tt.expand_dims %flip {axis = 0 : i32} : tensor<2xi32> -> tensor<1x2xi32> loc(#loc154) %flip_21 = tt.expand_dims %flip_20 {axis = 2 : i32} : tensor<1x2xi32> -> tensor<1x2x1xi32> loc(#loc154) %flip_22 = tt.broadcast %flip_21 : tensor<1x2x1xi32> -> tensor<32x2x2xi32> loc(#loc155) %flip_23 = tt.reshape %flip_22 : tensor<32x2x2xi32> -> tensor<8x16xi32> loc(#loc156) %y = tt.reshape %tmp0_19 : tensor<8x16xi32> -> tensor<64x2x1xi32> loc(#loc162) %left_mask = arith.subi %cst, %flip_21 : tensor<1x2x1xi32> loc(#loc163) %ileft = tt.broadcast %left_mask : tensor<1x2x1xi32> -> tensor<64x2x1xi32> loc(#loc164) %ileft_24 = arith.muli %y, %ileft : tensor<64x2x1xi32> loc(#loc164) %ileft_25 = "tt.reduce"(%ileft_24) <{axis = 1 : i32}> ({ ^bb0(%ileft_377: i32 loc(callsite(#loc1 at #loc165)), %ileft_378: i32 loc(callsite(#loc1 at #loc165))): %ileft_379 = arith.addi %ileft_377, %ileft_378 : i32 loc(#loc211) tt.reduce.return %ileft_379 : i32 loc(#loc201) }) : (tensor<64x2x1xi32>) -> tensor<64x1xi32> loc(#loc201) %ileft_26 = tt.expand_dims %ileft_25 {axis = 1 : i32} : tensor<64x1xi32> -> tensor<64x1x1xi32> loc(#loc166) %ileft_27 = tt.broadcast %ileft_26 : tensor<64x1x1xi32> -> tensor<64x2x1xi32> loc(#loc167) %iright = tt.broadcast %flip_21 : tensor<1x2x1xi32> -> tensor<64x2x1xi32> loc(#loc168) %iright_28 = arith.muli %y, %iright : tensor<64x2x1xi32> loc(#loc168) %iright_29 = "tt.reduce"(%iright_28) <{axis = 1 : i32}> ({ ^bb0(%iright_377: i32 loc(callsite(#loc1 at #loc169)), %iright_378: i32 loc(callsite(#loc1 at #loc169))): %iright_379 = arith.addi %iright_377, %iright_378 : i32 loc(#loc212) tt.reduce.return %iright_379 : i32 loc(#loc203) }) : (tensor<64x2x1xi32>) -> tensor<64x1xi32> loc(#loc203) %iright_30 = tt.expand_dims %iright_29 {axis = 1 : i32} : tensor<64x1xi32> -> tensor<64x1x1xi32> loc(#loc170) %iright_31 = tt.broadcast %iright_30 : tensor<64x1x1xi32> -> tensor<64x2x1xi32> loc(#loc171) %ileft_32 = tt.reshape %ileft_27 : tensor<64x2x1xi32> -> tensor<8x16xi32> loc(#loc172) %iright_33 = tt.reshape %iright_31 : tensor<64x2x1xi32> -> tensor<8x16xi32> loc(#loc173) %y_idx = tt.reshape %tmp4 : tensor<8x16xi16> -> tensor<64x2x1xi16> loc(#loc174) %left_idx = arith.trunci %left_mask : tensor<1x2x1xi32> to tensor<1x2x1xi16> loc(#loc175) %left_idx_34 = tt.broadcast %left_idx : tensor<1x2x1xi16> -> tensor<64x2x1xi16> loc(#loc176) %left_idx_35 = arith.muli %y_idx, %left_idx_34 : tensor<64x2x1xi16> loc(#loc176) %input = arith.extsi %left_idx_35 : tensor<64x2x1xi16> to tensor<64x2x1xi32> loc(#loc205) %left_idx_36 = "tt.reduce"(%input) <{axis = 1 : i32}> ({ ^bb0(%left_idx_377: i32 loc(callsite(#loc1 at #loc177)), %left_idx_378: i32 loc(callsite(#loc1 at #loc177))): %left_idx_379 = arith.addi %left_idx_377, %left_idx_378 : i32 loc(#loc213) tt.reduce.return %left_idx_379 : i32 loc(#loc206) }) : (tensor<64x2x1xi32>) -> tensor<64x1xi32> loc(#loc206) %left_idx_37 = tt.expand_dims %left_idx_36 {axis = 1 : i32} : tensor<64x1xi32> -> tensor<64x1x1xi32> loc(#loc178) %left_idx_38 = tt.broadcast %left_idx_37 : tensor<64x1x1xi32> -> tensor<64x2x1xi32> loc(#loc179) %right_idx = arith.trunci %flip_21 : tensor<1x2x1xi32> to tensor<1x2x1xi16> loc(#loc180) %right_idx_39 = tt.broadcast %right_idx : tensor<1x2x1xi16> -> tensor<64x2x1xi16> loc(#loc181) %right_idx_40 = arith.muli %y_idx, %right_idx_39 : tensor<64x2x1xi16> loc(#loc181) %input_41 = arith.extsi %right_idx_40 : tensor<64x2x1xi16> to tensor<64x2x1xi32> loc(#loc208) %right_idx_42 = "tt.reduce"(%input_41) <{axis = 1 : i32}> ({ ^bb0(%right_idx_377: i32 loc(callsite(#loc1 at #loc182)), %right_idx_378: i32 loc(callsite(#loc1 at #loc182))): %right_idx_379 = arith.addi %right_idx_377, %right_idx_378 : i32 loc(#loc214) tt.reduce.return %right_idx_379 : i32 loc(#loc209) }) : (tensor<64x2x1xi32>) -> tensor<64x1xi32> loc(#loc209) %right_idx_43 = tt.expand_dims %right_idx_42 {axis = 1 : i32} : tensor<64x1xi32> -> tensor<64x1x1xi32> loc(#loc183) %right_idx_44 = tt.broadcast %right_idx_43 : tensor<64x1x1xi32> -> tensor<64x2x1xi32> loc(#loc184) %left_idx_45 = tt.reshape %left_idx_38 : tensor<64x2x1xi32> -> tensor<8x16xi32> loc(#loc185) %right_idx_46 = tt.reshape %right_idx_44 : tensor<64x2x1xi32> -> tensor<8x16xi32> loc(#loc186) %cond = arith.cmpi slt, %ileft_32, %iright_33 : tensor<8x16xi32> loc(#loc187) %eq = arith.cmpi eq, %ileft_32, %iright_33 : tensor<8x16xi32> loc(#loc188) %cond_47 = arith.cmpi sgt, %left_idx_45, %right_idx_46 : tensor<8x16xi32> loc(#loc189) %cond_48 = arith.andi %eq, %cond_47 : tensor<8x16xi1> loc(#loc190) %cond_49 = arith.ori %cond, %cond_48 : tensor<8x16xi1> loc(#loc191) %cond_50 = arith.extui %cond_49 : tensor<8x16xi1> to tensor<8x16xi32> loc(#loc192) %cond_51 = arith.xori %cond_50, %flip_23 : tensor<8x16xi32> loc(#loc192) %cond_52 = arith.cmpi ne, %cond_51, %cst_0 : tensor<8x16xi32> loc(#loc193) %ret = arith.xori %ileft_32, %iright_33 : tensor<8x16xi32> loc(#loc194) %ret_53 = arith.select %cond_52, %ret, %cst_0 : tensor<8x16xi1>, tensor<8x16xi32> loc(#loc195) %ret_54 = arith.xori %tmp0_19, %ret_53 : tensor<8x16xi32> loc(#loc196) %new_idxs = arith.xori %left_idx_45, %right_idx_46 : tensor<8x16xi32> loc(#loc197) %new_idxs_55 = arith.select %cond_52, %new_idxs, %cst_0 : tensor<8x16xi1>, tensor<8x16xi32> loc(#loc198) %new_idxs_56 = arith.extsi %tmp2 : tensor<1x16xi16> to tensor<1x16xi32> loc(#loc199) %new_idxs_57 = tt.broadcast %new_idxs_56 : tensor<1x16xi32> -> tensor<8x16xi32> loc(#loc199) %new_idxs_58 = arith.xori %new_idxs_57, %new_idxs_55 : tensor<8x16xi32> loc(#loc199) %flip_59 = tt.broadcast %flip_21 : tensor<1x2x1xi32> -> tensor<16x2x4xi32> loc(#loc155) %flip_60 = tt.reshape %flip_59 : tensor<16x2x4xi32> -> tensor<8x16xi32> loc(#loc156) %y_61 = tt.reshape %ret_54 : tensor<8x16xi32> -> tensor<32x2x2xi32> loc(#loc162) %ileft_62 = tt.broadcast %left_mask : tensor<1x2x1xi32> -> tensor<32x2x2xi32> loc(#loc164) %ileft_63 = arith.muli %y_61, %ileft_62 : tensor<32x2x2xi32> loc(#loc164) %ileft_64 = "tt.reduce"(%ileft_63) <{axis = 1 : i32}> ({ ^bb0(%ileft_377: i32 loc(callsite(#loc1 at #loc165)), %ileft_378: i32 loc(callsite(#loc1 at #loc165))): %ileft_379 = arith.addi %ileft_377, %ileft_378 : i32 loc(#loc211) tt.reduce.return %ileft_379 : i32 loc(#loc201) }) : (tensor<32x2x2xi32>) -> tensor<32x2xi32> loc(#loc201) %ileft_65 = tt.expand_dims %ileft_64 {axis = 1 : i32} : tensor<32x2xi32> -> tensor<32x1x2xi32> loc(#loc166) %ileft_66 = tt.broadcast %ileft_65 : tensor<32x1x2xi32> -> tensor<32x2x2xi32> loc(#loc167) %iright_67 = arith.muli %y_61, %flip_22 : tensor<32x2x2xi32> loc(#loc168) %iright_68 = "tt.reduce"(%iright_67) <{axis = 1 : i32}> ({ ^bb0(%iright_377: i32 loc(callsite(#loc1 at #loc169)), %iright_378: i32 loc(callsite(#loc1 at #loc169))): %iright_379 = arith.addi %iright_377, %iright_378 : i32 loc(#loc212) tt.reduce.return %iright_379 : i32 loc(#loc203) }) : (tensor<32x2x2xi32>) -> tensor<32x2xi32> loc(#loc203) %iright_69 = tt.expand_dims %iright_68 {axis = 1 : i32} : tensor<32x2xi32> -> tensor<32x1x2xi32> loc(#loc170) %iright_70 = tt.broadcast %iright_69 : tensor<32x1x2xi32> -> tensor<32x2x2xi32> loc(#loc171) %ileft_71 = tt.reshape %ileft_66 : tensor<32x2x2xi32> -> tensor<8x16xi32> loc(#loc172) %iright_72 = tt.reshape %iright_70 : tensor<32x2x2xi32> -> tensor<8x16xi32> loc(#loc173) %y_idx_73 = tt.reshape %new_idxs_58 : tensor<8x16xi32> -> tensor<32x2x2xi32> loc(#loc174) %left_idx_74 = arith.muli %y_idx_73, %ileft_62 : tensor<32x2x2xi32> loc(#loc176) %left_idx_75 = "tt.reduce"(%left_idx_74) <{axis = 1 : i32}> ({ ^bb0(%left_idx_377: i32 loc(callsite(#loc1 at #loc177)), %left_idx_378: i32 loc(callsite(#loc1 at #loc177))): %left_idx_379 = arith.addi %left_idx_377, %left_idx_378 : i32 loc(#loc213) tt.reduce.return %left_idx_379 : i32 loc(#loc206) }) : (tensor<32x2x2xi32>) -> tensor<32x2xi32> loc(#loc206) %left_idx_76 = tt.expand_dims %left_idx_75 {axis = 1 : i32} : tensor<32x2xi32> -> tensor<32x1x2xi32> loc(#loc178) %left_idx_77 = tt.broadcast %left_idx_76 : tensor<32x1x2xi32> -> tensor<32x2x2xi32> loc(#loc179) %right_idx_78 = arith.muli %y_idx_73, %flip_22 : tensor<32x2x2xi32> loc(#loc181) %right_idx_79 = "tt.reduce"(%right_idx_78) <{axis = 1 : i32}> ({ ^bb0(%right_idx_377: i32 loc(callsite(#loc1 at #loc182)), %right_idx_378: i32 loc(callsite(#loc1 at #loc182))): %right_idx_379 = arith.addi %right_idx_377, %right_idx_378 : i32 loc(#loc214) tt.reduce.return %right_idx_379 : i32 loc(#loc209) }) : (tensor<32x2x2xi32>) -> tensor<32x2xi32> loc(#loc209) %right_idx_80 = tt.expand_dims %right_idx_79 {axis = 1 : i32} : tensor<32x2xi32> -> tensor<32x1x2xi32> loc(#loc183) %right_idx_81 = tt.broadcast %right_idx_80 : tensor<32x1x2xi32> -> tensor<32x2x2xi32> loc(#loc184) %left_idx_82 = tt.reshape %left_idx_77 : tensor<32x2x2xi32> -> tensor<8x16xi32> loc(#loc185) %right_idx_83 = tt.reshape %right_idx_81 : tensor<32x2x2xi32> -> tensor<8x16xi32> loc(#loc186) %cond_84 = arith.cmpi slt, %ileft_71, %iright_72 : tensor<8x16xi32> loc(#loc187) %eq_85 = arith.cmpi eq, %ileft_71, %iright_72 : tensor<8x16xi32> loc(#loc188) %cond_86 = arith.cmpi sgt, %left_idx_82, %right_idx_83 : tensor<8x16xi32> loc(#loc189) %cond_87 = arith.andi %eq_85, %cond_86 : tensor<8x16xi1> loc(#loc190) %cond_88 = arith.ori %cond_84, %cond_87 : tensor<8x16xi1> loc(#loc191) %cond_89 = arith.extui %cond_88 : tensor<8x16xi1> to tensor<8x16xi32> loc(#loc192) %cond_90 = arith.xori %cond_89, %flip_60 : tensor<8x16xi32> loc(#loc192) %cond_91 = arith.cmpi ne, %cond_90, %cst_0 : tensor<8x16xi32> loc(#loc193) %ret_92 = arith.xori %ileft_71, %iright_72 : tensor<8x16xi32> loc(#loc194) %ret_93 = arith.select %cond_91, %ret_92, %cst_0 : tensor<8x16xi1>, tensor<8x16xi32> loc(#loc195) %ret_94 = arith.xori %ret_54, %ret_93 : tensor<8x16xi32> loc(#loc196) %new_idxs_95 = arith.xori %left_idx_82, %right_idx_83 : tensor<8x16xi32> loc(#loc197) %new_idxs_96 = arith.select %cond_91, %new_idxs_95, %cst_0 : tensor<8x16xi1>, tensor<8x16xi32> loc(#loc198) %new_idxs_97 = arith.xori %new_idxs_58, %new_idxs_96 : tensor<8x16xi32> loc(#loc199) %y_98 = tt.reshape %ret_94 : tensor<8x16xi32> -> tensor<64x2x1xi32> loc(#loc162) %ileft_99 = arith.muli %y_98, %ileft : tensor<64x2x1xi32> loc(#loc164) %ileft_100 = "tt.reduce"(%ileft_99) <{axis = 1 : i32}> ({ ^bb0(%ileft_377: i32 loc(callsite(#loc1 at #loc165)), %ileft_378: i32 loc(callsite(#loc1 at #loc165))): %ileft_379 = arith.addi %ileft_377, %ileft_378 : i32 loc(#loc211) tt.reduce.return %ileft_379 : i32 loc(#loc201) }) : (tensor<64x2x1xi32>) -> tensor<64x1xi32> loc(#loc201) %ileft_101 = tt.expand_dims %ileft_100 {axis = 1 : i32} : tensor<64x1xi32> -> tensor<64x1x1xi32> loc(#loc166) %ileft_102 = tt.broadcast %ileft_101 : tensor<64x1x1xi32> -> tensor<64x2x1xi32> loc(#loc167) %iright_103 = arith.muli %y_98, %iright : tensor<64x2x1xi32> loc(#loc168) %iright_104 = "tt.reduce"(%iright_103) <{axis = 1 : i32}> ({ ^bb0(%iright_377: i32 loc(callsite(#loc1 at #loc169)), %iright_378: i32 loc(callsite(#loc1 at #loc169))): %iright_379 = arith.addi %iright_377, %iright_378 : i32 loc(#loc212) tt.reduce.return %iright_379 : i32 loc(#loc203) }) : (tensor<64x2x1xi32>) -> tensor<64x1xi32> loc(#loc203) %iright_105 = tt.expand_dims %iright_104 {axis = 1 : i32} : tensor<64x1xi32> -> tensor<64x1x1xi32> loc(#loc170) %iright_106 = tt.broadcast %iright_105 : tensor<64x1x1xi32> -> tensor<64x2x1xi32> loc(#loc171) %ileft_107 = tt.reshape %ileft_102 : tensor<64x2x1xi32> -> tensor<8x16xi32> loc(#loc172) %iright_108 = tt.reshape %iright_106 : tensor<64x2x1xi32> -> tensor<8x16xi32> loc(#loc173) %y_idx_109 = tt.reshape %new_idxs_97 : tensor<8x16xi32> -> tensor<64x2x1xi32> loc(#loc174) %left_idx_110 = arith.muli %y_idx_109, %ileft : tensor<64x2x1xi32> loc(#loc176) %left_idx_111 = "tt.reduce"(%left_idx_110) <{axis = 1 : i32}> ({ ^bb0(%left_idx_377: i32 loc(callsite(#loc1 at #loc177)), %left_idx_378: i32 loc(callsite(#loc1 at #loc177))): %left_idx_379 = arith.addi %left_idx_377, %left_idx_378 : i32 loc(#loc213) tt.reduce.return %left_idx_379 : i32 loc(#loc206) }) : (tensor<64x2x1xi32>) -> tensor<64x1xi32> loc(#loc206) %left_idx_112 = tt.expand_dims %left_idx_111 {axis = 1 : i32} : tensor<64x1xi32> -> tensor<64x1x1xi32> loc(#loc178) %left_idx_113 = tt.broadcast %left_idx_112 : tensor<64x1x1xi32> -> tensor<64x2x1xi32> loc(#loc179) %right_idx_114 = arith.muli %y_idx_109, %iright : tensor<64x2x1xi32> loc(#loc181) %right_idx_115 = "tt.reduce"(%right_idx_114) <{axis = 1 : i32}> ({ ^bb0(%right_idx_377: i32 loc(callsite(#loc1 at #loc182)), %right_idx_378: i32 loc(callsite(#loc1 at #loc182))): %right_idx_379 = arith.addi %right_idx_377, %right_idx_378 : i32 loc(#loc214) tt.reduce.return %right_idx_379 : i32 loc(#loc209) }) : (tensor<64x2x1xi32>) -> tensor<64x1xi32> loc(#loc209) %right_idx_116 = tt.expand_dims %right_idx_115 {axis = 1 : i32} : tensor<64x1xi32> -> tensor<64x1x1xi32> loc(#loc183) %right_idx_117 = tt.broadcast %right_idx_116 : tensor<64x1x1xi32> -> tensor<64x2x1xi32> loc(#loc184) %left_idx_118 = tt.reshape %left_idx_113 : tensor<64x2x1xi32> -> tensor<8x16xi32> loc(#loc185) %right_idx_119 = tt.reshape %right_idx_117 : tensor<64x2x1xi32> -> tensor<8x16xi32> loc(#loc186) %cond_120 = arith.cmpi slt, %ileft_107, %iright_108 : tensor<8x16xi32> loc(#loc187) %eq_121 = arith.cmpi eq, %ileft_107, %iright_108 : tensor<8x16xi32> loc(#loc188) %cond_122 = arith.cmpi sgt, %left_idx_118, %right_idx_119 : tensor<8x16xi32> loc(#loc189) %cond_123 = arith.andi %eq_121, %cond_122 : tensor<8x16xi1> loc(#loc190) %cond_124 = arith.ori %cond_120, %cond_123 : tensor<8x16xi1> loc(#loc191) %cond_125 = arith.extui %cond_124 : tensor<8x16xi1> to tensor<8x16xi32> loc(#loc192) %cond_126 = arith.xori %cond_125, %flip_60 : tensor<8x16xi32> loc(#loc192) %cond_127 = arith.cmpi ne, %cond_126, %cst_0 : tensor<8x16xi32> loc(#loc193) %ret_128 = arith.xori %ileft_107, %iright_108 : tensor<8x16xi32> loc(#loc194) %ret_129 = arith.select %cond_127, %ret_128, %cst_0 : tensor<8x16xi1>, tensor<8x16xi32> loc(#loc195) %ret_130 = arith.xori %ret_94, %ret_129 : tensor<8x16xi32> loc(#loc196) %new_idxs_131 = arith.xori %left_idx_118, %right_idx_119 : tensor<8x16xi32> loc(#loc197) %new_idxs_132 = arith.select %cond_127, %new_idxs_131, %cst_0 : tensor<8x16xi1>, tensor<8x16xi32> loc(#loc198) %new_idxs_133 = arith.xori %new_idxs_97, %new_idxs_132 : tensor<8x16xi32> loc(#loc199) %flip_134 = tt.broadcast %flip_21 : tensor<1x2x1xi32> -> tensor<8x2x8xi32> loc(#loc155) %flip_135 = tt.reshape %flip_134 : tensor<8x2x8xi32> -> tensor<8x16xi32> loc(#loc156) %y_136 = tt.reshape %ret_130 : tensor<8x16xi32> -> tensor<16x2x4xi32> loc(#loc162) %ileft_137 = tt.broadcast %left_mask : tensor<1x2x1xi32> -> tensor<16x2x4xi32> loc(#loc164) %ileft_138 = arith.muli %y_136, %ileft_137 : tensor<16x2x4xi32> loc(#loc164) %ileft_139 = "tt.reduce"(%ileft_138) <{axis = 1 : i32}> ({ ^bb0(%ileft_377: i32 loc(callsite(#loc1 at #loc165)), %ileft_378: i32 loc(callsite(#loc1 at #loc165))): %ileft_379 = arith.addi %ileft_377, %ileft_378 : i32 loc(#loc211) tt.reduce.return %ileft_379 : i32 loc(#loc201) }) : (tensor<16x2x4xi32>) -> tensor<16x4xi32> loc(#loc201) %ileft_140 = tt.expand_dims %ileft_139 {axis = 1 : i32} : tensor<16x4xi32> -> tensor<16x1x4xi32> loc(#loc166) %ileft_141 = tt.broadcast %ileft_140 : tensor<16x1x4xi32> -> tensor<16x2x4xi32> loc(#loc167) %iright_142 = arith.muli %y_136, %flip_59 : tensor<16x2x4xi32> loc(#loc168) %iright_143 = "tt.reduce"(%iright_142) <{axis = 1 : i32}> ({ ^bb0(%iright_377: i32 loc(callsite(#loc1 at #loc169)), %iright_378: i32 loc(callsite(#loc1 at #loc169))): %iright_379 = arith.addi %iright_377, %iright_378 : i32 loc(#loc212) tt.reduce.return %iright_379 : i32 loc(#loc203) }) : (tensor<16x2x4xi32>) -> tensor<16x4xi32> loc(#loc203) %iright_144 = tt.expand_dims %iright_143 {axis = 1 : i32} : tensor<16x4xi32> -> tensor<16x1x4xi32> loc(#loc170) %iright_145 = tt.broadcast %iright_144 : tensor<16x1x4xi32> -> tensor<16x2x4xi32> loc(#loc171) %ileft_146 = tt.reshape %ileft_141 : tensor<16x2x4xi32> -> tensor<8x16xi32> loc(#loc172) %iright_147 = tt.reshape %iright_145 : tensor<16x2x4xi32> -> tensor<8x16xi32> loc(#loc173) %y_idx_148 = tt.reshape %new_idxs_133 : tensor<8x16xi32> -> tensor<16x2x4xi32> loc(#loc174) %left_idx_149 = arith.muli %y_idx_148, %ileft_137 : tensor<16x2x4xi32> loc(#loc176) %left_idx_150 = "tt.reduce"(%left_idx_149) <{axis = 1 : i32}> ({ ^bb0(%left_idx_377: i32 loc(callsite(#loc1 at #loc177)), %left_idx_378: i32 loc(callsite(#loc1 at #loc177))): %left_idx_379 = arith.addi %left_idx_377, %left_idx_378 : i32 loc(#loc213) tt.reduce.return %left_idx_379 : i32 loc(#loc206) }) : (tensor<16x2x4xi32>) -> tensor<16x4xi32> loc(#loc206) %left_idx_151 = tt.expand_dims %left_idx_150 {axis = 1 : i32} : tensor<16x4xi32> -> tensor<16x1x4xi32> loc(#loc178) %left_idx_152 = tt.broadcast %left_idx_151 : tensor<16x1x4xi32> -> tensor<16x2x4xi32> loc(#loc179) %right_idx_153 = arith.muli %y_idx_148, %flip_59 : tensor<16x2x4xi32> loc(#loc181) %right_idx_154 = "tt.reduce"(%right_idx_153) <{axis = 1 : i32}> ({ ^bb0(%right_idx_377: i32 loc(callsite(#loc1 at #loc182)), %right_idx_378: i32 loc(callsite(#loc1 at #loc182))): %right_idx_379 = arith.addi %right_idx_377, %right_idx_378 : i32 loc(#loc214) tt.reduce.return %right_idx_379 : i32 loc(#loc209) }) : (tensor<16x2x4xi32>) -> tensor<16x4xi32> loc(#loc209) %right_idx_155 = tt.expand_dims %right_idx_154 {axis = 1 : i32} : tensor<16x4xi32> -> tensor<16x1x4xi32> loc(#loc183) %right_idx_156 = tt.broadcast %right_idx_155 : tensor<16x1x4xi32> -> tensor<16x2x4xi32> loc(#loc184) %left_idx_157 = tt.reshape %left_idx_152 : tensor<16x2x4xi32> -> tensor<8x16xi32> loc(#loc185) %right_idx_158 = tt.reshape %right_idx_156 : tensor<16x2x4xi32> -> tensor<8x16xi32> loc(#loc186) %cond_159 = arith.cmpi slt, %ileft_146, %iright_147 : tensor<8x16xi32> loc(#loc187) %eq_160 = arith.cmpi eq, %ileft_146, %iright_147 : tensor<8x16xi32> loc(#loc188) %cond_161 = arith.cmpi sgt, %left_idx_157, %right_idx_158 : tensor<8x16xi32> loc(#loc189) %cond_162 = arith.andi %eq_160, %cond_161 : tensor<8x16xi1> loc(#loc190) %cond_163 = arith.ori %cond_159, %cond_162 : tensor<8x16xi1> loc(#loc191) %cond_164 = arith.extui %cond_163 : tensor<8x16xi1> to tensor<8x16xi32> loc(#loc192) %cond_165 = arith.xori %cond_164, %flip_135 : tensor<8x16xi32> loc(#loc192) %cond_166 = arith.cmpi ne, %cond_165, %cst_0 : tensor<8x16xi32> loc(#loc193) %ret_167 = arith.xori %ileft_146, %iright_147 : tensor<8x16xi32> loc(#loc194) %ret_168 = arith.select %cond_166, %ret_167, %cst_0 : tensor<8x16xi1>, tensor<8x16xi32> loc(#loc195) %ret_169 = arith.xori %ret_130, %ret_168 : tensor<8x16xi32> loc(#loc196) %new_idxs_170 = arith.xori %left_idx_157, %right_idx_158 : tensor<8x16xi32> loc(#loc197) %new_idxs_171 = arith.select %cond_166, %new_idxs_170, %cst_0 : tensor<8x16xi1>, tensor<8x16xi32> loc(#loc198) %new_idxs_172 = arith.xori %new_idxs_133, %new_idxs_171 : tensor<8x16xi32> loc(#loc199) %y_173 = tt.reshape %ret_169 : tensor<8x16xi32> -> tensor<32x2x2xi32> loc(#loc162) %ileft_174 = arith.muli %y_173, %ileft_62 : tensor<32x2x2xi32> loc(#loc164) %ileft_175 = "tt.reduce"(%ileft_174) <{axis = 1 : i32}> ({ ^bb0(%ileft_377: i32 loc(callsite(#loc1 at #loc165)), %ileft_378: i32 loc(callsite(#loc1 at #loc165))): %ileft_379 = arith.addi %ileft_377, %ileft_378 : i32 loc(#loc211) tt.reduce.return %ileft_379 : i32 loc(#loc201) }) : (tensor<32x2x2xi32>) -> tensor<32x2xi32> loc(#loc201) %ileft_176 = tt.expand_dims %ileft_175 {axis = 1 : i32} : tensor<32x2xi32> -> tensor<32x1x2xi32> loc(#loc166) %ileft_177 = tt.broadcast %ileft_176 : tensor<32x1x2xi32> -> tensor<32x2x2xi32> loc(#loc167) %iright_178 = arith.muli %y_173, %flip_22 : tensor<32x2x2xi32> loc(#loc168) %iright_179 = "tt.reduce"(%iright_178) <{axis = 1 : i32}> ({ ^bb0(%iright_377: i32 loc(callsite(#loc1 at #loc169)), %iright_378: i32 loc(callsite(#loc1 at #loc169))): %iright_379 = arith.addi %iright_377, %iright_378 : i32 loc(#loc212) tt.reduce.return %iright_379 : i32 loc(#loc203) }) : (tensor<32x2x2xi32>) -> tensor<32x2xi32> loc(#loc203) %iright_180 = tt.expand_dims %iright_179 {axis = 1 : i32} : tensor<32x2xi32> -> tensor<32x1x2xi32> loc(#loc170) %iright_181 = tt.broadcast %iright_180 : tensor<32x1x2xi32> -> tensor<32x2x2xi32> loc(#loc171) %ileft_182 = tt.reshape %ileft_177 : tensor<32x2x2xi32> -> tensor<8x16xi32> loc(#loc172) %iright_183 = tt.reshape %iright_181 : tensor<32x2x2xi32> -> tensor<8x16xi32> loc(#loc173) %y_idx_184 = tt.reshape %new_idxs_172 : tensor<8x16xi32> -> tensor<32x2x2xi32> loc(#loc174) %left_idx_185 = arith.muli %y_idx_184, %ileft_62 : tensor<32x2x2xi32> loc(#loc176) %left_idx_186 = "tt.reduce"(%left_idx_185) <{axis = 1 : i32}> ({ ^bb0(%left_idx_377: i32 loc(callsite(#loc1 at #loc177)), %left_idx_378: i32 loc(callsite(#loc1 at #loc177))): %left_idx_379 = arith.addi %left_idx_377, %left_idx_378 : i32 loc(#loc213) tt.reduce.return %left_idx_379 : i32 loc(#loc206) }) : (tensor<32x2x2xi32>) -> tensor<32x2xi32> loc(#loc206) %left_idx_187 = tt.expand_dims %left_idx_186 {axis = 1 : i32} : tensor<32x2xi32> -> tensor<32x1x2xi32> loc(#loc178) %left_idx_188 = tt.broadcast %left_idx_187 : tensor<32x1x2xi32> -> tensor<32x2x2xi32> loc(#loc179) %right_idx_189 = arith.muli %y_idx_184, %flip_22 : tensor<32x2x2xi32> loc(#loc181) %right_idx_190 = "tt.reduce"(%right_idx_189) <{axis = 1 : i32}> ({ ^bb0(%right_idx_377: i32 loc(callsite(#loc1 at #loc182)), %right_idx_378: i32 loc(callsite(#loc1 at #loc182))): %right_idx_379 = arith.addi %right_idx_377, %right_idx_378 : i32 loc(#loc214) tt.reduce.return %right_idx_379 : i32 loc(#loc209) }) : (tensor<32x2x2xi32>) -> tensor<32x2xi32> loc(#loc209) %right_idx_191 = tt.expand_dims %right_idx_190 {axis = 1 : i32} : tensor<32x2xi32> -> tensor<32x1x2xi32> loc(#loc183) %right_idx_192 = tt.broadcast %right_idx_191 : tensor<32x1x2xi32> -> tensor<32x2x2xi32> loc(#loc184) %left_idx_193 = tt.reshape %left_idx_188 : tensor<32x2x2xi32> -> tensor<8x16xi32> loc(#loc185) %right_idx_194 = tt.reshape %right_idx_192 : tensor<32x2x2xi32> -> tensor<8x16xi32> loc(#loc186) %cond_195 = arith.cmpi slt, %ileft_182, %iright_183 : tensor<8x16xi32> loc(#loc187) %eq_196 = arith.cmpi eq, %ileft_182, %iright_183 : tensor<8x16xi32> loc(#loc188) %cond_197 = arith.cmpi sgt, %left_idx_193, %right_idx_194 : tensor<8x16xi32> loc(#loc189) %cond_198 = arith.andi %eq_196, %cond_197 : tensor<8x16xi1> loc(#loc190) %cond_199 = arith.ori %cond_195, %cond_198 : tensor<8x16xi1> loc(#loc191) %cond_200 = arith.extui %cond_199 : tensor<8x16xi1> to tensor<8x16xi32> loc(#loc192) %cond_201 = arith.xori %cond_200, %flip_135 : tensor<8x16xi32> loc(#loc192) %cond_202 = arith.cmpi ne, %cond_201, %cst_0 : tensor<8x16xi32> loc(#loc193) %ret_203 = arith.xori %ileft_182, %iright_183 : tensor<8x16xi32> loc(#loc194) %ret_204 = arith.select %cond_202, %ret_203, %cst_0 : tensor<8x16xi1>, tensor<8x16xi32> loc(#loc195) %ret_205 = arith.xori %ret_169, %ret_204 : tensor<8x16xi32> loc(#loc196) %new_idxs_206 = arith.xori %left_idx_193, %right_idx_194 : tensor<8x16xi32> loc(#loc197) %new_idxs_207 = arith.select %cond_202, %new_idxs_206, %cst_0 : tensor<8x16xi1>, tensor<8x16xi32> loc(#loc198) %new_idxs_208 = arith.xori %new_idxs_172, %new_idxs_207 : tensor<8x16xi32> loc(#loc199) %y_209 = tt.reshape %ret_205 : tensor<8x16xi32> -> tensor<64x2x1xi32> loc(#loc162) %ileft_210 = arith.muli %y_209, %ileft : tensor<64x2x1xi32> loc(#loc164) %ileft_211 = "tt.reduce"(%ileft_210) <{axis = 1 : i32}> ({ ^bb0(%ileft_377: i32 loc(callsite(#loc1 at #loc165)), %ileft_378: i32 loc(callsite(#loc1 at #loc165))): %ileft_379 = arith.addi %ileft_377, %ileft_378 : i32 loc(#loc211) tt.reduce.return %ileft_379 : i32 loc(#loc201) }) : (tensor<64x2x1xi32>) -> tensor<64x1xi32> loc(#loc201) %ileft_212 = tt.expand_dims %ileft_211 {axis = 1 : i32} : tensor<64x1xi32> -> tensor<64x1x1xi32> loc(#loc166) %ileft_213 = tt.broadcast %ileft_212 : tensor<64x1x1xi32> -> tensor<64x2x1xi32> loc(#loc167) %iright_214 = arith.muli %y_209, %iright : tensor<64x2x1xi32> loc(#loc168) %iright_215 = "tt.reduce"(%iright_214) <{axis = 1 : i32}> ({ ^bb0(%iright_377: i32 loc(callsite(#loc1 at #loc169)), %iright_378: i32 loc(callsite(#loc1 at #loc169))): %iright_379 = arith.addi %iright_377, %iright_378 : i32 loc(#loc212) tt.reduce.return %iright_379 : i32 loc(#loc203) }) : (tensor<64x2x1xi32>) -> tensor<64x1xi32> loc(#loc203) %iright_216 = tt.expand_dims %iright_215 {axis = 1 : i32} : tensor<64x1xi32> -> tensor<64x1x1xi32> loc(#loc170) %iright_217 = tt.broadcast %iright_216 : tensor<64x1x1xi32> -> tensor<64x2x1xi32> loc(#loc171) %ileft_218 = tt.reshape %ileft_213 : tensor<64x2x1xi32> -> tensor<8x16xi32> loc(#loc172) %iright_219 = tt.reshape %iright_217 : tensor<64x2x1xi32> -> tensor<8x16xi32> loc(#loc173) %y_idx_220 = tt.reshape %new_idxs_208 : tensor<8x16xi32> -> tensor<64x2x1xi32> loc(#loc174) %left_idx_221 = arith.muli %y_idx_220, %ileft : tensor<64x2x1xi32> loc(#loc176) %left_idx_222 = "tt.reduce"(%left_idx_221) <{axis = 1 : i32}> ({ ^bb0(%left_idx_377: i32 loc(callsite(#loc1 at #loc177)), %left_idx_378: i32 loc(callsite(#loc1 at #loc177))): %left_idx_379 = arith.addi %left_idx_377, %left_idx_378 : i32 loc(#loc213) tt.reduce.return %left_idx_379 : i32 loc(#loc206) }) : (tensor<64x2x1xi32>) -> tensor<64x1xi32> loc(#loc206) %left_idx_223 = tt.expand_dims %left_idx_222 {axis = 1 : i32} : tensor<64x1xi32> -> tensor<64x1x1xi32> loc(#loc178) %left_idx_224 = tt.broadcast %left_idx_223 : tensor<64x1x1xi32> -> tensor<64x2x1xi32> loc(#loc179) %right_idx_225 = arith.muli %y_idx_220, %iright : tensor<64x2x1xi32> loc(#loc181) %right_idx_226 = "tt.reduce"(%right_idx_225) <{axis = 1 : i32}> ({ ^bb0(%right_idx_377: i32 loc(callsite(#loc1 at #loc182)), %right_idx_378: i32 loc(callsite(#loc1 at #loc182))): %right_idx_379 = arith.addi %right_idx_377, %right_idx_378 : i32 loc(#loc214) tt.reduce.return %right_idx_379 : i32 loc(#loc209) }) : (tensor<64x2x1xi32>) -> tensor<64x1xi32> loc(#loc209) %right_idx_227 = tt.expand_dims %right_idx_226 {axis = 1 : i32} : tensor<64x1xi32> -> tensor<64x1x1xi32> loc(#loc183) %right_idx_228 = tt.broadcast %right_idx_227 : tensor<64x1x1xi32> -> tensor<64x2x1xi32> loc(#loc184) %left_idx_229 = tt.reshape %left_idx_224 : tensor<64x2x1xi32> -> tensor<8x16xi32> loc(#loc185) %right_idx_230 = tt.reshape %right_idx_228 : tensor<64x2x1xi32> -> tensor<8x16xi32> loc(#loc186) %cond_231 = arith.cmpi slt, %ileft_218, %iright_219 : tensor<8x16xi32> loc(#loc187) %eq_232 = arith.cmpi eq, %ileft_218, %iright_219 : tensor<8x16xi32> loc(#loc188) %cond_233 = arith.cmpi sgt, %left_idx_229, %right_idx_230 : tensor<8x16xi32> loc(#loc189) %cond_234 = arith.andi %eq_232, %cond_233 : tensor<8x16xi1> loc(#loc190) %cond_235 = arith.ori %cond_231, %cond_234 : tensor<8x16xi1> loc(#loc191) %cond_236 = arith.extui %cond_235 : tensor<8x16xi1> to tensor<8x16xi32> loc(#loc192) %cond_237 = arith.xori %cond_236, %flip_135 : tensor<8x16xi32> loc(#loc192) %cond_238 = arith.cmpi ne, %cond_237, %cst_0 : tensor<8x16xi32> loc(#loc193) %ret_239 = arith.xori %ileft_218, %iright_219 : tensor<8x16xi32> loc(#loc194) %ret_240 = arith.select %cond_238, %ret_239, %cst_0 : tensor<8x16xi1>, tensor<8x16xi32> loc(#loc195) %ret_241 = arith.xori %ret_205, %ret_240 : tensor<8x16xi32> loc(#loc196) %new_idxs_242 = arith.xori %left_idx_229, %right_idx_230 : tensor<8x16xi32> loc(#loc197) %new_idxs_243 = arith.select %cond_238, %new_idxs_242, %cst_0 : tensor<8x16xi1>, tensor<8x16xi32> loc(#loc198) %new_idxs_244 = arith.xori %new_idxs_208, %new_idxs_243 : tensor<8x16xi32> loc(#loc199) %y_245 = tt.reshape %ret_241 : tensor<8x16xi32> -> tensor<8x2x8xi32> loc(#loc162) %ileft_246 = tt.broadcast %left_mask : tensor<1x2x1xi32> -> tensor<8x2x8xi32> loc(#loc164) %ileft_247 = arith.muli %y_245, %ileft_246 : tensor<8x2x8xi32> loc(#loc164) %ileft_248 = "tt.reduce"(%ileft_247) <{axis = 1 : i32}> ({ ^bb0(%ileft_377: i32 loc(callsite(#loc1 at #loc165)), %ileft_378: i32 loc(callsite(#loc1 at #loc165))): %ileft_379 = arith.addi %ileft_377, %ileft_378 : i32 loc(#loc211) tt.reduce.return %ileft_379 : i32 loc(#loc201) }) : (tensor<8x2x8xi32>) -> tensor<8x8xi32> loc(#loc201) %ileft_249 = tt.expand_dims %ileft_248 {axis = 1 : i32} : tensor<8x8xi32> -> tensor<8x1x8xi32> loc(#loc166) %ileft_250 = tt.broadcast %ileft_249 : tensor<8x1x8xi32> -> tensor<8x2x8xi32> loc(#loc167) %iright_251 = arith.muli %y_245, %flip_134 : tensor<8x2x8xi32> loc(#loc168) %iright_252 = "tt.reduce"(%iright_251) <{axis = 1 : i32}> ({ ^bb0(%iright_377: i32 loc(callsite(#loc1 at #loc169)), %iright_378: i32 loc(callsite(#loc1 at #loc169))): %iright_379 = arith.addi %iright_377, %iright_378 : i32 loc(#loc212) tt.reduce.return %iright_379 : i32 loc(#loc203) }) : (tensor<8x2x8xi32>) -> tensor<8x8xi32> loc(#loc203) %iright_253 = tt.expand_dims %iright_252 {axis = 1 : i32} : tensor<8x8xi32> -> tensor<8x1x8xi32> loc(#loc170) %iright_254 = tt.broadcast %iright_253 : tensor<8x1x8xi32> -> tensor<8x2x8xi32> loc(#loc171) %ileft_255 = tt.reshape %ileft_250 : tensor<8x2x8xi32> -> tensor<8x16xi32> loc(#loc172) %iright_256 = tt.reshape %iright_254 : tensor<8x2x8xi32> -> tensor<8x16xi32> loc(#loc173) %y_idx_257 = tt.reshape %new_idxs_244 : tensor<8x16xi32> -> tensor<8x2x8xi32> loc(#loc174) %left_idx_258 = arith.muli %y_idx_257, %ileft_246 : tensor<8x2x8xi32> loc(#loc176) %left_idx_259 = "tt.reduce"(%left_idx_258) <{axis = 1 : i32}> ({ ^bb0(%left_idx_377: i32 loc(callsite(#loc1 at #loc177)), %left_idx_378: i32 loc(callsite(#loc1 at #loc177))): %left_idx_379 = arith.addi %left_idx_377, %left_idx_378 : i32 loc(#loc213) tt.reduce.return %left_idx_379 : i32 loc(#loc206) }) : (tensor<8x2x8xi32>) -> tensor<8x8xi32> loc(#loc206) %left_idx_260 = tt.expand_dims %left_idx_259 {axis = 1 : i32} : tensor<8x8xi32> -> tensor<8x1x8xi32> loc(#loc178) %left_idx_261 = tt.broadcast %left_idx_260 : tensor<8x1x8xi32> -> tensor<8x2x8xi32> loc(#loc179) %right_idx_262 = arith.muli %y_idx_257, %flip_134 : tensor<8x2x8xi32> loc(#loc181) %right_idx_263 = "tt.reduce"(%right_idx_262) <{axis = 1 : i32}> ({ ^bb0(%right_idx_377: i32 loc(callsite(#loc1 at #loc182)), %right_idx_378: i32 loc(callsite(#loc1 at #loc182))): %right_idx_379 = arith.addi %right_idx_377, %right_idx_378 : i32 loc(#loc214) tt.reduce.return %right_idx_379 : i32 loc(#loc209) }) : (tensor<8x2x8xi32>) -> tensor<8x8xi32> loc(#loc209) %right_idx_264 = tt.expand_dims %right_idx_263 {axis = 1 : i32} : tensor<8x8xi32> -> tensor<8x1x8xi32> loc(#loc183) %right_idx_265 = tt.broadcast %right_idx_264 : tensor<8x1x8xi32> -> tensor<8x2x8xi32> loc(#loc184) %left_idx_266 = tt.reshape %left_idx_261 : tensor<8x2x8xi32> -> tensor<8x16xi32> loc(#loc185) %right_idx_267 = tt.reshape %right_idx_265 : tensor<8x2x8xi32> -> tensor<8x16xi32> loc(#loc186) %cond_268 = arith.cmpi slt, %ileft_255, %iright_256 : tensor<8x16xi32> loc(#loc187) %eq_269 = arith.cmpi eq, %ileft_255, %iright_256 : tensor<8x16xi32> loc(#loc188) %cond_270 = arith.cmpi sgt, %left_idx_266, %right_idx_267 : tensor<8x16xi32> loc(#loc189) %cond_271 = arith.andi %eq_269, %cond_270 : tensor<8x16xi1> loc(#loc190) %cond_272 = arith.ori %cond_268, %cond_271 : tensor<8x16xi1> loc(#loc191) %ret_273 = arith.xori %ileft_255, %iright_256 : tensor<8x16xi32> loc(#loc194) %ret_274 = arith.select %cond_272, %ret_273, %cst_0 : tensor<8x16xi1>, tensor<8x16xi32> loc(#loc195) %ret_275 = arith.xori %ret_241, %ret_274 : tensor<8x16xi32> loc(#loc196) %new_idxs_276 = arith.xori %left_idx_266, %right_idx_267 : tensor<8x16xi32> loc(#loc197) %new_idxs_277 = arith.select %cond_272, %new_idxs_276, %cst_0 : tensor<8x16xi1>, tensor<8x16xi32> loc(#loc198) %new_idxs_278 = arith.xori %new_idxs_244, %new_idxs_277 : tensor<8x16xi32> loc(#loc199) %y_279 = tt.reshape %ret_275 : tensor<8x16xi32> -> tensor<16x2x4xi32> loc(#loc162) %ileft_280 = arith.muli %y_279, %ileft_137 : tensor<16x2x4xi32> loc(#loc164) %ileft_281 = "tt.reduce"(%ileft_280) <{axis = 1 : i32}> ({ ^bb0(%ileft_377: i32 loc(callsite(#loc1 at #loc165)), %ileft_378: i32 loc(callsite(#loc1 at #loc165))): %ileft_379 = arith.addi %ileft_377, %ileft_378 : i32 loc(#loc211) tt.reduce.return %ileft_379 : i32 loc(#loc201) }) : (tensor<16x2x4xi32>) -> tensor<16x4xi32> loc(#loc201) %ileft_282 = tt.expand_dims %ileft_281 {axis = 1 : i32} : tensor<16x4xi32> -> tensor<16x1x4xi32> loc(#loc166) %ileft_283 = tt.broadcast %ileft_282 : tensor<16x1x4xi32> -> tensor<16x2x4xi32> loc(#loc167) %iright_284 = arith.muli %y_279, %flip_59 : tensor<16x2x4xi32> loc(#loc168) %iright_285 = "tt.reduce"(%iright_284) <{axis = 1 : i32}> ({ ^bb0(%iright_377: i32 loc(callsite(#loc1 at #loc169)), %iright_378: i32 loc(callsite(#loc1 at #loc169))): %iright_379 = arith.addi %iright_377, %iright_378 : i32 loc(#loc212) tt.reduce.return %iright_379 : i32 loc(#loc203) }) : (tensor<16x2x4xi32>) -> tensor<16x4xi32> loc(#loc203) %iright_286 = tt.expand_dims %iright_285 {axis = 1 : i32} : tensor<16x4xi32> -> tensor<16x1x4xi32> loc(#loc170) %iright_287 = tt.broadcast %iright_286 : tensor<16x1x4xi32> -> tensor<16x2x4xi32> loc(#loc171) %ileft_288 = tt.reshape %ileft_283 : tensor<16x2x4xi32> -> tensor<8x16xi32> loc(#loc172) %iright_289 = tt.reshape %iright_287 : tensor<16x2x4xi32> -> tensor<8x16xi32> loc(#loc173) %y_idx_290 = tt.reshape %new_idxs_278 : tensor<8x16xi32> -> tensor<16x2x4xi32> loc(#loc174) %left_idx_291 = arith.muli %y_idx_290, %ileft_137 : tensor<16x2x4xi32> loc(#loc176) %left_idx_292 = "tt.reduce"(%left_idx_291) <{axis = 1 : i32}> ({ ^bb0(%left_idx_377: i32 loc(callsite(#loc1 at #loc177)), %left_idx_378: i32 loc(callsite(#loc1 at #loc177))): %left_idx_379 = arith.addi %left_idx_377, %left_idx_378 : i32 loc(#loc213) tt.reduce.return %left_idx_379 : i32 loc(#loc206) }) : (tensor<16x2x4xi32>) -> tensor<16x4xi32> loc(#loc206) %left_idx_293 = tt.expand_dims %left_idx_292 {axis = 1 : i32} : tensor<16x4xi32> -> tensor<16x1x4xi32> loc(#loc178) %left_idx_294 = tt.broadcast %left_idx_293 : tensor<16x1x4xi32> -> tensor<16x2x4xi32> loc(#loc179) %right_idx_295 = arith.muli %y_idx_290, %flip_59 : tensor<16x2x4xi32> loc(#loc181) %right_idx_296 = "tt.reduce"(%right_idx_295) <{axis = 1 : i32}> ({ ^bb0(%right_idx_377: i32 loc(callsite(#loc1 at #loc182)), %right_idx_378: i32 loc(callsite(#loc1 at #loc182))): %right_idx_379 = arith.addi %right_idx_377, %right_idx_378 : i32 loc(#loc214) tt.reduce.return %right_idx_379 : i32 loc(#loc209) }) : (tensor<16x2x4xi32>) -> tensor<16x4xi32> loc(#loc209) %right_idx_297 = tt.expand_dims %right_idx_296 {axis = 1 : i32} : tensor<16x4xi32> -> tensor<16x1x4xi32> loc(#loc183) %right_idx_298 = tt.broadcast %right_idx_297 : tensor<16x1x4xi32> -> tensor<16x2x4xi32> loc(#loc184) %left_idx_299 = tt.reshape %left_idx_294 : tensor<16x2x4xi32> -> tensor<8x16xi32> loc(#loc185) %right_idx_300 = tt.reshape %right_idx_298 : tensor<16x2x4xi32> -> tensor<8x16xi32> loc(#loc186) %cond_301 = arith.cmpi slt, %ileft_288, %iright_289 : tensor<8x16xi32> loc(#loc187) %eq_302 = arith.cmpi eq, %ileft_288, %iright_289 : tensor<8x16xi32> loc(#loc188) %cond_303 = arith.cmpi sgt, %left_idx_299, %right_idx_300 : tensor<8x16xi32> loc(#loc189) %cond_304 = arith.andi %eq_302, %cond_303 : tensor<8x16xi1> loc(#loc190) %cond_305 = arith.ori %cond_301, %cond_304 : tensor<8x16xi1> loc(#loc191) %ret_306 = arith.xori %ileft_288, %iright_289 : tensor<8x16xi32> loc(#loc194) %ret_307 = arith.select %cond_305, %ret_306, %cst_0 : tensor<8x16xi1>, tensor<8x16xi32> loc(#loc195) %ret_308 = arith.xori %ret_275, %ret_307 : tensor<8x16xi32> loc(#loc196) %new_idxs_309 = arith.xori %left_idx_299, %right_idx_300 : tensor<8x16xi32> loc(#loc197) %new_idxs_310 = arith.select %cond_305, %new_idxs_309, %cst_0 : tensor<8x16xi1>, tensor<8x16xi32> loc(#loc198) %new_idxs_311 = arith.xori %new_idxs_278, %new_idxs_310 : tensor<8x16xi32> loc(#loc199) %y_312 = tt.reshape %ret_308 : tensor<8x16xi32> -> tensor<32x2x2xi32> loc(#loc162) %ileft_313 = arith.muli %y_312, %ileft_62 : tensor<32x2x2xi32> loc(#loc164) %ileft_314 = "tt.reduce"(%ileft_313) <{axis = 1 : i32}> ({ ^bb0(%ileft_377: i32 loc(callsite(#loc1 at #loc165)), %ileft_378: i32 loc(callsite(#loc1 at #loc165))): %ileft_379 = arith.addi %ileft_377, %ileft_378 : i32 loc(#loc211) tt.reduce.return %ileft_379 : i32 loc(#loc201) }) : (tensor<32x2x2xi32>) -> tensor<32x2xi32> loc(#loc201) %ileft_315 = tt.expand_dims %ileft_314 {axis = 1 : i32} : tensor<32x2xi32> -> tensor<32x1x2xi32> loc(#loc166) %ileft_316 = tt.broadcast %ileft_315 : tensor<32x1x2xi32> -> tensor<32x2x2xi32> loc(#loc167) %iright_317 = arith.muli %y_312, %flip_22 : tensor<32x2x2xi32> loc(#loc168) %iright_318 = "tt.reduce"(%iright_317) <{axis = 1 : i32}> ({ ^bb0(%iright_377: i32 loc(callsite(#loc1 at #loc169)), %iright_378: i32 loc(callsite(#loc1 at #loc169))): %iright_379 = arith.addi %iright_377, %iright_378 : i32 loc(#loc212) tt.reduce.return %iright_379 : i32 loc(#loc203) }) : (tensor<32x2x2xi32>) -> tensor<32x2xi32> loc(#loc203) %iright_319 = tt.expand_dims %iright_318 {axis = 1 : i32} : tensor<32x2xi32> -> tensor<32x1x2xi32> loc(#loc170) %iright_320 = tt.broadcast %iright_319 : tensor<32x1x2xi32> -> tensor<32x2x2xi32> loc(#loc171) %ileft_321 = tt.reshape %ileft_316 : tensor<32x2x2xi32> -> tensor<8x16xi32> loc(#loc172) %iright_322 = tt.reshape %iright_320 : tensor<32x2x2xi32> -> tensor<8x16xi32> loc(#loc173) %y_idx_323 = tt.reshape %new_idxs_311 : tensor<8x16xi32> -> tensor<32x2x2xi32> loc(#loc174) %left_idx_324 = arith.muli %y_idx_323, %ileft_62 : tensor<32x2x2xi32> loc(#loc176) %left_idx_325 = "tt.reduce"(%left_idx_324) <{axis = 1 : i32}> ({ ^bb0(%left_idx_377: i32 loc(callsite(#loc1 at #loc177)), %left_idx_378: i32 loc(callsite(#loc1 at #loc177))): %left_idx_379 = arith.addi %left_idx_377, %left_idx_378 : i32 loc(#loc213) tt.reduce.return %left_idx_379 : i32 loc(#loc206) }) : (tensor<32x2x2xi32>) -> tensor<32x2xi32> loc(#loc206) %left_idx_326 = tt.expand_dims %left_idx_325 {axis = 1 : i32} : tensor<32x2xi32> -> tensor<32x1x2xi32> loc(#loc178) %left_idx_327 = tt.broadcast %left_idx_326 : tensor<32x1x2xi32> -> tensor<32x2x2xi32> loc(#loc179) %right_idx_328 = arith.muli %y_idx_323, %flip_22 : tensor<32x2x2xi32> loc(#loc181) %right_idx_329 = "tt.reduce"(%right_idx_328) <{axis = 1 : i32}> ({ ^bb0(%right_idx_377: i32 loc(callsite(#loc1 at #loc182)), %right_idx_378: i32 loc(callsite(#loc1 at #loc182))): %right_idx_379 = arith.addi %right_idx_377, %right_idx_378 : i32 loc(#loc214) tt.reduce.return %right_idx_379 : i32 loc(#loc209) }) : (tensor<32x2x2xi32>) -> tensor<32x2xi32> loc(#loc209) %right_idx_330 = tt.expand_dims %right_idx_329 {axis = 1 : i32} : tensor<32x2xi32> -> tensor<32x1x2xi32> loc(#loc183) %right_idx_331 = tt.broadcast %right_idx_330 : tensor<32x1x2xi32> -> tensor<32x2x2xi32> loc(#loc184) %left_idx_332 = tt.reshape %left_idx_327 : tensor<32x2x2xi32> -> tensor<8x16xi32> loc(#loc185) %right_idx_333 = tt.reshape %right_idx_331 : tensor<32x2x2xi32> -> tensor<8x16xi32> loc(#loc186) %cond_334 = arith.cmpi slt, %ileft_321, %iright_322 : tensor<8x16xi32> loc(#loc187) %eq_335 = arith.cmpi eq, %ileft_321, %iright_322 : tensor<8x16xi32> loc(#loc188) %cond_336 = arith.cmpi sgt, %left_idx_332, %right_idx_333 : tensor<8x16xi32> loc(#loc189) %cond_337 = arith.andi %eq_335, %cond_336 : tensor<8x16xi1> loc(#loc190) %cond_338 = arith.ori %cond_334, %cond_337 : tensor<8x16xi1> loc(#loc191) %ret_339 = arith.xori %ileft_321, %iright_322 : tensor<8x16xi32> loc(#loc194) %ret_340 = arith.select %cond_338, %ret_339, %cst_0 : tensor<8x16xi1>, tensor<8x16xi32> loc(#loc195) %ret_341 = arith.xori %ret_308, %ret_340 : tensor<8x16xi32> loc(#loc196) %new_idxs_342 = arith.xori %left_idx_332, %right_idx_333 : tensor<8x16xi32> loc(#loc197) %new_idxs_343 = arith.select %cond_338, %new_idxs_342, %cst_0 : tensor<8x16xi1>, tensor<8x16xi32> loc(#loc198) %new_idxs_344 = arith.xori %new_idxs_311, %new_idxs_343 : tensor<8x16xi32> loc(#loc199) %y_345 = tt.reshape %ret_341 : tensor<8x16xi32> -> tensor<64x2x1xi32> loc(#loc162) %ileft_346 = arith.muli %y_345, %ileft : tensor<64x2x1xi32> loc(#loc164) %ileft_347 = "tt.reduce"(%ileft_346) <{axis = 1 : i32}> ({ ^bb0(%ileft_377: i32 loc(callsite(#loc1 at #loc165)), %ileft_378: i32 loc(callsite(#loc1 at #loc165))): %ileft_379 = arith.addi %ileft_377, %ileft_378 : i32 loc(#loc211) tt.reduce.return %ileft_379 : i32 loc(#loc201) }) : (tensor<64x2x1xi32>) -> tensor<64x1xi32> loc(#loc201) %ileft_348 = tt.expand_dims %ileft_347 {axis = 1 : i32} : tensor<64x1xi32> -> tensor<64x1x1xi32> loc(#loc166) %ileft_349 = tt.broadcast %ileft_348 : tensor<64x1x1xi32> -> tensor<64x2x1xi32> loc(#loc167) %iright_350 = arith.muli %y_345, %iright : tensor<64x2x1xi32> loc(#loc168) %iright_351 = "tt.reduce"(%iright_350) <{axis = 1 : i32}> ({ ^bb0(%iright_377: i32 loc(callsite(#loc1 at #loc169)), %iright_378: i32 loc(callsite(#loc1 at #loc169))): %iright_379 = arith.addi %iright_377, %iright_378 : i32 loc(#loc212) tt.reduce.return %iright_379 : i32 loc(#loc203) }) : (tensor<64x2x1xi32>) -> tensor<64x1xi32> loc(#loc203) %iright_352 = tt.expand_dims %iright_351 {axis = 1 : i32} : tensor<64x1xi32> -> tensor<64x1x1xi32> loc(#loc170) %iright_353 = tt.broadcast %iright_352 : tensor<64x1x1xi32> -> tensor<64x2x1xi32> loc(#loc171) %ileft_354 = tt.reshape %ileft_349 : tensor<64x2x1xi32> -> tensor<8x16xi32> loc(#loc172) %iright_355 = tt.reshape %iright_353 : tensor<64x2x1xi32> -> tensor<8x16xi32> loc(#loc173) %y_idx_356 = tt.reshape %new_idxs_344 : tensor<8x16xi32> -> tensor<64x2x1xi32> loc(#loc174) %left_idx_357 = arith.muli %y_idx_356, %ileft : tensor<64x2x1xi32> loc(#loc176) %left_idx_358 = "tt.reduce"(%left_idx_357) <{axis = 1 : i32}> ({ ^bb0(%left_idx_377: i32 loc(callsite(#loc1 at #loc177)), %left_idx_378: i32 loc(callsite(#loc1 at #loc177))): %left_idx_379 = arith.addi %left_idx_377, %left_idx_378 : i32 loc(#loc213) tt.reduce.return %left_idx_379 : i32 loc(#loc206) }) : (tensor<64x2x1xi32>) -> tensor<64x1xi32> loc(#loc206) %left_idx_359 = tt.expand_dims %left_idx_358 {axis = 1 : i32} : tensor<64x1xi32> -> tensor<64x1x1xi32> loc(#loc178) %left_idx_360 = tt.broadcast %left_idx_359 : tensor<64x1x1xi32> -> tensor<64x2x1xi32> loc(#loc179) %right_idx_361 = arith.muli %y_idx_356, %iright : tensor<64x2x1xi32> loc(#loc181) %right_idx_362 = "tt.reduce"(%right_idx_361) <{axis = 1 : i32}> ({ ^bb0(%right_idx_377: i32 loc(callsite(#loc1 at #loc182)), %right_idx_378: i32 loc(callsite(#loc1 at #loc182))): %right_idx_379 = arith.addi %right_idx_377, %right_idx_378 : i32 loc(#loc214) tt.reduce.return %right_idx_379 : i32 loc(#loc209) }) : (tensor<64x2x1xi32>) -> tensor<64x1xi32> loc(#loc209) %right_idx_363 = tt.expand_dims %right_idx_362 {axis = 1 : i32} : tensor<64x1xi32> -> tensor<64x1x1xi32> loc(#loc183) %right_idx_364 = tt.broadcast %right_idx_363 : tensor<64x1x1xi32> -> tensor<64x2x1xi32> loc(#loc184) %left_idx_365 = tt.reshape %left_idx_360 : tensor<64x2x1xi32> -> tensor<8x16xi32> loc(#loc185) %right_idx_366 = tt.reshape %right_idx_364 : tensor<64x2x1xi32> -> tensor<8x16xi32> loc(#loc186) %cond_367 = arith.cmpi slt, %ileft_354, %iright_355 : tensor<8x16xi32> loc(#loc187) %eq_368 = arith.cmpi eq, %ileft_354, %iright_355 : tensor<8x16xi32> loc(#loc188) %cond_369 = arith.cmpi sgt, %left_idx_365, %right_idx_366 : tensor<8x16xi32> loc(#loc189) %cond_370 = arith.andi %eq_368, %cond_369 : tensor<8x16xi1> loc(#loc190) %cond_371 = arith.ori %cond_367, %cond_370 : tensor<8x16xi1> loc(#loc191) %new_idxs_372 = arith.xori %left_idx_365, %right_idx_366 : tensor<8x16xi32> loc(#loc197) %new_idxs_373 = arith.select %cond_371, %new_idxs_372, %cst_0 : tensor<8x16xi1>, tensor<8x16xi32> loc(#loc198) %new_idxs_374 = arith.xori %new_idxs_344, %new_idxs_373 : tensor<8x16xi32> loc(#loc199) %tmp7 = arith.extsi %tmp0_19 : tensor<8x16xi32> to tensor<8x16xi64> loc(#loc149) %tmp10_375 = arith.select %tmp0_18, %tmp7, %tmp10 : tensor<8x16xi1>, tensor<8x16xi64> loc(#loc86) %tmp11 = "tt.reduce"(%tmp10_375) <{axis = 1 : i32}> ({ ^bb0(%tmp11_377: i64 loc(callsite(#loc1 at #loc150)), %tmp11_378: i64 loc(callsite(#loc1 at #loc150))): %tmp11_379 = arith.addi %tmp11_377, %tmp11_378 : i64 loc(#loc200) tt.reduce.return %tmp11_379 : i64 loc(#loc160) }) : (tensor<8x16xi64>) -> tensor<8xi64> loc(#loc160) %tmp11_376 = tt.expand_dims %tmp11 {axis = 1 : i32} : tensor<8xi64> -> tensor<8x1xi64> loc(#loc151) %tmp14 = arith.trunci %tmp11_376 : tensor<8x1xi64> to tensor<8x1xi32> loc(#loc152) %0 = arith.muli %xindex_6, %cst_2 : tensor<8x1xi32> loc(#loc73) %1 = tt.broadcast %r0_index_8 : tensor<1x16xi32> -> tensor<8x16xi32> loc(#loc74) %2 = tt.broadcast %0 : tensor<8x1xi32> -> tensor<8x16xi32> loc(#loc74) %3 = arith.addi %1, %2 : tensor<8x16xi32> loc(#loc74) %4 = tt.splat %out_ptr2 : !tt.ptr<i32> -> tensor<8x16x!tt.ptr<i32>> loc(#loc75) %5 = tt.addptr %4, %3 : tensor<8x16x!tt.ptr<i32>>, tensor<8x16xi32> loc(#loc75) tt.store %5, %new_idxs_374, %tmp0_18 : tensor<8x16x!tt.ptr<i32>> loc(#loc76) %6 = tt.splat %out_ptr3 : !tt.ptr<i32> -> tensor<8x1x!tt.ptr<i32>> loc(#loc77) %7 = tt.addptr %6, %xindex_6 : tensor<8x1x!tt.ptr<i32>>, tensor<8x1xi32> loc(#loc77) tt.store %7, %tmp14, %xmask_7 : tensor<8x1x!tt.ptr<i32>> loc(#loc78) tt.return loc(#loc79) } loc(#loc)} loc(#loc)#loc3 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":44:34)#loc4 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":36:49)#loc5 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":36:38)#loc6 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":26:21)#loc7 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":24:28)#loc8 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":24:33)#loc9 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":25:36)#loc10 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":25:44)#loc11 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":25:23)#loc12 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":27:28)#loc13 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":27:38)#loc14 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":33:19)#loc15 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":34:19)#loc16 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":36:35)#loc17 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":36:45)#loc18 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":36:30)#loc19 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":36:54)#loc20 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":38:19)#loc21 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":40:33)#loc22 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":627:41)#loc24 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":627:44)#loc25 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":627:60)#loc26 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":627:68)#loc27 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":533:22)#loc29 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":537:21)#loc30 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":538:40)#loc31 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":291:36)#loc33 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":261:15)#loc34 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":538:65)#loc35 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":538:78)#loc36 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":539:41)#loc38 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":539:67)#loc39 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":539:80)#loc40 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":540:30)#loc41 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":541:32)#loc42 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":546:29)#loc43 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":548:36)#loc44 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":548:23)#loc45 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":290:25)#loc47 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":548:53)#loc48 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":548:66)#loc49 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":551:37)#loc50 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":551:23)#loc52 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":551:54)#loc53 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":551:67)#loc54 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":553:36)#loc55 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":554:38)#loc56 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":574:22)#loc57 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":591:21)#loc58 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":594:40)#loc59 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":594:29)#loc60 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":594:23)#loc61 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":599:19)#loc62 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":599:28)#loc63 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":600:38)#loc64 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":600:46)#loc65 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":600:15)#loc66 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":601:48)#loc67 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":601:59)#loc68 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":601:22)#loc69 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":42:19)#loc71 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":45:29)#loc72 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":48:21)#loc73 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":49:35)#loc74 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":49:32)#loc75 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":49:25)#loc76 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":49:47)#loc77 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":50:25)#loc78 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":50:37)#loc79 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/bp/cbp4ofim2oujxe6hm47xzugia67k4kofgbgvt7n7d5gd3iux76li.py":50:4)#loc85 = loc(callsite(#loc1 at #loc2))#loc86 = loc("tmp10"(#loc3))#loc87 = loc("tmp0"(#loc4))#loc88 = loc("tmp0"(#loc5))#loc89 = loc("xmask"(#loc6))#loc90 = loc("xoffset"(#loc7))#loc91 = loc("xoffset"(#loc8))#loc92 = loc("xindex"(#loc9))#loc93 = loc("xindex"(#loc10))#loc94 = loc("xindex"(#loc11))#loc95 = loc("r0_index"(#loc12))#loc96 = loc("r0_index"(#loc13))#loc97 = loc("x0"(#loc14))#loc98 = loc("x1"(#loc15))#loc99 = loc("tmp0"(#loc16))#loc100 = loc("tmp0"(#loc17))#loc101 = loc("tmp0"(#loc18))#loc102 = loc("tmp0"(#loc19))#loc103 = loc("tmp2"(#loc20))#loc104 = loc("tmp4"(#loc21))#loc105 = loc("flip"(#loc22))#loc107 = loc("flip"(#loc24))#loc108 = loc("flip"(#loc25))#loc109 = loc("flip"(#loc26))#loc110 = loc("y"(#loc27))#loc111 = loc("left_mask"(#loc29))#loc112 = loc("ileft"(#loc30))#loc114 = loc("ileft"(#loc34))#loc115 = loc("ileft"(#loc35))#loc116 = loc("iright"(#loc36))#loc118 = loc("iright"(#loc38))#loc119 = loc("iright"(#loc39))#loc120 = loc("ileft"(#loc40))#loc121 = loc("iright"(#loc41))#loc122 = loc("y_idx"(#loc42))#loc123 = loc("left_idx"(#loc43))#loc124 = loc("left_idx"(#loc44))#loc125 = loc("input"(#loc45))#loc127 = loc("left_idx"(#loc47))#loc128 = loc("left_idx"(#loc48))#loc129 = loc("right_idx"(#loc49))#loc130 = loc("right_idx"(#loc50))#loc132 = loc("right_idx"(#loc52))#loc133 = loc("right_idx"(#loc53))#loc134 = loc("left_idx"(#loc54))#loc135 = loc("right_idx"(#loc55))#loc136 = loc("cond"(#loc56))#loc137 = loc("eq"(#loc57))#loc138 = loc("cond"(#loc58))#loc139 = loc("cond"(#loc59))#loc140 = loc("cond"(#loc60))#loc141 = loc("cond"(#loc61))#loc142 = loc("cond"(#loc62))#loc143 = loc("ret"(#loc63))#loc144 = loc("ret"(#loc64))#loc145 = loc("ret"(#loc65))#loc146 = loc("new_idxs"(#loc66))#loc147 = loc("new_idxs"(#loc67))#loc148 = loc("new_idxs"(#loc68))#loc149 = loc("tmp7"(#loc69))#loc151 = loc("tmp11"(#loc71))#loc152 = loc("tmp14"(#loc72))#loc153 = loc(callsite(#loc105 at #loc106))#loc154 = loc(callsite(#loc107 at #loc106))#loc155 = loc(callsite(#loc108 at #loc106))#loc156 = loc(callsite(#loc109 at #loc106))#loc158 = loc("cond"(#loc136))#loc159 = loc("eq"(#loc137))#loc160 = loc(callsite(#loc31 at #loc150))#loc162 = loc(callsite(#loc110 at #loc157))#loc163 = loc(callsite(#loc111 at #loc157))#loc164 = loc(callsite(#loc112 at #loc157))#loc166 = loc(callsite(#loc114 at #loc157))#loc167 = loc(callsite(#loc115 at #loc157))#loc168 = loc(callsite(#loc116 at #loc157))#loc170 = loc(callsite(#loc118 at #loc157))#loc171 = loc(callsite(#loc119 at #loc157))#loc172 = loc(callsite(#loc120 at #loc157))#loc173 = loc(callsite(#loc121 at #loc157))#loc174 = loc(callsite(#loc122 at #loc157))#loc175 = loc(callsite(#loc123 at #loc157))#loc176 = loc(callsite(#loc124 at #loc157))#loc178 = loc(callsite(#loc127 at #loc157))#loc179 = loc(callsite(#loc128 at #loc157))#loc180 = loc(callsite(#loc129 at #loc157))#loc181 = loc(callsite(#loc130 at #loc157))#loc183 = loc(callsite(#loc132 at #loc157))#loc184 = loc(callsite(#loc133 at #loc157))#loc185 = loc(callsite(#loc134 at #loc157))#loc186 = loc(callsite(#loc135 at #loc157))#loc187 = loc(callsite(#loc158 at #loc157))#loc188 = loc(callsite(#loc159 at #loc157))#loc189 = loc(callsite(#loc138 at #loc157))#loc190 = loc(callsite(#loc139 at #loc157))#loc191 = loc(callsite(#loc140 at #loc157))#loc192 = loc(callsite(#loc141 at #loc157))#loc193 = loc(callsite(#loc142 at #loc157))#loc194 = loc(callsite(#loc143 at #loc157))#loc195 = loc(callsite(#loc144 at #loc157))#loc196 = loc(callsite(#loc145 at #loc157))#loc197 = loc(callsite(#loc146 at #loc157))#loc198 = loc(callsite(#loc147 at #loc157))#loc199 = loc(callsite(#loc148 at #loc157))#loc200 = loc(callsite(#loc33 at #loc160))#loc201 = loc(callsite(#loc31 at #loc165))#loc203 = loc(callsite(#loc31 at #loc169))#loc205 = loc(callsite(#loc125 at #loc177))#loc206 = loc(callsite(#loc31 at #loc177))#loc208 = loc(callsite(#loc125 at #loc182))#loc209 = loc(callsite(#loc31 at #loc182))#loc211 = loc(callsite(#loc33 at #loc201))#loc212 = loc(callsite(#loc33 at #loc203))#loc213 = loc(callsite(#loc33 at #loc206))#loc214 = loc(callsite(#loc33 at #loc209))1{"child_paths": {"triton_red_fused_argmax_1.source": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/triton_red_fused_argmax_1.source", "triton_red_fused_argmax_1.ttir": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/triton_red_fused_argmax_1.ttir", "triton_red_fused_argmax_1.ttgir": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/triton_red_fused_argmax_1.ttgir", "triton_red_fused_argmax_1.llir": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/triton_red_fused_argmax_1.llir", "triton_red_fused_argmax_1.ptx": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/triton_red_fused_argmax_1.ptx", "triton_red_fused_argmax_1.cubin": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/triton_red_fused_argmax_1.cubin", "triton_red_fused_argmax_1.json": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/triton_red_fused_argmax_1.json"}}1{"hash": "dce51101d74002d90b1fe021a32b8040ce453636ab0b0ab209427e2e72d803f0", "target": {"backend": "cuda", "arch": 90, "warp_size": 32}, "num_warps": 16, "num_ctas": 1, "num_stages": 1, "warp_size": 32, "maxnreg": null, "cluster_dims": [1, 1, 1], "ptx_version": null, "ptx_options": null, "ir_override": null, "enable_fp_fusion": true, "launch_cooperative_grid": false, "launch_pdl": false, "supported_fp8_dtypes": ["fp8e4b15", "fp8e4nv", "fp8e5"], "deprecated_fp8_dot_operand_dtypes": ["fp8e4b15"], "default_dot_input_precision": "tf32", "allowed_dot_input_precisions": ["tf32", "tf32x3", "ieee"], "max_num_imprecise_acc_default": 1073741824, "extern_libs": [["libdevice", "/workspace/specforge/lib/python3.11/site-packages/triton/backends/nvidia/lib/libdevice.10.bc"]], "debug": true, "backend_name": "cuda", "sanitize_overflow": false, "arch": "sm90", "instrumentation_mode": "", "triton_version": "3.5.1", "tensordesc_meta": [], "shared": 256, "tmem_size": 0, "global_scratch_size": 0, "global_scratch_align": 1, "profile_scratch_size": 0, "profile_scratch_align": 1, "name": "triton_red_fused_argmax_1"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611; ModuleID = 'LLVMDialectModule'source_filename = "LLVMDialectModule"target datalayout = "e-p3:32:32-p4:32:32-p5:32:32-p6:32:32-p7:32:32-i64:64-i128:128-v16:16-v32:32-n16:32:64"
@global_smem = external addrspace(3) global [0 x i8], align 16
; Function Attrs: nounwinddefine ptx_kernel void @triton_red_fused_argmax_1(ptr addrspace(1) %0, ptr addrspace(1) %1, i32 %2, i32 %3, ptr addrspace(1) readnone captures(none) %4, ptr addrspace(1) readnone captures(none) %5) local_unnamed_addr #0 !dbg !4 { %7 = tail call i32 @llvm.nvvm.read.ptx.sreg.ctaid.x(), !dbg !7 %8 = shl i32 %7, 3, !dbg !8 %9 = tail call i32 @llvm.nvvm.read.ptx.sreg.tid.x(), !dbg !9 %10 = and i32 %9, 384, !dbg !9 %11 = lshr exact i32 %10, 7, !dbg !9 %12 = or disjoint i32 %11, 4, !dbg !9 %13 = or disjoint i32 %11, %8, !dbg !10 %14 = or disjoint i32 %12, %8, !dbg !10 %15 = shl nuw nsw i32 %9, 2, !dbg !11 %16 = and i32 %15, 508, !dbg !11 %17 = sdiv i32 %13, 2048, !dbg !12 %18 = sdiv i32 %14, 2048, !dbg !12 %19 = mul i32 %13, 32000 %20 = mul i32 %17, 224000 %21 = add i32 %20, %19 %22 = mul i32 %14, 32000 %23 = mul i32 %18, 224000 %24 = add i32 %23, %22 %25 = zext nneg i32 %16 to i64, !dbg !13 br label %26, !dbg !13
26: ; preds = %6, %26 %indvars.iv = phi i64 [ 0, %6 ], [ %indvars.iv.next, %26 ] %27 = phi <2 x float> [ splat (float 0xFFF0000000000000), %6 ], [ %126, %26 ] %28 = phi <2 x i32> [ splat (i32 2147483647), %6 ], [ %131, %26 ] %29 = phi <2 x float> [ splat (float 0xFFF0000000000000), %6 ], [ %127, %26 ] %30 = phi <2 x i32> [ splat (i32 2147483647), %6 ], [ %132, %26 ] %31 = phi <4 x float> [ splat (float 0xFFF0000000000000), %6 ], [ %130, %26 ] %32 = phi <4 x i32> [ splat (i32 2147483647), %6 ], [ %133, %26 ] %33 = or disjoint i64 %indvars.iv, %25, !dbg !14 %34 = icmp samesign ult i64 %33, 32000, !dbg !15 %35 = trunc nuw nsw i64 %33 to i32, !dbg !16 %36 = add i32 %21, %35, !dbg !16 %37 = add i32 %24, %35, !dbg !16 %38 = sext i32 %36 to i64, !dbg !17 %39 = getelementptr float, ptr addrspace(1) %0, i64 %38, !dbg !17 %40 = sext i32 %37 to i64, !dbg !17 %41 = getelementptr float, ptr addrspace(1) %0, i64 %40, !dbg !17 %42 = tail call i64 asm sideeffect "mov.u64 $0, 0x0;\0A\09createpolicy.fractional.L2::evict_first.b64 $0, 1.0;", "=l"() #4, !dbg !18 %43 = tail call { i32, i32, i32, i32 } asm sideeffect "mov.u32 $0, $4;\0A\09mov.u32 $1, $5;\0A\09mov.u32 $2, $6;\0A\09mov.u32 $3, $7;\0A\09@$10 ld.global.L1::evict_first.L2::cache_hint.v4.b32 { $0, $1, $2, $3 }, [ $8 + 0 ], $9;", "=r,=r,=r,=r,r,r,r,r,l,l,b"(i32 0, i32 0, i32 0, i32 0, ptr addrspace(1) %39, i64 %42, i1 %34) #4, !dbg !18 %44 = extractvalue { i32, i32, i32, i32 } %43, 0, !dbg !18 %45 = extractvalue { i32, i32, i32, i32 } %43, 1, !dbg !18 %46 = extractvalue { i32, i32, i32, i32 } %43, 2, !dbg !18 %47 = extractvalue { i32, i32, i32, i32 } %43, 3, !dbg !18 %48 = tail call i64 asm sideeffect "mov.u64 $0, 0x0;\0A\09createpolicy.fractional.L2::evict_first.b64 $0, 1.0;", "=l"() #4, !dbg !18 %49 = tail call { i32, i32, i32, i32 } asm sideeffect "mov.u32 $0, $4;\0A\09mov.u32 $1, $5;\0A\09mov.u32 $2, $6;\0A\09mov.u32 $3, $7;\0A\09@$10 ld.global.L1::evict_first.L2::cache_hint.v4.b32 { $0, $1, $2, $3 }, [ $8 + 0 ], $9;", "=r,=r,=r,=r,r,r,r,r,l,l,b"(i32 0, i32 0, i32 0, i32 0, ptr addrspace(1) %41, i64 %48, i1 %34) #4, !dbg !18 %50 = extractvalue { i32, i32, i32, i32 } %49, 0, !dbg !18 %51 = extractvalue { i32, i32, i32, i32 } %49, 1, !dbg !18 %52 = extractvalue { i32, i32, i32, i32 } %49, 2, !dbg !18 %53 = extractvalue { i32, i32, i32, i32 } %49, 3, !dbg !18 %54 = fcmp uno <2 x float> %27, zeroinitializer, !dbg !19 %55 = fcmp uno <4 x float> %31, zeroinitializer, !dbg !19 %56 = fcmp uno <2 x float> %29, zeroinitializer, !dbg !19 %57 = sext <2 x i32> %28 to <2 x i64>, !dbg !23 %58 = sext <2 x i32> %30 to <2 x i64>, !dbg !23 %59 = trunc nuw nsw i64 %33 to i32, !dbg !24 %60 = or disjoint i32 %59, 1, !dbg !24 %61 = insertelement <2 x i32> poison, i32 %44, i64 0, !dbg !18 %62 = insertelement <2 x i32> %61, i32 %45, i64 1, !dbg !18 %63 = bitcast <2 x i32> %62 to <2 x float>, !dbg !18 %64 = fcmp ogt <2 x float> %27, %63, !dbg !25 %65 = fcmp oeq <2 x float> %27, %63, !dbg !26 %66 = fcmp uno <2 x float> %63, zeroinitializer, !dbg !27 %67 = xor <2 x i1> %66, splat (i1 true), !dbg !28 %68 = and <2 x i1> %54, %67, !dbg !29 %69 = or <2 x i1> %64, %68, !dbg !30 %70 = and <2 x i1> %54, %66, !dbg !31 %71 = or <2 x i1> %65, %70, !dbg !32 %72 = insertelement <2 x i64> poison, i64 %33, i64 0, !dbg !23 %73 = shufflevector <2 x i64> %72, <2 x i64> poison, <2 x i32> zeroinitializer, !dbg !23 %74 = icmp sgt <2 x i64> %73, %57, !dbg !23 %75 = icmp sge <2 x i64> %73, %57, !dbg !23 %76 = shufflevector <2 x i1> %74, <2 x i1> %75, <2 x i32> <i32 0, i32 3>, !dbg !23 %77 = and <2 x i1> %76, %71, !dbg !33 %78 = or <2 x i1> %69, %77, !dbg !34 %79 = select <2 x i1> %78, <2 x float> %27, <2 x float> %63, !dbg !35 %80 = insertelement <2 x i32> poison, i32 %35, i64 0, !dbg !24 %81 = insertelement <2 x i32> %80, i32 %60, i64 1, !dbg !24 %82 = select <2 x i1> %78, <2 x i32> %28, <2 x i32> %81, !dbg !24 %83 = insertelement <2 x i32> poison, i32 %50, i64 0, !dbg !18 %84 = insertelement <2 x i32> %83, i32 %51, i64 1, !dbg !18 %85 = bitcast <2 x i32> %84 to <2 x float>, !dbg !18 %86 = fcmp ogt <2 x float> %29, %85, !dbg !25 %87 = fcmp oeq <2 x float> %29, %85, !dbg !26 %88 = fcmp uno <2 x float> %85, zeroinitializer, !dbg !27 %89 = xor <2 x i1> %88, splat (i1 true), !dbg !28 %90 = and <2 x i1> %56, %89, !dbg !29 %91 = or <2 x i1> %86, %90, !dbg !30 %92 = and <2 x i1> %56, %88, !dbg !31 %93 = or <2 x i1> %87, %92, !dbg !32 %94 = icmp sgt <2 x i64> %73, %58, !dbg !23 %95 = icmp sge <2 x i64> %73, %58, !dbg !23 %96 = shufflevector <2 x i1> %94, <2 x i1> %95, <2 x i32> <i32 0, i32 3>, !dbg !23 %97 = and <2 x i1> %96, %93, !dbg !33 %98 = or <2 x i1> %91, %97, !dbg !34 %99 = select <2 x i1> %98, <2 x float> %29, <2 x float> %85, !dbg !35 %100 = select <2 x i1> %98, <2 x i32> %30, <2 x i32> %81, !dbg !24 %101 = or disjoint <2 x i64> %73, <i64 3, i64 2>, !dbg !14 %102 = shufflevector <2 x i64> %101, <2 x i64> poison, <4 x i32> <i32 0, i32 1, i32 0, i32 1>, !dbg !14 %103 = insertelement <4 x i32> poison, i32 %53, i64 0, !dbg !18 %104 = insertelement <4 x i32> %103, i32 %52, i64 1, !dbg !18 %105 = insertelement <4 x i32> %104, i32 %47, i64 2, !dbg !18 %106 = insertelement <4 x i32> %105, i32 %46, i64 3, !dbg !18 %107 = bitcast <4 x i32> %106 to <4 x float>, !dbg !18 %108 = fcmp ogt <4 x float> %31, %107, !dbg !25 %109 = fcmp oeq <4 x float> %31, %107, !dbg !26 %110 = fcmp uno <4 x float> %107, zeroinitializer, !dbg !27 %111 = xor <4 x i1> %110, splat (i1 true), !dbg !28 %112 = and <4 x i1> %55, %111, !dbg !29 %113 = or <4 x i1> %108, %112, !dbg !30 %114 = and <4 x i1> %55, %110, !dbg !31 %115 = or <4 x i1> %109, %114, !dbg !32 %116 = sext <4 x i32> %32 to <4 x i64>, !dbg !23 %117 = icmp sgt <4 x i64> %102, %116, !dbg !23 %118 = and <4 x i1> %117, %115, !dbg !33 %119 = or <4 x i1> %113, %118, !dbg !34 %120 = select <4 x i1> %119, <4 x float> %31, <4 x float> %107, !dbg !35 %121 = trunc <2 x i64> %101 to <2 x i32>, !dbg !24 %122 = shufflevector <2 x i32> %121, <2 x i32> poison, <4 x i32> <i32 0, i32 1, i32 0, i32 1>, !dbg !24 %123 = select <4 x i1> %119, <4 x i32> %32, <4 x i32> %122, !dbg !24 %124 = insertelement <2 x i1> poison, i1 %34, i64 0, !dbg !36 %125 = shufflevector <2 x i1> %124, <2 x i1> poison, <2 x i32> zeroinitializer, !dbg !36 %126 = select <2 x i1> %125, <2 x float> %79, <2 x float> %27, !dbg !36 %127 = select <2 x i1> %125, <2 x float> %99, <2 x float> %29, !dbg !36 %128 = insertelement <4 x i1> poison, i1 %34, i64 0, !dbg !36 %129 = shufflevector <4 x i1> %128, <4 x i1> poison, <4 x i32> zeroinitializer, !dbg !36 %130 = select <4 x i1> %129, <4 x float> %120, <4 x float> %31, !dbg !36 %131 = select <2 x i1> %125, <2 x i32> %82, <2 x i32> %28, !dbg !37 %132 = select <2 x i1> %125, <2 x i32> %100, <2 x i32> %30, !dbg !37 %133 = select <4 x i1> %129, <4 x i32> %123, <4 x i32> %32, !dbg !37 %indvars.iv.next = add nuw nsw i64 %indvars.iv, 512, !dbg !13 %134 = icmp samesign ult i64 %indvars.iv, 31488, !dbg !13 br i1 %134, label %26, label %135, !dbg !13
135: ; preds = %26 %136 = and i32 %9, 7, !dbg !9 %137 = or disjoint i32 %8, %136, !dbg !10 %138 = and i32 %9, 31, !dbg !9 %139 = lshr i32 %9, 5, !dbg !9 %140 = shufflevector <2 x float> %126, <2 x float> poison, <2 x i32> <i32 1, i32 0>, !dbg !38 %141 = fcmp ogt <2 x float> %126, %140, !dbg !38 %142 = fcmp oeq <2 x float> %126, %140, !dbg !38 %143 = shufflevector <2 x i1> %141, <2 x i1> %142, <2 x i32> <i32 0, i32 3>, !dbg !38 %144 = extractelement <2 x float> %126, i64 0, !dbg !40 %145 = fcmp uno float %144, 0.000000e+00, !dbg !40 %146 = extractelement <2 x float> %126, i64 1, !dbg !41 %147 = fcmp uno float %146, 0.000000e+00, !dbg !41 %148 = xor i1 %147, true, !dbg !42 %149 = insertelement <2 x i1> poison, i1 %145, i64 0, !dbg !43 %150 = shufflevector <2 x i1> %149, <2 x i1> poison, <2 x i32> zeroinitializer, !dbg !43 %151 = insertelement <2 x i1> poison, i1 %148, i64 0, !dbg !43 %152 = insertelement <2 x i1> %151, i1 %147, i64 1, !dbg !43 %153 = and <2 x i1> %150, %152, !dbg !43 %154 = or <2 x i1> %143, %153, !dbg !44 %155 = extractelement <2 x i32> %131, i64 0, !dbg !45 %156 = extractelement <2 x i32> %131, i64 1, !dbg !45 %157 = icmp slt i32 %155, %156, !dbg !45 %158 = extractelement <2 x i1> %154, i64 1, !dbg !46 %159 = and i1 %157, %158, !dbg !46 %160 = extractelement <2 x i1> %154, i64 0, !dbg !47 %161 = or i1 %160, %159, !dbg !47 %162 = select i1 %161, float %144, float %146, !dbg !48 %163 = select i1 %161, i32 %155, i32 %156, !dbg !49 %164 = extractelement <4 x float> %130, i64 3, !dbg !38 %165 = fcmp ogt float %162, %164, !dbg !38 %166 = fcmp oeq float %162, %164, !dbg !50 %167 = fcmp uno float %162, 0.000000e+00, !dbg !40 %168 = fcmp uno <4 x float> %130, zeroinitializer, !dbg !41 %169 = extractelement <4 x i1> %168, i64 3, !dbg !51 %170 = xor i1 %169, true, !dbg !42 %171 = and i1 %167, %170, !dbg !43 %172 = or i1 %165, %171, !dbg !44 %173 = and i1 %169, %167, !dbg !51 %174 = or i1 %166, %173, !dbg !52 %175 = extractelement <4 x i32> %133, i64 3, !dbg !45 %176 = icmp slt i32 %163, %175, !dbg !45 %177 = and i1 %176, %174, !dbg !46 %178 = or i1 %172, %177, !dbg !47 %179 = select i1 %178, float %162, float %164, !dbg !48 %180 = select i1 %178, i32 %163, i32 %175, !dbg !49 %181 = extractelement <4 x float> %130, i64 2, !dbg !38 %182 = fcmp ogt float %179, %181, !dbg !38 %183 = fcmp oeq float %179, %181, !dbg !50 %184 = fcmp uno float %179, 0.000000e+00, !dbg !40 %185 = extractelement <4 x i1> %168, i64 2, !dbg !51 %186 = xor i1 %185, true, !dbg !42 %187 = and i1 %184, %186, !dbg !43 %188 = or i1 %182, %187, !dbg !44 %189 = and i1 %185, %184, !dbg !51 %190 = or i1 %183, %189, !dbg !52 %191 = extractelement <4 x i32> %133, i64 2, !dbg !45 %192 = icmp slt i32 %180, %191, !dbg !45 %193 = and i1 %192, %190, !dbg !46 %194 = or i1 %188, %193, !dbg !47 %195 = select i1 %194, float %179, float %181, !dbg !48 %196 = select i1 %194, i32 %180, i32 %191, !dbg !49 %197 = shufflevector <2 x float> %127, <2 x float> poison, <2 x i32> <i32 1, i32 0>, !dbg !38 %198 = fcmp ogt <2 x float> %127, %197, !dbg !38 %199 = fcmp oeq <2 x float> %127, %197, !dbg !38 %200 = shufflevector <2 x i1> %198, <2 x i1> %199, <2 x i32> <i32 0, i32 3>, !dbg !38 %201 = extractelement <2 x float> %127, i64 0, !dbg !40 %202 = fcmp uno float %201, 0.000000e+00, !dbg !40 %203 = extractelement <2 x float> %127, i64 1, !dbg !41 %204 = fcmp uno float %203, 0.000000e+00, !dbg !41 %205 = xor i1 %204, true, !dbg !42 %206 = insertelement <2 x i1> poison, i1 %202, i64 0, !dbg !43 %207 = shufflevector <2 x i1> %206, <2 x i1> poison, <2 x i32> zeroinitializer, !dbg !43 %208 = insertelement <2 x i1> poison, i1 %205, i64 0, !dbg !43 %209 = insertelement <2 x i1> %208, i1 %204, i64 1, !dbg !43 %210 = and <2 x i1> %207, %209, !dbg !43 %211 = or <2 x i1> %200, %210, !dbg !44 %212 = extractelement <2 x i32> %132, i64 0, !dbg !45 %213 = extractelement <2 x i32> %132, i64 1, !dbg !45 %214 = icmp slt i32 %212, %213, !dbg !45 %215 = extractelement <2 x i1> %211, i64 1, !dbg !46 %216 = and i1 %214, %215, !dbg !46 %217 = extractelement <2 x i1> %211, i64 0, !dbg !47 %218 = or i1 %217, %216, !dbg !47 %219 = select i1 %218, float %201, float %203, !dbg !48 %220 = select i1 %218, i32 %212, i32 %213, !dbg !49 %221 = extractelement <4 x float> %130, i64 1, !dbg !38 %222 = fcmp ogt float %219, %221, !dbg !38 %223 = fcmp oeq float %219, %221, !dbg !50 %224 = fcmp uno float %219, 0.000000e+00, !dbg !40 %225 = extractelement <4 x i1> %168, i64 1, !dbg !51 %226 = xor i1 %225, true, !dbg !42 %227 = and i1 %224, %226, !dbg !43 %228 = or i1 %222, %227, !dbg !44 %229 = and i1 %225, %224, !dbg !51 %230 = or i1 %223, %229, !dbg !52 %231 = extractelement <4 x i32> %133, i64 1, !dbg !45 %232 = icmp slt i32 %220, %231, !dbg !45 %233 = and i1 %232, %230, !dbg !46 %234 = or i1 %228, %233, !dbg !47 %235 = select i1 %234, float %219, float %221, !dbg !48 %236 = select i1 %234, i32 %220, i32 %231, !dbg !49 %237 = extractelement <4 x float> %130, i64 0, !dbg !38 %238 = fcmp ogt float %235, %237, !dbg !38 %239 = fcmp oeq float %235, %237, !dbg !50 %240 = fcmp uno float %235, 0.000000e+00, !dbg !40 %241 = extractelement <4 x i1> %168, i64 0, !dbg !51 %242 = xor i1 %241, true, !dbg !42 %243 = and i1 %240, %242, !dbg !43 %244 = or i1 %238, %243, !dbg !44 %245 = and i1 %241, %240, !dbg !51 %246 = or i1 %239, %245, !dbg !52 %247 = extractelement <4 x i32> %133, i64 0, !dbg !45 %248 = icmp slt i32 %236, %247, !dbg !45 %249 = and i1 %248, %246, !dbg !46 %250 = or i1 %244, %249, !dbg !47 %251 = select i1 %250, float %235, float %237, !dbg !48 %252 = select i1 %250, i32 %236, i32 %247, !dbg !49 %253 = bitcast float %195 to i32, !dbg !53 %254 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %253, i32 16, i32 31), !dbg !53 %255 = bitcast i32 %254 to float, !dbg !53 %256 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %196, i32 16, i32 31), !dbg !53 %257 = fcmp ogt float %195, %255, !dbg !38 %258 = fcmp oeq float %195, %255, !dbg !50 %259 = fcmp uno float %195, 0.000000e+00, !dbg !40 %260 = fcmp uno float %255, 0.000000e+00, !dbg !41 %261 = xor i1 %260, true, !dbg !42 %262 = and i1 %259, %261, !dbg !43 %263 = or i1 %257, %262, !dbg !44 %264 = and i1 %259, %260, !dbg !51 %265 = or i1 %258, %264, !dbg !52 %266 = icmp slt i32 %196, %256, !dbg !45 %267 = and i1 %266, %265, !dbg !46 %268 = or i1 %263, %267, !dbg !47 %269 = select i1 %268, float %195, float %255, !dbg !48 %270 = select i1 %268, i32 %196, i32 %256, !dbg !49 %271 = bitcast float %269 to i32, !dbg !53 %272 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %271, i32 8, i32 31), !dbg !53 %273 = bitcast i32 %272 to float, !dbg !53 %274 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %270, i32 8, i32 31), !dbg !53 %275 = fcmp ogt float %269, %273, !dbg !38 %276 = fcmp oeq float %269, %273, !dbg !50 %277 = fcmp uno float %269, 0.000000e+00, !dbg !40 %278 = fcmp uno float %273, 0.000000e+00, !dbg !41 %279 = xor i1 %278, true, !dbg !42 %280 = and i1 %277, %279, !dbg !43 %281 = or i1 %275, %280, !dbg !44 %282 = and i1 %278, %277, !dbg !51 %283 = or i1 %276, %282, !dbg !52 %284 = icmp slt i32 %270, %274, !dbg !45 %285 = and i1 %284, %283, !dbg !46 %286 = or i1 %281, %285, !dbg !47 %287 = select i1 %286, float %269, float %273, !dbg !48 %288 = select i1 %286, i32 %270, i32 %274, !dbg !49 %289 = bitcast float %287 to i32, !dbg !53 %290 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %289, i32 4, i32 31), !dbg !53 %291 = bitcast i32 %290 to float, !dbg !53 %292 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %288, i32 4, i32 31), !dbg !53 %293 = fcmp ogt float %287, %291, !dbg !38 %294 = fcmp oeq float %287, %291, !dbg !50 %295 = fcmp uno float %287, 0.000000e+00, !dbg !40 %296 = fcmp uno float %291, 0.000000e+00, !dbg !41 %297 = xor i1 %296, true, !dbg !42 %298 = and i1 %295, %297, !dbg !43 %299 = or i1 %293, %298, !dbg !44 %300 = and i1 %296, %295, !dbg !51 %301 = or i1 %294, %300, !dbg !52 %302 = icmp slt i32 %288, %292, !dbg !45 %303 = and i1 %302, %301, !dbg !46 %304 = or i1 %299, %303, !dbg !47 %305 = select i1 %304, float %287, float %291, !dbg !48 %306 = select i1 %304, i32 %288, i32 %292, !dbg !49 %307 = bitcast float %305 to i32, !dbg !53 %308 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %307, i32 2, i32 31), !dbg !53 %309 = bitcast i32 %308 to float, !dbg !53 %310 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %306, i32 2, i32 31), !dbg !53 %311 = fcmp ogt float %305, %309, !dbg !38 %312 = fcmp oeq float %305, %309, !dbg !50 %313 = fcmp uno float %305, 0.000000e+00, !dbg !40 %314 = fcmp uno float %309, 0.000000e+00, !dbg !41 %315 = xor i1 %314, true, !dbg !42 %316 = and i1 %313, %315, !dbg !43 %317 = or i1 %311, %316, !dbg !44 %318 = and i1 %314, %313, !dbg !51 %319 = or i1 %312, %318, !dbg !52 %320 = icmp slt i32 %306, %310, !dbg !45 %321 = and i1 %320, %319, !dbg !46 %322 = or i1 %317, %321, !dbg !47 %323 = select i1 %322, float %305, float %309, !dbg !48 %324 = select i1 %322, i32 %306, i32 %310, !dbg !49 %325 = bitcast float %323 to i32, !dbg !53 %326 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %325, i32 1, i32 31), !dbg !53 %327 = bitcast i32 %326 to float, !dbg !53 %328 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %324, i32 1, i32 31), !dbg !53 %329 = fcmp ogt float %323, %327, !dbg !38 %330 = fcmp oeq float %323, %327, !dbg !50 %331 = fcmp uno float %323, 0.000000e+00, !dbg !40 %332 = fcmp uno float %327, 0.000000e+00, !dbg !41 %333 = xor i1 %332, true, !dbg !42 %334 = and i1 %331, %333, !dbg !43 %335 = or i1 %329, %334, !dbg !44 %336 = and i1 %332, %331, !dbg !51 %337 = or i1 %330, %336, !dbg !52 %338 = icmp slt i32 %324, %328, !dbg !45 %339 = and i1 %338, %337, !dbg !46 %340 = or i1 %335, %339, !dbg !47 %341 = select i1 %340, i32 %324, i32 %328, !dbg !49 %342 = bitcast float %251 to i32, !dbg !53 %343 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %342, i32 16, i32 31), !dbg !53 %344 = bitcast i32 %343 to float, !dbg !53 %345 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %252, i32 16, i32 31), !dbg !53 %346 = fcmp ogt float %251, %344, !dbg !38 %347 = fcmp oeq float %251, %344, !dbg !50 %348 = fcmp uno float %251, 0.000000e+00, !dbg !40 %349 = fcmp uno float %344, 0.000000e+00, !dbg !41 %350 = xor i1 %349, true, !dbg !42 %351 = and i1 %348, %350, !dbg !43 %352 = or i1 %346, %351, !dbg !44 %353 = and i1 %348, %349, !dbg !51 %354 = or i1 %347, %353, !dbg !52 %355 = icmp slt i32 %252, %345, !dbg !45 %356 = and i1 %355, %354, !dbg !46 %357 = or i1 %352, %356, !dbg !47 %358 = select i1 %357, float %251, float %344, !dbg !48 %359 = select i1 %357, i32 %252, i32 %345, !dbg !49 %360 = bitcast float %358 to i32, !dbg !53 %361 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %360, i32 8, i32 31), !dbg !53 %362 = bitcast i32 %361 to float, !dbg !53 %363 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %359, i32 8, i32 31), !dbg !53 %364 = fcmp ogt float %358, %362, !dbg !38 %365 = fcmp oeq float %358, %362, !dbg !50 %366 = fcmp uno float %358, 0.000000e+00, !dbg !40 %367 = fcmp uno float %362, 0.000000e+00, !dbg !41 %368 = xor i1 %367, true, !dbg !42 %369 = and i1 %366, %368, !dbg !43 %370 = or i1 %364, %369, !dbg !44 %371 = and i1 %367, %366, !dbg !51 %372 = or i1 %365, %371, !dbg !52 %373 = icmp slt i32 %359, %363, !dbg !45 %374 = and i1 %373, %372, !dbg !46 %375 = or i1 %370, %374, !dbg !47 %376 = select i1 %375, float %358, float %362, !dbg !48 %377 = select i1 %375, i32 %359, i32 %363, !dbg !49 %378 = bitcast float %376 to i32, !dbg !53 %379 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %378, i32 4, i32 31), !dbg !53 %380 = bitcast i32 %379 to float, !dbg !53 %381 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %377, i32 4, i32 31), !dbg !53 %382 = fcmp ogt float %376, %380, !dbg !38 %383 = fcmp oeq float %376, %380, !dbg !50 %384 = fcmp uno float %376, 0.000000e+00, !dbg !40 %385 = fcmp uno float %380, 0.000000e+00, !dbg !41 %386 = xor i1 %385, true, !dbg !42 %387 = and i1 %384, %386, !dbg !43 %388 = or i1 %382, %387, !dbg !44 %389 = and i1 %385, %384, !dbg !51 %390 = or i1 %383, %389, !dbg !52 %391 = icmp slt i32 %377, %381, !dbg !45 %392 = and i1 %391, %390, !dbg !46 %393 = or i1 %388, %392, !dbg !47 %394 = select i1 %393, float %376, float %380, !dbg !48 %395 = select i1 %393, i32 %377, i32 %381, !dbg !49 %396 = bitcast float %394 to i32, !dbg !53 %397 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %396, i32 2, i32 31), !dbg !53 %398 = bitcast i32 %397 to float, !dbg !53 %399 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %395, i32 2, i32 31), !dbg !53 %400 = fcmp ogt float %394, %398, !dbg !38 %401 = fcmp oeq float %394, %398, !dbg !50 %402 = fcmp uno float %394, 0.000000e+00, !dbg !40 %403 = fcmp uno float %398, 0.000000e+00, !dbg !41 %404 = xor i1 %403, true, !dbg !42 %405 = and i1 %402, %404, !dbg !43 %406 = or i1 %400, %405, !dbg !44 %407 = and i1 %403, %402, !dbg !51 %408 = or i1 %401, %407, !dbg !52 %409 = icmp slt i32 %395, %399, !dbg !45 %410 = and i1 %409, %408, !dbg !46 %411 = or i1 %406, %410, !dbg !47 %412 = select i1 %411, float %394, float %398, !dbg !48 %413 = select i1 %411, i32 %395, i32 %399, !dbg !49 %414 = bitcast float %412 to i32, !dbg !53 %415 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %414, i32 1, i32 31), !dbg !53 %416 = bitcast i32 %415 to float, !dbg !53 %417 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %413, i32 1, i32 31), !dbg !53 %418 = fcmp ogt float %412, %416, !dbg !38 %419 = fcmp oeq float %412, %416, !dbg !50 %420 = fcmp uno float %412, 0.000000e+00, !dbg !40 %421 = fcmp uno float %416, 0.000000e+00, !dbg !41 %422 = xor i1 %421, true, !dbg !42 %423 = and i1 %420, %422, !dbg !43 %424 = or i1 %418, %423, !dbg !44 %425 = and i1 %421, %420, !dbg !51 %426 = or i1 %419, %425, !dbg !52 %427 = icmp slt i32 %413, %417, !dbg !45 %428 = and i1 %427, %426, !dbg !46 %429 = or i1 %424, %428, !dbg !47 %430 = select i1 %429, i32 %413, i32 %417, !dbg !49 %431 = and i32 %139, 3, !dbg !53 %432 = icmp eq i32 %138, 0, !dbg !53 %433 = lshr exact i32 %10, 5, !dbg !53 %434 = or disjoint i32 %433, %431, !dbg !53 %435 = getelementptr float, ptr addrspace(3) @global_smem, i32 %434, !dbg !53 %436 = select i1 %340, i32 %325, i32 %326, !dbg !48 %437 = insertelement <1 x i32> poison, i32 %436, i64 0, !dbg !53 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %435, <1 x i32> %437, i1 %432) #4, !dbg !53 %438 = getelementptr i32, ptr addrspace(3) getelementptr (i8, ptr addrspace(3) @global_smem, i32 128), i32 %434, !dbg !53 %439 = insertelement <1 x i32> poison, i32 %341, i64 0, !dbg !53 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %438, <1 x i32> %439, i1 %432) #4, !dbg !53 %440 = shl nuw nsw i32 %12, 2, !dbg !53 %441 = or disjoint i32 %440, %431, !dbg !53 %442 = getelementptr float, ptr addrspace(3) @global_smem, i32 %441, !dbg !53 %443 = select i1 %429, i32 %414, i32 %415, !dbg !48 %444 = insertelement <1 x i32> poison, i32 %443, i64 0, !dbg !53 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %442, <1 x i32> %444, i1 %432) #4, !dbg !53 %445 = getelementptr i32, ptr addrspace(3) getelementptr (i8, ptr addrspace(3) @global_smem, i32 128), i32 %441, !dbg !53 %446 = insertelement <1 x i32> poison, i32 %430, i64 0, !dbg !53 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %445, <1 x i32> %446, i1 %432) #4, !dbg !53 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !53 %447 = icmp samesign ult i32 %9, 32, !dbg !53 %448 = getelementptr float, ptr addrspace(3) @global_smem, i32 %9, !dbg !53 %449 = tail call i32 asm sideeffect "@$2 ld.shared.b32 $0, [ $1 + 0 ];", "=r,r,b"(ptr addrspace(3) %448, i1 %447) #4, !dbg !53 %450 = bitcast i32 %449 to float, !dbg !53 %451 = getelementptr i32, ptr addrspace(3) getelementptr (i8, ptr addrspace(3) @global_smem, i32 128), i32 %9, !dbg !53 %452 = tail call i32 asm sideeffect "@$2 ld.shared.b32 $0, [ $1 + 0 ];", "=r,r,b"(ptr addrspace(3) %451, i1 %447) #4, !dbg !53 %453 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %449, i32 2, i32 31), !dbg !53 %454 = bitcast i32 %453 to float, !dbg !53 %455 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %452, i32 2, i32 31), !dbg !53 %456 = fcmp ogt float %450, %454, !dbg !38 %457 = fcmp oeq float %450, %454, !dbg !50 %458 = fcmp uno float %450, 0.000000e+00, !dbg !40 %459 = fcmp uno float %454, 0.000000e+00, !dbg !41 %460 = xor i1 %459, true, !dbg !42 %461 = and i1 %458, %460, !dbg !43 %462 = or i1 %456, %461, !dbg !44 %463 = and i1 %458, %459, !dbg !51 %464 = or i1 %457, %463, !dbg !52 %465 = icmp slt i32 %452, %455, !dbg !45 %466 = and i1 %465, %464, !dbg !46 %467 = or i1 %462, %466, !dbg !47 %468 = select i1 %467, float %450, float %454, !dbg !48 %469 = select i1 %467, i32 %452, i32 %455, !dbg !49 %470 = bitcast float %468 to i32, !dbg !53 %471 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %470, i32 1, i32 31), !dbg !53 %472 = bitcast i32 %471 to float, !dbg !53 %473 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %469, i32 1, i32 31), !dbg !53 %474 = fcmp ogt float %468, %472, !dbg !38 %475 = fcmp oeq float %468, %472, !dbg !50 %476 = fcmp uno float %468, 0.000000e+00, !dbg !40 %477 = fcmp uno float %472, 0.000000e+00, !dbg !41 %478 = xor i1 %477, true, !dbg !42 %479 = and i1 %476, %478, !dbg !43 %480 = or i1 %474, %479, !dbg !44 %481 = and i1 %477, %476, !dbg !51 %482 = or i1 %475, %481, !dbg !52 %483 = icmp slt i32 %469, %473, !dbg !45 %484 = and i1 %483, %482, !dbg !46 %485 = or i1 %480, %484, !dbg !47 %486 = select i1 %485, i32 %469, i32 %473, !dbg !49 %487 = and i32 %9, 995, !dbg !53 %488 = icmp eq i32 %487, 0, !dbg !53 %489 = select i1 %485, i32 %470, i32 %471, !dbg !48 %490 = insertelement <1 x i32> poison, i32 %489, i64 0, !dbg !53 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %448, <1 x i32> %490, i1 %488) #4, !dbg !53 %491 = insertelement <1 x i32> poison, i32 %486, i64 0, !dbg !53 tail call void asm sideeffect "@$2 st.shared.b32 [ $0 + 0 ], $1;", "r,r,b"(ptr addrspace(3) %451, <1 x i32> %491, i1 %488) #4, !dbg !53 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !53 %492 = getelementptr i32, ptr addrspace(3) getelementptr (i8, ptr addrspace(3) @global_smem, i32 128), i32 %433, !dbg !53 %493 = load i32, ptr addrspace(3) %492, align 16, !dbg !53 %494 = getelementptr i32, ptr addrspace(3) getelementptr (i8, ptr addrspace(3) @global_smem, i32 128), i32 %440, !dbg !53 %495 = load i32, ptr addrspace(3) %494, align 16, !dbg !53 %496 = sext i32 %137 to i64, !dbg !54 %497 = getelementptr i64, ptr addrspace(1) %1, i64 %496, !dbg !54 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !55 %498 = lshr exact i32 %10, 4, !dbg !55 %499 = getelementptr inbounds nuw i8, ptr addrspace(3) @global_smem, i32 %498, !dbg !55 %500 = insertelement <2 x i32> poison, i32 %493, i64 0, !dbg !55 %501 = insertelement <2 x i32> %500, i32 %495, i64 1, !dbg !55 store <2 x i32> %501, ptr addrspace(3) %499, align 8, !dbg !55 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !55 %502 = shl nuw nsw i32 %9, 3, !dbg !55 %503 = and i32 %502, 24, !dbg !55 %504 = and i32 %9, 4, !dbg !55 %505 = getelementptr inbounds nuw i8, ptr addrspace(3) @global_smem, i32 %503, !dbg !55 %506 = getelementptr inbounds nuw i8, ptr addrspace(3) %505, i32 %504, !dbg !55 %507 = load i32, ptr addrspace(3) %506, align 4, !dbg !55 %508 = sext i32 %507 to i64, !dbg !55 %509 = and i32 %9, 504, !dbg !55 %510 = icmp eq i32 %509, 0, !dbg !55 tail call void asm sideeffect "@$2 st.global.b64 [ $1 + 0 ], { $0 };", "l,l,b"(i64 %508, ptr addrspace(1) %497, i1 %510) #4, !dbg !55 ret void, !dbg !56}
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)declare noundef range(i32 0, 2147483647) i32 @llvm.nvvm.read.ptx.sreg.ctaid.x() #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)declare noundef range(i32 0, 1024) i32 @llvm.nvvm.read.ptx.sreg.tid.x() #1
; Function Attrs: convergent nocallback nounwind memory(inaccessiblemem: readwrite)declare i32 @llvm.nvvm.shfl.sync.bfly.i32(i32, i32, i32, i32) #2
; Function Attrs: convergent nocallback nounwinddeclare void @llvm.nvvm.barrier.cta.sync.aligned.all(i32) #3
attributes #0 = { nounwind "nvvm.reqntid"="512" }attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }attributes #2 = { convergent nocallback nounwind memory(inaccessiblemem: readwrite) }attributes #3 = { convergent nocallback nounwind }attributes #4 = { nounwind }
!llvm.dbg.cu = !{!0}!llvm.module.flags = !{!2, !3}
!0 = distinct !DICompileUnit(language: DW_LANG_C, file: !1, producer: "triton", isOptimized: true, runtimeVersion: 0, emissionKind: LineTablesOnly)!1 = !DIFile(filename: "cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py", directory: "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib")!2 = !{i32 2, !"Debug Info Version", i32 3}!3 = !{i32 4, !"nvvm-reflect-ftz", i32 1}!4 = distinct !DISubprogram(name: "triton_red_fused_argmax_1", linkageName: "triton_red_fused_argmax_1", scope: !1, file: !1, line: 18, type: !5, scopeLine: 18, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0)!5 = !DISubroutineType(cc: DW_CC_normal, types: !6)!6 = !{}!7 = !DILocation(line: 23, column: 28, scope: !4)!8 = !DILocation(line: 23, column: 33, scope: !4)!9 = !DILocation(line: 24, column: 44, scope: !4)!10 = !DILocation(line: 24, column: 23, scope: !4)!11 = !DILocation(line: 26, column: 37, scope: !4)!12 = !DILocation(line: 29, column: 19, scope: !4)!13 = !DILocation(line: 33, column: 40, scope: !4)!14 = !DILocation(line: 34, column: 31, scope: !4)!15 = !DILocation(line: 35, column: 29, scope: !4)!16 = !DILocation(line: 39, column: 52, scope: !4)!17 = !DILocation(line: 39, column: 34, scope: !4)!18 = !DILocation(line: 39, column: 66, scope: !4)!19 = !DILocation(line: 147, column: 29, scope: !20, inlinedAt: !22)!20 = distinct !DILexicalBlockFile(scope: !4, file: !21, discriminator: 0)!21 = !DIFile(filename: "triton_helpers.py", directory: "/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime")!22 = !DILocation(line: 42, column: 38, scope: !4)!23 = !DILocation(line: 154, column: 31, scope: !20, inlinedAt: !22)!24 = !DILocation(line: 155, column: 69, scope: !20, inlinedAt: !22)!25 = !DILocation(line: 144, column: 21, scope: !20, inlinedAt: !22)!26 = !DILocation(line: 145, column: 23, scope: !20, inlinedAt: !22)!27 = !DILocation(line: 148, column: 29, scope: !20, inlinedAt: !22)!28 = !DILocation(line: 149, column: 31, scope: !20, inlinedAt: !22)!29 = !DILocation(line: 149, column: 27, scope: !20, inlinedAt: !22)!30 = !DILocation(line: 149, column: 16, scope: !20, inlinedAt: !22)!31 = !DILocation(line: 151, column: 27, scope: !20, inlinedAt: !22)!32 = !DILocation(line: 151, column: 17, scope: !20, inlinedAt: !22)!33 = !DILocation(line: 154, column: 21, scope: !20, inlinedAt: !22)!34 = !DILocation(line: 154, column: 12, scope: !20, inlinedAt: !22)!35 = !DILocation(line: 155, column: 35, scope: !20, inlinedAt: !22)!36 = !DILocation(line: 44, column: 46, scope: !4)!37 = !DILocation(line: 45, column: 58, scope: !4)!38 = !DILocation(line: 144, column: 21, scope: !20, inlinedAt: !39)!39 = !DILocation(line: 46, column: 75, scope: !4)!40 = !DILocation(line: 147, column: 29, scope: !20, inlinedAt: !39)!41 = !DILocation(line: 148, column: 29, scope: !20, inlinedAt: !39)!42 = !DILocation(line: 149, column: 31, scope: !20, inlinedAt: !39)!43 = !DILocation(line: 149, column: 27, scope: !20, inlinedAt: !39)!44 = !DILocation(line: 149, column: 16, scope: !20, inlinedAt: !39)!45 = !DILocation(line: 154, column: 31, scope: !20, inlinedAt: !39)!46 = !DILocation(line: 154, column: 21, scope: !20, inlinedAt: !39)!47 = !DILocation(line: 154, column: 12, scope: !20, inlinedAt: !39)!48 = !DILocation(line: 155, column: 35, scope: !20, inlinedAt: !39)!49 = !DILocation(line: 155, column: 69, scope: !20, inlinedAt: !39)!50 = !DILocation(line: 145, column: 23, scope: !20, inlinedAt: !39)!51 = !DILocation(line: 151, column: 27, scope: !20, inlinedAt: !39)!52 = !DILocation(line: 151, column: 17, scope: !20, inlinedAt: !39)!53 = !DILocation(line: 165, column: 42, scope: !20, inlinedAt: !39)!54 = !DILocation(line: 48, column: 25, scope: !4)!55 = !DILocation(line: 48, column: 36, scope: !4)!56 = !DILocation(line: 48, column: 4, scope: !4)12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196//// Generated by LLVM NVPTX Back-End//
.version 8.7.target sm_90a.address_size 64
// .globl triton_red_fused_argmax_1 // -- Begin function triton_red_fused_argmax_1.extern .shared .align 16 .b8 global_smem[]; // @triton_red_fused_argmax_1.visible .entry triton_red_fused_argmax_1( .param .u64 .ptr .global .align 1 triton_red_fused_argmax_1_param_0, .param .u64 .ptr .global .align 1 triton_red_fused_argmax_1_param_1, .param .u32 triton_red_fused_argmax_1_param_2, .param .u32 triton_red_fused_argmax_1_param_3, .param .u64 .ptr .global .align 1 triton_red_fused_argmax_1_param_4, .param .u64 .ptr .global .align 1 triton_red_fused_argmax_1_param_5).reqntid 512{ .reg .pred %p<325>; .reg .b32 %r<226>; .reg .b64 %rd<63>; .loc 1 18 0 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:18:0$L__func_begin0: .loc 1 18 0 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:18:0
// %bb.0: ld.param.b64 %rd15, [triton_red_fused_argmax_1_param_1]; ld.param.b64 %rd14, [triton_red_fused_argmax_1_param_0];$L__tmp0: .loc 1 23 28 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:23:28 mov.u32 %r27, %ctaid.x; .loc 1 23 33 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:23:33 shl.b32 %r1, %r27, 3; .loc 1 24 44 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:24:44 mov.u32 %r2, %tid.x; and.b32 %r3, %r2, 384; bfe.u32 %r28, %r2, 7, 2; or.b32 %r4, %r28, 4; .loc 1 24 23 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:24:23 or.b32 %r29, %r28, %r1; or.b32 %r30, %r4, %r1; .loc 1 26 37 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:26:37 shl.b32 %r31, %r2, 2; and.b32 %r32, %r31, 508; .loc 1 29 19 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:29:19 bfe.s32 %r33, %r27, 28, 1; shr.u32 %r34, %r33, 21; add.s32 %r35, %r29, %r34; shr.s32 %r36, %r35, 11; add.s32 %r37, %r30, %r34; shr.s32 %r38, %r37, 11; .loc 1 33 40 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:33:40 cvt.u64.u32 %rd1, %r32; mul.lo.s32 %r39, %r27, 256000; mad.lo.s32 %r40, %r38, 224000, %r39; mul.lo.s32 %r41, %r28, 32000; add.s32 %r42, %r40, %r41; add.s32 %r43, %r42, %r32; cvt.u64.u32 %rd2, %r43; mad.lo.s32 %r44, %r36, 224000, %r39; add.s32 %r45, %r44, %r41; add.s32 %r46, %r45, %r32; cvt.u64.u32 %rd3, %r46; mov.b32 %r47, 0fFF800000; mov.b64 %rd59, {%r47, %r47}; mov.b32 %r218, 2147483647; mov.b64 %rd58, -512; mov.b32 %r219, %r218; mov.b64 %rd60, %rd59; mov.b32 %r220, %r218; mov.b32 %r221, %r218; mov.b64 %rd61, %rd59; mov.b64 %rd62, %rd59; mov.b32 %r222, %r218; mov.b32 %r223, %r218; mov.b32 %r224, %r218; mov.b32 %r225, %r218;$L__BB0_1: // =>This Inner Loop Header: Depth=1 .loc 1 35 29 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:35:29 add.s64 %rd26, %rd1, %rd58; add.s64 %rd27, %rd26, 512; setp.lt.u64 %p1, %rd27, 32000; .loc 1 39 52 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:39:52 add.s64 %rd28, %rd3, %rd58; .loc 1 39 34 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:39:34 add.s64 %rd29, %rd2, %rd58; cvt.u32.u64 %r64, %rd28; add.s32 %r65, %r64, 512; mad.wide.s32 %rd21, %r65, 4, %rd14; cvt.u32.u64 %r66, %rd29; add.s32 %r67, %r66, 128512; mad.wide.s32 %rd24, %r67, 4, %rd14; .loc 1 39 66 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:39:66 // begin inline asm mov.u64 %rd20, 0x0; createpolicy.fractional.L2::evict_first.b64 %rd20, 1.0; // end inline asm mov.b32 %r52, 0; // begin inline asm mov.u32 %r48, %r52; mov.u32 %r49, %r52; mov.u32 %r50, %r52; mov.u32 %r51, %r52; @%p1 ld.global.L1::evict_first.L2::cache_hint.v4.b32 { %r48, %r49, %r50, %r51 }, [ %rd21 + 0 ], %rd20; // end inline asm // begin inline asm mov.u64 %rd23, 0x0; createpolicy.fractional.L2::evict_first.b64 %rd23, 1.0; // end inline asm // begin inline asm mov.u32 %r56, %r52; mov.u32 %r57, %r52; mov.u32 %r58, %r52; mov.u32 %r59, %r52; @%p1 ld.global.L1::evict_first.L2::cache_hint.v4.b32 { %r56, %r57, %r58, %r59 }, [ %rd24 + 0 ], %rd23; // end inline asm$L__tmp1: .loc 2 147 29 // triton_helpers.py:147:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] mov.b64 {%r68, %r69}, %rd59; setp.nan.f32 %p3, %r68, %r68; setp.nan.f32 %p4, %r69, %r69; mov.b64 {%r70, %r71}, %rd61; setp.nan.f32 %p5, %r70, %r70; setp.nan.f32 %p6, %r71, %r71; mov.b64 {%r72, %r73}, %rd62; setp.nan.f32 %p7, %r72, %r72; setp.nan.f32 %p8, %r73, %r73; mov.b64 {%r74, %r75}, %rd60; setp.nan.f32 %p9, %r74, %r74; setp.nan.f32 %p10, %r75, %r75; .loc 2 154 31 // triton_helpers.py:154:31 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] cvt.s64.s32 %rd30, %r219; cvt.s64.s32 %rd31, %r218; cvt.s64.s32 %rd32, %r221; cvt.s64.s32 %rd33, %r220;$L__tmp2: .loc 1 39 66 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:39:66 cvt.u64.u32 %rd34, %r48; cvt.u64.u32 %rd35, %r49; shl.b64 %rd36, %rd35, 32; or.b64 %rd37, %rd34, %rd36;$L__tmp3: .loc 2 148 29 // triton_helpers.py:148:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] mov.b64 {%r76, %r77}, %rd37; .loc 2 144 21 // triton_helpers.py:144:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] setp.gt.f32 %p11, %r69, %r77; setp.gt.f32 %p12, %r68, %r76; .loc 2 145 23 // triton_helpers.py:145:23 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] setp.eq.f32 %p13, %r68, %r76; setp.eq.f32 %p14, %r69, %r77; .loc 2 148 29 // triton_helpers.py:148:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] setp.nan.f32 %p15, %r77, %r77; setp.nan.f32 %p16, %r76, %r76; setp.num.f32 %p17, %r76, %r76; setp.num.f32 %p18, %r77, %r77; .loc 2 149 27 // triton_helpers.py:149:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] and.pred %p19, %p4, %p18; and.pred %p20, %p3, %p17; .loc 2 149 16 // triton_helpers.py:149:16 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] or.pred %p21, %p12, %p20; or.pred %p22, %p11, %p19; .loc 2 151 27 // triton_helpers.py:151:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] and.pred %p23, %p3, %p16; and.pred %p24, %p4, %p15; .loc 2 151 17 // triton_helpers.py:151:17 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] or.pred %p25, %p14, %p24; or.pred %p26, %p13, %p23; .loc 2 154 31 // triton_helpers.py:154:31 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] setp.gt.s64 %p27, %rd27, %rd31; setp.ge.s64 %p28, %rd27, %rd30; .loc 2 154 21 // triton_helpers.py:154:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] and.pred %p29, %p27, %p26; and.pred %p30, %p28, %p25; .loc 2 154 12 // triton_helpers.py:154:12 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] or.pred %p31, %p22, %p30; or.pred %p32, %p21, %p29; .loc 2 155 35 // triton_helpers.py:155:35 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] selp.f32 %r78, %r68, %r76, %p32; selp.f32 %r79, %r69, %r77, %p31; cvt.u32.u64 %r80, %rd27; cvt.u32.u64 %r81, %rd26; add.s32 %r82, %r81, 513; .loc 2 155 69 // triton_helpers.py:155:69 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] selp.b32 %r83, %r218, %r80, %p32; selp.b32 %r84, %r219, %r82, %p31;$L__tmp4: .loc 1 39 66 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:39:66 cvt.u64.u32 %rd38, %r56; cvt.u64.u32 %rd39, %r57; shl.b64 %rd40, %rd39, 32; or.b64 %rd41, %rd38, %rd40;$L__tmp5: .loc 2 148 29 // triton_helpers.py:148:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] mov.b64 {%r85, %r86}, %rd41; .loc 2 144 21 // triton_helpers.py:144:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] setp.gt.f32 %p33, %r75, %r86; setp.gt.f32 %p34, %r74, %r85; .loc 2 145 23 // triton_helpers.py:145:23 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] setp.eq.f32 %p35, %r74, %r85; setp.eq.f32 %p36, %r75, %r86; .loc 2 148 29 // triton_helpers.py:148:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] setp.nan.f32 %p37, %r86, %r86; setp.nan.f32 %p38, %r85, %r85; setp.num.f32 %p39, %r85, %r85; setp.num.f32 %p40, %r86, %r86; .loc 2 149 27 // triton_helpers.py:149:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] and.pred %p41, %p10, %p40; and.pred %p42, %p9, %p39; .loc 2 149 16 // triton_helpers.py:149:16 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] or.pred %p43, %p34, %p42; or.pred %p44, %p33, %p41; .loc 2 151 27 // triton_helpers.py:151:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] and.pred %p45, %p9, %p38; and.pred %p46, %p10, %p37; .loc 2 151 17 // triton_helpers.py:151:17 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] or.pred %p47, %p36, %p46; or.pred %p48, %p35, %p45; .loc 2 154 31 // triton_helpers.py:154:31 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] setp.gt.s64 %p49, %rd27, %rd33; setp.ge.s64 %p50, %rd27, %rd32; .loc 2 154 21 // triton_helpers.py:154:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] and.pred %p51, %p49, %p48; and.pred %p52, %p50, %p47; .loc 2 154 12 // triton_helpers.py:154:12 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] or.pred %p53, %p44, %p52; or.pred %p54, %p43, %p51; .loc 2 155 35 // triton_helpers.py:155:35 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] selp.f32 %r87, %r74, %r85, %p54; selp.f32 %r88, %r75, %r86, %p53; .loc 2 155 69 // triton_helpers.py:155:69 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] selp.b32 %r89, %r220, %r80, %p54; selp.b32 %r90, %r221, %r82, %p53;$L__tmp6: .loc 1 34 31 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:34:31 add.s64 %rd42, %rd26, 515; add.s64 %rd43, %rd26, 514; .loc 1 39 66 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:39:66 cvt.u64.u32 %rd44, %r59; cvt.u64.u32 %rd45, %r58; shl.b64 %rd46, %rd45, 32; or.b64 %rd47, %rd44, %rd46; cvt.u64.u32 %rd48, %r51; cvt.u64.u32 %rd49, %r50; shl.b64 %rd50, %rd49, 32; or.b64 %rd51, %rd48, %rd50;$L__tmp7: .loc 2 148 29 // triton_helpers.py:148:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] mov.b64 {%r91, %r92}, %rd51; .loc 2 144 21 // triton_helpers.py:144:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] setp.gt.f32 %p55, %r73, %r92; setp.gt.f32 %p56, %r72, %r91; .loc 2 148 29 // triton_helpers.py:148:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] mov.b64 {%r93, %r94}, %rd47; .loc 2 144 21 // triton_helpers.py:144:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] setp.gt.f32 %p57, %r71, %r94; setp.gt.f32 %p58, %r70, %r93; .loc 2 145 23 // triton_helpers.py:145:23 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] setp.eq.f32 %p59, %r70, %r93; setp.eq.f32 %p60, %r71, %r94; setp.eq.f32 %p61, %r72, %r91; setp.eq.f32 %p62, %r73, %r92; .loc 2 148 29 // triton_helpers.py:148:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] setp.nan.f32 %p63, %r92, %r92; setp.nan.f32 %p64, %r91, %r91; setp.nan.f32 %p65, %r94, %r94; setp.nan.f32 %p66, %r93, %r93; setp.num.f32 %p67, %r93, %r93; setp.num.f32 %p68, %r94, %r94; setp.num.f32 %p69, %r91, %r91; setp.num.f32 %p70, %r92, %r92; .loc 2 149 27 // triton_helpers.py:149:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] and.pred %p71, %p8, %p70; and.pred %p72, %p7, %p69; and.pred %p73, %p6, %p68; and.pred %p74, %p5, %p67; .loc 2 149 16 // triton_helpers.py:149:16 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] or.pred %p75, %p58, %p74; or.pred %p76, %p57, %p73; or.pred %p77, %p56, %p72; or.pred %p78, %p55, %p71; .loc 2 151 27 // triton_helpers.py:151:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] and.pred %p79, %p5, %p66; and.pred %p80, %p6, %p65; and.pred %p81, %p7, %p64; and.pred %p82, %p8, %p63; .loc 2 151 17 // triton_helpers.py:151:17 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] or.pred %p83, %p62, %p82; or.pred %p84, %p61, %p81; or.pred %p85, %p60, %p80; or.pred %p86, %p59, %p79; .loc 2 154 31 // triton_helpers.py:154:31 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] cvt.s64.s32 %rd52, %r222; cvt.s64.s32 %rd53, %r223; cvt.s64.s32 %rd54, %r224; cvt.s64.s32 %rd55, %r225; setp.gt.s64 %p87, %rd43, %rd55; setp.gt.s64 %p88, %rd42, %rd54; setp.gt.s64 %p89, %rd43, %rd53; setp.gt.s64 %p90, %rd42, %rd52; .loc 2 154 21 // triton_helpers.py:154:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] and.pred %p91, %p90, %p86; and.pred %p92, %p89, %p85; and.pred %p93, %p88, %p84; and.pred %p94, %p87, %p83; .loc 2 154 12 // triton_helpers.py:154:12 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] or.pred %p95, %p78, %p94; or.pred %p96, %p77, %p93; or.pred %p97, %p76, %p92; or.pred %p98, %p75, %p91; .loc 2 155 35 // triton_helpers.py:155:35 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] selp.f32 %r95, %r70, %r93, %p98; selp.f32 %r96, %r71, %r94, %p97; selp.f32 %r97, %r72, %r91, %p96; selp.f32 %r98, %r73, %r92, %p95; .loc 2 155 69 // triton_helpers.py:155:69 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:42:38 ] cvt.u32.u64 %r99, %rd43; cvt.u32.u64 %r100, %rd42; selp.b32 %r101, %r222, %r100, %p98; selp.b32 %r102, %r223, %r99, %p97; selp.b32 %r103, %r224, %r100, %p96; selp.b32 %r104, %r225, %r99, %p95;$L__tmp8: .loc 1 44 46 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:44:46 selp.f32 %r105, %r79, %r69, %p1; selp.f32 %r106, %r78, %r68, %p1; mov.b64 %rd59, {%r106, %r105}; selp.f32 %r107, %r88, %r75, %p1; selp.f32 %r108, %r87, %r74, %p1; mov.b64 %rd60, {%r108, %r107}; selp.f32 %r109, %r98, %r73, %p1; selp.f32 %r110, %r97, %r72, %p1; mov.b64 %rd62, {%r110, %r109}; selp.f32 %r111, %r96, %r71, %p1; selp.f32 %r112, %r95, %r70, %p1; mov.b64 %rd61, {%r112, %r111}; .loc 1 45 58 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:45:58 selp.b32 %r219, %r84, %r219, %p1; selp.b32 %r218, %r83, %r218, %p1; selp.b32 %r221, %r90, %r221, %p1; selp.b32 %r220, %r89, %r220, %p1; selp.b32 %r225, %r104, %r225, %p1; selp.b32 %r224, %r103, %r224, %p1; selp.b32 %r223, %r102, %r223, %p1; selp.b32 %r222, %r101, %r222, %p1; .loc 1 33 40 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:33:40 add.s64 %rd58, %rd58, 512; setp.lt.u64 %p99, %rd58, 31488; @%p99 bra $L__BB0_1;// %bb.2: .loc 1 24 44 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:24:44 and.b32 %r129, %r2, 7; .loc 1 24 23 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:24:23 or.b32 %r130, %r1, %r129; .loc 1 24 44 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:24:44 and.b32 %r131, %r2, 31;$L__tmp9: .loc 2 144 21 // triton_helpers.py:144:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] mov.b64 {%r132, %r133}, %rd59; setp.gt.f32 %p109, %r132, %r133; setp.eq.f32 %p110, %r133, %r132; .loc 2 147 29 // triton_helpers.py:147:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p111, %r132, %r132; .loc 2 148 29 // triton_helpers.py:148:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.num.f32 %p112, %r133, %r133; setp.nan.f32 %p113, %r133, %r133; .loc 2 149 27 // triton_helpers.py:149:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p114, %p111, %p113; and.pred %p115, %p111, %p112; .loc 2 149 16 // triton_helpers.py:149:16 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p116, %p109, %p115; or.pred %p117, %p110, %p114; .loc 2 154 31 // triton_helpers.py:154:31 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.lt.s32 %p118, %r218, %r219; .loc 2 154 21 // triton_helpers.py:154:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p119, %p118, %p117; .loc 2 154 12 // triton_helpers.py:154:12 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p120, %p116, %p119; .loc 2 155 35 // triton_helpers.py:155:35 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.f32 %r134, %r132, %r133, %p120; .loc 2 155 69 // triton_helpers.py:155:69 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.b32 %r135, %r218, %r219, %p120; .loc 2 144 21 // triton_helpers.py:144:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] mov.b64 {%r136, %r137}, %rd62; setp.gt.f32 %p121, %r134, %r137; .loc 2 145 23 // triton_helpers.py:145:23 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.eq.f32 %p122, %r134, %r137; .loc 2 147 29 // triton_helpers.py:147:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p123, %r134, %r134; .loc 2 148 29 // triton_helpers.py:148:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] mov.b64 {%r138, %r139}, %rd61; setp.nan.f32 %p124, %r138, %r138; setp.num.f32 %p125, %r138, %r138; setp.nan.f32 %p126, %r139, %r139; setp.num.f32 %p127, %r139, %r139; setp.nan.f32 %p128, %r136, %r136; setp.num.f32 %p129, %r136, %r136; setp.nan.f32 %p130, %r137, %r137; setp.num.f32 %p131, %r137, %r137; .loc 2 149 27 // triton_helpers.py:149:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p132, %p123, %p131; .loc 2 149 16 // triton_helpers.py:149:16 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p133, %p121, %p132; .loc 2 151 27 // triton_helpers.py:151:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p134, %p130, %p123; .loc 2 151 17 // triton_helpers.py:151:17 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p135, %p122, %p134; .loc 2 154 31 // triton_helpers.py:154:31 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.lt.s32 %p136, %r135, %r225; .loc 2 154 21 // triton_helpers.py:154:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p137, %p136, %p135; .loc 2 154 12 // triton_helpers.py:154:12 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p138, %p133, %p137; .loc 2 155 35 // triton_helpers.py:155:35 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.f32 %r140, %r134, %r137, %p138; .loc 2 155 69 // triton_helpers.py:155:69 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.b32 %r141, %r135, %r225, %p138; .loc 2 144 21 // triton_helpers.py:144:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.gt.f32 %p139, %r140, %r136; .loc 2 145 23 // triton_helpers.py:145:23 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.eq.f32 %p140, %r140, %r136; .loc 2 147 29 // triton_helpers.py:147:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p141, %r140, %r140; .loc 2 149 27 // triton_helpers.py:149:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p142, %p141, %p129; .loc 2 149 16 // triton_helpers.py:149:16 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p143, %p139, %p142; .loc 2 151 27 // triton_helpers.py:151:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p144, %p128, %p141; .loc 2 151 17 // triton_helpers.py:151:17 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p145, %p140, %p144; .loc 2 154 31 // triton_helpers.py:154:31 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.lt.s32 %p146, %r141, %r224; .loc 2 154 21 // triton_helpers.py:154:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p147, %p146, %p145; .loc 2 154 12 // triton_helpers.py:154:12 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p148, %p143, %p147; .loc 2 155 35 // triton_helpers.py:155:35 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.f32 %r142, %r140, %r136, %p148; .loc 2 155 69 // triton_helpers.py:155:69 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.b32 %r143, %r141, %r224, %p148; .loc 2 144 21 // triton_helpers.py:144:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] mov.b64 {%r144, %r145}, %rd60; setp.gt.f32 %p149, %r144, %r145; setp.eq.f32 %p150, %r145, %r144; .loc 2 147 29 // triton_helpers.py:147:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p151, %r144, %r144; .loc 2 148 29 // triton_helpers.py:148:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.num.f32 %p152, %r145, %r145; setp.nan.f32 %p153, %r145, %r145; .loc 2 149 27 // triton_helpers.py:149:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p154, %p151, %p153; and.pred %p155, %p151, %p152; .loc 2 149 16 // triton_helpers.py:149:16 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p156, %p149, %p155; or.pred %p157, %p150, %p154; .loc 2 154 31 // triton_helpers.py:154:31 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.lt.s32 %p158, %r220, %r221; .loc 2 154 21 // triton_helpers.py:154:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p159, %p158, %p157; .loc 2 154 12 // triton_helpers.py:154:12 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p160, %p156, %p159; .loc 2 155 35 // triton_helpers.py:155:35 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.f32 %r146, %r144, %r145, %p160; .loc 2 155 69 // triton_helpers.py:155:69 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.b32 %r147, %r220, %r221, %p160; .loc 2 144 21 // triton_helpers.py:144:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.gt.f32 %p161, %r146, %r139; .loc 2 145 23 // triton_helpers.py:145:23 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.eq.f32 %p162, %r146, %r139; .loc 2 147 29 // triton_helpers.py:147:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p163, %r146, %r146; .loc 2 149 27 // triton_helpers.py:149:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p164, %p163, %p127; .loc 2 149 16 // triton_helpers.py:149:16 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p165, %p161, %p164; .loc 2 151 27 // triton_helpers.py:151:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p166, %p126, %p163; .loc 2 151 17 // triton_helpers.py:151:17 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p167, %p162, %p166; .loc 2 154 31 // triton_helpers.py:154:31 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.lt.s32 %p168, %r147, %r223; .loc 2 154 21 // triton_helpers.py:154:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p169, %p168, %p167; .loc 2 154 12 // triton_helpers.py:154:12 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p170, %p165, %p169; .loc 2 155 35 // triton_helpers.py:155:35 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.f32 %r148, %r146, %r139, %p170; .loc 2 155 69 // triton_helpers.py:155:69 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.b32 %r149, %r147, %r223, %p170; .loc 2 144 21 // triton_helpers.py:144:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.gt.f32 %p171, %r148, %r138; .loc 2 145 23 // triton_helpers.py:145:23 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.eq.f32 %p172, %r148, %r138; .loc 2 147 29 // triton_helpers.py:147:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p173, %r148, %r148; .loc 2 149 27 // triton_helpers.py:149:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p174, %p173, %p125; .loc 2 149 16 // triton_helpers.py:149:16 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p175, %p171, %p174; .loc 2 151 27 // triton_helpers.py:151:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p176, %p124, %p173; .loc 2 151 17 // triton_helpers.py:151:17 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p177, %p172, %p176; .loc 2 154 31 // triton_helpers.py:154:31 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.lt.s32 %p178, %r149, %r222; .loc 2 154 21 // triton_helpers.py:154:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p179, %p178, %p177; .loc 2 154 12 // triton_helpers.py:154:12 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p180, %p175, %p179; .loc 2 155 35 // triton_helpers.py:155:35 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.f32 %r150, %r148, %r138, %p180; .loc 2 155 69 // triton_helpers.py:155:69 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.b32 %r151, %r149, %r222, %p180; .loc 2 165 42 // triton_helpers.py:165:42 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] shfl.sync.bfly.b32 %r152, %r142, 16, 31, -1; shfl.sync.bfly.b32 %r153, %r143, 16, 31, -1; .loc 2 144 21 // triton_helpers.py:144:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.gt.f32 %p181, %r142, %r152; .loc 2 145 23 // triton_helpers.py:145:23 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.eq.f32 %p182, %r142, %r152; .loc 2 147 29 // triton_helpers.py:147:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p183, %r142, %r142; .loc 2 148 29 // triton_helpers.py:148:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p184, %r152, %r152; setp.num.f32 %p185, %r152, %r152; .loc 2 149 27 // triton_helpers.py:149:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p186, %p183, %p185; .loc 2 149 16 // triton_helpers.py:149:16 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p187, %p181, %p186; .loc 2 151 27 // triton_helpers.py:151:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p188, %p183, %p184; .loc 2 151 17 // triton_helpers.py:151:17 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p189, %p182, %p188; .loc 2 154 31 // triton_helpers.py:154:31 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.lt.s32 %p190, %r143, %r153; .loc 2 154 21 // triton_helpers.py:154:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p191, %p190, %p189; .loc 2 154 12 // triton_helpers.py:154:12 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p192, %p187, %p191; .loc 2 155 35 // triton_helpers.py:155:35 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.f32 %r154, %r142, %r152, %p192; .loc 2 155 69 // triton_helpers.py:155:69 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.b32 %r155, %r143, %r153, %p192; .loc 2 165 42 // triton_helpers.py:165:42 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] shfl.sync.bfly.b32 %r156, %r154, 8, 31, -1; shfl.sync.bfly.b32 %r157, %r155, 8, 31, -1; .loc 2 144 21 // triton_helpers.py:144:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.gt.f32 %p193, %r154, %r156; .loc 2 145 23 // triton_helpers.py:145:23 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.eq.f32 %p194, %r154, %r156; .loc 2 147 29 // triton_helpers.py:147:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p195, %r154, %r154; .loc 2 148 29 // triton_helpers.py:148:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p196, %r156, %r156; setp.num.f32 %p197, %r156, %r156; .loc 2 149 27 // triton_helpers.py:149:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p198, %p195, %p197; .loc 2 149 16 // triton_helpers.py:149:16 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p199, %p193, %p198; .loc 2 151 27 // triton_helpers.py:151:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p200, %p196, %p195; .loc 2 151 17 // triton_helpers.py:151:17 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p201, %p194, %p200; .loc 2 154 31 // triton_helpers.py:154:31 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.lt.s32 %p202, %r155, %r157; .loc 2 154 21 // triton_helpers.py:154:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p203, %p202, %p201; .loc 2 154 12 // triton_helpers.py:154:12 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p204, %p199, %p203; .loc 2 155 35 // triton_helpers.py:155:35 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.f32 %r158, %r154, %r156, %p204; .loc 2 155 69 // triton_helpers.py:155:69 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.b32 %r159, %r155, %r157, %p204; .loc 2 165 42 // triton_helpers.py:165:42 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] shfl.sync.bfly.b32 %r160, %r158, 4, 31, -1; shfl.sync.bfly.b32 %r161, %r159, 4, 31, -1; .loc 2 144 21 // triton_helpers.py:144:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.gt.f32 %p205, %r158, %r160; .loc 2 145 23 // triton_helpers.py:145:23 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.eq.f32 %p206, %r158, %r160; .loc 2 147 29 // triton_helpers.py:147:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p207, %r158, %r158; .loc 2 148 29 // triton_helpers.py:148:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p208, %r160, %r160; setp.num.f32 %p209, %r160, %r160; .loc 2 149 27 // triton_helpers.py:149:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p210, %p207, %p209; .loc 2 149 16 // triton_helpers.py:149:16 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p211, %p205, %p210; .loc 2 151 27 // triton_helpers.py:151:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p212, %p208, %p207; .loc 2 151 17 // triton_helpers.py:151:17 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p213, %p206, %p212; .loc 2 154 31 // triton_helpers.py:154:31 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.lt.s32 %p214, %r159, %r161; .loc 2 154 21 // triton_helpers.py:154:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p215, %p214, %p213; .loc 2 154 12 // triton_helpers.py:154:12 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p216, %p211, %p215; .loc 2 155 35 // triton_helpers.py:155:35 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.f32 %r162, %r158, %r160, %p216; .loc 2 155 69 // triton_helpers.py:155:69 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.b32 %r163, %r159, %r161, %p216; .loc 2 165 42 // triton_helpers.py:165:42 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] shfl.sync.bfly.b32 %r164, %r162, 2, 31, -1; shfl.sync.bfly.b32 %r165, %r163, 2, 31, -1; .loc 2 144 21 // triton_helpers.py:144:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.gt.f32 %p217, %r162, %r164; .loc 2 145 23 // triton_helpers.py:145:23 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.eq.f32 %p218, %r162, %r164; .loc 2 147 29 // triton_helpers.py:147:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p219, %r162, %r162; .loc 2 148 29 // triton_helpers.py:148:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p220, %r164, %r164; setp.num.f32 %p221, %r164, %r164; .loc 2 149 27 // triton_helpers.py:149:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p222, %p219, %p221; .loc 2 149 16 // triton_helpers.py:149:16 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p223, %p217, %p222; .loc 2 151 27 // triton_helpers.py:151:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p224, %p220, %p219; .loc 2 151 17 // triton_helpers.py:151:17 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p225, %p218, %p224; .loc 2 154 31 // triton_helpers.py:154:31 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.lt.s32 %p226, %r163, %r165; .loc 2 154 21 // triton_helpers.py:154:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p227, %p226, %p225; .loc 2 154 12 // triton_helpers.py:154:12 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p228, %p223, %p227; .loc 2 155 35 // triton_helpers.py:155:35 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.f32 %r166, %r162, %r164, %p228; .loc 2 155 69 // triton_helpers.py:155:69 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.b32 %r167, %r163, %r165, %p228; .loc 2 165 42 // triton_helpers.py:165:42 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] shfl.sync.bfly.b32 %r168, %r166, 1, 31, -1; shfl.sync.bfly.b32 %r169, %r167, 1, 31, -1; .loc 2 144 21 // triton_helpers.py:144:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.gt.f32 %p229, %r166, %r168; .loc 2 145 23 // triton_helpers.py:145:23 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.eq.f32 %p230, %r166, %r168; .loc 2 147 29 // triton_helpers.py:147:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p231, %r166, %r166; .loc 2 148 29 // triton_helpers.py:148:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p232, %r168, %r168; setp.num.f32 %p233, %r168, %r168; .loc 2 149 27 // triton_helpers.py:149:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p234, %p231, %p233; .loc 2 149 16 // triton_helpers.py:149:16 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p235, %p229, %p234; .loc 2 151 27 // triton_helpers.py:151:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p236, %p232, %p231; .loc 2 151 17 // triton_helpers.py:151:17 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p237, %p230, %p236; .loc 2 154 31 // triton_helpers.py:154:31 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.lt.s32 %p238, %r167, %r169; .loc 2 154 21 // triton_helpers.py:154:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p239, %p238, %p237; .loc 2 154 12 // triton_helpers.py:154:12 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p240, %p235, %p239; .loc 2 155 69 // triton_helpers.py:155:69 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.b32 %r116, %r167, %r169, %p240; .loc 2 165 42 // triton_helpers.py:165:42 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] shfl.sync.bfly.b32 %r170, %r150, 16, 31, -1; shfl.sync.bfly.b32 %r171, %r151, 16, 31, -1; .loc 2 144 21 // triton_helpers.py:144:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.gt.f32 %p241, %r150, %r170; .loc 2 145 23 // triton_helpers.py:145:23 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.eq.f32 %p242, %r150, %r170; .loc 2 147 29 // triton_helpers.py:147:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p243, %r150, %r150; .loc 2 148 29 // triton_helpers.py:148:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p244, %r170, %r170; setp.num.f32 %p245, %r170, %r170; .loc 2 149 27 // triton_helpers.py:149:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p246, %p243, %p245; .loc 2 149 16 // triton_helpers.py:149:16 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p247, %p241, %p246; .loc 2 151 27 // triton_helpers.py:151:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p248, %p243, %p244; .loc 2 151 17 // triton_helpers.py:151:17 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p249, %p242, %p248; .loc 2 154 31 // triton_helpers.py:154:31 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.lt.s32 %p250, %r151, %r171; .loc 2 154 21 // triton_helpers.py:154:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p251, %p250, %p249; .loc 2 154 12 // triton_helpers.py:154:12 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p252, %p247, %p251; .loc 2 155 35 // triton_helpers.py:155:35 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.f32 %r172, %r150, %r170, %p252; .loc 2 155 69 // triton_helpers.py:155:69 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.b32 %r173, %r151, %r171, %p252; .loc 2 165 42 // triton_helpers.py:165:42 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] shfl.sync.bfly.b32 %r174, %r172, 8, 31, -1; shfl.sync.bfly.b32 %r175, %r173, 8, 31, -1; .loc 2 144 21 // triton_helpers.py:144:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.gt.f32 %p253, %r172, %r174; .loc 2 145 23 // triton_helpers.py:145:23 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.eq.f32 %p254, %r172, %r174; .loc 2 147 29 // triton_helpers.py:147:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p255, %r172, %r172; .loc 2 148 29 // triton_helpers.py:148:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p256, %r174, %r174; setp.num.f32 %p257, %r174, %r174; .loc 2 149 27 // triton_helpers.py:149:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p258, %p255, %p257; .loc 2 149 16 // triton_helpers.py:149:16 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p259, %p253, %p258; .loc 2 151 27 // triton_helpers.py:151:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p260, %p256, %p255; .loc 2 151 17 // triton_helpers.py:151:17 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p261, %p254, %p260; .loc 2 154 31 // triton_helpers.py:154:31 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.lt.s32 %p262, %r173, %r175; .loc 2 154 21 // triton_helpers.py:154:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p263, %p262, %p261; .loc 2 154 12 // triton_helpers.py:154:12 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p264, %p259, %p263; .loc 2 155 35 // triton_helpers.py:155:35 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.f32 %r176, %r172, %r174, %p264; .loc 2 155 69 // triton_helpers.py:155:69 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.b32 %r177, %r173, %r175, %p264; .loc 2 165 42 // triton_helpers.py:165:42 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] shfl.sync.bfly.b32 %r178, %r176, 4, 31, -1; shfl.sync.bfly.b32 %r179, %r177, 4, 31, -1; .loc 2 144 21 // triton_helpers.py:144:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.gt.f32 %p265, %r176, %r178; .loc 2 145 23 // triton_helpers.py:145:23 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.eq.f32 %p266, %r176, %r178; .loc 2 147 29 // triton_helpers.py:147:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p267, %r176, %r176; .loc 2 148 29 // triton_helpers.py:148:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p268, %r178, %r178; setp.num.f32 %p269, %r178, %r178; .loc 2 149 27 // triton_helpers.py:149:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p270, %p267, %p269; .loc 2 149 16 // triton_helpers.py:149:16 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p271, %p265, %p270; .loc 2 151 27 // triton_helpers.py:151:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p272, %p268, %p267; .loc 2 151 17 // triton_helpers.py:151:17 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p273, %p266, %p272; .loc 2 154 31 // triton_helpers.py:154:31 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.lt.s32 %p274, %r177, %r179; .loc 2 154 21 // triton_helpers.py:154:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p275, %p274, %p273; .loc 2 154 12 // triton_helpers.py:154:12 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p276, %p271, %p275; .loc 2 155 35 // triton_helpers.py:155:35 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.f32 %r180, %r176, %r178, %p276; .loc 2 155 69 // triton_helpers.py:155:69 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.b32 %r181, %r177, %r179, %p276; .loc 2 165 42 // triton_helpers.py:165:42 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] shfl.sync.bfly.b32 %r182, %r180, 2, 31, -1; shfl.sync.bfly.b32 %r183, %r181, 2, 31, -1; .loc 2 144 21 // triton_helpers.py:144:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.gt.f32 %p277, %r180, %r182; .loc 2 145 23 // triton_helpers.py:145:23 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.eq.f32 %p278, %r180, %r182; .loc 2 147 29 // triton_helpers.py:147:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p279, %r180, %r180; .loc 2 148 29 // triton_helpers.py:148:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p280, %r182, %r182; setp.num.f32 %p281, %r182, %r182; .loc 2 149 27 // triton_helpers.py:149:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p282, %p279, %p281; .loc 2 149 16 // triton_helpers.py:149:16 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p283, %p277, %p282; .loc 2 151 27 // triton_helpers.py:151:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p284, %p280, %p279; .loc 2 151 17 // triton_helpers.py:151:17 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p285, %p278, %p284; .loc 2 154 31 // triton_helpers.py:154:31 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.lt.s32 %p286, %r181, %r183; .loc 2 154 21 // triton_helpers.py:154:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p287, %p286, %p285; .loc 2 154 12 // triton_helpers.py:154:12 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p288, %p283, %p287; .loc 2 155 35 // triton_helpers.py:155:35 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.f32 %r184, %r180, %r182, %p288; .loc 2 155 69 // triton_helpers.py:155:69 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.b32 %r185, %r181, %r183, %p288; .loc 2 165 42 // triton_helpers.py:165:42 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] shfl.sync.bfly.b32 %r186, %r184, 1, 31, -1; shfl.sync.bfly.b32 %r187, %r185, 1, 31, -1; .loc 2 144 21 // triton_helpers.py:144:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.gt.f32 %p289, %r184, %r186; .loc 2 145 23 // triton_helpers.py:145:23 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.eq.f32 %p290, %r184, %r186; .loc 2 147 29 // triton_helpers.py:147:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p291, %r184, %r184; .loc 2 148 29 // triton_helpers.py:148:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p292, %r186, %r186; setp.num.f32 %p293, %r186, %r186; .loc 2 149 27 // triton_helpers.py:149:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p294, %p291, %p293; .loc 2 149 16 // triton_helpers.py:149:16 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p295, %p289, %p294; .loc 2 151 27 // triton_helpers.py:151:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p296, %p292, %p291; .loc 2 151 17 // triton_helpers.py:151:17 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p297, %p290, %p296; .loc 2 154 31 // triton_helpers.py:154:31 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.lt.s32 %p298, %r185, %r187; .loc 2 154 21 // triton_helpers.py:154:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p299, %p298, %p297; .loc 2 154 12 // triton_helpers.py:154:12 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p300, %p295, %p299; .loc 2 155 69 // triton_helpers.py:155:69 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.b32 %r120, %r185, %r187, %p300; .loc 2 165 42 // triton_helpers.py:165:42 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] bfe.u32 %r188, %r2, 5, 2; setp.eq.b32 %p100, %r131, 0; shr.u32 %r189, %r3, 5; or.b32 %r190, %r189, %r188; shl.b32 %r191, %r190, 2; mov.b32 %r192, global_smem; add.s32 %r113, %r192, %r191; .loc 2 155 35 // triton_helpers.py:155:35 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.b32 %r114, %r166, %r168, %p240; .loc 2 165 42 // triton_helpers.py:165:42 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] // begin inline asm @%p100 st.shared.b32 [ %r113 + 0 ], %r114; // end inline asm add.s32 %r193, %r192, 128; add.s32 %r115, %r193, %r191; // begin inline asm @%p100 st.shared.b32 [ %r115 + 0 ], %r116; // end inline asm shl.b32 %r194, %r188, 2; shl.b32 %r195, %r4, 4; or.b32 %r196, %r195, %r194; add.s32 %r117, %r192, %r196; .loc 2 155 35 // triton_helpers.py:155:35 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.b32 %r118, %r184, %r186, %p300; .loc 2 165 42 // triton_helpers.py:165:42 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] // begin inline asm @%p100 st.shared.b32 [ %r117 + 0 ], %r118; // end inline asm add.s32 %r119, %r193, %r196; // begin inline asm @%p100 st.shared.b32 [ %r119 + 0 ], %r120; // end inline asm bar.sync 0; setp.lt.u32 %p104, %r2, 32; add.s32 %r122, %r192, %r31; // begin inline asm @%p104 ld.shared.b32 %r121, [ %r122 + 0 ]; // end inline asm add.s32 %r124, %r193, %r31; // begin inline asm @%p104 ld.shared.b32 %r123, [ %r124 + 0 ]; // end inline asm shfl.sync.bfly.b32 %r198, %r121, 2, 31, -1; shfl.sync.bfly.b32 %r199, %r123, 2, 31, -1; .loc 2 144 21 // triton_helpers.py:144:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.gt.f32 %p301, %r121, %r198; .loc 2 145 23 // triton_helpers.py:145:23 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.eq.f32 %p302, %r121, %r198; .loc 2 147 29 // triton_helpers.py:147:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p303, %r121, %r121; .loc 2 148 29 // triton_helpers.py:148:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p304, %r198, %r198; setp.num.f32 %p305, %r198, %r198; .loc 2 149 27 // triton_helpers.py:149:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p306, %p303, %p305; .loc 2 149 16 // triton_helpers.py:149:16 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p307, %p301, %p306; .loc 2 151 27 // triton_helpers.py:151:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p308, %p303, %p304; .loc 2 151 17 // triton_helpers.py:151:17 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p309, %p302, %p308; .loc 2 154 31 // triton_helpers.py:154:31 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.lt.s32 %p310, %r123, %r199; .loc 2 154 21 // triton_helpers.py:154:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p311, %p310, %p309; .loc 2 154 12 // triton_helpers.py:154:12 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p312, %p307, %p311; .loc 2 155 35 // triton_helpers.py:155:35 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.f32 %r200, %r121, %r198, %p312; .loc 2 155 69 // triton_helpers.py:155:69 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.b32 %r201, %r123, %r199, %p312; .loc 2 165 42 // triton_helpers.py:165:42 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] shfl.sync.bfly.b32 %r202, %r200, 1, 31, -1; shfl.sync.bfly.b32 %r203, %r201, 1, 31, -1; .loc 2 144 21 // triton_helpers.py:144:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.gt.f32 %p313, %r200, %r202; .loc 2 145 23 // triton_helpers.py:145:23 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.eq.f32 %p314, %r200, %r202; .loc 2 147 29 // triton_helpers.py:147:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p315, %r200, %r200; .loc 2 148 29 // triton_helpers.py:148:29 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.nan.f32 %p316, %r202, %r202; setp.num.f32 %p317, %r202, %r202; .loc 2 149 27 // triton_helpers.py:149:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p318, %p315, %p317; .loc 2 149 16 // triton_helpers.py:149:16 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p319, %p313, %p318; .loc 2 151 27 // triton_helpers.py:151:27 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p320, %p316, %p315; .loc 2 151 17 // triton_helpers.py:151:17 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p321, %p314, %p320; .loc 2 154 31 // triton_helpers.py:154:31 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] setp.lt.s32 %p322, %r201, %r203; .loc 2 154 21 // triton_helpers.py:154:21 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.pred %p323, %p322, %p321; .loc 2 154 12 // triton_helpers.py:154:12 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] or.pred %p324, %p319, %p323; .loc 2 155 69 // triton_helpers.py:155:69 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.b32 %r128, %r201, %r203, %p324; .loc 2 165 42 // triton_helpers.py:165:42 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] and.b32 %r204, %r2, 995; setp.eq.b32 %p106, %r204, 0; .loc 2 155 35 // triton_helpers.py:155:35 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] selp.b32 %r126, %r200, %r202, %p324; .loc 2 165 42 // triton_helpers.py:165:42 @[ cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:46:75 ] // begin inline asm @%p106 st.shared.b32 [ %r122 + 0 ], %r126; // end inline asm // begin inline asm @%p106 st.shared.b32 [ %r124 + 0 ], %r128; // end inline asm bar.sync 0; shr.u32 %r205, %r3, 3; add.s32 %r206, %r193, %r205; ld.shared.b32 %r207, [%r206]; add.s32 %r208, %r193, %r195; ld.shared.b32 %r209, [%r208];$L__tmp10: .loc 1 48 25 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:48:25 mad.wide.s32 %rd57, %r130, 8, %rd15; .loc 1 48 36 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:48:36 bar.sync 0; shr.u32 %r210, %r3, 4; add.s32 %r211, %r192, %r210; st.shared.v2.b32 [%r211], {%r207, %r209}; bar.sync 0; shl.b32 %r212, %r2, 3; and.b32 %r213, %r212, 24; and.b32 %r214, %r2, 4; add.s32 %r215, %r192, %r213; add.s32 %r216, %r215, %r214; ld.shared.s32 %rd56, [%r216]; and.b32 %r217, %r2, 504; setp.eq.b32 %p108, %r217, 0; // begin inline asm @%p108 st.global.b64 [ %rd57 + 0 ], { %rd56 }; // end inline asm .loc 1 48 4 // cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py:48:4 ret;$L__tmp11:$L__func_end0: // -- End function} .file 1 "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py" .file 2 "/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py" .section .debug_abbrev {.b8 1 // Abbreviation Code.b8 17 // DW_TAG_compile_unit.b8 1 // DW_CHILDREN_yes.b8 37 // DW_AT_producer.b8 8 // DW_FORM_string.b8 19 // DW_AT_language.b8 5 // DW_FORM_data2.b8 3 // DW_AT_name.b8 8 // DW_FORM_string.b8 16 // DW_AT_stmt_list.b8 6 // DW_FORM_data4.b8 27 // DW_AT_comp_dir.b8 8 // DW_FORM_string.b8 0 // EOM(1).b8 0 // EOM(2).b8 2 // Abbreviation Code.b8 46 // DW_TAG_subprogram.b8 0 // DW_CHILDREN_no.b8 3 // DW_AT_name.b8 8 // DW_FORM_string.b8 32 // DW_AT_inline.b8 11 // DW_FORM_data1.b8 0 // EOM(1).b8 0 // EOM(2).b8 3 // Abbreviation Code.b8 46 // DW_TAG_subprogram.b8 1 // DW_CHILDREN_yes.b8 17 // DW_AT_low_pc.b8 1 // DW_FORM_addr.b8 18 // DW_AT_high_pc.b8 1 // DW_FORM_addr.b8 49 // DW_AT_abstract_origin.b8 19 // DW_FORM_ref4.b8 0 // EOM(1).b8 0 // EOM(2).b8 4 // Abbreviation Code.b8 29 // DW_TAG_inlined_subroutine.b8 0 // DW_CHILDREN_no.b8 49 // DW_AT_abstract_origin.b8 19 // DW_FORM_ref4.b8 17 // DW_AT_low_pc.b8 1 // DW_FORM_addr.b8 18 // DW_AT_high_pc.b8 1 // DW_FORM_addr.b8 88 // DW_AT_call_file.b8 11 // DW_FORM_data1.b8 89 // DW_AT_call_line.b8 11 // DW_FORM_data1.b8 87 // DW_AT_call_column.b8 11 // DW_FORM_data1.b8 0 // EOM(1).b8 0 // EOM(2).b8 0 // EOM(3) } .section .debug_info {.b32 234 // Length of Unit.b8 2 // DWARF version number.b8 0.b32 .debug_abbrev // Offset Into Abbrev. Section.b8 8 // Address Size (in bytes).b8 1 // Abbrev [1] 0xb:0xe3 DW_TAG_compile_unit.b8 116 // DW_AT_producer.b8 114.b8 105.b8 116.b8 111.b8 110.b8 0.b8 2 // DW_AT_language.b8 0.b8 99 // DW_AT_name.b8 105.b8 98.b8 119.b8 110.b8 52.b8 52.b8 53.b8 111.b8 120.b8 116.b8 115.b8 107.b8 106.b8 53.b8 103.b8 117.b8 52.b8 55.b8 120.b8 119.b8 112.b8 121.b8 104.b8 101.b8 105.b8 116.b8 51.b8 114.b8 55.b8 99.b8 101.b8 120.b8 117.b8 55.b8 50.b8 109.b8 108.b8 52.b8 113.b8 119.b8 51.b8 104.b8 55.b8 107.b8 109.b8 101.b8 117.b8 105.b8 108.b8 114.b8 115.b8 46.b8 112.b8 121.b8 0.b32 .debug_line // DW_AT_stmt_list.b8 47 // DW_AT_comp_dir.b8 119.b8 111.b8 114.b8 107.b8 115.b8 112.b8 97.b8 99.b8 101.b8 47.b8 104.b8 97.b8 110.b8 114.b8 117.b8 105.b8 47.b8 83.b8 112.b8 101.b8 99.b8 70.b8 111.b8 114.b8 103.b8 101.b8 45.b8 101.b8 120.b8 116.b8 47.b8 99.b8 97.b8 99.b8 104.b8 101.b8 47.b8 99.b8 111.b8 109.b8 112.b8 105.b8 108.b8 101.b8 100.b8 95.b8 107.b8 101.b8 114.b8 110.b8 101.b8 108.b8 115.b8 47.b8 105.b8 98.b8 0.b8 2 // Abbrev [2] 0x8b:0x1c DW_TAG_subprogram.b8 116 // DW_AT_name.b8 114.b8 105.b8 116.b8 111.b8 110.b8 95.b8 114.b8 101.b8 100.b8 95.b8 102.b8 117.b8 115.b8 101.b8 100.b8 95.b8 97.b8 114.b8 103.b8 109.b8 97.b8 120.b8 95.b8 49.b8 0.b8 1 // DW_AT_inline.b8 3 // Abbrev [3] 0xa7:0x46 DW_TAG_subprogram.b64 $L__func_begin0 // DW_AT_low_pc.b64 $L__func_end0 // DW_AT_high_pc.b32 139 // DW_AT_abstract_origin.b8 4 // Abbrev [4] 0xbc:0x18 DW_TAG_inlined_subroutine.b32 139 // DW_AT_abstract_origin.b64 $L__tmp1 // DW_AT_low_pc.b64 $L__tmp8 // DW_AT_high_pc.b8 1 // DW_AT_call_file.b8 42 // DW_AT_call_line.b8 38 // DW_AT_call_column.b8 4 // Abbrev [4] 0xd4:0x18 DW_TAG_inlined_subroutine.b32 139 // DW_AT_abstract_origin.b64 $L__tmp9 // DW_AT_low_pc.b64 $L__tmp10 // DW_AT_high_pc.b8 1 // DW_AT_call_file.b8 46 // DW_AT_call_line.b8 75 // DW_AT_call_column.b8 0 // End Of Children Mark.b8 0 // End Of Children Mark } .section .debug_macinfo { }123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315#loc = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":18:0)#loc33 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":143:0)#loc45 = loc(unknown)#loc53 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":86:0)#loc57 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":63:0)#loc66 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":164:0)#loc70 = loc("in_ptr0"(#loc))#loc71 = loc("out_ptr0"(#loc))#loc72 = loc("xnumel"(#loc))#loc73 = loc("r0_numel"(#loc))#loc100 = loc("a_value"(#loc33))#loc101 = loc("a_index"(#loc33))#loc102 = loc("b_value"(#loc33))#loc103 = loc("b_index"(#loc33))#loc116 = loc("x"(#loc53))#loc117 = loc("x"(#loc57))#loc118 = loc("value"(#loc66))#loc119 = loc("index"(#loc66))module { tt.func public @triton_red_fused_argmax_1(%in_ptr0: !tt.ptr<f32> {tt.divisibility = 16 : i32} loc("in_ptr0"(#loc)), %out_ptr0: !tt.ptr<i64> {tt.divisibility = 16 : i32} loc("out_ptr0"(#loc)), %xnumel: i32 {tt.divisibility = 16 : i32} loc("xnumel"(#loc)), %r0_numel: i32 {tt.divisibility = 16 : i32} loc("r0_numel"(#loc))) attributes {noinline = false} { %xnumel_0 = arith.constant 16384 : i32 loc(#loc74) %r0_numel_1 = arith.constant 32000 : i32 loc(#loc75) %xoffset = tt.get_program_id x : i32 loc(#loc76) %xoffset_2 = arith.constant 8 : i32 loc(#loc77) %xoffset_3 = arith.constant 8 : i32 loc(#loc77) %xoffset_4 = arith.muli %xoffset, %xoffset_3 : i32 loc(#loc77) %xindex = tt.make_range {end = 8 : i32, start = 0 : i32} : tensor<8xi32> loc(#loc78) %xindex_5 = tt.expand_dims %xindex {axis = 1 : i32} : tensor<8xi32> -> tensor<8x1xi32> loc(#loc79) %xindex_6 = tt.splat %xoffset_4 : i32 -> tensor<8x1xi32> loc(#loc80) %xindex_7 = arith.addi %xindex_6, %xindex_5 : tensor<8x1xi32> loc(#loc80) %xmask = arith.constant true loc(#loc81) %xmask_8 = arith.constant dense<true> : tensor<8x512xi1> loc(#loc81) %r0_base = tt.make_range {end = 512 : i32, start = 0 : i32} : tensor<512xi32> loc(#loc82) %r0_base_9 = tt.expand_dims %r0_base {axis = 0 : i32} : tensor<512xi32> -> tensor<1x512xi32> loc(#loc83) %x0 = arith.constant 2048 : i32 loc(#loc84) %x0_10 = arith.constant 2048 : i32 loc(#loc84) %x0_11 = arith.constant dense<2048> : tensor<8x1xi32> loc(#loc84) %x0_12 = arith.remsi %xindex_7, %x0_11 : tensor<8x1xi32> loc(#loc84) %x1 = arith.constant 2048 : i32 loc(#loc85) %x1_13 = arith.constant 2048 : i32 loc(#loc85) %x1_14 = arith.constant dense<2048> : tensor<8x1xi32> loc(#loc85) %x1_15 = arith.divsi %xindex_7, %x1_14 : tensor<8x1xi32> loc(#loc85) %_tmp2 = arith.constant 0xFF800000 : f32 loc(#loc86) %_tmp2_16 = arith.constant dense<0xFF800000> : tensor<8x512xf32> loc(#loc86) %_tmp2_index = arith.constant 2147483647 : i32 loc(#loc87) %_tmp2_index_17 = arith.constant dense<2147483647> : tensor<8x512xi32> loc(#loc87) %c0_i32 = arith.constant 0 : i32 loc(#loc15) %c512_i32 = arith.constant 512 : i32 loc(#loc15) %0 = arith.bitcast %c0_i32 : i32 to i32 loc(#loc15) %1 = arith.bitcast %r0_numel_1 : i32 to i32 loc(#loc15) %2 = arith.bitcast %c512_i32 : i32 to i32 loc(#loc15) %3 = ub.poison : i32 loc(#loc15) %_tmp2_index_18:2 = scf.for %r0_offset = %0 to %1 step %2 iter_args(%_tmp2_19 = %_tmp2_16, %_tmp2_index_20 = %_tmp2_index_17) -> (tensor<8x512xf32>, tensor<8x512xi32>) : i32 { %r0_index = tt.splat %r0_offset : i32 -> tensor<1x512xi32> loc(#loc89) %r0_index_21 = arith.addi %r0_index, %r0_base_9 : tensor<1x512xi32> loc(#loc89) %r0_mask = arith.constant dense<32000> : tensor<1x512xi32> loc(#loc90) %r0_mask_22 = arith.cmpi slt, %r0_index_21, %r0_mask : tensor<1x512xi32> loc(#loc90) %tmp0 = arith.constant 32000 : i32 loc(#loc91) %tmp0_23 = arith.constant 32000 : i32 loc(#loc91) %tmp0_24 = arith.constant dense<32000> : tensor<8x1xi32> loc(#loc91) %tmp0_25 = arith.muli %tmp0_24, %x0_12 : tensor<8x1xi32> loc(#loc91) %tmp0_26 = tt.broadcast %r0_index_21 : tensor<1x512xi32> -> tensor<8x512xi32> loc(#loc92) %tmp0_27 = tt.broadcast %tmp0_25 : tensor<8x1xi32> -> tensor<8x512xi32> loc(#loc92) %tmp0_28 = arith.addi %tmp0_26, %tmp0_27 : tensor<8x512xi32> loc(#loc92) %tmp0_29 = arith.constant 65760000 : i32 loc(#loc93) %tmp0_30 = arith.constant 65760000 : i32 loc(#loc93) %tmp0_31 = arith.constant dense<65760000> : tensor<8x1xi32> loc(#loc93) %tmp0_32 = arith.muli %tmp0_31, %x1_15 : tensor<8x1xi32> loc(#loc93) %tmp0_33 = tt.broadcast %tmp0_32 : tensor<8x1xi32> -> tensor<8x512xi32> loc(#loc94) %tmp0_34 = arith.addi %tmp0_28, %tmp0_33 : tensor<8x512xi32> loc(#loc94) %tmp0_35 = tt.splat %in_ptr0 : !tt.ptr<f32> -> tensor<8x512x!tt.ptr<f32>> loc(#loc95) %tmp0_36 = tt.addptr %tmp0_35, %tmp0_34 : tensor<8x512x!tt.ptr<f32>>, tensor<8x512xi32> loc(#loc95) %tmp0_37 = arith.constant 0.000000e+00 : f32 loc(#loc96) %tmp0_38 = tt.broadcast %r0_mask_22 : tensor<1x512xi1> -> tensor<8x512xi1> loc(#loc96) %tmp0_39 = arith.constant dense<0.000000e+00> : tensor<8x512xf32> loc(#loc96) %tmp0_40 = tt.load %tmp0_36, %tmp0_38, %tmp0_39 evictionPolicy = evict_first : tensor<8x512x!tt.ptr<f32>> loc(#loc96) %8:2 = tt.call @torch._inductor.runtime.triton_helpers.maximum_with_index__fp32S8_512S_i32S8_512S_fp32S8_512S_i32S1_512S__(%_tmp2_19, %_tmp2_index_20, %tmp0_40, %r0_index_21) : (tensor<8x512xf32>, tensor<8x512xi32>, tensor<8x512xf32>, tensor<1x512xi32>) -> (tensor<8x512xf32>, tensor<8x512xi32>) loc(#loc24) %_tmp2_41 = tt.broadcast %r0_mask_22 : tensor<1x512xi1> -> tensor<8x512xi1> loc(#loc97) %_tmp2_42 = arith.select %_tmp2_41, %8#0, %_tmp2_19 : tensor<8x512xi1>, tensor<8x512xf32> loc(#loc97) %_tmp2_index_43 = tt.broadcast %r0_mask_22 : tensor<1x512xi1> -> tensor<8x512xi1> loc(#loc98) %_tmp2_index_44 = arith.select %_tmp2_index_43, %8#1, %_tmp2_index_20 : tensor<8x512xi1>, tensor<8x512xi32> loc(#loc98) scf.yield %_tmp2_42, %_tmp2_index_44 : tensor<8x512xf32>, tensor<8x512xi32> loc(#loc27) } loc(#loc120) %4:2 = tt.call @"torch._inductor.runtime.triton_helpers.max_with_index__fp32S8_512S_i32S8_512S__(2,)cconstexpr_1_"(%_tmp2_index_18#0, %_tmp2_index_18#1) : (tensor<8x512xf32>, tensor<8x512xi32>) -> (tensor<8xf32>, tensor<8xi32>) loc(#loc28) %tmp2 = tt.expand_dims %4#1 {axis = 1 : i32} : tensor<8xi32> -> tensor<8x1xi32> loc(#loc99) %5 = tt.splat %out_ptr0 : !tt.ptr<i64> -> tensor<8x1x!tt.ptr<i64>> loc(#loc30) %6 = tt.addptr %5, %xindex_7 : tensor<8x1x!tt.ptr<i64>>, tensor<8x1xi32> loc(#loc30) %7 = arith.extsi %tmp2 : tensor<8x1xi32> to tensor<8x1xi64> loc(#loc31) tt.store %6, %7 : tensor<8x1x!tt.ptr<i64>> loc(#loc31) tt.return loc(#loc32) } loc(#loc) tt.func private @torch._inductor.runtime.triton_helpers.maximum_with_index__fp32S8_512S_i32S8_512S_fp32S8_512S_i32S1_512S__(%a_value: tensor<8x512xf32> loc("a_value"(#loc33)), %a_index: tensor<8x512xi32> loc("a_index"(#loc33)), %b_value: tensor<8x512xf32> loc("b_value"(#loc33)), %b_index: tensor<1x512xi32> loc("b_index"(#loc33))) -> (tensor<8x512xf32>, tensor<8x512xi32>) attributes {noinline = false} { %mask = arith.cmpf ogt, %a_value, %b_value : tensor<8x512xf32> loc(#loc121) %equal = arith.cmpf oeq, %a_value, %b_value : tensor<8x512xf32> loc(#loc122) %0 = tt.call @torch._inductor.runtime.triton_helpers.is_floating__fp32S8_512S__(%a_value) : (tensor<8x512xf32>) -> i1 loc(#loc36) %1:2 = scf.if %0 -> (tensor<8x512xi1>, tensor<8x512xi1>) { %a_isnan = arith.cmpf une, %a_value, %a_value : tensor<8x512xf32> loc(#loc106) %b_isnan = arith.cmpf une, %b_value, %b_value : tensor<8x512xf32> loc(#loc107) %mask_4 = arith.constant true loc(#loc108) %mask_5 = arith.constant dense<true> : tensor<8x512xi1> loc(#loc108) %mask_6 = arith.xori %b_isnan, %mask_5 : tensor<8x512xi1> loc(#loc108) %mask_7 = arith.andi %a_isnan, %mask_6 : tensor<8x512xi1> loc(#loc109) %mask_8 = arith.ori %mask, %mask_7 : tensor<8x512xi1> loc(#loc123) %equal_9 = arith.andi %a_isnan, %b_isnan : tensor<8x512xi1> loc(#loc111) %equal_10 = arith.ori %equal, %equal_9 : tensor<8x512xi1> loc(#loc124) scf.yield %mask_8, %equal_10 : tensor<8x512xi1>, tensor<8x512xi1> loc(#loc124) } else { scf.yield %mask, %equal : tensor<8x512xi1>, tensor<8x512xi1> loc(#loc45) } loc(#loc37) %mask_0 = tt.broadcast %b_index : tensor<1x512xi32> -> tensor<8x512xi32> loc(#loc113) %mask_1 = arith.cmpi slt, %a_index, %mask_0 : tensor<8x512xi32> loc(#loc113) %mask_2 = arith.andi %1#1, %mask_1 : tensor<8x512xi1> loc(#loc114) %mask_3 = arith.ori %1#0, %mask_2 : tensor<8x512xi1> loc(#loc115) %2 = arith.select %mask_3, %a_value, %b_value : tensor<8x512xi1>, tensor<8x512xf32> loc(#loc49) %3 = tt.broadcast %b_index : tensor<1x512xi32> -> tensor<8x512xi32> loc(#loc50) %4 = arith.select %mask_3, %a_index, %3 : tensor<8x512xi1>, tensor<8x512xi32> loc(#loc50) tt.return %2, %4 : tensor<8x512xf32>, tensor<8x512xi32> loc(#loc51) ^bb1: // no predecessors %5 = ub.poison : tensor<8x512xf32> loc(#loc52) %6 = ub.poison : tensor<8x512xi32> loc(#loc52) tt.return %5, %6 : tensor<8x512xf32>, tensor<8x512xi32> loc(#loc52) } loc(#loc33) tt.func private @torch._inductor.runtime.triton_helpers.is_floating__fp32S8_512S__(%x: tensor<8x512xf32> loc("x"(#loc53))) -> i1 attributes {noinline = false} { %0 = tt.call @torch._inductor.runtime.triton_helpers.promote_to_tensor__fp32S8_512S__(%x) : (tensor<8x512xf32>) -> tensor<8x512xf32> loc(#loc54) %true = arith.constant true loc(#loc55) tt.return %true : i1 loc(#loc55) ^bb1: // no predecessors %1 = ub.poison : i1 loc(#loc56) tt.return %1 : i1 loc(#loc56) } loc(#loc53) tt.func private @torch._inductor.runtime.triton_helpers.promote_to_tensor__fp32S8_512S__(%x: tensor<8x512xf32> loc("x"(#loc57))) -> tensor<8x512xf32> attributes {noinline = false} { %0 = tt.call @"triton.language.standard.zeros____(0, 0)cconstexpr_1__(1,)cconstexpr_int1_"() : () -> tensor<1xi1> loc(#loc58) %1 = arith.uitofp %0 : tensor<1xi1> to tensor<1xf32> loc(#loc59) %2 = tt.expand_dims %1 {axis = 0 : i32} : tensor<1xf32> -> tensor<1x1xf32> loc(#loc59) %3 = tt.broadcast %2 : tensor<1x1xf32> -> tensor<8x512xf32> loc(#loc59) %4 = arith.addf %x, %3 : tensor<8x512xf32> loc(#loc59) tt.return %4 : tensor<8x512xf32> loc(#loc60) ^bb1: // no predecessors %5 = ub.poison : tensor<8x512xf32> loc(#loc61) tt.return %5 : tensor<8x512xf32> loc(#loc61) } loc(#loc57) tt.func private @"triton.language.standard.zeros____(0, 0)cconstexpr_1__(1,)cconstexpr_int1_"() -> tensor<1xi1> attributes {noinline = false} { %false = arith.constant false loc(#loc63) %cst = arith.constant dense<false> : tensor<1xi1> loc(#loc63) tt.return %cst : tensor<1xi1> loc(#loc64) ^bb1: // no predecessors %0 = ub.poison : tensor<1xi1> loc(#loc65) tt.return %0 : tensor<1xi1> loc(#loc65) } loc(#loc62) tt.func private @"torch._inductor.runtime.triton_helpers.max_with_index__fp32S8_512S_i32S8_512S__(2,)cconstexpr_1_"(%value: tensor<8x512xf32> loc("value"(#loc66)), %index: tensor<8x512xi32> loc("index"(#loc66))) -> (tensor<8xf32>, tensor<8xi32>) attributes {noinline = false} { %0:2 = "tt.reduce"(%value, %index) <{axis = 1 : i32}> ({ ^bb0(%arg2: f32 loc(unknown), %arg3: i32 loc(unknown), %arg4: f32 loc(unknown), %arg5: i32 loc(unknown)): %3:2 = tt.call @torch._inductor.runtime.triton_helpers.maximum_with_index__fp32_i32_fp32_i32__(%arg2, %arg3, %arg4, %arg5) : (f32, i32, f32, i32) -> (f32, i32) loc(#loc67) tt.reduce.return %3#0, %3#1 : f32, i32 loc(#loc67) }) : (tensor<8x512xf32>, tensor<8x512xi32>) -> (tensor<8xf32>, tensor<8xi32>) loc(#loc67) tt.return %0#0, %0#1 : tensor<8xf32>, tensor<8xi32> loc(#loc68) ^bb1: // no predecessors %1 = ub.poison : tensor<8xf32> loc(#loc69) %2 = ub.poison : tensor<8xi32> loc(#loc69) tt.return %1, %2 : tensor<8xf32>, tensor<8xi32> loc(#loc69) } loc(#loc66) tt.func private @torch._inductor.runtime.triton_helpers.maximum_with_index__fp32_i32_fp32_i32__(%a_value: f32 loc("a_value"(#loc33)), %a_index: i32 loc("a_index"(#loc33)), %b_value: f32 loc("b_value"(#loc33)), %b_index: i32 loc("b_index"(#loc33))) -> (f32, i32) attributes {noinline = false} { %mask = arith.cmpf ogt, %a_value, %b_value : f32 loc(#loc121) %equal = arith.cmpf oeq, %a_value, %b_value : f32 loc(#loc122) %0 = tt.call @torch._inductor.runtime.triton_helpers.is_floating__fp32__(%a_value) : (f32) -> i1 loc(#loc36) %1:2 = scf.if %0 -> (i1, i1) { %a_isnan = arith.cmpf une, %a_value, %a_value : f32 loc(#loc106) %b_isnan = arith.cmpf une, %b_value, %b_value : f32 loc(#loc107) %mask_3 = arith.constant true loc(#loc108) %mask_4 = arith.xori %b_isnan, %mask_3 : i1 loc(#loc108) %mask_5 = arith.andi %a_isnan, %mask_4 : i1 loc(#loc109) %mask_6 = arith.ori %mask, %mask_5 : i1 loc(#loc123) %equal_7 = arith.andi %a_isnan, %b_isnan : i1 loc(#loc111) %equal_8 = arith.ori %equal, %equal_7 : i1 loc(#loc124) scf.yield %mask_6, %equal_8 : i1, i1 loc(#loc124) } else { scf.yield %mask, %equal : i1, i1 loc(#loc45) } loc(#loc37) %mask_0 = arith.cmpi slt, %a_index, %b_index : i32 loc(#loc113) %mask_1 = arith.andi %1#1, %mask_0 : i1 loc(#loc114) %mask_2 = arith.ori %1#0, %mask_1 : i1 loc(#loc115) %2 = arith.select %mask_2, %a_value, %b_value : f32 loc(#loc49) %3 = arith.select %mask_2, %a_index, %b_index : i32 loc(#loc50) tt.return %2, %3 : f32, i32 loc(#loc51) ^bb1: // no predecessors %4 = ub.poison : f32 loc(#loc52) %5 = ub.poison : i32 loc(#loc52) tt.return %4, %5 : f32, i32 loc(#loc52) } loc(#loc33) tt.func private @torch._inductor.runtime.triton_helpers.is_floating__fp32__(%x: f32 loc("x"(#loc53))) -> i1 attributes {noinline = false} { %0 = tt.call @torch._inductor.runtime.triton_helpers.promote_to_tensor__fp32__(%x) : (f32) -> tensor<1xf32> loc(#loc54) %true = arith.constant true loc(#loc55) tt.return %true : i1 loc(#loc55) ^bb1: // no predecessors %1 = ub.poison : i1 loc(#loc56) tt.return %1 : i1 loc(#loc56) } loc(#loc53) tt.func private @torch._inductor.runtime.triton_helpers.promote_to_tensor__fp32__(%x: f32 loc("x"(#loc57))) -> tensor<1xf32> attributes {noinline = false} { %0 = tt.call @"triton.language.standard.zeros____(0, 0)cconstexpr_1__(1,)cconstexpr_int1_"() : () -> tensor<1xi1> loc(#loc58) %1 = arith.uitofp %0 : tensor<1xi1> to tensor<1xf32> loc(#loc59) %2 = tt.splat %x : f32 -> tensor<1xf32> loc(#loc59) %3 = arith.addf %2, %1 : tensor<1xf32> loc(#loc59) tt.return %3 : tensor<1xf32> loc(#loc60) ^bb1: // no predecessors %4 = ub.poison : tensor<1xf32> loc(#loc61) tt.return %4 : tensor<1xf32> loc(#loc61) } loc(#loc57)} loc(#loc)#loc1 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":19:13)#loc2 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":20:15)#loc3 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":23:28)#loc4 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":23:33)#loc5 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":24:36)#loc6 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":24:44)#loc7 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":24:23)#loc8 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":25:46)#loc9 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":26:27)#loc10 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":26:37)#loc11 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":28:19)#loc12 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":29:19)#loc13 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":30:55)#loc14 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":31:58)#loc15 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":33:40)#loc16 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":34:31)#loc17 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":35:29)#loc18 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":39:47)#loc19 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":39:41)#loc20 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":39:61)#loc21 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":39:52)#loc22 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":39:34)#loc23 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":39:66)#loc24 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":42:38)#loc25 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":44:46)#loc26 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":45:58)#loc27 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":45:8)#loc28 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":46:75)#loc29 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":47:20)#loc30 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":48:25)#loc31 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":48:36)#loc32 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":48:4)#loc34 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":144:21)#loc35 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":145:23)#loc36 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":146:19)#loc37 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":146:7)#loc38 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":147:29)#loc39 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":148:29)#loc40 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":149:31)#loc41 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":149:27)#loc42 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":149:16)#loc43 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":151:27)#loc44 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":151:17)#loc46 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":154:31)#loc47 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":154:21)#loc48 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":154:12)#loc49 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":155:35)#loc50 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":155:69)#loc51 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":155:11)#loc52 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":155:4)#loc54 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":87:29)#loc55 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":87:11)#loc56 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":87:4)#loc58 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":65:30)#loc59 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":65:15)#loc60 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":65:11)#loc61 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":65:4)#loc62 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":118:0)#loc63 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":127:31)#loc64 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":127:11)#loc65 = loc("/workspace/specforge/lib/python3.11/site-packages/triton/language/standard.py":127:4)#loc67 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":165:42)#loc68 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":165:11)#loc69 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":165:4)#loc74 = loc("xnumel"(#loc1))#loc75 = loc("r0_numel"(#loc2))#loc76 = loc("xoffset"(#loc3))#loc77 = loc("xoffset"(#loc4))#loc78 = loc("xindex"(#loc5))#loc79 = loc("xindex"(#loc6))#loc80 = loc("xindex"(#loc7))#loc81 = loc("xmask"(#loc8))#loc82 = loc("r0_base"(#loc9))#loc83 = loc("r0_base"(#loc10))#loc84 = loc("x0"(#loc11))#loc85 = loc("x1"(#loc12))#loc86 = loc("_tmp2"(#loc13))#loc87 = loc("_tmp2_index"(#loc14))#loc88 = loc("_tmp2"(#loc15))#loc89 = loc("r0_index"(#loc16))#loc90 = loc("r0_mask"(#loc17))#loc91 = loc("tmp0"(#loc18))#loc92 = loc("tmp0"(#loc19))#loc93 = loc("tmp0"(#loc20))#loc94 = loc("tmp0"(#loc21))#loc95 = loc("tmp0"(#loc22))#loc96 = loc("tmp0"(#loc23))#loc97 = loc("_tmp2"(#loc25))#loc98 = loc("_tmp2_index"(#loc26))#loc99 = loc("tmp2"(#loc29))#loc104 = loc("mask"(#loc34))#loc105 = loc("equal"(#loc35))#loc106 = loc("a_isnan"(#loc38))#loc107 = loc("b_isnan"(#loc39))#loc108 = loc("mask"(#loc40))#loc109 = loc("mask"(#loc41))#loc110 = loc("mask"(#loc42))#loc111 = loc("equal"(#loc43))#loc112 = loc("equal"(#loc44))#loc113 = loc("mask"(#loc46))#loc114 = loc("mask"(#loc47))#loc115 = loc("mask"(#loc48))#loc120 = loc("_tmp2_index"(#loc88))#loc121 = loc("mask"(#loc104))#loc122 = loc("equal"(#loc105))#loc123 = loc("mask"(#loc110))#loc124 = loc("equal"(#loc112))123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203#blocked = #ttg.blocked<{sizePerThread = [1, 4], threadsPerWarp = [1, 32], warpsPerCTA = [4, 4], order = [1, 0]}>#blocked1 = #ttg.blocked<{sizePerThread = [1, 1], threadsPerWarp = [8, 4], warpsPerCTA = [1, 16], order = [0, 1]}>#loc = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":18:0)#loc1 = loc(unknown)#loc37 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":46:75)#loc42 = loc("in_ptr0"(#loc))#loc43 = loc("out_ptr0"(#loc))#loc44 = loc("xnumel"(#loc))#loc45 = loc("r0_numel"(#loc))#loc79 = loc(callsite(#loc1 at #loc37))module attributes {"ttg.num-ctas" = 1 : i32, "ttg.num-warps" = 16 : i32, ttg.target = "cuda:90", "ttg.threads-per-warp" = 32 : i32} { tt.func public @triton_red_fused_argmax_1(%in_ptr0: !tt.ptr<f32> {tt.divisibility = 16 : i32} loc("in_ptr0"(#loc)), %out_ptr0: !tt.ptr<i64> {tt.divisibility = 16 : i32} loc("out_ptr0"(#loc)), %xnumel: i32 {tt.divisibility = 16 : i32} loc("xnumel"(#loc)), %r0_numel: i32 {tt.divisibility = 16 : i32} loc("r0_numel"(#loc))) attributes {noinline = false} { %cst = arith.constant dense<65760000> : tensor<8x1xi32, #blocked> loc(#loc1) %cst_0 = arith.constant dense<32000> : tensor<8x1xi32, #blocked> loc(#loc1) %cst_1 = arith.constant dense<32000> : tensor<1x512xi32, #blocked> loc(#loc1) %cst_2 = arith.constant dense<2048> : tensor<8x1xi32, #blocked> loc(#loc1) %c8_i32 = arith.constant 8 : i32 loc(#loc1) %cst_3 = arith.constant dense<0.000000e+00> : tensor<8x512xf32, #blocked> loc(#loc1) %c0_i32 = arith.constant 0 : i32 loc(#loc1) %c32000_i32 = arith.constant 32000 : i32 loc(#loc1) %c512_i32 = arith.constant 512 : i32 loc(#loc1) %true = arith.constant true loc(#loc1) %cst_4 = arith.constant dense<true> : tensor<8x512xi1, #blocked> loc(#loc1) %cst_5 = arith.constant dense<2147483647> : tensor<8x512xi32, #blocked> loc(#loc1) %cst_6 = arith.constant dense<0xFF800000> : tensor<8x512xf32, #blocked> loc(#loc1) %xoffset = tt.get_program_id x : i32 loc(#loc46) %xoffset_7 = arith.muli %xoffset, %c8_i32 : i32 loc(#loc47) %xindex = tt.make_range {end = 8 : i32, start = 0 : i32} : tensor<8xi32, #ttg.slice<{dim = 1, parent = #blocked}>> loc(#loc48) %xindex_8 = tt.make_range {end = 8 : i32, start = 0 : i32} : tensor<8xi32, #ttg.slice<{dim = 1, parent = #blocked1}>> loc(#loc48) %xindex_9 = tt.expand_dims %xindex {axis = 1 : i32} : tensor<8xi32, #ttg.slice<{dim = 1, parent = #blocked}>> -> tensor<8x1xi32, #blocked> loc(#loc48) %xindex_10 = tt.expand_dims %xindex_8 {axis = 1 : i32} : tensor<8xi32, #ttg.slice<{dim = 1, parent = #blocked1}>> -> tensor<8x1xi32, #blocked1> loc(#loc48) %xindex_11 = tt.splat %xoffset_7 : i32 -> tensor<8x1xi32, #blocked> loc(#loc49) %xindex_12 = tt.splat %xoffset_7 : i32 -> tensor<8x1xi32, #blocked1> loc(#loc49) %xindex_13 = arith.addi %xindex_11, %xindex_9 : tensor<8x1xi32, #blocked> loc(#loc49) %xindex_14 = arith.addi %xindex_12, %xindex_10 : tensor<8x1xi32, #blocked1> loc(#loc49) %r0_base = tt.make_range {end = 512 : i32, start = 0 : i32} : tensor<512xi32, #ttg.slice<{dim = 0, parent = #blocked}>> loc(#loc50) %r0_base_15 = tt.expand_dims %r0_base {axis = 0 : i32} : tensor<512xi32, #ttg.slice<{dim = 0, parent = #blocked}>> -> tensor<1x512xi32, #blocked> loc(#loc50) %x0 = arith.remsi %xindex_13, %cst_2 : tensor<8x1xi32, #blocked> loc(#loc51) %x1 = arith.divsi %xindex_13, %cst_2 : tensor<8x1xi32, #blocked> loc(#loc52) %tmp0 = arith.muli %x0, %cst_0 : tensor<8x1xi32, #blocked> loc(#loc53) %tmp0_16 = tt.broadcast %tmp0 : tensor<8x1xi32, #blocked> -> tensor<8x512xi32, #blocked> loc(#loc54) %tmp0_17 = arith.muli %x1, %cst : tensor<8x1xi32, #blocked> loc(#loc55) %tmp0_18 = tt.broadcast %tmp0_17 : tensor<8x1xi32, #blocked> -> tensor<8x512xi32, #blocked> loc(#loc56) %tmp0_19 = tt.splat %in_ptr0 : !tt.ptr<f32> -> tensor<8x512x!tt.ptr<f32>, #blocked> loc(#loc57) %_tmp2_index:2 = scf.for %_tmp2_index_20 = %c0_i32 to %c32000_i32 step %c512_i32 iter_args(%_tmp2 = %cst_6, %_tmp2_index_21 = %cst_5) -> (tensor<8x512xf32, #blocked>, tensor<8x512xi32, #blocked>) : i32 { %r0_index = tt.splat %_tmp2_index_20 : i32 -> tensor<1x512xi32, #blocked> loc(#loc59) %r0_index_22 = arith.addi %r0_index, %r0_base_15 : tensor<1x512xi32, #blocked> loc(#loc59) %r0_mask = arith.cmpi slt, %r0_index_22, %cst_1 : tensor<1x512xi32, #blocked> loc(#loc60) %tmp0_23 = tt.broadcast %r0_index_22 : tensor<1x512xi32, #blocked> -> tensor<8x512xi32, #blocked> loc(#loc54) %tmp0_24 = arith.addi %tmp0_23, %tmp0_16 : tensor<8x512xi32, #blocked> loc(#loc54) %tmp0_25 = arith.addi %tmp0_24, %tmp0_18 : tensor<8x512xi32, #blocked> loc(#loc56) %tmp0_26 = tt.addptr %tmp0_19, %tmp0_25 : tensor<8x512x!tt.ptr<f32>, #blocked>, tensor<8x512xi32, #blocked> loc(#loc57) %tmp0_27 = tt.broadcast %r0_mask : tensor<1x512xi1, #blocked> -> tensor<8x512xi1, #blocked> loc(#loc61) %tmp0_28 = tt.load %tmp0_26, %tmp0_27, %cst_3 evictionPolicy = evict_first : tensor<8x512x!tt.ptr<f32>, #blocked> loc(#loc61) %mask = arith.cmpf ogt, %_tmp2, %tmp0_28 : tensor<8x512xf32, #blocked> loc(#loc104) %equal = arith.cmpf oeq, %_tmp2, %tmp0_28 : tensor<8x512xf32, #blocked> loc(#loc105) %a_isnan = arith.cmpf une, %_tmp2, %_tmp2 : tensor<8x512xf32, #blocked> loc(#loc84) %b_isnan = arith.cmpf une, %tmp0_28, %tmp0_28 : tensor<8x512xf32, #blocked> loc(#loc85) %mask_29 = arith.xori %b_isnan, %cst_4 : tensor<8x512xi1, #blocked> loc(#loc86) %mask_30 = arith.andi %a_isnan, %mask_29 : tensor<8x512xi1, #blocked> loc(#loc87) %mask_31 = arith.ori %mask, %mask_30 : tensor<8x512xi1, #blocked> loc(#loc106) %equal_32 = arith.andi %a_isnan, %b_isnan : tensor<8x512xi1, #blocked> loc(#loc89) %equal_33 = arith.ori %equal, %equal_32 : tensor<8x512xi1, #blocked> loc(#loc107) %mask_34 = arith.cmpi slt, %_tmp2_index_21, %tmp0_23 : tensor<8x512xi32, #blocked> loc(#loc91) %mask_35 = arith.andi %equal_33, %mask_34 : tensor<8x512xi1, #blocked> loc(#loc92) %mask_36 = arith.ori %mask_31, %mask_35 : tensor<8x512xi1, #blocked> loc(#loc93) %5 = arith.select %mask_36, %_tmp2, %tmp0_28 : tensor<8x512xi1, #blocked>, tensor<8x512xf32, #blocked> loc(#loc74) %6 = arith.select %mask_36, %_tmp2_index_21, %tmp0_23 : tensor<8x512xi1, #blocked>, tensor<8x512xi32, #blocked> loc(#loc75) %_tmp2_37 = arith.select %tmp0_27, %5, %_tmp2 : tensor<8x512xi1, #blocked>, tensor<8x512xf32, #blocked> loc(#loc76) %_tmp2_index_38 = arith.select %tmp0_27, %6, %_tmp2_index_21 : tensor<8x512xi1, #blocked>, tensor<8x512xi32, #blocked> loc(#loc77) scf.yield %_tmp2_37, %_tmp2_index_38 : tensor<8x512xf32, #blocked>, tensor<8x512xi32, #blocked> loc(#loc35) } loc(#loc81) %0:2 = "tt.reduce"(%_tmp2_index#0, %_tmp2_index#1) <{axis = 1 : i32}> ({ ^bb0(%arg4: f32 loc(callsite(#loc1 at #loc37)), %arg5: i32 loc(callsite(#loc1 at #loc37)), %arg6: f32 loc(callsite(#loc1 at #loc37)), %arg7: i32 loc(callsite(#loc1 at #loc37))): %mask = arith.cmpf ogt, %arg4, %arg6 : f32 loc(#loc108) %equal = arith.cmpf oeq, %arg4, %arg6 : f32 loc(#loc109) %a_isnan = arith.cmpf une, %arg4, %arg4 : f32 loc(#loc94) %b_isnan = arith.cmpf une, %arg6, %arg6 : f32 loc(#loc95) %mask_20 = arith.xori %b_isnan, %true : i1 loc(#loc96) %mask_21 = arith.andi %a_isnan, %mask_20 : i1 loc(#loc97) %mask_22 = arith.ori %mask, %mask_21 : i1 loc(#loc110) %equal_23 = arith.andi %a_isnan, %b_isnan : i1 loc(#loc98) %equal_24 = arith.ori %equal, %equal_23 : i1 loc(#loc111) %mask_25 = arith.cmpi slt, %arg5, %arg7 : i32 loc(#loc99) %mask_26 = arith.andi %equal_24, %mask_25 : i1 loc(#loc100) %mask_27 = arith.ori %mask_22, %mask_26 : i1 loc(#loc101) %5 = arith.select %mask_27, %arg4, %arg6 : f32 loc(#loc102) %6 = arith.select %mask_27, %arg5, %arg7 : i32 loc(#loc103) tt.reduce.return %5, %6 : f32, i32 loc(#loc78) }) : (tensor<8x512xf32, #blocked>, tensor<8x512xi32, #blocked>) -> (tensor<8xf32, #ttg.slice<{dim = 1, parent = #blocked}>>, tensor<8xi32, #ttg.slice<{dim = 1, parent = #blocked}>>) loc(#loc78) %tmp2 = tt.expand_dims %0#1 {axis = 1 : i32} : tensor<8xi32, #ttg.slice<{dim = 1, parent = #blocked}>> -> tensor<8x1xi32, #blocked> loc(#loc80) %1 = tt.splat %out_ptr0 : !tt.ptr<i64> -> tensor<8x1x!tt.ptr<i64>, #blocked1> loc(#loc39) %2 = tt.addptr %1, %xindex_14 : tensor<8x1x!tt.ptr<i64>, #blocked1>, tensor<8x1xi32, #blocked1> loc(#loc39) %3 = ttg.convert_layout %tmp2 : tensor<8x1xi32, #blocked> -> tensor<8x1xi32, #blocked1> loc(#loc40) %4 = arith.extsi %3 : tensor<8x1xi32, #blocked1> to tensor<8x1xi64, #blocked1> loc(#loc40) tt.store %2, %4 : tensor<8x1x!tt.ptr<i64>, #blocked1> loc(#loc40) tt.return loc(#loc41) } loc(#loc)} loc(#loc)#loc2 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":23:28)#loc3 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":23:33)#loc4 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":24:44)#loc5 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":24:23)#loc6 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":26:37)#loc7 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":28:19)#loc8 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":29:19)#loc9 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":39:47)#loc10 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":39:41)#loc11 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":39:61)#loc12 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":39:52)#loc13 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":39:34)#loc14 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":33:40)#loc15 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":34:31)#loc16 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":35:29)#loc17 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":39:66)#loc18 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":144:21)#loc19 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":42:38)#loc20 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":145:23)#loc21 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":147:29)#loc22 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":148:29)#loc23 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":149:31)#loc24 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":149:27)#loc25 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":149:16)#loc26 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":151:27)#loc27 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":151:17)#loc28 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":154:31)#loc29 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":154:21)#loc30 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":154:12)#loc31 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":155:35)#loc32 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":155:69)#loc33 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":44:46)#loc34 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":45:58)#loc35 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":45:8)#loc36 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":165:42)#loc38 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":47:20)#loc39 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":48:25)#loc40 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":48:36)#loc41 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":48:4)#loc46 = loc("xoffset"(#loc2))#loc47 = loc("xoffset"(#loc3))#loc48 = loc("xindex"(#loc4))#loc49 = loc("xindex"(#loc5))#loc50 = loc("r0_base"(#loc6))#loc51 = loc("x0"(#loc7))#loc52 = loc("x1"(#loc8))#loc53 = loc("tmp0"(#loc9))#loc54 = loc("tmp0"(#loc10))#loc55 = loc("tmp0"(#loc11))#loc56 = loc("tmp0"(#loc12))#loc57 = loc("tmp0"(#loc13))#loc58 = loc("_tmp2"(#loc14))#loc59 = loc("r0_index"(#loc15))#loc60 = loc("r0_mask"(#loc16))#loc61 = loc("tmp0"(#loc17))#loc62 = loc("mask"(#loc18))#loc63 = loc("equal"(#loc20))#loc64 = loc("a_isnan"(#loc21))#loc65 = loc("b_isnan"(#loc22))#loc66 = loc("mask"(#loc23))#loc67 = loc("mask"(#loc24))#loc68 = loc("mask"(#loc25))#loc69 = loc("equal"(#loc26))#loc70 = loc("equal"(#loc27))#loc71 = loc("mask"(#loc28))#loc72 = loc("mask"(#loc29))#loc73 = loc("mask"(#loc30))#loc74 = loc(callsite(#loc31 at #loc19))#loc75 = loc(callsite(#loc32 at #loc19))#loc76 = loc("_tmp2"(#loc33))#loc77 = loc("_tmp2_index"(#loc34))#loc78 = loc(callsite(#loc36 at #loc37))#loc80 = loc("tmp2"(#loc38))#loc81 = loc("_tmp2_index"(#loc58))#loc82 = loc("mask"(#loc62))#loc83 = loc("equal"(#loc63))#loc84 = loc(callsite(#loc64 at #loc19))#loc85 = loc(callsite(#loc65 at #loc19))#loc86 = loc(callsite(#loc66 at #loc19))#loc87 = loc(callsite(#loc67 at #loc19))#loc88 = loc("mask"(#loc68))#loc89 = loc(callsite(#loc69 at #loc19))#loc90 = loc("equal"(#loc70))#loc91 = loc(callsite(#loc71 at #loc19))#loc92 = loc(callsite(#loc72 at #loc19))#loc93 = loc(callsite(#loc73 at #loc19))#loc94 = loc(callsite(#loc64 at #loc78))#loc95 = loc(callsite(#loc65 at #loc78))#loc96 = loc(callsite(#loc66 at #loc78))#loc97 = loc(callsite(#loc67 at #loc78))#loc98 = loc(callsite(#loc69 at #loc78))#loc99 = loc(callsite(#loc71 at #loc78))#loc100 = loc(callsite(#loc72 at #loc78))#loc101 = loc(callsite(#loc73 at #loc78))#loc102 = loc(callsite(#loc31 at #loc78))#loc103 = loc(callsite(#loc32 at #loc78))#loc104 = loc(callsite(#loc82 at #loc19))#loc105 = loc(callsite(#loc83 at #loc19))#loc106 = loc(callsite(#loc88 at #loc19))#loc107 = loc(callsite(#loc90 at #loc19))#loc108 = loc(callsite(#loc82 at #loc78))#loc109 = loc(callsite(#loc83 at #loc78))#loc110 = loc(callsite(#loc88 at #loc78))#loc111 = loc(callsite(#loc90 at #loc78))123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204#loc = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":18:0)#loc1 = loc(unknown)#loc2 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":46:75)#loc46 = loc("in_ptr0"(#loc))#loc47 = loc("out_ptr0"(#loc))#loc48 = loc("xnumel"(#loc))#loc49 = loc("r0_numel"(#loc))#loc50 = loc(callsite(#loc1 at #loc2))module { tt.func public @triton_red_fused_argmax_1(%in_ptr0: !tt.ptr<f32> {tt.divisibility = 16 : i32} loc("in_ptr0"(#loc)), %out_ptr0: !tt.ptr<i64> {tt.divisibility = 16 : i32} loc("out_ptr0"(#loc)), %xnumel: i32 {tt.divisibility = 16 : i32} loc("xnumel"(#loc)), %r0_numel: i32 {tt.divisibility = 16 : i32} loc("r0_numel"(#loc))) attributes {noinline = false} { %true = arith.constant true loc(#loc50) %cst = arith.constant dense<true> : tensor<8x512xi1> loc(#loc1) %c512_i32 = arith.constant 512 : i32 loc(#loc3) %c32000_i32 = arith.constant 32000 : i32 loc(#loc3) %c0_i32 = arith.constant 0 : i32 loc(#loc3) %cst_0 = arith.constant dense<0.000000e+00> : tensor<8x512xf32> loc(#loc1) %cst_1 = arith.constant dense<65760000> : tensor<8x1xi32> loc(#loc1) %cst_2 = arith.constant dense<32000> : tensor<8x1xi32> loc(#loc1) %cst_3 = arith.constant dense<32000> : tensor<1x512xi32> loc(#loc1) %_tmp2_index = arith.constant dense<2147483647> : tensor<8x512xi32> loc(#loc51) %_tmp2 = arith.constant dense<0xFF800000> : tensor<8x512xf32> loc(#loc52) %cst_4 = arith.constant dense<2048> : tensor<8x1xi32> loc(#loc1) %c8_i32 = arith.constant 8 : i32 loc(#loc1) %xoffset = tt.get_program_id x : i32 loc(#loc53) %xoffset_5 = arith.muli %xoffset, %c8_i32 : i32 loc(#loc54) %xindex = tt.make_range {end = 8 : i32, start = 0 : i32} : tensor<8xi32> loc(#loc55) %xindex_6 = tt.expand_dims %xindex {axis = 1 : i32} : tensor<8xi32> -> tensor<8x1xi32> loc(#loc56) %xindex_7 = tt.splat %xoffset_5 : i32 -> tensor<8x1xi32> loc(#loc57) %xindex_8 = arith.addi %xindex_7, %xindex_6 : tensor<8x1xi32> loc(#loc57) %r0_base = tt.make_range {end = 512 : i32, start = 0 : i32} : tensor<512xi32> loc(#loc58) %r0_base_9 = tt.expand_dims %r0_base {axis = 0 : i32} : tensor<512xi32> -> tensor<1x512xi32> loc(#loc59) %x0 = arith.remsi %xindex_8, %cst_4 : tensor<8x1xi32> loc(#loc60) %x1 = arith.divsi %xindex_8, %cst_4 : tensor<8x1xi32> loc(#loc61) %_tmp2_index_10:2 = scf.for %r0_offset = %c0_i32 to %c32000_i32 step %c512_i32 iter_args(%_tmp2_11 = %_tmp2, %_tmp2_index_12 = %_tmp2_index) -> (tensor<8x512xf32>, tensor<8x512xi32>) : i32 { %r0_index = tt.splat %r0_offset : i32 -> tensor<1x512xi32> loc(#loc63) %r0_index_13 = arith.addi %r0_index, %r0_base_9 : tensor<1x512xi32> loc(#loc63) %r0_mask = arith.cmpi slt, %r0_index_13, %cst_3 : tensor<1x512xi32> loc(#loc64) %tmp0 = arith.muli %x0, %cst_2 : tensor<8x1xi32> loc(#loc65) %tmp0_14 = tt.broadcast %r0_index_13 : tensor<1x512xi32> -> tensor<8x512xi32> loc(#loc66) %tmp0_15 = tt.broadcast %tmp0 : tensor<8x1xi32> -> tensor<8x512xi32> loc(#loc66) %tmp0_16 = arith.addi %tmp0_14, %tmp0_15 : tensor<8x512xi32> loc(#loc66) %tmp0_17 = arith.muli %x1, %cst_1 : tensor<8x1xi32> loc(#loc67) %tmp0_18 = tt.broadcast %tmp0_17 : tensor<8x1xi32> -> tensor<8x512xi32> loc(#loc68) %tmp0_19 = arith.addi %tmp0_16, %tmp0_18 : tensor<8x512xi32> loc(#loc68) %tmp0_20 = tt.splat %in_ptr0 : !tt.ptr<f32> -> tensor<8x512x!tt.ptr<f32>> loc(#loc69) %tmp0_21 = tt.addptr %tmp0_20, %tmp0_19 : tensor<8x512x!tt.ptr<f32>>, tensor<8x512xi32> loc(#loc69) %tmp0_22 = tt.broadcast %r0_mask : tensor<1x512xi1> -> tensor<8x512xi1> loc(#loc70) %tmp0_23 = tt.load %tmp0_21, %tmp0_22, %cst_0 evictionPolicy = evict_first : tensor<8x512x!tt.ptr<f32>> loc(#loc70) %mask = arith.cmpf ogt, %_tmp2_11, %tmp0_23 : tensor<8x512xf32> loc(#loc112) %equal = arith.cmpf oeq, %_tmp2_11, %tmp0_23 : tensor<8x512xf32> loc(#loc113) %a_isnan = arith.cmpf une, %_tmp2_11, %_tmp2_11 : tensor<8x512xf32> loc(#loc92) %b_isnan = arith.cmpf une, %tmp0_23, %tmp0_23 : tensor<8x512xf32> loc(#loc93) %mask_24 = arith.xori %b_isnan, %cst : tensor<8x512xi1> loc(#loc94) %mask_25 = arith.andi %a_isnan, %mask_24 : tensor<8x512xi1> loc(#loc95) %mask_26 = arith.ori %mask, %mask_25 : tensor<8x512xi1> loc(#loc114) %equal_27 = arith.andi %a_isnan, %b_isnan : tensor<8x512xi1> loc(#loc97) %equal_28 = arith.ori %equal, %equal_27 : tensor<8x512xi1> loc(#loc115) %mask_29 = arith.cmpi slt, %_tmp2_index_12, %tmp0_14 : tensor<8x512xi32> loc(#loc99) %mask_30 = arith.andi %equal_28, %mask_29 : tensor<8x512xi1> loc(#loc100) %mask_31 = arith.ori %mask_26, %mask_30 : tensor<8x512xi1> loc(#loc101) %4 = arith.select %mask_31, %_tmp2_11, %tmp0_23 : tensor<8x512xi1>, tensor<8x512xf32> loc(#loc83) %5 = arith.select %mask_31, %_tmp2_index_12, %tmp0_14 : tensor<8x512xi1>, tensor<8x512xi32> loc(#loc84) %_tmp2_32 = arith.select %tmp0_22, %4, %_tmp2_11 : tensor<8x512xi1>, tensor<8x512xf32> loc(#loc85) %_tmp2_index_33 = arith.select %tmp0_22, %5, %_tmp2_index_12 : tensor<8x512xi1>, tensor<8x512xi32> loc(#loc86) scf.yield %_tmp2_32, %_tmp2_index_33 : tensor<8x512xf32>, tensor<8x512xi32> loc(#loc40) } loc(#loc89) %0:2 = "tt.reduce"(%_tmp2_index_10#0, %_tmp2_index_10#1) <{axis = 1 : i32}> ({ ^bb0(%arg4: f32 loc(callsite(#loc1 at #loc2)), %arg5: i32 loc(callsite(#loc1 at #loc2)), %arg6: f32 loc(callsite(#loc1 at #loc2)), %arg7: i32 loc(callsite(#loc1 at #loc2))): %mask = arith.cmpf ogt, %arg4, %arg6 : f32 loc(#loc116) %equal = arith.cmpf oeq, %arg4, %arg6 : f32 loc(#loc117) %a_isnan = arith.cmpf une, %arg4, %arg4 : f32 loc(#loc102) %b_isnan = arith.cmpf une, %arg6, %arg6 : f32 loc(#loc103) %mask_11 = arith.xori %b_isnan, %true : i1 loc(#loc104) %mask_12 = arith.andi %a_isnan, %mask_11 : i1 loc(#loc105) %mask_13 = arith.ori %mask, %mask_12 : i1 loc(#loc118) %equal_14 = arith.andi %a_isnan, %b_isnan : i1 loc(#loc106) %equal_15 = arith.ori %equal, %equal_14 : i1 loc(#loc119) %mask_16 = arith.cmpi slt, %arg5, %arg7 : i32 loc(#loc107) %mask_17 = arith.andi %equal_15, %mask_16 : i1 loc(#loc108) %mask_18 = arith.ori %mask_13, %mask_17 : i1 loc(#loc109) %4 = arith.select %mask_18, %arg4, %arg6 : f32 loc(#loc110) %5 = arith.select %mask_18, %arg5, %arg7 : i32 loc(#loc111) tt.reduce.return %4, %5 : f32, i32 loc(#loc87) }) : (tensor<8x512xf32>, tensor<8x512xi32>) -> (tensor<8xf32>, tensor<8xi32>) loc(#loc87) %tmp2 = tt.expand_dims %0#1 {axis = 1 : i32} : tensor<8xi32> -> tensor<8x1xi32> loc(#loc88) %1 = tt.splat %out_ptr0 : !tt.ptr<i64> -> tensor<8x1x!tt.ptr<i64>> loc(#loc43) %2 = tt.addptr %1, %xindex_8 : tensor<8x1x!tt.ptr<i64>>, tensor<8x1xi32> loc(#loc43) %3 = arith.extsi %tmp2 : tensor<8x1xi32> to tensor<8x1xi64> loc(#loc44) tt.store %2, %3 : tensor<8x1x!tt.ptr<i64>> loc(#loc44) tt.return loc(#loc45) } loc(#loc)} loc(#loc)#loc3 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":33:40)#loc4 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":31:58)#loc5 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":30:55)#loc6 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":23:28)#loc7 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":23:33)#loc8 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":24:36)#loc9 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":24:44)#loc10 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":24:23)#loc11 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":26:27)#loc12 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":26:37)#loc13 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":28:19)#loc14 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":29:19)#loc15 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":34:31)#loc16 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":35:29)#loc17 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":39:47)#loc18 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":39:41)#loc19 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":39:61)#loc20 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":39:52)#loc21 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":39:34)#loc22 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":39:66)#loc23 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":144:21)#loc24 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":42:38)#loc25 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":145:23)#loc26 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":147:29)#loc27 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":148:29)#loc28 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":149:31)#loc29 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":149:27)#loc30 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":149:16)#loc31 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":151:27)#loc32 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":151:17)#loc33 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":154:31)#loc34 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":154:21)#loc35 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":154:12)#loc36 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":155:35)#loc37 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":155:69)#loc38 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":44:46)#loc39 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":45:58)#loc40 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":45:8)#loc41 = loc("/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime/triton_helpers.py":165:42)#loc42 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":47:20)#loc43 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":48:25)#loc44 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":48:36)#loc45 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ib/cibwn445oxtskj5gu47xwpyheit3r7cexu72ml4qw3h7kmeuilrs.py":48:4)#loc51 = loc("_tmp2_index"(#loc4))#loc52 = loc("_tmp2"(#loc5))#loc53 = loc("xoffset"(#loc6))#loc54 = loc("xoffset"(#loc7))#loc55 = loc("xindex"(#loc8))#loc56 = loc("xindex"(#loc9))#loc57 = loc("xindex"(#loc10))#loc58 = loc("r0_base"(#loc11))#loc59 = loc("r0_base"(#loc12))#loc60 = loc("x0"(#loc13))#loc61 = loc("x1"(#loc14))#loc62 = loc("_tmp2"(#loc3))#loc63 = loc("r0_index"(#loc15))#loc64 = loc("r0_mask"(#loc16))#loc65 = loc("tmp0"(#loc17))#loc66 = loc("tmp0"(#loc18))#loc67 = loc("tmp0"(#loc19))#loc68 = loc("tmp0"(#loc20))#loc69 = loc("tmp0"(#loc21))#loc70 = loc("tmp0"(#loc22))#loc71 = loc("mask"(#loc23))#loc72 = loc("equal"(#loc25))#loc73 = loc("a_isnan"(#loc26))#loc74 = loc("b_isnan"(#loc27))#loc75 = loc("mask"(#loc28))#loc76 = loc("mask"(#loc29))#loc77 = loc("mask"(#loc30))#loc78 = loc("equal"(#loc31))#loc79 = loc("equal"(#loc32))#loc80 = loc("mask"(#loc33))#loc81 = loc("mask"(#loc34))#loc82 = loc("mask"(#loc35))#loc83 = loc(callsite(#loc36 at #loc24))#loc84 = loc(callsite(#loc37 at #loc24))#loc85 = loc("_tmp2"(#loc38))#loc86 = loc("_tmp2_index"(#loc39))#loc87 = loc(callsite(#loc41 at #loc2))#loc88 = loc("tmp2"(#loc42))#loc89 = loc("_tmp2_index"(#loc62))#loc90 = loc("mask"(#loc71))#loc91 = loc("equal"(#loc72))#loc92 = loc(callsite(#loc73 at #loc24))#loc93 = loc(callsite(#loc74 at #loc24))#loc94 = loc(callsite(#loc75 at #loc24))#loc95 = loc(callsite(#loc76 at #loc24))#loc96 = loc("mask"(#loc77))#loc97 = loc(callsite(#loc78 at #loc24))#loc98 = loc("equal"(#loc79))#loc99 = loc(callsite(#loc80 at #loc24))#loc100 = loc(callsite(#loc81 at #loc24))#loc101 = loc(callsite(#loc82 at #loc24))#loc102 = loc(callsite(#loc73 at #loc87))#loc103 = loc(callsite(#loc74 at #loc87))#loc104 = loc(callsite(#loc75 at #loc87))#loc105 = loc(callsite(#loc76 at #loc87))#loc106 = loc(callsite(#loc78 at #loc87))#loc107 = loc(callsite(#loc80 at #loc87))#loc108 = loc(callsite(#loc81 at #loc87))#loc109 = loc(callsite(#loc82 at #loc87))#loc110 = loc(callsite(#loc36 at #loc87))#loc111 = loc(callsite(#loc37 at #loc87))#loc112 = loc(callsite(#loc90 at #loc24))#loc113 = loc(callsite(#loc91 at #loc24))#loc114 = loc(callsite(#loc96 at #loc24))#loc115 = loc(callsite(#loc98 at #loc24))#loc116 = loc(callsite(#loc90 at #loc87))#loc117 = loc(callsite(#loc91 at #loc87))#loc118 = loc(callsite(#loc96 at #loc87))#loc119 = loc(callsite(#loc98 at #loc87))1{"child_paths": {"triton_poi_fused_new_zeros_0.source": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/triton_poi_fused_new_zeros_0.source", "triton_poi_fused_new_zeros_0.ttir": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/triton_poi_fused_new_zeros_0.ttir", "triton_poi_fused_new_zeros_0.ttgir": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/triton_poi_fused_new_zeros_0.ttgir", "triton_poi_fused_new_zeros_0.llir": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/triton_poi_fused_new_zeros_0.llir", "triton_poi_fused_new_zeros_0.ptx": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/triton_poi_fused_new_zeros_0.ptx", "triton_poi_fused_new_zeros_0.cubin": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/triton_poi_fused_new_zeros_0.cubin", "triton_poi_fused_new_zeros_0.json": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/triton_poi_fused_new_zeros_0.json"}}1{"hash": "e69b538dd589c5b9c913d33cdaa69fd2fa4ad6662ded2e7cc313f4666af16fd4", "target": {"backend": "cuda", "arch": 90, "warp_size": 32}, "num_warps": 4, "num_ctas": 1, "num_stages": 1, "warp_size": 32, "maxnreg": null, "cluster_dims": [1, 1, 1], "ptx_version": null, "ptx_options": null, "ir_override": null, "enable_fp_fusion": true, "launch_cooperative_grid": false, "launch_pdl": false, "supported_fp8_dtypes": ["fp8e4b15", "fp8e4nv", "fp8e5"], "deprecated_fp8_dot_operand_dtypes": ["fp8e4b15"], "default_dot_input_precision": "tf32", "allowed_dot_input_precisions": ["tf32", "tf32x3", "ieee"], "max_num_imprecise_acc_default": 1073741824, "extern_libs": [["libdevice", "/workspace/specforge/lib/python3.11/site-packages/triton/backends/nvidia/lib/libdevice.10.bc"]], "debug": true, "backend_name": "cuda", "sanitize_overflow": false, "arch": "sm90", "instrumentation_mode": "", "triton_version": "3.5.1", "tensordesc_meta": [], "shared": 0, "tmem_size": 0, "global_scratch_size": 0, "global_scratch_align": 1, "profile_scratch_size": 0, "profile_scratch_align": 1, "name": "triton_poi_fused_new_zeros_0"}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152; ModuleID = 'LLVMDialectModule'source_filename = "LLVMDialectModule"target datalayout = "e-p3:32:32-p4:32:32-p5:32:32-p6:32:32-p7:32:32-i64:64-i128:128-v16:16-v32:32-n16:32:64"
; Function Attrs: nounwinddefine ptx_kernel void @triton_poi_fused_new_zeros_0(ptr addrspace(1) %0, i32 %1, ptr addrspace(1) readnone captures(none) %2, ptr addrspace(1) readnone captures(none) %3) local_unnamed_addr #0 !dbg !4 { %5 = tail call i32 @llvm.nvvm.read.ptx.sreg.ctaid.x(), !dbg !7 %6 = shl i32 %5, 8, !dbg !8 %7 = tail call i32 @llvm.nvvm.read.ptx.sreg.tid.x(), !dbg !9 %8 = shl nuw nsw i32 %7, 1, !dbg !9 %9 = and i32 %8, 254, !dbg !9 %10 = or disjoint i32 %9, %6, !dbg !10 %11 = or disjoint i32 %10, 1, !dbg !10 %12 = icmp slt i32 %10, %1, !dbg !11 %13 = icmp slt i32 %11, %1, !dbg !11 %14 = sext i32 %10 to i64, !dbg !12 %15 = getelementptr i32, ptr addrspace(1) %0, i64 %14, !dbg !12 %16 = sext i32 %11 to i64, !dbg !12 %17 = getelementptr i32, ptr addrspace(1) %0, i64 %16, !dbg !12 tail call void asm sideeffect "@$2 st.global.b32 [ $1 + 0 ], { $0 };", "r,l,b"(i32 0, ptr addrspace(1) %15, i1 %12) #2, !dbg !13 tail call void asm sideeffect "@$2 st.global.b32 [ $1 + 0 ], { $0 };", "r,l,b"(i32 0, ptr addrspace(1) %17, i1 %13) #2, !dbg !13 ret void, !dbg !14}
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)declare noundef range(i32 0, 2147483647) i32 @llvm.nvvm.read.ptx.sreg.ctaid.x() #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)declare noundef range(i32 0, 1024) i32 @llvm.nvvm.read.ptx.sreg.tid.x() #1
attributes #0 = { nounwind "nvvm.reqntid"="128" }attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }attributes #2 = { nounwind }
!llvm.dbg.cu = !{!0}!llvm.module.flags = !{!2, !3}
!0 = distinct !DICompileUnit(language: DW_LANG_C, file: !1, producer: "triton", isOptimized: true, runtimeVersion: 0, emissionKind: LineTablesOnly)!1 = !DIFile(filename: "cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py", directory: "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6")!2 = !{i32 2, !"Debug Info Version", i32 3}!3 = !{i32 4, !"nvvm-reflect-ftz", i32 1}!4 = distinct !DISubprogram(name: "triton_poi_fused_new_zeros_0", linkageName: "triton_poi_fused_new_zeros_0", scope: !1, file: !1, line: 18, type: !5, scopeLine: 18, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0)!5 = !DISubroutineType(cc: DW_CC_normal, types: !6)!6 = !{}!7 = !DILocation(line: 19, column: 28, scope: !4)!8 = !DILocation(line: 19, column: 33, scope: !4)!9 = !DILocation(line: 20, column: 36, scope: !4)!10 = !DILocation(line: 20, column: 23, scope: !4)!11 = !DILocation(line: 21, column: 21, scope: !4)!12 = !DILocation(line: 24, column: 25, scope: !4)!13 = !DILocation(line: 24, column: 36, scope: !4)!14 = !DILocation(line: 24, column: 4, scope: !4)123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214//// Generated by LLVM NVPTX Back-End//
.version 8.7.target sm_90a.address_size 64
// .globl triton_poi_fused_new_zeros_0 // -- Begin function triton_poi_fused_new_zeros_0 // @triton_poi_fused_new_zeros_0.visible .entry triton_poi_fused_new_zeros_0( .param .u64 .ptr .global .align 1 triton_poi_fused_new_zeros_0_param_0, .param .u32 triton_poi_fused_new_zeros_0_param_1, .param .u64 .ptr .global .align 1 triton_poi_fused_new_zeros_0_param_2, .param .u64 .ptr .global .align 1 triton_poi_fused_new_zeros_0_param_3).reqntid 128{ .reg .pred %p<3>; .reg .b32 %r<11>; .reg .b64 %rd<4>; .loc 1 18 0 // cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py:18:0$L__func_begin0: .loc 1 18 0 // cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py:18:0
// %bb.0: ld.param.b64 %rd3, [triton_poi_fused_new_zeros_0_param_0]; ld.param.b32 %r3, [triton_poi_fused_new_zeros_0_param_1];$L__tmp0: .loc 1 19 28 // cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py:19:28 mov.u32 %r4, %ctaid.x; .loc 1 19 33 // cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py:19:33 shl.b32 %r5, %r4, 8; .loc 1 20 36 // cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py:20:36 mov.u32 %r6, %tid.x; shl.b32 %r7, %r6, 1; and.b32 %r8, %r7, 254; .loc 1 20 23 // cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py:20:23 or.b32 %r9, %r8, %r5; or.b32 %r10, %r9, 1; .loc 1 21 21 // cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py:21:21 setp.lt.s32 %p1, %r9, %r3; setp.lt.s32 %p2, %r10, %r3; .loc 1 24 25 // cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py:24:25 mad.wide.s32 %rd1, %r9, 4, %rd3; add.s64 %rd2, %rd1, 4; mov.b32 %r1, 0; .loc 1 24 36 // cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py:24:36 // begin inline asm @%p1 st.global.b32 [ %rd1 + 0 ], { %r1 }; // end inline asm // begin inline asm @%p2 st.global.b32 [ %rd2 + 0 ], { %r1 }; // end inline asm .loc 1 24 4 // cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py:24:4 ret;$L__tmp1:$L__func_end0: // -- End function} .file 1 "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py" .section .debug_abbrev {.b8 1 // Abbreviation Code.b8 17 // DW_TAG_compile_unit.b8 0 // DW_CHILDREN_no.b8 37 // DW_AT_producer.b8 8 // DW_FORM_string.b8 19 // DW_AT_language.b8 5 // DW_FORM_data2.b8 3 // DW_AT_name.b8 8 // DW_FORM_string.b8 16 // DW_AT_stmt_list.b8 6 // DW_FORM_data4.b8 27 // DW_AT_comp_dir.b8 8 // DW_FORM_string.b8 0 // EOM(1).b8 0 // EOM(2).b8 0 // EOM(3) } .section .debug_info {.b32 135 // Length of Unit.b8 2 // DWARF version number.b8 0.b32 .debug_abbrev // Offset Into Abbrev. Section.b8 8 // Address Size (in bytes).b8 1 // Abbrev [1] 0xb:0x80 DW_TAG_compile_unit.b8 116 // DW_AT_producer.b8 114.b8 105.b8 116.b8 111.b8 110.b8 0.b8 2 // DW_AT_language.b8 0.b8 99 // DW_AT_name.b8 109.b8 54.b8 108.b8 111.b8 50.b8 98.b8 109.b8 109.b8 54.b8 103.b8 104.b8 110.b8 55.b8 102.b8 103.b8 116.b8 105.b8 114.b8 51.b8 110.b8 100.b8 112.b8 122.b8 112.b8 121.b8 54.b8 111.b8 105.b8 119.b8 105.b8 104.b8 111.b8 114.b8 55.b8 113.b8 55.b8 100.b8 101.b8 102.b8 99.b8 52.b8 108.b8 110.b8 110.b8 106.b8 50.b8 121.b8 122.b8 98.b8 112.b8 100.b8 46.b8 112.b8 121.b8 0.b32 .debug_line // DW_AT_stmt_list.b8 47 // DW_AT_comp_dir.b8 119.b8 111.b8 114.b8 107.b8 115.b8 112.b8 97.b8 99.b8 101.b8 47.b8 104.b8 97.b8 110.b8 114.b8 117.b8 105.b8 47.b8 83.b8 112.b8 101.b8 99.b8 70.b8 111.b8 114.b8 103.b8 101.b8 45.b8 101.b8 120.b8 116.b8 47.b8 99.b8 97.b8 99.b8 104.b8 101.b8 47.b8 99.b8 111.b8 109.b8 112.b8 105.b8 108.b8 101.b8 100.b8 95.b8 107.b8 101.b8 114.b8 110.b8 101.b8 108.b8 115.b8 47.b8 109.b8 54.b8 0 } .section .debug_macinfo { }1234567891011121314151617181920212223242526272829303132333435363738#loc = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":18:0)#loc10 = loc("out_ptr0"(#loc))#loc11 = loc("xnumel"(#loc))module { tt.func public @triton_poi_fused_new_zeros_0(%out_ptr0: !tt.ptr<i32> {tt.divisibility = 16 : i32} loc("out_ptr0"(#loc)), %xnumel: i32 loc("xnumel"(#loc))) attributes {noinline = false} { %xoffset = tt.get_program_id x : i32 loc(#loc12) %xoffset_0 = arith.constant 256 : i32 loc(#loc13) %xoffset_1 = arith.constant 256 : i32 loc(#loc13) %xoffset_2 = arith.muli %xoffset, %xoffset_1 : i32 loc(#loc13) %xindex = tt.make_range {end = 256 : i32, start = 0 : i32} : tensor<256xi32> loc(#loc14) %xindex_3 = tt.splat %xoffset_2 : i32 -> tensor<256xi32> loc(#loc15) %xindex_4 = arith.addi %xindex_3, %xindex : tensor<256xi32> loc(#loc15) %xmask = tt.splat %xnumel : i32 -> tensor<256xi32> loc(#loc16) %xmask_5 = arith.cmpi slt, %xindex_4, %xmask : tensor<256xi32> loc(#loc16) %tmp0 = arith.constant 0 : i32 loc(#loc17) %tmp0_6 = arith.constant dense<0> : tensor<1xi32> loc(#loc17) %0 = tt.splat %out_ptr0 : !tt.ptr<i32> -> tensor<256x!tt.ptr<i32>> loc(#loc7) %1 = tt.addptr %0, %xindex_4 : tensor<256x!tt.ptr<i32>>, tensor<256xi32> loc(#loc7) %cst = arith.constant dense<0> : tensor<256xi32> loc(#loc8) tt.store %1, %cst, %xmask_5 : tensor<256x!tt.ptr<i32>> loc(#loc8) tt.return loc(#loc9) } loc(#loc)} loc(#loc)#loc1 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":19:28)#loc2 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":19:33)#loc3 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":20:36)#loc4 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":20:23)#loc5 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":21:21)#loc6 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":23:27)#loc7 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":24:25)#loc8 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":24:36)#loc9 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":24:4)#loc12 = loc("xoffset"(#loc1))#loc13 = loc("xoffset"(#loc2))#loc14 = loc("xindex"(#loc3))#loc15 = loc("xindex"(#loc4))#loc16 = loc("xmask"(#loc5))#loc17 = loc("tmp0"(#loc6))1234567891011121314151617181920212223242526272829303132333435#blocked = #ttg.blocked<{sizePerThread = [2], threadsPerWarp = [32], warpsPerCTA = [4], order = [0]}>#loc = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":18:0)#loc10 = loc("out_ptr0"(#loc))#loc11 = loc("xnumel"(#loc))module attributes {"ttg.num-ctas" = 1 : i32, "ttg.num-warps" = 4 : i32, ttg.target = "cuda:90", "ttg.threads-per-warp" = 32 : i32} { tt.func public @triton_poi_fused_new_zeros_0(%out_ptr0: !tt.ptr<i32> {tt.divisibility = 16 : i32} loc("out_ptr0"(#loc)), %xnumel: i32 loc("xnumel"(#loc))) attributes {noinline = false} { %c256_i32 = arith.constant 256 : i32 loc(#loc1) %cst = arith.constant dense<0> : tensor<256xi32, #blocked> loc(#loc1) %xoffset = tt.get_program_id x : i32 loc(#loc12) %xoffset_0 = arith.muli %xoffset, %c256_i32 : i32 loc(#loc13) %xindex = tt.make_range {end = 256 : i32, start = 0 : i32} : tensor<256xi32, #blocked> loc(#loc14) %xindex_1 = tt.splat %xoffset_0 : i32 -> tensor<256xi32, #blocked> loc(#loc15) %xindex_2 = arith.addi %xindex_1, %xindex : tensor<256xi32, #blocked> loc(#loc15) %xmask = tt.splat %xnumel : i32 -> tensor<256xi32, #blocked> loc(#loc16) %xmask_3 = arith.cmpi slt, %xindex_2, %xmask : tensor<256xi32, #blocked> loc(#loc16) %0 = tt.splat %out_ptr0 : !tt.ptr<i32> -> tensor<256x!tt.ptr<i32>, #blocked> loc(#loc7) %1 = tt.addptr %0, %xindex_2 : tensor<256x!tt.ptr<i32>, #blocked>, tensor<256xi32, #blocked> loc(#loc7) tt.store %1, %cst, %xmask_3 : tensor<256x!tt.ptr<i32>, #blocked> loc(#loc8) tt.return loc(#loc9) } loc(#loc)} loc(#loc)#loc1 = loc(unknown)#loc2 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":19:28)#loc3 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":19:33)#loc4 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":20:36)#loc5 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":20:23)#loc6 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":21:21)#loc7 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":24:25)#loc8 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":24:36)#loc9 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":24:4)#loc12 = loc("xoffset"(#loc2))#loc13 = loc("xoffset"(#loc3))#loc14 = loc("xindex"(#loc4))#loc15 = loc("xindex"(#loc5))#loc16 = loc("xmask"(#loc6))12345678910111213141516171819202122232425262728293031323334#loc = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":18:0)#loc10 = loc("out_ptr0"(#loc))#loc11 = loc("xnumel"(#loc))module { tt.func public @triton_poi_fused_new_zeros_0(%out_ptr0: !tt.ptr<i32> {tt.divisibility = 16 : i32} loc("out_ptr0"(#loc)), %xnumel: i32 loc("xnumel"(#loc))) attributes {noinline = false} { %cst = arith.constant dense<0> : tensor<256xi32> loc(#loc1) %c256_i32 = arith.constant 256 : i32 loc(#loc2) %xoffset = tt.get_program_id x : i32 loc(#loc12) %xoffset_0 = arith.muli %xoffset, %c256_i32 : i32 loc(#loc13) %xindex = tt.make_range {end = 256 : i32, start = 0 : i32} : tensor<256xi32> loc(#loc14) %xindex_1 = tt.splat %xoffset_0 : i32 -> tensor<256xi32> loc(#loc15) %xindex_2 = arith.addi %xindex_1, %xindex : tensor<256xi32> loc(#loc15) %xmask = tt.splat %xnumel : i32 -> tensor<256xi32> loc(#loc16) %xmask_3 = arith.cmpi slt, %xindex_2, %xmask : tensor<256xi32> loc(#loc16) %0 = tt.splat %out_ptr0 : !tt.ptr<i32> -> tensor<256x!tt.ptr<i32>> loc(#loc8) %1 = tt.addptr %0, %xindex_2 : tensor<256x!tt.ptr<i32>>, tensor<256xi32> loc(#loc8) tt.store %1, %cst, %xmask_3 : tensor<256x!tt.ptr<i32>> loc(#loc1) tt.return loc(#loc9) } loc(#loc)} loc(#loc)#loc1 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":24:36)#loc2 = loc(unknown)#loc3 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":19:28)#loc4 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":19:33)#loc5 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":20:36)#loc6 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":20:23)#loc7 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":21:21)#loc8 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":24:25)#loc9 = loc("/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/m6/cm6lo2bmm6ghn7fgtir3ndpzpy6oiwihor7q7defc4lnnj2yzbpd.py":24:4)#loc12 = loc("xoffset"(#loc3))#loc13 = loc("xoffset"(#loc4))#loc14 = loc("xindex"(#loc5))#loc15 = loc("xindex"(#loc6))#loc16 = loc("xmask"(#loc7))1{"child_paths": {"triton_red_fused_zeros_0.source": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/4GZ7CVSLAS6HV3PFLT7QTVXV766VDM2EJD6F6EMVZBCIWXUB73MA/triton_red_fused_zeros_0.source", "triton_red_fused_zeros_0.ttir": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/4GZ7CVSLAS6HV3PFLT7QTVXV766VDM2EJD6F6EMVZBCIWXUB73MA/triton_red_fused_zeros_0.ttir", "triton_red_fused_zeros_0.ttgir": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/4GZ7CVSLAS6HV3PFLT7QTVXV766VDM2EJD6F6EMVZBCIWXUB73MA/triton_red_fused_zeros_0.ttgir", "triton_red_fused_zeros_0.llir": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/4GZ7CVSLAS6HV3PFLT7QTVXV766VDM2EJD6F6EMVZBCIWXUB73MA/triton_red_fused_zeros_0.llir", "triton_red_fused_zeros_0.ptx": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/4GZ7CVSLAS6HV3PFLT7QTVXV766VDM2EJD6F6EMVZBCIWXUB73MA/triton_red_fused_zeros_0.ptx", "triton_red_fused_zeros_0.cubin": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/4GZ7CVSLAS6HV3PFLT7QTVXV766VDM2EJD6F6EMVZBCIWXUB73MA/triton_red_fused_zeros_0.cubin", "triton_red_fused_zeros_0.json": "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/triton/2/4GZ7CVSLAS6HV3PFLT7QTVXV766VDM2EJD6F6EMVZBCIWXUB73MA/triton_red_fused_zeros_0.json"}}1{"hash": "e1b3f1564b04bc7aede55cff09d6f5ffbd51b34448fc5f1195c8448b5e81fed8", "target": {"backend": "cuda", "arch": 90, "warp_size": 32}, "num_warps": 4, "num_ctas": 1, "num_stages": 1, "warp_size": 32, "maxnreg": null, "cluster_dims": [1, 1, 1], "ptx_version": null, "ptx_options": null, "ir_override": null, "enable_fp_fusion": true, "launch_cooperative_grid": false, "launch_pdl": false, "supported_fp8_dtypes": ["fp8e4b15", "fp8e4nv", "fp8e5"], "deprecated_fp8_dot_operand_dtypes": ["fp8e4b15"], "default_dot_input_precision": "tf32", "allowed_dot_input_precisions": ["tf32", "tf32x3", "ieee"], "max_num_imprecise_acc_default": 1073741824, "extern_libs": [["libdevice", "/workspace/specforge/lib/python3.11/site-packages/triton/backends/nvidia/lib/libdevice.10.bc"]], "debug": true, "backend_name": "cuda", "sanitize_overflow": false, "arch": "sm90", "instrumentation_mode": "", "triton_version": "3.5.1", "tensordesc_meta": [], "shared": 16, "tmem_size": 0, "global_scratch_size": 0, "global_scratch_align": 1, "profile_scratch_size": 0, "profile_scratch_align": 1, "name": "triton_red_fused_zeros_0"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190; ModuleID = 'LLVMDialectModule'source_filename = "LLVMDialectModule"target datalayout = "e-p3:32:32-p4:32:32-p5:32:32-p6:32:32-p7:32:32-i64:64-i128:128-v16:16-v32:32-n16:32:64"
@global_smem = external local_unnamed_addr addrspace(3) global [0 x i8], align 16
; Function Attrs: nounwinddefine ptx_kernel void @triton_red_fused_zeros_0(ptr addrspace(1) %0, ptr addrspace(1) %1, ptr addrspace(1) %2, i64 %3, i64 %4, i32 %5, i32 %6, ptr addrspace(1) readnone captures(none) %7, ptr addrspace(1) readnone captures(none) %8) local_unnamed_addr #0 !dbg !4 { %10 = tail call i32 @llvm.nvvm.read.ptx.sreg.ctaid.x(), !dbg !7 %11 = shl i32 %10, 2, !dbg !8 %12 = tail call i32 @llvm.nvvm.read.ptx.sreg.tid.x(), !dbg !9 %13 = and i32 %12, 96, !dbg !9 %14 = lshr exact i32 %13, 5, !dbg !9 %15 = and i32 %12, 3, !dbg !9 %16 = or disjoint i32 %14, %11, !dbg !10 %17 = or disjoint i32 %11, %15, !dbg !10 %18 = icmp slt i32 %16, %5, !dbg !11 %19 = icmp slt i32 %17, %5, !dbg !11 %20 = shl nuw nsw i32 %12, 2, !dbg !12 %21 = and i32 %20, 124, !dbg !12 %22 = sext i32 %16 to i64, !dbg !13 %.frozen = freeze i64 %3, !dbg !14 %23 = sdiv i64 %22, %.frozen, !dbg !14 %24 = mul i64 %23, %.frozen, !dbg !13 %.decomposed = sub i64 %22, %24, !dbg !13 %25 = srem i64 %23, 32, !dbg !15 %26 = sdiv i64 %22, %4, !dbg !16 %.not = icmp ne i64 %.decomposed, 0, !dbg !17 %27 = icmp slt i32 %11, 0, !dbg !21 %28 = icmp slt i64 %3, 0, !dbg !22 %29 = xor i1 %27, %28, !dbg !23 %narrow = select i1 %29, i1 %.not, i1 false, !dbg !24 %30 = sext i1 %narrow to i64, !dbg !24 %31 = add nsw i64 %23, %30, !dbg !24 %32 = zext nneg i32 %21 to i64, !dbg !25 %33 = shl i64 %3, 12, !dbg !26 %34 = mul i64 %33, %26, !dbg !27 %.idx = shl nsw i64 %25, 8, !dbg !28 %35 = getelementptr i8, ptr addrspace(1) %0, i64 %.idx, !dbg !28 %36 = getelementptr bfloat, ptr addrspace(1) %35, i64 %32, !dbg !28 %.idx1 = shl nsw i64 %.decomposed, 13, !dbg !28 %37 = getelementptr i8, ptr addrspace(1) %36, i64 %.idx1, !dbg !28 %38 = getelementptr bfloat, ptr addrspace(1) %37, i64 %34, !dbg !28 %39 = tail call i64 asm sideeffect "mov.u64 $0, 0x0;\0A\09createpolicy.fractional.L2::evict_first.b64 $0, 1.0;", "=l"() #4, !dbg !29 %40 = tail call { i32, i32 } asm sideeffect "mov.u32 $0, $2;\0A\09mov.u32 $1, $3;\0A\09@$6 ld.global.L1::evict_first.L2::cache_hint.v2.b32 { $0, $1 }, [ $4 + 0 ], $5;", "=r,=r,r,r,l,l,b"(i32 0, i32 0, ptr addrspace(1) %38, i64 %39, i1 %18) #4, !dbg !29 %41 = extractvalue { i32, i32 } %40, 0, !dbg !29 %42 = bitcast i32 %41 to <2 x bfloat>, !dbg !29 %43 = extractvalue { i32, i32 } %40, 1, !dbg !29 %44 = bitcast i32 %43 to <2 x bfloat>, !dbg !29 %45 = icmp slt i64 %3, 2, !dbg !30 %46 = icmp sgt i64 %3, 1, !dbg !31 %47 = select i1 %46, i64 %3, i64 0, !dbg !32 %48 = zext i1 %45 to i64, !dbg !33 %49 = add i64 %47, %48, !dbg !34 %50 = shl i64 %49, 7, !dbg !35 %51 = mul i64 %50, %31, !dbg !36 %.idx2 = shl nsw i64 %.decomposed, 8, !dbg !37 %52 = getelementptr i8, ptr addrspace(1) %1, i64 %.idx2, !dbg !37 %53 = getelementptr bfloat, ptr addrspace(1) %52, i64 %32, !dbg !37 %54 = getelementptr bfloat, ptr addrspace(1) %53, i64 %51, !dbg !37 %55 = tail call i64 asm sideeffect "mov.u64 $0, 0x0;\0A\09createpolicy.fractional.L2::evict_first.b64 $0, 1.0;", "=l"() #4, !dbg !38 %56 = tail call { i32, i32 } asm sideeffect "mov.u32 $0, $2;\0A\09mov.u32 $1, $3;\0A\09@$6 ld.global.L1::evict_first.L2::cache_hint.v2.b32 { $0, $1 }, [ $4 + 0 ], $5;", "=r,=r,r,r,l,l,b"(i32 0, i32 0, ptr addrspace(1) %54, i64 %55, i1 %18) #4, !dbg !38 %57 = extractvalue { i32, i32 } %56, 0, !dbg !38 %58 = bitcast i32 %57 to <2 x bfloat>, !dbg !38 %59 = extractvalue { i32, i32 } %56, 1, !dbg !38 %60 = bitcast i32 %59 to <2 x bfloat>, !dbg !38 %61 = fpext <2 x bfloat> %42 to <2 x float>, !dbg !39 %62 = fpext <2 x bfloat> %58 to <2 x float>, !dbg !40 %63 = fmul <2 x float> %61, %62, !dbg !41 %64 = fadd <2 x float> %63, zeroinitializer, !dbg !42 %65 = fpext <2 x bfloat> %44 to <2 x float>, !dbg !39 %66 = fpext <2 x bfloat> %60 to <2 x float>, !dbg !40 %67 = fmul <2 x float> %65, %66, !dbg !41 %68 = fadd <2 x float> %67, zeroinitializer, !dbg !42 %shift = shufflevector <2 x float> %64, <2 x float> poison, <2 x i32> <i32 1, i32 poison>, !dbg !43 %foldExtExtBinop = fadd <2 x float> %64, %shift, !dbg !43 %foldExtExtBinop4 = fadd <2 x float> %68, %foldExtExtBinop, !dbg !43 %shift6 = shufflevector <2 x float> %68, <2 x float> poison, <2 x i32> <i32 1, i32 poison>, !dbg !43 %foldExtExtBinop7 = fadd <2 x float> %shift6, %foldExtExtBinop4, !dbg !43 %69 = extractelement <2 x float> %foldExtExtBinop7, i64 0, !dbg !43 %70 = select i1 %18, float %69, float 0.000000e+00, !dbg !43 %71 = bitcast float %70 to i32, !dbg !47 %72 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %71, i32 16, i32 31), !dbg !47 %73 = bitcast i32 %72 to float, !dbg !47 %74 = fadd float %70, %73, !dbg !43 %75 = bitcast float %74 to i32, !dbg !47 %76 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %75, i32 8, i32 31), !dbg !47 %77 = bitcast i32 %76 to float, !dbg !47 %78 = fadd float %74, %77, !dbg !43 %79 = bitcast float %78 to i32, !dbg !47 %80 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %79, i32 4, i32 31), !dbg !47 %81 = bitcast i32 %80 to float, !dbg !47 %82 = fadd float %78, %81, !dbg !43 %83 = bitcast float %82 to i32, !dbg !47 %84 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %83, i32 2, i32 31), !dbg !47 %85 = bitcast i32 %84 to float, !dbg !47 %86 = fadd float %82, %85, !dbg !43 %87 = bitcast float %86 to i32, !dbg !47 %88 = tail call i32 @llvm.nvvm.shfl.sync.bfly.i32(i32 -1, i32 %87, i32 1, i32 31), !dbg !47 %89 = bitcast i32 %88 to float, !dbg !47 %90 = fadd float %86, %89, !dbg !43 %91 = lshr exact i32 %13, 3, !dbg !48 %92 = getelementptr inbounds nuw i8, ptr addrspace(3) @global_smem, i32 %91, !dbg !48 store float %90, ptr addrspace(3) %92, align 4, !dbg !48 tail call void @llvm.nvvm.barrier.cta.sync.aligned.all(i32 0), !dbg !48 %93 = shl nuw nsw i32 %15, 2, !dbg !48 %94 = getelementptr inbounds nuw i8, ptr addrspace(3) @global_smem, i32 %93, !dbg !48 %95 = load i32, ptr addrspace(3) %94, align 4, !dbg !48 %96 = sext i32 %17 to i64, !dbg !49 %97 = getelementptr float, ptr addrspace(1) %2, i64 %96, !dbg !49 %98 = and i32 %12, 124, !dbg !50 %99 = icmp eq i32 %98, 0, !dbg !50 %100 = and i1 %99, %19, !dbg !50 tail call void asm sideeffect "@$2 st.global.b32 [ $1 + 0 ], { $0 };", "r,l,b"(i32 %95, ptr addrspace(1) %97, i1 %100) #4, !dbg !50 ret void, !dbg !51}
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)declare noundef range(i32 0, 2147483647) i32 @llvm.nvvm.read.ptx.sreg.ctaid.x() #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)declare noundef range(i32 0, 1024) i32 @llvm.nvvm.read.ptx.sreg.tid.x() #1
; Function Attrs: convergent nocallback nounwind memory(inaccessiblemem: readwrite)declare i32 @llvm.nvvm.shfl.sync.bfly.i32(i32, i32, i32, i32) #2
; Function Attrs: convergent nocallback nounwinddeclare void @llvm.nvvm.barrier.cta.sync.aligned.all(i32) #3
attributes #0 = { nounwind "nvvm.reqntid"="128" }attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }attributes #2 = { convergent nocallback nounwind memory(inaccessiblemem: readwrite) }attributes #3 = { convergent nocallback nounwind }attributes #4 = { nounwind }
!llvm.dbg.cu = !{!0}!llvm.module.flags = !{!2, !3}
!0 = distinct !DICompileUnit(language: DW_LANG_C, file: !1, producer: "triton", isOptimized: true, runtimeVersion: 0, emissionKind: LineTablesOnly)!1 = !DIFile(filename: "cefhdnts4a3zdc5ez2wyobzit3i2jmgbi72deqkx342da5va3ux2.py", directory: "/workspace/hanrui/SpecForge-ext/cache/compiled_kernels/ef")!2 = !{i32 2, !"Debug Info Version", i32 3}!3 = !{i32 4, !"nvvm-reflect-ftz", i32 1}!4 = distinct !DISubprogram(name: "triton_red_fused_zeros_0", linkageName: "triton_red_fused_zeros_0", scope: !1, file: !1, line: 18, type: !5, scopeLine: 18, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0)!5 = !DISubroutineType(cc: DW_CC_normal, types: !6)!6 = !{}!7 = !DILocation(line: 22, column: 28, scope: !4)!8 = !DILocation(line: 22, column: 33, scope: !4)!9 = !DILocation(line: 23, column: 44, scope: !4)!10 = !DILocation(line: 23, column: 23, scope: !4)!11 = !DILocation(line: 24, column: 21, scope: !4)!12 = !DILocation(line: 25, column: 37, scope: !4)!13 = !DILocation(line: 27, column: 19, scope: !4)!14 = !DILocation(line: 28, column: 21, scope: !4)!15 = !DILocation(line: 28, column: 28, scope: !4)!16 = !DILocation(line: 29, column: 19, scope: !4)!17 = !DILocation(line: 74, column: 34, scope: !18, inlinedAt: !20)!18 = distinct !DILexicalBlockFile(scope: !4, file: !19, discriminator: 0)!19 = !DIFile(filename: "triton_helpers.py", directory: "/workspace/specforge/lib/python3.11/site-packages/torch/_inductor/runtime")!20 = !DILocation(line: 30, column: 51, scope: !4)!21 = !DILocation(line: 75, column: 25, scope: !18, inlinedAt: !20)!22 = !DILocation(line: 75, column: 36, scope: !18, inlinedAt: !20)!23 = !DILocation(line: 75, column: 32, scope: !18, inlinedAt: !20)!24 = !DILocation(line: 75, column: 47, scope: !18, inlinedAt: !20)!25 = !DILocation(line: 39, column: 41, scope: !4)!26 = !DILocation(line: 39, column: 65, scope: !4)!27 = !DILocation(line: 39, column: 69, scope: !4)!28 = !DILocation(line: 39, column: 34, scope: !4)!29 = !DILocation(line: 39, column: 74, scope: !4)!30 = !DILocation(line: 40, column: 73, scope: !4)!31 = !DILocation(line: 40, column: 99, scope: !4)!32 = !DILocation(line: 40, column: 90, scope: !4)!33 = !DILocation(line: 40, scope: !4)!34 = !DILocation(line: 40, column: 81, scope: !4)!35 = !DILocation(line: 40, column: 54, scope: !4)!36 = !DILocation(line: 40, column: 58, scope: !4)!37 = !DILocation(line: 40, column: 34, scope: !4)!38 = !DILocation(line: 40, column: 106, scope: !4)!39 = !DILocation(line: 39, column: 136, scope: !4)!40 = !DILocation(line: 40, column: 168, scope: !4)!41 = !DILocation(line: 41, column: 22, scope: !4)!42 = !DILocation(line: 43, column: 23, scope: !4)!43 = !DILocation(line: 261, column: 15, scope: !44, inlinedAt: !46)!44 = distinct !DILexicalBlockFile(scope: !4, file: !45, discriminator: 0)!45 = !DIFile(filename: "standard.py", directory: "/workspace/specforge/lib/python3.11/site-packages/triton/language")!46 = !DILocation(line: 45, column: 25, scope: !4)!47 = !DILocation(line: 291, column: 36, scope: !44, inlinedAt: !46)!48 = !DILocation(line: 45, column: 28, scope: !4)!49 = !DILocation(line: 49, column: 25, scope: !4)!50 = !DILocation(line: 49, column: 36, scope: !4)!51 = !DILocation(line: 49, column: 4, scope: !4)SpecForge-ext/cache/compiled_kernels/triton/2/2HBOMUT44J5WFCUWYGRFAAS3HGVNDHLHT7HCSXUCAOIKU6XGJNTA/triton_red_fused__to_copy_clone_slice_sum_transpose_5.cubinAdded
SpecForge-ext/cache/compiled_kernels/triton/2/2HBOMUT44J5WFCUWYGRFAAS3HGVNDHLHT7HCSXUCAOIKU6XGJNTA/triton_red_fused__to_copy_clone_slice_sum_transpose_5.jsonAdded+1
SpecForge-ext/cache/compiled_kernels/triton/2/2HBOMUT44J5WFCUWYGRFAAS3HGVNDHLHT7HCSXUCAOIKU6XGJNTA/triton_red_fused__to_copy_clone_slice_sum_transpose_5.llirAdded+204
SpecForge-ext/cache/compiled_kernels/triton/2/2HBOMUT44J5WFCUWYGRFAAS3HGVNDHLHT7HCSXUCAOIKU6XGJNTA/triton_red_fused__to_copy_clone_slice_sum_transpose_5.ptxAdded+525
SpecForge-ext/cache/compiled_kernels/triton/2/2HBOMUT44J5WFCUWYGRFAAS3HGVNDHLHT7HCSXUCAOIKU6XGJNTA/triton_red_fused__to_copy_clone_slice_sum_transpose_5.sourceAdded+193
SpecForge-ext/cache/compiled_kernels/triton/2/2HBOMUT44J5WFCUWYGRFAAS3HGVNDHLHT7HCSXUCAOIKU6XGJNTA/triton_red_fused__to_copy_clone_slice_sum_transpose_5.ttgirAdded+147
SpecForge-ext/cache/compiled_kernels/triton/2/2HBOMUT44J5WFCUWYGRFAAS3HGVNDHLHT7HCSXUCAOIKU6XGJNTA/triton_red_fused__to_copy_clone_slice_sum_transpose_5.ttirAdded+152
SpecForge-ext/cache/compiled_kernels/triton/2/2J5U2YWHZDEYPTTFYZZF7L472MAKN4PYN3O5UNMFLMRH5VW6ZZQA/__grp__triton_tem_fused_zeros_1.jsonAdded+1
SpecForge-ext/cache/compiled_kernels/triton/2/2J5U2YWHZDEYPTTFYZZF7L472MAKN4PYN3O5UNMFLMRH5VW6ZZQA/triton_tem_fused_zeros_1.jsonAdded+1
SpecForge-ext/cache/compiled_kernels/triton/2/2J5U2YWHZDEYPTTFYZZF7L472MAKN4PYN3O5UNMFLMRH5VW6ZZQA/triton_tem_fused_zeros_1.llirAdded
SpecForge-ext/cache/compiled_kernels/triton/2/2J5U2YWHZDEYPTTFYZZF7L472MAKN4PYN3O5UNMFLMRH5VW6ZZQA/triton_tem_fused_zeros_1.ptxAdded
SpecForge-ext/cache/compiled_kernels/triton/2/2J5U2YWHZDEYPTTFYZZF7L472MAKN4PYN3O5UNMFLMRH5VW6ZZQA/triton_tem_fused_zeros_1.sourceAdded
SpecForge-ext/cache/compiled_kernels/triton/2/2J5U2YWHZDEYPTTFYZZF7L472MAKN4PYN3O5UNMFLMRH5VW6ZZQA/triton_tem_fused_zeros_1.ttgirAdded
SpecForge-ext/cache/compiled_kernels/triton/2/2J5U2YWHZDEYPTTFYZZF7L472MAKN4PYN3O5UNMFLMRH5VW6ZZQA/triton_tem_fused_zeros_1.ttirAdded
SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/__grp__triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.jsonAdded+1
SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.cubinAdded
SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.jsonAdded+1
SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.llirAdded+333
SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.ptxAdded+809
SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.sourceAdded+418
SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.ttgirAdded+280
SpecForge-ext/cache/compiled_kernels/triton/2/3NH6HISNAMYS6PPKRZPOP2Y2PRWXH4ILY3PCKSRARGCKMTL7453Q/triton_red_fused__to_copy_arange_bitwise_and_bitwise_or_constant_pad_nd_eq_ge_gt_index_lt_permute_remainder_sub_sum_view_1.ttirAdded+283
SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/__grp__triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.jsonAdded+1
SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.cubinAdded
SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.jsonAdded+1
SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.llirAdded+781
SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.ptxAdded+1410
SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.sourceAdded
SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.ttgirAdded+841
SpecForge-ext/cache/compiled_kernels/triton/2/3T44HVMODVD44VQT2XIM5LORTLI6GMS6N6NVE3J3FK6USYBEBANA/triton_per_fused__to_copy_clone_slice_sort_sum_transpose_3.ttirAdded+799
SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/__grp__triton_red_fused_argmax_1.jsonAdded+1
SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/triton_red_fused_argmax_1.cubinAdded
SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/triton_red_fused_argmax_1.jsonAdded+1
SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/triton_red_fused_argmax_1.llirAdded+611
SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/triton_red_fused_argmax_1.ptxAdded+1196
SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/triton_red_fused_argmax_1.sourceAdded+315
SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/triton_red_fused_argmax_1.ttgirAdded+203
SpecForge-ext/cache/compiled_kernels/triton/2/3TSRCAOXIABNSCY74AQ2GK4AIDHEKNRWVMFQVMQJIJ7C44WYAPYA/triton_red_fused_argmax_1.ttirAdded+204
SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/__grp__triton_poi_fused_new_zeros_0.jsonAdded+1
SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/triton_poi_fused_new_zeros_0.cubinAdded
SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/triton_poi_fused_new_zeros_0.jsonAdded+1
SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/triton_poi_fused_new_zeros_0.llirAdded+52
SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/triton_poi_fused_new_zeros_0.ptxAdded+214
SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/triton_poi_fused_new_zeros_0.sourceAdded+38
SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/triton_poi_fused_new_zeros_0.ttgirAdded+35
SpecForge-ext/cache/compiled_kernels/triton/2/42NVHDOVRHC3TSIT2M6NVJU72L5EVVTGFXWS47GDCP2GM2XRN7KA/triton_poi_fused_new_zeros_0.ttirAdded+34
SpecForge-ext/cache/compiled_kernels/triton/2/4GZ7CVSLAS6HV3PFLT7QTVXV766VDM2EJD6F6EMVZBCIWXUB73MA/__grp__triton_red_fused_zeros_0.jsonAdded+1
SpecForge-ext/cache/compiled_kernels/triton/2/4GZ7CVSLAS6HV3PFLT7QTVXV766VDM2EJD6F6EMVZBCIWXUB73MA/triton_red_fused_zeros_0.cubinAdded
SpecForge-ext/cache/compiled_kernels/triton/2/4GZ7CVSLAS6HV3PFLT7QTVXV766VDM2EJD6F6EMVZBCIWXUB73MA/triton_red_fused_zeros_0.jsonAdded+1
SpecForge-ext/cache/compiled_kernels/triton/2/4GZ7CVSLAS6HV3PFLT7QTVXV766VDM2EJD6F6EMVZBCIWXUB73MA/triton_red_fused_zeros_0.llirAdded+190