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

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

%"class.Simd::SynetConvolution8i" = type { %"struct.Simd::Deletable", %"struct.Simd::ConvParam", %"struct.Simd::Array", %"class.std::__cxx11::basic_string", ptr, %"struct.Simd::CvtParam", %"struct.Simd::CvtParam", %"struct.Simd::Array.1", %"struct.Simd::Array.0", %"struct.Simd::Array.0", %"struct.Simd::Array.0", i8, i8, i64, i64, i64 }
%"struct.Simd::Deletable" = type { ptr }
%"struct.Simd::ConvParam" = type <{ %struct.SimdConvolutionParameters, i32, [4 x i8], i64, i32, [4 x i8] }>
%struct.SimdConvolutionParameters = type { i64, i64, i64, i32, i32, i64, i64, i64, i32, i32, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i32 }
%"struct.Simd::Array" = type { ptr, i64 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.Simd::CvtParam" = type <{ %"struct.Simd::Array", %"struct.Simd::Array.0", %"struct.Simd::Array.0", %"struct.Simd::Array.0", %"struct.Simd::Array.0", i8, [3 x i8], i32, i32, i32, i32, [4 x i8] }>
%"struct.Simd::Array.1" = type { ptr, i64 }
%"struct.Simd::Array.0" = type { ptr, i64 }
%"class.Simd::Base::SynetConvolution8iGemmNN" = type { %"class.Simd::SynetConvolution8i", i8, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64 }

@.str.1 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@__PRETTY_FUNCTION__._ZN4Simd4Base24SynetConvolution8iGemmNN9Forward8uEPKhPhS4_ = external hidden unnamed_addr constant [100 x i8], align 1

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4Simd4Base8OverflowE26SimdSynetCompatibilityType(i32 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base24SynetConvolution8iGemmNN9Forward8uEPKhPhS4_(ptr noundef nonnull align 8 dereferenceable(648) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) unnamed_addr #3 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 i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i8, align 1
  %17 = alloca i64, align 8
  %18 = alloca float, align 4
  %19 = 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
  %20 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %21 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 1
  store ptr %21, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %22 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 7
  %23 = getelementptr inbounds %"struct.Simd::Array.1", ptr %22, i32 0, i32 0
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  store ptr %24, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %25 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 15
  %26 = load i64, ptr %25, align 8, !tbaa !28
  %27 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 13
  %28 = load i64, ptr %27, align 8, !tbaa !29
  %29 = mul i64 %26, %28
  %30 = call noundef ptr @_ZN4Simd8AllocateIiEEPT_RPhmm(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %29, i64 noundef 8)
  store ptr %30, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %31 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 12
  %32 = load i8, ptr %31, align 1, !tbaa !30, !range !31, !noundef !32
  %33 = trunc i8 %32 to i1
  br i1 %33, label %34, label %41

34:                                               ; preds = %4
  %35 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 15
  %36 = load i64, ptr %35, align 8, !tbaa !28
  %37 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 13
  %38 = load i64, ptr %37, align 8, !tbaa !29
  %39 = mul i64 %36, %38
  %40 = call noundef ptr @_ZN4Simd8AllocateIfEEPT_RPhmm(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %39, i64 noundef 8)
  br label %43

41:                                               ; preds = %4
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  br label %43

43:                                               ; preds = %41, %34
  %44 = phi ptr [ %40, %34 ], [ %42, %41 ]
  store ptr %44, ptr %12, align 8, !tbaa !5
  %45 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 1
  %46 = load i8, ptr %45, align 8, !tbaa !33, !range !31, !noundef !32
  %47 = trunc i8 %46 to i1
  br i1 %47, label %111, label %48

48:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %49 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 5
  %50 = getelementptr inbounds %"struct.Simd::CvtParam", ptr %49, i32 0, i32 0
  %51 = getelementptr inbounds %"struct.Simd::Array", ptr %50, i32 0, i32 0
  %52 = load ptr, ptr %51, align 8, !tbaa !35
  store ptr %52, ptr %13, align 8, !tbaa !5
  %53 = load ptr, ptr %9, align 8, !tbaa !5
  %54 = getelementptr inbounds %"struct.Simd::ConvParam", ptr %53, i32 0, i32 1
  %55 = load i32, ptr %54, align 8, !tbaa !36
  %56 = icmp ne i32 %55, 0
  br i1 %56, label %57, label %83

57:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  store i64 0, ptr %14, align 8, !tbaa !37
  br label %58

58:                                               ; preds = %79, %57
  %59 = load i64, ptr %14, align 8, !tbaa !37
  %60 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 13
  %61 = load i64, ptr %60, align 8, !tbaa !29
  %62 = icmp ult i64 %59, %61
  br i1 %62, label %64, label %63

63:                                               ; preds = %58
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %82

64:                                               ; preds = %58
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = load i64, ptr %14, align 8, !tbaa !37
  %67 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 14
  %68 = load i64, ptr %67, align 8, !tbaa !38
  %69 = mul i64 %66, %68
  %70 = getelementptr inbounds i8, ptr %65, i64 %69
  %71 = load ptr, ptr %9, align 8, !tbaa !5
  %72 = load ptr, ptr %13, align 8, !tbaa !5
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  %74 = load i64, ptr %14, align 8, !tbaa !37
  %75 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 12
  %76 = load i64, ptr %75, align 8, !tbaa !39
  %77 = mul i64 %74, %76
  %78 = getelementptr inbounds i8, ptr %73, i64 %77
  call void @_ZN4Simd4Base8ImgToRowEPKhRK25SimdConvolutionParametersS2_Ph(ptr noundef %70, ptr noundef nonnull align 8 dereferenceable(160) %71, ptr noundef %72, ptr noundef %78)
  br label %79

79:                                               ; preds = %64
  %80 = load i64, ptr %14, align 8, !tbaa !37
  %81 = add i64 %80, 1
  store i64 %81, ptr %14, align 8, !tbaa !37
  br label %58, !llvm.loop !40

82:                                               ; preds = %63
  br label %109

83:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  store i64 0, ptr %15, align 8, !tbaa !37
  br label %84

84:                                               ; preds = %105, %83
  %85 = load i64, ptr %15, align 8, !tbaa !37
  %86 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 13
  %87 = load i64, ptr %86, align 8, !tbaa !29
  %88 = icmp ult i64 %85, %87
  br i1 %88, label %90, label %89

89:                                               ; preds = %84
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %108

90:                                               ; preds = %84
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = load i64, ptr %15, align 8, !tbaa !37
  %93 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 14
  %94 = load i64, ptr %93, align 8, !tbaa !38
  %95 = mul i64 %92, %94
  %96 = getelementptr inbounds i8, ptr %91, i64 %95
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  %98 = load ptr, ptr %13, align 8, !tbaa !5
  %99 = load ptr, ptr %7, align 8, !tbaa !5
  %100 = load i64, ptr %15, align 8, !tbaa !37
  %101 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 12
  %102 = load i64, ptr %101, align 8, !tbaa !39
  %103 = mul i64 %100, %102
  %104 = getelementptr inbounds i8, ptr %99, i64 %103
  call void @_ZN4Simd4Base8ImgToColEPKhRKNS_9ConvParamES2_Ph(ptr noundef %96, ptr noundef nonnull align 8 dereferenceable(180) %97, ptr noundef %98, ptr noundef %104)
  br label %105

105:                                              ; preds = %90
  %106 = load i64, ptr %15, align 8, !tbaa !37
  %107 = add i64 %106, 1
  store i64 %107, ptr %15, align 8, !tbaa !37
  br label %84, !llvm.loop !42

108:                                              ; preds = %89
  br label %109

109:                                              ; preds = %108, %82
  %110 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %110, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %111

111:                                              ; preds = %109, %43
  %112 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 13
  %113 = load i64, ptr %112, align 8, !tbaa !29
  %114 = icmp ugt i64 %113, 1
  br i1 %114, label %115, label %116

115:                                              ; preds = %111
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 336, ptr noundef @__PRETTY_FUNCTION__._ZN4Simd4Base24SynetConvolution8iGemmNN9Forward8uEPKhPhS4_) #9
  unreachable

116:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #8
  %117 = load ptr, ptr %9, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.Simd::ConvParam", ptr %117, i32 0, i32 4
  %119 = load i32, ptr %118, align 8, !tbaa !43
  %120 = call noundef zeroext i1 @_ZN4Simd4Base8OverflowE26SimdSynetCompatibilityType(i32 noundef %119)
  %121 = zext i1 %120 to i8
  store i8 %121, ptr %16, align 1, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  store i64 0, ptr %17, align 8, !tbaa !37
  br label %122

122:                                              ; preds = %205, %116
  %123 = load i64, ptr %17, align 8, !tbaa !37
  %124 = load ptr, ptr %9, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %124, i32 0, i32 20
  %126 = load i64, ptr %125, align 8, !tbaa !45
  %127 = icmp ult i64 %123, %126
  br i1 %127, label %129, label %128

128:                                              ; preds = %122
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %208

129:                                              ; preds = %122
  %130 = load ptr, ptr %9, align 8, !tbaa !5
  %131 = getelementptr inbounds %"struct.Simd::ConvParam", ptr %130, i32 0, i32 1
  %132 = load i32, ptr %131, align 8, !tbaa !36
  %133 = icmp ne i32 %132, 0
  br i1 %133, label %134, label %169

134:                                              ; preds = %129
  %135 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 10
  %136 = load i64, ptr %135, align 8, !tbaa !46
  %137 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 11
  %138 = load i64, ptr %137, align 8, !tbaa !47
  %139 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 9
  %140 = load i64, ptr %139, align 8, !tbaa !48
  %141 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 8
  %142 = load i64, ptr %141, align 8, !tbaa !49
  %143 = load ptr, ptr %6, align 8, !tbaa !5
  %144 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 6
  %145 = load i64, ptr %144, align 8, !tbaa !50
  %146 = load i64, ptr %17, align 8, !tbaa !37
  %147 = mul i64 %145, %146
  %148 = getelementptr inbounds i8, ptr %143, i64 %147
  %149 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 3
  %150 = load i64, ptr %149, align 8, !tbaa !51
  %151 = load ptr, ptr %10, align 8, !tbaa !5
  %152 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 5
  %153 = load i64, ptr %152, align 8, !tbaa !52
  %154 = load i64, ptr %17, align 8, !tbaa !37
  %155 = mul i64 %153, %154
  %156 = getelementptr inbounds i8, ptr %151, i64 %155
  %157 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 2
  %158 = load i64, ptr %157, align 8, !tbaa !53
  %159 = load ptr, ptr %11, align 8, !tbaa !5
  %160 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 7
  %161 = load i64, ptr %160, align 8, !tbaa !54
  %162 = load i64, ptr %17, align 8, !tbaa !37
  %163 = mul i64 %161, %162
  %164 = getelementptr inbounds i32, ptr %159, i64 %163
  %165 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 4
  %166 = load i64, ptr %165, align 8, !tbaa !55
  %167 = load i8, ptr %16, align 1, !tbaa !44, !range !31, !noundef !32
  %168 = trunc i8 %167 to i1
  call void @_ZN4Simd4Base8GemmNhwcEmmmmPKhmPKamPimb(i64 noundef %136, i64 noundef %138, i64 noundef %140, i64 noundef %142, ptr noundef %148, i64 noundef %150, ptr noundef %156, i64 noundef %158, ptr noundef %164, i64 noundef %166, i1 noundef zeroext %168)
  br label %204

169:                                              ; preds = %129
  %170 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 11
  %171 = load i64, ptr %170, align 8, !tbaa !47
  %172 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 10
  %173 = load i64, ptr %172, align 8, !tbaa !46
  %174 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 8
  %175 = load i64, ptr %174, align 8, !tbaa !49
  %176 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 9
  %177 = load i64, ptr %176, align 8, !tbaa !48
  %178 = load ptr, ptr %10, align 8, !tbaa !5
  %179 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 5
  %180 = load i64, ptr %179, align 8, !tbaa !52
  %181 = load i64, ptr %17, align 8, !tbaa !37
  %182 = mul i64 %180, %181
  %183 = getelementptr inbounds i8, ptr %178, i64 %182
  %184 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 2
  %185 = load i64, ptr %184, align 8, !tbaa !53
  %186 = load ptr, ptr %6, align 8, !tbaa !5
  %187 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 6
  %188 = load i64, ptr %187, align 8, !tbaa !50
  %189 = load i64, ptr %17, align 8, !tbaa !37
  %190 = mul i64 %188, %189
  %191 = getelementptr inbounds i8, ptr %186, i64 %190
  %192 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 3
  %193 = load i64, ptr %192, align 8, !tbaa !51
  %194 = load ptr, ptr %11, align 8, !tbaa !5
  %195 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 7
  %196 = load i64, ptr %195, align 8, !tbaa !54
  %197 = load i64, ptr %17, align 8, !tbaa !37
  %198 = mul i64 %196, %197
  %199 = getelementptr inbounds i32, ptr %194, i64 %198
  %200 = getelementptr inbounds %"class.Simd::Base::SynetConvolution8iGemmNN", ptr %20, i32 0, i32 4
  %201 = load i64, ptr %200, align 8, !tbaa !55
  %202 = load i8, ptr %16, align 1, !tbaa !44, !range !31, !noundef !32
  %203 = trunc i8 %202 to i1
  call void @_ZN4Simd4Base8GemmNchwEmmmmPKamPKhmPimb(i64 noundef %171, i64 noundef %173, i64 noundef %175, i64 noundef %177, ptr noundef %183, i64 noundef %185, ptr noundef %191, i64 noundef %193, ptr noundef %199, i64 noundef %201, i1 noundef zeroext %203)
  br label %204

204:                                              ; preds = %169, %134
  br label %205

205:                                              ; preds = %204
  %206 = load i64, ptr %17, align 8, !tbaa !37
  %207 = add i64 %206, 1
  store i64 %207, ptr %17, align 8, !tbaa !37
  br label %122, !llvm.loop !56

208:                                              ; preds = %128
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  br label %209

209:                                              ; preds = %208
  %210 = load ptr, ptr %11, align 8, !tbaa !5
  %211 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 13
  %212 = load i64, ptr %211, align 8, !tbaa !29
  %213 = load ptr, ptr %9, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %213, i32 0, i32 5
  %215 = load i64, ptr %214, align 8, !tbaa !57
  %216 = load ptr, ptr %9, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %216, i32 0, i32 6
  %218 = load i64, ptr %217, align 8, !tbaa !58
  %219 = load ptr, ptr %9, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %219, i32 0, i32 7
  %221 = load i64, ptr %220, align 8, !tbaa !59
  %222 = load ptr, ptr %9, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %222, i32 0, i32 9
  %224 = load i32, ptr %223, align 4, !tbaa !60
  %225 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 8
  %226 = getelementptr inbounds %"struct.Simd::Array.0", ptr %225, i32 0, i32 0
  %227 = load ptr, ptr %226, align 8, !tbaa !61
  %228 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 9
  %229 = getelementptr inbounds %"struct.Simd::Array.0", ptr %228, i32 0, i32 0
  %230 = load ptr, ptr %229, align 8, !tbaa !62
  %231 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN4Simd4Base7ConvertIiffEEvPKT_mmmm20SimdTensorFormatTypePKT1_S8_iiPT0_(ptr noundef %210, i64 noundef %212, i64 noundef %215, i64 noundef %218, i64 noundef %221, i32 noundef %224, ptr noundef %227, ptr noundef %230, i32 noundef 0, i32 noundef 0, ptr noundef %231)
  %232 = load ptr, ptr %9, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %232, i32 0, i32 21
  %234 = load i32, ptr %233, align 8, !tbaa !63
  switch i32 %234, label %380 [
    i32 0, label %381
    i32 1, label %235
    i32 2, label %243
    i32 3, label %254
    i32 4, label %269
    i32 5, label %309
    i32 6, label %320
    i32 7, label %335
    i32 8, label %346
    i32 9, label %361
    i32 10, label %372
  ]

235:                                              ; preds = %209
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  store float 0.000000e+00, ptr %18, align 4, !tbaa !64
  %236 = load ptr, ptr %12, align 8, !tbaa !5
  %237 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 13
  %238 = load i64, ptr %237, align 8, !tbaa !29
  %239 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 15
  %240 = load i64, ptr %239, align 8, !tbaa !28
  %241 = mul i64 %238, %240
  %242 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN4Simd4Base12SynetRelu32fEPKfmS2_Pf(ptr noundef %236, i64 noundef %241, ptr noundef %18, ptr noundef %242)
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %381

243:                                              ; preds = %209
  %244 = load ptr, ptr %12, align 8, !tbaa !5
  %245 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 13
  %246 = load i64, ptr %245, align 8, !tbaa !29
  %247 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 15
  %248 = load i64, ptr %247, align 8, !tbaa !28
  %249 = mul i64 %246, %248
  %250 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 10
  %251 = getelementptr inbounds %"struct.Simd::Array.0", ptr %250, i32 0, i32 0
  %252 = load ptr, ptr %251, align 8, !tbaa !66
  %253 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN4Simd4Base12SynetRelu32fEPKfmS2_Pf(ptr noundef %244, i64 noundef %249, ptr noundef %252, ptr noundef %253)
  br label %381

254:                                              ; preds = %209
  %255 = load ptr, ptr %12, align 8, !tbaa !5
  %256 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 13
  %257 = load i64, ptr %256, align 8, !tbaa !29
  %258 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 15
  %259 = load i64, ptr %258, align 8, !tbaa !28
  %260 = mul i64 %257, %259
  %261 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 10
  %262 = getelementptr inbounds %"struct.Simd::Array.0", ptr %261, i32 0, i32 0
  %263 = load ptr, ptr %262, align 8, !tbaa !66
  %264 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 10
  %265 = getelementptr inbounds %"struct.Simd::Array.0", ptr %264, i32 0, i32 0
  %266 = load ptr, ptr %265, align 8, !tbaa !66
  %267 = getelementptr inbounds float, ptr %266, i64 1
  %268 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN4Simd4Base21SynetRestrictRange32fEPKfmS2_S2_Pf(ptr noundef %255, i64 noundef %260, ptr noundef %263, ptr noundef %267, ptr noundef %268)
  br label %381

269:                                              ; preds = %209
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  store i64 0, ptr %19, align 8, !tbaa !37
  br label %270

270:                                              ; preds = %305, %269
  %271 = load i64, ptr %19, align 8, !tbaa !37
  %272 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 13
  %273 = load i64, ptr %272, align 8, !tbaa !29
  %274 = icmp ult i64 %271, %273
  br i1 %274, label %276, label %275

275:                                              ; preds = %270
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %308

276:                                              ; preds = %270
  %277 = load ptr, ptr %12, align 8, !tbaa !5
  %278 = load i64, ptr %19, align 8, !tbaa !37
  %279 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 15
  %280 = load i64, ptr %279, align 8, !tbaa !28
  %281 = mul i64 %278, %280
  %282 = getelementptr inbounds float, ptr %277, i64 %281
  %283 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 10
  %284 = getelementptr inbounds %"struct.Simd::Array.0", ptr %283, i32 0, i32 0
  %285 = load ptr, ptr %284, align 8, !tbaa !66
  %286 = load ptr, ptr %9, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %286, i32 0, i32 5
  %288 = load i64, ptr %287, align 8, !tbaa !57
  %289 = load ptr, ptr %9, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %289, i32 0, i32 6
  %291 = load i64, ptr %290, align 8, !tbaa !58
  %292 = load ptr, ptr %9, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %292, i32 0, i32 7
  %294 = load i64, ptr %293, align 8, !tbaa !59
  %295 = mul i64 %291, %294
  %296 = load ptr, ptr %12, align 8, !tbaa !5
  %297 = load i64, ptr %19, align 8, !tbaa !37
  %298 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 15
  %299 = load i64, ptr %298, align 8, !tbaa !28
  %300 = mul i64 %297, %299
  %301 = getelementptr inbounds float, ptr %296, i64 %300
  %302 = load ptr, ptr %9, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %302, i32 0, i32 9
  %304 = load i32, ptr %303, align 4, !tbaa !60
  call void @_ZN4Simd4Base22SynetPreluLayerForwardEPKfS2_mmPf20SimdTensorFormatType(ptr noundef %282, ptr noundef %285, i64 noundef %288, i64 noundef %295, ptr noundef %301, i32 noundef %304)
  br label %305

305:                                              ; preds = %276
  %306 = load i64, ptr %19, align 8, !tbaa !37
  %307 = add i64 %306, 1
  store i64 %307, ptr %19, align 8, !tbaa !37
  br label %270, !llvm.loop !67

308:                                              ; preds = %275
  br label %381

309:                                              ; preds = %209
  %310 = load ptr, ptr %12, align 8, !tbaa !5
  %311 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 13
  %312 = load i64, ptr %311, align 8, !tbaa !29
  %313 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 15
  %314 = load i64, ptr %313, align 8, !tbaa !28
  %315 = mul i64 %312, %314
  %316 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 10
  %317 = getelementptr inbounds %"struct.Simd::Array.0", ptr %316, i32 0, i32 0
  %318 = load ptr, ptr %317, align 8, !tbaa !66
  %319 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN4Simd4Base11SynetElu32fEPKfmS2_Pf(ptr noundef %310, i64 noundef %315, ptr noundef %318, ptr noundef %319)
  br label %381

320:                                              ; preds = %209
  %321 = load ptr, ptr %12, align 8, !tbaa !5
  %322 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 13
  %323 = load i64, ptr %322, align 8, !tbaa !29
  %324 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 15
  %325 = load i64, ptr %324, align 8, !tbaa !28
  %326 = mul i64 %323, %325
  %327 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 10
  %328 = getelementptr inbounds %"struct.Simd::Array.0", ptr %327, i32 0, i32 0
  %329 = load ptr, ptr %328, align 8, !tbaa !66
  %330 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 10
  %331 = getelementptr inbounds %"struct.Simd::Array.0", ptr %330, i32 0, i32 0
  %332 = load ptr, ptr %331, align 8, !tbaa !66
  %333 = getelementptr inbounds float, ptr %332, i64 1
  %334 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN4Simd4Base14SynetHswish32fEPKfmS2_S2_Pf(ptr noundef %321, i64 noundef %326, ptr noundef %329, ptr noundef %333, ptr noundef %334)
  br label %381

335:                                              ; preds = %209
  %336 = load ptr, ptr %12, align 8, !tbaa !5
  %337 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 13
  %338 = load i64, ptr %337, align 8, !tbaa !29
  %339 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 15
  %340 = load i64, ptr %339, align 8, !tbaa !28
  %341 = mul i64 %338, %340
  %342 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 10
  %343 = getelementptr inbounds %"struct.Simd::Array.0", ptr %342, i32 0, i32 0
  %344 = load ptr, ptr %343, align 8, !tbaa !66
  %345 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN4Simd4Base12SynetMish32fEPKfmS2_Pf(ptr noundef %336, i64 noundef %341, ptr noundef %344, ptr noundef %345)
  br label %381

346:                                              ; preds = %209
  %347 = load ptr, ptr %12, align 8, !tbaa !5
  %348 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 13
  %349 = load i64, ptr %348, align 8, !tbaa !29
  %350 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 15
  %351 = load i64, ptr %350, align 8, !tbaa !28
  %352 = mul i64 %349, %351
  %353 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 10
  %354 = getelementptr inbounds %"struct.Simd::Array.0", ptr %353, i32 0, i32 0
  %355 = load ptr, ptr %354, align 8, !tbaa !66
  %356 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 10
  %357 = getelementptr inbounds %"struct.Simd::Array.0", ptr %356, i32 0, i32 0
  %358 = load ptr, ptr %357, align 8, !tbaa !66
  %359 = getelementptr inbounds float, ptr %358, i64 1
  %360 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN4Simd4Base19SynetHardSigmoid32fEPKfmS2_S2_Pf(ptr noundef %347, i64 noundef %352, ptr noundef %355, ptr noundef %359, ptr noundef %360)
  br label %381

361:                                              ; preds = %209
  %362 = load ptr, ptr %12, align 8, !tbaa !5
  %363 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 13
  %364 = load i64, ptr %363, align 8, !tbaa !29
  %365 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 15
  %366 = load i64, ptr %365, align 8, !tbaa !28
  %367 = mul i64 %364, %366
  %368 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 10
  %369 = getelementptr inbounds %"struct.Simd::Array.0", ptr %368, i32 0, i32 0
  %370 = load ptr, ptr %369, align 8, !tbaa !66
  %371 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN4Simd4Base13SynetSwish32fEPKfmS2_Pf(ptr noundef %362, i64 noundef %367, ptr noundef %370, ptr noundef %371)
  br label %381

372:                                              ; preds = %209
  %373 = load ptr, ptr %12, align 8, !tbaa !5
  %374 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 13
  %375 = load i64, ptr %374, align 8, !tbaa !29
  %376 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 15
  %377 = load i64, ptr %376, align 8, !tbaa !28
  %378 = mul i64 %375, %377
  %379 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN4Simd4Base12SynetGelu32fEPKfmPf(ptr noundef %373, i64 noundef %378, ptr noundef %379)
  br label %381

380:                                              ; preds = %209
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 389, ptr noundef @__PRETTY_FUNCTION__._ZN4Simd4Base24SynetConvolution8iGemmNN9Forward8uEPKhPhS4_) #9
  unreachable

381:                                              ; preds = %372, %361, %346, %335, %320, %309, %308, %254, %243, %235, %209
  %382 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 12
  %383 = load i8, ptr %382, align 1, !tbaa !30, !range !31, !noundef !32
  %384 = trunc i8 %383 to i1
  br i1 %384, label %385, label %416

385:                                              ; preds = %381
  %386 = load ptr, ptr %12, align 8, !tbaa !5
  %387 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 13
  %388 = load i64, ptr %387, align 8, !tbaa !29
  %389 = load ptr, ptr %9, align 8, !tbaa !5
  %390 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %389, i32 0, i32 5
  %391 = load i64, ptr %390, align 8, !tbaa !57
  %392 = load ptr, ptr %9, align 8, !tbaa !5
  %393 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %392, i32 0, i32 6
  %394 = load i64, ptr %393, align 8, !tbaa !58
  %395 = load ptr, ptr %9, align 8, !tbaa !5
  %396 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %395, i32 0, i32 7
  %397 = load i64, ptr %396, align 8, !tbaa !59
  %398 = load ptr, ptr %9, align 8, !tbaa !5
  %399 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %398, i32 0, i32 9
  %400 = load i32, ptr %399, align 4, !tbaa !60
  %401 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 6
  %402 = getelementptr inbounds %"struct.Simd::CvtParam", ptr %401, i32 0, i32 1
  %403 = getelementptr inbounds %"struct.Simd::Array.0", ptr %402, i32 0, i32 0
  %404 = load ptr, ptr %403, align 8, !tbaa !68
  %405 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 6
  %406 = getelementptr inbounds %"struct.Simd::CvtParam", ptr %405, i32 0, i32 2
  %407 = getelementptr inbounds %"struct.Simd::Array.0", ptr %406, i32 0, i32 0
  %408 = load ptr, ptr %407, align 8, !tbaa !69
  %409 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 6
  %410 = getelementptr inbounds %"struct.Simd::CvtParam", ptr %409, i32 0, i32 9
  %411 = load i32, ptr %410, align 4, !tbaa !70
  %412 = getelementptr inbounds %"class.Simd::SynetConvolution8i", ptr %20, i32 0, i32 6
  %413 = getelementptr inbounds %"struct.Simd::CvtParam", ptr %412, i32 0, i32 10
  %414 = load i32, ptr %413, align 8, !tbaa !71
  %415 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN4Simd4Base7ConvertIfhfEEvPKT_mmmm20SimdTensorFormatTypePKT1_S8_iiPT0_(ptr noundef %386, i64 noundef %388, i64 noundef %391, i64 noundef %394, i64 noundef %397, i32 noundef %400, ptr noundef %404, ptr noundef %408, i32 noundef %411, i32 noundef %414, ptr noundef %415)
  br label %416

416:                                              ; preds = %385, %381
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  ret void
}

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd4Base8ImgToRowEPKhRK25SimdConvolutionParametersS2_Ph(ptr noundef, ptr noundef nonnull align 8 dereferenceable(160), ptr noundef, ptr noundef) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd4Base8ImgToColEPKhRKNS_9ConvParamES2_Ph(ptr noundef, ptr noundef nonnull align 8 dereferenceable(180), ptr noundef, ptr noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4Simd4Base8GemmNhwcEmmmmPKhmPKamPimb(i64 noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i1 noundef zeroext) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4Simd4Base8GemmNchwEmmmmPKamPKhmPimb(i64 noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i1 noundef zeroext) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Simd4Base7ConvertIiffEEvPKT_mmmm20SimdTensorFormatTypePKT1_S8_iiPT0_(ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #3

declare void @_ZN4Simd4Base12SynetRelu32fEPKfmS2_Pf(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #7

declare void @_ZN4Simd4Base21SynetRestrictRange32fEPKfmS2_S2_Pf(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #7

declare void @_ZN4Simd4Base22SynetPreluLayerForwardEPKfS2_mmPf20SimdTensorFormatType(ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, i32 noundef) #7

declare void @_ZN4Simd4Base11SynetElu32fEPKfmS2_Pf(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #7

declare void @_ZN4Simd4Base14SynetHswish32fEPKfmS2_S2_Pf(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #7

declare void @_ZN4Simd4Base12SynetMish32fEPKfmS2_Pf(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #7

declare void @_ZN4Simd4Base19SynetHardSigmoid32fEPKfmS2_S2_Pf(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #7

declare void @_ZN4Simd4Base13SynetSwish32fEPKfmS2_Pf(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #7

declare void @_ZN4Simd4Base12SynetGelu32fEPKfmPf(ptr noundef, i64 noundef, ptr noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Simd4Base7ConvertIfhfEEvPKT_mmmm20SimdTensorFormatTypePKT1_S8_iiPT0_(ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "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" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint 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 #7 = { "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 #8 = { nounwind }
attributes #9 = { noreturn 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, !6, i64 456}
!10 = !{!"_ZTSN4Simd18SynetConvolution8iE", !11, i64 0, !12, i64 8, !20, i64 192, !21, i64 208, !6, i64 240, !23, i64 248, !23, i64 352, !27, i64 456, !24, i64 472, !24, i64 488, !24, i64 504, !25, i64 520, !25, i64 521, !14, i64 528, !14, i64 536, !14, i64 544}
!11 = !{!"_ZTSN4Simd9DeletableE"}
!12 = !{!"_ZTSN4Simd9ConvParamE", !13, i64 0, !18, i64 160, !14, i64 168, !19, i64 176}
!13 = !{!"_ZTS25SimdConvolutionParameters", !14, i64 0, !14, i64 8, !14, i64 16, !15, i64 24, !16, i64 28, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !16, i64 60, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !14, i64 136, !14, i64 144, !17, i64 152}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_ZTS18SimdTensorDataType", !7, i64 0}
!16 = !{!"_ZTS20SimdTensorFormatType", !7, i64 0}
!17 = !{!"_ZTS29SimdConvolutionActivationType", !7, i64 0}
!18 = !{!"_ZTS8SimdBool", !7, i64 0}
!19 = !{!"_ZTS26SimdSynetCompatibilityType", !7, i64 0}
!20 = !{!"_ZTSN4Simd5ArrayIhEE", !6, i64 0, !14, i64 8}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !22, i64 0, !14, i64 8, !7, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!23 = !{!"_ZTSN4Simd8CvtParamE", !20, i64 0, !24, i64 16, !24, i64 32, !24, i64 48, !24, i64 64, !25, i64 80, !26, i64 84, !26, i64 88, !26, i64 92, !26, i64 96}
!24 = !{!"_ZTSN4Simd5ArrayIfEE", !6, i64 0, !14, i64 8}
!25 = !{!"bool", !7, i64 0}
!26 = !{!"int", !7, i64 0}
!27 = !{!"_ZTSN4Simd5ArrayIaEE", !6, i64 0, !14, i64 8}
!28 = !{!10, !14, i64 544}
!29 = !{!10, !14, i64 528}
!30 = !{!10, !25, i64 521}
!31 = !{i8 0, i8 2}
!32 = !{}
!33 = !{!34, !25, i64 552}
!34 = !{!"_ZTSN4Simd4Base24SynetConvolution8iGemmNNE", !10, i64 0, !25, i64 552, !14, i64 560, !14, i64 568, !14, i64 576, !14, i64 584, !14, i64 592, !14, i64 600, !14, i64 608, !14, i64 616, !14, i64 624, !14, i64 632, !14, i64 640}
!35 = !{!10, !6, i64 248}
!36 = !{!12, !18, i64 160}
!37 = !{!14, !14, i64 0}
!38 = !{!10, !14, i64 536}
!39 = !{!34, !14, i64 640}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.mustprogress"}
!42 = distinct !{!42, !41}
!43 = !{!12, !19, i64 176}
!44 = !{!25, !25, i64 0}
!45 = !{!13, !14, i64 144}
!46 = !{!34, !14, i64 624}
!47 = !{!34, !14, i64 632}
!48 = !{!34, !14, i64 616}
!49 = !{!34, !14, i64 608}
!50 = !{!34, !14, i64 592}
!51 = !{!34, !14, i64 568}
!52 = !{!34, !14, i64 584}
!53 = !{!34, !14, i64 560}
!54 = !{!34, !14, i64 600}
!55 = !{!34, !14, i64 576}
!56 = distinct !{!56, !41}
!57 = !{!13, !14, i64 32}
!58 = !{!13, !14, i64 40}
!59 = !{!13, !14, i64 48}
!60 = !{!13, !16, i64 60}
!61 = !{!10, !6, i64 472}
!62 = !{!10, !6, i64 488}
!63 = !{!13, !17, i64 152}
!64 = !{!65, !65, i64 0}
!65 = !{!"float", !7, i64 0}
!66 = !{!10, !6, i64 504}
!67 = distinct !{!67, !41}
!68 = !{!10, !6, i64 368}
!69 = !{!10, !6, i64 384}
!70 = !{!10, !26, i64 444}
!71 = !{!10, !26, i64 448}


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

@.str.1 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@__PRETTY_FUNCTION__._ZN4Simd4Base24SynetConvolution8iGemmNN9Forward8uEPKhPhS4_ = external hidden unnamed_addr constant [100 x i8], align 1

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4Simd4Base8OverflowE26SimdSynetCompatibilityType(i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base24SynetConvolution8iGemmNN9Forward8uEPKhPhS4_(ptr noundef nonnull align 8 dereferenceable(648) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) unnamed_addr #3 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca float, align 4
  store ptr %2, ptr %5, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  %8 = getelementptr inbounds i8, ptr %0, i64 456
  %9 = load ptr, ptr %8, align 8, !tbaa !9
  %10 = getelementptr inbounds i8, ptr %0, i64 544
  %11 = load i64, ptr %10, align 8, !tbaa !28
  %12 = getelementptr inbounds i8, ptr %0, i64 528
  %13 = load i64, ptr %12, align 8, !tbaa !29
  %14 = mul i64 %13, %11
  %15 = call noundef ptr @_ZN4Simd8AllocateIiEEPT_RPhmm(ptr noundef nonnull align 8 dereferenceable(8) %5, i64 noundef %14, i64 noundef 8)
  %16 = getelementptr inbounds i8, ptr %0, i64 521
  %17 = load i8, ptr %16, align 1, !tbaa !30, !range !31, !noundef !32
  %18 = trunc nuw i8 %17 to i1
  br i1 %18, label %19, label %24

19:                                               ; preds = %4
  %20 = load i64, ptr %10, align 8, !tbaa !28
  %21 = load i64, ptr %12, align 8, !tbaa !29
  %22 = mul i64 %21, %20
  %23 = call noundef ptr @_ZN4Simd8AllocateIfEEPT_RPhmm(ptr noundef nonnull align 8 dereferenceable(8) %5, i64 noundef %22, i64 noundef 8)
  br label %24

24:                                               ; preds = %4, %19
  %25 = phi ptr [ %23, %19 ], [ %3, %4 ]
  %26 = getelementptr inbounds i8, ptr %0, i64 552
  %27 = load i8, ptr %26, align 8, !tbaa !33, !range !31, !noundef !32
  %28 = trunc nuw i8 %27 to i1
  br i1 %28, label %._crit_edge97, label %29

._crit_edge97:                                    ; preds = %24
  %.pre = load i64, ptr %12, align 8, !tbaa !29
  br label %63

29:                                               ; preds = %24
  %30 = getelementptr inbounds i8, ptr %0, i64 248
  %31 = load ptr, ptr %30, align 8, !tbaa !35
  %32 = getelementptr inbounds i8, ptr %0, i64 168
  %33 = load i32, ptr %32, align 8, !tbaa !36
  %.not = icmp eq i32 %33, 0
  %34 = load i64, ptr %12, align 8, !tbaa !29
  %.not93 = icmp eq i64 %34, 0
  br i1 %.not, label %.preheader81, label %.preheader83

.preheader83:                                     ; preds = %29
  br i1 %.not93, label %.loopexit82, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader83
  %35 = getelementptr inbounds i8, ptr %0, i64 536
  %36 = getelementptr inbounds i8, ptr %0, i64 640
  br label %39

.preheader81:                                     ; preds = %29
  br i1 %.not93, label %.loopexit82, label %.lr.ph87

.lr.ph87:                                         ; preds = %.preheader81
  %37 = getelementptr inbounds i8, ptr %0, i64 536
  %38 = getelementptr inbounds i8, ptr %0, i64 640
  br label %50

39:                                               ; preds = %.lr.ph, %39
  %.07985 = phi i64 [ 0, %.lr.ph ], [ %47, %39 ]
  %40 = load i64, ptr %35, align 8, !tbaa !37
  %41 = mul i64 %40, %.07985
  %42 = getelementptr inbounds i8, ptr %1, i64 %41
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = load i64, ptr %36, align 8, !tbaa !38
  %45 = mul i64 %44, %.07985
  %46 = getelementptr inbounds i8, ptr %43, i64 %45
  call void @_ZN4Simd4Base8ImgToRowEPKhRK25SimdConvolutionParametersS2_Ph(ptr noundef %42, ptr noundef nonnull align 8 dereferenceable(160) %7, ptr noundef %31, ptr noundef %46)
  %47 = add nuw i64 %.07985, 1
  %48 = load i64, ptr %12, align 8, !tbaa !29
  %49 = icmp ult i64 %47, %48
  br i1 %49, label %39, label %.loopexit82, !llvm.loop !39

50:                                               ; preds = %.lr.ph87, %50
  %.07886 = phi i64 [ 0, %.lr.ph87 ], [ %58, %50 ]
  %51 = load i64, ptr %37, align 8, !tbaa !37
  %52 = mul i64 %51, %.07886
  %53 = getelementptr inbounds i8, ptr %1, i64 %52
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = load i64, ptr %38, align 8, !tbaa !38
  %56 = mul i64 %55, %.07886
  %57 = getelementptr inbounds i8, ptr %54, i64 %56
  call void @_ZN4Simd4Base8ImgToColEPKhRKNS_9ConvParamES2_Ph(ptr noundef %53, ptr noundef nonnull align 8 dereferenceable(180) %7, ptr noundef %31, ptr noundef %57)
  %58 = add nuw i64 %.07886, 1
  %59 = load i64, ptr %12, align 8, !tbaa !29
  %60 = icmp ult i64 %58, %59
  br i1 %60, label %50, label %.loopexit82, !llvm.loop !41

.loopexit82:                                      ; preds = %39, %50, %.preheader83, %.preheader81
  %61 = phi i64 [ 0, %.preheader83 ], [ 0, %.preheader81 ], [ %59, %50 ], [ %48, %39 ]
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  br label %63

63:                                               ; preds = %._crit_edge97, %.loopexit82
  %64 = phi i64 [ %.pre, %._crit_edge97 ], [ %61, %.loopexit82 ]
  %.077 = phi ptr [ %1, %._crit_edge97 ], [ %62, %.loopexit82 ]
  %65 = icmp ugt i64 %64, 1
  br i1 %65, label %66, label %67

66:                                               ; preds = %63
  call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 336, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4Simd4Base24SynetConvolution8iGemmNN9Forward8uEPKhPhS4_) #8
  unreachable

67:                                               ; preds = %63
  %68 = getelementptr inbounds i8, ptr %0, i64 184
  %69 = load i32, ptr %68, align 8, !tbaa !42
  %70 = call noundef zeroext i1 @_ZN4Simd4Base8OverflowE26SimdSynetCompatibilityType(i32 noundef %69)
  %71 = getelementptr inbounds i8, ptr %0, i64 152
  %72 = load i64, ptr %71, align 8, !tbaa !43
  %.not94 = icmp eq i64 %72, 0
  br i1 %.not94, label %._crit_edge, label %.lr.ph89

.lr.ph89:                                         ; preds = %67
  %73 = getelementptr inbounds i8, ptr %0, i64 168
  %74 = getelementptr inbounds i8, ptr %0, i64 624
  %75 = getelementptr inbounds i8, ptr %0, i64 632
  %76 = getelementptr inbounds i8, ptr %0, i64 616
  %77 = getelementptr inbounds i8, ptr %0, i64 608
  %78 = getelementptr inbounds i8, ptr %0, i64 592
  %79 = getelementptr inbounds i8, ptr %0, i64 568
  %80 = getelementptr inbounds i8, ptr %0, i64 584
  %81 = getelementptr inbounds i8, ptr %0, i64 560
  %82 = getelementptr inbounds i8, ptr %0, i64 600
  %83 = getelementptr inbounds i8, ptr %0, i64 576
  br label %101

._crit_edge:                                      ; preds = %133, %67
  %84 = load i64, ptr %12, align 8, !tbaa !29
  %85 = getelementptr inbounds i8, ptr %0, i64 40
  %86 = load i64, ptr %85, align 8, !tbaa !44
  %87 = getelementptr inbounds i8, ptr %0, i64 48
  %88 = load i64, ptr %87, align 8, !tbaa !45
  %89 = getelementptr inbounds i8, ptr %0, i64 56
  %90 = load i64, ptr %89, align 8, !tbaa !46
  %91 = getelementptr inbounds i8, ptr %0, i64 68
  %92 = load i32, ptr %91, align 4, !tbaa !47
  %93 = getelementptr inbounds i8, ptr %0, i64 472
  %94 = load ptr, ptr %93, align 8, !tbaa !48
  %95 = getelementptr inbounds i8, ptr %0, i64 488
  %96 = load ptr, ptr %95, align 8, !tbaa !49
  call void @_ZN4Simd4Base7ConvertIiffEEvPKT_mmmm20SimdTensorFormatTypePKT1_S8_iiPT0_(ptr noundef %15, i64 noundef %84, i64 noundef %86, i64 noundef %88, i64 noundef %90, i32 noundef %92, ptr noundef %94, ptr noundef %96, i32 noundef 0, i32 noundef 0, ptr noundef %25)
  %97 = getelementptr inbounds i8, ptr %0, i64 160
  %98 = load i32, ptr %97, align 8, !tbaa !50
  switch i32 %98, label %203 [
    i32 0, label %.loopexit
    i32 1, label %137
    i32 2, label %141
    i32 3, label %147
    i32 4, label %.preheader
    i32 5, label %167
    i32 6, label %173
    i32 7, label %180
    i32 8, label %186
    i32 9, label %193
    i32 10, label %199
  ]

.preheader:                                       ; preds = %._crit_edge
  %99 = load i64, ptr %12, align 8, !tbaa !29
  %.not95 = icmp eq i64 %99, 0
  br i1 %.not95, label %.loopexit, label %.lr.ph91

.lr.ph91:                                         ; preds = %.preheader
  %100 = getelementptr inbounds i8, ptr %0, i64 504
  br label %154

101:                                              ; preds = %.lr.ph89, %133
  %.07688 = phi i64 [ 0, %.lr.ph89 ], [ %134, %133 ]
  %102 = load i32, ptr %73, align 8, !tbaa !36
  %.not80 = icmp eq i32 %102, 0
  %103 = load i64, ptr %82, align 8, !tbaa !51
  %104 = mul i64 %103, %.07688
  %105 = getelementptr inbounds i32, ptr %15, i64 %104
  %106 = load i64, ptr %83, align 8, !tbaa !52
  br i1 %.not80, label %120, label %107

107:                                              ; preds = %101
  %108 = load i64, ptr %74, align 8, !tbaa !53
  %109 = load i64, ptr %75, align 8, !tbaa !54
  %110 = load i64, ptr %76, align 8, !tbaa !55
  %111 = load i64, ptr %77, align 8, !tbaa !56
  %112 = load i64, ptr %78, align 8, !tbaa !57
  %113 = mul i64 %112, %.07688
  %114 = getelementptr inbounds i8, ptr %.077, i64 %113
  %115 = load i64, ptr %79, align 8, !tbaa !58
  %116 = load i64, ptr %80, align 8, !tbaa !59
  %117 = mul i64 %116, %.07688
  %118 = getelementptr inbounds i8, ptr %9, i64 %117
  %119 = load i64, ptr %81, align 8, !tbaa !60
  call void @_ZN4Simd4Base8GemmNhwcEmmmmPKhmPKamPimb(i64 noundef %108, i64 noundef %109, i64 noundef %110, i64 noundef %111, ptr noundef %114, i64 noundef %115, ptr noundef %118, i64 noundef %119, ptr noundef %105, i64 noundef %106, i1 noundef zeroext %70)
  br label %133

120:                                              ; preds = %101
  %121 = load i64, ptr %75, align 8, !tbaa !54
  %122 = load i64, ptr %74, align 8, !tbaa !53
  %123 = load i64, ptr %77, align 8, !tbaa !56
  %124 = load i64, ptr %76, align 8, !tbaa !55
  %125 = load i64, ptr %80, align 8, !tbaa !59
  %126 = mul i64 %125, %.07688
  %127 = getelementptr inbounds i8, ptr %9, i64 %126
  %128 = load i64, ptr %81, align 8, !tbaa !60
  %129 = load i64, ptr %78, align 8, !tbaa !57
  %130 = mul i64 %129, %.07688
  %131 = getelementptr inbounds i8, ptr %.077, i64 %130
  %132 = load i64, ptr %79, align 8, !tbaa !58
  call void @_ZN4Simd4Base8GemmNchwEmmmmPKamPKhmPimb(i64 noundef %121, i64 noundef %122, i64 noundef %123, i64 noundef %124, ptr noundef %127, i64 noundef %128, ptr noundef %131, i64 noundef %132, ptr noundef %105, i64 noundef %106, i1 noundef zeroext %70)
  br label %133

133:                                              ; preds = %107, %120
  %134 = add nuw i64 %.07688, 1
  %135 = load i64, ptr %71, align 8, !tbaa !43
  %136 = icmp ult i64 %134, %135
  br i1 %136, label %101, label %._crit_edge, !llvm.loop !61

137:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #9
  store float 0.000000e+00, ptr %6, align 4, !tbaa !62
  %138 = load i64, ptr %12, align 8, !tbaa !29
  %139 = load i64, ptr %10, align 8, !tbaa !28
  %140 = mul i64 %139, %138
  call void @_ZN4Simd4Base12SynetRelu32fEPKfmS2_Pf(ptr noundef %25, i64 noundef %140, ptr noundef nonnull %6, ptr noundef %25)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #9
  br label %.loopexit

141:                                              ; preds = %._crit_edge
  %142 = load i64, ptr %12, align 8, !tbaa !29
  %143 = load i64, ptr %10, align 8, !tbaa !28
  %144 = mul i64 %143, %142
  %145 = getelementptr inbounds i8, ptr %0, i64 504
  %146 = load ptr, ptr %145, align 8, !tbaa !64
  call void @_ZN4Simd4Base12SynetRelu32fEPKfmS2_Pf(ptr noundef %25, i64 noundef %144, ptr noundef %146, ptr noundef %25)
  br label %.loopexit

147:                                              ; preds = %._crit_edge
  %148 = load i64, ptr %12, align 8, !tbaa !29
  %149 = load i64, ptr %10, align 8, !tbaa !28
  %150 = mul i64 %149, %148
  %151 = getelementptr inbounds i8, ptr %0, i64 504
  %152 = load ptr, ptr %151, align 8, !tbaa !64
  %153 = getelementptr inbounds i8, ptr %152, i64 4
  call void @_ZN4Simd4Base21SynetRestrictRange32fEPKfmS2_S2_Pf(ptr noundef %25, i64 noundef %150, ptr noundef %152, ptr noundef nonnull %153, ptr noundef %25)
  br label %.loopexit

154:                                              ; preds = %.lr.ph91, %154
  %.090 = phi i64 [ 0, %.lr.ph91 ], [ %164, %154 ]
  %155 = load i64, ptr %10, align 8, !tbaa !28
  %156 = mul i64 %155, %.090
  %157 = getelementptr inbounds float, ptr %25, i64 %156
  %158 = load ptr, ptr %100, align 8, !tbaa !64
  %159 = load i64, ptr %85, align 8, !tbaa !44
  %160 = load i64, ptr %87, align 8, !tbaa !45
  %161 = load i64, ptr %89, align 8, !tbaa !46
  %162 = mul i64 %161, %160
  %163 = load i32, ptr %91, align 4, !tbaa !47
  call void @_ZN4Simd4Base22SynetPreluLayerForwardEPKfS2_mmPf20SimdTensorFormatType(ptr noundef %157, ptr noundef %158, i64 noundef %159, i64 noundef %162, ptr noundef %157, i32 noundef %163)
  %164 = add nuw i64 %.090, 1
  %165 = load i64, ptr %12, align 8, !tbaa !29
  %166 = icmp ult i64 %164, %165
  br i1 %166, label %154, label %.loopexit, !llvm.loop !65

167:                                              ; preds = %._crit_edge
  %168 = load i64, ptr %12, align 8, !tbaa !29
  %169 = load i64, ptr %10, align 8, !tbaa !28
  %170 = mul i64 %169, %168
  %171 = getelementptr inbounds i8, ptr %0, i64 504
  %172 = load ptr, ptr %171, align 8, !tbaa !64
  call void @_ZN4Simd4Base11SynetElu32fEPKfmS2_Pf(ptr noundef %25, i64 noundef %170, ptr noundef %172, ptr noundef %25)
  br label %.loopexit

173:                                              ; preds = %._crit_edge
  %174 = load i64, ptr %12, align 8, !tbaa !29
  %175 = load i64, ptr %10, align 8, !tbaa !28
  %176 = mul i64 %175, %174
  %177 = getelementptr inbounds i8, ptr %0, i64 504
  %178 = load ptr, ptr %177, align 8, !tbaa !64
  %179 = getelementptr inbounds i8, ptr %178, i64 4
  call void @_ZN4Simd4Base14SynetHswish32fEPKfmS2_S2_Pf(ptr noundef %25, i64 noundef %176, ptr noundef %178, ptr noundef nonnull %179, ptr noundef %25)
  br label %.loopexit

180:                                              ; preds = %._crit_edge
  %181 = load i64, ptr %12, align 8, !tbaa !29
  %182 = load i64, ptr %10, align 8, !tbaa !28
  %183 = mul i64 %182, %181
  %184 = getelementptr inbounds i8, ptr %0, i64 504
  %185 = load ptr, ptr %184, align 8, !tbaa !64
  call void @_ZN4Simd4Base12SynetMish32fEPKfmS2_Pf(ptr noundef %25, i64 noundef %183, ptr noundef %185, ptr noundef %25)
  br label %.loopexit

186:                                              ; preds = %._crit_edge
  %187 = load i64, ptr %12, align 8, !tbaa !29
  %188 = load i64, ptr %10, align 8, !tbaa !28
  %189 = mul i64 %188, %187
  %190 = getelementptr inbounds i8, ptr %0, i64 504
  %191 = load ptr, ptr %190, align 8, !tbaa !64
  %192 = getelementptr inbounds i8, ptr %191, i64 4
  call void @_ZN4Simd4Base19SynetHardSigmoid32fEPKfmS2_S2_Pf(ptr noundef %25, i64 noundef %189, ptr noundef %191, ptr noundef nonnull %192, ptr noundef %25)
  br label %.loopexit

193:                                              ; preds = %._crit_edge
  %194 = load i64, ptr %12, align 8, !tbaa !29
  %195 = load i64, ptr %10, align 8, !tbaa !28
  %196 = mul i64 %195, %194
  %197 = getelementptr inbounds i8, ptr %0, i64 504
  %198 = load ptr, ptr %197, align 8, !tbaa !64
  call void @_ZN4Simd4Base13SynetSwish32fEPKfmS2_Pf(ptr noundef %25, i64 noundef %196, ptr noundef %198, ptr noundef %25)
  br label %.loopexit

199:                                              ; preds = %._crit_edge
  %200 = load i64, ptr %12, align 8, !tbaa !29
  %201 = load i64, ptr %10, align 8, !tbaa !28
  %202 = mul i64 %201, %200
  call void @_ZN4Simd4Base12SynetGelu32fEPKfmPf(ptr noundef %25, i64 noundef %202, ptr noundef %25)
  br label %.loopexit

203:                                              ; preds = %._crit_edge
  call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 389, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4Simd4Base24SynetConvolution8iGemmNN9Forward8uEPKhPhS4_) #8
  unreachable

.loopexit:                                        ; preds = %154, %.preheader, %199, %193, %186, %180, %173, %167, %147, %141, %137, %._crit_edge
  %204 = load i8, ptr %16, align 1, !tbaa !30, !range !31, !noundef !32
  %205 = trunc nuw i8 %204 to i1
  br i1 %205, label %206, label %220

206:                                              ; preds = %.loopexit
  %207 = load i64, ptr %12, align 8, !tbaa !29
  %208 = load i64, ptr %85, align 8, !tbaa !44
  %209 = load i64, ptr %87, align 8, !tbaa !45
  %210 = load i64, ptr %89, align 8, !tbaa !46
  %211 = load i32, ptr %91, align 4, !tbaa !47
  %212 = getelementptr inbounds i8, ptr %0, i64 368
  %213 = load ptr, ptr %212, align 8, !tbaa !66
  %214 = getelementptr inbounds i8, ptr %0, i64 384
  %215 = load ptr, ptr %214, align 8, !tbaa !67
  %216 = getelementptr inbounds i8, ptr %0, i64 444
  %217 = load i32, ptr %216, align 4, !tbaa !68
  %218 = getelementptr inbounds i8, ptr %0, i64 448
  %219 = load i32, ptr %218, align 8, !tbaa !69
  call void @_ZN4Simd4Base7ConvertIfhfEEvPKT_mmmm20SimdTensorFormatTypePKT1_S8_iiPT0_(ptr noundef %25, i64 noundef %207, i64 noundef %208, i64 noundef %209, i64 noundef %210, i32 noundef %211, ptr noundef %213, ptr noundef %215, i32 noundef %217, i32 noundef %219, ptr noundef %3)
  br label %220

220:                                              ; preds = %206, %.loopexit
  ret void
}

; 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 #4

; 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 #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd4Base8ImgToRowEPKhRK25SimdConvolutionParametersS2_Ph(ptr noundef, ptr noundef nonnull align 8 dereferenceable(160), ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd4Base8ImgToColEPKhRKNS_9ConvParamES2_Ph(ptr noundef, ptr noundef nonnull align 8 dereferenceable(180), ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4Simd4Base8GemmNhwcEmmmmPKhmPKamPimb(i64 noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i1 noundef zeroext) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4Simd4Base8GemmNchwEmmmmPKamPKhmPimb(i64 noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i1 noundef zeroext) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Simd4Base7ConvertIiffEEvPKT_mmmm20SimdTensorFormatTypePKT1_S8_iiPT0_(ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN4Simd4Base12SynetRelu32fEPKfmS2_Pf(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #7

declare void @_ZN4Simd4Base21SynetRestrictRange32fEPKfmS2_S2_Pf(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #7

declare void @_ZN4Simd4Base22SynetPreluLayerForwardEPKfS2_mmPf20SimdTensorFormatType(ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #7

declare void @_ZN4Simd4Base11SynetElu32fEPKfmS2_Pf(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #7

declare void @_ZN4Simd4Base14SynetHswish32fEPKfmS2_S2_Pf(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #7

declare void @_ZN4Simd4Base12SynetMish32fEPKfmS2_Pf(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #7

declare void @_ZN4Simd4Base19SynetHardSigmoid32fEPKfmS2_S2_Pf(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #7

declare void @_ZN4Simd4Base13SynetSwish32fEPKfmS2_Pf(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #7

declare void @_ZN4Simd4Base12SynetGelu32fEPKfmPf(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Simd4Base7ConvertIfhfEEvPKT_mmmm20SimdTensorFormatTypePKT1_S8_iiPT0_(ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "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" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint 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 #7 = { "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 #8 = { noreturn nounwind }
attributes #9 = { 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, !6, i64 456}
!10 = !{!"_ZTSN4Simd18SynetConvolution8iE", !11, i64 0, !12, i64 8, !20, i64 192, !21, i64 208, !6, i64 240, !23, i64 248, !23, i64 352, !27, i64 456, !24, i64 472, !24, i64 488, !24, i64 504, !25, i64 520, !25, i64 521, !14, i64 528, !14, i64 536, !14, i64 544}
!11 = !{!"_ZTSN4Simd9DeletableE"}
!12 = !{!"_ZTSN4Simd9ConvParamE", !13, i64 0, !18, i64 160, !14, i64 168, !19, i64 176}
!13 = !{!"_ZTS25SimdConvolutionParameters", !14, i64 0, !14, i64 8, !14, i64 16, !15, i64 24, !16, i64 28, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !16, i64 60, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !14, i64 136, !14, i64 144, !17, i64 152}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_ZTS18SimdTensorDataType", !7, i64 0}
!16 = !{!"_ZTS20SimdTensorFormatType", !7, i64 0}
!17 = !{!"_ZTS29SimdConvolutionActivationType", !7, i64 0}
!18 = !{!"_ZTS8SimdBool", !7, i64 0}
!19 = !{!"_ZTS26SimdSynetCompatibilityType", !7, i64 0}
!20 = !{!"_ZTSN4Simd5ArrayIhEE", !6, i64 0, !14, i64 8}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !22, i64 0, !14, i64 8, !7, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!23 = !{!"_ZTSN4Simd8CvtParamE", !20, i64 0, !24, i64 16, !24, i64 32, !24, i64 48, !24, i64 64, !25, i64 80, !26, i64 84, !26, i64 88, !26, i64 92, !26, i64 96}
!24 = !{!"_ZTSN4Simd5ArrayIfEE", !6, i64 0, !14, i64 8}
!25 = !{!"bool", !7, i64 0}
!26 = !{!"int", !7, i64 0}
!27 = !{!"_ZTSN4Simd5ArrayIaEE", !6, i64 0, !14, i64 8}
!28 = !{!10, !14, i64 544}
!29 = !{!10, !14, i64 528}
!30 = !{!10, !25, i64 521}
!31 = !{i8 0, i8 2}
!32 = !{}
!33 = !{!34, !25, i64 552}
!34 = !{!"_ZTSN4Simd4Base24SynetConvolution8iGemmNNE", !10, i64 0, !25, i64 552, !14, i64 560, !14, i64 568, !14, i64 576, !14, i64 584, !14, i64 592, !14, i64 600, !14, i64 608, !14, i64 616, !14, i64 624, !14, i64 632, !14, i64 640}
!35 = !{!10, !6, i64 248}
!36 = !{!12, !18, i64 160}
!37 = !{!10, !14, i64 536}
!38 = !{!34, !14, i64 640}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}
!41 = distinct !{!41, !40}
!42 = !{!12, !19, i64 176}
!43 = !{!13, !14, i64 144}
!44 = !{!13, !14, i64 32}
!45 = !{!13, !14, i64 40}
!46 = !{!13, !14, i64 48}
!47 = !{!13, !16, i64 60}
!48 = !{!10, !6, i64 472}
!49 = !{!10, !6, i64 488}
!50 = !{!13, !17, i64 152}
!51 = !{!34, !14, i64 600}
!52 = !{!34, !14, i64 576}
!53 = !{!34, !14, i64 624}
!54 = !{!34, !14, i64 632}
!55 = !{!34, !14, i64 616}
!56 = !{!34, !14, i64 608}
!57 = !{!34, !14, i64 592}
!58 = !{!34, !14, i64 568}
!59 = !{!34, !14, i64 584}
!60 = !{!34, !14, i64 560}
!61 = distinct !{!61, !40}
!62 = !{!63, !63, i64 0}
!63 = !{!"float", !7, i64 0}
!64 = !{!10, !6, i64 504}
!65 = distinct !{!65, !40}
!66 = !{!10, !6, i64 368}
!67 = !{!10, !6, i64 384}
!68 = !{!10, !26, i64 444}
!69 = !{!10, !26, i64 448}


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