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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4Simd7AlignedEmm(i64 noundef, i64 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base27SynetMergedConvolution16bCd7SetSizeEmm(ptr noundef nonnull align 8 dereferenceable(1024) %0, i64 noundef %1, i64 noundef %2) #3 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i64 %1, ptr %5, align 8, !tbaa !9
  store i64 %2, ptr %6, align 8, !tbaa !9
  %20 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %21 = call noundef i64 @_ZN4Simd4Base10AlgCacheL1Ev()
  store i64 %21, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %22 = call noundef i64 @_ZN4Simd4Base10AlgCacheL2Ev()
  store i64 %22, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %23 = call noundef i64 @_ZN4Simd4Base10AlgCacheL3Ev()
  store i64 %23, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %24 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution16b", ptr %20, i32 0, i32 1
  store ptr %24, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %25 = load ptr, ptr %10, align 8, !tbaa !5
  %26 = getelementptr inbounds %"struct.Simd::MergConvParam", ptr %25, i32 0, i32 0
  %27 = getelementptr inbounds [3 x %"struct.Simd::ConvParam"], ptr %26, i64 0, i64 0
  store ptr %27, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %28 = load ptr, ptr %10, align 8, !tbaa !5
  %29 = getelementptr inbounds %"struct.Simd::MergConvParam", ptr %28, i32 0, i32 0
  %30 = getelementptr inbounds [3 x %"struct.Simd::ConvParam"], ptr %29, i64 0, i64 1
  store ptr %30, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %31 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution16b", ptr %20, i32 0, i32 14
  store ptr %31, ptr %13, align 8, !tbaa !5
  %32 = load i64, ptr %5, align 8, !tbaa !9
  %33 = load ptr, ptr %13, align 8, !tbaa !5
  %34 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %33, i32 0, i32 0
  store i64 %32, ptr %34, align 8, !tbaa !11
  %35 = load i64, ptr %6, align 8, !tbaa !9
  %36 = load ptr, ptr %13, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %36, i32 0, i32 2
  store i64 %35, ptr %37, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  store i64 0, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  store i64 0, ptr %15, align 8, !tbaa !9
  br label %38

38:                                               ; preds = %91, %3
  %39 = load i64, ptr %15, align 8, !tbaa !9
  %40 = icmp ult i64 %39, 2
  br i1 %40, label %42, label %41

41:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  br label %94

42:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %43 = load ptr, ptr %10, align 8, !tbaa !5
  %44 = getelementptr inbounds %"struct.Simd::MergConvParam", ptr %43, i32 0, i32 0
  %45 = load i64, ptr %15, align 8, !tbaa !9
  %46 = getelementptr inbounds [3 x %"struct.Simd::ConvParam"], ptr %44, i64 0, i64 %45
  store ptr %46, ptr %16, align 8, !tbaa !5
  %47 = load ptr, ptr %16, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %47, i32 0, i32 20
  %49 = load i64, ptr %48, align 8, !tbaa !14
  %50 = icmp eq i64 %49, 1
  br i1 %50, label %51, label %71

51:                                               ; preds = %42
  %52 = load ptr, ptr %16, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %52, i32 0, i32 0
  %54 = load i64, ptr %53, align 8, !tbaa !19
  %55 = load ptr, ptr %13, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %55, i32 0, i32 2
  %57 = load i64, ptr %56, align 8, !tbaa !13
  %58 = call noundef i64 @_ZN4Simd7AlignHiEmm(i64 noundef %54, i64 noundef %57)
  %59 = load ptr, ptr %16, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %59, i32 0, i32 5
  %61 = load i64, ptr %60, align 8, !tbaa !20
  %62 = load ptr, ptr %13, align 8, !tbaa !5
  %63 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %62, i32 0, i32 0
  %64 = load i64, ptr %63, align 8, !tbaa !11
  %65 = mul i64 %64, 2
  %66 = call noundef i64 @_ZN4Simd7AlignHiEmm(i64 noundef %61, i64 noundef %65)
  %67 = mul i64 %58, %66
  %68 = mul i64 %67, 2
  %69 = load i64, ptr %14, align 8, !tbaa !9
  %70 = add i64 %69, %68
  store i64 %70, ptr %14, align 8, !tbaa !9
  br label %90

71:                                               ; preds = %42
  %72 = load ptr, ptr %16, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %72, i32 0, i32 10
  %74 = load i64, ptr %73, align 8, !tbaa !21
  %75 = load ptr, ptr %16, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %75, i32 0, i32 11
  %77 = load i64, ptr %76, align 8, !tbaa !22
  %78 = mul i64 %74, %77
  %79 = load ptr, ptr %16, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %79, i32 0, i32 0
  %81 = load i64, ptr %80, align 8, !tbaa !19
  %82 = load ptr, ptr %13, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %82, i32 0, i32 0
  %84 = load i64, ptr %83, align 8, !tbaa !11
  %85 = call noundef i64 @_ZN4Simd7AlignHiEmm(i64 noundef %81, i64 noundef %84)
  %86 = mul i64 %78, %85
  %87 = mul i64 %86, 4
  %88 = load i64, ptr %14, align 8, !tbaa !9
  %89 = add i64 %88, %87
  store i64 %89, ptr %14, align 8, !tbaa !9
  br label %90

90:                                               ; preds = %71, %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  br label %91

91:                                               ; preds = %90
  %92 = load i64, ptr %15, align 8, !tbaa !9
  %93 = add i64 %92, 1
  store i64 %93, ptr %15, align 8, !tbaa !9
  br label %38, !llvm.loop !23

94:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %95 = load i64, ptr %14, align 8, !tbaa !9
  %96 = load i64, ptr %9, align 8, !tbaa !9
  %97 = udiv i64 %96, 2
  %98 = udiv i64 %95, %97
  %99 = add i64 %98, 1
  store i64 %99, ptr %17, align 8, !tbaa !9
  %100 = load ptr, ptr %11, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %100, i32 0, i32 5
  %102 = load i64, ptr %101, align 8, !tbaa !20
  %103 = load i64, ptr %17, align 8, !tbaa !9
  %104 = udiv i64 %102, %103
  %105 = load ptr, ptr %13, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %105, i32 0, i32 0
  %107 = load i64, ptr %106, align 8, !tbaa !11
  %108 = mul i64 2, %107
  %109 = call noundef i64 @_ZN4Simd10AlignHiAnyEmm(i64 noundef %104, i64 noundef %108)
  %110 = load ptr, ptr %13, align 8, !tbaa !5
  %111 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %110, i32 0, i32 1
  store i64 %109, ptr %111, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %112 = load ptr, ptr %12, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %112, i32 0, i32 6
  %114 = load i64, ptr %113, align 8, !tbaa !26
  store i64 %114, ptr %18, align 8, !tbaa !9
  br label %115

115:                                              ; preds = %285, %94
  %116 = load i64, ptr %18, align 8, !tbaa !9
  %117 = icmp uge i64 %116, 1
  br i1 %117, label %119, label %118

118:                                              ; preds = %115
  store i32 5, ptr %19, align 4
  br label %288

119:                                              ; preds = %115
  %120 = load i64, ptr %18, align 8, !tbaa !9
  %121 = call noundef i64 @_ZN4Simd3MaxImEET_S1_S1_(i64 noundef 1, i64 noundef %120)
  %122 = load ptr, ptr %13, align 8, !tbaa !5
  %123 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %122, i32 0, i32 3
  %124 = getelementptr inbounds [3 x i64], ptr %123, i64 0, i64 2
  store i64 %121, ptr %124, align 8, !tbaa !9
  %125 = load ptr, ptr %13, align 8, !tbaa !5
  %126 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %125, i32 0, i32 3
  %127 = getelementptr inbounds [3 x i64], ptr %126, i64 0, i64 2
  %128 = load i64, ptr %127, align 8, !tbaa !9
  %129 = load ptr, ptr %13, align 8, !tbaa !5
  %130 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %129, i32 0, i32 4
  %131 = getelementptr inbounds [3 x i64], ptr %130, i64 0, i64 2
  store i64 %128, ptr %131, align 8, !tbaa !9
  %132 = load ptr, ptr %13, align 8, !tbaa !5
  %133 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %132, i32 0, i32 3
  %134 = getelementptr inbounds [3 x i64], ptr %133, i64 0, i64 2
  %135 = load i64, ptr %134, align 8, !tbaa !9
  %136 = load ptr, ptr %12, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %136, i32 0, i32 14
  %138 = load i64, ptr %137, align 8, !tbaa !27
  %139 = mul i64 %135, %138
  %140 = load ptr, ptr %13, align 8, !tbaa !5
  %141 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %140, i32 0, i32 3
  %142 = getelementptr inbounds [3 x i64], ptr %141, i64 0, i64 1
  store i64 %139, ptr %142, align 8, !tbaa !9
  %143 = load ptr, ptr %13, align 8, !tbaa !5
  %144 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %143, i32 0, i32 4
  %145 = getelementptr inbounds [3 x i64], ptr %144, i64 0, i64 2
  %146 = load i64, ptr %145, align 8, !tbaa !9
  %147 = sub i64 %146, 1
  %148 = load ptr, ptr %12, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %148, i32 0, i32 14
  %150 = load i64, ptr %149, align 8, !tbaa !27
  %151 = mul i64 %147, %150
  %152 = load ptr, ptr %12, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %152, i32 0, i32 10
  %154 = load i64, ptr %153, align 8, !tbaa !21
  %155 = add i64 %151, %154
  %156 = load ptr, ptr %12, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %156, i32 0, i32 16
  %158 = load i64, ptr %157, align 8, !tbaa !28
  %159 = sub i64 %155, %158
  %160 = load ptr, ptr %12, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %160, i32 0, i32 1
  %162 = load i64, ptr %161, align 8, !tbaa !29
  %163 = call noundef i64 @_ZN4Simd3MinImEET_S1_S1_(i64 noundef %159, i64 noundef %162)
  %164 = load ptr, ptr %13, align 8, !tbaa !5
  %165 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %164, i32 0, i32 4
  %166 = getelementptr inbounds [3 x i64], ptr %165, i64 0, i64 1
  store i64 %163, ptr %166, align 8, !tbaa !9
  %167 = load ptr, ptr %13, align 8, !tbaa !5
  %168 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %167, i32 0, i32 3
  %169 = getelementptr inbounds [3 x i64], ptr %168, i64 0, i64 2
  %170 = load i64, ptr %169, align 8, !tbaa !9
  %171 = sub i64 %170, 1
  %172 = load ptr, ptr %12, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %172, i32 0, i32 14
  %174 = load i64, ptr %173, align 8, !tbaa !27
  %175 = mul i64 %171, %174
  %176 = load ptr, ptr %12, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %176, i32 0, i32 10
  %178 = load i64, ptr %177, align 8, !tbaa !21
  %179 = add i64 %175, %178
  %180 = load ptr, ptr %13, align 8, !tbaa !5
  %181 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %180, i32 0, i32 4
  %182 = getelementptr inbounds [3 x i64], ptr %181, i64 0, i64 1
  %183 = load i64, ptr %182, align 8, !tbaa !9
  %184 = call noundef i64 @_ZN4Simd3MaxImEET_S1_S1_(i64 noundef %179, i64 noundef %183)
  %185 = call noundef i64 @_ZN4Simd6Pow2HiEm(i64 noundef %184)
  %186 = load ptr, ptr %13, align 8, !tbaa !5
  %187 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %186, i32 0, i32 5
  %188 = getelementptr inbounds [3 x i64], ptr %187, i64 0, i64 1
  store i64 %185, ptr %188, align 8, !tbaa !9
  %189 = load ptr, ptr %13, align 8, !tbaa !5
  %190 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %189, i32 0, i32 3
  %191 = getelementptr inbounds [3 x i64], ptr %190, i64 0, i64 1
  %192 = load i64, ptr %191, align 8, !tbaa !9
  %193 = load ptr, ptr %13, align 8, !tbaa !5
  %194 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %193, i32 0, i32 3
  %195 = getelementptr inbounds [3 x i64], ptr %194, i64 0, i64 0
  store i64 %192, ptr %195, align 8, !tbaa !9
  %196 = load ptr, ptr %13, align 8, !tbaa !5
  %197 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %196, i32 0, i32 4
  %198 = getelementptr inbounds [3 x i64], ptr %197, i64 0, i64 1
  %199 = load i64, ptr %198, align 8, !tbaa !9
  %200 = load ptr, ptr %11, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %200, i32 0, i32 1
  %202 = load i64, ptr %201, align 8, !tbaa !29
  %203 = call noundef i64 @_ZN4Simd3MinImEET_S1_S1_(i64 noundef %199, i64 noundef %202)
  %204 = load ptr, ptr %13, align 8, !tbaa !5
  %205 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %204, i32 0, i32 4
  %206 = getelementptr inbounds [3 x i64], ptr %205, i64 0, i64 0
  store i64 %203, ptr %206, align 8, !tbaa !9
  %207 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution16b", ptr %20, i32 0, i32 4
  %208 = load i8, ptr %207, align 1, !tbaa !30, !range !42, !noundef !43
  %209 = trunc i8 %208 to i1
  br i1 %209, label %210, label %219

210:                                              ; preds = %119
  %211 = load ptr, ptr %11, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %211, i32 0, i32 0
  %213 = load i64, ptr %212, align 8, !tbaa !19
  %214 = load ptr, ptr %13, align 8, !tbaa !5
  %215 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %214, i32 0, i32 2
  %216 = load i64, ptr %215, align 8, !tbaa !13
  %217 = call noundef zeroext i1 @_ZN4Simd7AlignedEmm(i64 noundef %213, i64 noundef %216)
  br i1 %217, label %218, label %219

218:                                              ; preds = %210
  br label %229

219:                                              ; preds = %210, %119
  %220 = load ptr, ptr %13, align 8, !tbaa !5
  %221 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %220, i32 0, i32 3
  %222 = getelementptr inbounds [3 x i64], ptr %221, i64 0, i64 1
  %223 = load i64, ptr %222, align 8, !tbaa !9
  %224 = load ptr, ptr %13, align 8, !tbaa !5
  %225 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %224, i32 0, i32 4
  %226 = getelementptr inbounds [3 x i64], ptr %225, i64 0, i64 0
  %227 = load i64, ptr %226, align 8, !tbaa !9
  %228 = call noundef i64 @_ZN4Simd3MaxImEET_S1_S1_(i64 noundef %223, i64 noundef %227)
  br label %229

229:                                              ; preds = %219, %218
  %230 = phi i64 [ 0, %218 ], [ %228, %219 ]
  %231 = load ptr, ptr %13, align 8, !tbaa !5
  %232 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %231, i32 0, i32 5
  %233 = getelementptr inbounds [3 x i64], ptr %232, i64 0, i64 0
  store i64 %230, ptr %233, align 8, !tbaa !9
  %234 = load ptr, ptr %13, align 8, !tbaa !5
  %235 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %234, i32 0, i32 5
  %236 = getelementptr inbounds [3 x i64], ptr %235, i64 0, i64 0
  %237 = load i64, ptr %236, align 8, !tbaa !9
  %238 = load ptr, ptr %10, align 8, !tbaa !5
  %239 = getelementptr inbounds %"struct.Simd::MergConvParam", ptr %238, i32 0, i32 0
  %240 = getelementptr inbounds [3 x %"struct.Simd::ConvParam"], ptr %239, i64 0, i64 0
  %241 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %240, i32 0, i32 2
  %242 = load i64, ptr %241, align 8, !tbaa !44
  %243 = mul i64 %237, %242
  %244 = load ptr, ptr %10, align 8, !tbaa !5
  %245 = getelementptr inbounds %"struct.Simd::MergConvParam", ptr %244, i32 0, i32 0
  %246 = getelementptr inbounds [3 x %"struct.Simd::ConvParam"], ptr %245, i64 0, i64 0
  %247 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %246, i32 0, i32 0
  %248 = load i64, ptr %247, align 8, !tbaa !19
  %249 = load ptr, ptr %13, align 8, !tbaa !5
  %250 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %249, i32 0, i32 2
  %251 = load i64, ptr %250, align 8, !tbaa !13
  %252 = call noundef i64 @_ZN4Simd7AlignHiEmm(i64 noundef %248, i64 noundef %251)
  %253 = mul i64 %243, %252
  %254 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution16b", ptr %20, i32 0, i32 13
  %255 = getelementptr inbounds [4 x i64], ptr %254, i64 0, i64 0
  store i64 %253, ptr %255, align 8, !tbaa !9
  %256 = load ptr, ptr %13, align 8, !tbaa !5
  %257 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %256, i32 0, i32 5
  %258 = getelementptr inbounds [3 x i64], ptr %257, i64 0, i64 1
  %259 = load i64, ptr %258, align 8, !tbaa !9
  %260 = load ptr, ptr %10, align 8, !tbaa !5
  %261 = getelementptr inbounds %"struct.Simd::MergConvParam", ptr %260, i32 0, i32 0
  %262 = getelementptr inbounds [3 x %"struct.Simd::ConvParam"], ptr %261, i64 0, i64 1
  %263 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %262, i32 0, i32 2
  %264 = load i64, ptr %263, align 8, !tbaa !44
  %265 = mul i64 %259, %264
  %266 = load ptr, ptr %13, align 8, !tbaa !5
  %267 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %266, i32 0, i32 1
  %268 = load i64, ptr %267, align 8, !tbaa !25
  %269 = mul i64 %265, %268
  %270 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution16b", ptr %20, i32 0, i32 13
  %271 = getelementptr inbounds [4 x i64], ptr %270, i64 0, i64 1
  store i64 %269, ptr %271, align 8, !tbaa !9
  %272 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution16b", ptr %20, i32 0, i32 13
  %273 = getelementptr inbounds [4 x i64], ptr %272, i64 0, i64 0
  %274 = load i64, ptr %273, align 8, !tbaa !9
  %275 = mul i64 %274, 2
  %276 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution16b", ptr %20, i32 0, i32 13
  %277 = getelementptr inbounds [4 x i64], ptr %276, i64 0, i64 1
  %278 = load i64, ptr %277, align 8, !tbaa !9
  %279 = mul i64 %278, 4
  %280 = add i64 %275, %279
  %281 = load i64, ptr %8, align 8, !tbaa !9
  %282 = icmp ule i64 %280, %281
  br i1 %282, label %283, label %284

283:                                              ; preds = %229
  store i32 5, ptr %19, align 4
  br label %288

284:                                              ; preds = %229
  br label %285

285:                                              ; preds = %284
  %286 = load i64, ptr %18, align 8, !tbaa !9
  %287 = add i64 %286, -1
  store i64 %287, ptr %18, align 8, !tbaa !9
  br label %115, !llvm.loop !45

288:                                              ; preds = %283, %118
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  br label %289

289:                                              ; preds = %288
  %290 = load ptr, ptr %11, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %290, i32 0, i32 21
  %292 = load i32, ptr %291, align 8, !tbaa !46
  %293 = icmp eq i32 %292, 4
  %294 = zext i1 %293 to i64
  %295 = select i1 %293, i32 1, i32 0
  %296 = sext i32 %295 to i64
  %297 = load ptr, ptr %13, align 8, !tbaa !5
  %298 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %297, i32 0, i32 6
  %299 = getelementptr inbounds [2 x i64], ptr %298, i64 0, i64 0
  store i64 %296, ptr %299, align 8, !tbaa !9
  %300 = load ptr, ptr %12, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %300, i32 0, i32 21
  %302 = load i32, ptr %301, align 8, !tbaa !46
  %303 = icmp eq i32 %302, 4
  %304 = zext i1 %303 to i64
  %305 = select i1 %303, i32 1, i32 0
  %306 = sext i32 %305 to i64
  %307 = load ptr, ptr %13, align 8, !tbaa !5
  %308 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %307, i32 0, i32 6
  %309 = getelementptr inbounds [2 x i64], ptr %308, i64 0, i64 1
  store i64 %306, ptr %309, align 8, !tbaa !9
  %310 = load ptr, ptr %11, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %310, i32 0, i32 0
  %312 = load i64, ptr %311, align 8, !tbaa !19
  %313 = load ptr, ptr %13, align 8, !tbaa !5
  %314 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %313, i32 0, i32 2
  %315 = load i64, ptr %314, align 8, !tbaa !13
  %316 = call noundef i64 @_ZN4Simd7AlignHiEmm(i64 noundef %312, i64 noundef %315)
  %317 = load ptr, ptr %13, align 8, !tbaa !5
  %318 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %317, i32 0, i32 7
  %319 = getelementptr inbounds [3 x i64], ptr %318, i64 0, i64 0
  store i64 %316, ptr %319, align 8, !tbaa !9
  %320 = load ptr, ptr %12, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %320, i32 0, i32 10
  %322 = load i64, ptr %321, align 8, !tbaa !21
  %323 = load ptr, ptr %12, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %323, i32 0, i32 11
  %325 = load i64, ptr %324, align 8, !tbaa !22
  %326 = mul i64 %322, %325
  %327 = load ptr, ptr %13, align 8, !tbaa !5
  %328 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %327, i32 0, i32 7
  %329 = getelementptr inbounds [3 x i64], ptr %328, i64 0, i64 1
  store i64 %326, ptr %329, align 8, !tbaa !9
  %330 = load ptr, ptr %13, align 8, !tbaa !5
  %331 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %330, i32 0, i32 7
  %332 = getelementptr inbounds [3 x i64], ptr %331, i64 0, i64 2
  store i64 0, ptr %332, align 8, !tbaa !9
  %333 = load ptr, ptr %13, align 8, !tbaa !5
  %334 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution16b::AlgParam", ptr %333, i32 0, i32 5
  %335 = getelementptr inbounds [3 x i64], ptr %334, i64 0, i64 2
  store i64 0, ptr %335, align 8, !tbaa !9
  %336 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution16b", ptr %20, i32 0, i32 13
  %337 = getelementptr inbounds [4 x i64], ptr %336, i64 0, i64 2
  store i64 0, ptr %337, align 8, !tbaa !9
  %338 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution16b", ptr %20, i32 0, i32 13
  %339 = getelementptr inbounds [4 x i64], ptr %338, i64 0, i64 3
  store i64 0, ptr %339, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  ret void
}

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 0}
!12 = !{!"_ZTSN4Simd4Base25SynetMergedConvolution16b8AlgParamE", !10, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !7, i64 48, !7, i64 72, !7, i64 96, !7, i64 112, !7, i64 136}
!13 = !{!12, !10, i64 16}
!14 = !{!15, !10, i64 144}
!15 = !{!"_ZTS25SimdConvolutionParameters", !10, i64 0, !10, i64 8, !10, i64 16, !16, i64 24, !17, i64 28, !10, i64 32, !10, i64 40, !10, i64 48, !16, i64 56, !17, 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, !18, i64 152}
!16 = !{!"_ZTS18SimdTensorDataType", !7, i64 0}
!17 = !{!"_ZTS20SimdTensorFormatType", !7, i64 0}
!18 = !{!"_ZTS29SimdConvolutionActivationType", !7, i64 0}
!19 = !{!15, !10, i64 0}
!20 = !{!15, !10, i64 32}
!21 = !{!15, !10, i64 64}
!22 = !{!15, !10, i64 72}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!12, !10, i64 8}
!26 = !{!15, !10, i64 40}
!27 = !{!15, !10, i64 96}
!28 = !{!15, !10, i64 112}
!29 = !{!15, !10, i64 8}
!30 = !{!31, !38, i64 609}
!31 = !{!"_ZTSN4Simd4Base25SynetMergedConvolution16bE", !32, i64 0, !34, i64 8, !36, i64 576, !38, i64 608, !38, i64 609, !38, i64 610, !6, i64 616, !6, i64 624, !6, i64 632, !6, i64 640, !7, i64 648, !10, i64 664, !10, i64 672, !7, i64 680, !12, i64 712, !39, i64 864, !40, i64 880, !40, i64 896, !41, i64 912, !7, i64 928, !7, i64 976}
!32 = !{!"_ZTSN4Simd25SynetMergedConvolution16bE", !33, i64 0}
!33 = !{!"_ZTSN4Simd9DeletableE"}
!34 = !{!"_ZTSN4Simd13MergConvParamE", !7, i64 0, !10, i64 552, !35, i64 560}
!35 = !{!"_ZTS8SimdBool", !7, i64 0}
!36 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !37, i64 0, !10, i64 8, !7, i64 16}
!37 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!38 = !{!"bool", !7, i64 0}
!39 = !{!"_ZTSN4Simd5ArrayIhEE", !6, i64 0, !10, i64 8}
!40 = !{!"_ZTSN4Simd5ArrayItEE", !6, i64 0, !10, i64 8}
!41 = !{!"_ZTSN4Simd5ArrayIfEE", !6, i64 0, !10, i64 8}
!42 = !{i8 0, i8 2}
!43 = !{}
!44 = !{!15, !10, i64 16}
!45 = distinct !{!45, !24}
!46 = !{!15, !18, i64 152}


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

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

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN4Simd4Base10AlgCacheL1Ev() local_unnamed_addr #0

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN4Simd4Base10AlgCacheL2Ev() local_unnamed_addr #0

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN4Simd4Base10AlgCacheL3Ev() local_unnamed_addr #0

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN4Simd6Pow2HiEm(i64 noundef) local_unnamed_addr #0

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4Simd7AlignedEmm(i64 noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base27SynetMergedConvolution16bCd7SetSizeEmm(ptr noundef nonnull align 8 dereferenceable(1024) %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #2 align 2 {
  %4 = tail call noundef i64 @_ZN4Simd4Base10AlgCacheL1Ev()
  %5 = tail call noundef i64 @_ZN4Simd4Base10AlgCacheL2Ev()
  %6 = tail call noundef i64 @_ZN4Simd4Base10AlgCacheL3Ev()
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  %8 = getelementptr inbounds i8, ptr %0, i64 712
  store i64 %1, ptr %8, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 728
  store i64 %2, ptr %9, align 8, !tbaa !10
  %10 = getelementptr inbounds i8, ptr %0, i64 152
  %11 = load i64, ptr %10, align 8, !tbaa !11
  %12 = icmp eq i64 %11, 1
  br i1 %12, label %31, label %41

.lr.ph:                                           ; preds = %78
  %13 = getelementptr inbounds i8, ptr %0, i64 736
  %14 = getelementptr inbounds i8, ptr %0, i64 752
  %15 = getelementptr inbounds i8, ptr %0, i64 760
  %16 = getelementptr inbounds i8, ptr %0, i64 776
  %17 = getelementptr inbounds i8, ptr %0, i64 288
  %18 = getelementptr inbounds i8, ptr %0, i64 744
  %19 = getelementptr inbounds i8, ptr %0, i64 256
  %20 = getelementptr inbounds i8, ptr %0, i64 304
  %21 = getelementptr inbounds i8, ptr %0, i64 200
  %22 = getelementptr inbounds i8, ptr %0, i64 768
  %23 = getelementptr inbounds i8, ptr %0, i64 784
  %24 = getelementptr inbounds i8, ptr %0, i64 792
  %25 = getelementptr inbounds i8, ptr %0, i64 16
  %26 = getelementptr inbounds i8, ptr %0, i64 609
  %27 = getelementptr inbounds i8, ptr %0, i64 24
  %28 = getelementptr inbounds i8, ptr %0, i64 680
  %29 = getelementptr inbounds i8, ptr %0, i64 208
  %30 = getelementptr inbounds i8, ptr %0, i64 688
  br label %91

31:                                               ; preds = %3
  %32 = load i64, ptr %7, align 8, !tbaa !16
  %33 = tail call noundef i64 @_ZN4Simd7AlignHiEmm(i64 noundef %32, i64 noundef %2)
  %34 = getelementptr inbounds i8, ptr %0, i64 40
  %35 = load i64, ptr %34, align 8, !tbaa !17
  %36 = load i64, ptr %8, align 8, !tbaa !5
  %37 = shl i64 %36, 1
  %38 = tail call noundef i64 @_ZN4Simd7AlignHiEmm(i64 noundef %35, i64 noundef %37)
  %39 = shl i64 %33, 1
  %40 = mul i64 %39, %38
  br label %51

41:                                               ; preds = %3
  %42 = getelementptr inbounds i8, ptr %0, i64 72
  %43 = load i64, ptr %42, align 8, !tbaa !18
  %44 = getelementptr inbounds i8, ptr %0, i64 80
  %45 = load i64, ptr %44, align 8, !tbaa !19
  %46 = load i64, ptr %7, align 8, !tbaa !16
  %47 = tail call noundef i64 @_ZN4Simd7AlignHiEmm(i64 noundef %46, i64 noundef %1)
  %48 = shl i64 %43, 2
  %49 = mul i64 %48, %45
  %50 = mul i64 %49, %47
  br label %51

51:                                               ; preds = %41, %31
  %.pn = phi i64 [ %40, %31 ], [ %50, %41 ]
  %52 = getelementptr inbounds i8, ptr %0, i64 192
  %53 = getelementptr inbounds i8, ptr %0, i64 336
  %54 = load i64, ptr %53, align 8, !tbaa !11
  %55 = icmp eq i64 %54, 1
  br i1 %55, label %67, label %56

56:                                               ; preds = %51
  %57 = getelementptr inbounds i8, ptr %0, i64 256
  %58 = load i64, ptr %57, align 8, !tbaa !18
  %59 = getelementptr inbounds i8, ptr %0, i64 264
  %60 = load i64, ptr %59, align 8, !tbaa !19
  %61 = load i64, ptr %52, align 8, !tbaa !16
  %62 = load i64, ptr %8, align 8, !tbaa !5
  %63 = tail call noundef i64 @_ZN4Simd7AlignHiEmm(i64 noundef %61, i64 noundef %62)
  %64 = shl i64 %58, 2
  %65 = mul i64 %64, %60
  %66 = mul i64 %65, %63
  br label %78

67:                                               ; preds = %51
  %68 = load i64, ptr %52, align 8, !tbaa !16
  %69 = load i64, ptr %9, align 8, !tbaa !10
  %70 = tail call noundef i64 @_ZN4Simd7AlignHiEmm(i64 noundef %68, i64 noundef %69)
  %71 = getelementptr inbounds i8, ptr %0, i64 224
  %72 = load i64, ptr %71, align 8, !tbaa !17
  %73 = load i64, ptr %8, align 8, !tbaa !5
  %74 = shl i64 %73, 1
  %75 = tail call noundef i64 @_ZN4Simd7AlignHiEmm(i64 noundef %72, i64 noundef %74)
  %76 = shl i64 %70, 1
  %77 = mul i64 %76, %75
  br label %78

78:                                               ; preds = %67, %56
  %.pn.1 = phi i64 [ %77, %67 ], [ %66, %56 ]
  %.1.1 = add i64 %.pn.1, %.pn
  %79 = lshr i64 %6, 1
  %80 = udiv i64 %.1.1, %79
  %81 = add i64 %80, 1
  %82 = getelementptr inbounds i8, ptr %0, i64 40
  %83 = load i64, ptr %82, align 8, !tbaa !17
  %84 = udiv i64 %83, %81
  %85 = load i64, ptr %8, align 8, !tbaa !5
  %86 = shl i64 %85, 1
  %87 = tail call noundef i64 @_ZN4Simd10AlignHiAnyEmm(i64 noundef %84, i64 noundef %86)
  %88 = getelementptr inbounds i8, ptr %0, i64 720
  store i64 %87, ptr %88, align 8, !tbaa !20
  %89 = getelementptr inbounds i8, ptr %0, i64 232
  %90 = load i64, ptr %89, align 8, !tbaa !21
  %.not83 = icmp eq i64 %90, 0
  br i1 %.not83, label %._crit_edge, label %.lr.ph

91:                                               ; preds = %125, %.lr.ph
  %.084 = phi i64 [ %90, %.lr.ph ], [ %141, %125 ]
  %92 = tail call noundef i64 @_ZN4Simd3MaxImEET_S1_S1_(i64 noundef 1, i64 noundef %.084)
  store i64 %92, ptr %14, align 8, !tbaa !22
  store i64 %92, ptr %16, align 8, !tbaa !22
  %93 = load i64, ptr %17, align 8, !tbaa !23
  %94 = mul i64 %93, %92
  store i64 %94, ptr %18, align 8, !tbaa !22
  %95 = add i64 %92, -1
  %96 = mul i64 %93, %95
  %97 = load i64, ptr %19, align 8, !tbaa !18
  %98 = add i64 %97, %96
  %99 = load i64, ptr %20, align 8, !tbaa !24
  %100 = sub i64 %98, %99
  %101 = load i64, ptr %21, align 8, !tbaa !25
  %102 = tail call noundef i64 @_ZN4Simd3MinImEET_S1_S1_(i64 noundef %100, i64 noundef %101)
  store i64 %102, ptr %22, align 8, !tbaa !22
  %103 = load i64, ptr %14, align 8, !tbaa !22
  %104 = add i64 %103, -1
  %105 = load i64, ptr %17, align 8, !tbaa !23
  %106 = mul i64 %104, %105
  %107 = load i64, ptr %19, align 8, !tbaa !18
  %108 = add i64 %106, %107
  %109 = tail call noundef i64 @_ZN4Simd3MaxImEET_S1_S1_(i64 noundef %108, i64 noundef %102)
  %110 = tail call noundef i64 @_ZN4Simd6Pow2HiEm(i64 noundef %109)
  store i64 %110, ptr %24, align 8, !tbaa !22
  %111 = load i64, ptr %18, align 8, !tbaa !22
  store i64 %111, ptr %13, align 8, !tbaa !22
  %112 = load i64, ptr %22, align 8, !tbaa !22
  %113 = load i64, ptr %25, align 8, !tbaa !25
  %114 = tail call noundef i64 @_ZN4Simd3MinImEET_S1_S1_(i64 noundef %112, i64 noundef %113)
  store i64 %114, ptr %15, align 8, !tbaa !22
  %115 = load i8, ptr %26, align 1, !tbaa !26, !range !39, !noundef !40
  %116 = trunc nuw i8 %115 to i1
  br i1 %116, label %117, label %121

117:                                              ; preds = %91
  %118 = load i64, ptr %7, align 8, !tbaa !16
  %119 = load i64, ptr %9, align 8, !tbaa !10
  %120 = tail call noundef zeroext i1 @_ZN4Simd7AlignedEmm(i64 noundef %118, i64 noundef %119)
  br i1 %120, label %125, label %._crit_edge86

._crit_edge86:                                    ; preds = %117
  %.pre = load i64, ptr %15, align 8, !tbaa !22
  br label %121

121:                                              ; preds = %._crit_edge86, %91
  %122 = phi i64 [ %.pre, %._crit_edge86 ], [ %114, %91 ]
  %123 = load i64, ptr %18, align 8, !tbaa !22
  %124 = tail call noundef i64 @_ZN4Simd3MaxImEET_S1_S1_(i64 noundef %123, i64 noundef %122)
  br label %125

125:                                              ; preds = %117, %121
  %126 = phi i64 [ %124, %121 ], [ 0, %117 ]
  store i64 %126, ptr %23, align 8, !tbaa !22
  %127 = load i64, ptr %27, align 8, !tbaa !41
  %128 = mul i64 %127, %126
  %129 = load i64, ptr %7, align 8, !tbaa !16
  %130 = load i64, ptr %9, align 8, !tbaa !10
  %131 = tail call noundef i64 @_ZN4Simd7AlignHiEmm(i64 noundef %129, i64 noundef %130)
  %132 = mul i64 %128, %131
  store i64 %132, ptr %28, align 8, !tbaa !22
  %133 = load i64, ptr %24, align 8, !tbaa !22
  %134 = load i64, ptr %29, align 8, !tbaa !41
  %135 = mul i64 %134, %133
  %136 = load i64, ptr %88, align 8, !tbaa !20
  %137 = mul i64 %135, %136
  store i64 %137, ptr %30, align 8, !tbaa !22
  %138 = shl i64 %132, 1
  %139 = shl i64 %137, 2
  %140 = add i64 %139, %138
  %.not80 = icmp ule i64 %140, %5
  %141 = add i64 %.084, -1
  %.not = icmp eq i64 %141, 0
  %or.cond = or i1 %.not80, %.not
  br i1 %or.cond, label %._crit_edge, label %91, !llvm.loop !42

._crit_edge:                                      ; preds = %125, %78
  %142 = getelementptr inbounds i8, ptr %0, i64 160
  %143 = load <4 x i32>, ptr %142, align 8
  %144 = shufflevector <4 x i32> %143, <4 x i32> poison, <2 x i32> <i32 0, i32 poison>
  %145 = getelementptr inbounds i8, ptr %0, i64 808
  %146 = getelementptr inbounds i8, ptr %0, i64 344
  %147 = load i32, ptr %146, align 8, !tbaa !44
  %148 = insertelement <2 x i32> %144, i32 %147, i64 1
  %149 = icmp eq <2 x i32> %148, <i32 4, i32 4>
  %150 = zext <2 x i1> %149 to <2 x i64>
  store <2 x i64> %150, ptr %145, align 8, !tbaa !22
  %151 = load i64, ptr %7, align 8, !tbaa !16
  %152 = load i64, ptr %9, align 8, !tbaa !10
  %153 = tail call noundef i64 @_ZN4Simd7AlignHiEmm(i64 noundef %151, i64 noundef %152)
  %154 = getelementptr inbounds i8, ptr %0, i64 824
  store i64 %153, ptr %154, align 8, !tbaa !22
  %155 = getelementptr inbounds i8, ptr %0, i64 256
  %156 = load i64, ptr %155, align 8, !tbaa !18
  %157 = getelementptr inbounds i8, ptr %0, i64 264
  %158 = load i64, ptr %157, align 8, !tbaa !19
  %159 = mul i64 %158, %156
  %160 = getelementptr inbounds i8, ptr %0, i64 832
  store i64 %159, ptr %160, align 8, !tbaa !22
  %161 = getelementptr inbounds i8, ptr %0, i64 840
  store i64 0, ptr %161, align 8, !tbaa !22
  %162 = getelementptr inbounds i8, ptr %0, i64 800
  store i64 0, ptr %162, align 8, !tbaa !22
  %163 = getelementptr inbounds i8, ptr %0, i64 696
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %163, i8 0, i64 16, i1 false)
  ret void
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

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

!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, !7, i64 0}
!6 = !{!"_ZTSN4Simd4Base25SynetMergedConvolution16b8AlgParamE", !7, i64 0, !7, i64 8, !7, i64 16, !8, i64 24, !8, i64 48, !8, i64 72, !8, i64 96, !8, i64 112, !8, i64 136}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 16}
!11 = !{!12, !7, i64 144}
!12 = !{!"_ZTS25SimdConvolutionParameters", !7, i64 0, !7, i64 8, !7, i64 16, !13, i64 24, !14, i64 28, !7, i64 32, !7, i64 40, !7, i64 48, !13, i64 56, !14, i64 60, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !15, i64 152}
!13 = !{!"_ZTS18SimdTensorDataType", !8, i64 0}
!14 = !{!"_ZTS20SimdTensorFormatType", !8, i64 0}
!15 = !{!"_ZTS29SimdConvolutionActivationType", !8, i64 0}
!16 = !{!12, !7, i64 0}
!17 = !{!12, !7, i64 32}
!18 = !{!12, !7, i64 64}
!19 = !{!12, !7, i64 72}
!20 = !{!6, !7, i64 8}
!21 = !{!12, !7, i64 40}
!22 = !{!7, !7, i64 0}
!23 = !{!12, !7, i64 96}
!24 = !{!12, !7, i64 112}
!25 = !{!12, !7, i64 8}
!26 = !{!27, !35, i64 609}
!27 = !{!"_ZTSN4Simd4Base25SynetMergedConvolution16bE", !28, i64 0, !30, i64 8, !32, i64 576, !35, i64 608, !35, i64 609, !35, i64 610, !34, i64 616, !34, i64 624, !34, i64 632, !34, i64 640, !8, i64 648, !7, i64 664, !7, i64 672, !8, i64 680, !6, i64 712, !36, i64 864, !37, i64 880, !37, i64 896, !38, i64 912, !8, i64 928, !8, i64 976}
!28 = !{!"_ZTSN4Simd25SynetMergedConvolution16bE", !29, i64 0}
!29 = !{!"_ZTSN4Simd9DeletableE"}
!30 = !{!"_ZTSN4Simd13MergConvParamE", !8, i64 0, !7, i64 552, !31, i64 560}
!31 = !{!"_ZTS8SimdBool", !8, i64 0}
!32 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !33, i64 0, !7, i64 8, !8, i64 16}
!33 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !34, i64 0}
!34 = !{!"any pointer", !8, i64 0}
!35 = !{!"bool", !8, i64 0}
!36 = !{!"_ZTSN4Simd5ArrayIhEE", !34, i64 0, !7, i64 8}
!37 = !{!"_ZTSN4Simd5ArrayItEE", !34, i64 0, !7, i64 8}
!38 = !{!"_ZTSN4Simd5ArrayIfEE", !34, i64 0, !7, i64 8}
!39 = !{i8 0, i8 2}
!40 = !{}
!41 = !{!12, !7, i64 16}
!42 = distinct !{!42, !43}
!43 = !{!"llvm.loop.mustprogress"}
!44 = !{!12, !15, i64 152}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass