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

%"struct.Simd::GemmCbArgs" = type { i64, i64, i64, ptr, ptr, ptr }
%"struct.Simd::GemmArgs" = type { i64, i64, i64, ptr, ptr, i64, ptr, i64, ptr, ptr, i64 }
%"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 }
%"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::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 }

; 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 nounwind uwtable
declare dso_local noundef i64 @_ZNK4Simd7RuntimeINS_10GemmCbFuncENS_10GemmCbArgsEE4SizeEv(ptr noundef nonnull align 8 dereferenceable(64)) #1 align 2

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd10GemmCbArgsC2EmmmPKfS2_Pf(ptr noundef nonnull align 8 dereferenceable(48), i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) unnamed_addr #1 align 2

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd8GemmArgsC2EmmmPKfS2_mS2_mS2_Pfm(ptr noundef nonnull align 8 dereferenceable(88), i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base27SynetConvolution32fWinograd15ForwardSplittedEPKfPfS4_S4_(ptr noundef nonnull align 8 dereferenceable(624) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #3 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 ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca %"struct.Simd::GemmCbArgs", align 8
  %24 = alloca %"struct.Simd::GemmArgs", 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
  %25 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %26 = getelementptr inbounds %"class.Simd::SynetConvolution32f", ptr %25, i32 0, i32 1
  store ptr %26, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  store i64 0, ptr %12, align 8, !tbaa !9
  br label %27

27:                                               ; preds = %340, %5
  %28 = load i64, ptr %12, align 8, !tbaa !9
  %29 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 12
  %30 = load i64, ptr %29, align 8, !tbaa !11
  %31 = icmp ult i64 %28, %30
  br i1 %31, label %33, label %32

32:                                               ; preds = %27
  store i32 2, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br label %343

33:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  store i64 0, ptr %14, align 8, !tbaa !9
  br label %34

34:                                               ; preds = %328, %33
  %35 = load i64, ptr %14, align 8, !tbaa !9
  %36 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 17
  %37 = load i64, ptr %36, align 8, !tbaa !36
  %38 = icmp ult i64 %35, %37
  br i1 %38, label %40, label %39

39:                                               ; preds = %34
  store i32 5, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  br label %331

40:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %41 = load i64, ptr %14, align 8, !tbaa !9
  %42 = icmp ne i64 %41, 0
  br i1 %42, label %43, label %44

43:                                               ; preds = %40
  br label %48

44:                                               ; preds = %40
  %45 = load ptr, ptr %11, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %45, i32 0, i32 16
  %47 = load i64, ptr %46, align 8, !tbaa !37
  br label %48

48:                                               ; preds = %44, %43
  %49 = phi i64 [ 0, %43 ], [ %47, %44 ]
  store i64 %49, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %50 = load i64, ptr %14, align 8, !tbaa !9
  %51 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 17
  %52 = load i64, ptr %51, align 8, !tbaa !36
  %53 = sub i64 %52, 1
  %54 = icmp eq i64 %50, %53
  br i1 %54, label %55, label %59

55:                                               ; preds = %48
  %56 = load ptr, ptr %11, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %56, i32 0, i32 18
  %58 = load i64, ptr %57, align 8, !tbaa !38
  br label %60

59:                                               ; preds = %48
  br label %60

60:                                               ; preds = %59, %55
  %61 = phi i64 [ %58, %55 ], [ 0, %59 ]
  store i64 %61, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %62 = load i64, ptr %14, align 8, !tbaa !9
  %63 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 18
  %64 = load i64, ptr %63, align 8, !tbaa !39
  %65 = mul i64 %62, %64
  %66 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 2
  %67 = load i64, ptr %66, align 8, !tbaa !40
  %68 = mul i64 %65, %67
  %69 = load i64, ptr %15, align 8, !tbaa !9
  %70 = add i64 %68, %69
  %71 = load ptr, ptr %11, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %71, i32 0, i32 16
  %73 = load i64, ptr %72, align 8, !tbaa !37
  %74 = sub i64 %70, %73
  store i64 %74, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %75 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 18
  %76 = load i64, ptr %75, align 8, !tbaa !39
  %77 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 2
  %78 = load i64, ptr %77, align 8, !tbaa !40
  %79 = mul i64 %76, %78
  %80 = load ptr, ptr %11, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %80, i32 0, i32 10
  %82 = load i64, ptr %81, align 8, !tbaa !41
  %83 = add i64 %79, %82
  %84 = sub i64 %83, 1
  %85 = load i64, ptr %15, align 8, !tbaa !9
  %86 = sub i64 %84, %85
  %87 = load i64, ptr %16, align 8, !tbaa !9
  %88 = sub i64 %86, %87
  %89 = load ptr, ptr %11, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %89, i32 0, i32 1
  %91 = load i64, ptr %90, align 8, !tbaa !42
  %92 = load i64, ptr %17, align 8, !tbaa !9
  %93 = sub i64 %91, %92
  %94 = call noundef i64 @_ZN4Simd3MinImEET_S1_S1_(i64 noundef %88, i64 noundef %93)
  store i64 %94, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %95 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 5
  %96 = load i64, ptr %95, align 8, !tbaa !43
  %97 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 18
  %98 = load i64, ptr %97, align 8, !tbaa !39
  %99 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 4
  %100 = load i64, ptr %99, align 8, !tbaa !44
  %101 = load i64, ptr %14, align 8, !tbaa !9
  %102 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 18
  %103 = load i64, ptr %102, align 8, !tbaa !39
  %104 = mul i64 %101, %103
  %105 = sub i64 %100, %104
  %106 = call noundef i64 @_ZN4Simd3MinImEET_S1_S1_(i64 noundef %98, i64 noundef %105)
  %107 = mul i64 %96, %106
  store i64 %107, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %108 = load i64, ptr %14, align 8, !tbaa !9
  %109 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 18
  %110 = load i64, ptr %109, align 8, !tbaa !39
  %111 = mul i64 %108, %110
  %112 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 2
  %113 = load i64, ptr %112, align 8, !tbaa !40
  %114 = mul i64 %111, %113
  store i64 %114, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  %115 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 18
  %116 = load i64, ptr %115, align 8, !tbaa !39
  %117 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 2
  %118 = load i64, ptr %117, align 8, !tbaa !40
  %119 = mul i64 %116, %118
  %120 = load ptr, ptr %11, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %120, i32 0, i32 6
  %122 = load i64, ptr %121, align 8, !tbaa !45
  %123 = load i64, ptr %20, align 8, !tbaa !9
  %124 = sub i64 %122, %123
  %125 = call noundef i64 @_ZN4Simd3MinImEET_S1_S1_(i64 noundef %119, i64 noundef %124)
  store i64 %125, ptr %21, align 8, !tbaa !9
  %126 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 21
  %127 = load ptr, ptr %126, align 8, !tbaa !46
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  %129 = load i64, ptr %17, align 8, !tbaa !9
  %130 = load ptr, ptr %11, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %130, i32 0, i32 0
  %132 = load i64, ptr %131, align 8, !tbaa !47
  %133 = mul i64 %129, %132
  %134 = load ptr, ptr %11, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %134, i32 0, i32 2
  %136 = load i64, ptr %135, align 8, !tbaa !48
  %137 = mul i64 %133, %136
  %138 = getelementptr inbounds float, ptr %128, i64 %137
  %139 = load ptr, ptr %11, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %139, i32 0, i32 0
  %141 = load i64, ptr %140, align 8, !tbaa !47
  %142 = load i64, ptr %18, align 8, !tbaa !9
  %143 = load ptr, ptr %11, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %143, i32 0, i32 2
  %145 = load i64, ptr %144, align 8, !tbaa !48
  %146 = load i64, ptr %15, align 8, !tbaa !9
  %147 = load ptr, ptr %11, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %147, i32 0, i32 17
  %149 = load i64, ptr %148, align 8, !tbaa !49
  %150 = load i64, ptr %16, align 8, !tbaa !9
  %151 = load ptr, ptr %11, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %151, i32 0, i32 19
  %153 = load i64, ptr %152, align 8, !tbaa !50
  %154 = load ptr, ptr %8, align 8, !tbaa !5
  %155 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 7
  %156 = load i64, ptr %155, align 8, !tbaa !51
  %157 = load ptr, ptr %11, align 8, !tbaa !5
  %158 = getelementptr inbounds %"struct.Simd::ConvParam", ptr %157, i32 0, i32 1
  %159 = load i32, ptr %158, align 8, !tbaa !52
  call void %127(ptr noundef %138, i64 noundef %141, i64 noundef %142, i64 noundef %145, i64 noundef %146, i64 noundef %149, i64 noundef %150, i64 noundef %153, ptr noundef %154, i64 noundef %156, i32 noundef %159)
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  store i64 0, ptr %22, align 8, !tbaa !9
  br label %160

160:                                              ; preds = %267, %60
  %161 = load i64, ptr %22, align 8, !tbaa !9
  %162 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 1
  %163 = load i64, ptr %162, align 8, !tbaa !53
  %164 = icmp ult i64 %161, %163
  br i1 %164, label %166, label %165

165:                                              ; preds = %160
  store i32 8, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  br label %270

166:                                              ; preds = %160
  %167 = getelementptr inbounds %"class.Simd::SynetConvolution32f", ptr %25, i32 0, i32 10
  %168 = getelementptr inbounds %"struct.Simd::Array", ptr %167, i32 0, i32 0
  %169 = load ptr, ptr %168, align 8, !tbaa !54
  %170 = icmp ne ptr %169, null
  br i1 %170, label %171, label %231

171:                                              ; preds = %166
  %172 = getelementptr inbounds %"class.Simd::SynetConvolution32f", ptr %25, i32 0, i32 9
  %173 = call noundef i64 @_ZNK4Simd7RuntimeINS_10GemmCbFuncENS_10GemmCbArgsEE4SizeEv(ptr noundef nonnull align 8 dereferenceable(64) %172)
  %174 = icmp ne i64 %173, 0
  br i1 %174, label %175, label %202

175:                                              ; preds = %171
  %176 = getelementptr inbounds %"class.Simd::SynetConvolution32f", ptr %25, i32 0, i32 9
  call void @llvm.lifetime.start.p0(i64 48, ptr %23) #4
  %177 = load i64, ptr %19, align 8, !tbaa !9
  %178 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 10
  %179 = load i64, ptr %178, align 8, !tbaa !55
  %180 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 11
  %181 = load i64, ptr %180, align 8, !tbaa !56
  %182 = load ptr, ptr %8, align 8, !tbaa !5
  %183 = load i64, ptr %22, align 8, !tbaa !9
  %184 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 7
  %185 = load i64, ptr %184, align 8, !tbaa !51
  %186 = mul i64 %183, %185
  %187 = getelementptr inbounds float, ptr %182, i64 %186
  %188 = getelementptr inbounds %"class.Simd::SynetConvolution32f", ptr %25, i32 0, i32 10
  %189 = getelementptr inbounds %"struct.Simd::Array", ptr %188, i32 0, i32 0
  %190 = load ptr, ptr %189, align 8, !tbaa !54
  %191 = load i64, ptr %22, align 8, !tbaa !9
  %192 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 15
  %193 = load i64, ptr %192, align 8, !tbaa !57
  %194 = mul i64 %191, %193
  %195 = getelementptr inbounds float, ptr %190, i64 %194
  %196 = load ptr, ptr %9, align 8, !tbaa !5
  %197 = load i64, ptr %22, align 8, !tbaa !9
  %198 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 8
  %199 = load i64, ptr %198, align 8, !tbaa !58
  %200 = mul i64 %197, %199
  %201 = getelementptr inbounds float, ptr %196, i64 %200
  call void @_ZN4Simd10GemmCbArgsC2EmmmPKfS2_Pf(ptr noundef nonnull align 8 dereferenceable(48) %23, i64 noundef %177, i64 noundef %179, i64 noundef %181, ptr noundef %187, ptr noundef %195, ptr noundef %201)
  call void @_ZN4Simd7RuntimeINS_10GemmCbFuncENS_10GemmCbArgsEE3RunERKS2_(ptr noundef nonnull align 8 dereferenceable(64) %176, ptr noundef nonnull align 8 dereferenceable(48) %23)
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #4
  br label %230

202:                                              ; preds = %171
  %203 = getelementptr inbounds %"class.Simd::SynetConvolution32f", ptr %25, i32 0, i32 11
  %204 = load ptr, ptr %203, align 8, !tbaa !59
  %205 = load i64, ptr %19, align 8, !tbaa !9
  %206 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 10
  %207 = load i64, ptr %206, align 8, !tbaa !55
  %208 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 11
  %209 = load i64, ptr %208, align 8, !tbaa !56
  %210 = load ptr, ptr %8, align 8, !tbaa !5
  %211 = load i64, ptr %22, align 8, !tbaa !9
  %212 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 7
  %213 = load i64, ptr %212, align 8, !tbaa !51
  %214 = mul i64 %211, %213
  %215 = getelementptr inbounds float, ptr %210, i64 %214
  %216 = getelementptr inbounds %"class.Simd::SynetConvolution32f", ptr %25, i32 0, i32 10
  %217 = getelementptr inbounds %"struct.Simd::Array", ptr %216, i32 0, i32 0
  %218 = load ptr, ptr %217, align 8, !tbaa !54
  %219 = load i64, ptr %22, align 8, !tbaa !9
  %220 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 15
  %221 = load i64, ptr %220, align 8, !tbaa !57
  %222 = mul i64 %219, %221
  %223 = getelementptr inbounds float, ptr %218, i64 %222
  %224 = load ptr, ptr %9, align 8, !tbaa !5
  %225 = load i64, ptr %22, align 8, !tbaa !9
  %226 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 8
  %227 = load i64, ptr %226, align 8, !tbaa !58
  %228 = mul i64 %225, %227
  %229 = getelementptr inbounds float, ptr %224, i64 %228
  call void %204(i64 noundef %205, i64 noundef %207, i64 noundef %209, ptr noundef %215, ptr noundef %223, ptr noundef %229, i32 noundef 0, i1 noundef zeroext false)
  br label %230

230:                                              ; preds = %202, %175
  br label %266

231:                                              ; preds = %166
  %232 = getelementptr inbounds %"class.Simd::SynetConvolution32f", ptr %25, i32 0, i32 8
  call void @llvm.lifetime.start.p0(i64 88, ptr %24) #4
  %233 = load i64, ptr %19, align 8, !tbaa !9
  %234 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 10
  %235 = load i64, ptr %234, align 8, !tbaa !55
  %236 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 11
  %237 = load i64, ptr %236, align 8, !tbaa !56
  %238 = getelementptr inbounds %"class.Simd::SynetConvolution32f", ptr %25, i32 0, i32 4
  %239 = load ptr, ptr %8, align 8, !tbaa !5
  %240 = load i64, ptr %22, align 8, !tbaa !9
  %241 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 7
  %242 = load i64, ptr %241, align 8, !tbaa !51
  %243 = mul i64 %240, %242
  %244 = getelementptr inbounds float, ptr %239, i64 %243
  %245 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 11
  %246 = load i64, ptr %245, align 8, !tbaa !56
  %247 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 19
  %248 = getelementptr inbounds %"struct.Simd::Array", ptr %247, i32 0, i32 0
  %249 = load ptr, ptr %248, align 8, !tbaa !60
  %250 = load i64, ptr %22, align 8, !tbaa !9
  %251 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 6
  %252 = load i64, ptr %251, align 8, !tbaa !61
  %253 = mul i64 %250, %252
  %254 = getelementptr inbounds float, ptr %249, i64 %253
  %255 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 10
  %256 = load i64, ptr %255, align 8, !tbaa !55
  %257 = getelementptr inbounds %"class.Simd::SynetConvolution32f", ptr %25, i32 0, i32 3
  %258 = load ptr, ptr %9, align 8, !tbaa !5
  %259 = load i64, ptr %22, align 8, !tbaa !9
  %260 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 8
  %261 = load i64, ptr %260, align 8, !tbaa !58
  %262 = mul i64 %259, %261
  %263 = getelementptr inbounds float, ptr %258, i64 %262
  %264 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 10
  %265 = load i64, ptr %264, align 8, !tbaa !55
  call void @_ZN4Simd8GemmArgsC2EmmmPKfS2_mS2_mS2_Pfm(ptr noundef nonnull align 8 dereferenceable(88) %24, i64 noundef %233, i64 noundef %235, i64 noundef %237, ptr noundef %238, ptr noundef %244, i64 noundef %246, ptr noundef %254, i64 noundef %256, ptr noundef %257, ptr noundef %263, i64 noundef %265)
  call void @_ZN4Simd7RuntimeINS_8GemmFuncENS_8GemmArgsEE3RunERKS2_(ptr noundef nonnull align 8 dereferenceable(64) %232, ptr noundef nonnull align 8 dereferenceable(88) %24)
  call void @llvm.lifetime.end.p0(i64 88, ptr %24) #4
  br label %266

266:                                              ; preds = %231, %230
  br label %267

267:                                              ; preds = %266
  %268 = load i64, ptr %22, align 8, !tbaa !9
  %269 = add i64 %268, 1
  store i64 %269, ptr %22, align 8, !tbaa !9
  br label %160, !llvm.loop !62

270:                                              ; preds = %165
  %271 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 22
  %272 = load ptr, ptr %271, align 8, !tbaa !64
  %273 = load ptr, ptr %9, align 8, !tbaa !5
  %274 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 8
  %275 = load i64, ptr %274, align 8, !tbaa !58
  %276 = load ptr, ptr %10, align 8, !tbaa !5
  %277 = load i64, ptr %20, align 8, !tbaa !9
  %278 = load ptr, ptr %11, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %278, i32 0, i32 5
  %280 = load i64, ptr %279, align 8, !tbaa !65
  %281 = mul i64 %277, %280
  %282 = load ptr, ptr %11, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %282, i32 0, i32 7
  %284 = load i64, ptr %283, align 8, !tbaa !66
  %285 = mul i64 %281, %284
  %286 = getelementptr inbounds float, ptr %276, i64 %285
  %287 = load ptr, ptr %11, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %287, i32 0, i32 5
  %289 = load i64, ptr %288, align 8, !tbaa !65
  %290 = load i64, ptr %21, align 8, !tbaa !9
  %291 = load ptr, ptr %11, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %291, i32 0, i32 7
  %293 = load i64, ptr %292, align 8, !tbaa !66
  %294 = load ptr, ptr %11, align 8, !tbaa !5
  %295 = getelementptr inbounds %"struct.Simd::ConvParam", ptr %294, i32 0, i32 1
  %296 = load i32, ptr %295, align 8, !tbaa !52
  call void %272(ptr noundef %273, i64 noundef %275, ptr noundef %286, i64 noundef %289, i64 noundef %290, i64 noundef %293, i32 noundef %296)
  %297 = getelementptr inbounds %"class.Simd::SynetConvolution32f", ptr %25, i32 0, i32 13
  %298 = load ptr, ptr %297, align 8, !tbaa !67
  %299 = getelementptr inbounds %"class.Simd::SynetConvolution32f", ptr %25, i32 0, i32 6
  %300 = load ptr, ptr %299, align 8, !tbaa !68
  %301 = load ptr, ptr %11, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %301, i32 0, i32 5
  %303 = load i64, ptr %302, align 8, !tbaa !65
  %304 = load i64, ptr %21, align 8, !tbaa !9
  %305 = load ptr, ptr %11, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %305, i32 0, i32 7
  %307 = load i64, ptr %306, align 8, !tbaa !66
  %308 = mul i64 %304, %307
  %309 = load ptr, ptr %11, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %309, i32 0, i32 21
  %311 = load i32, ptr %310, align 8, !tbaa !69
  %312 = getelementptr inbounds %"class.Simd::SynetConvolution32f", ptr %25, i32 0, i32 7
  %313 = load ptr, ptr %312, align 8, !tbaa !70
  %314 = load ptr, ptr %11, align 8, !tbaa !5
  %315 = getelementptr inbounds %"struct.Simd::ConvParam", ptr %314, i32 0, i32 1
  %316 = load i32, ptr %315, align 8, !tbaa !52
  %317 = load ptr, ptr %10, align 8, !tbaa !5
  %318 = load i64, ptr %20, align 8, !tbaa !9
  %319 = load ptr, ptr %11, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %319, i32 0, i32 5
  %321 = load i64, ptr %320, align 8, !tbaa !65
  %322 = mul i64 %318, %321
  %323 = load ptr, ptr %11, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %323, i32 0, i32 7
  %325 = load i64, ptr %324, align 8, !tbaa !66
  %326 = mul i64 %322, %325
  %327 = getelementptr inbounds float, ptr %317, i64 %326
  call void %298(ptr noundef %300, i64 noundef %303, i64 noundef %308, i32 noundef %311, ptr noundef %313, i32 noundef %316, ptr noundef %327)
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  br label %328

328:                                              ; preds = %270
  %329 = load i64, ptr %14, align 8, !tbaa !9
  %330 = add i64 %329, 1
  store i64 %330, ptr %14, align 8, !tbaa !9
  br label %34, !llvm.loop !71

331:                                              ; preds = %39
  %332 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 13
  %333 = load i64, ptr %332, align 8, !tbaa !72
  %334 = load ptr, ptr %7, align 8, !tbaa !5
  %335 = getelementptr inbounds float, ptr %334, i64 %333
  store ptr %335, ptr %7, align 8, !tbaa !5
  %336 = getelementptr inbounds %"class.Simd::Base::SynetConvolution32fWinograd", ptr %25, i32 0, i32 14
  %337 = load i64, ptr %336, align 8, !tbaa !73
  %338 = load ptr, ptr %10, align 8, !tbaa !5
  %339 = getelementptr inbounds float, ptr %338, i64 %337
  store ptr %339, ptr %10, align 8, !tbaa !5
  br label %340

340:                                              ; preds = %331
  %341 = load i64, ptr %12, align 8, !tbaa !9
  %342 = add i64 %341, 1
  store i64 %342, ptr %12, align 8, !tbaa !9
  br label %27, !llvm.loop !74

343:                                              ; preds = %32
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  ret void
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN4Simd3MinImEET_S1_S1_(i64 noundef, i64 noundef) #1

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


; 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::GemmCbArgs" = type { i64, i64, i64, ptr, ptr, ptr }
%"struct.Simd::GemmArgs" = type { i64, i64, i64, ptr, ptr, i64, ptr, i64, ptr, 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 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 uwtable
declare dso_local void @_ZN4Simd7RuntimeINS_10GemmCbFuncENS_10GemmCbArgsEE3RunERKS2_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd10GemmCbArgsC2EmmmPKfS2_Pf(ptr noundef nonnull align 8 dereferenceable(48), i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) unnamed_addr #1 align 2

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd8GemmArgsC2EmmmPKfS2_mS2_mS2_Pfm(ptr noundef nonnull align 8 dereferenceable(88), i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base27SynetConvolution32fWinograd15ForwardSplittedEPKfPfS4_S4_(ptr noundef nonnull align 8 dereferenceable(624) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #3 align 2 {
  %6 = alloca %"struct.Simd::GemmCbArgs", align 8
  %7 = alloca %"struct.Simd::GemmArgs", align 8
  %8 = getelementptr inbounds i8, ptr %0, i64 8
  %9 = getelementptr inbounds i8, ptr %0, i64 528
  %10 = load i64, ptr %9, align 8, !tbaa !5
  %.not88 = icmp eq i64 %10, 0
  br i1 %.not88, label %._crit_edge87, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %5
  %11 = getelementptr inbounds i8, ptr %0, i64 568
  %12 = getelementptr inbounds i8, ptr %0, i64 120
  %13 = getelementptr inbounds i8, ptr %0, i64 136
  %14 = getelementptr inbounds i8, ptr %0, i64 576
  %15 = getelementptr inbounds i8, ptr %0, i64 448
  %16 = getelementptr inbounds i8, ptr %0, i64 72
  %17 = getelementptr inbounds i8, ptr %0, i64 16
  %18 = getelementptr inbounds i8, ptr %0, i64 472
  %19 = getelementptr inbounds i8, ptr %0, i64 464
  %20 = getelementptr inbounds i8, ptr %0, i64 48
  %21 = getelementptr inbounds i8, ptr %0, i64 608
  %22 = getelementptr inbounds i8, ptr %0, i64 24
  %23 = getelementptr inbounds i8, ptr %0, i64 128
  %24 = getelementptr inbounds i8, ptr %0, i64 144
  %25 = getelementptr inbounds i8, ptr %0, i64 488
  %26 = getelementptr inbounds i8, ptr %0, i64 168
  %27 = getelementptr inbounds i8, ptr %0, i64 440
  %28 = getelementptr inbounds i8, ptr %0, i64 368
  %29 = getelementptr inbounds i8, ptr %0, i64 304
  %30 = getelementptr inbounds i8, ptr %0, i64 512
  %31 = getelementptr inbounds i8, ptr %0, i64 520
  %32 = getelementptr inbounds i8, ptr %0, i64 552
  %33 = getelementptr inbounds i8, ptr %0, i64 496
  %34 = getelementptr inbounds i8, ptr %0, i64 384
  %35 = getelementptr inbounds i8, ptr %0, i64 240
  %36 = getelementptr inbounds i8, ptr %0, i64 212
  %37 = getelementptr inbounds i8, ptr %0, i64 584
  %38 = getelementptr inbounds i8, ptr %0, i64 480
  %39 = getelementptr inbounds i8, ptr %0, i64 208
  %40 = getelementptr inbounds i8, ptr %0, i64 616
  %41 = getelementptr inbounds i8, ptr %0, i64 40
  %42 = getelementptr inbounds i8, ptr %0, i64 56
  %43 = getelementptr inbounds i8, ptr %0, i64 400
  %44 = getelementptr inbounds i8, ptr %0, i64 224
  %45 = getelementptr inbounds i8, ptr %0, i64 160
  %46 = getelementptr inbounds i8, ptr %0, i64 232
  %47 = getelementptr inbounds i8, ptr %0, i64 536
  %48 = getelementptr inbounds i8, ptr %0, i64 544
  %49 = load i64, ptr %11, align 8, !tbaa !34
  %.not89 = icmp eq i64 %49, 0
  br i1 %.not89, label %._crit_edge87, label %.preheader

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge83
  %50 = phi i64 [ %52, %._crit_edge83 ], [ %10, %.preheader.lr.ph ]
  %51 = phi i64 [ %53, %._crit_edge83 ], [ %49, %.preheader.lr.ph ]
  %.07386 = phi ptr [ %55, %._crit_edge83 ], [ %1, %.preheader.lr.ph ]
  %.07485 = phi ptr [ %57, %._crit_edge83 ], [ %4, %.preheader.lr.ph ]
  %.07584 = phi i64 [ %58, %._crit_edge83 ], [ 0, %.preheader.lr.ph ]
  %.not90 = icmp eq i64 %51, 0
  br i1 %.not90, label %._crit_edge83, label %.lr.ph82

._crit_edge87:                                    ; preds = %._crit_edge83, %.preheader.lr.ph, %5
  ret void

._crit_edge83.loopexit:                           ; preds = %._crit_edge
  %.pre = load i64, ptr %9, align 8, !tbaa !5
  br label %._crit_edge83

._crit_edge83:                                    ; preds = %._crit_edge83.loopexit, %.preheader
  %52 = phi i64 [ %.pre, %._crit_edge83.loopexit ], [ %50, %.preheader ]
  %53 = phi i64 [ %126, %._crit_edge83.loopexit ], [ 0, %.preheader ]
  %54 = load i64, ptr %47, align 8, !tbaa !35
  %55 = getelementptr inbounds float, ptr %.07386, i64 %54
  %56 = load i64, ptr %48, align 8, !tbaa !36
  %57 = getelementptr inbounds float, ptr %.07485, i64 %56
  %58 = add nuw i64 %.07584, 1
  %59 = icmp ult i64 %58, %52
  br i1 %59, label %.preheader, label %._crit_edge87, !llvm.loop !37

.lr.ph82:                                         ; preds = %.preheader, %._crit_edge
  %60 = phi i64 [ %126, %._crit_edge ], [ %51, %.preheader ]
  %.07681 = phi i64 [ %125, %._crit_edge ], [ 0, %.preheader ]
  %.not = icmp eq i64 %.07681, 0
  %61 = load i64, ptr %12, align 8
  %62 = select i1 %.not, i64 %61, i64 0
  %63 = add i64 %60, -1
  %64 = icmp eq i64 %.07681, %63
  %65 = load i64, ptr %13, align 8
  %66 = select i1 %64, i64 %65, i64 0
  %67 = load i64, ptr %14, align 8, !tbaa !40
  %68 = load i64, ptr %15, align 8, !tbaa !41
  %69 = mul i64 %68, %67
  %70 = mul i64 %69, %.07681
  %71 = sub i64 %62, %61
  %72 = add i64 %71, %70
  %73 = load i64, ptr %16, align 8, !tbaa !42
  %74 = xor i64 %62, -1
  %75 = sub i64 %74, %66
  %76 = add i64 %75, %73
  %77 = add i64 %76, %69
  %78 = load i64, ptr %17, align 8, !tbaa !43
  %79 = sub i64 %78, %72
  %80 = call noundef i64 @_ZN4Simd3MinImEET_S1_S1_(i64 noundef %77, i64 noundef %79)
  %81 = load i64, ptr %18, align 8, !tbaa !44
  %82 = load i64, ptr %14, align 8, !tbaa !40
  %83 = load i64, ptr %19, align 8, !tbaa !45
  %84 = mul i64 %82, %.07681
  %85 = sub i64 %83, %84
  %86 = call noundef i64 @_ZN4Simd3MinImEET_S1_S1_(i64 noundef %82, i64 noundef %85)
  %87 = mul i64 %86, %81
  %88 = load i64, ptr %14, align 8, !tbaa !40
  %89 = load i64, ptr %15, align 8, !tbaa !41
  %90 = mul i64 %89, %88
  %91 = mul i64 %90, %.07681
  %92 = load i64, ptr %20, align 8, !tbaa !46
  %93 = sub i64 %92, %91
  %94 = call noundef i64 @_ZN4Simd3MinImEET_S1_S1_(i64 noundef %90, i64 noundef %93)
  %95 = load ptr, ptr %21, align 8, !tbaa !47
  %96 = load i64, ptr %8, align 8, !tbaa !48
  %97 = mul i64 %96, %72
  %98 = load i64, ptr %22, align 8, !tbaa !49
  %99 = mul i64 %97, %98
  %100 = getelementptr inbounds float, ptr %.07386, i64 %99
  %101 = load i64, ptr %23, align 8, !tbaa !50
  %102 = load i64, ptr %24, align 8, !tbaa !51
  %103 = load i64, ptr %25, align 8, !tbaa !52
  %104 = load i32, ptr %26, align 8, !tbaa !53
  call void %95(ptr noundef %100, i64 noundef %96, i64 noundef %80, i64 noundef %98, i64 noundef %62, i64 noundef %101, i64 noundef %66, i64 noundef %102, ptr noundef %2, i64 noundef %103, i32 noundef %104)
  %105 = load i64, ptr %27, align 8, !tbaa !54
  %.not91 = icmp eq i64 %105, 0
  br i1 %.not91, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %171, %.lr.ph82
  %106 = load ptr, ptr %40, align 8, !tbaa !55
  %107 = load i64, ptr %33, align 8, !tbaa !56
  %108 = load i64, ptr %41, align 8, !tbaa !57
  %109 = mul i64 %108, %91
  %110 = load i64, ptr %42, align 8, !tbaa !58
  %111 = mul i64 %109, %110
  %112 = getelementptr inbounds float, ptr %.07485, i64 %111
  %113 = load i32, ptr %26, align 8, !tbaa !53
  call void %106(ptr noundef %3, i64 noundef %107, ptr noundef %112, i64 noundef %108, i64 noundef %94, i64 noundef %110, i32 noundef %113)
  %114 = load ptr, ptr %43, align 8, !tbaa !59
  %115 = load ptr, ptr %44, align 8, !tbaa !60
  %116 = load i64, ptr %41, align 8, !tbaa !57
  %117 = load i64, ptr %42, align 8, !tbaa !58
  %118 = mul i64 %117, %94
  %119 = load i32, ptr %45, align 8, !tbaa !61
  %120 = load ptr, ptr %46, align 8, !tbaa !62
  %121 = load i32, ptr %26, align 8, !tbaa !53
  %122 = mul i64 %116, %91
  %123 = mul i64 %122, %117
  %124 = getelementptr inbounds float, ptr %.07485, i64 %123
  call void %114(ptr noundef %115, i64 noundef %116, i64 noundef %118, i32 noundef %119, ptr noundef %120, i32 noundef %121, ptr noundef %124)
  %125 = add nuw i64 %.07681, 1
  %126 = load i64, ptr %11, align 8, !tbaa !34
  %127 = icmp ult i64 %125, %126
  br i1 %127, label %.lr.ph82, label %._crit_edge83.loopexit, !llvm.loop !63

.lr.ph:                                           ; preds = %.lr.ph82, %171
  %.080 = phi i64 [ %172, %171 ], [ 0, %.lr.ph82 ]
  %128 = load ptr, ptr %28, align 8, !tbaa !64
  %.not77 = icmp eq ptr %128, null
  br i1 %.not77, label %158, label %129

129:                                              ; preds = %.lr.ph
  %130 = call noundef i64 @_ZNK4Simd7RuntimeINS_10GemmCbFuncENS_10GemmCbArgsEE4SizeEv(ptr noundef nonnull align 8 dereferenceable(64) %29)
  %.not78 = icmp eq i64 %130, 0
  br i1 %.not78, label %144, label %131

131:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #4
  %132 = load i64, ptr %30, align 8, !tbaa !65
  %133 = load i64, ptr %31, align 8, !tbaa !66
  %134 = load i64, ptr %25, align 8, !tbaa !52
  %135 = mul i64 %134, %.080
  %136 = getelementptr inbounds float, ptr %2, i64 %135
  %137 = load ptr, ptr %28, align 8, !tbaa !64
  %138 = load i64, ptr %32, align 8, !tbaa !67
  %139 = mul i64 %138, %.080
  %140 = getelementptr inbounds float, ptr %137, i64 %139
  %141 = load i64, ptr %33, align 8, !tbaa !56
  %142 = mul i64 %141, %.080
  %143 = getelementptr inbounds float, ptr %3, i64 %142
  call void @_ZN4Simd10GemmCbArgsC2EmmmPKfS2_Pf(ptr noundef nonnull align 8 dereferenceable(48) %6, i64 noundef %87, i64 noundef %132, i64 noundef %133, ptr noundef %136, ptr noundef %140, ptr noundef %143)
  call void @_ZN4Simd7RuntimeINS_10GemmCbFuncENS_10GemmCbArgsEE3RunERKS2_(ptr noundef nonnull align 8 dereferenceable(64) %29, ptr noundef nonnull align 8 dereferenceable(48) %6)
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #4
  br label %171

144:                                              ; preds = %129
  %145 = load ptr, ptr %34, align 8, !tbaa !68
  %146 = load i64, ptr %30, align 8, !tbaa !65
  %147 = load i64, ptr %31, align 8, !tbaa !66
  %148 = load i64, ptr %25, align 8, !tbaa !52
  %149 = mul i64 %148, %.080
  %150 = getelementptr inbounds float, ptr %2, i64 %149
  %151 = load ptr, ptr %28, align 8, !tbaa !64
  %152 = load i64, ptr %32, align 8, !tbaa !67
  %153 = mul i64 %152, %.080
  %154 = getelementptr inbounds float, ptr %151, i64 %153
  %155 = load i64, ptr %33, align 8, !tbaa !56
  %156 = mul i64 %155, %.080
  %157 = getelementptr inbounds float, ptr %3, i64 %156
  call void %145(i64 noundef %87, i64 noundef %146, i64 noundef %147, ptr noundef %150, ptr noundef %154, ptr noundef %157, i32 noundef 0, i1 noundef zeroext false)
  br label %171

158:                                              ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %7) #4
  %159 = load i64, ptr %30, align 8, !tbaa !65
  %160 = load i64, ptr %31, align 8, !tbaa !66
  %161 = load i64, ptr %25, align 8, !tbaa !52
  %162 = mul i64 %161, %.080
  %163 = getelementptr inbounds float, ptr %2, i64 %162
  %164 = load ptr, ptr %37, align 8, !tbaa !69
  %165 = load i64, ptr %38, align 8, !tbaa !70
  %166 = mul i64 %165, %.080
  %167 = getelementptr inbounds float, ptr %164, i64 %166
  %168 = load i64, ptr %33, align 8, !tbaa !56
  %169 = mul i64 %168, %.080
  %170 = getelementptr inbounds float, ptr %3, i64 %169
  call void @_ZN4Simd8GemmArgsC2EmmmPKfS2_mS2_mS2_Pfm(ptr noundef nonnull align 8 dereferenceable(88) %7, i64 noundef %87, i64 noundef %159, i64 noundef %160, ptr noundef nonnull %36, ptr noundef %163, i64 noundef %160, ptr noundef %167, i64 noundef %159, ptr noundef nonnull %39, ptr noundef %170, i64 noundef %159)
  call void @_ZN4Simd7RuntimeINS_8GemmFuncENS_8GemmArgsEE3RunERKS2_(ptr noundef nonnull align 8 dereferenceable(64) %35, ptr noundef nonnull align 8 dereferenceable(88) %7)
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %7) #4
  br label %171

171:                                              ; preds = %158, %144, %131
  %172 = add nuw i64 %.080, 1
  %173 = load i64, ptr %27, align 8, !tbaa !54
  %174 = icmp ult i64 %172, %173
  br i1 %174, label %.lr.ph, label %._crit_edge, !llvm.loop !71
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN4Simd3MinImEET_S1_S1_(i64 noundef, i64 noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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" }
attributes #4 = { 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, !11, i64 528}
!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 568}
!35 = !{!6, !11, i64 536}
!36 = !{!6, !11, i64 544}
!37 = distinct !{!37, !38, !39}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!"llvm.loop.unswitch.partial.disable"}
!40 = !{!6, !11, i64 576}
!41 = !{!6, !11, i64 448}
!42 = !{!10, !11, i64 64}
!43 = !{!10, !11, i64 8}
!44 = !{!6, !11, i64 472}
!45 = !{!6, !11, i64 464}
!46 = !{!10, !11, i64 40}
!47 = !{!6, !20, i64 608}
!48 = !{!10, !11, i64 0}
!49 = !{!10, !11, i64 16}
!50 = !{!10, !11, i64 120}
!51 = !{!10, !11, i64 136}
!52 = !{!6, !11, i64 488}
!53 = !{!9, !17, i64 160}
!54 = !{!6, !11, i64 440}
!55 = !{!6, !20, i64 616}
!56 = !{!6, !11, i64 496}
!57 = !{!10, !11, i64 32}
!58 = !{!10, !11, i64 48}
!59 = !{!7, !20, i64 400}
!60 = !{!7, !20, i64 224}
!61 = !{!10, !16, i64 152}
!62 = !{!7, !20, i64 232}
!63 = distinct !{!63, !38}
!64 = !{!7, !20, i64 368}
!65 = !{!6, !11, i64 512}
!66 = !{!6, !11, i64 520}
!67 = !{!6, !11, i64 552}
!68 = !{!7, !20, i64 384}
!69 = !{!6, !20, i64 584}
!70 = !{!6, !11, i64 480}
!71 = distinct !{!71, !38}


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