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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN4Simd4Base24SynetMergedConvolution8i9GetBufferEPh(ptr noundef nonnull align 8 dereferenceable(1376), ptr noundef) #1 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base26SynetMergedConvolution8iDc7ForwardEPKhPhS4_(ptr noundef nonnull align 8 dereferenceable(1376) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) unnamed_addr #1 align 2 {
  %5 = alloca ptr, align 8
  %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 ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca i32, align 4
  %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 i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %26 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %27 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 1
  store ptr %27, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %28 = load ptr, ptr %9, align 8, !tbaa !5
  %29 = getelementptr inbounds %"struct.Simd::MergConvParam8i", ptr %28, i32 0, i32 1
  %30 = getelementptr inbounds [3 x %"struct.Simd::ConvParam"], ptr %29, i64 0, i64 0
  store ptr %30, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %31 = load ptr, ptr %9, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.Simd::MergConvParam8i", ptr %31, i32 0, i32 1
  %33 = getelementptr inbounds [3 x %"struct.Simd::ConvParam"], ptr %32, i64 0, i64 1
  store ptr %33, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %34 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 17
  store ptr %34, ptr %12, align 8, !tbaa !5
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = call noundef ptr @_ZN4Simd4Base24SynetMergedConvolution8i9GetBufferEPh(ptr noundef nonnull align 8 dereferenceable(1376) %26, ptr noundef %35)
  store ptr %36, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %37 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 9
  %38 = getelementptr inbounds [5 x i64], ptr %37, i64 0, i64 0
  %39 = load i64, ptr %38, align 8, !tbaa !9
  %40 = call noundef ptr @_ZN4Simd8AllocateIfEEPT_RPhmm(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %39, i64 noundef 8)
  store ptr %40, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %41 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 9
  %42 = getelementptr inbounds [5 x i64], ptr %41, i64 0, i64 2
  %43 = load i64, ptr %42, align 8, !tbaa !9
  %44 = call noundef ptr @_ZN4Simd8AllocateIhEEPT_RPhmm(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %43, i64 noundef 8)
  store ptr %44, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %45 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 9
  %46 = getelementptr inbounds [5 x i64], ptr %45, i64 0, i64 4
  %47 = load i64, ptr %46, align 8, !tbaa !9
  %48 = call noundef ptr @_ZN4Simd8AllocateIiEEPT_RPhmm(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %47, i64 noundef 8)
  store ptr %48, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  store i64 0, ptr %16, align 8, !tbaa !9
  br label %49

49:                                               ; preds = %349, %4
  %50 = load i64, ptr %16, align 8, !tbaa !9
  %51 = load ptr, ptr %10, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.Simd::ConvParam", ptr %51, i32 0, i32 3
  %53 = load i64, ptr %52, align 8, !tbaa !11
  %54 = icmp ult i64 %50, %53
  br i1 %54, label %56, label %55

55:                                               ; preds = %49
  store i32 2, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  br label %352

56:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  store i64 0, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %57 = load ptr, ptr %10, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %57, i32 0, i32 5
  %59 = load i64, ptr %58, align 8, !tbaa !19
  store i64 %59, ptr %19, align 8, !tbaa !9
  br label %60

60:                                               ; preds = %320, %56
  %61 = load i64, ptr %18, align 8, !tbaa !9
  %62 = load i64, ptr %19, align 8, !tbaa !9
  %63 = icmp ult i64 %61, %62
  br i1 %63, label %65, label %64

64:                                               ; preds = %60
  store i32 5, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  br label %326

65:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %66 = load i64, ptr %19, align 8, !tbaa !9
  %67 = load i64, ptr %18, align 8, !tbaa !9
  %68 = load ptr, ptr %12, align 8, !tbaa !5
  %69 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution8i::AlgParam", ptr %68, i32 0, i32 1
  %70 = load i64, ptr %69, align 8, !tbaa !20
  %71 = add i64 %67, %70
  %72 = call noundef i64 @_ZN4Simd3MinImEET_S1_S1_(i64 noundef %66, i64 noundef %71)
  %73 = load i64, ptr %18, align 8, !tbaa !9
  %74 = sub i64 %72, %73
  store i64 %74, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  store i64 0, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  store i64 0, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  store i64 0, ptr %23, align 8, !tbaa !9
  br label %75

75:                                               ; preds = %316, %65
  %76 = load i64, ptr %21, align 8, !tbaa !9
  %77 = load ptr, ptr %10, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %77, i32 0, i32 6
  %79 = load i64, ptr %78, align 8, !tbaa !23
  %80 = icmp ult i64 %76, %79
  br i1 %80, label %82, label %81

81:                                               ; preds = %75
  store i32 8, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  br label %319

82:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  %83 = load i64, ptr %21, align 8, !tbaa !9
  %84 = load ptr, ptr %12, align 8, !tbaa !5
  %85 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution8i::AlgParam", ptr %84, i32 0, i32 2
  %86 = getelementptr inbounds [3 x i64], ptr %85, i64 0, i64 2
  %87 = load i64, ptr %86, align 8, !tbaa !9
  %88 = add i64 %83, %87
  %89 = load ptr, ptr %12, align 8, !tbaa !5
  %90 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution8i::AlgParam", ptr %89, i32 0, i32 3
  %91 = getelementptr inbounds [3 x i64], ptr %90, i64 0, i64 2
  %92 = load i64, ptr %91, align 8, !tbaa !9
  %93 = load ptr, ptr %10, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %93, i32 0, i32 6
  %95 = load i64, ptr %94, align 8, !tbaa !23
  %96 = call noundef i64 @_ZN4Simd13RestrictRangeImEET_S1_S1_S1_(i64 noundef %88, i64 noundef %92, i64 noundef %95)
  store i64 %96, ptr %24, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  %97 = load i64, ptr %22, align 8, !tbaa !9
  %98 = load ptr, ptr %12, align 8, !tbaa !5
  %99 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution8i::AlgParam", ptr %98, i32 0, i32 2
  %100 = getelementptr inbounds [3 x i64], ptr %99, i64 0, i64 1
  %101 = load i64, ptr %100, align 8, !tbaa !9
  %102 = add i64 %97, %101
  %103 = load ptr, ptr %12, align 8, !tbaa !5
  %104 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution8i::AlgParam", ptr %103, i32 0, i32 3
  %105 = getelementptr inbounds [3 x i64], ptr %104, i64 0, i64 1
  %106 = load i64, ptr %105, align 8, !tbaa !9
  %107 = load ptr, ptr %10, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %107, i32 0, i32 1
  %109 = load i64, ptr %108, align 8, !tbaa !24
  %110 = call noundef i64 @_ZN4Simd13RestrictRangeImEET_S1_S1_S1_(i64 noundef %102, i64 noundef %106, i64 noundef %109)
  store i64 %110, ptr %25, align 8, !tbaa !9
  %111 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 2
  %112 = load i8, ptr %111, align 8, !tbaa !25, !range !35, !noundef !36
  %113 = trunc i8 %112 to i1
  br i1 %113, label %114, label %151

114:                                              ; preds = %82
  %115 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 18
  %116 = load ptr, ptr %115, align 8, !tbaa !37
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = load i64, ptr %18, align 8, !tbaa !9
  %119 = getelementptr inbounds i8, ptr %117, i64 %118
  %120 = load i64, ptr %20, align 8, !tbaa !9
  %121 = load i64, ptr %22, align 8, !tbaa !9
  %122 = load i64, ptr %25, align 8, !tbaa !9
  %123 = load ptr, ptr %10, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %123, i32 0, i32 2
  %125 = load i64, ptr %124, align 8, !tbaa !38
  %126 = load ptr, ptr %10, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %126, i32 0, i32 0
  %128 = load i64, ptr %127, align 8, !tbaa !39
  %129 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 10
  %130 = getelementptr inbounds [3 x %"struct.Simd::CvtParam"], ptr %129, i64 0, i64 0
  %131 = getelementptr inbounds %"struct.Simd::CvtParam", ptr %130, i32 0, i32 3
  %132 = getelementptr inbounds %"struct.Simd::Array.0", ptr %131, i32 0, i32 0
  %133 = load ptr, ptr %132, align 8, !tbaa !40
  %134 = load i64, ptr %18, align 8, !tbaa !9
  %135 = getelementptr inbounds float, ptr %133, i64 %134
  %136 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 10
  %137 = getelementptr inbounds [3 x %"struct.Simd::CvtParam"], ptr %136, i64 0, i64 0
  %138 = getelementptr inbounds %"struct.Simd::CvtParam", ptr %137, i32 0, i32 4
  %139 = getelementptr inbounds %"struct.Simd::Array.0", ptr %138, i32 0, i32 0
  %140 = load ptr, ptr %139, align 8, !tbaa !42
  %141 = load i64, ptr %18, align 8, !tbaa !9
  %142 = getelementptr inbounds float, ptr %140, i64 %141
  %143 = load ptr, ptr %13, align 8, !tbaa !5
  %144 = load ptr, ptr %12, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution8i::AlgParam", ptr %144, i32 0, i32 4
  %146 = getelementptr inbounds [3 x i64], ptr %145, i64 0, i64 1
  %147 = load i64, ptr %146, align 8, !tbaa !9
  %148 = load ptr, ptr %10, align 8, !tbaa !5
  %149 = getelementptr inbounds %"struct.Simd::ConvParam", ptr %148, i32 0, i32 4
  %150 = load i32, ptr %149, align 8, !tbaa !43
  call void %116(ptr noundef %119, i64 noundef %120, i64 noundef %121, i64 noundef %122, i64 noundef %125, i64 noundef %128, ptr noundef %135, ptr noundef %142, ptr noundef %143, i64 noundef %147, i32 noundef %150)
  br label %151

151:                                              ; preds = %114, %82
  %152 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 21
  %153 = load ptr, ptr %152, align 8, !tbaa !44
  %154 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 2
  %155 = load i8, ptr %154, align 8, !tbaa !25, !range !35, !noundef !36
  %156 = trunc i8 %155 to i1
  br i1 %156, label %157, label %159

157:                                              ; preds = %151
  %158 = load ptr, ptr %13, align 8, !tbaa !5
  br label %163

159:                                              ; preds = %151
  %160 = load ptr, ptr %6, align 8, !tbaa !5
  %161 = load i64, ptr %18, align 8, !tbaa !9
  %162 = getelementptr inbounds float, ptr %160, i64 %161
  br label %163

163:                                              ; preds = %159, %157
  %164 = phi ptr [ %158, %157 ], [ %162, %159 ]
  %165 = load ptr, ptr %10, align 8, !tbaa !5
  %166 = load ptr, ptr %12, align 8, !tbaa !5
  %167 = load i64, ptr %20, align 8, !tbaa !9
  %168 = load i64, ptr %21, align 8, !tbaa !9
  %169 = load i64, ptr %24, align 8, !tbaa !9
  %170 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 13
  %171 = getelementptr inbounds %"struct.Simd::Array.0", ptr %170, i32 0, i32 0
  %172 = load ptr, ptr %171, align 8, !tbaa !45
  %173 = load i64, ptr %18, align 8, !tbaa !9
  %174 = load ptr, ptr %12, align 8, !tbaa !5
  %175 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution8i::AlgParam", ptr %174, i32 0, i32 6
  %176 = getelementptr inbounds [3 x i64], ptr %175, i64 0, i64 0
  %177 = load i64, ptr %176, align 8, !tbaa !9
  %178 = mul i64 %173, %177
  %179 = getelementptr inbounds float, ptr %172, i64 %178
  %180 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 15
  %181 = getelementptr inbounds [3 x %"struct.Simd::Array.0"], ptr %180, i64 0, i64 0
  %182 = getelementptr inbounds %"struct.Simd::Array.0", ptr %181, i32 0, i32 0
  %183 = load ptr, ptr %182, align 8, !tbaa !46
  %184 = load i64, ptr %18, align 8, !tbaa !9
  %185 = getelementptr inbounds float, ptr %183, i64 %184
  %186 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 16
  %187 = getelementptr inbounds [3 x %"struct.Simd::Array.0"], ptr %186, i64 0, i64 0
  %188 = getelementptr inbounds %"struct.Simd::Array.0", ptr %187, i32 0, i32 0
  %189 = load ptr, ptr %188, align 8, !tbaa !46
  %190 = load i64, ptr %18, align 8, !tbaa !9
  %191 = load ptr, ptr %12, align 8, !tbaa !5
  %192 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution8i::AlgParam", ptr %191, i32 0, i32 5
  %193 = getelementptr inbounds [2 x i64], ptr %192, i64 0, i64 0
  %194 = load i64, ptr %193, align 8, !tbaa !9
  %195 = mul i64 %190, %194
  %196 = getelementptr inbounds float, ptr %189, i64 %195
  %197 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 10
  %198 = getelementptr inbounds [3 x %"struct.Simd::CvtParam"], ptr %197, i64 0, i64 1
  %199 = getelementptr inbounds %"struct.Simd::CvtParam", ptr %198, i32 0, i32 1
  %200 = getelementptr inbounds %"struct.Simd::Array.0", ptr %199, i32 0, i32 0
  %201 = load ptr, ptr %200, align 8, !tbaa !47
  %202 = load i64, ptr %18, align 8, !tbaa !9
  %203 = getelementptr inbounds float, ptr %201, i64 %202
  %204 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 10
  %205 = getelementptr inbounds [3 x %"struct.Simd::CvtParam"], ptr %204, i64 0, i64 1
  %206 = getelementptr inbounds %"struct.Simd::CvtParam", ptr %205, i32 0, i32 2
  %207 = getelementptr inbounds %"struct.Simd::Array.0", ptr %206, i32 0, i32 0
  %208 = load ptr, ptr %207, align 8, !tbaa !48
  %209 = load i64, ptr %18, align 8, !tbaa !9
  %210 = getelementptr inbounds float, ptr %208, i64 %209
  %211 = load ptr, ptr %14, align 8, !tbaa !5
  call void %153(ptr noundef %164, ptr noundef nonnull align 8 dereferenceable(180) %165, ptr noundef nonnull align 8 dereferenceable(144) %166, i64 noundef %167, i64 noundef %168, i64 noundef %169, ptr noundef %179, ptr noundef %185, ptr noundef %196, ptr noundef %203, ptr noundef %210, ptr noundef %211)
  %212 = load i64, ptr %18, align 8, !tbaa !9
  %213 = load i64, ptr %20, align 8, !tbaa !9
  %214 = add i64 %212, %213
  %215 = load i64, ptr %19, align 8, !tbaa !9
  %216 = icmp eq i64 %214, %215
  br i1 %216, label %217, label %267

217:                                              ; preds = %163
  %218 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 22
  %219 = getelementptr inbounds [2 x ptr], ptr %218, i64 0, i64 0
  %220 = load ptr, ptr %219, align 8, !tbaa !5
  %221 = load ptr, ptr %14, align 8, !tbaa !5
  %222 = load ptr, ptr %11, align 8, !tbaa !5
  %223 = load ptr, ptr %12, align 8, !tbaa !5
  %224 = load i64, ptr %20, align 8, !tbaa !9
  %225 = load i64, ptr %21, align 8, !tbaa !9
  %226 = load i64, ptr %24, align 8, !tbaa !9
  %227 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 12
  %228 = getelementptr inbounds [2 x %"struct.Simd::Array.1"], ptr %227, i64 0, i64 0
  %229 = getelementptr inbounds %"struct.Simd::Array.1", ptr %228, i32 0, i32 0
  %230 = load ptr, ptr %229, align 8, !tbaa !49
  %231 = load i64, ptr %18, align 8, !tbaa !9
  %232 = load ptr, ptr %12, align 8, !tbaa !5
  %233 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution8i::AlgParam", ptr %232, i32 0, i32 6
  %234 = getelementptr inbounds [3 x i64], ptr %233, i64 0, i64 1
  %235 = load i64, ptr %234, align 8, !tbaa !9
  %236 = mul i64 %231, %235
  %237 = getelementptr inbounds i8, ptr %230, i64 %236
  %238 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 14
  %239 = getelementptr inbounds [2 x %"struct.Simd::Array.0"], ptr %238, i64 0, i64 0
  %240 = getelementptr inbounds %"struct.Simd::Array.0", ptr %239, i32 0, i32 0
  %241 = load ptr, ptr %240, align 8, !tbaa !46
  %242 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 15
  %243 = getelementptr inbounds [3 x %"struct.Simd::Array.0"], ptr %242, i64 0, i64 1
  %244 = getelementptr inbounds %"struct.Simd::Array.0", ptr %243, i32 0, i32 0
  %245 = load ptr, ptr %244, align 8, !tbaa !46
  %246 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 16
  %247 = getelementptr inbounds [3 x %"struct.Simd::Array.0"], ptr %246, i64 0, i64 1
  %248 = getelementptr inbounds %"struct.Simd::Array.0", ptr %247, i32 0, i32 0
  %249 = load ptr, ptr %248, align 8, !tbaa !46
  %250 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 10
  %251 = getelementptr inbounds [3 x %"struct.Simd::CvtParam"], ptr %250, i64 0, i64 2
  %252 = getelementptr inbounds %"struct.Simd::CvtParam", ptr %251, i32 0, i32 1
  %253 = getelementptr inbounds %"struct.Simd::Array.0", ptr %252, i32 0, i32 0
  %254 = load ptr, ptr %253, align 8, !tbaa !47
  %255 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 10
  %256 = getelementptr inbounds [3 x %"struct.Simd::CvtParam"], ptr %255, i64 0, i64 2
  %257 = getelementptr inbounds %"struct.Simd::CvtParam", ptr %256, i32 0, i32 2
  %258 = getelementptr inbounds %"struct.Simd::Array.0", ptr %257, i32 0, i32 0
  %259 = load ptr, ptr %258, align 8, !tbaa !48
  %260 = load ptr, ptr %15, align 8, !tbaa !5
  %261 = load ptr, ptr %8, align 8, !tbaa !5
  %262 = load i64, ptr %20, align 8, !tbaa !9
  %263 = load i64, ptr %19, align 8, !tbaa !9
  %264 = icmp eq i64 %262, %263
  %265 = zext i1 %264 to i64
  %266 = select i1 %264, i32 1, i32 0
  call void %220(ptr noundef %221, ptr noundef nonnull align 8 dereferenceable(180) %222, ptr noundef nonnull align 8 dereferenceable(144) %223, i64 noundef %224, i64 noundef %225, i64 noundef %226, ptr noundef %237, ptr noundef %241, ptr noundef %245, ptr noundef %249, ptr noundef %254, ptr noundef %259, ptr noundef %260, ptr noundef %261, i32 noundef %266)
  br label %316

267:                                              ; preds = %163
  %268 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 22
  %269 = getelementptr inbounds [2 x ptr], ptr %268, i64 0, i64 1
  %270 = load ptr, ptr %269, align 8, !tbaa !5
  %271 = load ptr, ptr %14, align 8, !tbaa !5
  %272 = load ptr, ptr %11, align 8, !tbaa !5
  %273 = load ptr, ptr %12, align 8, !tbaa !5
  %274 = load i64, ptr %20, align 8, !tbaa !9
  %275 = load i64, ptr %21, align 8, !tbaa !9
  %276 = load i64, ptr %24, align 8, !tbaa !9
  %277 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 12
  %278 = getelementptr inbounds [2 x %"struct.Simd::Array.1"], ptr %277, i64 0, i64 0
  %279 = getelementptr inbounds %"struct.Simd::Array.1", ptr %278, i32 0, i32 0
  %280 = load ptr, ptr %279, align 8, !tbaa !49
  %281 = load i64, ptr %18, align 8, !tbaa !9
  %282 = load ptr, ptr %12, align 8, !tbaa !5
  %283 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution8i::AlgParam", ptr %282, i32 0, i32 6
  %284 = getelementptr inbounds [3 x i64], ptr %283, i64 0, i64 1
  %285 = load i64, ptr %284, align 8, !tbaa !9
  %286 = mul i64 %281, %285
  %287 = getelementptr inbounds i8, ptr %280, i64 %286
  %288 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 14
  %289 = getelementptr inbounds [2 x %"struct.Simd::Array.0"], ptr %288, i64 0, i64 0
  %290 = getelementptr inbounds %"struct.Simd::Array.0", ptr %289, i32 0, i32 0
  %291 = load ptr, ptr %290, align 8, !tbaa !46
  %292 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 15
  %293 = getelementptr inbounds [3 x %"struct.Simd::Array.0"], ptr %292, i64 0, i64 1
  %294 = getelementptr inbounds %"struct.Simd::Array.0", ptr %293, i32 0, i32 0
  %295 = load ptr, ptr %294, align 8, !tbaa !46
  %296 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 16
  %297 = getelementptr inbounds [3 x %"struct.Simd::Array.0"], ptr %296, i64 0, i64 1
  %298 = getelementptr inbounds %"struct.Simd::Array.0", ptr %297, i32 0, i32 0
  %299 = load ptr, ptr %298, align 8, !tbaa !46
  %300 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 10
  %301 = getelementptr inbounds [3 x %"struct.Simd::CvtParam"], ptr %300, i64 0, i64 2
  %302 = getelementptr inbounds %"struct.Simd::CvtParam", ptr %301, i32 0, i32 1
  %303 = getelementptr inbounds %"struct.Simd::Array.0", ptr %302, i32 0, i32 0
  %304 = load ptr, ptr %303, align 8, !tbaa !47
  %305 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 10
  %306 = getelementptr inbounds [3 x %"struct.Simd::CvtParam"], ptr %305, i64 0, i64 2
  %307 = getelementptr inbounds %"struct.Simd::CvtParam", ptr %306, i32 0, i32 2
  %308 = getelementptr inbounds %"struct.Simd::Array.0", ptr %307, i32 0, i32 0
  %309 = load ptr, ptr %308, align 8, !tbaa !48
  %310 = load ptr, ptr %15, align 8, !tbaa !5
  %311 = load ptr, ptr %8, align 8, !tbaa !5
  %312 = load i64, ptr %18, align 8, !tbaa !9
  %313 = icmp eq i64 %312, 0
  %314 = zext i1 %313 to i64
  %315 = select i1 %313, i32 1, i32 0
  call void %270(ptr noundef %271, ptr noundef nonnull align 8 dereferenceable(180) %272, ptr noundef nonnull align 8 dereferenceable(144) %273, i64 noundef %274, i64 noundef %275, i64 noundef %276, ptr noundef %287, ptr noundef %291, ptr noundef %295, ptr noundef %299, ptr noundef %304, ptr noundef %309, ptr noundef %310, ptr noundef %311, i32 noundef %315)
  br label %316

316:                                              ; preds = %267, %217
  %317 = load i64, ptr %24, align 8, !tbaa !9
  store i64 %317, ptr %21, align 8, !tbaa !9
  %318 = load i64, ptr %25, align 8, !tbaa !9
  store i64 %318, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  br label %75, !llvm.loop !51

319:                                              ; preds = %81
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  br label %320

320:                                              ; preds = %319
  %321 = load ptr, ptr %12, align 8, !tbaa !5
  %322 = getelementptr inbounds %"struct.Simd::Base::SynetMergedConvolution8i::AlgParam", ptr %321, i32 0, i32 1
  %323 = load i64, ptr %322, align 8, !tbaa !20
  %324 = load i64, ptr %18, align 8, !tbaa !9
  %325 = add i64 %324, %323
  store i64 %325, ptr %18, align 8, !tbaa !9
  br label %60, !llvm.loop !53

326:                                              ; preds = %64
  %327 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 6
  %328 = load i64, ptr %327, align 8, !tbaa !54
  %329 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 2
  %330 = load i8, ptr %329, align 8, !tbaa !25, !range !35, !noundef !36
  %331 = trunc i8 %330 to i1
  %332 = zext i1 %331 to i64
  %333 = select i1 %331, i32 1, i32 4
  %334 = sext i32 %333 to i64
  %335 = mul i64 %328, %334
  %336 = load ptr, ptr %6, align 8, !tbaa !5
  %337 = getelementptr inbounds i8, ptr %336, i64 %335
  store ptr %337, ptr %6, align 8, !tbaa !5
  %338 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 7
  %339 = load i64, ptr %338, align 8, !tbaa !55
  %340 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %26, i32 0, i32 3
  %341 = load i8, ptr %340, align 1, !tbaa !56, !range !35, !noundef !36
  %342 = trunc i8 %341 to i1
  %343 = zext i1 %342 to i64
  %344 = select i1 %342, i32 1, i32 4
  %345 = sext i32 %344 to i64
  %346 = mul i64 %339, %345
  %347 = load ptr, ptr %8, align 8, !tbaa !5
  %348 = getelementptr inbounds i8, ptr %347, i64 %346
  store ptr %348, ptr %8, align 8, !tbaa !5
  br label %349

349:                                              ; preds = %326
  %350 = load i64, ptr %16, align 8, !tbaa !9
  %351 = add i64 %350, 1
  store i64 %351, ptr %16, align 8, !tbaa !9
  br label %49, !llvm.loop !57

352:                                              ; preds = %55
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #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
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 168}
!12 = !{!"_ZTSN4Simd9ConvParamE", !13, i64 0, !17, i64 160, !10, i64 168, !18, i64 176}
!13 = !{!"_ZTS25SimdConvolutionParameters", !10, i64 0, !10, i64 8, !10, i64 16, !14, i64 24, !15, i64 28, !10, i64 32, !10, i64 40, !10, i64 48, !14, i64 56, !15, 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, !16, i64 152}
!14 = !{!"_ZTS18SimdTensorDataType", !7, i64 0}
!15 = !{!"_ZTS20SimdTensorFormatType", !7, i64 0}
!16 = !{!"_ZTS29SimdConvolutionActivationType", !7, i64 0}
!17 = !{!"_ZTS8SimdBool", !7, i64 0}
!18 = !{!"_ZTS26SimdSynetCompatibilityType", !7, i64 0}
!19 = !{!13, !10, i64 32}
!20 = !{!21, !10, i64 8}
!21 = !{!"_ZTSN4Simd4Base24SynetMergedConvolution8i8AlgParamE", !10, i64 0, !10, i64 8, !7, i64 16, !7, i64 40, !7, i64 64, !7, i64 88, !7, i64 104, !10, i64 128, !22, i64 136, !22, i64 140}
!22 = !{!"int", !7, i64 0}
!23 = !{!13, !10, i64 40}
!24 = !{!13, !10, i64 8}
!25 = !{!26, !30, i64 568}
!26 = !{!"_ZTSN4Simd4Base24SynetMergedConvolution8iE", !27, i64 0, !29, i64 8, !30, i64 568, !30, i64 569, !30, i64 570, !30, i64 571, !10, i64 576, !10, i64 584, !7, i64 592, !7, i64 608, !7, i64 648, !31, i64 960, !7, i64 976, !32, i64 1008, !7, i64 1024, !7, i64 1056, !7, i64 1104, !21, i64 1152, !6, i64 1296, !6, i64 1304, !6, i64 1312, !6, i64 1320, !7, i64 1328, !33, i64 1344}
!27 = !{!"_ZTSN4Simd24SynetMergedConvolution8iE", !28, i64 0}
!28 = !{!"_ZTSN4Simd9DeletableE"}
!29 = !{!"_ZTSN4Simd15MergConvParam8iE", !10, i64 0, !7, i64 8}
!30 = !{!"bool", !7, i64 0}
!31 = !{!"_ZTSN4Simd5ArrayIhEE", !6, i64 0, !10, i64 8}
!32 = !{!"_ZTSN4Simd5ArrayIfEE", !6, i64 0, !10, i64 8}
!33 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !34, i64 0, !10, i64 8, !7, i64 16}
!34 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!35 = !{i8 0, i8 2}
!36 = !{}
!37 = !{!26, !6, i64 1296}
!38 = !{!13, !10, i64 16}
!39 = !{!13, !10, i64 0}
!40 = !{!41, !6, i64 48}
!41 = !{!"_ZTSN4Simd8CvtParamE", !31, i64 0, !32, i64 16, !32, i64 32, !32, i64 48, !32, i64 64, !30, i64 80, !22, i64 84, !22, i64 88, !22, i64 92, !22, i64 96}
!42 = !{!41, !6, i64 64}
!43 = !{!12, !18, i64 176}
!44 = !{!26, !6, i64 1320}
!45 = !{!26, !6, i64 1008}
!46 = !{!32, !6, i64 0}
!47 = !{!41, !6, i64 16}
!48 = !{!41, !6, i64 32}
!49 = !{!50, !6, i64 0}
!50 = !{!"_ZTSN4Simd5ArrayIaEE", !6, i64 0, !10, i64 8}
!51 = distinct !{!51, !52}
!52 = !{!"llvm.loop.mustprogress"}
!53 = distinct !{!53, !52}
!54 = !{!26, !10, i64 576}
!55 = !{!26, !10, i64 584}
!56 = !{!26, !30, i64 569}
!57 = distinct !{!57, !52}


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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN4Simd4Base24SynetMergedConvolution8i9GetBufferEPh(ptr noundef nonnull align 8 dereferenceable(1376), ptr noundef) local_unnamed_addr #0 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base26SynetMergedConvolution8iDc7ForwardEPKhPhS4_(ptr noundef nonnull align 8 dereferenceable(1376) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) unnamed_addr #0 align 2 {
  %5 = alloca ptr, align 8
  %6 = getelementptr inbounds i8, ptr %0, i64 16
  %7 = getelementptr inbounds i8, ptr %0, i64 200
  %8 = getelementptr inbounds i8, ptr %0, i64 1152
  %9 = tail call noundef ptr @_ZN4Simd4Base24SynetMergedConvolution8i9GetBufferEPh(ptr noundef nonnull align 8 dereferenceable(1376) %0, ptr noundef %2)
  store ptr %9, ptr %5, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 608
  %11 = load i64, ptr %10, align 8, !tbaa !9
  %12 = call noundef ptr @_ZN4Simd8AllocateIfEEPT_RPhmm(ptr noundef nonnull align 8 dereferenceable(8) %5, i64 noundef %11, i64 noundef 8)
  %13 = getelementptr inbounds i8, ptr %0, i64 624
  %14 = load i64, ptr %13, align 8, !tbaa !9
  %15 = call noundef ptr @_ZN4Simd8AllocateIhEEPT_RPhmm(ptr noundef nonnull align 8 dereferenceable(8) %5, i64 noundef %14, i64 noundef 8)
  %16 = getelementptr inbounds i8, ptr %0, i64 640
  %17 = load i64, ptr %16, align 8, !tbaa !9
  %18 = call noundef ptr @_ZN4Simd8AllocateIiEEPT_RPhmm(ptr noundef nonnull align 8 dereferenceable(8) %5, i64 noundef %17, i64 noundef 8)
  %19 = getelementptr inbounds i8, ptr %0, i64 184
  %20 = load i64, ptr %19, align 8, !tbaa !11
  %.not = icmp eq i64 %20, 0
  br i1 %.not, label %._crit_edge100, label %.lr.ph99

.lr.ph99:                                         ; preds = %4
  %21 = getelementptr inbounds i8, ptr %0, i64 48
  %22 = getelementptr inbounds i8, ptr %0, i64 1160
  %23 = getelementptr inbounds i8, ptr %0, i64 56
  %24 = getelementptr inbounds i8, ptr %0, i64 1184
  %25 = getelementptr inbounds i8, ptr %0, i64 1208
  %26 = getelementptr inbounds i8, ptr %0, i64 1176
  %27 = getelementptr inbounds i8, ptr %0, i64 1200
  %28 = getelementptr inbounds i8, ptr %0, i64 24
  %29 = getelementptr inbounds i8, ptr %0, i64 568
  %30 = getelementptr inbounds i8, ptr %0, i64 1296
  %31 = getelementptr inbounds i8, ptr %0, i64 32
  %32 = getelementptr inbounds i8, ptr %0, i64 696
  %33 = getelementptr inbounds i8, ptr %0, i64 712
  %34 = getelementptr inbounds i8, ptr %0, i64 1224
  %35 = getelementptr inbounds i8, ptr %0, i64 192
  %36 = getelementptr inbounds i8, ptr %0, i64 1320
  %37 = getelementptr inbounds i8, ptr %0, i64 1008
  %38 = getelementptr inbounds i8, ptr %0, i64 1256
  %39 = getelementptr inbounds i8, ptr %0, i64 1056
  %40 = getelementptr inbounds i8, ptr %0, i64 1104
  %41 = getelementptr inbounds i8, ptr %0, i64 1240
  %42 = getelementptr inbounds i8, ptr %0, i64 768
  %43 = getelementptr inbounds i8, ptr %0, i64 784
  %44 = getelementptr inbounds i8, ptr %0, i64 976
  %45 = getelementptr inbounds i8, ptr %0, i64 1264
  %46 = getelementptr inbounds i8, ptr %0, i64 1024
  %47 = getelementptr inbounds i8, ptr %0, i64 1072
  %48 = getelementptr inbounds i8, ptr %0, i64 1120
  %49 = getelementptr inbounds i8, ptr %0, i64 872
  %50 = getelementptr inbounds i8, ptr %0, i64 888
  %51 = getelementptr inbounds i8, ptr %0, i64 576
  %52 = getelementptr inbounds i8, ptr %0, i64 584
  %53 = getelementptr inbounds i8, ptr %0, i64 569
  %54 = load i64, ptr %21, align 8, !tbaa !19
  %.not101 = icmp eq i64 %54, 0
  br i1 %.not101, label %._crit_edge100, label %.lr.ph99.split

._crit_edge100:                                   ; preds = %._crit_edge94, %.lr.ph99, %4
  ret void

.lr.ph99.splitthread-pre-split:                   ; preds = %._crit_edge94
  %55 = load i64, ptr %52, align 8, !tbaa !20
  %56 = load i8, ptr %53, align 1, !tbaa !32, !range !33, !noundef !34
  %57 = trunc nuw i8 %56 to i1
  %58 = select i1 %57, i64 0, i64 2
  %59 = shl i64 %55, %58
  %60 = getelementptr inbounds i8, ptr %.08296, i64 %59
  %61 = load i64, ptr %51, align 8, !tbaa !35
  %62 = load i8, ptr %29, align 8, !tbaa !36, !range !33, !noundef !34
  %63 = trunc nuw i8 %62 to i1
  %64 = select i1 %63, i64 0, i64 2
  %65 = shl i64 %61, %64
  %66 = getelementptr inbounds i8, ptr %.097, i64 %65
  %.pr = load i64, ptr %21, align 8, !tbaa !19
  br label %.lr.ph99.split

.lr.ph99.split:                                   ; preds = %.lr.ph99, %.lr.ph99.splitthread-pre-split
  %67 = phi i64 [ %.pr, %.lr.ph99.splitthread-pre-split ], [ %54, %.lr.ph99 ]
  %68 = phi i64 [ %69, %.lr.ph99.splitthread-pre-split ], [ %20, %.lr.ph99 ]
  %.097 = phi ptr [ %66, %.lr.ph99.splitthread-pre-split ], [ %1, %.lr.ph99 ]
  %.08296 = phi ptr [ %60, %.lr.ph99.splitthread-pre-split ], [ %3, %.lr.ph99 ]
  %.08395 = phi i64 [ %70, %.lr.ph99.splitthread-pre-split ], [ 0, %.lr.ph99 ]
  %.not102 = icmp eq i64 %67, 0
  br i1 %.not102, label %._crit_edge94, label %.lr.ph93.preheader

.lr.ph93.preheader:                               ; preds = %.lr.ph99.split
  %.pre = load i64, ptr %22, align 8, !tbaa !37
  br label %.lr.ph93

._crit_edge94.loopexit:                           ; preds = %._crit_edge
  %.pre106 = load i64, ptr %19, align 8, !tbaa !11
  br label %._crit_edge94

._crit_edge94:                                    ; preds = %._crit_edge94.loopexit, %.lr.ph99.split
  %69 = phi i64 [ %.pre106, %._crit_edge94.loopexit ], [ %68, %.lr.ph99.split ]
  %70 = add nuw i64 %.08395, 1
  %71 = icmp ult i64 %70, %69
  br i1 %71, label %.lr.ph99.splitthread-pre-split, label %._crit_edge100, !llvm.loop !38

.lr.ph93:                                         ; preds = %.lr.ph93.preheader, %._crit_edge
  %72 = phi i64 [ %82, %._crit_edge ], [ %.pre, %.lr.ph93.preheader ]
  %.08691 = phi i64 [ %83, %._crit_edge ], [ 0, %.lr.ph93.preheader ]
  %73 = add i64 %72, %.08691
  %74 = call noundef i64 @_ZN4Simd3MinImEET_S1_S1_(i64 noundef %67, i64 noundef %73)
  %75 = sub i64 %74, %.08691
  %76 = load i64, ptr %23, align 8, !tbaa !41
  %.not103 = icmp eq i64 %76, 0
  br i1 %.not103, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph93
  %77 = getelementptr inbounds i8, ptr %.097, i64 %.08691
  %78 = getelementptr inbounds float, ptr %.097, i64 %.08691
  %79 = icmp eq i64 %74, %67
  %80 = icmp eq i64 %.08691, 0
  %81 = icmp eq i64 %75, %67
  %..v = select i1 %79, i64 1328, i64 1336
  %. = getelementptr inbounds i8, ptr %0, i64 %..v
  %.110.v = select i1 %79, i1 %81, i1 %80
  %.110 = zext i1 %.110.v to i32
  br label %85

._crit_edge:                                      ; preds = %108, %.lr.ph93
  %82 = load i64, ptr %22, align 8, !tbaa !37
  %83 = add i64 %82, %.08691
  %84 = icmp ult i64 %83, %67
  br i1 %84, label %.lr.ph93, label %._crit_edge94.loopexit, !llvm.loop !42

85:                                               ; preds = %.lr.ph, %108
  %86 = phi i64 [ %76, %.lr.ph ], [ %135, %108 ]
  %.08490 = phi i64 [ 0, %.lr.ph ], [ %95, %108 ]
  %.08589 = phi i64 [ 0, %.lr.ph ], [ %90, %108 ]
  %87 = load i64, ptr %24, align 8, !tbaa !9
  %88 = add i64 %87, %.08589
  %89 = load i64, ptr %25, align 8, !tbaa !9
  %90 = call noundef i64 @_ZN4Simd13RestrictRangeImEET_S1_S1_S1_(i64 noundef %88, i64 noundef %89, i64 noundef %86)
  %91 = load i64, ptr %26, align 8, !tbaa !9
  %92 = add i64 %91, %.08490
  %93 = load i64, ptr %27, align 8, !tbaa !9
  %94 = load i64, ptr %28, align 8, !tbaa !43
  %95 = call noundef i64 @_ZN4Simd13RestrictRangeImEET_S1_S1_S1_(i64 noundef %92, i64 noundef %93, i64 noundef %94)
  %96 = load i8, ptr %29, align 8, !tbaa !36, !range !33, !noundef !34
  %97 = trunc nuw i8 %96 to i1
  br i1 %97, label %98, label %108

98:                                               ; preds = %85
  %99 = load ptr, ptr %30, align 8, !tbaa !44
  %100 = load i64, ptr %31, align 8, !tbaa !45
  %101 = load i64, ptr %6, align 8, !tbaa !46
  %102 = load ptr, ptr %32, align 8, !tbaa !47
  %103 = getelementptr inbounds float, ptr %102, i64 %.08691
  %104 = load ptr, ptr %33, align 8, !tbaa !49
  %105 = getelementptr inbounds float, ptr %104, i64 %.08691
  %106 = load i64, ptr %34, align 8, !tbaa !9
  %107 = load i32, ptr %35, align 8, !tbaa !50
  call void %99(ptr noundef %77, i64 noundef %75, i64 noundef %.08490, i64 noundef %95, i64 noundef %100, i64 noundef %101, ptr noundef %103, ptr noundef %105, ptr noundef %12, i64 noundef %106, i32 noundef %107)
  %.pre105 = load i8, ptr %29, align 8, !tbaa !36, !range !33
  %.pre107 = trunc nuw i8 %.pre105 to i1
  br label %108

108:                                              ; preds = %98, %85
  %.pre-phi = phi i1 [ %.pre107, %98 ], [ false, %85 ]
  %109 = load ptr, ptr %36, align 8, !tbaa !51
  %110 = select i1 %.pre-phi, ptr %12, ptr %78
  %111 = load ptr, ptr %37, align 8, !tbaa !52
  %112 = load i64, ptr %38, align 8, !tbaa !9
  %113 = mul i64 %112, %.08691
  %114 = getelementptr inbounds float, ptr %111, i64 %113
  %115 = load ptr, ptr %39, align 8, !tbaa !53
  %116 = getelementptr inbounds float, ptr %115, i64 %.08691
  %117 = load ptr, ptr %40, align 8, !tbaa !53
  %118 = load i64, ptr %41, align 8, !tbaa !9
  %119 = mul i64 %118, %.08691
  %120 = getelementptr inbounds float, ptr %117, i64 %119
  %121 = load ptr, ptr %42, align 8, !tbaa !54
  %122 = getelementptr inbounds float, ptr %121, i64 %.08691
  %123 = load ptr, ptr %43, align 8, !tbaa !55
  %124 = getelementptr inbounds float, ptr %123, i64 %.08691
  call void %109(ptr noundef %110, ptr noundef nonnull align 8 dereferenceable(180) %6, ptr noundef nonnull align 8 dereferenceable(144) %8, i64 noundef %75, i64 noundef %.08589, i64 noundef %90, ptr noundef %114, ptr noundef %116, ptr noundef %120, ptr noundef %122, ptr noundef %124, ptr noundef %15)
  %125 = load ptr, ptr %44, align 8, !tbaa !56
  %126 = load i64, ptr %45, align 8, !tbaa !9
  %127 = mul i64 %126, %.08691
  %128 = getelementptr inbounds i8, ptr %125, i64 %127
  %129 = load ptr, ptr %46, align 8, !tbaa !53
  %130 = load ptr, ptr %47, align 8, !tbaa !53
  %131 = load ptr, ptr %48, align 8, !tbaa !53
  %132 = load ptr, ptr %49, align 8, !tbaa !54
  %133 = load ptr, ptr %50, align 8, !tbaa !55
  %134 = load ptr, ptr %., align 8, !tbaa !5
  call void %134(ptr noundef %15, ptr noundef nonnull align 8 dereferenceable(180) %7, ptr noundef nonnull align 8 dereferenceable(144) %8, i64 noundef %75, i64 noundef %.08589, i64 noundef %90, ptr noundef %128, ptr noundef %129, ptr noundef %130, ptr noundef %131, ptr noundef %132, ptr noundef %133, ptr noundef %18, ptr noundef %.08296, i32 noundef %.110)
  %135 = load i64, ptr %23, align 8, !tbaa !41
  %136 = icmp ult i64 %90, %135
  br i1 %136, label %85, label %._crit_edge, !llvm.loop !58
}

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

!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 168}
!12 = !{!"_ZTSN4Simd9ConvParamE", !13, i64 0, !17, i64 160, !10, i64 168, !18, i64 176}
!13 = !{!"_ZTS25SimdConvolutionParameters", !10, i64 0, !10, i64 8, !10, i64 16, !14, i64 24, !15, i64 28, !10, i64 32, !10, i64 40, !10, i64 48, !14, i64 56, !15, 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, !16, i64 152}
!14 = !{!"_ZTS18SimdTensorDataType", !7, i64 0}
!15 = !{!"_ZTS20SimdTensorFormatType", !7, i64 0}
!16 = !{!"_ZTS29SimdConvolutionActivationType", !7, i64 0}
!17 = !{!"_ZTS8SimdBool", !7, i64 0}
!18 = !{!"_ZTS26SimdSynetCompatibilityType", !7, i64 0}
!19 = !{!13, !10, i64 32}
!20 = !{!21, !10, i64 584}
!21 = !{!"_ZTSN4Simd4Base24SynetMergedConvolution8iE", !22, i64 0, !24, i64 8, !25, i64 568, !25, i64 569, !25, i64 570, !25, i64 571, !10, i64 576, !10, i64 584, !7, i64 592, !7, i64 608, !7, i64 648, !26, i64 960, !7, i64 976, !27, i64 1008, !7, i64 1024, !7, i64 1056, !7, i64 1104, !28, i64 1152, !6, i64 1296, !6, i64 1304, !6, i64 1312, !6, i64 1320, !7, i64 1328, !30, i64 1344}
!22 = !{!"_ZTSN4Simd24SynetMergedConvolution8iE", !23, i64 0}
!23 = !{!"_ZTSN4Simd9DeletableE"}
!24 = !{!"_ZTSN4Simd15MergConvParam8iE", !10, i64 0, !7, i64 8}
!25 = !{!"bool", !7, i64 0}
!26 = !{!"_ZTSN4Simd5ArrayIhEE", !6, i64 0, !10, i64 8}
!27 = !{!"_ZTSN4Simd5ArrayIfEE", !6, i64 0, !10, i64 8}
!28 = !{!"_ZTSN4Simd4Base24SynetMergedConvolution8i8AlgParamE", !10, i64 0, !10, i64 8, !7, i64 16, !7, i64 40, !7, i64 64, !7, i64 88, !7, i64 104, !10, i64 128, !29, i64 136, !29, i64 140}
!29 = !{!"int", !7, i64 0}
!30 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !31, i64 0, !10, i64 8, !7, i64 16}
!31 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!32 = !{!21, !25, i64 569}
!33 = !{i8 0, i8 2}
!34 = !{}
!35 = !{!21, !10, i64 576}
!36 = !{!21, !25, i64 568}
!37 = !{!28, !10, i64 8}
!38 = distinct !{!38, !39, !40}
!39 = !{!"llvm.loop.mustprogress"}
!40 = !{!"llvm.loop.unswitch.partial.disable"}
!41 = !{!13, !10, i64 40}
!42 = distinct !{!42, !39}
!43 = !{!13, !10, i64 8}
!44 = !{!21, !6, i64 1296}
!45 = !{!13, !10, i64 16}
!46 = !{!13, !10, i64 0}
!47 = !{!48, !6, i64 48}
!48 = !{!"_ZTSN4Simd8CvtParamE", !26, i64 0, !27, i64 16, !27, i64 32, !27, i64 48, !27, i64 64, !25, i64 80, !29, i64 84, !29, i64 88, !29, i64 92, !29, i64 96}
!49 = !{!48, !6, i64 64}
!50 = !{!12, !18, i64 176}
!51 = !{!21, !6, i64 1320}
!52 = !{!21, !6, i64 1008}
!53 = !{!27, !6, i64 0}
!54 = !{!48, !6, i64 16}
!55 = !{!48, !6, i64 32}
!56 = !{!57, !6, i64 0}
!57 = !{!"_ZTSN4Simd5ArrayIaEE", !6, i64 0, !10, i64 8}
!58 = distinct !{!58, !39}


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