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

; 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::Base::SynetConvolution32fWinograd" = type { %"class.Simd::SynetConvolution32f", i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, %"struct.Simd::Array", ptr, ptr, ptr }
%"class.Simd::SynetConvolution32f" = type { %"struct.Simd::Deletable", %"struct.Simd::ConvParam", %"struct.Simd::Array", float, float, ptr, ptr, ptr, %"struct.Simd::Runtime", %"struct.Simd::Runtime.3", %"struct.Simd::Array", ptr, ptr, ptr, %"class.std::__cxx11::basic_string" }
%"struct.Simd::Deletable" = type { ptr }
%"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::Runtime" = type { ptr, %"class.std::vector", %"class.std::__cxx11::basic_string" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Simd::Runtime<Simd::GemmFunc, Simd::GemmArgs>::Candidate, std::allocator<Simd::Runtime<Simd::GemmFunc, Simd::GemmArgs>::Candidate>>::_Vector_impl" }
%"struct.std::_Vector_base<Simd::Runtime<Simd::GemmFunc, Simd::GemmArgs>::Candidate, std::allocator<Simd::Runtime<Simd::GemmFunc, Simd::GemmArgs>::Candidate>>::_Vector_impl" = type { %"struct.std::_Vector_base<Simd::Runtime<Simd::GemmFunc, Simd::GemmArgs>::Candidate, std::allocator<Simd::Runtime<Simd::GemmFunc, Simd::GemmArgs>::Candidate>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Simd::Runtime<Simd::GemmFunc, Simd::GemmArgs>::Candidate, std::allocator<Simd::Runtime<Simd::GemmFunc, Simd::GemmArgs>::Candidate>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Simd::Runtime.3" = type { ptr, %"class.std::vector.4", %"class.std::__cxx11::basic_string" }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<Simd::Runtime<Simd::GemmCbFunc, Simd::GemmCbArgs>::Candidate, std::allocator<Simd::Runtime<Simd::GemmCbFunc, Simd::GemmCbArgs>::Candidate>>::_Vector_impl" }
%"struct.std::_Vector_base<Simd::Runtime<Simd::GemmCbFunc, Simd::GemmCbArgs>::Candidate, std::allocator<Simd::Runtime<Simd::GemmCbFunc, Simd::GemmCbArgs>::Candidate>>::_Vector_impl" = type { %"struct.std::_Vector_base<Simd::Runtime<Simd::GemmCbFunc, Simd::GemmCbArgs>::Candidate, std::allocator<Simd::Runtime<Simd::GemmCbFunc, Simd::GemmCbArgs>::Candidate>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Simd::Runtime<Simd::GemmCbFunc, Simd::GemmCbArgs>::Candidate, std::allocator<Simd::Runtime<Simd::GemmCbFunc, Simd::GemmCbArgs>::Candidate>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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] }
%"struct.Simd::Array" = type { ptr, 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: mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd19SynetConvolution32f9SetParamsEPKfP8SimdBoolS2_S2_(ptr noundef nonnull align 8 dereferenceable(440), ptr noundef, ptr noundef, ptr noundef, ptr noundef) unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK4Simd7RuntimeINS_10GemmCbFuncENS_10GemmCbArgsEE4SizeEv(ptr noundef nonnull align 8 dereferenceable(64)) #2 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK4Simd10GemmCbFunc8ReorderBEmmmPKfPf(ptr noundef nonnull align 8 dereferenceable(64), i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base27SynetConvolution32fWinograd9SetParamsEPKfP8SimdBoolS3_S3_(ptr noundef nonnull align 8 dereferenceable(624) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) unnamed_addr #4 align 2 {
  %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 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
  %12 = load ptr, ptr %6, align 8
  %13 = load ptr, ptr %7, align 8, !tbaa !5
  %14 = load ptr, ptr %8, align 8, !tbaa !5
  %15 = load ptr, ptr %9, align 8, !tbaa !5
  %16 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN4Simd19SynetConvolution32f9SetParamsEPKfP8SimdBoolS2_S2_(ptr noundef nonnull align 8 dereferenceable(440) %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16)
  %17 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %12, i32 0, i32 19
  %18 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %12, i32 0, i32 6
  %19 = load i64, ptr %18, align 8, !tbaa !9
  %20 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %12, i32 0, i32 1
  %21 = load i64, ptr %20, align 8, !tbaa !35
  %22 = mul i64 %19, %21
  call void @_ZN4Simd5ArrayIfE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef %22, i1 noundef zeroext false, i64 noundef 8)
  %23 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %12, i32 0, i32 20
  %24 = load ptr, ptr %23, align 8, !tbaa !36
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = getelementptr inbounds %"class.Simd::SynetConvolution32f", ptr %12, i32 0, i32 1
  %27 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %26, i32 0, i32 0
  %28 = load i64, ptr %27, align 8, !tbaa !37
  %29 = getelementptr inbounds %"class.Simd::SynetConvolution32f", ptr %12, i32 0, i32 1
  %30 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %29, i32 0, i32 5
  %31 = load i64, ptr %30, align 8, !tbaa !38
  %32 = mul i64 %28, %31
  %33 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %12, i32 0, i32 19
  %34 = getelementptr inbounds %"struct.Simd::Array", ptr %33, i32 0, i32 0
  %35 = load ptr, ptr %34, align 8, !tbaa !39
  %36 = getelementptr inbounds %"class.Simd::SynetConvolution32f", ptr %12, i32 0, i32 1
  %37 = getelementptr inbounds %"struct.Simd::ConvParam", ptr %36, i32 0, i32 1
  %38 = load i32, ptr %37, align 8, !tbaa !40
  call void %24(ptr noundef %25, i64 noundef %32, ptr noundef %35, i32 noundef %38)
  %39 = getelementptr inbounds %"class.Simd::SynetConvolution32f", ptr %12, i32 0, i32 10
  %40 = getelementptr inbounds %"struct.Simd::Array", ptr %39, i32 0, i32 0
  %41 = load ptr, ptr %40, align 8, !tbaa !41
  %42 = icmp ne ptr %41, null
  br i1 %42, label %43, label %116

43:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  store i64 0, ptr %11, align 8, !tbaa !42
  br label %44

44:                                               ; preds = %111, %43
  %45 = load i64, ptr %11, align 8, !tbaa !42
  %46 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %12, i32 0, i32 1
  %47 = load i64, ptr %46, align 8, !tbaa !35
  %48 = icmp ult i64 %45, %47
  br i1 %48, label %50, label %49

49:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %114

50:                                               ; preds = %44
  %51 = getelementptr inbounds %"class.Simd::SynetConvolution32f", ptr %12, i32 0, i32 9
  %52 = call noundef i64 @_ZNK4Simd7RuntimeINS_10GemmCbFuncENS_10GemmCbArgsEE4SizeEv(ptr noundef nonnull align 8 dereferenceable(64) %51)
  %53 = icmp ne i64 %52, 0
  br i1 %53, label %54, label %82

54:                                               ; preds = %50
  %55 = getelementptr inbounds %"class.Simd::SynetConvolution32f", ptr %12, i32 0, i32 9
  %56 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK4Simd7RuntimeINS_10GemmCbFuncENS_10GemmCbArgsEE2AtEm(ptr noundef nonnull align 8 dereferenceable(64) %55, i64 noundef 0)
  %57 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %12, i32 0, i32 9
  %58 = load i64, ptr %57, align 8, !tbaa !43
  %59 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %12, i32 0, i32 16
  %60 = load i64, ptr %59, align 8, !tbaa !44
  %61 = mul i64 %58, %60
  %62 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %12, i32 0, i32 10
  %63 = load i64, ptr %62, align 8, !tbaa !45
  %64 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %12, i32 0, i32 11
  %65 = load i64, ptr %64, align 8, !tbaa !46
  %66 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %12, i32 0, i32 19
  %67 = getelementptr inbounds %"struct.Simd::Array", ptr %66, i32 0, i32 0
  %68 = load ptr, ptr %67, align 8, !tbaa !39
  %69 = load i64, ptr %11, align 8, !tbaa !42
  %70 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %12, i32 0, i32 6
  %71 = load i64, ptr %70, align 8, !tbaa !9
  %72 = mul i64 %69, %71
  %73 = getelementptr inbounds float, ptr %68, i64 %72
  %74 = getelementptr inbounds %"class.Simd::SynetConvolution32f", ptr %12, i32 0, i32 10
  %75 = getelementptr inbounds %"struct.Simd::Array", ptr %74, i32 0, i32 0
  %76 = load ptr, ptr %75, align 8, !tbaa !41
  %77 = load i64, ptr %11, align 8, !tbaa !42
  %78 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %12, i32 0, i32 15
  %79 = load i64, ptr %78, align 8, !tbaa !47
  %80 = mul i64 %77, %79
  %81 = getelementptr inbounds float, ptr %76, i64 %80
  call void @_ZNK4Simd10GemmCbFunc8ReorderBEmmmPKfPf(ptr noundef nonnull align 8 dereferenceable(64) %56, i64 noundef %61, i64 noundef %63, i64 noundef %65, ptr noundef %73, ptr noundef %81)
  br label %110

82:                                               ; preds = %50
  %83 = getelementptr inbounds %"class.Simd::SynetConvolution32f", ptr %12, i32 0, i32 12
  %84 = load ptr, ptr %83, align 8, !tbaa !48
  %85 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %12, i32 0, i32 9
  %86 = load i64, ptr %85, align 8, !tbaa !43
  %87 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %12, i32 0, i32 16
  %88 = load i64, ptr %87, align 8, !tbaa !44
  %89 = mul i64 %86, %88
  %90 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %12, i32 0, i32 10
  %91 = load i64, ptr %90, align 8, !tbaa !45
  %92 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %12, i32 0, i32 11
  %93 = load i64, ptr %92, align 8, !tbaa !46
  %94 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %12, i32 0, i32 19
  %95 = getelementptr inbounds %"struct.Simd::Array", ptr %94, i32 0, i32 0
  %96 = load ptr, ptr %95, align 8, !tbaa !39
  %97 = load i64, ptr %11, align 8, !tbaa !42
  %98 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %12, i32 0, i32 6
  %99 = load i64, ptr %98, align 8, !tbaa !9
  %100 = mul i64 %97, %99
  %101 = getelementptr inbounds float, ptr %96, i64 %100
  %102 = getelementptr inbounds %"class.Simd::SynetConvolution32f", ptr %12, i32 0, i32 10
  %103 = getelementptr inbounds %"struct.Simd::Array", ptr %102, i32 0, i32 0
  %104 = load ptr, ptr %103, align 8, !tbaa !41
  %105 = load i64, ptr %11, align 8, !tbaa !42
  %106 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %12, i32 0, i32 15
  %107 = load i64, ptr %106, align 8, !tbaa !47
  %108 = mul i64 %105, %107
  %109 = getelementptr inbounds float, ptr %104, i64 %108
  call void %84(i64 noundef %89, i64 noundef %91, i64 noundef %93, ptr noundef %101, ptr noundef %109, i32 noundef 0, i1 noundef zeroext false)
  br label %110

110:                                              ; preds = %82, %54
  br label %111

111:                                              ; preds = %110
  %112 = load i64, ptr %11, align 8, !tbaa !42
  %113 = add i64 %112, 1
  store i64 %113, ptr %11, align 8, !tbaa !42
  br label %44, !llvm.loop !49

114:                                              ; preds = %49
  %115 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %12, i32 0, i32 19
  call void @_ZN4Simd5ArrayIfE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16) %115, i64 noundef 0, i1 noundef zeroext false, i64 noundef 8)
  br label %116

116:                                              ; preds = %114, %5
  %117 = load ptr, ptr %8, align 8, !tbaa !5
  %118 = icmp ne ptr %117, null
  br i1 %118, label %119, label %121

119:                                              ; preds = %116
  %120 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 1, ptr %120, align 4, !tbaa !51
  br label %121

121:                                              ; preds = %119, %116
  ret void
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 #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, !15, i64 480}
!10 = !{!"_ZTSN4Simd4Base27SynetConvolution32fWinogradE", !11, i64 0, !15, i64 440, !15, i64 448, !15, i64 456, !15, i64 464, !15, i64 472, !15, i64 480, !15, i64 488, !15, i64 496, !15, i64 504, !15, i64 512, !15, i64 520, !15, i64 528, !15, i64 536, !15, i64 544, !15, i64 552, !15, i64 560, !15, i64 568, !15, i64 576, !21, i64 584, !6, i64 600, !6, i64 608, !6, i64 616}
!11 = !{!"_ZTSN4Simd19SynetConvolution32fE", !12, i64 0, !13, i64 8, !21, i64 192, !22, i64 208, !22, i64 212, !6, i64 216, !6, i64 224, !6, i64 232, !23, i64 240, !30, i64 304, !21, i64 368, !6, i64 384, !6, i64 392, !6, i64 400, !28, i64 408}
!12 = !{!"_ZTSN4Simd9DeletableE"}
!13 = !{!"_ZTSN4Simd9ConvParamE", !14, i64 0, !19, i64 160, !15, i64 168, !20, i64 176}
!14 = !{!"_ZTS25SimdConvolutionParameters", !15, i64 0, !15, i64 8, !15, i64 16, !16, i64 24, !17, i64 28, !15, i64 32, !15, i64 40, !15, i64 48, !16, i64 56, !17, i64 60, !15, i64 64, !15, i64 72, !15, i64 80, !15, i64 88, !15, i64 96, !15, i64 104, !15, i64 112, !15, i64 120, !15, i64 128, !15, i64 136, !15, i64 144, !18, i64 152}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTS18SimdTensorDataType", !7, i64 0}
!17 = !{!"_ZTS20SimdTensorFormatType", !7, i64 0}
!18 = !{!"_ZTS29SimdConvolutionActivationType", !7, i64 0}
!19 = !{!"_ZTS8SimdBool", !7, i64 0}
!20 = !{!"_ZTS26SimdSynetCompatibilityType", !7, i64 0}
!21 = !{!"_ZTSN4Simd5ArrayIfEE", !6, i64 0, !15, i64 8}
!22 = !{!"float", !7, i64 0}
!23 = !{!"_ZTSN4Simd7RuntimeINS_8GemmFuncENS_8GemmArgsEEE", !6, i64 0, !24, i64 8, !28, i64 32}
!24 = !{!"_ZTSSt6vectorIN4Simd7RuntimeINS0_8GemmFuncENS0_8GemmArgsEE9CandidateESaIS5_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIN4Simd7RuntimeINS0_8GemmFuncENS0_8GemmArgsEE9CandidateESaIS5_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN4Simd7RuntimeINS0_8GemmFuncENS0_8GemmArgsEE9CandidateESaIS5_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN4Simd7RuntimeINS0_8GemmFuncENS0_8GemmArgsEE9CandidateESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !29, i64 0, !15, i64 8, !7, i64 16}
!29 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!30 = !{!"_ZTSN4Simd7RuntimeINS_10GemmCbFuncENS_10GemmCbArgsEEE", !6, i64 0, !31, i64 8, !28, i64 32}
!31 = !{!"_ZTSSt6vectorIN4Simd7RuntimeINS0_10GemmCbFuncENS0_10GemmCbArgsEE9CandidateESaIS5_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIN4Simd7RuntimeINS0_10GemmCbFuncENS0_10GemmCbArgsEE9CandidateESaIS5_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN4Simd7RuntimeINS0_10GemmCbFuncENS0_10GemmCbArgsEE9CandidateESaIS5_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIN4Simd7RuntimeINS0_10GemmCbFuncENS0_10GemmCbArgsEE9CandidateESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!35 = !{!10, !15, i64 440}
!36 = !{!10, !6, i64 600}
!37 = !{!14, !15, i64 0}
!38 = !{!14, !15, i64 32}
!39 = !{!10, !6, i64 584}
!40 = !{!11, !19, i64 168}
!41 = !{!11, !6, i64 368}
!42 = !{!15, !15, i64 0}
!43 = !{!10, !15, i64 504}
!44 = !{!10, !15, i64 560}
!45 = !{!10, !15, i64 512}
!46 = !{!10, !15, i64 520}
!47 = !{!10, !15, i64 552}
!48 = !{!11, !6, i64 392}
!49 = distinct !{!49, !50}
!50 = !{!"llvm.loop.mustprogress"}
!51 = !{!19, !19, 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"

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd19SynetConvolution32f9SetParamsEPKfP8SimdBoolS2_S2_(ptr noundef nonnull align 8 dereferenceable(440), ptr noundef, ptr noundef, ptr noundef, ptr noundef) unnamed_addr #0 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK4Simd7RuntimeINS_10GemmCbFuncENS_10GemmCbArgsEE4SizeEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #1 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK4Simd10GemmCbFunc8ReorderBEmmmPKfPf(ptr noundef nonnull align 8 dereferenceable(64), i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base27SynetConvolution32fWinograd9SetParamsEPKfP8SimdBoolS3_S3_(ptr noundef nonnull align 8 dereferenceable(624) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) unnamed_addr #3 align 2 {
  tail call void @_ZN4Simd19SynetConvolution32f9SetParamsEPKfP8SimdBoolS2_S2_(ptr noundef nonnull align 8 dereferenceable(440) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
  %6 = getelementptr inbounds i8, ptr %0, i64 584
  %7 = getelementptr inbounds i8, ptr %0, i64 480
  %8 = load i64, ptr %7, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 440
  %10 = load i64, ptr %9, align 8, !tbaa !34
  %11 = mul i64 %10, %8
  tail call void @_ZN4Simd5ArrayIfE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16) %6, i64 noundef %11, i1 noundef zeroext false, i64 noundef 8)
  %12 = getelementptr inbounds i8, ptr %0, i64 600
  %13 = load ptr, ptr %12, align 8, !tbaa !35
  %14 = getelementptr inbounds i8, ptr %0, i64 8
  %15 = load i64, ptr %14, align 8, !tbaa !36
  %16 = getelementptr inbounds i8, ptr %0, i64 40
  %17 = load i64, ptr %16, align 8, !tbaa !37
  %18 = mul i64 %17, %15
  %19 = load ptr, ptr %6, align 8, !tbaa !38
  %20 = getelementptr inbounds i8, ptr %0, i64 168
  %21 = load i32, ptr %20, align 8, !tbaa !39
  tail call void %13(ptr noundef %1, i64 noundef %18, ptr noundef %19, i32 noundef %21)
  %22 = getelementptr inbounds i8, ptr %0, i64 368
  %23 = load ptr, ptr %22, align 8, !tbaa !40
  %.not = icmp eq ptr %23, null
  br i1 %.not, label %68, label %.preheader

.preheader:                                       ; preds = %5
  %24 = load i64, ptr %9, align 8, !tbaa !34
  %.not17 = icmp eq i64 %24, 0
  br i1 %.not17, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %25 = getelementptr inbounds i8, ptr %0, i64 304
  %26 = getelementptr inbounds i8, ptr %0, i64 504
  %27 = getelementptr inbounds i8, ptr %0, i64 560
  %28 = getelementptr inbounds i8, ptr %0, i64 512
  %29 = getelementptr inbounds i8, ptr %0, i64 520
  %30 = getelementptr inbounds i8, ptr %0, i64 552
  %31 = getelementptr inbounds i8, ptr %0, i64 392
  br label %32

._crit_edge:                                      ; preds = %64, %.preheader
  tail call void @_ZN4Simd5ArrayIfE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16) %6, i64 noundef 0, i1 noundef zeroext false, i64 noundef 8)
  br label %68

32:                                               ; preds = %.lr.ph, %64
  %.016 = phi i64 [ 0, %.lr.ph ], [ %65, %64 ]
  %33 = tail call noundef i64 @_ZNK4Simd7RuntimeINS_10GemmCbFuncENS_10GemmCbArgsEE4SizeEv(ptr noundef nonnull align 8 dereferenceable(64) %25)
  %.not15 = icmp eq i64 %33, 0
  br i1 %.not15, label %49, label %34

34:                                               ; preds = %32
  %35 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK4Simd7RuntimeINS_10GemmCbFuncENS_10GemmCbArgsEE2AtEm(ptr noundef nonnull align 8 dereferenceable(64) %25, i64 noundef 0)
  %36 = load i64, ptr %26, align 8, !tbaa !41
  %37 = load i64, ptr %27, align 8, !tbaa !42
  %38 = mul i64 %37, %36
  %39 = load i64, ptr %28, align 8, !tbaa !43
  %40 = load i64, ptr %29, align 8, !tbaa !44
  %41 = load ptr, ptr %6, align 8, !tbaa !38
  %42 = load i64, ptr %7, align 8, !tbaa !5
  %43 = mul i64 %42, %.016
  %44 = getelementptr inbounds float, ptr %41, i64 %43
  %45 = load ptr, ptr %22, align 8, !tbaa !40
  %46 = load i64, ptr %30, align 8, !tbaa !45
  %47 = mul i64 %46, %.016
  %48 = getelementptr inbounds float, ptr %45, i64 %47
  tail call void @_ZNK4Simd10GemmCbFunc8ReorderBEmmmPKfPf(ptr noundef nonnull align 8 dereferenceable(64) %35, i64 noundef %38, i64 noundef %39, i64 noundef %40, ptr noundef %44, ptr noundef %48)
  br label %64

49:                                               ; preds = %32
  %50 = load ptr, ptr %31, align 8, !tbaa !46
  %51 = load i64, ptr %26, align 8, !tbaa !41
  %52 = load i64, ptr %27, align 8, !tbaa !42
  %53 = mul i64 %52, %51
  %54 = load i64, ptr %28, align 8, !tbaa !43
  %55 = load i64, ptr %29, align 8, !tbaa !44
  %56 = load ptr, ptr %6, align 8, !tbaa !38
  %57 = load i64, ptr %7, align 8, !tbaa !5
  %58 = mul i64 %57, %.016
  %59 = getelementptr inbounds float, ptr %56, i64 %58
  %60 = load ptr, ptr %22, align 8, !tbaa !40
  %61 = load i64, ptr %30, align 8, !tbaa !45
  %62 = mul i64 %61, %.016
  %63 = getelementptr inbounds float, ptr %60, i64 %62
  tail call void %50(i64 noundef %53, i64 noundef %54, i64 noundef %55, ptr noundef %59, ptr noundef %63, i32 noundef 0, i1 noundef zeroext false)
  br label %64

64:                                               ; preds = %34, %49
  %65 = add nuw i64 %.016, 1
  %66 = load i64, ptr %9, align 8, !tbaa !34
  %67 = icmp ult i64 %65, %66
  br i1 %67, label %32, label %._crit_edge, !llvm.loop !47

68:                                               ; preds = %._crit_edge, %5
  %.not14 = icmp eq ptr %2, null
  br i1 %.not14, label %70, label %69

69:                                               ; preds = %68
  store i32 1, ptr %2, align 4, !tbaa !49
  br label %70

70:                                               ; preds = %69, %68
  ret void
}

; 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 #2 align 2

attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { 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, !11, i64 480}
!6 = !{!"_ZTSN4Simd4Base27SynetConvolution32fWinogradE", !7, i64 0, !11, i64 440, !11, i64 448, !11, i64 456, !11, i64 464, !11, i64 472, !11, i64 480, !11, i64 488, !11, i64 496, !11, i64 504, !11, i64 512, !11, i64 520, !11, i64 528, !11, i64 536, !11, i64 544, !11, i64 552, !11, i64 560, !11, i64 568, !11, i64 576, !19, i64 584, !20, i64 600, !20, i64 608, !20, i64 616}
!7 = !{!"_ZTSN4Simd19SynetConvolution32fE", !8, i64 0, !9, i64 8, !19, i64 192, !21, i64 208, !21, i64 212, !20, i64 216, !20, i64 224, !20, i64 232, !22, i64 240, !29, i64 304, !19, i64 368, !20, i64 384, !20, i64 392, !20, i64 400, !27, i64 408}
!8 = !{!"_ZTSN4Simd9DeletableE"}
!9 = !{!"_ZTSN4Simd9ConvParamE", !10, i64 0, !17, i64 160, !11, i64 168, !18, i64 176}
!10 = !{!"_ZTS25SimdConvolutionParameters", !11, i64 0, !11, i64 8, !11, i64 16, !14, i64 24, !15, i64 28, !11, i64 32, !11, i64 40, !11, i64 48, !14, i64 56, !15, i64 60, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !16, i64 152}
!11 = !{!"long", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"_ZTS18SimdTensorDataType", !12, i64 0}
!15 = !{!"_ZTS20SimdTensorFormatType", !12, i64 0}
!16 = !{!"_ZTS29SimdConvolutionActivationType", !12, i64 0}
!17 = !{!"_ZTS8SimdBool", !12, i64 0}
!18 = !{!"_ZTS26SimdSynetCompatibilityType", !12, i64 0}
!19 = !{!"_ZTSN4Simd5ArrayIfEE", !20, i64 0, !11, i64 8}
!20 = !{!"any pointer", !12, i64 0}
!21 = !{!"float", !12, i64 0}
!22 = !{!"_ZTSN4Simd7RuntimeINS_8GemmFuncENS_8GemmArgsEEE", !20, i64 0, !23, i64 8, !27, i64 32}
!23 = !{!"_ZTSSt6vectorIN4Simd7RuntimeINS0_8GemmFuncENS0_8GemmArgsEE9CandidateESaIS5_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIN4Simd7RuntimeINS0_8GemmFuncENS0_8GemmArgsEE9CandidateESaIS5_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN4Simd7RuntimeINS0_8GemmFuncENS0_8GemmArgsEE9CandidateESaIS5_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN4Simd7RuntimeINS0_8GemmFuncENS0_8GemmArgsEE9CandidateESaIS5_EE17_Vector_impl_dataE", !20, i64 0, !20, i64 8, !20, i64 16}
!27 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !28, i64 0, !11, i64 8, !12, i64 16}
!28 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !20, i64 0}
!29 = !{!"_ZTSN4Simd7RuntimeINS_10GemmCbFuncENS_10GemmCbArgsEEE", !20, i64 0, !30, i64 8, !27, i64 32}
!30 = !{!"_ZTSSt6vectorIN4Simd7RuntimeINS0_10GemmCbFuncENS0_10GemmCbArgsEE9CandidateESaIS5_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIN4Simd7RuntimeINS0_10GemmCbFuncENS0_10GemmCbArgsEE9CandidateESaIS5_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN4Simd7RuntimeINS0_10GemmCbFuncENS0_10GemmCbArgsEE9CandidateESaIS5_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN4Simd7RuntimeINS0_10GemmCbFuncENS0_10GemmCbArgsEE9CandidateESaIS5_EE17_Vector_impl_dataE", !20, i64 0, !20, i64 8, !20, i64 16}
!34 = !{!6, !11, i64 440}
!35 = !{!6, !20, i64 600}
!36 = !{!10, !11, i64 0}
!37 = !{!10, !11, i64 32}
!38 = !{!6, !20, i64 584}
!39 = !{!7, !17, i64 168}
!40 = !{!7, !20, i64 368}
!41 = !{!6, !11, i64 504}
!42 = !{!6, !11, i64 560}
!43 = !{!6, !11, i64 512}
!44 = !{!6, !11, i64 520}
!45 = !{!6, !11, i64 552}
!46 = !{!7, !20, i64 392}
!47 = distinct !{!47, !48}
!48 = !{!"llvm.loop.mustprogress"}
!49 = !{!17, !17, i64 0}


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