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

; 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"

%"struct.Simd::Array" = type { ptr, i64 }
%"class.Simd::Base::SynetInnerProduct32fGemm" = type { %"class.Simd::SynetInnerProduct32f", float, float, ptr, ptr, ptr, i64, i64, i64, i64, i64, i64, %"struct.Simd::Array", ptr, ptr }
%"class.Simd::SynetInnerProduct32f" = type { %"struct.Simd::Deletable", %"struct.Simd::InnerProductParam32f", ptr, ptr, ptr }
%"struct.Simd::Deletable" = type { ptr }
%"struct.Simd::InnerProductParam32f" = type { i64, i64, i64, i32, i32 }

; 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: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd5ArrayIfEC2Embm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i1 noundef zeroext, i64 noundef) unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base24SynetInnerProduct32fGemm9SetParamsEPKfP8SimdBoolS3_S3_(ptr noundef nonnull align 8 dereferenceable(176) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %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 %"struct.Simd::Array", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  %16 = alloca i64, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  %17 = load ptr, ptr %6, align 8
  %18 = load ptr, ptr %7, align 8, !tbaa !5
  %19 = load ptr, ptr %8, align 8, !tbaa !5
  %20 = load ptr, ptr %9, align 8, !tbaa !5
  %21 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN4Simd20SynetInnerProduct32f9SetParamsEPKfP8SimdBoolS2_S2_(ptr noundef nonnull align 8 dereferenceable(64) %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21)
  %22 = getelementptr inbounds %"class.Simd::Base::SynetInnerProduct32fGemm", ptr %17, i32 0, i32 12
  %23 = getelementptr inbounds %"struct.Simd::Array", ptr %22, i32 0, i32 0
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  %25 = icmp ne ptr %24, null
  br i1 %25, label %26, label %107

26:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  call void @_ZN4Simd5ArrayIfEC2Embm(ptr noundef nonnull align 8 dereferenceable(16) %11, i64 noundef 0, i1 noundef zeroext false, i64 noundef 8)
  %27 = getelementptr inbounds %"class.Simd::SynetInnerProduct32f", ptr %17, i32 0, i32 1
  %28 = getelementptr inbounds %"struct.Simd::InnerProductParam32f", ptr %27, i32 0, i32 3
  %29 = load i32, ptr %28, align 8, !tbaa !19
  %30 = icmp ne i32 %29, 0
  br i1 %30, label %31, label %87

31:                                               ; preds = %26
  %32 = getelementptr inbounds %"class.Simd::Base::SynetInnerProduct32fGemm", ptr %17, i32 0, i32 7
  %33 = load i64, ptr %32, align 8, !tbaa !20
  %34 = getelementptr inbounds %"class.Simd::Base::SynetInnerProduct32fGemm", ptr %17, i32 0, i32 8
  %35 = load i64, ptr %34, align 8, !tbaa !21
  %36 = mul i64 %33, %35
  invoke void @_ZN4Simd5ArrayIfE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16) %11, i64 noundef %36, i1 noundef zeroext false, i64 noundef 8)
          to label %37 unwind label %44

37:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  store i64 0, ptr %14, align 8, !tbaa !22
  br label %38

38:                                               ; preds = %81, %37
  %39 = load i64, ptr %14, align 8, !tbaa !22
  %40 = getelementptr inbounds %"class.Simd::Base::SynetInnerProduct32fGemm", ptr %17, i32 0, i32 8
  %41 = load i64, ptr %40, align 8, !tbaa !21
  %42 = icmp ult i64 %39, %41
  br i1 %42, label %48, label %43

43:                                               ; preds = %38
  store i32 2, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %84

44:                                               ; preds = %87, %31
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %12, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %13, align 4
  br label %106

48:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  store i64 0, ptr %16, align 8, !tbaa !22
  br label %49

49:                                               ; preds = %73, %48
  %50 = load i64, ptr %16, align 8, !tbaa !22
  %51 = getelementptr inbounds %"class.Simd::Base::SynetInnerProduct32fGemm", ptr %17, i32 0, i32 7
  %52 = load i64, ptr %51, align 8, !tbaa !20
  %53 = icmp ult i64 %50, %52
  br i1 %53, label %55, label %54

54:                                               ; preds = %49
  store i32 5, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %80

55:                                               ; preds = %49
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = load i64, ptr %16, align 8, !tbaa !22
  %58 = getelementptr inbounds %"class.Simd::Base::SynetInnerProduct32fGemm", ptr %17, i32 0, i32 8
  %59 = load i64, ptr %58, align 8, !tbaa !21
  %60 = mul i64 %57, %59
  %61 = load i64, ptr %14, align 8, !tbaa !22
  %62 = add i64 %60, %61
  %63 = getelementptr inbounds float, ptr %56, i64 %62
  %64 = load float, ptr %63, align 4, !tbaa !23
  %65 = load i64, ptr %14, align 8, !tbaa !22
  %66 = getelementptr inbounds %"class.Simd::Base::SynetInnerProduct32fGemm", ptr %17, i32 0, i32 7
  %67 = load i64, ptr %66, align 8, !tbaa !20
  %68 = mul i64 %65, %67
  %69 = load i64, ptr %16, align 8, !tbaa !22
  %70 = add i64 %68, %69
  %71 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Simd5ArrayIfEixEm(ptr noundef nonnull align 8 dereferenceable(16) %11, i64 noundef %70)
          to label %72 unwind label %76

72:                                               ; preds = %55
  store float %64, ptr %71, align 4, !tbaa !23
  br label %73

73:                                               ; preds = %72
  %74 = load i64, ptr %16, align 8, !tbaa !22
  %75 = add i64 %74, 1
  store i64 %75, ptr %16, align 8, !tbaa !22
  br label %49, !llvm.loop !24

76:                                               ; preds = %55
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %12, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %106

80:                                               ; preds = %54
  br label %81

81:                                               ; preds = %80
  %82 = load i64, ptr %14, align 8, !tbaa !22
  %83 = add i64 %82, 1
  store i64 %83, ptr %14, align 8, !tbaa !22
  br label %38, !llvm.loop !26

84:                                               ; preds = %43
  %85 = getelementptr inbounds %"struct.Simd::Array", ptr %11, i32 0, i32 0
  %86 = load ptr, ptr %85, align 8, !tbaa !27
  store ptr %86, ptr %7, align 8, !tbaa !5
  br label %87

87:                                               ; preds = %84, %26
  %88 = getelementptr inbounds %"class.Simd::Base::SynetInnerProduct32fGemm", ptr %17, i32 0, i32 13
  %89 = load ptr, ptr %88, align 8, !tbaa !28
  %90 = getelementptr inbounds %"class.Simd::Base::SynetInnerProduct32fGemm", ptr %17, i32 0, i32 6
  %91 = load i64, ptr %90, align 8, !tbaa !29
  %92 = getelementptr inbounds %"class.Simd::Base::SynetInnerProduct32fGemm", ptr %17, i32 0, i32 7
  %93 = load i64, ptr %92, align 8, !tbaa !20
  %94 = getelementptr inbounds %"class.Simd::Base::SynetInnerProduct32fGemm", ptr %17, i32 0, i32 8
  %95 = load i64, ptr %94, align 8, !tbaa !21
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = getelementptr inbounds %"class.Simd::Base::SynetInnerProduct32fGemm", ptr %17, i32 0, i32 12
  %98 = getelementptr inbounds %"struct.Simd::Array", ptr %97, i32 0, i32 0
  %99 = load ptr, ptr %98, align 8, !tbaa !9
  invoke void %89(i64 noundef %91, i64 noundef %93, i64 noundef %95, ptr noundef %96, ptr noundef %99, i32 noundef 0, i1 noundef zeroext false)
          to label %100 unwind label %44

100:                                              ; preds = %87
  %101 = load ptr, ptr %8, align 8, !tbaa !5
  %102 = icmp ne ptr %101, null
  br i1 %102, label %103, label %105

103:                                              ; preds = %100
  %104 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 1, ptr %104, align 4, !tbaa !30
  br label %105

105:                                              ; preds = %103, %100
  call void @_ZN4Simd5ArrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  br label %107

106:                                              ; preds = %76, %44
  call void @_ZN4Simd5ArrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  br label %108

107:                                              ; preds = %105, %5
  ret void

108:                                              ; preds = %106
  %109 = load ptr, ptr %12, align 8
  %110 = load i32, ptr %13, align 4
  %111 = insertvalue { ptr, i32 } poison, ptr %109, 0
  %112 = insertvalue { ptr, i32 } %111, i32 %110, 1
  resume { ptr, i32 } %112
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd20SynetInnerProduct32f9SetParamsEPKfP8SimdBoolS2_S2_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef, ptr noundef, ptr noundef, ptr noundef) unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd5ArrayIfE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i1 noundef zeroext, i64 noundef) #1 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Simd5ArrayIfEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #4 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd5ArrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline 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 #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 = { mustprogress nounwind 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 #4 = { alwaysinline mustprogress nounwind 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 #5 = { 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, !6, i64 144}
!10 = !{!"_ZTSN4Simd4Base24SynetInnerProduct32fGemmE", !11, i64 0, !17, i64 64, !17, i64 68, !6, i64 72, !6, i64 80, !6, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !14, i64 136, !18, i64 144, !6, i64 160, !6, i64 168}
!11 = !{!"_ZTSN4Simd20SynetInnerProduct32fE", !12, i64 0, !13, i64 8, !6, i64 40, !6, i64 48, !6, i64 56}
!12 = !{!"_ZTSN4Simd9DeletableE"}
!13 = !{!"_ZTSN4Simd20InnerProductParam32fE", !14, i64 0, !14, i64 8, !14, i64 16, !15, i64 24, !16, i64 28}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_ZTS8SimdBool", !7, i64 0}
!16 = !{!"_ZTS29SimdConvolutionActivationType", !7, i64 0}
!17 = !{!"float", !7, i64 0}
!18 = !{!"_ZTSN4Simd5ArrayIfEE", !6, i64 0, !14, i64 8}
!19 = !{!11, !15, i64 32}
!20 = !{!10, !14, i64 104}
!21 = !{!10, !14, i64 112}
!22 = !{!14, !14, i64 0}
!23 = !{!17, !17, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}
!27 = !{!18, !6, i64 0}
!28 = !{!10, !6, i64 160}
!29 = !{!10, !14, i64 96}
!30 = !{!15, !15, i64 0}


; 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"

%"struct.Simd::Array" = type { ptr, i64 }

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd5ArrayIfEC2Embm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i1 noundef zeroext, i64 noundef) unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base24SynetInnerProduct32fGemm9SetParamsEPKfP8SimdBoolS3_S3_(ptr noundef nonnull align 8 dereferenceable(176) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"struct.Simd::Array", align 8
  tail call void @_ZN4Simd20SynetInnerProduct32f9SetParamsEPKfP8SimdBoolS2_S2_(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
  %7 = getelementptr inbounds i8, ptr %0, i64 144
  %8 = load ptr, ptr %7, align 8, !tbaa !5
  %.not = icmp eq ptr %8, null
  br i1 %.not, label %52, label %9

9:                                                ; preds = %5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  call void @_ZN4Simd5ArrayIfEC2Embm(ptr noundef nonnull align 8 dereferenceable(16) %6, i64 noundef 0, i1 noundef zeroext false, i64 noundef 8)
  %10 = getelementptr inbounds i8, ptr %0, i64 32
  %11 = load i32, ptr %10, align 8, !tbaa !18
  %.not22 = icmp eq i32 %11, 0
  br i1 %.not22, label %._crit_edge32, label %12

._crit_edge32:                                    ; preds = %9
  %.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 112
  %.pre33 = load i64, ptr %.phi.trans.insert, align 8, !tbaa !19
  br label %40

12:                                               ; preds = %9
  %13 = getelementptr inbounds i8, ptr %0, i64 104
  %14 = load i64, ptr %13, align 8, !tbaa !20
  %15 = getelementptr inbounds i8, ptr %0, i64 112
  %16 = load i64, ptr %15, align 8, !tbaa !19
  %17 = mul i64 %16, %14
  invoke void @_ZN4Simd5ArrayIfE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16) %6, i64 noundef %17, i1 noundef zeroext false, i64 noundef 8)
          to label %.preheader24 unwind label %24

.preheader24:                                     ; preds = %12
  %18 = load i64, ptr %15, align 8, !tbaa !19
  %.not28 = icmp eq i64 %18, 0
  br i1 %.not28, label %._crit_edge27, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %.preheader24
  %19 = load i64, ptr %13, align 8, !tbaa !20
  %.not29 = icmp eq i64 %19, 0
  br i1 %.not29, label %._crit_edge27, label %.preheader

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge
  %20 = phi i64 [ %26, %._crit_edge ], [ %18, %.preheader.lr.ph ]
  %21 = phi i64 [ %27, %._crit_edge ], [ %19, %.preheader.lr.ph ]
  %.01826 = phi i64 [ %28, %._crit_edge ], [ 0, %.preheader.lr.ph ]
  %invariant.gep = getelementptr float, ptr %1, i64 %.01826
  %.not30 = icmp eq i64 %21, 0
  br i1 %.not30, label %._crit_edge, label %.lr.ph

._crit_edge27:                                    ; preds = %._crit_edge, %.preheader.lr.ph, %.preheader24
  %22 = phi i64 [ 0, %.preheader24 ], [ %18, %.preheader.lr.ph ], [ %26, %._crit_edge ]
  %23 = load ptr, ptr %6, align 8, !tbaa !21
  br label %40

24:                                               ; preds = %40, %12
  %25 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4Simd5ArrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  resume { ptr, i32 } %25

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %.pre = load i64, ptr %15, align 8, !tbaa !19
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader
  %26 = phi i64 [ %.pre, %._crit_edge.loopexit ], [ %20, %.preheader ]
  %27 = phi i64 [ %38, %._crit_edge.loopexit ], [ 0, %.preheader ]
  %28 = add nuw i64 %.01826, 1
  %29 = icmp ult i64 %28, %26
  br i1 %29, label %.preheader, label %._crit_edge27, !llvm.loop !22

.lr.ph:                                           ; preds = %.preheader, %.lr.ph
  %30 = phi i64 [ %38, %.lr.ph ], [ %21, %.preheader ]
  %.025 = phi i64 [ %37, %.lr.ph ], [ 0, %.preheader ]
  %31 = load i64, ptr %15, align 8, !tbaa !19
  %32 = mul i64 %31, %.025
  %gep = getelementptr float, ptr %invariant.gep, i64 %32
  %33 = load float, ptr %gep, align 4, !tbaa !25
  %34 = mul i64 %30, %.01826
  %35 = add i64 %34, %.025
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Simd5ArrayIfEixEm(ptr noundef nonnull align 8 dereferenceable(16) %6, i64 noundef %35)
  store float %33, ptr %36, align 4, !tbaa !25
  %37 = add nuw i64 %.025, 1
  %38 = load i64, ptr %13, align 8, !tbaa !20
  %39 = icmp ult i64 %37, %38
  br i1 %39, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !26

40:                                               ; preds = %._crit_edge32, %._crit_edge27
  %41 = phi i64 [ %22, %._crit_edge27 ], [ %.pre33, %._crit_edge32 ]
  %.019 = phi ptr [ %23, %._crit_edge27 ], [ %1, %._crit_edge32 ]
  %42 = getelementptr inbounds i8, ptr %0, i64 160
  %43 = load ptr, ptr %42, align 8, !tbaa !27
  %44 = getelementptr inbounds i8, ptr %0, i64 96
  %45 = load i64, ptr %44, align 8, !tbaa !28
  %46 = getelementptr inbounds i8, ptr %0, i64 104
  %47 = load i64, ptr %46, align 8, !tbaa !20
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void %43(i64 noundef %45, i64 noundef %47, i64 noundef %41, ptr noundef %.019, ptr noundef %48, i32 noundef 0, i1 noundef zeroext false)
          to label %49 unwind label %24

49:                                               ; preds = %40
  %.not23 = icmp eq ptr %2, null
  br i1 %.not23, label %51, label %50

50:                                               ; preds = %49
  store i32 1, ptr %2, align 4, !tbaa !29
  br label %51

51:                                               ; preds = %50, %49
  call void @_ZN4Simd5ArrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  br label %52

52:                                               ; preds = %51, %5
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd20SynetInnerProduct32f9SetParamsEPKfP8SimdBoolS2_S2_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef, ptr noundef, ptr noundef, ptr noundef) unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd5ArrayIfE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i1 noundef zeroext, i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Simd5ArrayIfEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd5ArrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline 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 #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 = { mustprogress nounwind 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 #4 = { alwaysinline mustprogress nounwind 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 #5 = { 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, !15, i64 144}
!6 = !{!"_ZTSN4Simd4Base24SynetInnerProduct32fGemmE", !7, i64 0, !16, i64 64, !16, i64 68, !15, i64 72, !15, i64 80, !15, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !17, i64 144, !15, i64 160, !15, i64 168}
!7 = !{!"_ZTSN4Simd20SynetInnerProduct32fE", !8, i64 0, !9, i64 8, !15, i64 40, !15, i64 48, !15, i64 56}
!8 = !{!"_ZTSN4Simd9DeletableE"}
!9 = !{!"_ZTSN4Simd20InnerProductParam32fE", !10, i64 0, !10, i64 8, !10, i64 16, !13, i64 24, !14, i64 28}
!10 = !{!"long", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"_ZTS8SimdBool", !11, i64 0}
!14 = !{!"_ZTS29SimdConvolutionActivationType", !11, i64 0}
!15 = !{!"any pointer", !11, i64 0}
!16 = !{!"float", !11, i64 0}
!17 = !{!"_ZTSN4Simd5ArrayIfEE", !15, i64 0, !10, i64 8}
!18 = !{!7, !13, i64 32}
!19 = !{!6, !10, i64 112}
!20 = !{!6, !10, i64 104}
!21 = !{!17, !15, i64 0}
!22 = distinct !{!22, !23, !24}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!"llvm.loop.unswitch.partial.disable"}
!25 = !{!16, !16, i64 0}
!26 = distinct !{!26, !23}
!27 = !{!6, !15, i64 160}
!28 = !{!6, !10, i64 96}
!29 = !{!13, !13, i64 0}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass