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

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

; 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 @_ZN4Simd4Base27SynetConvolution16bNhwcGemm11SetAlgParamEmmmmmmm(ptr noundef nonnull align 8 dereferenceable(480) %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6, i64 noundef %7) #1 align 2 {
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store i64 %1, ptr %10, align 8, !tbaa !9
  store i64 %2, ptr %11, align 8, !tbaa !9
  store i64 %3, ptr %12, align 8, !tbaa !9
  store i64 %4, ptr %13, align 8, !tbaa !9
  store i64 %5, ptr %14, align 8, !tbaa !9
  store i64 %6, ptr %15, align 8, !tbaa !9
  store i64 %7, ptr %16, align 8, !tbaa !9
  %21 = load ptr, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %22 = getelementptr inbounds %"class.Simd::SynetConvolution16b", ptr %21, i32 0, i32 1
  store ptr %22, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %23 = getelementptr inbounds %"class.Simd::Base::SynetConvolution16bNhwcGemm", ptr %21, i32 0, i32 1
  store ptr %23, ptr %18, align 8, !tbaa !5
  %24 = load ptr, ptr %17, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %24, i32 0, i32 7
  %26 = load i64, ptr %25, align 8, !tbaa !11
  %27 = load ptr, ptr %17, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %27, i32 0, i32 6
  %29 = load i64, ptr %28, align 8, !tbaa !16
  %30 = mul i64 %26, %29
  %31 = load ptr, ptr %18, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %31, i32 0, i32 2
  store i64 %30, ptr %32, align 8, !tbaa !17
  %33 = load ptr, ptr %17, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %33, i32 0, i32 0
  %35 = load i64, ptr %34, align 8, !tbaa !20
  %36 = load ptr, ptr %17, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %36, i32 0, i32 10
  %38 = load i64, ptr %37, align 8, !tbaa !21
  %39 = mul i64 %35, %38
  %40 = load ptr, ptr %17, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %40, i32 0, i32 11
  %42 = load i64, ptr %41, align 8, !tbaa !22
  %43 = mul i64 %39, %42
  %44 = load ptr, ptr %18, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %44, i32 0, i32 1
  store i64 %43, ptr %45, align 8, !tbaa !23
  %46 = load i64, ptr %10, align 8, !tbaa !9
  %47 = load ptr, ptr %18, align 8, !tbaa !5
  %48 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %47, i32 0, i32 3
  store i64 %46, ptr %48, align 8, !tbaa !24
  %49 = load i64, ptr %11, align 8, !tbaa !9
  %50 = load ptr, ptr %18, align 8, !tbaa !5
  %51 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %50, i32 0, i32 4
  store i64 %49, ptr %51, align 8, !tbaa !25
  %52 = load i64, ptr %12, align 8, !tbaa !9
  %53 = load ptr, ptr %18, align 8, !tbaa !5
  %54 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %53, i32 0, i32 5
  store i64 %52, ptr %54, align 8, !tbaa !26
  %55 = load i64, ptr %13, align 8, !tbaa !9
  %56 = load ptr, ptr %18, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %56, i32 0, i32 6
  store i64 %55, ptr %57, align 8, !tbaa !27
  %58 = load ptr, ptr %17, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %58, i32 0, i32 5
  %60 = load i64, ptr %59, align 8, !tbaa !28
  %61 = load ptr, ptr %18, align 8, !tbaa !5
  %62 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %61, i32 0, i32 4
  %63 = load i64, ptr %62, align 8, !tbaa !25
  %64 = call noundef i64 @_ZN4Simd10AlignHiAnyEmm(i64 noundef %60, i64 noundef %63)
  %65 = load ptr, ptr %18, align 8, !tbaa !5
  %66 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %65, i32 0, i32 10
  store i64 %64, ptr %66, align 8, !tbaa !29
  %67 = load ptr, ptr %18, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %67, i32 0, i32 1
  %69 = load i64, ptr %68, align 8, !tbaa !23
  %70 = load ptr, ptr %18, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %70, i32 0, i32 6
  %72 = load i64, ptr %71, align 8, !tbaa !27
  %73 = call noundef i64 @_ZN4Simd7AlignHiEmm(i64 noundef %69, i64 noundef %72)
  %74 = load ptr, ptr %18, align 8, !tbaa !5
  %75 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %74, i32 0, i32 12
  store i64 %73, ptr %75, align 8, !tbaa !30
  %76 = load i64, ptr %14, align 8, !tbaa !9
  %77 = load ptr, ptr %18, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %77, i32 0, i32 4
  %79 = load i64, ptr %78, align 8, !tbaa !25
  %80 = udiv i64 %76, %79
  %81 = udiv i64 %80, 2
  %82 = load ptr, ptr %18, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %82, i32 0, i32 6
  %84 = load i64, ptr %83, align 8, !tbaa !27
  %85 = call noundef i64 @_ZN4Simd7AlignLoEmm(i64 noundef %81, i64 noundef %84)
  %86 = load ptr, ptr %18, align 8, !tbaa !5
  %87 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %86, i32 0, i32 6
  %88 = load i64, ptr %87, align 8, !tbaa !27
  %89 = load ptr, ptr %18, align 8, !tbaa !5
  %90 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %89, i32 0, i32 12
  %91 = load i64, ptr %90, align 8, !tbaa !30
  %92 = call noundef i64 @_ZN4Simd13RestrictRangeImEET_S1_S1_S1_(i64 noundef %85, i64 noundef %88, i64 noundef %91)
  %93 = load ptr, ptr %18, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %93, i32 0, i32 9
  store i64 %92, ptr %94, align 8, !tbaa !31
  %95 = load ptr, ptr %18, align 8, !tbaa !5
  %96 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %95, i32 0, i32 0
  store i64 1, ptr %96, align 8, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %97 = load ptr, ptr %18, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %97, i32 0, i32 2
  %99 = load i64, ptr %98, align 8, !tbaa !17
  %100 = load ptr, ptr %18, align 8, !tbaa !5
  %101 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %100, i32 0, i32 12
  %102 = load i64, ptr %101, align 8, !tbaa !30
  %103 = mul i64 %99, %102
  %104 = mul i64 %103, 2
  store i64 %104, ptr %19, align 8, !tbaa !9
  %105 = load i64, ptr %19, align 8, !tbaa !9
  %106 = mul i64 %105, 2
  %107 = load i64, ptr %15, align 8, !tbaa !9
  %108 = icmp ule i64 %106, %107
  br i1 %108, label %109, label %144

109:                                              ; preds = %8
  %110 = load ptr, ptr %17, align 8, !tbaa !5
  %111 = getelementptr inbounds %"struct.Simd::ConvParam", ptr %110, i32 0, i32 3
  %112 = load i64, ptr %111, align 8, !tbaa !33
  %113 = icmp ugt i64 %112, 1
  br i1 %113, label %114, label %144

114:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  store i64 1, ptr %20, align 8, !tbaa !9
  br label %115

115:                                              ; preds = %140, %114
  %116 = load i64, ptr %20, align 8, !tbaa !9
  %117 = load ptr, ptr %17, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.Simd::ConvParam", ptr %117, i32 0, i32 3
  %119 = load i64, ptr %118, align 8, !tbaa !33
  %120 = icmp ule i64 %116, %119
  br i1 %120, label %122, label %121

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

122:                                              ; preds = %115
  %123 = load ptr, ptr %17, align 8, !tbaa !5
  %124 = getelementptr inbounds %"struct.Simd::ConvParam", ptr %123, i32 0, i32 3
  %125 = load i64, ptr %124, align 8, !tbaa !33
  %126 = load i64, ptr %20, align 8, !tbaa !9
  %127 = urem i64 %125, %126
  %128 = icmp eq i64 %127, 0
  br i1 %128, label %129, label %139

129:                                              ; preds = %122
  %130 = load i64, ptr %20, align 8, !tbaa !9
  %131 = load i64, ptr %19, align 8, !tbaa !9
  %132 = mul i64 %130, %131
  %133 = load i64, ptr %15, align 8, !tbaa !9
  %134 = icmp ule i64 %132, %133
  br i1 %134, label %135, label %139

135:                                              ; preds = %129
  %136 = load i64, ptr %20, align 8, !tbaa !9
  %137 = load ptr, ptr %18, align 8, !tbaa !5
  %138 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %137, i32 0, i32 0
  store i64 %136, ptr %138, align 8, !tbaa !32
  br label %139

139:                                              ; preds = %135, %129, %122
  br label %140

140:                                              ; preds = %139
  %141 = load i64, ptr %20, align 8, !tbaa !9
  %142 = add i64 %141, 1
  store i64 %142, ptr %20, align 8, !tbaa !9
  br label %115, !llvm.loop !37

143:                                              ; preds = %121
  br label %144

144:                                              ; preds = %143, %109, %8
  %145 = load i64, ptr %15, align 8, !tbaa !9
  %146 = load ptr, ptr %18, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %146, i32 0, i32 9
  %148 = load i64, ptr %147, align 8, !tbaa !31
  %149 = udiv i64 %145, %148
  %150 = load ptr, ptr %17, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %150, i32 0, i32 7
  %152 = load i64, ptr %151, align 8, !tbaa !11
  %153 = udiv i64 %149, %152
  %154 = udiv i64 %153, 2
  %155 = load ptr, ptr %17, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %155, i32 0, i32 6
  %157 = load i64, ptr %156, align 8, !tbaa !16
  %158 = load ptr, ptr %18, align 8, !tbaa !5
  %159 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %158, i32 0, i32 0
  %160 = load i64, ptr %159, align 8, !tbaa !32
  %161 = mul i64 %157, %160
  %162 = call noundef i64 @_ZN4Simd13RestrictRangeImEET_S1_S1_S1_(i64 noundef %154, i64 noundef 1, i64 noundef %161)
  %163 = load ptr, ptr %18, align 8, !tbaa !5
  %164 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %163, i32 0, i32 8
  store i64 %162, ptr %164, align 8, !tbaa !39
  %165 = load i64, ptr %16, align 8, !tbaa !9
  %166 = load ptr, ptr %18, align 8, !tbaa !5
  %167 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %166, i32 0, i32 9
  %168 = load i64, ptr %167, align 8, !tbaa !31
  %169 = udiv i64 %165, %168
  %170 = udiv i64 %169, 2
  %171 = load ptr, ptr %18, align 8, !tbaa !5
  %172 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %171, i32 0, i32 4
  %173 = load i64, ptr %172, align 8, !tbaa !25
  %174 = call noundef i64 @_ZN4Simd10AlignLoAnyEmm(i64 noundef %170, i64 noundef %173)
  %175 = load ptr, ptr %18, align 8, !tbaa !5
  %176 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %175, i32 0, i32 4
  %177 = load i64, ptr %176, align 8, !tbaa !25
  %178 = load ptr, ptr %18, align 8, !tbaa !5
  %179 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %178, i32 0, i32 10
  %180 = load i64, ptr %179, align 8, !tbaa !29
  %181 = call noundef i64 @_ZN4Simd13RestrictRangeImEET_S1_S1_S1_(i64 noundef %174, i64 noundef %177, i64 noundef %180)
  %182 = load ptr, ptr %18, align 8, !tbaa !5
  %183 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %182, i32 0, i32 7
  store i64 %181, ptr %183, align 8, !tbaa !40
  %184 = load ptr, ptr %18, align 8, !tbaa !5
  %185 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %184, i32 0, i32 0
  %186 = load i64, ptr %185, align 8, !tbaa !32
  %187 = load ptr, ptr %17, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %187, i32 0, i32 6
  %189 = load i64, ptr %188, align 8, !tbaa !16
  %190 = mul i64 %186, %189
  %191 = load ptr, ptr %17, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %191, i32 0, i32 7
  %193 = load i64, ptr %192, align 8, !tbaa !11
  %194 = load ptr, ptr %18, align 8, !tbaa !5
  %195 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %194, i32 0, i32 3
  %196 = load i64, ptr %195, align 8, !tbaa !24
  %197 = call noundef i64 @_ZN4Simd7AlignHiEmm(i64 noundef %193, i64 noundef %196)
  %198 = mul i64 %190, %197
  %199 = load ptr, ptr %18, align 8, !tbaa !5
  %200 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %199, i32 0, i32 11
  store i64 %198, ptr %200, align 8, !tbaa !41
  %201 = getelementptr inbounds %"class.Simd::SynetConvolution16b", ptr %21, i32 0, i32 11
  %202 = load i64, ptr %201, align 8, !tbaa !42
  %203 = load ptr, ptr %18, align 8, !tbaa !5
  %204 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %203, i32 0, i32 13
  store i64 %202, ptr %204, align 8, !tbaa !51
  %205 = load ptr, ptr %18, align 8, !tbaa !5
  %206 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %205, i32 0, i32 15
  store i32 0, ptr %206, align 8, !tbaa !52
  %207 = getelementptr inbounds %"class.Simd::SynetConvolution16b", ptr %21, i32 0, i32 8
  %208 = load i8, ptr %207, align 1, !tbaa !53, !range !54, !noundef !55
  %209 = trunc i8 %208 to i1
  br i1 %209, label %210, label %218

210:                                              ; preds = %144
  %211 = load ptr, ptr %18, align 8, !tbaa !5
  %212 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %211, i32 0, i32 9
  %213 = load i64, ptr %212, align 8, !tbaa !31
  %214 = load ptr, ptr %18, align 8, !tbaa !5
  %215 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %214, i32 0, i32 1
  %216 = load i64, ptr %215, align 8, !tbaa !23
  %217 = icmp ult i64 %213, %216
  br i1 %217, label %223, label %218

218:                                              ; preds = %210, %144
  %219 = load ptr, ptr %18, align 8, !tbaa !5
  %220 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %219, i32 0, i32 6
  %221 = load i64, ptr %220, align 8, !tbaa !27
  %222 = icmp ugt i64 %221, 2
  br label %223

223:                                              ; preds = %218, %210
  %224 = phi i1 [ true, %210 ], [ %222, %218 ]
  %225 = zext i1 %224 to i64
  %226 = select i1 %224, i32 1, i32 0
  %227 = load ptr, ptr %18, align 8, !tbaa !5
  %228 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %227, i32 0, i32 16
  store i32 %226, ptr %228, align 4, !tbaa !56
  %229 = load ptr, ptr %18, align 8, !tbaa !5
  %230 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %229, i32 0, i32 16
  %231 = load i32, ptr %230, align 4, !tbaa !56
  %232 = icmp eq i32 %231, 0
  br i1 %232, label %233, label %247

233:                                              ; preds = %223
  %234 = load ptr, ptr %18, align 8, !tbaa !5
  %235 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %234, i32 0, i32 7
  %236 = load i64, ptr %235, align 8, !tbaa !40
  %237 = load ptr, ptr %17, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %237, i32 0, i32 5
  %239 = load i64, ptr %238, align 8, !tbaa !28
  %240 = icmp ugt i64 %236, %239
  br i1 %240, label %241, label %247

241:                                              ; preds = %233
  %242 = load ptr, ptr %17, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %242, i32 0, i32 5
  %244 = load i64, ptr %243, align 8, !tbaa !28
  %245 = load ptr, ptr %18, align 8, !tbaa !5
  %246 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %245, i32 0, i32 7
  store i64 %244, ptr %246, align 8, !tbaa !40
  br label %247

247:                                              ; preds = %241, %233, %223
  %248 = load ptr, ptr %18, align 8, !tbaa !5
  %249 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %248, i32 0, i32 16
  %250 = load i32, ptr %249, align 4, !tbaa !56
  %251 = icmp ne i32 %250, 0
  br i1 %251, label %252, label %256

252:                                              ; preds = %247
  %253 = load ptr, ptr %18, align 8, !tbaa !5
  %254 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %253, i32 0, i32 7
  %255 = load i64, ptr %254, align 8, !tbaa !40
  br label %260

256:                                              ; preds = %247
  %257 = load ptr, ptr %17, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %257, i32 0, i32 5
  %259 = load i64, ptr %258, align 8, !tbaa !28
  br label %260

260:                                              ; preds = %256, %252
  %261 = phi i64 [ %255, %252 ], [ %259, %256 ]
  %262 = load ptr, ptr %18, align 8, !tbaa !5
  %263 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %262, i32 0, i32 14
  store i64 %261, ptr %263, align 8, !tbaa !57
  %264 = load ptr, ptr %17, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %264, i32 0, i32 1
  %266 = load i64, ptr %265, align 8, !tbaa !58
  %267 = load ptr, ptr %17, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %267, i32 0, i32 2
  %269 = load i64, ptr %268, align 8, !tbaa !59
  %270 = mul i64 %266, %269
  %271 = load ptr, ptr %17, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %271, i32 0, i32 0
  %273 = load i64, ptr %272, align 8, !tbaa !20
  %274 = mul i64 %270, %273
  %275 = load ptr, ptr %18, align 8, !tbaa !5
  %276 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %275, i32 0, i32 0
  %277 = load i64, ptr %276, align 8, !tbaa !32
  %278 = mul i64 %274, %277
  %279 = getelementptr inbounds %"class.Simd::SynetConvolution16b", ptr %21, i32 0, i32 10
  %280 = load i64, ptr %279, align 8, !tbaa !60
  %281 = mul i64 %278, %280
  %282 = getelementptr inbounds %"class.Simd::SynetConvolution16b", ptr %21, i32 0, i32 12
  store i64 %281, ptr %282, align 8, !tbaa !61
  %283 = load ptr, ptr %17, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %283, i32 0, i32 6
  %285 = load i64, ptr %284, align 8, !tbaa !16
  %286 = load ptr, ptr %17, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %286, i32 0, i32 7
  %288 = load i64, ptr %287, align 8, !tbaa !11
  %289 = mul i64 %285, %288
  %290 = load ptr, ptr %17, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %290, i32 0, i32 5
  %292 = load i64, ptr %291, align 8, !tbaa !28
  %293 = mul i64 %289, %292
  %294 = load ptr, ptr %18, align 8, !tbaa !5
  %295 = getelementptr inbounds %"struct.Simd::Base::SynetConvolution16bNhwcGemm::AlgParam", ptr %294, i32 0, i32 0
  %296 = load i64, ptr %295, align 8, !tbaa !32
  %297 = mul i64 %293, %296
  %298 = getelementptr inbounds %"class.Simd::SynetConvolution16b", ptr %21, i32 0, i32 11
  %299 = load i64, ptr %298, align 8, !tbaa !42
  %300 = mul i64 %297, %299
  %301 = getelementptr inbounds %"class.Simd::SynetConvolution16b", ptr %21, i32 0, i32 13
  store i64 %300, ptr %301, align 8, !tbaa !62
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  ret void
}

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

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN4Simd10AlignLoAnyEmm(i64 noundef, i64 noundef) #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 = { 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 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 48}
!12 = !{!"_ZTS25SimdConvolutionParameters", !10, i64 0, !10, i64 8, !10, i64 16, !13, i64 24, !14, i64 28, !10, i64 32, !10, i64 40, !10, i64 48, !13, i64 56, !14, 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, !15, i64 152}
!13 = !{!"_ZTS18SimdTensorDataType", !7, i64 0}
!14 = !{!"_ZTS20SimdTensorFormatType", !7, i64 0}
!15 = !{!"_ZTS29SimdConvolutionActivationType", !7, i64 0}
!16 = !{!12, !10, i64 40}
!17 = !{!18, !10, i64 16}
!18 = !{!"_ZTSN4Simd4Base27SynetConvolution16bNhwcGemm8AlgParamE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !19, i64 120, !19, i64 124}
!19 = !{!"int", !7, i64 0}
!20 = !{!12, !10, i64 0}
!21 = !{!12, !10, i64 64}
!22 = !{!12, !10, i64 72}
!23 = !{!18, !10, i64 8}
!24 = !{!18, !10, i64 24}
!25 = !{!18, !10, i64 32}
!26 = !{!18, !10, i64 40}
!27 = !{!18, !10, i64 48}
!28 = !{!12, !10, i64 32}
!29 = !{!18, !10, i64 80}
!30 = !{!18, !10, i64 96}
!31 = !{!18, !10, i64 72}
!32 = !{!18, !10, i64 0}
!33 = !{!34, !10, i64 168}
!34 = !{!"_ZTSN4Simd9ConvParamE", !12, i64 0, !35, i64 160, !10, i64 168, !36, i64 176}
!35 = !{!"_ZTS8SimdBool", !7, i64 0}
!36 = !{!"_ZTS26SimdSynetCompatibilityType", !7, i64 0}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!18, !10, i64 64}
!40 = !{!18, !10, i64 56}
!41 = !{!18, !10, i64 88}
!42 = !{!43, !10, i64 304}
!43 = !{!"_ZTSN4Simd19SynetConvolution16bE", !44, i64 0, !34, i64 8, !45, i64 192, !46, i64 208, !48, i64 240, !49, i64 256, !49, i64 272, !50, i64 288, !50, i64 289, !50, i64 290, !10, i64 296, !10, i64 304, !10, i64 312, !10, i64 320}
!44 = !{!"_ZTSN4Simd9DeletableE"}
!45 = !{!"_ZTSN4Simd5ArrayIhEE", !6, i64 0, !10, i64 8}
!46 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !47, i64 0, !10, i64 8, !7, i64 16}
!47 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!48 = !{!"_ZTSN4Simd5ArrayItEE", !6, i64 0, !10, i64 8}
!49 = !{!"_ZTSN4Simd5ArrayIfEE", !6, i64 0, !10, i64 8}
!50 = !{!"bool", !7, i64 0}
!51 = !{!18, !10, i64 104}
!52 = !{!18, !19, i64 120}
!53 = !{!43, !50, i64 289}
!54 = !{i8 0, i8 2}
!55 = !{}
!56 = !{!18, !19, i64 124}
!57 = !{!18, !10, i64 112}
!58 = !{!12, !10, i64 8}
!59 = !{!12, !10, i64 16}
!60 = !{!43, !10, i64 296}
!61 = !{!43, !10, i64 312}
!62 = !{!43, !10, i64 320}


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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base27SynetConvolution16bNhwcGemm11SetAlgParamEmmmmmmm(ptr nocapture noundef nonnull align 8 dereferenceable(480) %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6, i64 noundef %7) local_unnamed_addr #0 align 2 {
  %9 = getelementptr inbounds i8, ptr %0, i64 8
  %10 = getelementptr inbounds i8, ptr %0, i64 328
  %11 = getelementptr inbounds i8, ptr %0, i64 56
  %12 = load i64, ptr %11, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %0, i64 48
  %14 = load i64, ptr %13, align 8, !tbaa !13
  %15 = mul i64 %14, %12
  %16 = getelementptr inbounds i8, ptr %0, i64 344
  store i64 %15, ptr %16, align 8, !tbaa !14
  %17 = load i64, ptr %9, align 8, !tbaa !17
  %18 = getelementptr inbounds i8, ptr %0, i64 72
  %19 = load i64, ptr %18, align 8, !tbaa !18
  %20 = mul i64 %19, %17
  %21 = getelementptr inbounds i8, ptr %0, i64 80
  %22 = load i64, ptr %21, align 8, !tbaa !19
  %23 = mul i64 %20, %22
  %24 = getelementptr inbounds i8, ptr %0, i64 336
  store i64 %23, ptr %24, align 8, !tbaa !20
  %25 = getelementptr inbounds i8, ptr %0, i64 352
  store i64 %1, ptr %25, align 8, !tbaa !21
  %26 = getelementptr inbounds i8, ptr %0, i64 360
  store i64 %2, ptr %26, align 8, !tbaa !22
  %27 = getelementptr inbounds i8, ptr %0, i64 368
  store i64 %3, ptr %27, align 8, !tbaa !23
  %28 = getelementptr inbounds i8, ptr %0, i64 376
  store i64 %4, ptr %28, align 8, !tbaa !24
  %29 = getelementptr inbounds i8, ptr %0, i64 40
  %30 = load i64, ptr %29, align 8, !tbaa !25
  %31 = tail call noundef i64 @_ZN4Simd10AlignHiAnyEmm(i64 noundef %30, i64 noundef %2)
  %32 = getelementptr inbounds i8, ptr %0, i64 408
  store i64 %31, ptr %32, align 8, !tbaa !26
  %33 = load i64, ptr %24, align 8, !tbaa !20
  %34 = load i64, ptr %28, align 8, !tbaa !24
  %35 = tail call noundef i64 @_ZN4Simd7AlignHiEmm(i64 noundef %33, i64 noundef %34)
  %36 = getelementptr inbounds i8, ptr %0, i64 424
  store i64 %35, ptr %36, align 8, !tbaa !27
  %37 = load i64, ptr %26, align 8, !tbaa !22
  %38 = udiv i64 %5, %37
  %39 = lshr i64 %38, 1
  %40 = load i64, ptr %28, align 8, !tbaa !24
  %41 = tail call noundef i64 @_ZN4Simd7AlignLoEmm(i64 noundef %39, i64 noundef %40)
  %42 = load i64, ptr %28, align 8, !tbaa !24
  %43 = load i64, ptr %36, align 8, !tbaa !27
  %44 = tail call noundef i64 @_ZN4Simd13RestrictRangeImEET_S1_S1_S1_(i64 noundef %41, i64 noundef %42, i64 noundef %43)
  %45 = getelementptr inbounds i8, ptr %0, i64 400
  store i64 %44, ptr %45, align 8, !tbaa !28
  store i64 1, ptr %10, align 8, !tbaa !29
  %46 = load i64, ptr %16, align 8, !tbaa !14
  %47 = load i64, ptr %36, align 8, !tbaa !27
  %48 = mul i64 %47, %46
  %49 = shl i64 %48, 1
  %50 = shl i64 %48, 2
  %.not = icmp ugt i64 %50, %6
  br i1 %.not, label %.loopexit, label %51

51:                                               ; preds = %8
  %52 = getelementptr inbounds i8, ptr %0, i64 176
  %53 = load i64, ptr %52, align 8, !tbaa !30
  %54 = icmp ugt i64 %53, 1
  br i1 %54, label %.preheader.preheader, label %.loopexit

.preheader.preheader:                             ; preds = %51
  %55 = add i64 %53, 1
  %umax = tail call i64 @llvm.umax.i64(i64 %55, i64 2)
  %56 = add i64 %umax, -1
  %xtraiter = and i64 %56, 1
  %57 = icmp ult i64 %55, 3
  br i1 %57, label %.loopexit.loopexit.unr-lcssa, label %.preheader.preheader.new

.preheader.preheader.new:                         ; preds = %.preheader.preheader
  %unroll_iter = and i64 %56, -2
  br label %.preheader

.preheader:                                       ; preds = %72, %.preheader.preheader.new
  %58 = phi i64 [ 1, %.preheader.preheader.new ], [ %67, %72 ]
  %.090 = phi i64 [ 1, %.preheader.preheader.new ], [ %73, %72 ]
  %niter = phi i64 [ 0, %.preheader.preheader.new ], [ %niter.next.1, %72 ]
  %59 = urem i64 %53, %.090
  %60 = icmp ne i64 %59, 0
  %61 = mul i64 %49, %.090
  %.not88 = icmp ugt i64 %61, %6
  %or.cond = or i1 %.not88, %60
  %62 = select i1 %or.cond, i64 %58, i64 %.090
  %63 = add nuw i64 %.090, 1
  %64 = urem i64 %53, %63
  %65 = icmp ne i64 %64, 0
  %66 = mul i64 %49, %63
  %.not88.1 = icmp ugt i64 %66, %6
  %or.cond.1 = or i1 %.not88.1, %65
  %67 = select i1 %or.cond.1, i64 %62, i64 %63
  %68 = xor i1 %or.cond, true
  %69 = xor i1 %or.cond.1, true
  %70 = or i1 %68, %69
  br i1 %70, label %71, label %72

71:                                               ; preds = %.preheader
  store i64 %67, ptr %10, align 8, !tbaa !29
  br label %72

72:                                               ; preds = %.preheader, %71
  %73 = add nuw i64 %.090, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.loopexit.loopexit.unr-lcssa, label %.preheader, !llvm.loop !34

.loopexit.loopexit.unr-lcssa:                     ; preds = %72, %.preheader.preheader
  %.lcssa.ph = phi i64 [ poison, %.preheader.preheader ], [ %67, %72 ]
  %.unr = phi i64 [ 1, %.preheader.preheader ], [ %67, %72 ]
  %.090.unr = phi i64 [ 1, %.preheader.preheader ], [ %73, %72 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.loopexit, label %.preheader.epil

.preheader.epil:                                  ; preds = %.loopexit.loopexit.unr-lcssa
  %74 = urem i64 %53, %.090.unr
  %75 = icmp ne i64 %74, 0
  %76 = mul i64 %49, %.090.unr
  %.not88.epil = icmp ugt i64 %76, %6
  %or.cond.epil = or i1 %.not88.epil, %75
  br i1 %or.cond.epil, label %.loopexit, label %77

77:                                               ; preds = %.preheader.epil
  store i64 %.090.unr, ptr %10, align 8, !tbaa !29
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit.unr-lcssa, %77, %.preheader.epil, %51, %8
  %78 = phi i64 [ 1, %51 ], [ 1, %8 ], [ %.lcssa.ph, %.loopexit.loopexit.unr-lcssa ], [ %.unr, %.preheader.epil ], [ %.090.unr, %77 ]
  %79 = udiv i64 %6, %44
  %80 = load i64, ptr %11, align 8, !tbaa !5
  %81 = udiv i64 %79, %80
  %82 = lshr i64 %81, 1
  %83 = load i64, ptr %13, align 8, !tbaa !13
  %84 = mul i64 %78, %83
  %85 = tail call noundef i64 @_ZN4Simd13RestrictRangeImEET_S1_S1_S1_(i64 noundef %82, i64 noundef 1, i64 noundef %84)
  %86 = getelementptr inbounds i8, ptr %0, i64 392
  store i64 %85, ptr %86, align 8, !tbaa !36
  %87 = load i64, ptr %45, align 8, !tbaa !28
  %88 = udiv i64 %7, %87
  %89 = lshr i64 %88, 1
  %90 = load i64, ptr %26, align 8, !tbaa !22
  %91 = tail call noundef i64 @_ZN4Simd10AlignLoAnyEmm(i64 noundef %89, i64 noundef %90)
  %92 = load i64, ptr %26, align 8, !tbaa !22
  %93 = load i64, ptr %32, align 8, !tbaa !26
  %94 = tail call noundef i64 @_ZN4Simd13RestrictRangeImEET_S1_S1_S1_(i64 noundef %91, i64 noundef %92, i64 noundef %93)
  %95 = getelementptr inbounds i8, ptr %0, i64 384
  store i64 %94, ptr %95, align 8, !tbaa !37
  %96 = load i64, ptr %10, align 8, !tbaa !29
  %97 = load i64, ptr %13, align 8, !tbaa !13
  %98 = mul i64 %97, %96
  %99 = load i64, ptr %11, align 8, !tbaa !5
  %100 = load i64, ptr %25, align 8, !tbaa !21
  %101 = tail call noundef i64 @_ZN4Simd7AlignHiEmm(i64 noundef %99, i64 noundef %100)
  %102 = mul i64 %98, %101
  %103 = getelementptr inbounds i8, ptr %0, i64 416
  store i64 %102, ptr %103, align 8, !tbaa !38
  %104 = getelementptr inbounds i8, ptr %0, i64 304
  %105 = load i64, ptr %104, align 8, !tbaa !39
  %106 = getelementptr inbounds i8, ptr %0, i64 432
  store i64 %105, ptr %106, align 8, !tbaa !49
  %107 = getelementptr inbounds i8, ptr %0, i64 448
  store i32 0, ptr %107, align 8, !tbaa !50
  %108 = getelementptr inbounds i8, ptr %0, i64 289
  %109 = load i8, ptr %108, align 1, !tbaa !51, !range !52, !noundef !53
  %110 = trunc nuw i8 %109 to i1
  br i1 %110, label %111, label %116

111:                                              ; preds = %.loopexit
  %112 = load i64, ptr %45, align 8, !tbaa !28
  %113 = load i64, ptr %24, align 8, !tbaa !20
  %114 = icmp ult i64 %112, %113
  br i1 %114, label %.thread, label %116

.thread:                                          ; preds = %111
  %115 = getelementptr inbounds i8, ptr %0, i64 452
  store i32 1, ptr %115, align 4, !tbaa !54
  %.pre = load i64, ptr %29, align 8, !tbaa !25
  br label %125

116:                                              ; preds = %.loopexit, %111
  %117 = load i64, ptr %28, align 8, !tbaa !24
  %118 = icmp ugt i64 %117, 2
  %119 = zext i1 %118 to i32
  %120 = getelementptr inbounds i8, ptr %0, i64 452
  store i32 %119, ptr %120, align 4, !tbaa !54
  %.pre91 = load i64, ptr %29, align 8, !tbaa !25
  br i1 %118, label %125, label %121

121:                                              ; preds = %116
  %122 = load i64, ptr %95, align 8, !tbaa !37
  %123 = icmp ugt i64 %122, %.pre91
  br i1 %123, label %124, label %125

124:                                              ; preds = %121
  store i64 %.pre91, ptr %95, align 8, !tbaa !37
  br label %125

125:                                              ; preds = %121, %124, %116, %.thread
  %126 = phi i64 [ %.pre, %.thread ], [ %.pre91, %116 ], [ %.pre91, %124 ], [ %.pre91, %121 ]
  %127 = phi ptr [ %95, %.thread ], [ %95, %116 ], [ %29, %124 ], [ %29, %121 ]
  %128 = load i64, ptr %127, align 8, !tbaa !55
  %129 = getelementptr inbounds i8, ptr %0, i64 440
  store i64 %128, ptr %129, align 8, !tbaa !56
  %130 = getelementptr inbounds i8, ptr %0, i64 16
  %131 = load i64, ptr %130, align 8, !tbaa !57
  %132 = getelementptr inbounds i8, ptr %0, i64 24
  %133 = load i64, ptr %132, align 8, !tbaa !58
  %134 = mul i64 %133, %131
  %135 = load i64, ptr %9, align 8, !tbaa !17
  %136 = mul i64 %134, %135
  %137 = load i64, ptr %10, align 8, !tbaa !29
  %138 = mul i64 %136, %137
  %139 = getelementptr inbounds i8, ptr %0, i64 296
  %140 = load i64, ptr %139, align 8, !tbaa !59
  %141 = mul i64 %138, %140
  %142 = getelementptr inbounds i8, ptr %0, i64 312
  store i64 %141, ptr %142, align 8, !tbaa !60
  %143 = load i64, ptr %13, align 8, !tbaa !13
  %144 = load i64, ptr %11, align 8, !tbaa !5
  %145 = mul i64 %137, %105
  %146 = mul i64 %145, %143
  %147 = mul i64 %146, %144
  %148 = mul i64 %147, %126
  %149 = getelementptr inbounds i8, ptr %0, i64 320
  store i64 %148, ptr %149, align 8, !tbaa !61
  ret void
}

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

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #3

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 48}
!6 = !{!"_ZTS25SimdConvolutionParameters", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !11, i64 28, !7, i64 32, !7, i64 40, !7, i64 48, !10, i64 56, !11, i64 60, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !12, i64 152}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS18SimdTensorDataType", !8, i64 0}
!11 = !{!"_ZTS20SimdTensorFormatType", !8, i64 0}
!12 = !{!"_ZTS29SimdConvolutionActivationType", !8, i64 0}
!13 = !{!6, !7, i64 40}
!14 = !{!15, !7, i64 16}
!15 = !{!"_ZTSN4Simd4Base27SynetConvolution16bNhwcGemm8AlgParamE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !16, i64 120, !16, i64 124}
!16 = !{!"int", !8, i64 0}
!17 = !{!6, !7, i64 0}
!18 = !{!6, !7, i64 64}
!19 = !{!6, !7, i64 72}
!20 = !{!15, !7, i64 8}
!21 = !{!15, !7, i64 24}
!22 = !{!15, !7, i64 32}
!23 = !{!15, !7, i64 40}
!24 = !{!15, !7, i64 48}
!25 = !{!6, !7, i64 32}
!26 = !{!15, !7, i64 80}
!27 = !{!15, !7, i64 96}
!28 = !{!15, !7, i64 72}
!29 = !{!15, !7, i64 0}
!30 = !{!31, !7, i64 168}
!31 = !{!"_ZTSN4Simd9ConvParamE", !6, i64 0, !32, i64 160, !7, i64 168, !33, i64 176}
!32 = !{!"_ZTS8SimdBool", !8, i64 0}
!33 = !{!"_ZTS26SimdSynetCompatibilityType", !8, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{!15, !7, i64 64}
!37 = !{!15, !7, i64 56}
!38 = !{!15, !7, i64 88}
!39 = !{!40, !7, i64 304}
!40 = !{!"_ZTSN4Simd19SynetConvolution16bE", !41, i64 0, !31, i64 8, !42, i64 192, !44, i64 208, !46, i64 240, !47, i64 256, !47, i64 272, !48, i64 288, !48, i64 289, !48, i64 290, !7, i64 296, !7, i64 304, !7, i64 312, !7, i64 320}
!41 = !{!"_ZTSN4Simd9DeletableE"}
!42 = !{!"_ZTSN4Simd5ArrayIhEE", !43, i64 0, !7, i64 8}
!43 = !{!"any pointer", !8, i64 0}
!44 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !45, i64 0, !7, i64 8, !8, i64 16}
!45 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !43, i64 0}
!46 = !{!"_ZTSN4Simd5ArrayItEE", !43, i64 0, !7, i64 8}
!47 = !{!"_ZTSN4Simd5ArrayIfEE", !43, i64 0, !7, i64 8}
!48 = !{!"bool", !8, i64 0}
!49 = !{!15, !7, i64 104}
!50 = !{!15, !16, i64 120}
!51 = !{!40, !48, i64 289}
!52 = !{i8 0, i8 2}
!53 = !{}
!54 = !{!15, !16, i64 124}
!55 = !{!7, !7, i64 0}
!56 = !{!15, !7, i64 112}
!57 = !{!6, !7, i64 8}
!58 = !{!6, !7, i64 16}
!59 = !{!40, !7, i64 296}
!60 = !{!40, !7, i64 312}
!61 = !{!40, !7, i64 320}


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