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

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

%"struct.Simd::DeconvParam" = type <{ %struct.SimdConvolutionParameters, i32, [4 x i8], i64, i32, [4 x i8] }>
%struct.SimdConvolutionParameters = type { i64, i64, i64, i32, i32, i64, i64, i64, i32, i32, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i32 }
%"class.Simd::Base::SynetDeconvolution16bGemm" = type { %"class.Simd::SynetDeconvolution16b", i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64 }
%"class.Simd::SynetDeconvolution16b" = type { %"struct.Simd::Deletable", %"struct.Simd::DeconvParam", %"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::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 }

@.str.1 = external hidden unnamed_addr constant [91 x i8], align 1
@_ZTVN4Simd4Base25SynetDeconvolution16bGemmE = external dso_local unnamed_addr constant { [10 x ptr] }, align 8
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@__PRETTY_FUNCTION__._ZN4Simd4Base25SynetDeconvolution16bGemmC2ERKNS_11DeconvParamE = external hidden unnamed_addr constant [86 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Simd21SynetDeconvolution16bC2ERKNS_11DeconvParamE(ptr noundef nonnull align 8 dereferenceable(328), ptr noundef nonnull align 8 dereferenceable(180)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base25SynetDeconvolution16bGemmC2ERKNS_11DeconvParamE(ptr noundef nonnull align 8 dereferenceable(432) %0, ptr noundef nonnull align 8 dereferenceable(180) %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %7 = load ptr, ptr %3, align 8
  %8 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN4Simd21SynetDeconvolution16bC2ERKNS_11DeconvParamE(ptr noundef nonnull align 8 dereferenceable(328) %7, ptr noundef nonnull align 8 dereferenceable(180) %8)
  store ptr getelementptr inbounds inrange(-16, 64) ({ [10 x ptr] }, ptr @_ZTVN4Simd4Base25SynetDeconvolution16bGemmE, i32 0, i32 0, i32 2), ptr %7, align 8, !tbaa !9
  %9 = load ptr, ptr %4, align 8, !tbaa !5
  %10 = getelementptr inbounds %"struct.Simd::DeconvParam", ptr %9, i32 0, i32 1
  %11 = load i32, ptr %10, align 8, !tbaa !11
  %12 = icmp ne i32 %11, 0
  br i1 %12, label %13, label %69

13:                                               ; preds = %2
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %14, i32 0, i32 20
  %16 = load i64, ptr %15, align 8, !tbaa !20
  %17 = icmp eq i64 %16, 1
  br i1 %17, label %18, label %19

18:                                               ; preds = %13
  br label %21

19:                                               ; preds = %13
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 126, ptr noundef @__PRETTY_FUNCTION__._ZN4Simd4Base25SynetDeconvolution16bGemmC2ERKNS_11DeconvParamE) #4
  unreachable

20:                                               ; No predecessors!
  br label %21

21:                                               ; preds = %20, %18
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %22, i32 0, i32 1
  %24 = load i64, ptr %23, align 8, !tbaa !21
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %25, i32 0, i32 2
  %27 = load i64, ptr %26, align 8, !tbaa !22
  %28 = mul i64 %24, %27
  %29 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 1
  store i64 %28, ptr %29, align 8, !tbaa !23
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %30, i32 0, i32 10
  %32 = load i64, ptr %31, align 8, !tbaa !33
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %33, i32 0, i32 11
  %35 = load i64, ptr %34, align 8, !tbaa !34
  %36 = mul i64 %32, %35
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %37, i32 0, i32 5
  %39 = load i64, ptr %38, align 8, !tbaa !35
  %40 = mul i64 %36, %39
  %41 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 2
  store i64 %40, ptr %41, align 8, !tbaa !36
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %42, i32 0, i32 0
  %44 = load i64, ptr %43, align 8, !tbaa !37
  %45 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 3
  store i64 %44, ptr %45, align 8, !tbaa !38
  %46 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 3
  %47 = load i64, ptr %46, align 8, !tbaa !38
  %48 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 5
  store i64 %47, ptr %48, align 8, !tbaa !39
  %49 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 2
  %50 = load i64, ptr %49, align 8, !tbaa !36
  %51 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 4
  store i64 %50, ptr %51, align 8, !tbaa !40
  %52 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 2
  %53 = load i64, ptr %52, align 8, !tbaa !36
  %54 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 6
  store i64 %53, ptr %54, align 8, !tbaa !41
  %55 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 7
  store i64 0, ptr %55, align 8, !tbaa !42
  %56 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 8
  store i64 0, ptr %56, align 8, !tbaa !43
  %57 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 9
  store i64 0, ptr %57, align 8, !tbaa !44
  %58 = getelementptr inbounds %"class.Simd::SynetDeconvolution16b", ptr %7, i32 0, i32 4
  %59 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 3
  %60 = load i64, ptr %59, align 8, !tbaa !38
  %61 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 2
  %62 = load i64, ptr %61, align 8, !tbaa !36
  %63 = mul i64 %60, %62
  invoke void @_ZN4Simd5ArrayItE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16) %58, i64 noundef %63, i1 noundef zeroext false, i64 noundef 8)
          to label %64 unwind label %65

64:                                               ; preds = %21
  br label %136

65:                                               ; preds = %69, %21
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %5, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %6, align 4
  call void @_ZN4Simd21SynetDeconvolution16bD2Ev(ptr noundef nonnull align 8 dereferenceable(328) %7) #5
  br label %197

69:                                               ; preds = %2
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %70, i32 0, i32 10
  %72 = load i64, ptr %71, align 8, !tbaa !33
  %73 = load ptr, ptr %4, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %73, i32 0, i32 11
  %75 = load i64, ptr %74, align 8, !tbaa !34
  %76 = mul i64 %72, %75
  %77 = load ptr, ptr %4, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %77, i32 0, i32 5
  %79 = load i64, ptr %78, align 8, !tbaa !35
  %80 = mul i64 %76, %79
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %81, i32 0, i32 20
  %83 = load i64, ptr %82, align 8, !tbaa !20
  %84 = udiv i64 %80, %83
  %85 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 1
  store i64 %84, ptr %85, align 8, !tbaa !23
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %86, i32 0, i32 1
  %88 = load i64, ptr %87, align 8, !tbaa !21
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %89, i32 0, i32 2
  %91 = load i64, ptr %90, align 8, !tbaa !22
  %92 = mul i64 %88, %91
  %93 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 2
  store i64 %92, ptr %93, align 8, !tbaa !36
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %94, i32 0, i32 0
  %96 = load i64, ptr %95, align 8, !tbaa !37
  %97 = load ptr, ptr %4, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %97, i32 0, i32 20
  %99 = load i64, ptr %98, align 8, !tbaa !20
  %100 = udiv i64 %96, %99
  %101 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 3
  store i64 %100, ptr %101, align 8, !tbaa !38
  %102 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 3
  %103 = load i64, ptr %102, align 8, !tbaa !38
  %104 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 4
  store i64 %103, ptr %104, align 8, !tbaa !40
  %105 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 2
  %106 = load i64, ptr %105, align 8, !tbaa !36
  %107 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 5
  store i64 %106, ptr %107, align 8, !tbaa !39
  %108 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 2
  %109 = load i64, ptr %108, align 8, !tbaa !36
  %110 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 6
  store i64 %109, ptr %110, align 8, !tbaa !41
  %111 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 1
  %112 = load i64, ptr %111, align 8, !tbaa !23
  %113 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 3
  %114 = load i64, ptr %113, align 8, !tbaa !38
  %115 = mul i64 %112, %114
  %116 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 7
  store i64 %115, ptr %116, align 8, !tbaa !42
  %117 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 3
  %118 = load i64, ptr %117, align 8, !tbaa !38
  %119 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 2
  %120 = load i64, ptr %119, align 8, !tbaa !36
  %121 = mul i64 %118, %120
  %122 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 8
  store i64 %121, ptr %122, align 8, !tbaa !43
  %123 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 1
  %124 = load i64, ptr %123, align 8, !tbaa !23
  %125 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 2
  %126 = load i64, ptr %125, align 8, !tbaa !36
  %127 = mul i64 %124, %126
  %128 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 9
  store i64 %127, ptr %128, align 8, !tbaa !44
  %129 = getelementptr inbounds %"class.Simd::SynetDeconvolution16b", ptr %7, i32 0, i32 4
  %130 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 3
  %131 = load i64, ptr %130, align 8, !tbaa !38
  %132 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 1
  %133 = load i64, ptr %132, align 8, !tbaa !23
  %134 = mul i64 %131, %133
  invoke void @_ZN4Simd5ArrayItE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16) %129, i64 noundef %134, i1 noundef zeroext false, i64 noundef 8)
          to label %135 unwind label %65

135:                                              ; preds = %69
  br label %136

136:                                              ; preds = %135, %64
  %137 = load ptr, ptr %4, align 8, !tbaa !5
  %138 = getelementptr inbounds %"struct.Simd::DeconvParam", ptr %137, i32 0, i32 3
  %139 = load i64, ptr %138, align 8, !tbaa !45
  %140 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 10
  store i64 %139, ptr %140, align 8, !tbaa !46
  %141 = load ptr, ptr %4, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %141, i32 0, i32 0
  %143 = load i64, ptr %142, align 8, !tbaa !37
  %144 = load ptr, ptr %4, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %144, i32 0, i32 1
  %146 = load i64, ptr %145, align 8, !tbaa !21
  %147 = mul i64 %143, %146
  %148 = load ptr, ptr %4, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %148, i32 0, i32 2
  %150 = load i64, ptr %149, align 8, !tbaa !22
  %151 = mul i64 %147, %150
  %152 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 11
  store i64 %151, ptr %152, align 8, !tbaa !47
  %153 = load ptr, ptr %4, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %153, i32 0, i32 5
  %155 = load i64, ptr %154, align 8, !tbaa !35
  %156 = load ptr, ptr %4, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %156, i32 0, i32 10
  %158 = load i64, ptr %157, align 8, !tbaa !33
  %159 = mul i64 %155, %158
  %160 = load ptr, ptr %4, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %160, i32 0, i32 11
  %162 = load i64, ptr %161, align 8, !tbaa !34
  %163 = mul i64 %159, %162
  %164 = load ptr, ptr %4, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %164, i32 0, i32 1
  %166 = load i64, ptr %165, align 8, !tbaa !21
  %167 = mul i64 %163, %166
  %168 = load ptr, ptr %4, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %168, i32 0, i32 2
  %170 = load i64, ptr %169, align 8, !tbaa !22
  %171 = mul i64 %167, %170
  %172 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 12
  store i64 %171, ptr %172, align 8, !tbaa !48
  %173 = load ptr, ptr %4, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %173, i32 0, i32 5
  %175 = load i64, ptr %174, align 8, !tbaa !35
  %176 = load ptr, ptr %4, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %176, i32 0, i32 6
  %178 = load i64, ptr %177, align 8, !tbaa !49
  %179 = mul i64 %175, %178
  %180 = load ptr, ptr %4, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.SimdConvolutionParameters, ptr %180, i32 0, i32 7
  %182 = load i64, ptr %181, align 8, !tbaa !50
  %183 = mul i64 %179, %182
  %184 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 13
  store i64 %183, ptr %184, align 8, !tbaa !51
  %185 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 11
  %186 = load i64, ptr %185, align 8, !tbaa !47
  %187 = getelementptr inbounds %"class.Simd::SynetDeconvolution16b", ptr %7, i32 0, i32 10
  %188 = load i64, ptr %187, align 8, !tbaa !52
  %189 = mul i64 %186, %188
  %190 = getelementptr inbounds %"class.Simd::SynetDeconvolution16b", ptr %7, i32 0, i32 12
  store i64 %189, ptr %190, align 8, !tbaa !53
  %191 = getelementptr inbounds %"class.Simd::Base::SynetDeconvolution16bGemm", ptr %7, i32 0, i32 13
  %192 = load i64, ptr %191, align 8, !tbaa !51
  %193 = getelementptr inbounds %"class.Simd::SynetDeconvolution16b", ptr %7, i32 0, i32 11
  %194 = load i64, ptr %193, align 8, !tbaa !54
  %195 = mul i64 %192, %194
  %196 = getelementptr inbounds %"class.Simd::SynetDeconvolution16b", ptr %7, i32 0, i32 13
  store i64 %195, ptr %196, align 8, !tbaa !55
  ret void

197:                                              ; preds = %65
  %198 = load ptr, ptr %5, align 8
  %199 = load i32, ptr %6, align 4
  %200 = insertvalue { ptr, i32 } poison, ptr %198, 0
  %201 = insertvalue { ptr, i32 } %200, i32 %199, 1
  resume { ptr, i32 } %201
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd5ArrayItE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i1 noundef zeroext, i64 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd21SynetDeconvolution16bD2Ev(ptr noundef nonnull align 8 dereferenceable(328)) unnamed_addr #3 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 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 = { 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 #4 = { noreturn nounwind }
attributes #5 = { 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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !18, i64 160}
!12 = !{!"_ZTSN4Simd11DeconvParamE", !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 = !{!13, !14, i64 144}
!21 = !{!13, !14, i64 8}
!22 = !{!13, !14, i64 16}
!23 = !{!24, !14, i64 328}
!24 = !{!"_ZTSN4Simd4Base25SynetDeconvolution16bGemmE", !25, i64 0, !14, i64 328, !14, i64 336, !14, i64 344, !14, i64 352, !14, i64 360, !14, i64 368, !14, i64 376, !14, i64 384, !14, i64 392, !14, i64 400, !14, i64 408, !14, i64 416, !14, i64 424}
!25 = !{!"_ZTSN4Simd21SynetDeconvolution16bE", !26, i64 0, !12, i64 8, !27, i64 192, !28, i64 208, !30, i64 240, !31, i64 256, !31, i64 272, !32, i64 288, !32, i64 289, !32, i64 290, !14, i64 296, !14, i64 304, !14, i64 312, !14, i64 320}
!26 = !{!"_ZTSN4Simd9DeletableE"}
!27 = !{!"_ZTSN4Simd5ArrayIhEE", !6, i64 0, !14, i64 8}
!28 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !29, i64 0, !14, i64 8, !7, i64 16}
!29 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!30 = !{!"_ZTSN4Simd5ArrayItEE", !6, i64 0, !14, i64 8}
!31 = !{!"_ZTSN4Simd5ArrayIfEE", !6, i64 0, !14, i64 8}
!32 = !{!"bool", !7, i64 0}
!33 = !{!13, !14, i64 64}
!34 = !{!13, !14, i64 72}
!35 = !{!13, !14, i64 32}
!36 = !{!24, !14, i64 336}
!37 = !{!13, !14, i64 0}
!38 = !{!24, !14, i64 344}
!39 = !{!24, !14, i64 360}
!40 = !{!24, !14, i64 352}
!41 = !{!24, !14, i64 368}
!42 = !{!24, !14, i64 376}
!43 = !{!24, !14, i64 384}
!44 = !{!24, !14, i64 392}
!45 = !{!12, !14, i64 168}
!46 = !{!24, !14, i64 400}
!47 = !{!24, !14, i64 408}
!48 = !{!24, !14, i64 416}
!49 = !{!13, !14, i64 40}
!50 = !{!13, !14, i64 48}
!51 = !{!24, !14, i64 424}
!52 = !{!25, !14, i64 296}
!53 = !{!25, !14, i64 312}
!54 = !{!25, !14, i64 304}
!55 = !{!25, !14, 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"

@.str.1 = external hidden unnamed_addr constant [91 x i8], align 1
@_ZTVN4Simd4Base25SynetDeconvolution16bGemmE = external dso_local unnamed_addr constant { [10 x ptr] }, align 8
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@__PRETTY_FUNCTION__._ZN4Simd4Base25SynetDeconvolution16bGemmC2ERKNS_11DeconvParamE = external hidden unnamed_addr constant [86 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Simd21SynetDeconvolution16bC2ERKNS_11DeconvParamE(ptr noundef nonnull align 8 dereferenceable(328), ptr noundef nonnull align 8 dereferenceable(180)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Simd4Base25SynetDeconvolution16bGemmC2ERKNS_11DeconvParamE(ptr noundef nonnull align 8 dereferenceable(432) %0, ptr noundef nonnull align 8 dereferenceable(180) %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN4Simd21SynetDeconvolution16bC2ERKNS_11DeconvParamE(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef nonnull align 8 dereferenceable(180) %1)
  store ptr getelementptr inbounds inrange(-16, 64) (i8, ptr @_ZTVN4Simd4Base25SynetDeconvolution16bGemmE, i64 16), ptr %0, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %1, i64 160
  %4 = load i32, ptr %3, align 8, !tbaa !8
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %35, label %5

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %1, i64 144
  %7 = load i64, ptr %6, align 8, !tbaa !18
  %8 = icmp eq i64 %7, 1
  br i1 %8, label %10, label %9

9:                                                ; preds = %5
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 126, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4Simd4Base25SynetDeconvolution16bGemmC2ERKNS_11DeconvParamE) #5
  unreachable

10:                                               ; preds = %5
  %11 = getelementptr inbounds i8, ptr %1, i64 8
  %12 = load i64, ptr %11, align 8, !tbaa !19
  %13 = getelementptr inbounds i8, ptr %1, i64 16
  %14 = load i64, ptr %13, align 8, !tbaa !20
  %15 = mul i64 %14, %12
  %16 = getelementptr inbounds i8, ptr %0, i64 328
  store i64 %15, ptr %16, align 8, !tbaa !21
  %17 = getelementptr inbounds i8, ptr %1, i64 64
  %18 = load i64, ptr %17, align 8, !tbaa !32
  %19 = getelementptr inbounds i8, ptr %1, i64 72
  %20 = load i64, ptr %19, align 8, !tbaa !33
  %21 = mul i64 %20, %18
  %22 = getelementptr inbounds i8, ptr %1, i64 32
  %23 = load i64, ptr %22, align 8, !tbaa !34
  %24 = mul i64 %21, %23
  %25 = getelementptr inbounds i8, ptr %0, i64 336
  store i64 %24, ptr %25, align 8, !tbaa !35
  %26 = load i64, ptr %1, align 8, !tbaa !36
  %27 = getelementptr inbounds i8, ptr %0, i64 344
  store i64 %26, ptr %27, align 8, !tbaa !37
  %28 = getelementptr inbounds i8, ptr %0, i64 360
  store i64 %26, ptr %28, align 8, !tbaa !38
  %29 = getelementptr inbounds i8, ptr %0, i64 352
  store i64 %24, ptr %29, align 8, !tbaa !39
  %30 = getelementptr inbounds i8, ptr %0, i64 368
  store i64 %24, ptr %30, align 8, !tbaa !40
  %31 = getelementptr inbounds i8, ptr %0, i64 376
  %32 = mul i64 %26, %24
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %31, i8 0, i64 24, i1 false)
  br label %.invoke

33:                                               ; preds = %.invoke
  %34 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN4Simd21SynetDeconvolution16bD2Ev(ptr noundef nonnull align 8 dereferenceable(328) %0) #6
  resume { ptr, i32 } %34

35:                                               ; preds = %2
  %36 = getelementptr inbounds i8, ptr %1, i64 64
  %37 = load i64, ptr %36, align 8, !tbaa !32
  %38 = getelementptr inbounds i8, ptr %1, i64 72
  %39 = load i64, ptr %38, align 8, !tbaa !33
  %40 = mul i64 %39, %37
  %41 = getelementptr inbounds i8, ptr %1, i64 32
  %42 = load i64, ptr %41, align 8, !tbaa !34
  %43 = mul i64 %40, %42
  %44 = getelementptr inbounds i8, ptr %1, i64 144
  %45 = load i64, ptr %44, align 8, !tbaa !18
  %46 = udiv i64 %43, %45
  %47 = getelementptr inbounds i8, ptr %0, i64 328
  store i64 %46, ptr %47, align 8, !tbaa !21
  %48 = getelementptr inbounds i8, ptr %1, i64 8
  %49 = load i64, ptr %48, align 8, !tbaa !19
  %50 = getelementptr inbounds i8, ptr %1, i64 16
  %51 = load i64, ptr %50, align 8, !tbaa !20
  %52 = mul i64 %51, %49
  %53 = getelementptr inbounds i8, ptr %0, i64 336
  store i64 %52, ptr %53, align 8, !tbaa !35
  %54 = load i64, ptr %1, align 8, !tbaa !36
  %55 = udiv i64 %54, %45
  %56 = getelementptr inbounds i8, ptr %0, i64 344
  store i64 %55, ptr %56, align 8, !tbaa !37
  %57 = getelementptr inbounds i8, ptr %0, i64 352
  store i64 %55, ptr %57, align 8, !tbaa !39
  %58 = getelementptr inbounds i8, ptr %0, i64 360
  store i64 %52, ptr %58, align 8, !tbaa !38
  %59 = getelementptr inbounds i8, ptr %0, i64 368
  store i64 %52, ptr %59, align 8, !tbaa !40
  %60 = mul i64 %55, %46
  %61 = getelementptr inbounds i8, ptr %0, i64 376
  store i64 %60, ptr %61, align 8, !tbaa !41
  %62 = mul i64 %55, %52
  %63 = getelementptr inbounds i8, ptr %0, i64 384
  store i64 %62, ptr %63, align 8, !tbaa !42
  %64 = mul i64 %52, %46
  %65 = getelementptr inbounds i8, ptr %0, i64 392
  store i64 %64, ptr %65, align 8, !tbaa !43
  br label %.invoke

.invoke:                                          ; preds = %10, %35
  %66 = phi i64 [ %60, %35 ], [ %32, %10 ]
  %67 = getelementptr inbounds i8, ptr %0, i64 240
  invoke void @_ZN4Simd5ArrayItE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16) %67, i64 noundef %66, i1 noundef zeroext false, i64 noundef 8)
          to label %68 unwind label %33

68:                                               ; preds = %.invoke
  %69 = getelementptr inbounds i8, ptr %1, i64 168
  %70 = load i64, ptr %69, align 8, !tbaa !44
  %71 = getelementptr inbounds i8, ptr %0, i64 400
  store i64 %70, ptr %71, align 8, !tbaa !45
  %72 = load i64, ptr %1, align 8, !tbaa !36
  %73 = getelementptr inbounds i8, ptr %1, i64 8
  %74 = load i64, ptr %73, align 8, !tbaa !19
  %75 = getelementptr inbounds i8, ptr %1, i64 16
  %76 = load i64, ptr %75, align 8, !tbaa !20
  %77 = mul i64 %76, %74
  %78 = mul i64 %77, %72
  %79 = getelementptr inbounds i8, ptr %0, i64 408
  store i64 %78, ptr %79, align 8, !tbaa !46
  %80 = getelementptr inbounds i8, ptr %1, i64 32
  %81 = load i64, ptr %80, align 8, !tbaa !34
  %82 = getelementptr inbounds i8, ptr %1, i64 64
  %83 = load i64, ptr %82, align 8, !tbaa !32
  %84 = getelementptr inbounds i8, ptr %1, i64 72
  %85 = load i64, ptr %84, align 8, !tbaa !33
  %86 = mul i64 %77, %81
  %87 = mul i64 %86, %83
  %88 = mul i64 %87, %85
  %89 = getelementptr inbounds i8, ptr %0, i64 416
  store i64 %88, ptr %89, align 8, !tbaa !47
  %90 = getelementptr inbounds i8, ptr %1, i64 40
  %91 = load i64, ptr %90, align 8, !tbaa !48
  %92 = mul i64 %91, %81
  %93 = getelementptr inbounds i8, ptr %1, i64 48
  %94 = load i64, ptr %93, align 8, !tbaa !49
  %95 = mul i64 %92, %94
  %96 = getelementptr inbounds i8, ptr %0, i64 424
  store i64 %95, ptr %96, align 8, !tbaa !50
  %97 = getelementptr inbounds i8, ptr %0, i64 296
  %98 = load i64, ptr %97, align 8, !tbaa !51
  %99 = mul i64 %98, %78
  %100 = getelementptr inbounds i8, ptr %0, i64 312
  store i64 %99, ptr %100, align 8, !tbaa !52
  %101 = getelementptr inbounds i8, ptr %0, i64 304
  %102 = load i64, ptr %101, align 8, !tbaa !53
  %103 = mul i64 %102, %95
  %104 = getelementptr inbounds i8, ptr %0, i64 320
  store i64 %103, ptr %104, align 8, !tbaa !54
  ret void
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd5ArrayItE6ResizeEmbm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i1 noundef zeroext, i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd21SynetDeconvolution16bD2Ev(ptr noundef nonnull align 8 dereferenceable(328)) unnamed_addr #3 align 2

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

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 = { 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 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 = { 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { noreturn nounwind }
attributes #6 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !16, i64 160}
!9 = !{!"_ZTSN4Simd11DeconvParamE", !10, i64 0, !16, i64 160, !11, i64 168, !17, i64 176}
!10 = !{!"_ZTS25SimdConvolutionParameters", !11, i64 0, !11, i64 8, !11, i64 16, !13, i64 24, !14, i64 28, !11, i64 32, !11, i64 40, !11, i64 48, !13, i64 56, !14, i64 60, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !15, i64 152}
!11 = !{!"long", !12, i64 0}
!12 = !{!"omnipotent char", !7, i64 0}
!13 = !{!"_ZTS18SimdTensorDataType", !12, i64 0}
!14 = !{!"_ZTS20SimdTensorFormatType", !12, i64 0}
!15 = !{!"_ZTS29SimdConvolutionActivationType", !12, i64 0}
!16 = !{!"_ZTS8SimdBool", !12, i64 0}
!17 = !{!"_ZTS26SimdSynetCompatibilityType", !12, i64 0}
!18 = !{!10, !11, i64 144}
!19 = !{!10, !11, i64 8}
!20 = !{!10, !11, i64 16}
!21 = !{!22, !11, i64 328}
!22 = !{!"_ZTSN4Simd4Base25SynetDeconvolution16bGemmE", !23, i64 0, !11, i64 328, !11, i64 336, !11, i64 344, !11, i64 352, !11, i64 360, !11, i64 368, !11, i64 376, !11, i64 384, !11, i64 392, !11, i64 400, !11, i64 408, !11, i64 416, !11, i64 424}
!23 = !{!"_ZTSN4Simd21SynetDeconvolution16bE", !24, i64 0, !9, i64 8, !25, i64 192, !27, i64 208, !29, i64 240, !30, i64 256, !30, i64 272, !31, i64 288, !31, i64 289, !31, i64 290, !11, i64 296, !11, i64 304, !11, i64 312, !11, i64 320}
!24 = !{!"_ZTSN4Simd9DeletableE"}
!25 = !{!"_ZTSN4Simd5ArrayIhEE", !26, i64 0, !11, i64 8}
!26 = !{!"any pointer", !12, i64 0}
!27 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !28, i64 0, !11, i64 8, !12, i64 16}
!28 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !26, i64 0}
!29 = !{!"_ZTSN4Simd5ArrayItEE", !26, i64 0, !11, i64 8}
!30 = !{!"_ZTSN4Simd5ArrayIfEE", !26, i64 0, !11, i64 8}
!31 = !{!"bool", !12, i64 0}
!32 = !{!10, !11, i64 64}
!33 = !{!10, !11, i64 72}
!34 = !{!10, !11, i64 32}
!35 = !{!22, !11, i64 336}
!36 = !{!10, !11, i64 0}
!37 = !{!22, !11, i64 344}
!38 = !{!22, !11, i64 360}
!39 = !{!22, !11, i64 352}
!40 = !{!22, !11, i64 368}
!41 = !{!22, !11, i64 376}
!42 = !{!22, !11, i64 384}
!43 = !{!22, !11, i64 392}
!44 = !{!9, !11, i64 168}
!45 = !{!22, !11, i64 400}
!46 = !{!22, !11, i64 408}
!47 = !{!22, !11, i64 416}
!48 = !{!10, !11, i64 40}
!49 = !{!10, !11, i64 48}
!50 = !{!22, !11, i64 424}
!51 = !{!23, !11, i64 296}
!52 = !{!23, !11, i64 312}
!53 = !{!23, !11, i64 304}
!54 = !{!23, !11, i64 320}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InstCombinePass,MemCpyOptPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass