; 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
define dso_local void @_ZN4Simd4Base24SynetMergedConvolution8i7ForwardEPKhPhS4_(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 ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i64, align 8
  %23 = alloca ptr, 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
  %24 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %25 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 1
  store ptr %25, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %26 = load ptr, ptr %9, align 8, !tbaa !5
  %27 = getelementptr inbounds %"struct.Simd::MergConvParam8i", ptr %26, i32 0, i32 1
  %28 = getelementptr inbounds [3 x %"struct.Simd::ConvParam"], ptr %27, i64 0, i64 0
  store ptr %28, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %29 = load ptr, ptr %9, align 8, !tbaa !5
  %30 = getelementptr inbounds %"struct.Simd::MergConvParam8i", ptr %29, i32 0, i32 1
  %31 = getelementptr inbounds [3 x %"struct.Simd::ConvParam"], ptr %30, i64 0, i64 1
  store ptr %31, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %32 = load ptr, ptr %9, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.Simd::MergConvParam8i", ptr %32, i32 0, i32 1
  %34 = getelementptr inbounds [3 x %"struct.Simd::ConvParam"], ptr %33, i64 0, i64 2
  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) %24, ptr noundef %35)
  store ptr %36, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %37 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, 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) #3
  %41 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 9
  %42 = getelementptr inbounds [5 x i64], ptr %41, i64 0, i64 1
  %43 = load i64, ptr %42, align 8, !tbaa !9
  %44 = call noundef ptr @_ZN4Simd8AllocateIfEEPT_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) #3
  %45 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 9
  %46 = getelementptr inbounds [5 x i64], ptr %45, i64 0, i64 2
  %47 = load i64, ptr %46, align 8, !tbaa !9
  %48 = call noundef ptr @_ZN4Simd8AllocateIhEEPT_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) #3
  %49 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 9
  %50 = getelementptr inbounds [5 x i64], ptr %49, i64 0, i64 3
  %51 = load i64, ptr %50, align 8, !tbaa !9
  %52 = call noundef ptr @_ZN4Simd8AllocateIhEEPT_RPhmm(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %51, i64 noundef 8)
  store ptr %52, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  %53 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 9
  %54 = getelementptr inbounds [5 x i64], ptr %53, i64 0, i64 4
  %55 = load i64, ptr %54, align 8, !tbaa !9
  %56 = call noundef ptr @_ZN4Simd8AllocateIiEEPT_RPhmm(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %55, i64 noundef 8)
  store ptr %56, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  %57 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 2
  %58 = load i8, ptr %57, align 8, !tbaa !11, !range !23, !noundef !24
  %59 = trunc i8 %58 to i1
  br i1 %59, label %60, label %69

60:                                               ; preds = %4
  %61 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 4
  %62 = load i8, ptr %61, align 2, !tbaa !25, !range !23, !noundef !24
  %63 = trunc i8 %62 to i1
  br i1 %63, label %64, label %66

64:                                               ; preds = %60
  %65 = load ptr, ptr %13, align 8, !tbaa !5
  br label %67

66:                                               ; preds = %60
  br label %67

67:                                               ; preds = %66, %64
  %68 = phi ptr [ %65, %64 ], [ null, %66 ]
  br label %71

69:                                               ; preds = %4
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  br label %71

71:                                               ; preds = %69, %67
  %72 = phi ptr [ %68, %67 ], [ %70, %69 ]
  store ptr %72, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  %73 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 2
  %74 = load i8, ptr %73, align 8, !tbaa !11, !range !23, !noundef !24
  %75 = trunc i8 %74 to i1
  br i1 %75, label %76, label %78

76:                                               ; preds = %71
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  br label %87

78:                                               ; preds = %71
  %79 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 4
  %80 = load i8, ptr %79, align 2, !tbaa !25, !range !23, !noundef !24
  %81 = trunc i8 %80 to i1
  br i1 %81, label %82, label %83

82:                                               ; preds = %78
  br label %85

83:                                               ; preds = %78
  %84 = load ptr, ptr %15, align 8, !tbaa !5
  br label %85

85:                                               ; preds = %83, %82
  %86 = phi ptr [ null, %82 ], [ %84, %83 ]
  br label %87

87:                                               ; preds = %85, %76
  %88 = phi ptr [ %77, %76 ], [ %86, %85 ]
  store ptr %88, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  %89 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 3
  %90 = load i8, ptr %89, align 1, !tbaa !26, !range !23, !noundef !24
  %91 = trunc i8 %90 to i1
  br i1 %91, label %92, label %94

92:                                               ; preds = %87
  %93 = load ptr, ptr %14, align 8, !tbaa !5
  br label %96

94:                                               ; preds = %87
  %95 = load ptr, ptr %8, align 8, !tbaa !5
  br label %96

96:                                               ; preds = %94, %92
  %97 = phi ptr [ %93, %92 ], [ %95, %94 ]
  store ptr %97, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  %98 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 3
  %99 = load i8, ptr %98, align 1, !tbaa !26, !range !23, !noundef !24
  %100 = trunc i8 %99 to i1
  br i1 %100, label %101, label %103

101:                                              ; preds = %96
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  br label %104

103:                                              ; preds = %96
  br label %104

104:                                              ; preds = %103, %101
  %105 = phi ptr [ %102, %101 ], [ null, %103 ]
  store ptr %105, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  store i64 0, ptr %22, align 8, !tbaa !9
  br label %106

106:                                              ; preds = %375, %104
  %107 = load i64, ptr %22, align 8, !tbaa !9
  %108 = load ptr, ptr %10, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.Simd::ConvParam", ptr %108, i32 0, i32 3
  %110 = load i64, ptr %109, align 8, !tbaa !27
  %111 = icmp ult i64 %107, %110
  br i1 %111, label %113, label %112

112:                                              ; preds = %106
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  br label %378

113:                                              ; preds = %106
  %114 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 4
  %115 = load i8, ptr %114, align 2, !tbaa !25, !range !23, !noundef !24
  %116 = trunc i8 %115 to i1
  br i1 %116, label %117, label %214

117:                                              ; preds = %113
  %118 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 2
  %119 = load i8, ptr %118, align 8, !tbaa !11, !range !23, !noundef !24
  %120 = trunc i8 %119 to i1
  br i1 %120, label %121, label %155

121:                                              ; preds = %117
  %122 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 18
  %123 = load ptr, ptr %122, align 8, !tbaa !35
  %124 = load ptr, ptr %19, align 8, !tbaa !5
  %125 = load ptr, ptr %10, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %125, i32 0, i32 0
  %127 = load i64, ptr %126, align 8, !tbaa !36
  %128 = load ptr, ptr %10, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %128, i32 0, i32 1
  %130 = load i64, ptr %129, align 8, !tbaa !37
  %131 = load ptr, ptr %10, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %131, i32 0, i32 2
  %133 = load i64, ptr %132, align 8, !tbaa !38
  %134 = load ptr, ptr %10, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %134, i32 0, i32 0
  %136 = load i64, ptr %135, align 8, !tbaa !36
  %137 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 10
  %138 = getelementptr inbounds [3 x %"struct.Simd::CvtParam"], ptr %137, i64 0, i64 0
  %139 = getelementptr inbounds %"struct.Simd::CvtParam", ptr %138, i32 0, i32 3
  %140 = getelementptr inbounds %"struct.Simd::Array.0", ptr %139, i32 0, i32 0
  %141 = load ptr, ptr %140, align 8, !tbaa !39
  %142 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 10
  %143 = getelementptr inbounds [3 x %"struct.Simd::CvtParam"], ptr %142, i64 0, i64 0
  %144 = getelementptr inbounds %"struct.Simd::CvtParam", ptr %143, i32 0, i32 4
  %145 = getelementptr inbounds %"struct.Simd::Array.0", ptr %144, i32 0, i32 0
  %146 = load ptr, ptr %145, align 8, !tbaa !41
  %147 = load ptr, ptr %18, align 8, !tbaa !5
  %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 !42
  call void %123(ptr noundef %124, i64 noundef %127, i64 noundef 0, i64 noundef %130, i64 noundef %133, i64 noundef %136, ptr noundef %141, ptr noundef %146, ptr noundef %147, i64 noundef 0, i32 noundef %150)
  %151 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 6
  %152 = load i64, ptr %151, align 8, !tbaa !43
  %153 = load ptr, ptr %19, align 8, !tbaa !5
  %154 = getelementptr inbounds i8, ptr %153, i64 %152
  store ptr %154, ptr %19, align 8, !tbaa !5
  br label %155

155:                                              ; preds = %121, %117
  %156 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 21
  %157 = load ptr, ptr %156, align 8, !tbaa !44
  %158 = load ptr, ptr %18, align 8, !tbaa !5
  %159 = load ptr, ptr %10, align 8, !tbaa !5
  %160 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 17
  %161 = load ptr, ptr %10, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %161, i32 0, i32 6
  %163 = load i64, ptr %162, align 8, !tbaa !45
  %164 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 13
  %165 = getelementptr inbounds %"struct.Simd::Array.0", ptr %164, i32 0, i32 0
  %166 = load ptr, ptr %165, align 8, !tbaa !46
  %167 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 15
  %168 = getelementptr inbounds [3 x %"struct.Simd::Array.0"], ptr %167, i64 0, i64 0
  %169 = getelementptr inbounds %"struct.Simd::Array.0", ptr %168, i32 0, i32 0
  %170 = load ptr, ptr %169, align 8, !tbaa !47
  %171 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 16
  %172 = getelementptr inbounds [3 x %"struct.Simd::Array.0"], ptr %171, i64 0, i64 0
  %173 = getelementptr inbounds %"struct.Simd::Array.0", ptr %172, i32 0, i32 0
  %174 = load ptr, ptr %173, align 8, !tbaa !47
  %175 = load ptr, ptr %14, align 8, !tbaa !5
  call void %157(ptr noundef %158, ptr noundef nonnull align 8 dereferenceable(180) %159, ptr noundef nonnull align 8 dereferenceable(144) %160, i64 noundef 0, i64 noundef 0, i64 noundef %163, ptr noundef %166, ptr noundef %170, ptr noundef %174, ptr noundef null, ptr noundef null, ptr noundef %175)
  %176 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 2
  %177 = load i8, ptr %176, align 8, !tbaa !11, !range !23, !noundef !24
  %178 = trunc i8 %177 to i1
  br i1 %178, label %184, label %179

179:                                              ; preds = %155
  %180 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 6
  %181 = load i64, ptr %180, align 8, !tbaa !43
  %182 = load ptr, ptr %18, align 8, !tbaa !5
  %183 = getelementptr inbounds float, ptr %182, i64 %181
  store ptr %183, ptr %18, align 8, !tbaa !5
  br label %184

184:                                              ; preds = %179, %155
  %185 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 19
  %186 = load ptr, ptr %185, align 8, !tbaa !48
  %187 = load ptr, ptr %14, align 8, !tbaa !5
  %188 = load ptr, ptr %11, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %188, i32 0, i32 1
  %190 = load i64, ptr %189, align 8, !tbaa !37
  %191 = load ptr, ptr %11, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %191, i32 0, i32 2
  %193 = load i64, ptr %192, align 8, !tbaa !38
  %194 = load ptr, ptr %11, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %194, i32 0, i32 0
  %196 = load i64, ptr %195, align 8, !tbaa !36
  %197 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, 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 !49
  %202 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 10
  %203 = getelementptr inbounds [3 x %"struct.Simd::CvtParam"], ptr %202, i64 0, i64 1
  %204 = getelementptr inbounds %"struct.Simd::CvtParam", ptr %203, i32 0, i32 2
  %205 = getelementptr inbounds %"struct.Simd::Array.0", ptr %204, i32 0, i32 0
  %206 = load ptr, ptr %205, align 8, !tbaa !50
  %207 = load ptr, ptr %15, align 8, !tbaa !5
  %208 = load ptr, ptr %10, align 8, !tbaa !5
  %209 = getelementptr inbounds %"struct.Simd::ConvParam", ptr %208, i32 0, i32 4
  %210 = load i32, ptr %209, align 8, !tbaa !42
  call void %186(ptr noundef %187, i64 noundef 0, i64 noundef %190, i64 noundef %193, i64 noundef %196, ptr noundef %201, ptr noundef %206, ptr noundef %207, i64 noundef 0, i32 noundef %210)
  %211 = load ptr, ptr %15, align 8, !tbaa !5
  %212 = load ptr, ptr %17, align 8, !tbaa !5
  %213 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN4Simd4Base24SynetMergedConvolution8i19DirectConvolution8iEPKhmmPhPiPf(ptr noundef nonnull align 8 dereferenceable(1376) %24, ptr noundef %211, i64 noundef 1, i64 noundef 0, ptr noundef null, ptr noundef %212, ptr noundef %213)
  br label %327

214:                                              ; preds = %113
  %215 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 2
  %216 = load i8, ptr %215, align 8, !tbaa !11, !range !23, !noundef !24
  %217 = trunc i8 %216 to i1
  br i1 %217, label %249, label %218

218:                                              ; preds = %214
  %219 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 19
  %220 = load ptr, ptr %219, align 8, !tbaa !48
  %221 = load ptr, ptr %18, align 8, !tbaa !5
  %222 = load ptr, ptr %10, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %222, i32 0, i32 1
  %224 = load i64, ptr %223, align 8, !tbaa !37
  %225 = load ptr, ptr %10, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %225, i32 0, i32 2
  %227 = load i64, ptr %226, align 8, !tbaa !38
  %228 = load ptr, ptr %10, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %228, i32 0, i32 0
  %230 = load i64, ptr %229, align 8, !tbaa !36
  %231 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 10
  %232 = getelementptr inbounds [3 x %"struct.Simd::CvtParam"], ptr %231, i64 0, i64 0
  %233 = getelementptr inbounds %"struct.Simd::CvtParam", ptr %232, i32 0, i32 1
  %234 = getelementptr inbounds %"struct.Simd::Array.0", ptr %233, i32 0, i32 0
  %235 = load ptr, ptr %234, align 8, !tbaa !49
  %236 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 10
  %237 = getelementptr inbounds [3 x %"struct.Simd::CvtParam"], ptr %236, i64 0, i64 0
  %238 = getelementptr inbounds %"struct.Simd::CvtParam", ptr %237, i32 0, i32 2
  %239 = getelementptr inbounds %"struct.Simd::Array.0", ptr %238, i32 0, i32 0
  %240 = load ptr, ptr %239, align 8, !tbaa !50
  %241 = load ptr, ptr %19, align 8, !tbaa !5
  %242 = load ptr, ptr %10, align 8, !tbaa !5
  %243 = getelementptr inbounds %"struct.Simd::ConvParam", ptr %242, i32 0, i32 4
  %244 = load i32, ptr %243, align 8, !tbaa !42
  call void %220(ptr noundef %221, i64 noundef 0, i64 noundef %224, i64 noundef %227, i64 noundef %230, ptr noundef %235, ptr noundef %240, ptr noundef %241, i64 noundef 0, i32 noundef %244)
  %245 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 6
  %246 = load i64, ptr %245, align 8, !tbaa !43
  %247 = load ptr, ptr %18, align 8, !tbaa !5
  %248 = getelementptr inbounds float, ptr %247, i64 %246
  store ptr %248, ptr %18, align 8, !tbaa !5
  br label %249

249:                                              ; preds = %218, %214
  %250 = load ptr, ptr %19, align 8, !tbaa !5
  %251 = load ptr, ptr %16, align 8, !tbaa !5
  %252 = load ptr, ptr %17, align 8, !tbaa !5
  %253 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN4Simd4Base24SynetMergedConvolution8i19DirectConvolution8iEPKhmmPhPiPf(ptr noundef nonnull align 8 dereferenceable(1376) %24, ptr noundef %250, i64 noundef 0, i64 noundef 0, ptr noundef %251, ptr noundef %252, ptr noundef %253)
  %254 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 2
  %255 = load i8, ptr %254, align 8, !tbaa !11, !range !23, !noundef !24
  %256 = trunc i8 %255 to i1
  br i1 %256, label %257, label %262

257:                                              ; preds = %249
  %258 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 6
  %259 = load i64, ptr %258, align 8, !tbaa !43
  %260 = load ptr, ptr %19, align 8, !tbaa !5
  %261 = getelementptr inbounds i8, ptr %260, i64 %259
  store ptr %261, ptr %19, align 8, !tbaa !5
  br label %262

262:                                              ; preds = %257, %249
  %263 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 21
  %264 = load ptr, ptr %263, align 8, !tbaa !44
  %265 = load ptr, ptr %13, align 8, !tbaa !5
  %266 = load ptr, ptr %11, align 8, !tbaa !5
  %267 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 17
  %268 = load ptr, ptr %11, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %268, i32 0, i32 6
  %270 = load i64, ptr %269, align 8, !tbaa !45
  %271 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 13
  %272 = getelementptr inbounds %"struct.Simd::Array.0", ptr %271, i32 0, i32 0
  %273 = load ptr, ptr %272, align 8, !tbaa !46
  %274 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 15
  %275 = getelementptr inbounds [3 x %"struct.Simd::Array.0"], ptr %274, i64 0, i64 1
  %276 = getelementptr inbounds %"struct.Simd::Array.0", ptr %275, i32 0, i32 0
  %277 = load ptr, ptr %276, align 8, !tbaa !47
  %278 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 16
  %279 = getelementptr inbounds [3 x %"struct.Simd::Array.0"], ptr %278, i64 0, i64 1
  %280 = getelementptr inbounds %"struct.Simd::Array.0", ptr %279, i32 0, i32 0
  %281 = load ptr, ptr %280, align 8, !tbaa !47
  %282 = load ptr, ptr %9, align 8, !tbaa !5
  %283 = getelementptr inbounds %"struct.Simd::MergConvParam8i", ptr %282, i32 0, i32 0
  %284 = load i64, ptr %283, align 8, !tbaa !51
  %285 = icmp eq i64 %284, 3
  br i1 %285, label %286, label %288

286:                                              ; preds = %262
  %287 = load ptr, ptr %14, align 8, !tbaa !5
  br label %290

288:                                              ; preds = %262
  %289 = load ptr, ptr %20, align 8, !tbaa !5
  br label %290

290:                                              ; preds = %288, %286
  %291 = phi ptr [ %287, %286 ], [ %289, %288 ]
  call void %264(ptr noundef %265, ptr noundef nonnull align 8 dereferenceable(180) %266, ptr noundef nonnull align 8 dereferenceable(144) %267, i64 noundef 0, i64 noundef 0, i64 noundef %270, ptr noundef %273, ptr noundef %277, ptr noundef %281, ptr noundef null, ptr noundef null, ptr noundef %291)
  %292 = load ptr, ptr %9, align 8, !tbaa !5
  %293 = getelementptr inbounds %"struct.Simd::MergConvParam8i", ptr %292, i32 0, i32 0
  %294 = load i64, ptr %293, align 8, !tbaa !51
  %295 = icmp eq i64 %294, 3
  br i1 %295, label %296, label %326

296:                                              ; preds = %290
  %297 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 19
  %298 = load ptr, ptr %297, align 8, !tbaa !48
  %299 = load ptr, ptr %14, align 8, !tbaa !5
  %300 = load ptr, ptr %12, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %300, i32 0, i32 1
  %302 = load i64, ptr %301, align 8, !tbaa !37
  %303 = load ptr, ptr %12, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %303, i32 0, i32 2
  %305 = load i64, ptr %304, align 8, !tbaa !38
  %306 = load ptr, ptr %12, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %306, i32 0, i32 0
  %308 = load i64, ptr %307, align 8, !tbaa !36
  %309 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 10
  %310 = getelementptr inbounds [3 x %"struct.Simd::CvtParam"], ptr %309, i64 0, i64 1
  %311 = getelementptr inbounds %"struct.Simd::CvtParam", ptr %310, i32 0, i32 1
  %312 = getelementptr inbounds %"struct.Simd::Array.0", ptr %311, i32 0, i32 0
  %313 = load ptr, ptr %312, align 8, !tbaa !49
  %314 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 10
  %315 = getelementptr inbounds [3 x %"struct.Simd::CvtParam"], ptr %314, i64 0, i64 1
  %316 = getelementptr inbounds %"struct.Simd::CvtParam", ptr %315, i32 0, i32 2
  %317 = getelementptr inbounds %"struct.Simd::Array.0", ptr %316, i32 0, i32 0
  %318 = load ptr, ptr %317, align 8, !tbaa !50
  %319 = load ptr, ptr %16, align 8, !tbaa !5
  %320 = load ptr, ptr %10, align 8, !tbaa !5
  %321 = getelementptr inbounds %"struct.Simd::ConvParam", ptr %320, i32 0, i32 4
  %322 = load i32, ptr %321, align 8, !tbaa !42
  call void %298(ptr noundef %299, i64 noundef 0, i64 noundef %302, i64 noundef %305, i64 noundef %308, ptr noundef %313, ptr noundef %318, ptr noundef %319, i64 noundef 0, i32 noundef %322)
  %323 = load ptr, ptr %16, align 8, !tbaa !5
  %324 = load ptr, ptr %17, align 8, !tbaa !5
  %325 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN4Simd4Base24SynetMergedConvolution8i19DirectConvolution8iEPKhmmPhPiPf(ptr noundef nonnull align 8 dereferenceable(1376) %24, ptr noundef %323, i64 noundef 2, i64 noundef 1, ptr noundef null, ptr noundef %324, ptr noundef %325)
  br label %326

326:                                              ; preds = %296, %290
  br label %327

327:                                              ; preds = %326, %184
  %328 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 3
  %329 = load i8, ptr %328, align 1, !tbaa !26, !range !23, !noundef !24
  %330 = trunc i8 %329 to i1
  br i1 %330, label %331, label %369

331:                                              ; preds = %327
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  %332 = load ptr, ptr %9, align 8, !tbaa !5
  %333 = getelementptr inbounds %"struct.Simd::MergConvParam8i", ptr %332, i32 0, i32 1
  %334 = load ptr, ptr %9, align 8, !tbaa !5
  %335 = getelementptr inbounds %"struct.Simd::MergConvParam8i", ptr %334, i32 0, i32 0
  %336 = load i64, ptr %335, align 8, !tbaa !51
  %337 = sub i64 %336, 1
  %338 = getelementptr inbounds [3 x %"struct.Simd::ConvParam"], ptr %333, i64 0, i64 %337
  store ptr %338, ptr %23, align 8, !tbaa !5
  %339 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 19
  %340 = load ptr, ptr %339, align 8, !tbaa !48
  %341 = load ptr, ptr %20, align 8, !tbaa !5
  %342 = load ptr, ptr %23, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %342, i32 0, i32 6
  %344 = load i64, ptr %343, align 8, !tbaa !45
  %345 = load ptr, ptr %23, align 8, !tbaa !5
  %346 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %345, i32 0, i32 7
  %347 = load i64, ptr %346, align 8, !tbaa !52
  %348 = load ptr, ptr %23, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %348, i32 0, i32 5
  %350 = load i64, ptr %349, align 8, !tbaa !53
  %351 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 10
  %352 = getelementptr inbounds [3 x %"struct.Simd::CvtParam"], ptr %351, i64 0, i64 2
  %353 = getelementptr inbounds %"struct.Simd::CvtParam", ptr %352, i32 0, i32 1
  %354 = getelementptr inbounds %"struct.Simd::Array.0", ptr %353, i32 0, i32 0
  %355 = load ptr, ptr %354, align 8, !tbaa !49
  %356 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 10
  %357 = getelementptr inbounds [3 x %"struct.Simd::CvtParam"], ptr %356, i64 0, i64 2
  %358 = getelementptr inbounds %"struct.Simd::CvtParam", ptr %357, i32 0, i32 2
  %359 = getelementptr inbounds %"struct.Simd::Array.0", ptr %358, i32 0, i32 0
  %360 = load ptr, ptr %359, align 8, !tbaa !50
  %361 = load ptr, ptr %21, align 8, !tbaa !5
  %362 = load ptr, ptr %10, align 8, !tbaa !5
  %363 = getelementptr inbounds %"struct.Simd::ConvParam", ptr %362, i32 0, i32 4
  %364 = load i32, ptr %363, align 8, !tbaa !42
  call void %340(ptr noundef %341, i64 noundef 0, i64 noundef %344, i64 noundef %347, i64 noundef %350, ptr noundef %355, ptr noundef %360, ptr noundef %361, i64 noundef 0, i32 noundef %364)
  %365 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 7
  %366 = load i64, ptr %365, align 8, !tbaa !54
  %367 = load ptr, ptr %21, align 8, !tbaa !5
  %368 = getelementptr inbounds i8, ptr %367, i64 %366
  store ptr %368, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  br label %374

369:                                              ; preds = %327
  %370 = getelementptr inbounds %"class.Simd::Base::SynetMergedConvolution8i", ptr %24, i32 0, i32 7
  %371 = load i64, ptr %370, align 8, !tbaa !54
  %372 = load ptr, ptr %20, align 8, !tbaa !5
  %373 = getelementptr inbounds float, ptr %372, i64 %371
  store ptr %373, ptr %20, align 8, !tbaa !5
  br label %374

374:                                              ; preds = %369, %331
  br label %375

375:                                              ; preds = %374
  %376 = load i64, ptr %22, align 8, !tbaa !9
  %377 = add i64 %376, 1
  store i64 %377, ptr %22, align 8, !tbaa !9
  br label %106, !llvm.loop !55

378:                                              ; preds = %112
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  ret void
}

; 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: mustprogress uwtable
declare dso_local void @_ZN4Simd4Base24SynetMergedConvolution8i19DirectConvolution8iEPKhmmPhPiPf(ptr noundef nonnull align 8 dereferenceable(1376), ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1 align 2

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


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

%"struct.Simd::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 }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base24SynetMergedConvolution8i7ForwardEPKhPhS4_(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 8
  %7 = getelementptr inbounds i8, ptr %0, i64 16
  %8 = getelementptr inbounds i8, ptr %0, i64 200
  %9 = getelementptr inbounds i8, ptr %0, i64 384
  %10 = tail call noundef ptr @_ZN4Simd4Base24SynetMergedConvolution8i9GetBufferEPh(ptr noundef nonnull align 8 dereferenceable(1376) %0, ptr noundef %2)
  store ptr %10, ptr %5, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %0, i64 608
  %12 = load i64, ptr %11, align 8, !tbaa !9
  %13 = call noundef ptr @_ZN4Simd8AllocateIfEEPT_RPhmm(ptr noundef nonnull align 8 dereferenceable(8) %5, i64 noundef %12, i64 noundef 8)
  %14 = getelementptr inbounds i8, ptr %0, i64 616
  %15 = load i64, ptr %14, align 8, !tbaa !9
  %16 = call noundef ptr @_ZN4Simd8AllocateIfEEPT_RPhmm(ptr noundef nonnull align 8 dereferenceable(8) %5, i64 noundef %15, i64 noundef 8)
  %17 = getelementptr inbounds i8, ptr %0, i64 624
  %18 = load i64, ptr %17, align 8, !tbaa !9
  %19 = call noundef ptr @_ZN4Simd8AllocateIhEEPT_RPhmm(ptr noundef nonnull align 8 dereferenceable(8) %5, i64 noundef %18, i64 noundef 8)
  %20 = getelementptr inbounds i8, ptr %0, i64 632
  %21 = load i64, ptr %20, align 8, !tbaa !9
  %22 = call noundef ptr @_ZN4Simd8AllocateIhEEPT_RPhmm(ptr noundef nonnull align 8 dereferenceable(8) %5, i64 noundef %21, i64 noundef 8)
  %23 = getelementptr inbounds i8, ptr %0, i64 640
  %24 = load i64, ptr %23, align 8, !tbaa !9
  %25 = call noundef ptr @_ZN4Simd8AllocateIiEEPT_RPhmm(ptr noundef nonnull align 8 dereferenceable(8) %5, i64 noundef %24, i64 noundef 8)
  %26 = getelementptr inbounds i8, ptr %0, i64 568
  %27 = getelementptr inbounds i8, ptr %0, i64 570
  %28 = getelementptr inbounds i8, ptr %0, i64 569
  %29 = getelementptr inbounds i8, ptr %0, i64 184
  %30 = load i64, ptr %29, align 8, !tbaa !11
  %.not = icmp eq i64 %30, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %4
  %31 = load i8, ptr %28, align 1, !tbaa !19, !range !31, !noundef !32
  %32 = trunc nuw i8 %31 to i1
  %33 = select i1 %32, ptr %3, ptr null
  %34 = select i1 %32, ptr %16, ptr %3
  %35 = load i8, ptr %26, align 8, !tbaa !33, !range !31, !noundef !32
  %36 = trunc nuw i8 %35 to i1
  %37 = load i8, ptr %27, align 2, !range !31
  %38 = trunc nuw i8 %37 to i1
  %39 = select i1 %38, ptr null, ptr %19
  %40 = select i1 %36, ptr %1, ptr %39
  %41 = select i1 %38, ptr %13, ptr null
  %42 = select i1 %36, ptr %41, ptr %1
  %43 = getelementptr inbounds i8, ptr %0, i64 1304
  %44 = getelementptr inbounds i8, ptr %0, i64 24
  %45 = getelementptr inbounds i8, ptr %0, i64 32
  %46 = getelementptr inbounds i8, ptr %0, i64 664
  %47 = getelementptr inbounds i8, ptr %0, i64 680
  %48 = getelementptr inbounds i8, ptr %0, i64 192
  %49 = getelementptr inbounds i8, ptr %0, i64 576
  %50 = getelementptr inbounds i8, ptr %0, i64 1320
  %51 = getelementptr inbounds i8, ptr %0, i64 1152
  %52 = getelementptr inbounds i8, ptr %0, i64 240
  %53 = getelementptr inbounds i8, ptr %0, i64 1008
  %54 = getelementptr inbounds i8, ptr %0, i64 1072
  %55 = getelementptr inbounds i8, ptr %0, i64 1120
  %56 = getelementptr inbounds i8, ptr %0, i64 392
  %57 = getelementptr inbounds i8, ptr %0, i64 400
  %58 = getelementptr inbounds i8, ptr %0, i64 768
  %59 = getelementptr inbounds i8, ptr %0, i64 784
  %60 = getelementptr inbounds i8, ptr %0, i64 1296
  %61 = getelementptr inbounds i8, ptr %0, i64 696
  %62 = getelementptr inbounds i8, ptr %0, i64 712
  %63 = getelementptr inbounds i8, ptr %0, i64 56
  %64 = getelementptr inbounds i8, ptr %0, i64 1056
  %65 = getelementptr inbounds i8, ptr %0, i64 1104
  %66 = getelementptr inbounds i8, ptr %0, i64 208
  %67 = getelementptr inbounds i8, ptr %0, i64 216
  %68 = getelementptr inbounds i8, ptr %0, i64 584
  %69 = getelementptr inbounds i8, ptr %0, i64 872
  %70 = getelementptr inbounds i8, ptr %0, i64 888
  br label %71

._crit_edge:                                      ; preds = %158, %4
  ret void

71:                                               ; preds = %.lr.ph, %158
  %.086 = phi ptr [ %42, %.lr.ph ], [ %.3, %158 ]
  %.07385 = phi i64 [ 0, %.lr.ph ], [ %159, %158 ]
  %.07484 = phi ptr [ %33, %.lr.ph ], [ %.175, %158 ]
  %.07683 = phi ptr [ %34, %.lr.ph ], [ %.177, %158 ]
  %.07882 = phi ptr [ %40, %.lr.ph ], [ %.381, %158 ]
  %72 = load i8, ptr %27, align 2, !tbaa !34, !range !31, !noundef !32
  %73 = trunc nuw i8 %72 to i1
  %74 = load i8, ptr %26, align 8, !tbaa !33, !range !31, !noundef !32
  %75 = trunc nuw i8 %74 to i1
  br i1 %73, label %76, label %103

76:                                               ; preds = %71
  br i1 %75, label %77, label %87

77:                                               ; preds = %76
  %78 = load ptr, ptr %60, align 8, !tbaa !35
  %79 = load i64, ptr %7, align 8, !tbaa !36
  %80 = load i64, ptr %44, align 8, !tbaa !37
  %81 = load i64, ptr %45, align 8, !tbaa !38
  %82 = load ptr, ptr %61, align 8, !tbaa !39
  %83 = load ptr, ptr %62, align 8, !tbaa !41
  %84 = load i32, ptr %48, align 8, !tbaa !42
  call void %78(ptr noundef %.07882, i64 noundef %79, i64 noundef 0, i64 noundef %80, i64 noundef %81, i64 noundef %79, ptr noundef %82, ptr noundef %83, ptr noundef %.086, i64 noundef 0, i32 noundef %84)
  %85 = load i64, ptr %49, align 8, !tbaa !43
  %86 = getelementptr inbounds i8, ptr %.07882, i64 %85
  br label %87

87:                                               ; preds = %77, %76
  %.179 = phi ptr [ %86, %77 ], [ %.07882, %76 ]
  %88 = load ptr, ptr %50, align 8, !tbaa !44
  %89 = load i64, ptr %63, align 8, !tbaa !45
  %90 = load ptr, ptr %53, align 8, !tbaa !46
  %91 = load ptr, ptr %64, align 8, !tbaa !47
  %92 = load ptr, ptr %65, align 8, !tbaa !47
  call void %88(ptr noundef %.086, ptr noundef nonnull align 8 dereferenceable(180) %7, ptr noundef nonnull align 8 dereferenceable(144) %51, i64 noundef 0, i64 noundef 0, i64 noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef null, ptr noundef null, ptr noundef %16)
  %93 = load i8, ptr %26, align 8, !tbaa !33, !range !31, !noundef !32
  %94 = trunc nuw i8 %93 to i1
  %95 = load i64, ptr %49, align 8
  %.1.idx = select i1 %94, i64 0, i64 %95
  %.1 = getelementptr inbounds float, ptr %.086, i64 %.1.idx
  %96 = load ptr, ptr %43, align 8, !tbaa !48
  %97 = load i64, ptr %66, align 8, !tbaa !37
  %98 = load i64, ptr %67, align 8, !tbaa !38
  %99 = load i64, ptr %8, align 8, !tbaa !36
  %100 = load ptr, ptr %58, align 8, !tbaa !49
  %101 = load ptr, ptr %59, align 8, !tbaa !50
  %102 = load i32, ptr %48, align 8, !tbaa !42
  call void %96(ptr noundef %16, i64 noundef 0, i64 noundef %97, i64 noundef %98, i64 noundef %99, ptr noundef %100, ptr noundef %101, ptr noundef %19, i64 noundef 0, i32 noundef %102)
  call void @_ZN4Simd4Base24SynetMergedConvolution8i19DirectConvolution8iEPKhmmPhPiPf(ptr noundef nonnull align 8 dereferenceable(1376) %0, ptr noundef %19, i64 noundef 1, i64 noundef 0, ptr noundef null, ptr noundef %25, ptr noundef %.07683)
  br label %136

103:                                              ; preds = %71
  br i1 %75, label %114, label %104

104:                                              ; preds = %103
  %105 = load ptr, ptr %43, align 8, !tbaa !48
  %106 = load i64, ptr %44, align 8, !tbaa !37
  %107 = load i64, ptr %45, align 8, !tbaa !38
  %108 = load i64, ptr %7, align 8, !tbaa !36
  %109 = load ptr, ptr %46, align 8, !tbaa !49
  %110 = load ptr, ptr %47, align 8, !tbaa !50
  %111 = load i32, ptr %48, align 8, !tbaa !42
  call void %105(ptr noundef %.086, i64 noundef 0, i64 noundef %106, i64 noundef %107, i64 noundef %108, ptr noundef %109, ptr noundef %110, ptr noundef %.07882, i64 noundef 0, i32 noundef %111)
  %112 = load i64, ptr %49, align 8, !tbaa !43
  %113 = getelementptr inbounds float, ptr %.086, i64 %112
  br label %114

114:                                              ; preds = %104, %103
  %.2 = phi ptr [ %.086, %103 ], [ %113, %104 ]
  call void @_ZN4Simd4Base24SynetMergedConvolution8i19DirectConvolution8iEPKhmmPhPiPf(ptr noundef nonnull align 8 dereferenceable(1376) %0, ptr noundef %.07882, i64 noundef 0, i64 noundef 0, ptr noundef %22, ptr noundef %25, ptr noundef %13)
  %115 = load i8, ptr %26, align 8, !tbaa !33, !range !31, !noundef !32
  %116 = trunc nuw i8 %115 to i1
  %117 = load i64, ptr %49, align 8
  %.280.idx = select i1 %116, i64 %117, i64 0
  %.280 = getelementptr inbounds i8, ptr %.07882, i64 %.280.idx
  %118 = load ptr, ptr %50, align 8, !tbaa !44
  %119 = load i64, ptr %52, align 8, !tbaa !45
  %120 = load ptr, ptr %53, align 8, !tbaa !46
  %121 = load ptr, ptr %54, align 8, !tbaa !47
  %122 = load ptr, ptr %55, align 8, !tbaa !47
  %123 = load i64, ptr %6, align 8, !tbaa !51
  %124 = icmp eq i64 %123, 3
  %125 = select i1 %124, ptr %16, ptr %.07683
  call void %118(ptr noundef %13, ptr noundef nonnull align 8 dereferenceable(180) %8, ptr noundef nonnull align 8 dereferenceable(144) %51, i64 noundef 0, i64 noundef 0, i64 noundef %119, ptr noundef %120, ptr noundef %121, ptr noundef %122, ptr noundef null, ptr noundef null, ptr noundef %125)
  %126 = load i64, ptr %6, align 8, !tbaa !51
  %127 = icmp eq i64 %126, 3
  br i1 %127, label %128, label %136

128:                                              ; preds = %114
  %129 = load ptr, ptr %43, align 8, !tbaa !48
  %130 = load i64, ptr %56, align 8, !tbaa !37
  %131 = load i64, ptr %57, align 8, !tbaa !38
  %132 = load i64, ptr %9, align 8, !tbaa !36
  %133 = load ptr, ptr %58, align 8, !tbaa !49
  %134 = load ptr, ptr %59, align 8, !tbaa !50
  %135 = load i32, ptr %48, align 8, !tbaa !42
  call void %129(ptr noundef %16, i64 noundef 0, i64 noundef %130, i64 noundef %131, i64 noundef %132, ptr noundef %133, ptr noundef %134, ptr noundef %22, i64 noundef 0, i32 noundef %135)
  call void @_ZN4Simd4Base24SynetMergedConvolution8i19DirectConvolution8iEPKhmmPhPiPf(ptr noundef nonnull align 8 dereferenceable(1376) %0, ptr noundef %22, i64 noundef 2, i64 noundef 1, ptr noundef null, ptr noundef %25, ptr noundef %.07683)
  br label %136

136:                                              ; preds = %114, %128, %87
  %.381 = phi ptr [ %.179, %87 ], [ %.280, %128 ], [ %.280, %114 ]
  %.3 = phi ptr [ %.1, %87 ], [ %.2, %128 ], [ %.2, %114 ]
  %137 = load i8, ptr %28, align 1, !tbaa !19, !range !31, !noundef !32
  %138 = trunc nuw i8 %137 to i1
  br i1 %138, label %139, label %155

139:                                              ; preds = %136
  %140 = load i64, ptr %6, align 8, !tbaa !51
  %141 = add i64 %140, -1
  %142 = getelementptr inbounds [3 x %"struct.Simd::ConvParam"], ptr %7, i64 0, i64 %141
  %143 = load ptr, ptr %43, align 8, !tbaa !48
  %144 = getelementptr inbounds i8, ptr %142, i64 40
  %145 = load i64, ptr %144, align 8, !tbaa !45
  %146 = getelementptr inbounds i8, ptr %142, i64 48
  %147 = load i64, ptr %146, align 8, !tbaa !52
  %148 = getelementptr inbounds i8, ptr %142, i64 32
  %149 = load i64, ptr %148, align 8, !tbaa !53
  %150 = load ptr, ptr %69, align 8, !tbaa !49
  %151 = load ptr, ptr %70, align 8, !tbaa !50
  %152 = load i32, ptr %48, align 8, !tbaa !42
  call void %143(ptr noundef %.07683, i64 noundef 0, i64 noundef %145, i64 noundef %147, i64 noundef %149, ptr noundef %150, ptr noundef %151, ptr noundef %.07484, i64 noundef 0, i32 noundef %152)
  %153 = load i64, ptr %68, align 8, !tbaa !54
  %154 = getelementptr inbounds i8, ptr %.07484, i64 %153
  br label %158

155:                                              ; preds = %136
  %156 = load i64, ptr %68, align 8, !tbaa !54
  %157 = getelementptr inbounds float, ptr %.07683, i64 %156
  br label %158

158:                                              ; preds = %139, %155
  %.177 = phi ptr [ %.07683, %139 ], [ %157, %155 ]
  %.175 = phi ptr [ %154, %139 ], [ %.07484, %155 ]
  %159 = add nuw i64 %.07385, 1
  %160 = load i64, ptr %29, align 8, !tbaa !11
  %161 = icmp ult i64 %159, %160
  br i1 %161, label %71, label %._crit_edge, !llvm.loop !55
}

; 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: mustprogress uwtable
declare dso_local void @_ZN4Simd4Base24SynetMergedConvolution8i19DirectConvolution8iEPKhmmPhPiPf(ptr noundef nonnull align 8 dereferenceable(1376), ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0 align 2

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

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


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