; LLVM IR from zchrissirhcz/pixel :: legacy/NaiveCNN/examples/nc_lenet.ll (Z21nc_lenet5_infer_setupP5NcNet)

; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%struct.NcNet = type { i32, ptr, i32, ptr, ptr, ptr }
%struct.NcLayer = type { i32, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.NcConvolutionParam = type { i32, i32, i32, i32, i32, i32, i32, i32, %struct.px_size_t, i8, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.px_size_t = type { i32, i32 }
%struct.NcPoolingParam = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.px_size_t, ptr, ptr }
%struct.NcLayerBottomTop = type { i32, ptr, ptr }
%struct.NcBlob = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr }

@stderr = external global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #0

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

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

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2

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

declare i32 @__gxx_personality_v0(...)

declare ptr @nc_create_layer() #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

declare ptr @layer_type_to_str(i32 noundef) #4

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z21nc_lenet5_infer_setupP5NcNet(ptr noundef %0) #5 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.std::initializer_list", align 8
  %15 = alloca [1 x i32], align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca %"class.std::initializer_list", align 8
  %19 = alloca [1 x i32], align 4
  %20 = alloca ptr, align 8
  %21 = alloca %"class.std::initializer_list", align 8
  %22 = alloca [1 x i32], align 4
  %23 = alloca %"class.std::initializer_list", align 8
  %24 = alloca [1 x i32], align 4
  %25 = alloca i32, align 4
  %26 = alloca ptr, align 8
  %27 = alloca %"class.std::initializer_list", align 8
  %28 = alloca [1 x i32], align 4
  %29 = alloca %"class.std::initializer_list", align 8
  %30 = alloca [1 x i32], align 4
  %31 = alloca ptr, align 8
  %32 = alloca %"class.std::initializer_list", align 8
  %33 = alloca [1 x i32], align 4
  %34 = alloca %"class.std::initializer_list", align 8
  %35 = alloca [1 x i32], align 4
  %36 = alloca ptr, align 8
  %37 = alloca %"class.std::initializer_list", align 8
  %38 = alloca [1 x i32], align 4
  %39 = alloca %"class.std::initializer_list", align 8
  %40 = alloca [1 x i32], align 4
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca ptr, align 8
  %44 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %45 = load ptr, ptr %2, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.NcNet, ptr %45, i32 0, i32 0
  store i32 5, ptr %46, align 8, !tbaa !9
  %47 = load ptr, ptr %2, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.NcNet, ptr %47, i32 0, i32 0
  %49 = load i32, ptr %48, align 8, !tbaa !9
  %50 = sext i32 %49 to i64
  %51 = mul i64 8, %50
  %52 = call noalias ptr @malloc(i64 noundef %51) #6
  %53 = load ptr, ptr %2, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.NcNet, ptr %53, i32 0, i32 1
  store ptr %52, ptr %54, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  store i32 0, ptr %3, align 4, !tbaa !13
  br label %55

55:                                               ; preds = %70, %1
  %56 = load i32, ptr %3, align 4, !tbaa !13
  %57 = load ptr, ptr %2, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.NcNet, ptr %57, i32 0, i32 0
  %59 = load i32, ptr %58, align 8, !tbaa !9
  %60 = icmp slt i32 %56, %59
  br i1 %60, label %62, label %61

61:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  br label %73

62:                                               ; preds = %55
  %63 = call ptr @nc_create_layer()
  %64 = load ptr, ptr %2, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.NcNet, ptr %64, i32 0, i32 1
  %66 = load ptr, ptr %65, align 8, !tbaa !12
  %67 = load i32, ptr %3, align 4, !tbaa !13
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds ptr, ptr %66, i64 %68
  store ptr %63, ptr %69, align 8, !tbaa !5
  br label %70

70:                                               ; preds = %62
  %71 = load i32, ptr %3, align 4, !tbaa !13
  %72 = add nsw i32 %71, 1
  store i32 %72, ptr %3, align 4, !tbaa !13
  br label %55, !llvm.loop !14

73:                                               ; preds = %61
  %74 = load ptr, ptr %2, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.NcNet, ptr %74, i32 0, i32 2
  store i32 6, ptr %75, align 8, !tbaa !16
  %76 = load ptr, ptr %2, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.NcNet, ptr %76, i32 0, i32 2
  %78 = load i32, ptr %77, align 8, !tbaa !16
  %79 = sext i32 %78 to i64
  %80 = mul i64 8, %79
  %81 = call noalias ptr @malloc(i64 noundef %80) #6
  %82 = load ptr, ptr %2, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.NcNet, ptr %82, i32 0, i32 3
  store ptr %81, ptr %83, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  store i32 0, ptr %4, align 4, !tbaa !13
  br label %84

84:                                               ; preds = %99, %73
  %85 = load i32, ptr %4, align 4, !tbaa !13
  %86 = load ptr, ptr %2, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.NcNet, ptr %86, i32 0, i32 2
  %88 = load i32, ptr %87, align 8, !tbaa !16
  %89 = icmp slt i32 %85, %88
  br i1 %89, label %91, label %90

90:                                               ; preds = %84
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  br label %102

91:                                               ; preds = %84
  %92 = call ptr @nc_create_empty_blob(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
  %93 = load ptr, ptr %2, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.NcNet, ptr %93, i32 0, i32 3
  %95 = load ptr, ptr %94, align 8, !tbaa !17
  %96 = load i32, ptr %4, align 4, !tbaa !13
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds ptr, ptr %95, i64 %97
  store ptr %92, ptr %98, align 8, !tbaa !5
  br label %99

99:                                               ; preds = %91
  %100 = load i32, ptr %4, align 4, !tbaa !13
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr %4, align 4, !tbaa !13
  br label %84, !llvm.loop !18

102:                                              ; preds = %90
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  store ptr null, ptr %13, align 8, !tbaa !5
  %103 = load ptr, ptr %2, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.NcNet, ptr %103, i32 0, i32 1
  %105 = load ptr, ptr %104, align 8, !tbaa !12
  %106 = getelementptr inbounds ptr, ptr %105, i64 0
  %107 = load ptr, ptr %106, align 8, !tbaa !5
  store ptr %107, ptr %13, align 8, !tbaa !5
  %108 = load ptr, ptr %13, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.NcLayer, ptr %108, i32 0, i32 0
  store i32 1, ptr %109, align 8, !tbaa !19
  %110 = load ptr, ptr %13, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.NcLayer, ptr %110, i32 0, i32 4
  store ptr @nc_infer_convolution, ptr %111, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store i32 1, ptr %15, align 4, !tbaa !13
  %112 = getelementptr inbounds %"class.std::initializer_list", ptr %14, i32 0, i32 0
  store ptr %15, ptr %112, align 8, !tbaa !23
  %113 = getelementptr inbounds %"class.std::initializer_list", ptr %14, i32 0, i32 1
  store i64 1, ptr %113, align 8, !tbaa !26
  %114 = getelementptr inbounds { ptr, i64 }, ptr %14, i32 0, i32 0
  %115 = load ptr, ptr %114, align 8
  %116 = getelementptr inbounds { ptr, i64 }, ptr %14, i32 0, i32 1
  %117 = load i64, ptr %116, align 8
  %118 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr %115, i64 %117)
          to label %119 unwind label %380

119:                                              ; preds = %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  %120 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #7
  store i32 0, ptr %120, align 4, !tbaa !13
  %121 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %122 = trunc i64 %121 to i32
  %123 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %124 = load ptr, ptr %2, align 8, !tbaa !5
  %125 = invoke ptr @nc_infer_create_layer_input(i32 noundef %122, ptr noundef %123, ptr noundef %124)
          to label %126 unwind label %384

126:                                              ; preds = %119
  %127 = load ptr, ptr %13, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.NcLayer, ptr %127, i32 0, i32 5
  store ptr %125, ptr %128, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  store i32 1, ptr %19, align 4, !tbaa !13
  %129 = getelementptr inbounds %"class.std::initializer_list", ptr %18, i32 0, i32 0
  store ptr %19, ptr %129, align 8, !tbaa !23
  %130 = getelementptr inbounds %"class.std::initializer_list", ptr %18, i32 0, i32 1
  store i64 1, ptr %130, align 8, !tbaa !26
  %131 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 0
  %132 = load ptr, ptr %131, align 8
  %133 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 1
  %134 = load i64, ptr %133, align 8
  %135 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr %132, i64 %134)
          to label %136 unwind label %388

136:                                              ; preds = %126
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  %137 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %138 = trunc i64 %137 to i32
  %139 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %140 = load ptr, ptr %2, align 8, !tbaa !5
  %141 = invoke ptr @nc_infer_create_layer_output(i32 noundef %138, ptr noundef %139, ptr noundef %140)
          to label %142 unwind label %384

142:                                              ; preds = %136
  %143 = load ptr, ptr %13, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.NcLayer, ptr %143, i32 0, i32 6
  store ptr %141, ptr %144, align 8, !tbaa !28
  store i32 5, ptr %5, align 4, !tbaa !13
  store i32 1, ptr %6, align 4, !tbaa !13
  store i32 6, ptr %7, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %145 = load i32, ptr %5, align 4, !tbaa !13
  %146 = load i32, ptr %6, align 4, !tbaa !13
  %147 = load i32, ptr %7, align 4, !tbaa !13
  %148 = invoke ptr @nc_infer_create_convolution_param(i32 noundef %145, i32 noundef %146, i32 noundef %147, i32 noundef 0)
          to label %149 unwind label %392

149:                                              ; preds = %142
  store ptr %148, ptr %20, align 8, !tbaa !5
  %150 = load ptr, ptr %20, align 8, !tbaa !5
  %151 = load ptr, ptr %13, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.NcLayer, ptr %151, i32 0, i32 1
  store ptr %150, ptr %152, align 8, !tbaa !29
  %153 = load ptr, ptr %2, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.NcNet, ptr %153, i32 0, i32 1
  %155 = load ptr, ptr %154, align 8, !tbaa !12
  %156 = getelementptr inbounds ptr, ptr %155, i64 1
  %157 = load ptr, ptr %156, align 8, !tbaa !5
  store ptr %157, ptr %13, align 8, !tbaa !5
  %158 = load ptr, ptr %13, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.NcLayer, ptr %158, i32 0, i32 0
  store i32 2, ptr %159, align 8, !tbaa !19
  %160 = load ptr, ptr %13, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.NcLayer, ptr %160, i32 0, i32 4
  store ptr @nc_infer_pooling, ptr %161, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  store i32 1, ptr %22, align 4, !tbaa !13
  %162 = getelementptr inbounds %"class.std::initializer_list", ptr %21, i32 0, i32 0
  store ptr %22, ptr %162, align 8, !tbaa !23
  %163 = getelementptr inbounds %"class.std::initializer_list", ptr %21, i32 0, i32 1
  store i64 1, ptr %163, align 8, !tbaa !26
  %164 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 0
  %165 = load ptr, ptr %164, align 8
  %166 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 1
  %167 = load i64, ptr %166, align 8
  %168 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr %165, i64 %167)
          to label %169 unwind label %396

169:                                              ; preds = %149
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  %170 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %171 = trunc i64 %170 to i32
  %172 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %173 = load ptr, ptr %2, align 8, !tbaa !5
  %174 = invoke ptr @nc_infer_create_layer_input(i32 noundef %171, ptr noundef %172, ptr noundef %173)
          to label %175 unwind label %392

175:                                              ; preds = %169
  %176 = load ptr, ptr %13, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.NcLayer, ptr %176, i32 0, i32 5
  store ptr %174, ptr %177, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  store i32 1, ptr %24, align 4, !tbaa !13
  %178 = getelementptr inbounds %"class.std::initializer_list", ptr %23, i32 0, i32 0
  store ptr %24, ptr %178, align 8, !tbaa !23
  %179 = getelementptr inbounds %"class.std::initializer_list", ptr %23, i32 0, i32 1
  store i64 1, ptr %179, align 8, !tbaa !26
  %180 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 0
  %181 = load ptr, ptr %180, align 8
  %182 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 1
  %183 = load i64, ptr %182, align 8
  %184 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr %181, i64 %183)
          to label %185 unwind label %400

185:                                              ; preds = %175
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  %186 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %187 = trunc i64 %186 to i32
  %188 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %189 = load ptr, ptr %2, align 8, !tbaa !5
  %190 = invoke ptr @nc_infer_create_layer_output(i32 noundef %187, ptr noundef %188, ptr noundef %189)
          to label %191 unwind label %392

191:                                              ; preds = %185
  %192 = load ptr, ptr %13, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.NcLayer, ptr %192, i32 0, i32 6
  store ptr %190, ptr %193, align 8, !tbaa !28
  store i32 2, ptr %5, align 4, !tbaa !13
  %194 = load ptr, ptr %20, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.NcConvolutionParam, ptr %194, i32 0, i32 3
  %196 = load i32, ptr %195, align 4, !tbaa !30
  store i32 %196, ptr %6, align 4, !tbaa !13
  %197 = load ptr, ptr %20, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.NcConvolutionParam, ptr %197, i32 0, i32 3
  %199 = load i32, ptr %198, align 4, !tbaa !30
  store i32 %199, ptr %7, align 4, !tbaa !13
  store i32 0, ptr %8, align 4, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  store i32 0, ptr %25, align 4, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %200 = load i32, ptr %5, align 4, !tbaa !13
  %201 = load i32, ptr %6, align 4, !tbaa !13
  %202 = load i32, ptr %8, align 4, !tbaa !35
  %203 = load i32, ptr %25, align 4, !tbaa !37
  %204 = invoke ptr @nc_infer_create_pooling_param(i32 noundef %200, i32 noundef %201, i32 noundef %202, i32 noundef %203)
          to label %205 unwind label %404

205:                                              ; preds = %191
  store ptr %204, ptr %26, align 8, !tbaa !5
  %206 = load ptr, ptr %26, align 8, !tbaa !5
  %207 = load ptr, ptr %13, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.NcLayer, ptr %207, i32 0, i32 1
  store ptr %206, ptr %208, align 8, !tbaa !29
  %209 = load ptr, ptr %2, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.NcNet, ptr %209, i32 0, i32 1
  %211 = load ptr, ptr %210, align 8, !tbaa !12
  %212 = getelementptr inbounds ptr, ptr %211, i64 2
  %213 = load ptr, ptr %212, align 8, !tbaa !5
  store ptr %213, ptr %13, align 8, !tbaa !5
  %214 = load ptr, ptr %13, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.NcLayer, ptr %214, i32 0, i32 0
  store i32 1, ptr %215, align 8, !tbaa !19
  %216 = load ptr, ptr %13, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.NcLayer, ptr %216, i32 0, i32 4
  store ptr @nc_infer_convolution, ptr %217, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  store i32 2, ptr %28, align 4, !tbaa !13
  %218 = getelementptr inbounds %"class.std::initializer_list", ptr %27, i32 0, i32 0
  store ptr %28, ptr %218, align 8, !tbaa !23
  %219 = getelementptr inbounds %"class.std::initializer_list", ptr %27, i32 0, i32 1
  store i64 1, ptr %219, align 8, !tbaa !26
  %220 = getelementptr inbounds { ptr, i64 }, ptr %27, i32 0, i32 0
  %221 = load ptr, ptr %220, align 8
  %222 = getelementptr inbounds { ptr, i64 }, ptr %27, i32 0, i32 1
  %223 = load i64, ptr %222, align 8
  %224 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr %221, i64 %223)
          to label %225 unwind label %408

225:                                              ; preds = %205
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  %226 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %227 = trunc i64 %226 to i32
  %228 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %229 = load ptr, ptr %2, align 8, !tbaa !5
  %230 = invoke ptr @nc_infer_create_layer_input(i32 noundef %227, ptr noundef %228, ptr noundef %229)
          to label %231 unwind label %404

231:                                              ; preds = %225
  %232 = load ptr, ptr %13, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.NcLayer, ptr %232, i32 0, i32 5
  store ptr %230, ptr %233, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  store i32 3, ptr %30, align 4, !tbaa !13
  %234 = getelementptr inbounds %"class.std::initializer_list", ptr %29, i32 0, i32 0
  store ptr %30, ptr %234, align 8, !tbaa !23
  %235 = getelementptr inbounds %"class.std::initializer_list", ptr %29, i32 0, i32 1
  store i64 1, ptr %235, align 8, !tbaa !26
  %236 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 0
  %237 = load ptr, ptr %236, align 8
  %238 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 1
  %239 = load i64, ptr %238, align 8
  %240 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr %237, i64 %239)
          to label %241 unwind label %412

241:                                              ; preds = %231
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  %242 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %243 = trunc i64 %242 to i32
  %244 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %245 = load ptr, ptr %2, align 8, !tbaa !5
  %246 = invoke ptr @nc_infer_create_layer_output(i32 noundef %243, ptr noundef %244, ptr noundef %245)
          to label %247 unwind label %404

247:                                              ; preds = %241
  %248 = load ptr, ptr %13, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.NcLayer, ptr %248, i32 0, i32 6
  store ptr %246, ptr %249, align 8, !tbaa !28
  store i32 5, ptr %5, align 4, !tbaa !13
  %250 = load ptr, ptr %26, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.NcPoolingParam, ptr %250, i32 0, i32 6
  %252 = load i32, ptr %251, align 8, !tbaa !38
  store i32 %252, ptr %6, align 4, !tbaa !13
  store i32 12, ptr %7, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %253 = load i32, ptr %5, align 4, !tbaa !13
  %254 = load i32, ptr %6, align 4, !tbaa !13
  %255 = load i32, ptr %7, align 4, !tbaa !13
  %256 = invoke ptr @nc_infer_create_convolution_param(i32 noundef %253, i32 noundef %254, i32 noundef %255, i32 noundef 0)
          to label %257 unwind label %416

257:                                              ; preds = %247
  store ptr %256, ptr %31, align 8, !tbaa !5
  %258 = load ptr, ptr %31, align 8, !tbaa !5
  %259 = load ptr, ptr %13, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.NcLayer, ptr %259, i32 0, i32 1
  store ptr %258, ptr %260, align 8, !tbaa !29
  %261 = load ptr, ptr %2, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.NcNet, ptr %261, i32 0, i32 1
  %263 = load ptr, ptr %262, align 8, !tbaa !12
  %264 = getelementptr inbounds ptr, ptr %263, i64 3
  %265 = load ptr, ptr %264, align 8, !tbaa !5
  store ptr %265, ptr %13, align 8, !tbaa !5
  %266 = load ptr, ptr %13, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.NcLayer, ptr %266, i32 0, i32 0
  store i32 2, ptr %267, align 8, !tbaa !19
  %268 = load ptr, ptr %13, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.NcLayer, ptr %268, i32 0, i32 4
  store ptr @nc_infer_pooling, ptr %269, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #7
  store i32 3, ptr %33, align 4, !tbaa !13
  %270 = getelementptr inbounds %"class.std::initializer_list", ptr %32, i32 0, i32 0
  store ptr %33, ptr %270, align 8, !tbaa !23
  %271 = getelementptr inbounds %"class.std::initializer_list", ptr %32, i32 0, i32 1
  store i64 1, ptr %271, align 8, !tbaa !26
  %272 = getelementptr inbounds { ptr, i64 }, ptr %32, i32 0, i32 0
  %273 = load ptr, ptr %272, align 8
  %274 = getelementptr inbounds { ptr, i64 }, ptr %32, i32 0, i32 1
  %275 = load i64, ptr %274, align 8
  %276 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr %273, i64 %275)
          to label %277 unwind label %420

277:                                              ; preds = %257
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #7
  %278 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %279 = trunc i64 %278 to i32
  %280 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %281 = load ptr, ptr %2, align 8, !tbaa !5
  %282 = invoke ptr @nc_infer_create_layer_input(i32 noundef %279, ptr noundef %280, ptr noundef %281)
          to label %283 unwind label %416

283:                                              ; preds = %277
  %284 = load ptr, ptr %13, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.NcLayer, ptr %284, i32 0, i32 5
  store ptr %282, ptr %285, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #7
  store i32 4, ptr %35, align 4, !tbaa !13
  %286 = getelementptr inbounds %"class.std::initializer_list", ptr %34, i32 0, i32 0
  store ptr %35, ptr %286, align 8, !tbaa !23
  %287 = getelementptr inbounds %"class.std::initializer_list", ptr %34, i32 0, i32 1
  store i64 1, ptr %287, align 8, !tbaa !26
  %288 = getelementptr inbounds { ptr, i64 }, ptr %34, i32 0, i32 0
  %289 = load ptr, ptr %288, align 8
  %290 = getelementptr inbounds { ptr, i64 }, ptr %34, i32 0, i32 1
  %291 = load i64, ptr %290, align 8
  %292 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr %289, i64 %291)
          to label %293 unwind label %424

293:                                              ; preds = %283
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  %294 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %295 = trunc i64 %294 to i32
  %296 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %297 = load ptr, ptr %2, align 8, !tbaa !5
  %298 = invoke ptr @nc_infer_create_layer_output(i32 noundef %295, ptr noundef %296, ptr noundef %297)
          to label %299 unwind label %416

299:                                              ; preds = %293
  %300 = load ptr, ptr %13, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.NcLayer, ptr %300, i32 0, i32 6
  store ptr %298, ptr %301, align 8, !tbaa !28
  store i32 2, ptr %5, align 4, !tbaa !13
  %302 = load ptr, ptr %31, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.NcConvolutionParam, ptr %302, i32 0, i32 3
  %304 = load i32, ptr %303, align 4, !tbaa !30
  store i32 %304, ptr %6, align 4, !tbaa !13
  store i32 12, ptr %7, align 4, !tbaa !13
  store i32 0, ptr %8, align 4, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %305 = load i32, ptr %5, align 4, !tbaa !13
  %306 = load i32, ptr %6, align 4, !tbaa !13
  %307 = load i32, ptr %8, align 4, !tbaa !35
  %308 = load i32, ptr %25, align 4, !tbaa !37
  %309 = invoke ptr @nc_infer_create_pooling_param(i32 noundef %305, i32 noundef %306, i32 noundef %307, i32 noundef %308)
          to label %310 unwind label %428

310:                                              ; preds = %299
  store ptr %309, ptr %36, align 8, !tbaa !5
  %311 = load ptr, ptr %36, align 8, !tbaa !5
  %312 = load ptr, ptr %13, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.NcLayer, ptr %312, i32 0, i32 1
  store ptr %311, ptr %313, align 8, !tbaa !29
  %314 = load ptr, ptr %2, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.NcNet, ptr %314, i32 0, i32 1
  %316 = load ptr, ptr %315, align 8, !tbaa !12
  %317 = getelementptr inbounds ptr, ptr %316, i64 4
  %318 = load ptr, ptr %317, align 8, !tbaa !5
  store ptr %318, ptr %13, align 8, !tbaa !5
  %319 = load ptr, ptr %13, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.NcLayer, ptr %319, i32 0, i32 0
  store i32 3, ptr %320, align 8, !tbaa !19
  %321 = load ptr, ptr %13, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.NcLayer, ptr %321, i32 0, i32 4
  store ptr @nc_infer_innerproduct, ptr %322, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #7
  store i32 4, ptr %38, align 4, !tbaa !13
  %323 = getelementptr inbounds %"class.std::initializer_list", ptr %37, i32 0, i32 0
  store ptr %38, ptr %323, align 8, !tbaa !23
  %324 = getelementptr inbounds %"class.std::initializer_list", ptr %37, i32 0, i32 1
  store i64 1, ptr %324, align 8, !tbaa !26
  %325 = getelementptr inbounds { ptr, i64 }, ptr %37, i32 0, i32 0
  %326 = load ptr, ptr %325, align 8
  %327 = getelementptr inbounds { ptr, i64 }, ptr %37, i32 0, i32 1
  %328 = load i64, ptr %327, align 8
  %329 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr %326, i64 %328)
          to label %330 unwind label %432

330:                                              ; preds = %310
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #7
  %331 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %332 = trunc i64 %331 to i32
  %333 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %334 = load ptr, ptr %2, align 8, !tbaa !5
  %335 = invoke ptr @nc_infer_create_layer_input(i32 noundef %332, ptr noundef %333, ptr noundef %334)
          to label %336 unwind label %428

336:                                              ; preds = %330
  %337 = load ptr, ptr %13, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.NcLayer, ptr %337, i32 0, i32 5
  store ptr %335, ptr %338, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #7
  store i32 5, ptr %40, align 4, !tbaa !13
  %339 = getelementptr inbounds %"class.std::initializer_list", ptr %39, i32 0, i32 0
  store ptr %40, ptr %339, align 8, !tbaa !23
  %340 = getelementptr inbounds %"class.std::initializer_list", ptr %39, i32 0, i32 1
  store i64 1, ptr %340, align 8, !tbaa !26
  %341 = getelementptr inbounds { ptr, i64 }, ptr %39, i32 0, i32 0
  %342 = load ptr, ptr %341, align 8
  %343 = getelementptr inbounds { ptr, i64 }, ptr %39, i32 0, i32 1
  %344 = load i64, ptr %343, align 8
  %345 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr %342, i64 %344)
          to label %346 unwind label %436

346:                                              ; preds = %336
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  %347 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %348 = trunc i64 %347 to i32
  %349 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %350 = load ptr, ptr %2, align 8, !tbaa !5
  %351 = invoke ptr @nc_infer_create_layer_output(i32 noundef %348, ptr noundef %349, ptr noundef %350)
          to label %352 unwind label %428

352:                                              ; preds = %346
  %353 = load ptr, ptr %13, align 8, !tbaa !5
  %354 = getelementptr inbounds %struct.NcLayer, ptr %353, i32 0, i32 6
  store ptr %351, ptr %354, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #7
  %355 = load ptr, ptr %13, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.NcLayer, ptr %355, i32 0, i32 5
  %357 = load ptr, ptr %356, align 8, !tbaa !27
  %358 = getelementptr inbounds %struct.NcLayerBottomTop, ptr %357, i32 0, i32 1
  %359 = load ptr, ptr %358, align 8, !tbaa !40
  %360 = getelementptr inbounds ptr, ptr %359, i64 0
  %361 = load ptr, ptr %360, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.NcBlob, ptr %361, i32 0, i32 4
  %363 = load i32, ptr %362, align 8, !tbaa !42
  store i32 %363, ptr %41, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #7
  store i32 10, ptr %42, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #7
  %364 = load i32, ptr %41, align 4, !tbaa !13
  %365 = load i32, ptr %42, align 4, !tbaa !13
  %366 = invoke ptr @nc_infer_create_innerproduct_param(i32 noundef %364, i32 noundef %365)
          to label %367 unwind label %440

367:                                              ; preds = %352
  store ptr %366, ptr %43, align 8, !tbaa !5
  %368 = load ptr, ptr %43, align 8, !tbaa !5
  %369 = load ptr, ptr %13, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.NcLayer, ptr %369, i32 0, i32 1
  store ptr %368, ptr %370, align 8, !tbaa !29
  %371 = load ptr, ptr %2, align 8, !tbaa !5
  %372 = getelementptr inbounds %struct.NcNet, ptr %371, i32 0, i32 4
  store ptr null, ptr %372, align 8, !tbaa !45
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #7
  store i32 0, ptr %44, align 4, !tbaa !13
  br label %373

373:                                              ; preds = %465, %367
  %374 = load i32, ptr %44, align 4, !tbaa !13
  %375 = load ptr, ptr %2, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.NcNet, ptr %375, i32 0, i32 0
  %377 = load i32, ptr %376, align 8, !tbaa !9
  %378 = icmp slt i32 %374, %377
  br i1 %378, label %444, label %379

379:                                              ; preds = %373
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #7
  br label %472

380:                                              ; preds = %102
  %381 = landingpad { ptr, i32 }
          cleanup
  %382 = extractvalue { ptr, i32 } %381, 0
  store ptr %382, ptr %16, align 8
  %383 = extractvalue { ptr, i32 } %381, 1
  store i32 %383, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %478

384:                                              ; preds = %136, %119
  %385 = landingpad { ptr, i32 }
          cleanup
  %386 = extractvalue { ptr, i32 } %385, 0
  store ptr %386, ptr %16, align 8
  %387 = extractvalue { ptr, i32 } %385, 1
  store i32 %387, ptr %17, align 4
  br label %478

388:                                              ; preds = %126
  %389 = landingpad { ptr, i32 }
          cleanup
  %390 = extractvalue { ptr, i32 } %389, 0
  store ptr %390, ptr %16, align 8
  %391 = extractvalue { ptr, i32 } %389, 1
  store i32 %391, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %478

392:                                              ; preds = %185, %169, %142
  %393 = landingpad { ptr, i32 }
          cleanup
  %394 = extractvalue { ptr, i32 } %393, 0
  store ptr %394, ptr %16, align 8
  %395 = extractvalue { ptr, i32 } %393, 1
  store i32 %395, ptr %17, align 4
  br label %477

396:                                              ; preds = %149
  %397 = landingpad { ptr, i32 }
          cleanup
  %398 = extractvalue { ptr, i32 } %397, 0
  store ptr %398, ptr %16, align 8
  %399 = extractvalue { ptr, i32 } %397, 1
  store i32 %399, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  br label %477

400:                                              ; preds = %175
  %401 = landingpad { ptr, i32 }
          cleanup
  %402 = extractvalue { ptr, i32 } %401, 0
  store ptr %402, ptr %16, align 8
  %403 = extractvalue { ptr, i32 } %401, 1
  store i32 %403, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %477

404:                                              ; preds = %241, %225, %191
  %405 = landingpad { ptr, i32 }
          cleanup
  %406 = extractvalue { ptr, i32 } %405, 0
  store ptr %406, ptr %16, align 8
  %407 = extractvalue { ptr, i32 } %405, 1
  store i32 %407, ptr %17, align 4
  br label %476

408:                                              ; preds = %205
  %409 = landingpad { ptr, i32 }
          cleanup
  %410 = extractvalue { ptr, i32 } %409, 0
  store ptr %410, ptr %16, align 8
  %411 = extractvalue { ptr, i32 } %409, 1
  store i32 %411, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %476

412:                                              ; preds = %231
  %413 = landingpad { ptr, i32 }
          cleanup
  %414 = extractvalue { ptr, i32 } %413, 0
  store ptr %414, ptr %16, align 8
  %415 = extractvalue { ptr, i32 } %413, 1
  store i32 %415, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  br label %476

416:                                              ; preds = %293, %277, %247
  %417 = landingpad { ptr, i32 }
          cleanup
  %418 = extractvalue { ptr, i32 } %417, 0
  store ptr %418, ptr %16, align 8
  %419 = extractvalue { ptr, i32 } %417, 1
  store i32 %419, ptr %17, align 4
  br label %475

420:                                              ; preds = %257
  %421 = landingpad { ptr, i32 }
          cleanup
  %422 = extractvalue { ptr, i32 } %421, 0
  store ptr %422, ptr %16, align 8
  %423 = extractvalue { ptr, i32 } %421, 1
  store i32 %423, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #7
  br label %475

424:                                              ; preds = %283
  %425 = landingpad { ptr, i32 }
          cleanup
  %426 = extractvalue { ptr, i32 } %425, 0
  store ptr %426, ptr %16, align 8
  %427 = extractvalue { ptr, i32 } %425, 1
  store i32 %427, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  br label %475

428:                                              ; preds = %346, %330, %299
  %429 = landingpad { ptr, i32 }
          cleanup
  %430 = extractvalue { ptr, i32 } %429, 0
  store ptr %430, ptr %16, align 8
  %431 = extractvalue { ptr, i32 } %429, 1
  store i32 %431, ptr %17, align 4
  br label %474

432:                                              ; preds = %310
  %433 = landingpad { ptr, i32 }
          cleanup
  %434 = extractvalue { ptr, i32 } %433, 0
  store ptr %434, ptr %16, align 8
  %435 = extractvalue { ptr, i32 } %433, 1
  store i32 %435, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #7
  br label %474

436:                                              ; preds = %336
  %437 = landingpad { ptr, i32 }
          cleanup
  %438 = extractvalue { ptr, i32 } %437, 0
  store ptr %438, ptr %16, align 8
  %439 = extractvalue { ptr, i32 } %437, 1
  store i32 %439, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  br label %474

440:                                              ; preds = %352
  %441 = landingpad { ptr, i32 }
          cleanup
  %442 = extractvalue { ptr, i32 } %441, 0
  store ptr %442, ptr %16, align 8
  %443 = extractvalue { ptr, i32 } %441, 1
  store i32 %443, ptr %17, align 4
  br label %473

444:                                              ; preds = %373
  %445 = load ptr, ptr %2, align 8, !tbaa !5
  %446 = getelementptr inbounds %struct.NcNet, ptr %445, i32 0, i32 1
  %447 = load ptr, ptr %446, align 8, !tbaa !12
  %448 = load i32, ptr %44, align 4, !tbaa !13
  %449 = sext i32 %448 to i64
  %450 = getelementptr inbounds ptr, ptr %447, i64 %449
  %451 = load ptr, ptr %450, align 8, !tbaa !5
  store ptr %451, ptr %13, align 8, !tbaa !5
  br label %452

452:                                              ; preds = %444
  %453 = load ptr, ptr @stderr, align 8, !tbaa !5
  %454 = load i32, ptr %44, align 4, !tbaa !13
  %455 = load ptr, ptr %13, align 8, !tbaa !5
  %456 = getelementptr inbounds %struct.NcLayer, ptr %455, i32 0, i32 0
  %457 = load i32, ptr %456, align 8, !tbaa !19
  %458 = invoke ptr @layer_type_to_str(i32 noundef %457)
          to label %459 unwind label %468

459:                                              ; preds = %452
  %460 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %453, ptr noundef @.str.4, i32 noundef %454, ptr noundef %458) #7
  %461 = load ptr, ptr @stderr, align 8, !tbaa !5
  %462 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %461, ptr noundef @.str.5) #7
  br label %463

463:                                              ; preds = %459
  br label %464

464:                                              ; preds = %463
  br label %465

465:                                              ; preds = %464
  %466 = load i32, ptr %44, align 4, !tbaa !13
  %467 = add nsw i32 %466, 1
  store i32 %467, ptr %44, align 4, !tbaa !13
  br label %373, !llvm.loop !46

468:                                              ; preds = %452
  %469 = landingpad { ptr, i32 }
          cleanup
  %470 = extractvalue { ptr, i32 } %469, 0
  store ptr %470, ptr %16, align 8
  %471 = extractvalue { ptr, i32 } %469, 1
  store i32 %471, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #7
  br label %473

472:                                              ; preds = %379
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  ret void

473:                                              ; preds = %468, %440
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #7
  br label %474

474:                                              ; preds = %473, %436, %432, %428
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %475

475:                                              ; preds = %474, %424, %420, %416
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  br label %476

476:                                              ; preds = %475, %412, %408, %404
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %477

477:                                              ; preds = %476, %400, %396, %392
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %478

478:                                              ; preds = %477, %388, %384, %380
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %479

479:                                              ; preds = %478
  %480 = load ptr, ptr %16, align 8
  %481 = load i32, ptr %17, align 4
  %482 = insertvalue { ptr, i32 } poison, ptr %480, 0
  %483 = insertvalue { ptr, i32 } %482, i32 %481, 1
  resume { ptr, i32 } %483
}

declare ptr @nc_create_empty_blob(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

declare void @nc_infer_convolution(ptr noundef, ptr noundef, ptr noundef) #4

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

declare ptr @nc_infer_create_layer_input(i32 noundef, ptr noundef, ptr noundef) #4

declare ptr @nc_infer_create_layer_output(i32 noundef, ptr noundef, ptr noundef) #4

declare ptr @nc_infer_create_convolution_param(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

declare void @nc_infer_pooling(ptr noundef, ptr noundef, ptr noundef) #4

declare ptr @nc_infer_create_pooling_param(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

declare void @nc_infer_innerproduct(ptr noundef, ptr noundef, ptr noundef) #4

declare ptr @nc_infer_create_innerproduct_param(i32 noundef, i32 noundef) #4

attributes #0 = { nounwind allocsize(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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 = { "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 = { 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 #6 = { nounwind allocsize(0) }
attributes #7 = { 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, !11, i64 0}
!10 = !{!"_ZTS5NcNet", !11, i64 0, !6, i64 8, !11, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !6, i64 8}
!13 = !{!11, !11, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!10, !11, i64 16}
!17 = !{!10, !6, i64 24}
!18 = distinct !{!18, !15}
!19 = !{!20, !21, i64 0}
!20 = !{!"_ZTS7NcLayer", !21, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!21 = !{!"_ZTS11NcLayerType", !7, i64 0}
!22 = !{!20, !6, i64 32}
!23 = !{!24, !6, i64 0}
!24 = !{!"_ZTSSt16initializer_listIiE", !6, i64 0, !25, i64 8}
!25 = !{!"long", !7, i64 0}
!26 = !{!24, !25, i64 8}
!27 = !{!20, !6, i64 40}
!28 = !{!20, !6, i64 48}
!29 = !{!20, !6, i64 8}
!30 = !{!31, !11, i64 12}
!31 = !{!"_ZTS18NcConvolutionParam", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !32, i64 24, !11, i64 28, !33, i64 32, !34, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88}
!32 = !{!"_ZTS13NcPaddingType", !7, i64 0}
!33 = !{!"_ZTS9px_size_t", !11, i64 0, !11, i64 4}
!34 = !{!"bool", !7, i64 0}
!35 = !{!36, !36, i64 0}
!36 = !{!"_ZTS13NcPoolingType", !7, i64 0}
!37 = !{!32, !32, i64 0}
!38 = !{!39, !11, i64 24}
!39 = !{!"_ZTS14NcPoolingParam", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !36, i64 36, !32, i64 40, !33, i64 44, !6, i64 56, !6, i64 64}
!40 = !{!41, !6, i64 8}
!41 = !{!"_ZTS16NcLayerBottomTop", !11, i64 0, !6, i64 8, !6, i64 16}
!42 = !{!43, !11, i64 16}
!43 = !{!"_ZTS6NcBlob", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !44, i64 32, !6, i64 40}
!44 = !{!"_ZTS14NcBlobDimOrder", !7, i64 0}
!45 = !{!10, !6, i64 32}
!46 = distinct !{!46, !15}


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@stderr = external local_unnamed_addr global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #0

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #2

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

declare i32 @__gxx_personality_v0(...)

declare ptr @nc_create_layer() local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

declare ptr @layer_type_to_str(i32 noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z21nc_lenet5_infer_setupP5NcNet(ptr noundef %0) local_unnamed_addr #5 personality ptr @__gxx_personality_v0 {
.lr.ph.preheader:
  %1 = alloca %"class.std::vector", align 8
  %2 = alloca %"class.std::vector", align 8
  %3 = alloca [1 x i32], align 4
  %4 = alloca [1 x i32], align 4
  %5 = alloca [1 x i32], align 4
  %6 = alloca [1 x i32], align 4
  %7 = alloca [1 x i32], align 4
  %8 = alloca [1 x i32], align 4
  %9 = alloca [1 x i32], align 4
  %10 = alloca [1 x i32], align 4
  %11 = alloca [1 x i32], align 4
  %12 = alloca [1 x i32], align 4
  store i32 5, ptr %0, align 8, !tbaa !5
  %13 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #6
  %14 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %13, ptr %14, align 8, !tbaa !11
  br label %.lr.ph

.lr.ph127.preheader:                              ; preds = %.lr.ph
  %15 = getelementptr inbounds i8, ptr %0, i64 16
  store i32 6, ptr %15, align 8, !tbaa !12
  %16 = tail call noalias dereferenceable_or_null(48) ptr @malloc(i64 noundef 48) #6
  %17 = getelementptr inbounds i8, ptr %0, i64 24
  store ptr %16, ptr %17, align 8, !tbaa !13
  br label %.lr.ph127

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %18 = tail call ptr @nc_create_layer()
  %19 = load ptr, ptr %14, align 8, !tbaa !11
  %20 = getelementptr inbounds ptr, ptr %19, i64 %indvars.iv
  store ptr %18, ptr %20, align 8, !tbaa !14
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %21 = load i32, ptr %0, align 8, !tbaa !5
  %22 = sext i32 %21 to i64
  %23 = icmp slt i64 %indvars.iv.next, %22
  br i1 %23, label %.lr.ph, label %.lr.ph127.preheader, !llvm.loop !15

._crit_edge128:                                   ; preds = %.lr.ph127
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %24 = load ptr, ptr %14, align 8, !tbaa !11
  %25 = load ptr, ptr %24, align 8, !tbaa !14
  store i32 1, ptr %25, align 8, !tbaa !17
  %26 = getelementptr inbounds i8, ptr %25, i64 32
  store ptr @nc_infer_convolution, ptr %26, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  store i32 1, ptr %3, align 4, !tbaa !21
  %27 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr nonnull %3, i64 1)
          to label %34 unwind label %160

.lr.ph127:                                        ; preds = %.lr.ph127.preheader, %.lr.ph127
  %indvars.iv134 = phi i64 [ 0, %.lr.ph127.preheader ], [ %indvars.iv.next135, %.lr.ph127 ]
  %28 = tail call ptr @nc_create_empty_blob(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
  %29 = load ptr, ptr %17, align 8, !tbaa !13
  %30 = getelementptr inbounds ptr, ptr %29, i64 %indvars.iv134
  store ptr %28, ptr %30, align 8, !tbaa !14
  %indvars.iv.next135 = add nuw nsw i64 %indvars.iv134, 1
  %31 = load i32, ptr %15, align 8, !tbaa !12
  %32 = sext i32 %31 to i64
  %33 = icmp slt i64 %indvars.iv.next135, %32
  br i1 %33, label %.lr.ph127, label %._crit_edge128, !llvm.loop !22

34:                                               ; preds = %._crit_edge128
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  %35 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #7
  store i32 0, ptr %35, align 4, !tbaa !21
  %36 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %37 = trunc i64 %36 to i32
  %38 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %39 = invoke ptr @nc_infer_create_layer_input(i32 noundef %37, ptr noundef %38, ptr noundef nonnull %0)
          to label %40 unwind label %162

40:                                               ; preds = %34
  %41 = getelementptr inbounds i8, ptr %25, i64 40
  store ptr %39, ptr %41, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  store i32 1, ptr %4, align 4, !tbaa !21
  %42 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr nonnull %4, i64 1)
          to label %43 unwind label %164

43:                                               ; preds = %40
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  %44 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %45 = trunc i64 %44 to i32
  %46 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %47 = invoke ptr @nc_infer_create_layer_output(i32 noundef %45, ptr noundef %46, ptr noundef nonnull %0)
          to label %48 unwind label %162

48:                                               ; preds = %43
  %49 = getelementptr inbounds i8, ptr %25, i64 48
  store ptr %47, ptr %49, align 8, !tbaa !24
  %50 = invoke ptr @nc_infer_create_convolution_param(i32 noundef 5, i32 noundef 1, i32 noundef 6, i32 noundef 0)
          to label %51 unwind label %166

51:                                               ; preds = %48
  %52 = getelementptr inbounds i8, ptr %25, i64 8
  store ptr %50, ptr %52, align 8, !tbaa !25
  %53 = load ptr, ptr %14, align 8, !tbaa !11
  %54 = getelementptr inbounds i8, ptr %53, i64 8
  %55 = load ptr, ptr %54, align 8, !tbaa !14
  store i32 2, ptr %55, align 8, !tbaa !17
  %56 = getelementptr inbounds i8, ptr %55, i64 32
  store ptr @nc_infer_pooling, ptr %56, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  store i32 1, ptr %5, align 4, !tbaa !21
  %57 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr nonnull %5, i64 1)
          to label %58 unwind label %168

58:                                               ; preds = %51
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  %59 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %60 = trunc i64 %59 to i32
  %61 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %62 = invoke ptr @nc_infer_create_layer_input(i32 noundef %60, ptr noundef %61, ptr noundef nonnull %0)
          to label %63 unwind label %166

63:                                               ; preds = %58
  %64 = getelementptr inbounds i8, ptr %55, i64 40
  store ptr %62, ptr %64, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  store i32 1, ptr %6, align 4, !tbaa !21
  %65 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr nonnull %6, i64 1)
          to label %66 unwind label %170

66:                                               ; preds = %63
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  %67 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %68 = trunc i64 %67 to i32
  %69 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %70 = invoke ptr @nc_infer_create_layer_output(i32 noundef %68, ptr noundef %69, ptr noundef nonnull %0)
          to label %71 unwind label %166

71:                                               ; preds = %66
  %72 = getelementptr inbounds i8, ptr %55, i64 48
  store ptr %70, ptr %72, align 8, !tbaa !24
  %73 = getelementptr inbounds i8, ptr %50, i64 12
  %74 = load i32, ptr %73, align 4, !tbaa !26
  %75 = invoke ptr @nc_infer_create_pooling_param(i32 noundef 2, i32 noundef %74, i32 noundef 0, i32 noundef 0)
          to label %76 unwind label %172

76:                                               ; preds = %71
  %77 = getelementptr inbounds i8, ptr %55, i64 8
  store ptr %75, ptr %77, align 8, !tbaa !25
  %78 = load ptr, ptr %14, align 8, !tbaa !11
  %79 = getelementptr inbounds i8, ptr %78, i64 16
  %80 = load ptr, ptr %79, align 8, !tbaa !14
  store i32 1, ptr %80, align 8, !tbaa !17
  %81 = getelementptr inbounds i8, ptr %80, i64 32
  store ptr @nc_infer_convolution, ptr %81, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  store i32 2, ptr %7, align 4, !tbaa !21
  %82 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr nonnull %7, i64 1)
          to label %83 unwind label %174

83:                                               ; preds = %76
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  %84 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %85 = trunc i64 %84 to i32
  %86 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %87 = invoke ptr @nc_infer_create_layer_input(i32 noundef %85, ptr noundef %86, ptr noundef nonnull %0)
          to label %88 unwind label %172

88:                                               ; preds = %83
  %89 = getelementptr inbounds i8, ptr %80, i64 40
  store ptr %87, ptr %89, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  store i32 3, ptr %8, align 4, !tbaa !21
  %90 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr nonnull %8, i64 1)
          to label %91 unwind label %176

91:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  %92 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %93 = trunc i64 %92 to i32
  %94 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %95 = invoke ptr @nc_infer_create_layer_output(i32 noundef %93, ptr noundef %94, ptr noundef nonnull %0)
          to label %96 unwind label %172

96:                                               ; preds = %91
  %97 = getelementptr inbounds i8, ptr %80, i64 48
  store ptr %95, ptr %97, align 8, !tbaa !24
  %98 = getelementptr inbounds i8, ptr %75, i64 24
  %99 = load i32, ptr %98, align 8, !tbaa !31
  %100 = invoke ptr @nc_infer_create_convolution_param(i32 noundef 5, i32 noundef %99, i32 noundef 12, i32 noundef 0)
          to label %101 unwind label %178

101:                                              ; preds = %96
  %102 = getelementptr inbounds i8, ptr %80, i64 8
  store ptr %100, ptr %102, align 8, !tbaa !25
  %103 = load ptr, ptr %14, align 8, !tbaa !11
  %104 = getelementptr inbounds i8, ptr %103, i64 24
  %105 = load ptr, ptr %104, align 8, !tbaa !14
  store i32 2, ptr %105, align 8, !tbaa !17
  %106 = getelementptr inbounds i8, ptr %105, i64 32
  store ptr @nc_infer_pooling, ptr %106, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #7
  store i32 3, ptr %9, align 4, !tbaa !21
  %107 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr nonnull %9, i64 1)
          to label %108 unwind label %180

108:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  %109 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %110 = trunc i64 %109 to i32
  %111 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %112 = invoke ptr @nc_infer_create_layer_input(i32 noundef %110, ptr noundef %111, ptr noundef nonnull %0)
          to label %113 unwind label %178

113:                                              ; preds = %108
  %114 = getelementptr inbounds i8, ptr %105, i64 40
  store ptr %112, ptr %114, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  store i32 4, ptr %10, align 4, !tbaa !21
  %115 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr nonnull %10, i64 1)
          to label %116 unwind label %182

116:                                              ; preds = %113
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  %117 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %118 = trunc i64 %117 to i32
  %119 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %120 = invoke ptr @nc_infer_create_layer_output(i32 noundef %118, ptr noundef %119, ptr noundef nonnull %0)
          to label %121 unwind label %178

121:                                              ; preds = %116
  %122 = getelementptr inbounds i8, ptr %105, i64 48
  store ptr %120, ptr %122, align 8, !tbaa !24
  %123 = getelementptr inbounds i8, ptr %100, i64 12
  %124 = load i32, ptr %123, align 4, !tbaa !26
  %125 = invoke ptr @nc_infer_create_pooling_param(i32 noundef 2, i32 noundef %124, i32 noundef 0, i32 noundef 0)
          to label %126 unwind label %184

126:                                              ; preds = %121
  %127 = getelementptr inbounds i8, ptr %105, i64 8
  store ptr %125, ptr %127, align 8, !tbaa !25
  %128 = load ptr, ptr %14, align 8, !tbaa !11
  %129 = getelementptr inbounds i8, ptr %128, i64 32
  %130 = load ptr, ptr %129, align 8, !tbaa !14
  store i32 3, ptr %130, align 8, !tbaa !17
  %131 = getelementptr inbounds i8, ptr %130, i64 32
  store ptr @nc_infer_innerproduct, ptr %131, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  store i32 4, ptr %11, align 4, !tbaa !21
  %132 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr nonnull %11, i64 1)
          to label %133 unwind label %186

133:                                              ; preds = %126
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  %134 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %135 = trunc i64 %134 to i32
  %136 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %137 = invoke ptr @nc_infer_create_layer_input(i32 noundef %135, ptr noundef %136, ptr noundef nonnull %0)
          to label %138 unwind label %184

138:                                              ; preds = %133
  %139 = getelementptr inbounds i8, ptr %130, i64 40
  store ptr %137, ptr %139, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #7
  store i32 5, ptr %12, align 4, !tbaa !21
  %140 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr nonnull %12, i64 1)
          to label %141 unwind label %188

141:                                              ; preds = %138
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  %142 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %143 = trunc i64 %142 to i32
  %144 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %145 = invoke ptr @nc_infer_create_layer_output(i32 noundef %143, ptr noundef %144, ptr noundef nonnull %0)
          to label %146 unwind label %184

146:                                              ; preds = %141
  %147 = getelementptr inbounds i8, ptr %130, i64 48
  store ptr %145, ptr %147, align 8, !tbaa !24
  %148 = load ptr, ptr %139, align 8, !tbaa !23
  %149 = getelementptr inbounds i8, ptr %148, i64 8
  %150 = load ptr, ptr %149, align 8, !tbaa !34
  %151 = load ptr, ptr %150, align 8, !tbaa !14
  %152 = getelementptr inbounds i8, ptr %151, i64 16
  %153 = load i32, ptr %152, align 8, !tbaa !36
  %154 = invoke ptr @nc_infer_create_innerproduct_param(i32 noundef %153, i32 noundef 10)
          to label %155 unwind label %190

155:                                              ; preds = %146
  %156 = getelementptr inbounds i8, ptr %130, i64 8
  store ptr %154, ptr %156, align 8, !tbaa !25
  %157 = getelementptr inbounds i8, ptr %0, i64 32
  store ptr null, ptr %157, align 8, !tbaa !39
  %158 = load i32, ptr %0, align 8, !tbaa !5
  %159 = icmp sgt i32 %158, 0
  br i1 %159, label %.lr.ph131, label %._crit_edge132

._crit_edge132:                                   ; preds = %198, %155
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #7
  ret void

160:                                              ; preds = %._crit_edge128
  %161 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  br label %208

162:                                              ; preds = %43, %34
  %163 = landingpad { ptr, i32 }
          cleanup
  br label %208

164:                                              ; preds = %40
  %165 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  br label %208

166:                                              ; preds = %66, %58, %48
  %167 = landingpad { ptr, i32 }
          cleanup
  br label %208

168:                                              ; preds = %51
  %169 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  br label %208

170:                                              ; preds = %63
  %171 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  br label %208

172:                                              ; preds = %91, %83, %71
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %208

174:                                              ; preds = %76
  %175 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  br label %208

176:                                              ; preds = %88
  %177 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  br label %208

178:                                              ; preds = %116, %108, %96
  %179 = landingpad { ptr, i32 }
          cleanup
  br label %208

180:                                              ; preds = %101
  %181 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  br label %208

182:                                              ; preds = %113
  %183 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  br label %208

184:                                              ; preds = %141, %133, %121
  %185 = landingpad { ptr, i32 }
          cleanup
  br label %208

186:                                              ; preds = %126
  %187 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  br label %208

188:                                              ; preds = %138
  %189 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  br label %208

190:                                              ; preds = %146
  %191 = landingpad { ptr, i32 }
          cleanup
  br label %208

.lr.ph131:                                        ; preds = %155, %198
  %indvars.iv137 = phi i64 [ %indvars.iv.next138, %198 ], [ 0, %155 ]
  %192 = load ptr, ptr %14, align 8, !tbaa !11
  %193 = getelementptr inbounds ptr, ptr %192, i64 %indvars.iv137
  %194 = load ptr, ptr %193, align 8, !tbaa !14
  %195 = load ptr, ptr @stderr, align 8, !tbaa !14
  %196 = load i32, ptr %194, align 8, !tbaa !17
  %197 = invoke ptr @layer_type_to_str(i32 noundef %196)
          to label %198 unwind label %206

198:                                              ; preds = %.lr.ph131
  %199 = trunc nuw nsw i64 %indvars.iv137 to i32
  %200 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %195, ptr noundef nonnull @.str.4, i32 noundef %199, ptr noundef %197) #8
  %201 = load ptr, ptr @stderr, align 8, !tbaa !14
  %202 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.5) #8
  %indvars.iv.next138 = add nuw nsw i64 %indvars.iv137, 1
  %203 = load i32, ptr %0, align 8, !tbaa !5
  %204 = sext i32 %203 to i64
  %205 = icmp slt i64 %indvars.iv.next138, %204
  br i1 %205, label %.lr.ph131, label %._crit_edge132, !llvm.loop !40

206:                                              ; preds = %.lr.ph131
  %207 = landingpad { ptr, i32 }
          cleanup
  br label %208

208:                                              ; preds = %166, %168, %170, %178, %180, %182, %190, %206, %188, %186, %184, %176, %174, %172, %164, %162, %160
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %163, %162 ], [ %165, %164 ], [ %161, %160 ], [ %167, %166 ], [ %171, %170 ], [ %169, %168 ], [ %173, %172 ], [ %177, %176 ], [ %175, %174 ], [ %179, %178 ], [ %183, %182 ], [ %181, %180 ], [ %185, %184 ], [ %189, %188 ], [ %187, %186 ], [ %207, %206 ], [ %191, %190 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn
}

declare ptr @nc_create_empty_blob(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

declare void @nc_infer_convolution(ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 align 2

declare ptr @nc_infer_create_layer_input(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare ptr @nc_infer_create_layer_output(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare ptr @nc_infer_create_convolution_param(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

declare void @nc_infer_pooling(ptr noundef, ptr noundef, ptr noundef) #4

declare ptr @nc_infer_create_pooling_param(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

declare void @nc_infer_innerproduct(ptr noundef, ptr noundef, ptr noundef) #4

declare ptr @nc_infer_create_innerproduct_param(i32 noundef, i32 noundef) local_unnamed_addr #4

attributes #0 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nofree 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 #3 = { 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 = { "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 = { 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 #6 = { nounwind allocsize(0) }
attributes #7 = { nounwind }
attributes #8 = { cold 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, !7, i64 0}
!6 = !{!"_ZTS5NcNet", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!6, !7, i64 16}
!13 = !{!6, !10, i64 24}
!14 = !{!10, !10, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !19, i64 0}
!18 = !{!"_ZTS7NcLayer", !19, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48}
!19 = !{!"_ZTS11NcLayerType", !8, i64 0}
!20 = !{!18, !10, i64 32}
!21 = !{!7, !7, i64 0}
!22 = distinct !{!22, !16}
!23 = !{!18, !10, i64 40}
!24 = !{!18, !10, i64 48}
!25 = !{!18, !10, i64 8}
!26 = !{!27, !7, i64 12}
!27 = !{!"_ZTS18NcConvolutionParam", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !28, i64 24, !7, i64 28, !29, i64 32, !30, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88}
!28 = !{!"_ZTS13NcPaddingType", !8, i64 0}
!29 = !{!"_ZTS9px_size_t", !7, i64 0, !7, i64 4}
!30 = !{!"bool", !8, i64 0}
!31 = !{!32, !7, i64 24}
!32 = !{!"_ZTS14NcPoolingParam", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !33, i64 36, !28, i64 40, !29, i64 44, !10, i64 56, !10, i64 64}
!33 = !{!"_ZTS13NcPoolingType", !8, i64 0}
!34 = !{!35, !10, i64 8}
!35 = !{!"_ZTS16NcLayerBottomTop", !7, i64 0, !10, i64 8, !10, i64 16}
!36 = !{!37, !7, i64 16}
!37 = !{!"_ZTS6NcBlob", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !38, i64 32, !10, i64 40}
!38 = !{!"_ZTS14NcBlobDimOrder", !8, i64 0}
!39 = !{!6, !10, i64 32}
!40 = distinct !{!40, !16}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass