; LLVM IR from ermig1979/Simd :: src/Simd (SimdBaseSynetMergedConvolution32f)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.Simd::SynetMergedConvolution32f" = type { %"struct.Simd::Deletable", %"struct.Simd::MergConvParam", %"struct.Simd::Array", %"class.std::__cxx11::basic_string" }
%"struct.Simd::Deletable" = type { ptr }
%"struct.Simd::MergConvParam" = type <{ [3 x %"struct.Simd::ConvParam"], i64, i32, [4 x i8] }>
%"struct.Simd::ConvParam" = type <{ %struct.SimdConvolutionParameters, i32, [4 x i8], i64, i32, [4 x i8] }>
%struct.SimdConvolutionParameters = type { i64, i64, i64, i32, i32, i64, i64, i64, i32, i32, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i32 }
%"struct.Simd::Array" = type { ptr, i64 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.Simd::Base::SynetMergedConvolution32f" = type { %"class.Simd::SynetMergedConvolution32f", [4 x ptr], i64, i64, [2 x i64], [3 x %"struct.Simd::Array"], [3 x %"struct.Simd::Array"], [3 x %"struct.Simd::Array"], [3 x ptr], [3 x ptr], [3 x ptr], i64, i64, [2 x i64], [2 x i64], [2 x i64], [3 x i64] }

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base25SynetMergedConvolution32f7ForwardEPKfPfS4_(ptr noundef nonnull align 8 dereferenceable(992) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) unnamed_addr #2 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %13 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %14 = getelementptr inbounds %"class.Simd::SynetMergedConvolution32f", ptr %13, i32 0, i32 1
  store ptr %14, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %15 = load ptr, ptr %7, align 8, !tbaa !5
  %16 = call noundef ptr @_ZN4Simd25SynetMergedConvolution32f6BufferEPf(ptr noundef nonnull align 8 dereferenceable(624) %13, ptr noundef %15)
  store ptr %16, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %17 = load ptr, ptr %10, align 8, !tbaa !5
  %18 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution32f", ptr %13, i32 0, i32 4
  %19 = getelementptr inbounds [2 x i64], ptr %18, i64 0, i64 0
  %20 = load i64, ptr %19, align 8, !tbaa !9
  %21 = getelementptr inbounds float, ptr %17, i64 %20
  store ptr %21, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  store i64 0, ptr %12, align 8, !tbaa !9
  br label %22

22:                                               ; preds = %132, %4
  %23 = load i64, ptr %12, align 8, !tbaa !9
  %24 = load ptr, ptr %9, align 8, !tbaa !5
  %25 = getelementptr inbounds %"struct.Simd::MergConvParam", ptr %24, i32 0, i32 0
  %26 = getelementptr inbounds [3 x %"struct.Simd::ConvParam"], ptr %25, i64 0, i64 0
  %27 = getelementptr inbounds %"struct.Simd::ConvParam", ptr %26, i32 0, i32 3
  %28 = load i64, ptr %27, align 8, !tbaa !11
  %29 = icmp ult i64 %23, %28
  br i1 %29, label %31, label %30

30:                                               ; preds = %22
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  br label %135

31:                                               ; preds = %22
  %32 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution32f", ptr %13, i32 0, i32 1
  %33 = getelementptr inbounds [4 x ptr], ptr %32, i64 0, i64 0
  %34 = load ptr, ptr %33, align 8, !tbaa !5
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.Simd::MergConvParam", ptr %36, i32 0, i32 0
  %38 = getelementptr inbounds [3 x %"struct.Simd::ConvParam"], ptr %37, i64 0, i64 0
  %39 = load ptr, ptr %9, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.Simd::MergConvParam", ptr %39, i32 0, i32 0
  %41 = getelementptr inbounds [3 x %"struct.Simd::ConvParam"], ptr %40, i64 0, i64 0
  %42 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %41, i32 0, i32 6
  %43 = load i64, ptr %42, align 8, !tbaa !19
  %44 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution32f", ptr %13, i32 0, i32 8
  %45 = getelementptr inbounds [3 x ptr], ptr %44, i64 0, i64 0
  %46 = load ptr, ptr %45, align 8, !tbaa !5
  %47 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution32f", ptr %13, i32 0, i32 9
  %48 = getelementptr inbounds [3 x ptr], ptr %47, i64 0, i64 0
  %49 = load ptr, ptr %48, align 8, !tbaa !5
  %50 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution32f", ptr %13, i32 0, i32 10
  %51 = getelementptr inbounds [3 x ptr], ptr %50, i64 0, i64 0
  %52 = load ptr, ptr %51, align 8, !tbaa !5
  %53 = load ptr, ptr %10, align 8, !tbaa !5
  call void %34(ptr noundef %35, ptr noundef nonnull align 8 dereferenceable(160) %38, i64 noundef 0, i64 noundef 0, i64 noundef %43, ptr noundef null, ptr noundef %46, ptr noundef %49, ptr noundef %52, ptr noundef %53, i32 noundef 1)
  %54 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution32f", ptr %13, i32 0, i32 1
  %55 = getelementptr inbounds [4 x ptr], ptr %54, i64 0, i64 1
  %56 = load ptr, ptr %55, align 8, !tbaa !5
  %57 = load ptr, ptr %10, align 8, !tbaa !5
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.Simd::MergConvParam", ptr %58, i32 0, i32 0
  %60 = getelementptr inbounds [3 x %"struct.Simd::ConvParam"], ptr %59, i64 0, i64 1
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  %62 = getelementptr inbounds %"struct.Simd::MergConvParam", ptr %61, i32 0, i32 0
  %63 = getelementptr inbounds [3 x %"struct.Simd::ConvParam"], ptr %62, i64 0, i64 1
  %64 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %63, i32 0, i32 6
  %65 = load i64, ptr %64, align 8, !tbaa !19
  %66 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution32f", ptr %13, i32 0, i32 8
  %67 = getelementptr inbounds [3 x ptr], ptr %66, i64 0, i64 1
  %68 = load ptr, ptr %67, align 8, !tbaa !5
  %69 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution32f", ptr %13, i32 0, i32 9
  %70 = getelementptr inbounds [3 x ptr], ptr %69, i64 0, i64 1
  %71 = load ptr, ptr %70, align 8, !tbaa !5
  %72 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution32f", ptr %13, i32 0, i32 10
  %73 = getelementptr inbounds [3 x ptr], ptr %72, i64 0, i64 1
  %74 = load ptr, ptr %73, align 8, !tbaa !5
  %75 = load ptr, ptr %9, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.Simd::MergConvParam", ptr %75, i32 0, i32 1
  %77 = load i64, ptr %76, align 8, !tbaa !20
  %78 = icmp eq i64 %77, 3
  br i1 %78, label %79, label %81

79:                                               ; preds = %31
  %80 = load ptr, ptr %11, align 8, !tbaa !5
  br label %83

81:                                               ; preds = %31
  %82 = load ptr, ptr %8, align 8, !tbaa !5
  br label %83

83:                                               ; preds = %81, %79
  %84 = phi ptr [ %80, %79 ], [ %82, %81 ]
  call void %56(ptr noundef %57, ptr noundef nonnull align 8 dereferenceable(160) %60, i64 noundef 0, i64 noundef 0, i64 noundef %65, ptr noundef null, ptr noundef %68, ptr noundef %71, ptr noundef %74, ptr noundef %84, i32 noundef 1)
  %85 = load ptr, ptr %9, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.Simd::MergConvParam", ptr %85, i32 0, i32 1
  %87 = load i64, ptr %86, align 8, !tbaa !20
  %88 = icmp ugt i64 %87, 2
  br i1 %88, label %89, label %123

89:                                               ; preds = %83
  %90 = load ptr, ptr %9, align 8, !tbaa !5
  %91 = getelementptr inbounds %"struct.Simd::MergConvParam", ptr %90, i32 0, i32 2
  %92 = load i32, ptr %91, align 8, !tbaa !22
  %93 = icmp ne i32 %92, 0
  br i1 %93, label %94, label %100

94:                                               ; preds = %89
  %95 = load ptr, ptr %8, align 8, !tbaa !5
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution32f", ptr %13, i32 0, i32 2
  %98 = load i64, ptr %97, align 8, !tbaa !23
  %99 = mul i64 4, %98
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %95, ptr align 4 %96, i64 %99, i1 false)
  br label %100

100:                                              ; preds = %94, %89
  %101 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution32f", ptr %13, i32 0, i32 1
  %102 = getelementptr inbounds [4 x ptr], ptr %101, i64 0, i64 2
  %103 = load ptr, ptr %102, align 8, !tbaa !5
  %104 = load ptr, ptr %11, align 8, !tbaa !5
  %105 = load ptr, ptr %9, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.Simd::MergConvParam", ptr %105, i32 0, i32 0
  %107 = getelementptr inbounds [3 x %"struct.Simd::ConvParam"], ptr %106, i64 0, i64 2
  %108 = load ptr, ptr %9, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.Simd::MergConvParam", ptr %108, i32 0, i32 0
  %110 = getelementptr inbounds [3 x %"struct.Simd::ConvParam"], ptr %109, i64 0, i64 2
  %111 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %110, i32 0, i32 6
  %112 = load i64, ptr %111, align 8, !tbaa !19
  %113 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution32f", ptr %13, i32 0, i32 8
  %114 = getelementptr inbounds [3 x ptr], ptr %113, i64 0, i64 2
  %115 = load ptr, ptr %114, align 8, !tbaa !5
  %116 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution32f", ptr %13, i32 0, i32 9
  %117 = getelementptr inbounds [3 x ptr], ptr %116, i64 0, i64 2
  %118 = load ptr, ptr %117, align 8, !tbaa !5
  %119 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution32f", ptr %13, i32 0, i32 10
  %120 = getelementptr inbounds [3 x ptr], ptr %119, i64 0, i64 2
  %121 = load ptr, ptr %120, align 8, !tbaa !5
  %122 = load ptr, ptr %8, align 8, !tbaa !5
  call void %103(ptr noundef %104, ptr noundef nonnull align 8 dereferenceable(160) %107, i64 noundef 0, i64 noundef 0, i64 noundef %112, ptr noundef null, ptr noundef %115, ptr noundef %118, ptr noundef %121, ptr noundef %122, i32 noundef 1)
  br label %123

123:                                              ; preds = %100, %83
  %124 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution32f", ptr %13, i32 0, i32 2
  %125 = load i64, ptr %124, align 8, !tbaa !23
  %126 = load ptr, ptr %6, align 8, !tbaa !5
  %127 = getelementptr inbounds float, ptr %126, i64 %125
  store ptr %127, ptr %6, align 8, !tbaa !5
  %128 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution32f", ptr %13, i32 0, i32 3
  %129 = load i64, ptr %128, align 8, !tbaa !30
  %130 = load ptr, ptr %8, align 8, !tbaa !5
  %131 = getelementptr inbounds float, ptr %130, i64 %129
  store ptr %131, ptr %8, align 8, !tbaa !5
  br label %132

132:                                              ; preds = %123
  %133 = load i64, ptr %12, align 8, !tbaa !9
  %134 = add i64 %133, 1
  store i64 %134, ptr %12, align 8, !tbaa !9
  br label %22, !llvm.loop !31

135:                                              ; preds = %30
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN4Simd25SynetMergedConvolution32f6BufferEPf(ptr noundef nonnull align 8 dereferenceable(624), ptr noundef) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 168}
!12 = !{!"_ZTSN4Simd9ConvParamE", !13, i64 0, !17, i64 160, !10, i64 168, !18, i64 176}
!13 = !{!"_ZTS25SimdConvolutionParameters", !10, i64 0, !10, i64 8, !10, i64 16, !14, i64 24, !15, i64 28, !10, i64 32, !10, i64 40, !10, i64 48, !14, i64 56, !15, i64 60, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !16, i64 152}
!14 = !{!"_ZTS18SimdTensorDataType", !7, i64 0}
!15 = !{!"_ZTS20SimdTensorFormatType", !7, i64 0}
!16 = !{!"_ZTS29SimdConvolutionActivationType", !7, i64 0}
!17 = !{!"_ZTS8SimdBool", !7, i64 0}
!18 = !{!"_ZTS26SimdSynetCompatibilityType", !7, i64 0}
!19 = !{!13, !10, i64 40}
!20 = !{!21, !10, i64 552}
!21 = !{!"_ZTSN4Simd13MergConvParamE", !7, i64 0, !10, i64 552, !17, i64 560}
!22 = !{!21, !17, i64 560}
!23 = !{!24, !10, i64 656}
!24 = !{!"_ZTSN4Simd4Base25SynetMergedConvolution32fE", !25, i64 0, !7, i64 624, !10, i64 656, !10, i64 664, !7, i64 672, !7, i64 688, !7, i64 736, !7, i64 784, !7, i64 832, !7, i64 856, !7, i64 880, !10, i64 904, !10, i64 912, !7, i64 920, !7, i64 936, !7, i64 952, !7, i64 968}
!25 = !{!"_ZTSN4Simd25SynetMergedConvolution32fE", !26, i64 0, !21, i64 8, !27, i64 576, !28, i64 592}
!26 = !{!"_ZTSN4Simd9DeletableE"}
!27 = !{!"_ZTSN4Simd5ArrayIfEE", !6, i64 0, !10, i64 8}
!28 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !29, i64 0, !10, i64 8, !7, i64 16}
!29 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!30 = !{!24, !10, i64 664}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base25SynetMergedConvolution32f7ForwardEPKfPfS4_(ptr noundef nonnull align 8 dereferenceable(992) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) unnamed_addr #1 align 2 {
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  %6 = tail call noundef ptr @_ZN4Simd25SynetMergedConvolution32f6BufferEPf(ptr noundef nonnull align 8 dereferenceable(624) %0, ptr noundef %2)
  %7 = getelementptr inbounds i8, ptr %0, i64 672
  %8 = load i64, ptr %7, align 8, !tbaa !5
  %9 = getelementptr inbounds float, ptr %6, i64 %8
  %10 = getelementptr inbounds i8, ptr %0, i64 176
  %11 = load i64, ptr %10, align 8, !tbaa !9
  %.not30 = icmp eq i64 %11, 0
  br i1 %.not30, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %4
  %12 = getelementptr inbounds i8, ptr %0, i64 624
  %13 = getelementptr inbounds i8, ptr %0, i64 48
  %14 = getelementptr inbounds i8, ptr %0, i64 832
  %15 = getelementptr inbounds i8, ptr %0, i64 856
  %16 = getelementptr inbounds i8, ptr %0, i64 880
  %17 = getelementptr inbounds i8, ptr %0, i64 632
  %18 = getelementptr inbounds i8, ptr %0, i64 192
  %19 = getelementptr inbounds i8, ptr %0, i64 232
  %20 = getelementptr inbounds i8, ptr %0, i64 840
  %21 = getelementptr inbounds i8, ptr %0, i64 864
  %22 = getelementptr inbounds i8, ptr %0, i64 888
  %23 = getelementptr inbounds i8, ptr %0, i64 560
  %24 = getelementptr inbounds i8, ptr %0, i64 568
  %25 = getelementptr inbounds i8, ptr %0, i64 656
  %26 = getelementptr inbounds i8, ptr %0, i64 640
  %27 = getelementptr inbounds i8, ptr %0, i64 376
  %28 = getelementptr inbounds i8, ptr %0, i64 416
  %29 = getelementptr inbounds i8, ptr %0, i64 848
  %30 = getelementptr inbounds i8, ptr %0, i64 872
  %31 = getelementptr inbounds i8, ptr %0, i64 896
  %32 = getelementptr inbounds i8, ptr %0, i64 664
  br label %33

._crit_edge:                                      ; preds = %60, %4
  ret void

33:                                               ; preds = %.lr.ph, %60
  %.029 = phi i64 [ 0, %.lr.ph ], [ %65, %60 ]
  %.02528 = phi ptr [ %1, %.lr.ph ], [ %62, %60 ]
  %.02627 = phi ptr [ %3, %.lr.ph ], [ %64, %60 ]
  %34 = load ptr, ptr %12, align 8, !tbaa !17
  %35 = load i64, ptr %13, align 8, !tbaa !19
  %36 = load ptr, ptr %14, align 8, !tbaa !17
  %37 = load ptr, ptr %15, align 8, !tbaa !17
  %38 = load ptr, ptr %16, align 8, !tbaa !17
  tail call void %34(ptr noundef %.02528, ptr noundef nonnull align 8 dereferenceable(160) %5, i64 noundef 0, i64 noundef 0, i64 noundef %35, ptr noundef null, ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %6, i32 noundef 1)
  %39 = load ptr, ptr %17, align 8, !tbaa !17
  %40 = load i64, ptr %19, align 8, !tbaa !19
  %41 = load ptr, ptr %20, align 8, !tbaa !17
  %42 = load ptr, ptr %21, align 8, !tbaa !17
  %43 = load ptr, ptr %22, align 8, !tbaa !17
  %44 = load i64, ptr %23, align 8, !tbaa !20
  %45 = icmp eq i64 %44, 3
  %46 = select i1 %45, ptr %9, ptr %.02627
  tail call void %39(ptr noundef %6, ptr noundef nonnull align 8 dereferenceable(160) %18, i64 noundef 0, i64 noundef 0, i64 noundef %40, ptr noundef null, ptr noundef %41, ptr noundef %42, ptr noundef %43, ptr noundef %46, i32 noundef 1)
  %47 = load i64, ptr %23, align 8, !tbaa !20
  %48 = icmp ugt i64 %47, 2
  br i1 %48, label %49, label %60

49:                                               ; preds = %33
  %50 = load i32, ptr %24, align 8, !tbaa !22
  %.not = icmp eq i32 %50, 0
  br i1 %.not, label %54, label %51

51:                                               ; preds = %49
  %52 = load i64, ptr %25, align 8, !tbaa !23
  %53 = shl i64 %52, 2
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 4 %.02627, ptr align 4 %.02528, i64 %53, i1 false)
  br label %54

54:                                               ; preds = %51, %49
  %55 = load ptr, ptr %26, align 8, !tbaa !17
  %56 = load i64, ptr %28, align 8, !tbaa !19
  %57 = load ptr, ptr %29, align 8, !tbaa !17
  %58 = load ptr, ptr %30, align 8, !tbaa !17
  %59 = load ptr, ptr %31, align 8, !tbaa !17
  tail call void %55(ptr noundef %9, ptr noundef nonnull align 8 dereferenceable(160) %27, i64 noundef 0, i64 noundef 0, i64 noundef %56, ptr noundef null, ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %.02627, i32 noundef 1)
  br label %60

60:                                               ; preds = %54, %33
  %61 = load i64, ptr %25, align 8, !tbaa !23
  %62 = getelementptr inbounds float, ptr %.02528, i64 %61
  %63 = load i64, ptr %32, align 8, !tbaa !30
  %64 = getelementptr inbounds float, ptr %.02627, i64 %63
  %65 = add nuw i64 %.029, 1
  %66 = load i64, ptr %10, align 8, !tbaa !9
  %67 = icmp ult i64 %65, %66
  br i1 %67, label %33, label %._crit_edge, !llvm.loop !31
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN4Simd25SynetMergedConvolution32f6BufferEPf(ptr noundef nonnull align 8 dereferenceable(624), ptr noundef) local_unnamed_addr #1 align 2

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 168}
!10 = !{!"_ZTSN4Simd9ConvParamE", !11, i64 0, !15, i64 160, !6, i64 168, !16, i64 176}
!11 = !{!"_ZTS25SimdConvolutionParameters", !6, i64 0, !6, i64 8, !6, i64 16, !12, i64 24, !13, i64 28, !6, i64 32, !6, i64 40, !6, i64 48, !12, i64 56, !13, i64 60, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !14, i64 152}
!12 = !{!"_ZTS18SimdTensorDataType", !7, i64 0}
!13 = !{!"_ZTS20SimdTensorFormatType", !7, i64 0}
!14 = !{!"_ZTS29SimdConvolutionActivationType", !7, i64 0}
!15 = !{!"_ZTS8SimdBool", !7, i64 0}
!16 = !{!"_ZTS26SimdSynetCompatibilityType", !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"any pointer", !7, i64 0}
!19 = !{!11, !6, i64 40}
!20 = !{!21, !6, i64 552}
!21 = !{!"_ZTSN4Simd13MergConvParamE", !7, i64 0, !6, i64 552, !15, i64 560}
!22 = !{!21, !15, i64 560}
!23 = !{!24, !6, i64 656}
!24 = !{!"_ZTSN4Simd4Base25SynetMergedConvolution32fE", !25, i64 0, !7, i64 624, !6, i64 656, !6, i64 664, !7, i64 672, !7, i64 688, !7, i64 736, !7, i64 784, !7, i64 832, !7, i64 856, !7, i64 880, !6, i64 904, !6, i64 912, !7, i64 920, !7, i64 936, !7, i64 952, !7, i64 968}
!25 = !{!"_ZTSN4Simd25SynetMergedConvolution32fE", !26, i64 0, !21, i64 8, !27, i64 576, !28, i64 592}
!26 = !{!"_ZTSN4Simd9DeletableE"}
!27 = !{!"_ZTSN4Simd5ArrayIfEE", !18, i64 0, !6, i64 8}
!28 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !29, i64 0, !6, i64 8, !7, i64 16}
!29 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !18, i64 0}
!30 = !{!24, !6, i64 664}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass