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

; 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.px_size_t = type { i32, i32 }
%"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.NcPoolingParam = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.px_size_t, ptr, ptr }
%struct.NcInnerproductParam = type { i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i8 }

@.str = external hidden unnamed_addr constant [17 x i8], align 1
@_ZL11project_dir = external hidden global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@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: mustprogress uwtable
define dso_local void @_Z21nc_lenet5_train_setupP5NcNet9px_size_ti(ptr noundef %0, i64 %1, i32 noundef %2) #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca %struct.px_size_t, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca [256 x i8], align 16
  %10 = alloca ptr, align 8
  %11 = alloca %struct.px_size_t, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::vector", align 8
  %17 = alloca %"class.std::vector", align 8
  %18 = alloca [100 x ptr], align 16
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca %"class.std::initializer_list", align 8
  %25 = alloca [1 x i32], align 4
  %26 = alloca %"class.std::initializer_list", align 8
  %27 = alloca [1 x i32], align 4
  %28 = alloca ptr, align 8
  %29 = alloca %"class.std::initializer_list", align 8
  %30 = alloca [1 x i32], align 4
  %31 = alloca %"class.std::initializer_list", align 8
  %32 = alloca [1 x i32], align 4
  %33 = alloca ptr, align 8
  %34 = alloca %"class.std::initializer_list", align 8
  %35 = alloca [1 x i32], align 4
  %36 = alloca %"class.std::initializer_list", align 8
  %37 = alloca [1 x i32], align 4
  %38 = alloca ptr, align 8
  %39 = alloca %"class.std::initializer_list", align 8
  %40 = alloca [1 x i32], align 4
  %41 = alloca %"class.std::initializer_list", align 8
  %42 = alloca [1 x i32], align 4
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca ptr, align 8
  %46 = alloca %"class.std::initializer_list", align 8
  %47 = alloca [1 x i32], align 4
  %48 = alloca %"class.std::initializer_list", align 8
  %49 = alloca [1 x i32], align 4
  %50 = alloca i32, align 4
  store i64 %1, ptr %4, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.NcNet, ptr %51, i32 0, i32 0
  store i32 5, ptr %52, align 8, !tbaa !11
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.NcNet, ptr %53, i32 0, i32 0
  %55 = load i32, ptr %54, align 8, !tbaa !11
  %56 = sext i32 %55 to i64
  %57 = mul i64 8, %56
  %58 = call noalias ptr @malloc(i64 noundef %57) #7
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.NcNet, ptr %59, i32 0, i32 1
  store ptr %58, ptr %60, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %61

61:                                               ; preds = %75, %3
  %62 = load i32, ptr %7, align 4, !tbaa !9
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.NcNet, ptr %63, i32 0, i32 0
  %65 = load i32, ptr %64, align 8, !tbaa !11
  %66 = icmp slt i32 %62, %65
  br i1 %66, label %68, label %67

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

68:                                               ; preds = %61
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.NcNet, ptr %69, i32 0, i32 1
  %71 = load ptr, ptr %70, align 8, !tbaa !13
  %72 = load i32, ptr %7, align 4, !tbaa !9
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds ptr, ptr %71, i64 %73
  store ptr null, ptr %74, align 8, !tbaa !5
  br label %75

75:                                               ; preds = %68
  %76 = load i32, ptr %7, align 4, !tbaa !9
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %7, align 4, !tbaa !9
  br label %61, !llvm.loop !14

78:                                               ; preds = %67
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.NcNet, ptr %79, i32 0, i32 2
  store i32 6, ptr %80, align 8, !tbaa !16
  %81 = load ptr, ptr %5, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.NcNet, ptr %81, i32 0, i32 2
  %83 = load i32, ptr %82, align 8, !tbaa !16
  %84 = sext i32 %83 to i64
  %85 = mul i64 8, %84
  %86 = call noalias ptr @malloc(i64 noundef %85) #7
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.NcNet, ptr %87, i32 0, i32 3
  store ptr %86, ptr %88, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %89

89:                                               ; preds = %103, %78
  %90 = load i32, ptr %8, align 4, !tbaa !9
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.NcNet, ptr %91, i32 0, i32 2
  %93 = load i32, ptr %92, align 8, !tbaa !16
  %94 = icmp slt i32 %90, %93
  br i1 %94, label %96, label %95

95:                                               ; preds = %89
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  br label %106

96:                                               ; preds = %89
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.NcNet, ptr %97, i32 0, i32 3
  %99 = load ptr, ptr %98, align 8, !tbaa !17
  %100 = load i32, ptr %8, align 4, !tbaa !9
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds ptr, ptr %99, i64 %101
  store ptr null, ptr %102, align 8, !tbaa !5
  br label %103

103:                                              ; preds = %96
  %104 = load i32, ptr %8, align 4, !tbaa !9
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %8, align 4, !tbaa !9
  br label %89, !llvm.loop !18

106:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 256, ptr %9) #8
  %107 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
  %108 = load ptr, ptr @_ZL11project_dir, align 8, !tbaa !5
  %109 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %107, ptr noundef @.str, ptr noundef %108) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %110 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
  %111 = call noalias ptr @fopen(ptr noundef %110, ptr noundef @.str.1)
  store ptr %111, ptr %10, align 8, !tbaa !5
  %112 = load ptr, ptr %5, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.NcNet, ptr %112, i32 0, i32 3
  %114 = load ptr, ptr %113, align 8, !tbaa !17
  %115 = getelementptr inbounds ptr, ptr %114, i64 1
  %116 = load ptr, ptr %115, align 8, !tbaa !5
  %117 = icmp eq ptr %116, null
  br i1 %117, label %118, label %121

118:                                              ; preds = %106
  %119 = load ptr, ptr %10, align 8, !tbaa !5
  %120 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %119, ptr noundef @.str.2) #8
  br label %123

121:                                              ; preds = %106
  %122 = call i32 @puts(ptr noundef @.str.3)
  br label %123

123:                                              ; preds = %121, %118
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  %125 = call i32 @fclose(ptr noundef %124)
  %126 = call ptr @nc_create_blob3d(i32 noundef 28, i32 noundef 28, i32 noundef 1)
  %127 = load ptr, ptr %5, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.NcNet, ptr %127, i32 0, i32 3
  %129 = load ptr, ptr %128, align 8, !tbaa !17
  %130 = getelementptr inbounds ptr, ptr %129, i64 0
  store ptr %126, ptr %130, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  call void @llvm.lifetime.start.p0(i64 800, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %131

131:                                              ; preds = %139, %123
  %132 = load i32, ptr %19, align 4, !tbaa !9
  %133 = icmp slt i32 %132, 100
  br i1 %133, label %135, label %134

134:                                              ; preds = %131
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %142

135:                                              ; preds = %131
  %136 = load i32, ptr %19, align 4, !tbaa !9
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds [100 x ptr], ptr %18, i64 0, i64 %137
  store ptr null, ptr %138, align 8, !tbaa !5
  br label %139

139:                                              ; preds = %135
  %140 = load i32, ptr %19, align 4, !tbaa !9
  %141 = add nsw i32 %140, 1
  store i32 %141, ptr %19, align 4, !tbaa !9
  br label %131, !llvm.loop !19

142:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  store ptr null, ptr %20, align 8, !tbaa !5
  store i32 5, ptr %12, align 4, !tbaa !9
  %143 = getelementptr inbounds %struct.px_size_t, ptr %4, i32 0, i32 0
  %144 = load i32, ptr %143, align 4, !tbaa !20
  %145 = getelementptr inbounds %struct.px_size_t, ptr %11, i32 0, i32 0
  store i32 %144, ptr %145, align 4, !tbaa !20
  %146 = getelementptr inbounds %struct.px_size_t, ptr %4, i32 0, i32 1
  %147 = load i32, ptr %146, align 4, !tbaa !22
  %148 = getelementptr inbounds %struct.px_size_t, ptr %11, i32 0, i32 1
  store i32 %147, ptr %148, align 4, !tbaa !22
  store i32 1, ptr %13, align 4, !tbaa !9
  store i32 6, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %149 = getelementptr inbounds %struct.px_size_t, ptr %11, i32 0, i32 1
  %150 = load i32, ptr %149, align 4, !tbaa !22
  %151 = getelementptr inbounds %struct.px_size_t, ptr %11, i32 0, i32 0
  %152 = load i32, ptr %151, align 4, !tbaa !20
  %153 = load i32, ptr %12, align 4, !tbaa !9
  %154 = load i32, ptr %13, align 4, !tbaa !9
  %155 = load i32, ptr %14, align 4, !tbaa !9
  %156 = invoke ptr @nc_train_create_convolution_param(i32 noundef %150, i32 noundef %152, i32 noundef %153, i32 noundef %154, i32 noundef %155)
          to label %157 unwind label %559

157:                                              ; preds = %142
  store ptr %156, ptr %21, align 8, !tbaa !5
  %158 = invoke ptr @nc_create_layer()
          to label %159 unwind label %559

159:                                              ; preds = %157
  store ptr %158, ptr %20, align 8, !tbaa !5
  %160 = load ptr, ptr %20, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.NcLayer, ptr %160, i32 0, i32 0
  store i32 1, ptr %161, align 8, !tbaa !23
  %162 = load ptr, ptr %21, align 8, !tbaa !5
  %163 = load ptr, ptr %20, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.NcLayer, ptr %163, i32 0, i32 1
  store ptr %162, ptr %164, align 8, !tbaa !26
  %165 = load ptr, ptr %20, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.NcLayer, ptr %165, i32 0, i32 2
  store ptr @nc_train_forward_convolution, ptr %166, align 8, !tbaa !27
  %167 = load ptr, ptr %20, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.NcLayer, ptr %167, i32 0, i32 3
  store ptr @nc_train_forward_convolution, ptr %168, align 8, !tbaa !28
  %169 = load ptr, ptr %20, align 8, !tbaa !5
  %170 = load ptr, ptr %5, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.NcNet, ptr %170, i32 0, i32 1
  %172 = load ptr, ptr %171, align 8, !tbaa !13
  %173 = getelementptr inbounds ptr, ptr %172, i64 0
  store ptr %169, ptr %173, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  store i32 1, ptr %25, align 4, !tbaa !9
  %174 = getelementptr inbounds %"class.std::initializer_list", ptr %24, i32 0, i32 0
  store ptr %25, ptr %174, align 8, !tbaa !29
  %175 = getelementptr inbounds %"class.std::initializer_list", ptr %24, i32 0, i32 1
  store i64 1, ptr %175, align 8, !tbaa !32
  %176 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 0
  %177 = load ptr, ptr %176, align 8
  %178 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 1
  %179 = load i64, ptr %178, align 8
  %180 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr %177, i64 %179)
          to label %181 unwind label %563

181:                                              ; preds = %159
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  %182 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  %183 = trunc i64 %182 to i32
  %184 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  %185 = load ptr, ptr %5, align 8, !tbaa !5
  %186 = invoke ptr @nc_train_create_layer_input(i32 noundef %183, ptr noundef %184, ptr noundef %185)
          to label %187 unwind label %559

187:                                              ; preds = %181
  %188 = load ptr, ptr %20, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.NcLayer, ptr %188, i32 0, i32 5
  store ptr %186, ptr %189, align 8, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  store i32 1, ptr %27, align 4, !tbaa !9
  %190 = getelementptr inbounds %"class.std::initializer_list", ptr %26, i32 0, i32 0
  store ptr %27, ptr %190, align 8, !tbaa !29
  %191 = getelementptr inbounds %"class.std::initializer_list", ptr %26, i32 0, i32 1
  store i64 1, ptr %191, align 8, !tbaa !32
  %192 = getelementptr inbounds { ptr, i64 }, ptr %26, i32 0, i32 0
  %193 = load ptr, ptr %192, align 8
  %194 = getelementptr inbounds { ptr, i64 }, ptr %26, i32 0, i32 1
  %195 = load i64, ptr %194, align 8
  %196 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr %193, i64 %195)
          to label %197 unwind label %567

197:                                              ; preds = %187
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  %198 = load ptr, ptr %21, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.NcConvolutionParam, ptr %198, i32 0, i32 4
  %200 = load i32, ptr %199, align 8, !tbaa !34
  %201 = load ptr, ptr %21, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.NcConvolutionParam, ptr %201, i32 0, i32 5
  %203 = load i32, ptr %202, align 4, !tbaa !38
  %204 = load ptr, ptr %21, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.NcConvolutionParam, ptr %204, i32 0, i32 3
  %206 = load i32, ptr %205, align 4, !tbaa !39
  %207 = invoke ptr @nc_create_blob3d(i32 noundef %200, i32 noundef %203, i32 noundef %206)
          to label %208 unwind label %559

208:                                              ; preds = %197
  %209 = getelementptr inbounds [100 x ptr], ptr %18, i64 0, i64 0
  store ptr %207, ptr %209, align 16, !tbaa !5
  %210 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  %211 = trunc i64 %210 to i32
  %212 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  %213 = load ptr, ptr %5, align 8, !tbaa !5
  %214 = getelementptr inbounds [100 x ptr], ptr %18, i64 0, i64 0
  %215 = invoke ptr @nc_train_create_layer_output(i32 noundef %211, ptr noundef %212, ptr noundef %213, ptr noundef %214)
          to label %216 unwind label %559

216:                                              ; preds = %208
  %217 = load ptr, ptr %20, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.NcLayer, ptr %217, i32 0, i32 6
  store ptr %215, ptr %218, align 8, !tbaa !40
  %219 = load ptr, ptr %21, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.NcConvolutionParam, ptr %219, i32 0, i32 4
  %221 = load i32, ptr %220, align 8, !tbaa !34
  %222 = getelementptr inbounds %struct.px_size_t, ptr %11, i32 0, i32 1
  store i32 %221, ptr %222, align 4, !tbaa !22
  %223 = load ptr, ptr %21, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.NcConvolutionParam, ptr %223, i32 0, i32 5
  %225 = load i32, ptr %224, align 4, !tbaa !38
  %226 = getelementptr inbounds %struct.px_size_t, ptr %11, i32 0, i32 0
  store i32 %225, ptr %226, align 4, !tbaa !20
  store i32 2, ptr %12, align 4, !tbaa !9
  %227 = load ptr, ptr %21, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.NcConvolutionParam, ptr %227, i32 0, i32 3
  %229 = load i32, ptr %228, align 4, !tbaa !39
  store i32 %229, ptr %13, align 4, !tbaa !9
  store i32 6, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %230 = getelementptr inbounds %struct.px_size_t, ptr %11, i32 0, i32 1
  %231 = load i32, ptr %230, align 4, !tbaa !22
  %232 = getelementptr inbounds %struct.px_size_t, ptr %11, i32 0, i32 0
  %233 = load i32, ptr %232, align 4, !tbaa !20
  %234 = load i32, ptr %12, align 4, !tbaa !9
  %235 = load i32, ptr %13, align 4, !tbaa !9
  %236 = load i32, ptr %14, align 4, !tbaa !9
  %237 = load i32, ptr %15, align 4, !tbaa !9
  %238 = invoke ptr @nc_train_create_pooling_param(i32 noundef %231, i32 noundef %233, i32 noundef %234, i32 noundef %235, i32 noundef %236, i32 noundef %237)
          to label %239 unwind label %571

239:                                              ; preds = %216
  store ptr %238, ptr %28, align 8, !tbaa !5
  %240 = invoke ptr @nc_create_layer()
          to label %241 unwind label %571

241:                                              ; preds = %239
  store ptr %240, ptr %20, align 8, !tbaa !5
  %242 = load ptr, ptr %20, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.NcLayer, ptr %242, i32 0, i32 0
  store i32 2, ptr %243, align 8, !tbaa !23
  %244 = load ptr, ptr %28, align 8, !tbaa !5
  %245 = load ptr, ptr %20, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.NcLayer, ptr %245, i32 0, i32 1
  store ptr %244, ptr %246, align 8, !tbaa !26
  %247 = load ptr, ptr %20, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.NcLayer, ptr %247, i32 0, i32 2
  store ptr @nc_train_forward_pooling, ptr %248, align 8, !tbaa !27
  %249 = load ptr, ptr %20, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.NcLayer, ptr %249, i32 0, i32 3
  store ptr @nc_train_backward_pooling, ptr %250, align 8, !tbaa !28
  %251 = load ptr, ptr %20, align 8, !tbaa !5
  %252 = load ptr, ptr %5, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.NcNet, ptr %252, i32 0, i32 1
  %254 = load ptr, ptr %253, align 8, !tbaa !13
  %255 = getelementptr inbounds ptr, ptr %254, i64 1
  store ptr %251, ptr %255, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  store i32 1, ptr %30, align 4, !tbaa !9
  %256 = getelementptr inbounds %"class.std::initializer_list", ptr %29, i32 0, i32 0
  store ptr %30, ptr %256, align 8, !tbaa !29
  %257 = getelementptr inbounds %"class.std::initializer_list", ptr %29, i32 0, i32 1
  store i64 1, ptr %257, align 8, !tbaa !32
  %258 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 0
  %259 = load ptr, ptr %258, align 8
  %260 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 1
  %261 = load i64, ptr %260, align 8
  %262 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr %259, i64 %261)
          to label %263 unwind label %575

263:                                              ; preds = %241
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  %264 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  %265 = trunc i64 %264 to i32
  %266 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  %267 = load ptr, ptr %5, align 8, !tbaa !5
  %268 = invoke ptr @nc_train_create_layer_input(i32 noundef %265, ptr noundef %266, ptr noundef %267)
          to label %269 unwind label %571

269:                                              ; preds = %263
  %270 = load ptr, ptr %20, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.NcLayer, ptr %270, i32 0, i32 5
  store ptr %268, ptr %271, align 8, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  store i32 2, ptr %32, align 4, !tbaa !9
  %272 = getelementptr inbounds %"class.std::initializer_list", ptr %31, i32 0, i32 0
  store ptr %32, ptr %272, align 8, !tbaa !29
  %273 = getelementptr inbounds %"class.std::initializer_list", ptr %31, i32 0, i32 1
  store i64 1, ptr %273, align 8, !tbaa !32
  %274 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 0
  %275 = load ptr, ptr %274, align 8
  %276 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 1
  %277 = load i64, ptr %276, align 8
  %278 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr %275, i64 %277)
          to label %279 unwind label %579

279:                                              ; preds = %269
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  %280 = load ptr, ptr %28, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.NcPoolingParam, ptr %280, i32 0, i32 7
  %282 = load i32, ptr %281, align 4, !tbaa !41
  %283 = load ptr, ptr %28, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.NcPoolingParam, ptr %283, i32 0, i32 8
  %285 = load i32, ptr %284, align 8, !tbaa !44
  %286 = load ptr, ptr %28, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.NcPoolingParam, ptr %286, i32 0, i32 6
  %288 = load i32, ptr %287, align 8, !tbaa !45
  %289 = invoke ptr @nc_create_blob3d(i32 noundef %282, i32 noundef %285, i32 noundef %288)
          to label %290 unwind label %571

290:                                              ; preds = %279
  %291 = getelementptr inbounds [100 x ptr], ptr %18, i64 0, i64 0
  store ptr %289, ptr %291, align 16, !tbaa !5
  %292 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  %293 = trunc i64 %292 to i32
  %294 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  %295 = load ptr, ptr %5, align 8, !tbaa !5
  %296 = getelementptr inbounds [100 x ptr], ptr %18, i64 0, i64 0
  %297 = invoke ptr @nc_train_create_layer_output(i32 noundef %293, ptr noundef %294, ptr noundef %295, ptr noundef %296)
          to label %298 unwind label %571

298:                                              ; preds = %290
  %299 = load ptr, ptr %20, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.NcLayer, ptr %299, i32 0, i32 6
  store ptr %297, ptr %300, align 8, !tbaa !40
  %301 = load ptr, ptr %28, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.NcPoolingParam, ptr %301, i32 0, i32 7
  %303 = load i32, ptr %302, align 4, !tbaa !41
  %304 = getelementptr inbounds %struct.px_size_t, ptr %11, i32 0, i32 1
  store i32 %303, ptr %304, align 4, !tbaa !22
  %305 = load ptr, ptr %28, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.NcPoolingParam, ptr %305, i32 0, i32 8
  %307 = load i32, ptr %306, align 8, !tbaa !44
  %308 = getelementptr inbounds %struct.px_size_t, ptr %11, i32 0, i32 0
  store i32 %307, ptr %308, align 4, !tbaa !20
  store i32 5, ptr %12, align 4, !tbaa !9
  %309 = load ptr, ptr %28, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.NcPoolingParam, ptr %309, i32 0, i32 6
  %311 = load i32, ptr %310, align 8, !tbaa !45
  store i32 %311, ptr %13, align 4, !tbaa !9
  store i32 12, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %312 = getelementptr inbounds %struct.px_size_t, ptr %11, i32 0, i32 1
  %313 = load i32, ptr %312, align 4, !tbaa !22
  %314 = getelementptr inbounds %struct.px_size_t, ptr %11, i32 0, i32 0
  %315 = load i32, ptr %314, align 4, !tbaa !20
  %316 = load i32, ptr %12, align 4, !tbaa !9
  %317 = load i32, ptr %13, align 4, !tbaa !9
  %318 = load i32, ptr %14, align 4, !tbaa !9
  %319 = invoke ptr @nc_train_create_convolution_param(i32 noundef %313, i32 noundef %315, i32 noundef %316, i32 noundef %317, i32 noundef %318)
          to label %320 unwind label %583

320:                                              ; preds = %298
  store ptr %319, ptr %33, align 8, !tbaa !5
  %321 = invoke ptr @nc_create_layer()
          to label %322 unwind label %583

322:                                              ; preds = %320
  store ptr %321, ptr %20, align 8, !tbaa !5
  %323 = load ptr, ptr %20, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.NcLayer, ptr %323, i32 0, i32 0
  store i32 1, ptr %324, align 8, !tbaa !23
  %325 = load ptr, ptr %33, align 8, !tbaa !5
  %326 = load ptr, ptr %20, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.NcLayer, ptr %326, i32 0, i32 1
  store ptr %325, ptr %327, align 8, !tbaa !26
  %328 = load ptr, ptr %20, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.NcLayer, ptr %328, i32 0, i32 2
  store ptr @nc_train_forward_convolution, ptr %329, align 8, !tbaa !27
  %330 = load ptr, ptr %20, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.NcLayer, ptr %330, i32 0, i32 3
  store ptr @nc_train_backward_convolution, ptr %331, align 8, !tbaa !28
  %332 = load ptr, ptr %20, align 8, !tbaa !5
  %333 = load ptr, ptr %5, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.NcNet, ptr %333, i32 0, i32 1
  %335 = load ptr, ptr %334, align 8, !tbaa !13
  %336 = getelementptr inbounds ptr, ptr %335, i64 2
  store ptr %332, ptr %336, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #8
  store i32 2, ptr %35, align 4, !tbaa !9
  %337 = getelementptr inbounds %"class.std::initializer_list", ptr %34, i32 0, i32 0
  store ptr %35, ptr %337, align 8, !tbaa !29
  %338 = getelementptr inbounds %"class.std::initializer_list", ptr %34, i32 0, i32 1
  store i64 1, ptr %338, align 8, !tbaa !32
  %339 = getelementptr inbounds { ptr, i64 }, ptr %34, i32 0, i32 0
  %340 = load ptr, ptr %339, align 8
  %341 = getelementptr inbounds { ptr, i64 }, ptr %34, i32 0, i32 1
  %342 = load i64, ptr %341, align 8
  %343 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr %340, i64 %342)
          to label %344 unwind label %587

344:                                              ; preds = %322
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  %345 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  %346 = trunc i64 %345 to i32
  %347 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  %348 = load ptr, ptr %5, align 8, !tbaa !5
  %349 = invoke ptr @nc_train_create_layer_input(i32 noundef %346, ptr noundef %347, ptr noundef %348)
          to label %350 unwind label %583

350:                                              ; preds = %344
  %351 = load ptr, ptr %20, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.NcLayer, ptr %351, i32 0, i32 5
  store ptr %349, ptr %352, align 8, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #8
  store i32 3, ptr %37, align 4, !tbaa !9
  %353 = getelementptr inbounds %"class.std::initializer_list", ptr %36, i32 0, i32 0
  store ptr %37, ptr %353, align 8, !tbaa !29
  %354 = getelementptr inbounds %"class.std::initializer_list", ptr %36, i32 0, i32 1
  store i64 1, ptr %354, align 8, !tbaa !32
  %355 = getelementptr inbounds { ptr, i64 }, ptr %36, i32 0, i32 0
  %356 = load ptr, ptr %355, align 8
  %357 = getelementptr inbounds { ptr, i64 }, ptr %36, i32 0, i32 1
  %358 = load i64, ptr %357, align 8
  %359 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr %356, i64 %358)
          to label %360 unwind label %591

360:                                              ; preds = %350
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  %361 = load ptr, ptr %33, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.NcConvolutionParam, ptr %361, i32 0, i32 4
  %363 = load i32, ptr %362, align 8, !tbaa !34
  %364 = load ptr, ptr %33, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.NcConvolutionParam, ptr %364, i32 0, i32 5
  %366 = load i32, ptr %365, align 4, !tbaa !38
  %367 = load ptr, ptr %33, align 8, !tbaa !5
  %368 = getelementptr inbounds %struct.NcConvolutionParam, ptr %367, i32 0, i32 3
  %369 = load i32, ptr %368, align 4, !tbaa !39
  %370 = invoke ptr @nc_create_blob3d(i32 noundef %363, i32 noundef %366, i32 noundef %369)
          to label %371 unwind label %583

371:                                              ; preds = %360
  %372 = getelementptr inbounds [100 x ptr], ptr %18, i64 0, i64 0
  store ptr %370, ptr %372, align 16, !tbaa !5
  %373 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  %374 = trunc i64 %373 to i32
  %375 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  %376 = load ptr, ptr %5, align 8, !tbaa !5
  %377 = getelementptr inbounds [100 x ptr], ptr %18, i64 0, i64 0
  %378 = invoke ptr @nc_train_create_layer_output(i32 noundef %374, ptr noundef %375, ptr noundef %376, ptr noundef %377)
          to label %379 unwind label %583

379:                                              ; preds = %371
  %380 = load ptr, ptr %20, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.NcLayer, ptr %380, i32 0, i32 6
  store ptr %378, ptr %381, align 8, !tbaa !40
  %382 = load ptr, ptr %33, align 8, !tbaa !5
  %383 = getelementptr inbounds %struct.NcConvolutionParam, ptr %382, i32 0, i32 4
  %384 = load i32, ptr %383, align 8, !tbaa !34
  %385 = getelementptr inbounds %struct.px_size_t, ptr %11, i32 0, i32 1
  store i32 %384, ptr %385, align 4, !tbaa !22
  %386 = load ptr, ptr %33, align 8, !tbaa !5
  %387 = getelementptr inbounds %struct.NcConvolutionParam, ptr %386, i32 0, i32 5
  %388 = load i32, ptr %387, align 4, !tbaa !38
  %389 = getelementptr inbounds %struct.px_size_t, ptr %11, i32 0, i32 0
  store i32 %388, ptr %389, align 4, !tbaa !20
  store i32 2, ptr %12, align 4, !tbaa !9
  %390 = load ptr, ptr %33, align 8, !tbaa !5
  %391 = getelementptr inbounds %struct.NcConvolutionParam, ptr %390, i32 0, i32 3
  %392 = load i32, ptr %391, align 4, !tbaa !39
  store i32 %392, ptr %13, align 4, !tbaa !9
  store i32 12, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  %393 = getelementptr inbounds %struct.px_size_t, ptr %11, i32 0, i32 1
  %394 = load i32, ptr %393, align 4, !tbaa !22
  %395 = getelementptr inbounds %struct.px_size_t, ptr %11, i32 0, i32 0
  %396 = load i32, ptr %395, align 4, !tbaa !20
  %397 = load i32, ptr %12, align 4, !tbaa !9
  %398 = load i32, ptr %13, align 4, !tbaa !9
  %399 = load i32, ptr %14, align 4, !tbaa !9
  %400 = load i32, ptr %15, align 4, !tbaa !9
  %401 = invoke ptr @nc_train_create_pooling_param(i32 noundef %394, i32 noundef %396, i32 noundef %397, i32 noundef %398, i32 noundef %399, i32 noundef %400)
          to label %402 unwind label %595

402:                                              ; preds = %379
  store ptr %401, ptr %38, align 8, !tbaa !5
  %403 = invoke ptr @nc_create_layer()
          to label %404 unwind label %595

404:                                              ; preds = %402
  store ptr %403, ptr %20, align 8, !tbaa !5
  %405 = load ptr, ptr %20, align 8, !tbaa !5
  %406 = getelementptr inbounds %struct.NcLayer, ptr %405, i32 0, i32 0
  store i32 2, ptr %406, align 8, !tbaa !23
  %407 = load ptr, ptr %38, align 8, !tbaa !5
  %408 = load ptr, ptr %20, align 8, !tbaa !5
  %409 = getelementptr inbounds %struct.NcLayer, ptr %408, i32 0, i32 1
  store ptr %407, ptr %409, align 8, !tbaa !26
  %410 = load ptr, ptr %20, align 8, !tbaa !5
  %411 = getelementptr inbounds %struct.NcLayer, ptr %410, i32 0, i32 2
  store ptr @nc_train_forward_pooling, ptr %411, align 8, !tbaa !27
  %412 = load ptr, ptr %20, align 8, !tbaa !5
  %413 = getelementptr inbounds %struct.NcLayer, ptr %412, i32 0, i32 3
  store ptr @nc_train_backward_pooling, ptr %413, align 8, !tbaa !28
  %414 = load ptr, ptr %20, align 8, !tbaa !5
  %415 = load ptr, ptr %5, align 8, !tbaa !5
  %416 = getelementptr inbounds %struct.NcNet, ptr %415, i32 0, i32 1
  %417 = load ptr, ptr %416, align 8, !tbaa !13
  %418 = getelementptr inbounds ptr, ptr %417, i64 3
  store ptr %414, ptr %418, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #8
  store i32 3, ptr %40, align 4, !tbaa !9
  %419 = getelementptr inbounds %"class.std::initializer_list", ptr %39, i32 0, i32 0
  store ptr %40, ptr %419, align 8, !tbaa !29
  %420 = getelementptr inbounds %"class.std::initializer_list", ptr %39, i32 0, i32 1
  store i64 1, ptr %420, align 8, !tbaa !32
  %421 = getelementptr inbounds { ptr, i64 }, ptr %39, i32 0, i32 0
  %422 = load ptr, ptr %421, align 8
  %423 = getelementptr inbounds { ptr, i64 }, ptr %39, i32 0, i32 1
  %424 = load i64, ptr %423, align 8
  %425 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr %422, i64 %424)
          to label %426 unwind label %599

426:                                              ; preds = %404
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  %427 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  %428 = trunc i64 %427 to i32
  %429 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  %430 = load ptr, ptr %5, align 8, !tbaa !5
  %431 = invoke ptr @nc_train_create_layer_input(i32 noundef %428, ptr noundef %429, ptr noundef %430)
          to label %432 unwind label %595

432:                                              ; preds = %426
  %433 = load ptr, ptr %20, align 8, !tbaa !5
  %434 = getelementptr inbounds %struct.NcLayer, ptr %433, i32 0, i32 5
  store ptr %431, ptr %434, align 8, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #8
  store i32 4, ptr %42, align 4, !tbaa !9
  %435 = getelementptr inbounds %"class.std::initializer_list", ptr %41, i32 0, i32 0
  store ptr %42, ptr %435, align 8, !tbaa !29
  %436 = getelementptr inbounds %"class.std::initializer_list", ptr %41, i32 0, i32 1
  store i64 1, ptr %436, align 8, !tbaa !32
  %437 = getelementptr inbounds { ptr, i64 }, ptr %41, i32 0, i32 0
  %438 = load ptr, ptr %437, align 8
  %439 = getelementptr inbounds { ptr, i64 }, ptr %41, i32 0, i32 1
  %440 = load i64, ptr %439, align 8
  %441 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr %438, i64 %440)
          to label %442 unwind label %603

442:                                              ; preds = %432
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  %443 = load ptr, ptr %38, align 8, !tbaa !5
  %444 = getelementptr inbounds %struct.NcPoolingParam, ptr %443, i32 0, i32 7
  %445 = load i32, ptr %444, align 4, !tbaa !41
  %446 = load ptr, ptr %38, align 8, !tbaa !5
  %447 = getelementptr inbounds %struct.NcPoolingParam, ptr %446, i32 0, i32 8
  %448 = load i32, ptr %447, align 8, !tbaa !44
  %449 = load ptr, ptr %38, align 8, !tbaa !5
  %450 = getelementptr inbounds %struct.NcPoolingParam, ptr %449, i32 0, i32 6
  %451 = load i32, ptr %450, align 8, !tbaa !45
  %452 = invoke ptr @nc_create_blob3d(i32 noundef %445, i32 noundef %448, i32 noundef %451)
          to label %453 unwind label %595

453:                                              ; preds = %442
  %454 = getelementptr inbounds [100 x ptr], ptr %18, i64 0, i64 0
  store ptr %452, ptr %454, align 16, !tbaa !5
  %455 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  %456 = trunc i64 %455 to i32
  %457 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  %458 = load ptr, ptr %5, align 8, !tbaa !5
  %459 = getelementptr inbounds [100 x ptr], ptr %18, i64 0, i64 0
  %460 = invoke ptr @nc_train_create_layer_output(i32 noundef %456, ptr noundef %457, ptr noundef %458, ptr noundef %459)
          to label %461 unwind label %595

461:                                              ; preds = %453
  %462 = load ptr, ptr %20, align 8, !tbaa !5
  %463 = getelementptr inbounds %struct.NcLayer, ptr %462, i32 0, i32 6
  store ptr %460, ptr %463, align 8, !tbaa !40
  %464 = load ptr, ptr %38, align 8, !tbaa !5
  %465 = getelementptr inbounds %struct.NcPoolingParam, ptr %464, i32 0, i32 8
  %466 = load i32, ptr %465, align 8, !tbaa !44
  %467 = getelementptr inbounds %struct.px_size_t, ptr %11, i32 0, i32 0
  store i32 %466, ptr %467, align 4, !tbaa !20
  %468 = load ptr, ptr %38, align 8, !tbaa !5
  %469 = getelementptr inbounds %struct.NcPoolingParam, ptr %468, i32 0, i32 7
  %470 = load i32, ptr %469, align 4, !tbaa !41
  %471 = getelementptr inbounds %struct.px_size_t, ptr %11, i32 0, i32 1
  store i32 %470, ptr %471, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #8
  %472 = getelementptr inbounds %struct.px_size_t, ptr %11, i32 0, i32 1
  %473 = load i32, ptr %472, align 4, !tbaa !22
  %474 = getelementptr inbounds %struct.px_size_t, ptr %11, i32 0, i32 0
  %475 = load i32, ptr %474, align 4, !tbaa !20
  %476 = mul nsw i32 %473, %475
  %477 = load ptr, ptr %38, align 8, !tbaa !5
  %478 = getelementptr inbounds %struct.NcPoolingParam, ptr %477, i32 0, i32 6
  %479 = load i32, ptr %478, align 8, !tbaa !45
  %480 = mul nsw i32 %476, %479
  store i32 %480, ptr %43, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #8
  %481 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %481, ptr %44, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  %482 = load i32, ptr %43, align 4, !tbaa !9
  %483 = load i32, ptr %44, align 4, !tbaa !9
  %484 = invoke ptr @nc_train_create_innerproduct_param(i32 noundef %482, i32 noundef %483)
          to label %485 unwind label %607

485:                                              ; preds = %461
  store ptr %484, ptr %45, align 8, !tbaa !5
  %486 = invoke ptr @nc_create_layer()
          to label %487 unwind label %607

487:                                              ; preds = %485
  store ptr %486, ptr %20, align 8, !tbaa !5
  %488 = load ptr, ptr %20, align 8, !tbaa !5
  %489 = getelementptr inbounds %struct.NcLayer, ptr %488, i32 0, i32 0
  store i32 3, ptr %489, align 8, !tbaa !23
  %490 = load ptr, ptr %45, align 8, !tbaa !5
  %491 = load ptr, ptr %20, align 8, !tbaa !5
  %492 = getelementptr inbounds %struct.NcLayer, ptr %491, i32 0, i32 1
  store ptr %490, ptr %492, align 8, !tbaa !26
  %493 = load ptr, ptr %20, align 8, !tbaa !5
  %494 = getelementptr inbounds %struct.NcLayer, ptr %493, i32 0, i32 2
  store ptr @nc_train_forward_innerproduct, ptr %494, align 8, !tbaa !27
  %495 = load ptr, ptr %20, align 8, !tbaa !5
  %496 = getelementptr inbounds %struct.NcLayer, ptr %495, i32 0, i32 3
  store ptr @nc_train_backward_innerproduct, ptr %496, align 8, !tbaa !28
  %497 = load ptr, ptr %20, align 8, !tbaa !5
  %498 = load ptr, ptr %5, align 8, !tbaa !5
  %499 = getelementptr inbounds %struct.NcNet, ptr %498, i32 0, i32 1
  %500 = load ptr, ptr %499, align 8, !tbaa !13
  %501 = getelementptr inbounds ptr, ptr %500, i64 4
  store ptr %497, ptr %501, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #8
  store i32 4, ptr %47, align 4, !tbaa !9
  %502 = getelementptr inbounds %"class.std::initializer_list", ptr %46, i32 0, i32 0
  store ptr %47, ptr %502, align 8, !tbaa !29
  %503 = getelementptr inbounds %"class.std::initializer_list", ptr %46, i32 0, i32 1
  store i64 1, ptr %503, align 8, !tbaa !32
  %504 = getelementptr inbounds { ptr, i64 }, ptr %46, i32 0, i32 0
  %505 = load ptr, ptr %504, align 8
  %506 = getelementptr inbounds { ptr, i64 }, ptr %46, i32 0, i32 1
  %507 = load i64, ptr %506, align 8
  %508 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr %505, i64 %507)
          to label %509 unwind label %611

509:                                              ; preds = %487
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #8
  %510 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  %511 = trunc i64 %510 to i32
  %512 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  %513 = load ptr, ptr %5, align 8, !tbaa !5
  %514 = invoke ptr @nc_train_create_layer_input(i32 noundef %511, ptr noundef %512, ptr noundef %513)
          to label %515 unwind label %607

515:                                              ; preds = %509
  %516 = load ptr, ptr %20, align 8, !tbaa !5
  %517 = getelementptr inbounds %struct.NcLayer, ptr %516, i32 0, i32 5
  store ptr %514, ptr %517, align 8, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #8
  store i32 5, ptr %49, align 4, !tbaa !9
  %518 = getelementptr inbounds %"class.std::initializer_list", ptr %48, i32 0, i32 0
  store ptr %49, ptr %518, align 8, !tbaa !29
  %519 = getelementptr inbounds %"class.std::initializer_list", ptr %48, i32 0, i32 1
  store i64 1, ptr %519, align 8, !tbaa !32
  %520 = getelementptr inbounds { ptr, i64 }, ptr %48, i32 0, i32 0
  %521 = load ptr, ptr %520, align 8
  %522 = getelementptr inbounds { ptr, i64 }, ptr %48, i32 0, i32 1
  %523 = load i64, ptr %522, align 8
  %524 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr %521, i64 %523)
          to label %525 unwind label %615

525:                                              ; preds = %515
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #8
  %526 = load ptr, ptr %45, align 8, !tbaa !5
  %527 = getelementptr inbounds %struct.NcInnerproductParam, ptr %526, i32 0, i32 3
  %528 = load i32, ptr %527, align 4, !tbaa !46
  %529 = load ptr, ptr %45, align 8, !tbaa !5
  %530 = getelementptr inbounds %struct.NcInnerproductParam, ptr %529, i32 0, i32 4
  %531 = load i32, ptr %530, align 8, !tbaa !48
  %532 = load ptr, ptr %45, align 8, !tbaa !5
  %533 = getelementptr inbounds %struct.NcInnerproductParam, ptr %532, i32 0, i32 5
  %534 = load i32, ptr %533, align 4, !tbaa !49
  %535 = invoke ptr @nc_create_blob3d(i32 noundef %528, i32 noundef %531, i32 noundef %534)
          to label %536 unwind label %607

536:                                              ; preds = %525
  %537 = getelementptr inbounds [100 x ptr], ptr %18, i64 0, i64 0
  store ptr %535, ptr %537, align 16, !tbaa !5
  %538 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  %539 = trunc i64 %538 to i32
  %540 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  %541 = load ptr, ptr %5, align 8, !tbaa !5
  %542 = getelementptr inbounds [100 x ptr], ptr %18, i64 0, i64 0
  %543 = invoke ptr @nc_train_create_layer_output(i32 noundef %539, ptr noundef %540, ptr noundef %541, ptr noundef %542)
          to label %544 unwind label %607

544:                                              ; preds = %536
  %545 = load ptr, ptr %20, align 8, !tbaa !5
  %546 = getelementptr inbounds %struct.NcLayer, ptr %545, i32 0, i32 6
  store ptr %543, ptr %546, align 8, !tbaa !40
  %547 = load i32, ptr %44, align 4, !tbaa !9
  %548 = sext i32 %547 to i64
  %549 = call noalias ptr @calloc(i64 noundef %548, i64 noundef 4) #9
  %550 = load ptr, ptr %5, align 8, !tbaa !5
  %551 = getelementptr inbounds %struct.NcNet, ptr %550, i32 0, i32 4
  store ptr %549, ptr %551, align 8, !tbaa !50
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #8
  store i32 0, ptr %50, align 4, !tbaa !9
  br label %552

552:                                              ; preds = %640, %544
  %553 = load i32, ptr %50, align 4, !tbaa !9
  %554 = load ptr, ptr %5, align 8, !tbaa !5
  %555 = getelementptr inbounds %struct.NcNet, ptr %554, i32 0, i32 0
  %556 = load i32, ptr %555, align 8, !tbaa !11
  %557 = icmp slt i32 %553, %556
  br i1 %557, label %619, label %558

558:                                              ; preds = %552
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #8
  br label %647

559:                                              ; preds = %208, %197, %181, %157, %142
  %560 = landingpad { ptr, i32 }
          cleanup
  %561 = extractvalue { ptr, i32 } %560, 0
  store ptr %561, ptr %22, align 8
  %562 = extractvalue { ptr, i32 } %560, 1
  store i32 %562, ptr %23, align 4
  br label %652

563:                                              ; preds = %159
  %564 = landingpad { ptr, i32 }
          cleanup
  %565 = extractvalue { ptr, i32 } %564, 0
  store ptr %565, ptr %22, align 8
  %566 = extractvalue { ptr, i32 } %564, 1
  store i32 %566, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %652

567:                                              ; preds = %187
  %568 = landingpad { ptr, i32 }
          cleanup
  %569 = extractvalue { ptr, i32 } %568, 0
  store ptr %569, ptr %22, align 8
  %570 = extractvalue { ptr, i32 } %568, 1
  store i32 %570, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  br label %652

571:                                              ; preds = %290, %279, %263, %239, %216
  %572 = landingpad { ptr, i32 }
          cleanup
  %573 = extractvalue { ptr, i32 } %572, 0
  store ptr %573, ptr %22, align 8
  %574 = extractvalue { ptr, i32 } %572, 1
  store i32 %574, ptr %23, align 4
  br label %651

575:                                              ; preds = %241
  %576 = landingpad { ptr, i32 }
          cleanup
  %577 = extractvalue { ptr, i32 } %576, 0
  store ptr %577, ptr %22, align 8
  %578 = extractvalue { ptr, i32 } %576, 1
  store i32 %578, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  br label %651

579:                                              ; preds = %269
  %580 = landingpad { ptr, i32 }
          cleanup
  %581 = extractvalue { ptr, i32 } %580, 0
  store ptr %581, ptr %22, align 8
  %582 = extractvalue { ptr, i32 } %580, 1
  store i32 %582, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  br label %651

583:                                              ; preds = %371, %360, %344, %320, %298
  %584 = landingpad { ptr, i32 }
          cleanup
  %585 = extractvalue { ptr, i32 } %584, 0
  store ptr %585, ptr %22, align 8
  %586 = extractvalue { ptr, i32 } %584, 1
  store i32 %586, ptr %23, align 4
  br label %650

587:                                              ; preds = %322
  %588 = landingpad { ptr, i32 }
          cleanup
  %589 = extractvalue { ptr, i32 } %588, 0
  store ptr %589, ptr %22, align 8
  %590 = extractvalue { ptr, i32 } %588, 1
  store i32 %590, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  br label %650

591:                                              ; preds = %350
  %592 = landingpad { ptr, i32 }
          cleanup
  %593 = extractvalue { ptr, i32 } %592, 0
  store ptr %593, ptr %22, align 8
  %594 = extractvalue { ptr, i32 } %592, 1
  store i32 %594, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  br label %650

595:                                              ; preds = %453, %442, %426, %402, %379
  %596 = landingpad { ptr, i32 }
          cleanup
  %597 = extractvalue { ptr, i32 } %596, 0
  store ptr %597, ptr %22, align 8
  %598 = extractvalue { ptr, i32 } %596, 1
  store i32 %598, ptr %23, align 4
  br label %649

599:                                              ; preds = %404
  %600 = landingpad { ptr, i32 }
          cleanup
  %601 = extractvalue { ptr, i32 } %600, 0
  store ptr %601, ptr %22, align 8
  %602 = extractvalue { ptr, i32 } %600, 1
  store i32 %602, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  br label %649

603:                                              ; preds = %432
  %604 = landingpad { ptr, i32 }
          cleanup
  %605 = extractvalue { ptr, i32 } %604, 0
  store ptr %605, ptr %22, align 8
  %606 = extractvalue { ptr, i32 } %604, 1
  store i32 %606, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  br label %649

607:                                              ; preds = %536, %525, %509, %485, %461
  %608 = landingpad { ptr, i32 }
          cleanup
  %609 = extractvalue { ptr, i32 } %608, 0
  store ptr %609, ptr %22, align 8
  %610 = extractvalue { ptr, i32 } %608, 1
  store i32 %610, ptr %23, align 4
  br label %648

611:                                              ; preds = %487
  %612 = landingpad { ptr, i32 }
          cleanup
  %613 = extractvalue { ptr, i32 } %612, 0
  store ptr %613, ptr %22, align 8
  %614 = extractvalue { ptr, i32 } %612, 1
  store i32 %614, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #8
  br label %648

615:                                              ; preds = %515
  %616 = landingpad { ptr, i32 }
          cleanup
  %617 = extractvalue { ptr, i32 } %616, 0
  store ptr %617, ptr %22, align 8
  %618 = extractvalue { ptr, i32 } %616, 1
  store i32 %618, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #8
  br label %648

619:                                              ; preds = %552
  %620 = load ptr, ptr %5, align 8, !tbaa !5
  %621 = getelementptr inbounds %struct.NcNet, ptr %620, i32 0, i32 1
  %622 = load ptr, ptr %621, align 8, !tbaa !13
  %623 = load i32, ptr %50, align 4, !tbaa !9
  %624 = sext i32 %623 to i64
  %625 = getelementptr inbounds ptr, ptr %622, i64 %624
  %626 = load ptr, ptr %625, align 8, !tbaa !5
  store ptr %626, ptr %20, align 8, !tbaa !5
  br label %627

627:                                              ; preds = %619
  %628 = load ptr, ptr @stderr, align 8, !tbaa !5
  %629 = load i32, ptr %50, align 4, !tbaa !9
  %630 = load ptr, ptr %20, align 8, !tbaa !5
  %631 = getelementptr inbounds %struct.NcLayer, ptr %630, i32 0, i32 0
  %632 = load i32, ptr %631, align 8, !tbaa !23
  %633 = invoke ptr @layer_type_to_str(i32 noundef %632)
          to label %634 unwind label %643

634:                                              ; preds = %627
  %635 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %628, ptr noundef @.str.4, i32 noundef %629, ptr noundef %633) #8
  %636 = load ptr, ptr @stderr, align 8, !tbaa !5
  %637 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %636, ptr noundef @.str.5) #8
  br label %638

638:                                              ; preds = %634
  br label %639

639:                                              ; preds = %638
  br label %640

640:                                              ; preds = %639
  %641 = load i32, ptr %50, align 4, !tbaa !9
  %642 = add nsw i32 %641, 1
  store i32 %642, ptr %50, align 4, !tbaa !9
  br label %552, !llvm.loop !51

643:                                              ; preds = %627
  %644 = landingpad { ptr, i32 }
          cleanup
  %645 = extractvalue { ptr, i32 } %644, 0
  store ptr %645, ptr %22, align 8
  %646 = extractvalue { ptr, i32 } %644, 1
  store i32 %646, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #8
  br label %648

647:                                              ; preds = %558
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 800, ptr %18) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 256, ptr %9) #8
  ret void

648:                                              ; preds = %643, %615, %611, %607
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #8
  br label %649

649:                                              ; preds = %648, %603, %599, %595
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  br label %650

650:                                              ; preds = %649, %591, %587, %583
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %651

651:                                              ; preds = %650, %579, %575, %571
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  br label %652

652:                                              ; preds = %651, %567, %563, %559
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 800, ptr %18) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 256, ptr %9) #8
  br label %653

653:                                              ; preds = %652
  %654 = load ptr, ptr %22, align 8
  %655 = load i32, ptr %23, align 4
  %656 = insertvalue { ptr, i32 } poison, ptr %654, 0
  %657 = insertvalue { ptr, i32 } %656, i32 %655, 1
  resume { ptr, i32 } %657
}

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

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

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

; Function Attrs: nounwind
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #3

declare noalias ptr @fopen(ptr noundef, ptr noundef) #4

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

declare i32 @puts(ptr noundef) #4

declare i32 @fclose(ptr noundef) #4

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

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

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

declare i32 @__gxx_personality_v0(...)

declare ptr @nc_create_layer() #4

declare void @nc_train_forward_convolution(ptr noundef, ptr noundef, ptr noundef) #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) #0 align 2

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #6

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

!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 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTS5NcNet", !10, i64 0, !6, i64 8, !10, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!13 = !{!12, !6, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!12, !10, i64 16}
!17 = !{!12, !6, i64 24}
!18 = distinct !{!18, !15}
!19 = distinct !{!19, !15}
!20 = !{!21, !10, i64 0}
!21 = !{!"_ZTS9px_size_t", !10, i64 0, !10, i64 4}
!22 = !{!21, !10, i64 4}
!23 = !{!24, !25, i64 0}
!24 = !{!"_ZTS7NcLayer", !25, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!25 = !{!"_ZTS11NcLayerType", !7, i64 0}
!26 = !{!24, !6, i64 8}
!27 = !{!24, !6, i64 16}
!28 = !{!24, !6, i64 24}
!29 = !{!30, !6, i64 0}
!30 = !{!"_ZTSSt16initializer_listIiE", !6, i64 0, !31, i64 8}
!31 = !{!"long", !7, i64 0}
!32 = !{!30, !31, i64 8}
!33 = !{!24, !6, i64 40}
!34 = !{!35, !10, i64 16}
!35 = !{!"_ZTS18NcConvolutionParam", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !36, i64 24, !10, i64 28, !21, i64 32, !37, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88}
!36 = !{!"_ZTS13NcPaddingType", !7, i64 0}
!37 = !{!"bool", !7, i64 0}
!38 = !{!35, !10, i64 20}
!39 = !{!35, !10, i64 12}
!40 = !{!24, !6, i64 48}
!41 = !{!42, !10, i64 28}
!42 = !{!"_ZTS14NcPoolingParam", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !43, i64 36, !36, i64 40, !21, i64 44, !6, i64 56, !6, i64 64}
!43 = !{!"_ZTS13NcPoolingType", !7, i64 0}
!44 = !{!42, !10, i64 32}
!45 = !{!42, !10, i64 24}
!46 = !{!47, !10, i64 12}
!47 = !{!"_ZTS19NcInnerproductParam", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !37, i64 64}
!48 = !{!47, !10, i64 16}
!49 = !{!47, !10, i64 20}
!50 = !{!12, !6, i64 32}
!51 = distinct !{!51, !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 }

@.str = external hidden unnamed_addr constant [17 x i8], align 1
@_ZL11project_dir = external hidden local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@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 uwtable
define dso_local void @_Z21nc_lenet5_train_setupP5NcNet9px_size_ti(ptr noundef %0, i64 %1, i32 noundef %2) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca [256 x i8], align 16
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca [100 x ptr], align 16
  %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
  %13 = alloca [1 x i32], align 4
  %14 = alloca [1 x i32], align 4
  %15 = alloca [1 x i32], align 4
  %16 = alloca [1 x i32], align 4
  %17 = alloca [1 x i32], align 4
  %.sroa.2160.0.extract.shift = lshr i64 %1, 32
  store i32 5, ptr %0, align 8, !tbaa !5
  %calloc = tail call dereferenceable_or_null(40) ptr @calloc(i64 1, i64 40)
  %18 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %calloc, ptr %18, align 8, !tbaa !11
  %.sroa.0159.0.extract.trunc = trunc i64 %1 to i32
  %19 = getelementptr inbounds i8, ptr %0, i64 16
  store i32 6, ptr %19, align 8, !tbaa !12
  %calloc183 = tail call dereferenceable_or_null(48) ptr @calloc(i64 1, i64 48)
  %20 = getelementptr inbounds i8, ptr %0, i64 24
  store ptr %calloc183, ptr %20, align 8, !tbaa !13
  %.sroa.2160.0.extract.trunc = trunc nuw i64 %.sroa.2160.0.extract.shift to i32
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %4) #7
  %21 = load ptr, ptr @_ZL11project_dir, align 8, !tbaa !14
  %22 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %4, ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %21) #7
  %23 = call noalias ptr @fopen(ptr noundef nonnull %4, ptr noundef nonnull @.str.1)
  %24 = load ptr, ptr %20, align 8, !tbaa !13
  %25 = getelementptr inbounds i8, ptr %24, i64 8
  %26 = load ptr, ptr %25, align 8, !tbaa !14
  %27 = icmp eq ptr %26, null
  br i1 %27, label %28, label %30

28:                                               ; preds = %3
  %29 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef nonnull @.str.2) #7
  br label %32

30:                                               ; preds = %3
  %31 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.3)
  br label %32

32:                                               ; preds = %30, %28
  %33 = tail call i32 @fclose(ptr noundef %23)
  %34 = tail call ptr @nc_create_blob3d(i32 noundef 28, i32 noundef 28, i32 noundef 1)
  %35 = load ptr, ptr %20, align 8, !tbaa !13
  store ptr %34, ptr %35, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.start.p0(i64 800, ptr nonnull %7) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(800) %7, i8 0, i64 800, i1 false), !tbaa !14
  %36 = invoke ptr @nc_train_create_convolution_param(i32 noundef %.sroa.2160.0.extract.trunc, i32 noundef %.sroa.0159.0.extract.trunc, i32 noundef 5, i32 noundef 1, i32 noundef 6)
          to label %37 unwind label %219

37:                                               ; preds = %32
  %38 = invoke ptr @nc_create_layer()
          to label %39 unwind label %219

39:                                               ; preds = %37
  store i32 1, ptr %38, align 8, !tbaa !15
  %40 = getelementptr inbounds i8, ptr %38, i64 8
  store ptr %36, ptr %40, align 8, !tbaa !18
  %41 = getelementptr inbounds i8, ptr %38, i64 16
  store ptr @nc_train_forward_convolution, ptr %41, align 8, !tbaa !19
  %42 = getelementptr inbounds i8, ptr %38, i64 24
  store ptr @nc_train_forward_convolution, ptr %42, align 8, !tbaa !20
  %43 = load ptr, ptr %18, align 8, !tbaa !11
  store ptr %38, ptr %43, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  store i32 1, ptr %8, align 4, !tbaa !21
  %44 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr nonnull %8, i64 1)
          to label %45 unwind label %221

45:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  %46 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %47 = trunc i64 %46 to i32
  %48 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %49 = invoke ptr @nc_train_create_layer_input(i32 noundef %47, ptr noundef %48, ptr noundef nonnull %0)
          to label %50 unwind label %219

50:                                               ; preds = %45
  %51 = getelementptr inbounds i8, ptr %38, i64 40
  store ptr %49, ptr %51, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #7
  store i32 1, ptr %9, align 4, !tbaa !21
  %52 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr nonnull %9, i64 1)
          to label %53 unwind label %223

53:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  %54 = getelementptr inbounds i8, ptr %36, i64 16
  %55 = load i32, ptr %54, align 8, !tbaa !23
  %56 = getelementptr inbounds i8, ptr %36, i64 20
  %57 = load i32, ptr %56, align 4, !tbaa !28
  %58 = getelementptr inbounds i8, ptr %36, i64 12
  %59 = load i32, ptr %58, align 4, !tbaa !29
  %60 = invoke ptr @nc_create_blob3d(i32 noundef %55, i32 noundef %57, i32 noundef %59)
          to label %61 unwind label %219

61:                                               ; preds = %53
  store ptr %60, ptr %7, align 16, !tbaa !14
  %62 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %63 = trunc i64 %62 to i32
  %64 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %65 = invoke ptr @nc_train_create_layer_output(i32 noundef %63, ptr noundef %64, ptr noundef nonnull %0, ptr noundef nonnull %7)
          to label %66 unwind label %219

66:                                               ; preds = %61
  %67 = getelementptr inbounds i8, ptr %38, i64 48
  store ptr %65, ptr %67, align 8, !tbaa !30
  %68 = load i32, ptr %54, align 8, !tbaa !23
  %69 = load i32, ptr %56, align 4, !tbaa !28
  %70 = load i32, ptr %58, align 4, !tbaa !29
  %71 = invoke ptr @nc_train_create_pooling_param(i32 noundef %68, i32 noundef %69, i32 noundef 2, i32 noundef %70, i32 noundef 6, i32 noundef 0)
          to label %72 unwind label %225

72:                                               ; preds = %66
  %73 = invoke ptr @nc_create_layer()
          to label %74 unwind label %225

74:                                               ; preds = %72
  store i32 2, ptr %73, align 8, !tbaa !15
  %75 = getelementptr inbounds i8, ptr %73, i64 8
  store ptr %71, ptr %75, align 8, !tbaa !18
  %76 = getelementptr inbounds i8, ptr %73, i64 16
  store ptr @nc_train_forward_pooling, ptr %76, align 8, !tbaa !19
  %77 = getelementptr inbounds i8, ptr %73, i64 24
  store ptr @nc_train_backward_pooling, ptr %77, align 8, !tbaa !20
  %78 = load ptr, ptr %18, align 8, !tbaa !11
  %79 = getelementptr inbounds i8, ptr %78, i64 8
  store ptr %73, ptr %79, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  store i32 1, ptr %10, align 4, !tbaa !21
  %80 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr nonnull %10, i64 1)
          to label %81 unwind label %227

81:                                               ; preds = %74
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  %82 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %83 = trunc i64 %82 to i32
  %84 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %85 = invoke ptr @nc_train_create_layer_input(i32 noundef %83, ptr noundef %84, ptr noundef nonnull %0)
          to label %86 unwind label %225

86:                                               ; preds = %81
  %87 = getelementptr inbounds i8, ptr %73, i64 40
  store ptr %85, ptr %87, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  store i32 2, ptr %11, align 4, !tbaa !21
  %88 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr nonnull %11, i64 1)
          to label %89 unwind label %229

89:                                               ; preds = %86
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  %90 = getelementptr inbounds i8, ptr %71, i64 28
  %91 = load i32, ptr %90, align 4, !tbaa !31
  %92 = getelementptr inbounds i8, ptr %71, i64 32
  %93 = load i32, ptr %92, align 8, !tbaa !34
  %94 = getelementptr inbounds i8, ptr %71, i64 24
  %95 = load i32, ptr %94, align 8, !tbaa !35
  %96 = invoke ptr @nc_create_blob3d(i32 noundef %91, i32 noundef %93, i32 noundef %95)
          to label %97 unwind label %225

97:                                               ; preds = %89
  store ptr %96, ptr %7, align 16, !tbaa !14
  %98 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %99 = trunc i64 %98 to i32
  %100 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %101 = invoke ptr @nc_train_create_layer_output(i32 noundef %99, ptr noundef %100, ptr noundef nonnull %0, ptr noundef nonnull %7)
          to label %102 unwind label %225

102:                                              ; preds = %97
  %103 = getelementptr inbounds i8, ptr %73, i64 48
  store ptr %101, ptr %103, align 8, !tbaa !30
  %104 = load i32, ptr %90, align 4, !tbaa !31
  %105 = load i32, ptr %92, align 8, !tbaa !34
  %106 = load i32, ptr %94, align 8, !tbaa !35
  %107 = invoke ptr @nc_train_create_convolution_param(i32 noundef %104, i32 noundef %105, i32 noundef 5, i32 noundef %106, i32 noundef 12)
          to label %108 unwind label %231

108:                                              ; preds = %102
  %109 = invoke ptr @nc_create_layer()
          to label %110 unwind label %231

110:                                              ; preds = %108
  store i32 1, ptr %109, align 8, !tbaa !15
  %111 = getelementptr inbounds i8, ptr %109, i64 8
  store ptr %107, ptr %111, align 8, !tbaa !18
  %112 = getelementptr inbounds i8, ptr %109, i64 16
  store ptr @nc_train_forward_convolution, ptr %112, align 8, !tbaa !19
  %113 = getelementptr inbounds i8, ptr %109, i64 24
  store ptr @nc_train_backward_convolution, ptr %113, align 8, !tbaa !20
  %114 = load ptr, ptr %18, align 8, !tbaa !11
  %115 = getelementptr inbounds i8, ptr %114, i64 16
  store ptr %109, ptr %115, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #7
  store i32 2, ptr %12, align 4, !tbaa !21
  %116 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr nonnull %12, i64 1)
          to label %117 unwind label %233

117:                                              ; preds = %110
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  %118 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %119 = trunc i64 %118 to i32
  %120 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %121 = invoke ptr @nc_train_create_layer_input(i32 noundef %119, ptr noundef %120, ptr noundef nonnull %0)
          to label %122 unwind label %231

122:                                              ; preds = %117
  %123 = getelementptr inbounds i8, ptr %109, i64 40
  store ptr %121, ptr %123, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  store i32 3, ptr %13, align 4, !tbaa !21
  %124 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr nonnull %13, i64 1)
          to label %125 unwind label %235

125:                                              ; preds = %122
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  %126 = getelementptr inbounds i8, ptr %107, i64 16
  %127 = load i32, ptr %126, align 8, !tbaa !23
  %128 = getelementptr inbounds i8, ptr %107, i64 20
  %129 = load i32, ptr %128, align 4, !tbaa !28
  %130 = getelementptr inbounds i8, ptr %107, i64 12
  %131 = load i32, ptr %130, align 4, !tbaa !29
  %132 = invoke ptr @nc_create_blob3d(i32 noundef %127, i32 noundef %129, i32 noundef %131)
          to label %133 unwind label %231

133:                                              ; preds = %125
  store ptr %132, ptr %7, align 16, !tbaa !14
  %134 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %135 = trunc i64 %134 to i32
  %136 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %137 = invoke ptr @nc_train_create_layer_output(i32 noundef %135, ptr noundef %136, ptr noundef nonnull %0, ptr noundef nonnull %7)
          to label %138 unwind label %231

138:                                              ; preds = %133
  %139 = getelementptr inbounds i8, ptr %109, i64 48
  store ptr %137, ptr %139, align 8, !tbaa !30
  %140 = load i32, ptr %126, align 8, !tbaa !23
  %141 = load i32, ptr %128, align 4, !tbaa !28
  %142 = load i32, ptr %130, align 4, !tbaa !29
  %143 = invoke ptr @nc_train_create_pooling_param(i32 noundef %140, i32 noundef %141, i32 noundef 2, i32 noundef %142, i32 noundef 12, i32 noundef 0)
          to label %144 unwind label %237

144:                                              ; preds = %138
  %145 = invoke ptr @nc_create_layer()
          to label %146 unwind label %237

146:                                              ; preds = %144
  store i32 2, ptr %145, align 8, !tbaa !15
  %147 = getelementptr inbounds i8, ptr %145, i64 8
  store ptr %143, ptr %147, align 8, !tbaa !18
  %148 = getelementptr inbounds i8, ptr %145, i64 16
  store ptr @nc_train_forward_pooling, ptr %148, align 8, !tbaa !19
  %149 = getelementptr inbounds i8, ptr %145, i64 24
  store ptr @nc_train_backward_pooling, ptr %149, align 8, !tbaa !20
  %150 = load ptr, ptr %18, align 8, !tbaa !11
  %151 = getelementptr inbounds i8, ptr %150, i64 24
  store ptr %145, ptr %151, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #7
  store i32 3, ptr %14, align 4, !tbaa !21
  %152 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr nonnull %14, i64 1)
          to label %153 unwind label %239

153:                                              ; preds = %146
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #7
  %154 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %155 = trunc i64 %154 to i32
  %156 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %157 = invoke ptr @nc_train_create_layer_input(i32 noundef %155, ptr noundef %156, ptr noundef nonnull %0)
          to label %158 unwind label %237

158:                                              ; preds = %153
  %159 = getelementptr inbounds i8, ptr %145, i64 40
  store ptr %157, ptr %159, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #7
  store i32 4, ptr %15, align 4, !tbaa !21
  %160 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr nonnull %15, i64 1)
          to label %161 unwind label %241

161:                                              ; preds = %158
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  %162 = getelementptr inbounds i8, ptr %143, i64 28
  %163 = load i32, ptr %162, align 4, !tbaa !31
  %164 = getelementptr inbounds i8, ptr %143, i64 32
  %165 = load i32, ptr %164, align 8, !tbaa !34
  %166 = getelementptr inbounds i8, ptr %143, i64 24
  %167 = load i32, ptr %166, align 8, !tbaa !35
  %168 = invoke ptr @nc_create_blob3d(i32 noundef %163, i32 noundef %165, i32 noundef %167)
          to label %169 unwind label %237

169:                                              ; preds = %161
  store ptr %168, ptr %7, align 16, !tbaa !14
  %170 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %171 = trunc i64 %170 to i32
  %172 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %173 = invoke ptr @nc_train_create_layer_output(i32 noundef %171, ptr noundef %172, ptr noundef nonnull %0, ptr noundef nonnull %7)
          to label %174 unwind label %237

174:                                              ; preds = %169
  %175 = getelementptr inbounds i8, ptr %145, i64 48
  store ptr %173, ptr %175, align 8, !tbaa !30
  %176 = load i32, ptr %164, align 8, !tbaa !34
  %177 = load i32, ptr %162, align 4, !tbaa !31
  %178 = mul nsw i32 %177, %176
  %179 = load i32, ptr %166, align 8, !tbaa !35
  %180 = mul nsw i32 %178, %179
  %181 = invoke ptr @nc_train_create_innerproduct_param(i32 noundef %180, i32 noundef %2)
          to label %182 unwind label %243

182:                                              ; preds = %174
  %183 = invoke ptr @nc_create_layer()
          to label %184 unwind label %243

184:                                              ; preds = %182
  store i32 3, ptr %183, align 8, !tbaa !15
  %185 = getelementptr inbounds i8, ptr %183, i64 8
  store ptr %181, ptr %185, align 8, !tbaa !18
  %186 = getelementptr inbounds i8, ptr %183, i64 16
  store ptr @nc_train_forward_innerproduct, ptr %186, align 8, !tbaa !19
  %187 = getelementptr inbounds i8, ptr %183, i64 24
  store ptr @nc_train_backward_innerproduct, ptr %187, align 8, !tbaa !20
  %188 = load ptr, ptr %18, align 8, !tbaa !11
  %189 = getelementptr inbounds i8, ptr %188, i64 32
  store ptr %183, ptr %189, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #7
  store i32 4, ptr %16, align 4, !tbaa !21
  %190 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr nonnull %16, i64 1)
          to label %191 unwind label %245

191:                                              ; preds = %184
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  %192 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %193 = trunc i64 %192 to i32
  %194 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %195 = invoke ptr @nc_train_create_layer_input(i32 noundef %193, ptr noundef %194, ptr noundef nonnull %0)
          to label %196 unwind label %243

196:                                              ; preds = %191
  %197 = getelementptr inbounds i8, ptr %183, i64 40
  store ptr %195, ptr %197, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #7
  store i32 5, ptr %17, align 4, !tbaa !21
  %198 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr nonnull %17, i64 1)
          to label %199 unwind label %247

199:                                              ; preds = %196
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #7
  %200 = getelementptr inbounds i8, ptr %181, i64 12
  %201 = load i32, ptr %200, align 4, !tbaa !36
  %202 = getelementptr inbounds i8, ptr %181, i64 16
  %203 = load i32, ptr %202, align 8, !tbaa !38
  %204 = getelementptr inbounds i8, ptr %181, i64 20
  %205 = load i32, ptr %204, align 4, !tbaa !39
  %206 = invoke ptr @nc_create_blob3d(i32 noundef %201, i32 noundef %203, i32 noundef %205)
          to label %207 unwind label %243

207:                                              ; preds = %199
  store ptr %206, ptr %7, align 16, !tbaa !14
  %208 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %209 = trunc i64 %208 to i32
  %210 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %211 = invoke ptr @nc_train_create_layer_output(i32 noundef %209, ptr noundef %210, ptr noundef nonnull %0, ptr noundef nonnull %7)
          to label %212 unwind label %243

212:                                              ; preds = %207
  %213 = getelementptr inbounds i8, ptr %183, i64 48
  store ptr %211, ptr %213, align 8, !tbaa !30
  %214 = sext i32 %2 to i64
  %215 = call noalias ptr @calloc(i64 noundef %214, i64 noundef 4) #8
  %216 = getelementptr inbounds i8, ptr %0, i64 32
  store ptr %215, ptr %216, align 8, !tbaa !40
  %217 = load i32, ptr %0, align 8, !tbaa !5
  %218 = icmp sgt i32 %217, 0
  br i1 %218, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %255, %212
  call void @llvm.lifetime.end.p0(i64 800, ptr nonnull %7) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %4) #7
  ret void

219:                                              ; preds = %61, %53, %45, %37, %32
  %220 = landingpad { ptr, i32 }
          cleanup
  br label %265

221:                                              ; preds = %39
  %222 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  br label %265

223:                                              ; preds = %50
  %224 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  br label %265

225:                                              ; preds = %97, %89, %81, %72, %66
  %226 = landingpad { ptr, i32 }
          cleanup
  br label %265

227:                                              ; preds = %74
  %228 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  br label %265

229:                                              ; preds = %86
  %230 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  br label %265

231:                                              ; preds = %133, %125, %117, %108, %102
  %232 = landingpad { ptr, i32 }
          cleanup
  br label %265

233:                                              ; preds = %110
  %234 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  br label %265

235:                                              ; preds = %122
  %236 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  br label %265

237:                                              ; preds = %169, %161, %153, %144, %138
  %238 = landingpad { ptr, i32 }
          cleanup
  br label %265

239:                                              ; preds = %146
  %240 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #7
  br label %265

241:                                              ; preds = %158
  %242 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  br label %265

243:                                              ; preds = %207, %199, %191, %182, %174
  %244 = landingpad { ptr, i32 }
          cleanup
  br label %265

245:                                              ; preds = %184
  %246 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  br label %265

247:                                              ; preds = %196
  %248 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #7
  br label %265

.lr.ph:                                           ; preds = %212, %255
  %indvars.iv = phi i64 [ %indvars.iv.next, %255 ], [ 0, %212 ]
  %249 = load ptr, ptr %18, align 8, !tbaa !11
  %250 = getelementptr inbounds ptr, ptr %249, i64 %indvars.iv
  %251 = load ptr, ptr %250, align 8, !tbaa !14
  %252 = load ptr, ptr @stderr, align 8, !tbaa !14
  %253 = load i32, ptr %251, align 8, !tbaa !15
  %254 = invoke ptr @layer_type_to_str(i32 noundef %253)
          to label %255 unwind label %263

255:                                              ; preds = %.lr.ph
  %256 = trunc nuw nsw i64 %indvars.iv to i32
  %257 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %252, ptr noundef nonnull @.str.4, i32 noundef %256, ptr noundef %254) #9
  %258 = load ptr, ptr @stderr, align 8, !tbaa !14
  %259 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %258, ptr noundef nonnull @.str.5) #9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %260 = load i32, ptr %0, align 8, !tbaa !5
  %261 = sext i32 %260 to i64
  %262 = icmp slt i64 %indvars.iv.next, %261
  br i1 %262, label %.lr.ph, label %._crit_edge, !llvm.loop !41

263:                                              ; preds = %.lr.ph
  %264 = landingpad { ptr, i32 }
          cleanup
  br label %265

265:                                              ; preds = %225, %227, %229, %237, %239, %241, %263, %247, %245, %243, %235, %233, %231, %223, %221, %219
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %220, %219 ], [ %224, %223 ], [ %222, %221 ], [ %226, %225 ], [ %230, %229 ], [ %228, %227 ], [ %232, %231 ], [ %236, %235 ], [ %234, %233 ], [ %238, %237 ], [ %242, %241 ], [ %240, %239 ], [ %264, %263 ], [ %244, %243 ], [ %248, %247 ], [ %246, %245 ]
  call void @llvm.lifetime.end.p0(i64 800, ptr nonnull %7) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %4) #7
  resume { ptr, i32 } %.pn.pn.pn.pn.pn
}

; 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 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #2

declare ptr @nc_create_blob3d(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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

declare ptr @nc_train_create_convolution_param(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

declare ptr @nc_create_layer() local_unnamed_addr #3

declare void @nc_train_forward_convolution(ptr noundef, ptr noundef, ptr noundef) #3

; 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 #0 align 2

declare ptr @nc_train_create_layer_input(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

declare ptr @nc_train_create_layer_output(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare ptr @nc_train_create_pooling_param(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare void @nc_train_forward_pooling(ptr noundef, ptr noundef, ptr noundef) #3

declare void @nc_train_backward_pooling(ptr noundef, ptr noundef, ptr noundef) #3

declare void @nc_train_backward_convolution(ptr noundef, ptr noundef, ptr noundef) #3

declare ptr @nc_train_create_innerproduct_param(i32 noundef, i32 noundef) local_unnamed_addr #3

declare void @nc_train_forward_innerproduct(ptr noundef, ptr noundef, ptr noundef) #3

declare void @nc_train_backward_innerproduct(ptr noundef, ptr noundef, ptr noundef) #3

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

declare ptr @layer_type_to_str(i32 noundef) local_unnamed_addr #3

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) 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 #6 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { nounwind }
attributes #8 = { nounwind allocsize(0,1) }
attributes #9 = { 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 = !{!16, !17, i64 0}
!16 = !{!"_ZTS7NcLayer", !17, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48}
!17 = !{!"_ZTS11NcLayerType", !8, i64 0}
!18 = !{!16, !10, i64 8}
!19 = !{!16, !10, i64 16}
!20 = !{!16, !10, i64 24}
!21 = !{!7, !7, i64 0}
!22 = !{!16, !10, i64 40}
!23 = !{!24, !7, i64 16}
!24 = !{!"_ZTS18NcConvolutionParam", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !25, i64 24, !7, i64 28, !26, i64 32, !27, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88}
!25 = !{!"_ZTS13NcPaddingType", !8, i64 0}
!26 = !{!"_ZTS9px_size_t", !7, i64 0, !7, i64 4}
!27 = !{!"bool", !8, i64 0}
!28 = !{!24, !7, i64 20}
!29 = !{!24, !7, i64 12}
!30 = !{!16, !10, i64 48}
!31 = !{!32, !7, i64 28}
!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, !25, i64 40, !26, i64 44, !10, i64 56, !10, i64 64}
!33 = !{!"_ZTS13NcPoolingType", !8, i64 0}
!34 = !{!32, !7, i64 32}
!35 = !{!32, !7, i64 24}
!36 = !{!37, !7, i64 12}
!37 = !{!"_ZTS19NcInnerproductParam", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !27, i64 64}
!38 = !{!37, !7, i64 16}
!39 = !{!37, !7, i64 20}
!40 = !{!6, !10, i64 32}
!41 = distinct !{!41, !42}
!42 = !{!"llvm.loop.mustprogress"}


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