; LLVM IR from ermig1979/Simd :: src/Simd/SimdBaseSynetConvolution8i.ll (ZN4Simd18SynetConvolution8iC2ERKNS_9ConvParamE)

; 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::SynetConvolution8i" = type { %"struct.Simd::Deletable", %"struct.Simd::ConvParam", %"struct.Simd::Array", %"class.std::__cxx11::basic_string", ptr, %"struct.Simd::CvtParam", %"struct.Simd::CvtParam", %"struct.Simd::Array.1", %"struct.Simd::Array.0", %"struct.Simd::Array.0", %"struct.Simd::Array.0", i8, i8, i64, i64, i64 }
%"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::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] }
%"struct.Simd::CvtParam" = type <{ %"struct.Simd::Array", %"struct.Simd::Array.0", %"struct.Simd::Array.0", %"struct.Simd::Array.0", %"struct.Simd::Array.0", i8, [3 x i8], i32, i32, i32, i32, [4 x i8] }>
%"struct.Simd::Array.1" = type { ptr, i64 }
%"struct.Simd::Array.0" = type { ptr, i64 }

@_ZTVN4Simd18SynetConvolution8iE = external dso_local unnamed_addr constant { [11 x ptr] }, align 8

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd18SynetConvolution8iC2ERKNS_9ConvParamE(ptr noundef nonnull align 8 dereferenceable(552) %0, ptr noundef nonnull align 8 dereferenceable(180) %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %7 = load ptr, ptr %3, align 8
  call void @_ZN4Simd9DeletableC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  store ptr getelementptr inbounds inrange(-16, 72) ({ [11 x ptr] }, ptr @_ZTVN4Simd18SynetConvolution8iE, i32 0, i32 0, i32 2), ptr %7, align 8, !tbaa !9
  %8 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %7, i32 0, i32 1
  %9 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %9, i64 184, i1 false)
  %10 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %7, i32 0, i32 2
  invoke void @_ZN4Simd5ArrayIhEC2Embm(ptr noundef nonnull align 8 dereferenceable(16) %10, i64 noundef 0, i1 noundef zeroext false, i64 noundef 8)
          to label %11 unwind label %94

11:                                               ; preds = %2
  %12 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %7, i32 0, i32 3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  %13 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %7, i32 0, i32 5
  invoke void @_ZN4Simd8CvtParamC2Ev(ptr noundef nonnull align 8 dereferenceable(100) %13)
          to label %14 unwind label %98

14:                                               ; preds = %11
  %15 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %7, i32 0, i32 6
  invoke void @_ZN4Simd8CvtParamC2Ev(ptr noundef nonnull align 8 dereferenceable(100) %15)
          to label %16 unwind label %102

16:                                               ; preds = %14
  %17 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %7, i32 0, i32 7
  invoke void @_ZN4Simd5ArrayIaEC2Embm(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef 0, i1 noundef zeroext false, i64 noundef 8)
          to label %18 unwind label %106

18:                                               ; preds = %16
  %19 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %7, i32 0, i32 8
  invoke void @_ZN4Simd5ArrayIfEC2Embm(ptr noundef nonnull align 8 dereferenceable(16) %19, i64 noundef 0, i1 noundef zeroext false, i64 noundef 8)
          to label %20 unwind label %110

20:                                               ; preds = %18
  %21 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %7, i32 0, i32 9
  invoke void @_ZN4Simd5ArrayIfEC2Embm(ptr noundef nonnull align 8 dereferenceable(16) %21, i64 noundef 0, i1 noundef zeroext false, i64 noundef 8)
          to label %22 unwind label %114

22:                                               ; preds = %20
  %23 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %7, i32 0, i32 10
  invoke void @_ZN4Simd5ArrayIfEC2Embm(ptr noundef nonnull align 8 dereferenceable(16) %23, i64 noundef 0, i1 noundef zeroext false, i64 noundef 8)
          to label %24 unwind label %118

24:                                               ; preds = %22
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %25, i32 0, i32 0
  %27 = load i64, ptr %26, align 8, !tbaa !11
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %28, i32 0, i32 1
  %30 = load i64, ptr %29, align 8, !tbaa !17
  %31 = mul i64 %27, %30
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %32, i32 0, i32 2
  %34 = load i64, ptr %33, align 8, !tbaa !18
  %35 = mul i64 %31, %34
  %36 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %7, i32 0, i32 14
  store i64 %35, ptr %36, align 8, !tbaa !19
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %37, i32 0, i32 5
  %39 = load i64, ptr %38, align 8, !tbaa !33
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %40, i32 0, i32 6
  %42 = load i64, ptr %41, align 8, !tbaa !34
  %43 = mul i64 %39, %42
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %44, i32 0, i32 7
  %46 = load i64, ptr %45, align 8, !tbaa !35
  %47 = mul i64 %43, %46
  %48 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %7, i32 0, i32 15
  store i64 %47, ptr %48, align 8, !tbaa !36
  %49 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %7, i32 0, i32 13
  store i64 1, ptr %49, align 8, !tbaa !37
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %50, i32 0, i32 3
  %52 = load i32, ptr %51, align 8, !tbaa !38
  %53 = icmp eq i32 %52, 3
  %54 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %7, i32 0, i32 11
  %55 = zext i1 %53 to i8
  store i8 %55, ptr %54, align 8, !tbaa !39
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %56, i32 0, i32 8
  %58 = load i32, ptr %57, align 8, !tbaa !40
  %59 = icmp eq i32 %58, 3
  %60 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %7, i32 0, i32 12
  %61 = zext i1 %59 to i8
  store i8 %61, ptr %60, align 1, !tbaa !41
  %62 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %7, i32 0, i32 7
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %63, i32 0, i32 10
  %65 = load i64, ptr %64, align 8, !tbaa !42
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %66, i32 0, i32 11
  %68 = load i64, ptr %67, align 8, !tbaa !43
  %69 = mul i64 %65, %68
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %70, i32 0, i32 0
  %72 = load i64, ptr %71, align 8, !tbaa !11
  %73 = mul i64 %69, %72
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %74, i32 0, i32 20
  %76 = load i64, ptr %75, align 8, !tbaa !44
  %77 = udiv i64 %73, %76
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %78, i32 0, i32 5
  %80 = load i64, ptr %79, align 8, !tbaa !33
  %81 = mul i64 %77, %80
  invoke void @_ZN4Simd5ArrayIaE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16) %62, i64 noundef %81, i1 noundef zeroext false, i64 noundef 8)
          to label %82 unwind label %122

82:                                               ; preds = %24
  %83 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %7, i32 0, i32 8
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %84, i32 0, i32 5
  %86 = load i64, ptr %85, align 8, !tbaa !33
  invoke void @_ZN4Simd5ArrayIfE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16) %83, i64 noundef %86, i1 noundef zeroext false, i64 noundef 8)
          to label %87 unwind label %122

87:                                               ; preds = %82
  %88 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %7, i32 0, i32 9
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %89, i32 0, i32 5
  %91 = load i64, ptr %90, align 8, !tbaa !33
  invoke void @_ZN4Simd5ArrayIfE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16) %88, i64 noundef %91, i1 noundef zeroext false, i64 noundef 8)
          to label %92 unwind label %122

92:                                               ; preds = %87
  %93 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %7, i32 0, i32 4
  store ptr @_ZN4Simd4Base19SynetConvert32fTo8uEPKfmmmm20SimdTensorFormatTypeS2_S2_Ph26SimdSynetCompatibilityType, ptr %93, align 8, !tbaa !45
  ret void

94:                                               ; preds = %2
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %5, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %6, align 4
  br label %132

98:                                               ; preds = %11
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %5, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %6, align 4
  br label %131

102:                                              ; preds = %14
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %5, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %6, align 4
  br label %130

106:                                              ; preds = %16
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %5, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %6, align 4
  br label %129

110:                                              ; preds = %18
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %5, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %6, align 4
  br label %128

114:                                              ; preds = %20
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %5, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %6, align 4
  br label %127

118:                                              ; preds = %22
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %5, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %6, align 4
  br label %126

122:                                              ; preds = %87, %82, %24
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %5, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %6, align 4
  call void @_ZN4Simd5ArrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #7
  br label %126

126:                                              ; preds = %122, %118
  call void @_ZN4Simd5ArrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #7
  br label %127

127:                                              ; preds = %126, %114
  call void @_ZN4Simd5ArrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #7
  br label %128

128:                                              ; preds = %127, %110
  call void @_ZN4Simd5ArrayIaED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  br label %129

129:                                              ; preds = %128, %106
  call void @_ZN4Simd8CvtParamD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %15) #7
  br label %130

130:                                              ; preds = %129, %102
  call void @_ZN4Simd8CvtParamD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %13) #7
  br label %131

131:                                              ; preds = %130, %98
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @_ZN4Simd5ArrayIhED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  br label %132

132:                                              ; preds = %131, %94
  call void @_ZN4Simd9DeletableD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  br label %133

133:                                              ; preds = %132
  %134 = load ptr, ptr %5, align 8
  %135 = load i32, ptr %6, align 4
  %136 = insertvalue { ptr, i32 } poison, ptr %134, 0
  %137 = insertvalue { ptr, i32 } %136, i32 %135, 1
  resume { ptr, i32 } %137
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd9DeletableC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Simd8CvtParamC2Ev(ptr noundef nonnull align 8 dereferenceable(100)) unnamed_addr #1 align 2

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

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

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

declare void @_ZN4Simd4Base19SynetConvert32fTo8uEPKfmmmm20SimdTensorFormatTypeS2_S2_Ph26SimdSynetCompatibilityType(ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #5

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd8CvtParamD2Ev(ptr noundef nonnull align 8 dereferenceable(100)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

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

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

attributes #0 = { 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 #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 = { "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 #6 = { 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 #7 = { 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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTS25SimdConvolutionParameters", !13, i64 0, !13, i64 8, !13, i64 16, !14, i64 24, !15, i64 28, !13, i64 32, !13, i64 40, !13, i64 48, !14, i64 56, !15, i64 60, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !16, i64 152}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTS18SimdTensorDataType", !7, i64 0}
!15 = !{!"_ZTS20SimdTensorFormatType", !7, i64 0}
!16 = !{!"_ZTS29SimdConvolutionActivationType", !7, i64 0}
!17 = !{!12, !13, i64 8}
!18 = !{!12, !13, i64 16}
!19 = !{!20, !13, i64 536}
!20 = !{!"_ZTSN4Simd18SynetConvolution8iE", !21, i64 0, !22, i64 8, !25, i64 192, !26, i64 208, !6, i64 240, !28, i64 248, !28, i64 352, !32, i64 456, !29, i64 472, !29, i64 488, !29, i64 504, !30, i64 520, !30, i64 521, !13, i64 528, !13, i64 536, !13, i64 544}
!21 = !{!"_ZTSN4Simd9DeletableE"}
!22 = !{!"_ZTSN4Simd9ConvParamE", !12, i64 0, !23, i64 160, !13, i64 168, !24, i64 176}
!23 = !{!"_ZTS8SimdBool", !7, i64 0}
!24 = !{!"_ZTS26SimdSynetCompatibilityType", !7, i64 0}
!25 = !{!"_ZTSN4Simd5ArrayIhEE", !6, i64 0, !13, i64 8}
!26 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !27, i64 0, !13, i64 8, !7, i64 16}
!27 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!28 = !{!"_ZTSN4Simd8CvtParamE", !25, i64 0, !29, i64 16, !29, i64 32, !29, i64 48, !29, i64 64, !30, i64 80, !31, i64 84, !31, i64 88, !31, i64 92, !31, i64 96}
!29 = !{!"_ZTSN4Simd5ArrayIfEE", !6, i64 0, !13, i64 8}
!30 = !{!"bool", !7, i64 0}
!31 = !{!"int", !7, i64 0}
!32 = !{!"_ZTSN4Simd5ArrayIaEE", !6, i64 0, !13, i64 8}
!33 = !{!12, !13, i64 32}
!34 = !{!12, !13, i64 40}
!35 = !{!12, !13, i64 48}
!36 = !{!20, !13, i64 544}
!37 = !{!20, !13, i64 528}
!38 = !{!12, !14, i64 24}
!39 = !{!20, !30, i64 520}
!40 = !{!12, !14, i64 56}
!41 = !{!20, !30, i64 521}
!42 = !{!12, !13, i64 64}
!43 = !{!12, !13, i64 72}
!44 = !{!12, !13, i64 144}
!45 = !{!20, !6, i64 240}


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

@_ZTVN4Simd18SynetConvolution8iE = external dso_local unnamed_addr constant { [11 x ptr] }, align 8

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd18SynetConvolution8iC2ERKNS_9ConvParamE(ptr noundef nonnull align 8 dereferenceable(552) %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(180) %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN4Simd9DeletableC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #7
  store ptr getelementptr inbounds inrange(-16, 72) (i8, ptr @_ZTVN4Simd18SynetConvolution8iE, i64 16), ptr %0, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(184) %3, ptr noundef nonnull align 8 dereferenceable(184) %1, i64 184, i1 false)
  %4 = getelementptr inbounds i8, ptr %0, i64 192
  invoke void @_ZN4Simd5ArrayIhEC2Embm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef 0, i1 noundef zeroext false, i64 noundef 8)
          to label %5 unwind label %63

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %0, i64 208
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  %7 = getelementptr inbounds i8, ptr %0, i64 248
  invoke void @_ZN4Simd8CvtParamC2Ev(ptr noundef nonnull align 8 dereferenceable(100) %7)
          to label %8 unwind label %65

8:                                                ; preds = %5
  %9 = getelementptr inbounds i8, ptr %0, i64 352
  invoke void @_ZN4Simd8CvtParamC2Ev(ptr noundef nonnull align 8 dereferenceable(100) %9)
          to label %10 unwind label %67

10:                                               ; preds = %8
  %11 = getelementptr inbounds i8, ptr %0, i64 456
  invoke void @_ZN4Simd5ArrayIaEC2Embm(ptr noundef nonnull align 8 dereferenceable(16) %11, i64 noundef 0, i1 noundef zeroext false, i64 noundef 8)
          to label %12 unwind label %69

12:                                               ; preds = %10
  %13 = getelementptr inbounds i8, ptr %0, i64 472
  invoke void @_ZN4Simd5ArrayIfEC2Embm(ptr noundef nonnull align 8 dereferenceable(16) %13, i64 noundef 0, i1 noundef zeroext false, i64 noundef 8)
          to label %14 unwind label %71

14:                                               ; preds = %12
  %15 = getelementptr inbounds i8, ptr %0, i64 488
  invoke void @_ZN4Simd5ArrayIfEC2Embm(ptr noundef nonnull align 8 dereferenceable(16) %15, i64 noundef 0, i1 noundef zeroext false, i64 noundef 8)
          to label %16 unwind label %73

16:                                               ; preds = %14
  %17 = getelementptr inbounds i8, ptr %0, i64 504
  invoke void @_ZN4Simd5ArrayIfEC2Embm(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef 0, i1 noundef zeroext false, i64 noundef 8)
          to label %18 unwind label %75

18:                                               ; preds = %16
  %19 = load i64, ptr %1, align 8, !tbaa !8
  %20 = getelementptr inbounds i8, ptr %1, i64 8
  %21 = load i64, ptr %20, align 8, !tbaa !15
  %22 = mul i64 %21, %19
  %23 = getelementptr inbounds i8, ptr %1, i64 16
  %24 = load i64, ptr %23, align 8, !tbaa !16
  %25 = mul i64 %22, %24
  %26 = getelementptr inbounds i8, ptr %0, i64 536
  store i64 %25, ptr %26, align 8, !tbaa !17
  %27 = getelementptr inbounds i8, ptr %1, i64 32
  %28 = load i64, ptr %27, align 8, !tbaa !32
  %29 = getelementptr inbounds i8, ptr %1, i64 40
  %30 = load i64, ptr %29, align 8, !tbaa !33
  %31 = mul i64 %30, %28
  %32 = getelementptr inbounds i8, ptr %1, i64 48
  %33 = load i64, ptr %32, align 8, !tbaa !34
  %34 = mul i64 %31, %33
  %35 = getelementptr inbounds i8, ptr %0, i64 544
  store i64 %34, ptr %35, align 8, !tbaa !35
  %36 = getelementptr inbounds i8, ptr %0, i64 528
  store i64 1, ptr %36, align 8, !tbaa !36
  %37 = getelementptr inbounds i8, ptr %1, i64 24
  %38 = load i32, ptr %37, align 8, !tbaa !37
  %39 = icmp eq i32 %38, 3
  %40 = getelementptr inbounds i8, ptr %0, i64 520
  %41 = zext i1 %39 to i8
  store i8 %41, ptr %40, align 8, !tbaa !38
  %42 = getelementptr inbounds i8, ptr %1, i64 56
  %43 = load i32, ptr %42, align 8, !tbaa !39
  %44 = icmp eq i32 %43, 3
  %45 = getelementptr inbounds i8, ptr %0, i64 521
  %46 = zext i1 %44 to i8
  store i8 %46, ptr %45, align 1, !tbaa !40
  %47 = getelementptr inbounds i8, ptr %1, i64 64
  %48 = load i64, ptr %47, align 8, !tbaa !41
  %49 = getelementptr inbounds i8, ptr %1, i64 72
  %50 = load i64, ptr %49, align 8, !tbaa !42
  %51 = mul i64 %48, %19
  %52 = mul i64 %51, %50
  %53 = getelementptr inbounds i8, ptr %1, i64 144
  %54 = load i64, ptr %53, align 8, !tbaa !43
  %55 = udiv i64 %52, %54
  %56 = mul i64 %55, %28
  invoke void @_ZN4Simd5ArrayIaE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16) %11, i64 noundef %56, i1 noundef zeroext false, i64 noundef 8)
          to label %57 unwind label %77

57:                                               ; preds = %18
  %58 = load i64, ptr %27, align 8, !tbaa !32
  invoke void @_ZN4Simd5ArrayIfE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16) %13, i64 noundef %58, i1 noundef zeroext false, i64 noundef 8)
          to label %59 unwind label %77

59:                                               ; preds = %57
  %60 = load i64, ptr %27, align 8, !tbaa !32
  invoke void @_ZN4Simd5ArrayIfE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16) %15, i64 noundef %60, i1 noundef zeroext false, i64 noundef 8)
          to label %61 unwind label %77

61:                                               ; preds = %59
  %62 = getelementptr inbounds i8, ptr %0, i64 240
  store ptr @_ZN4Simd4Base19SynetConvert32fTo8uEPKfmmmm20SimdTensorFormatTypeS2_S2_Ph26SimdSynetCompatibilityType, ptr %62, align 8, !tbaa !44
  ret void

63:                                               ; preds = %2
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %85

65:                                               ; preds = %5
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %84

67:                                               ; preds = %8
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %83

69:                                               ; preds = %10
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %82

71:                                               ; preds = %12
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %81

73:                                               ; preds = %14
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %80

75:                                               ; preds = %16
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %79

77:                                               ; preds = %59, %57, %18
  %78 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN4Simd5ArrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  br label %79

79:                                               ; preds = %77, %75
  %.pn = phi { ptr, i32 } [ %78, %77 ], [ %76, %75 ]
  tail call void @_ZN4Simd5ArrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  br label %80

80:                                               ; preds = %79, %73
  %.pn.pn = phi { ptr, i32 } [ %.pn, %79 ], [ %74, %73 ]
  tail call void @_ZN4Simd5ArrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  br label %81

81:                                               ; preds = %80, %71
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %80 ], [ %72, %71 ]
  tail call void @_ZN4Simd5ArrayIaED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  br label %82

82:                                               ; preds = %81, %69
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %81 ], [ %70, %69 ]
  tail call void @_ZN4Simd8CvtParamD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %9) #7
  br label %83

83:                                               ; preds = %82, %67
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %82 ], [ %68, %67 ]
  tail call void @_ZN4Simd8CvtParamD2Ev(ptr noundef nonnull align 8 dereferenceable(100) %7) #7
  br label %84

84:                                               ; preds = %83, %65
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %83 ], [ %66, %65 ]
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  tail call void @_ZN4Simd5ArrayIhED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  br label %85

85:                                               ; preds = %84, %63
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %84 ], [ %64, %63 ]
  tail call void @_ZN4Simd9DeletableD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #7
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd9DeletableC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Simd8CvtParamC2Ev(ptr noundef nonnull align 8 dereferenceable(100)) unnamed_addr #1 align 2

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

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

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

declare void @_ZN4Simd4Base19SynetConvert32fTo8uEPKfmmmm20SimdTensorFormatTypeS2_S2_Ph26SimdSynetCompatibilityType(ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #5

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd8CvtParamD2Ev(ptr noundef nonnull align 8 dereferenceable(100)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

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

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

attributes #0 = { 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 #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 = { "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 #6 = { 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 #7 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !10, i64 0}
!9 = !{!"_ZTS25SimdConvolutionParameters", !10, i64 0, !10, i64 8, !10, i64 16, !12, i64 24, !13, i64 28, !10, i64 32, !10, i64 40, !10, i64 48, !12, i64 56, !13, 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, !14, i64 152}
!10 = !{!"long", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!"_ZTS18SimdTensorDataType", !11, i64 0}
!13 = !{!"_ZTS20SimdTensorFormatType", !11, i64 0}
!14 = !{!"_ZTS29SimdConvolutionActivationType", !11, i64 0}
!15 = !{!9, !10, i64 8}
!16 = !{!9, !10, i64 16}
!17 = !{!18, !10, i64 536}
!18 = !{!"_ZTSN4Simd18SynetConvolution8iE", !19, i64 0, !20, i64 8, !23, i64 192, !25, i64 208, !24, i64 240, !27, i64 248, !27, i64 352, !31, i64 456, !28, i64 472, !28, i64 488, !28, i64 504, !29, i64 520, !29, i64 521, !10, i64 528, !10, i64 536, !10, i64 544}
!19 = !{!"_ZTSN4Simd9DeletableE"}
!20 = !{!"_ZTSN4Simd9ConvParamE", !9, i64 0, !21, i64 160, !10, i64 168, !22, i64 176}
!21 = !{!"_ZTS8SimdBool", !11, i64 0}
!22 = !{!"_ZTS26SimdSynetCompatibilityType", !11, i64 0}
!23 = !{!"_ZTSN4Simd5ArrayIhEE", !24, i64 0, !10, i64 8}
!24 = !{!"any pointer", !11, i64 0}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !26, i64 0, !10, i64 8, !11, i64 16}
!26 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !24, i64 0}
!27 = !{!"_ZTSN4Simd8CvtParamE", !23, i64 0, !28, i64 16, !28, i64 32, !28, i64 48, !28, i64 64, !29, i64 80, !30, i64 84, !30, i64 88, !30, i64 92, !30, i64 96}
!28 = !{!"_ZTSN4Simd5ArrayIfEE", !24, i64 0, !10, i64 8}
!29 = !{!"bool", !11, i64 0}
!30 = !{!"int", !11, i64 0}
!31 = !{!"_ZTSN4Simd5ArrayIaEE", !24, i64 0, !10, i64 8}
!32 = !{!9, !10, i64 32}
!33 = !{!9, !10, i64 40}
!34 = !{!9, !10, i64 48}
!35 = !{!18, !10, i64 544}
!36 = !{!18, !10, i64 528}
!37 = !{!9, !12, i64 24}
!38 = !{!18, !29, i64 520}
!39 = !{!9, !12, i64 56}
!40 = !{!18, !29, i64 521}
!41 = !{!9, !10, i64 64}
!42 = !{!9, !10, i64 72}
!43 = !{!9, !10, i64 144}
!44 = !{!18, !24, i64 240}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass