; LLVM IR from Immortale-dev/NerOne :: test (mtest)

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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Point, std::allocator<Point>>::_Vector_impl" }
%"struct.std::_Vector_base<Point, std::allocator<Point>>::_Vector_impl" = type { %"struct.std::_Vector_base<Point, std::allocator<Point>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Point, std::allocator<Point>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = 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 }
%"class.std::allocator.20" = type { i8 }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.ConnectedLayerBuilder = type { i8, %"class.std::vector.28", %"class.std::vector.33", %"class.std::shared_ptr", %"class.std::shared_ptr.15", %"class.std::function", %"class.std::function" }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<std::shared_ptr<nerone::cell::Cell>, std::allocator<std::shared_ptr<nerone::cell::Cell>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<nerone::cell::Cell>, std::allocator<std::shared_ptr<nerone::cell::Cell>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<nerone::cell::Cell>, std::allocator<std::shared_ptr<nerone::cell::Cell>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<nerone::cell::Cell>, std::allocator<std::shared_ptr<nerone::cell::Cell>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<std::shared_ptr<nerone::cell::Segment<nerone::value::Cumulative<float>>>, std::allocator<std::shared_ptr<nerone::cell::Segment<nerone::value::Cumulative<float>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<nerone::cell::Segment<nerone::value::Cumulative<float>>>, std::allocator<std::shared_ptr<nerone::cell::Segment<nerone::value::Cumulative<float>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<nerone::cell::Segment<nerone::value::Cumulative<float>>>, std::allocator<std::shared_ptr<nerone::cell::Segment<nerone::value::Cumulative<float>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<nerone::cell::Segment<nerone::value::Cumulative<float>>>, std::allocator<std::shared_ptr<nerone::cell::Segment<nerone::value::Cumulative<float>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.15" = type { %"class.std::__shared_ptr.16" }
%"class.std::__shared_ptr.16" = type { ptr, %"class.std::__shared_count" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.std::function.38" = type { %"class.std::_Function_base", ptr }
%"struct.std::pair" = type { %"class.std::shared_ptr", %"class.std::shared_ptr.15" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase, std::allocator<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase>>::_Vector_impl" }
%"struct.std::_Vector_base<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase, std::allocator<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase>>::_Vector_impl" = type { %"struct.std::_Vector_base<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase, std::allocator<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase>>::_Vector_impl_data" }
%"struct.std::_Vector_base<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase, std::allocator<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase" = type { %"class.std::vector.10", %"class.std::vector.10" }
%"class.std::initializer_list.40" = type { ptr, i64 }
%"class.std::allocator.12" = type { i8 }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionResult, std::allocator<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionResult>>::_Vector_impl" }
%"struct.std::_Vector_base<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionResult, std::allocator<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionResult>>::_Vector_impl" = type { %"struct.std::_Vector_base<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionResult, std::allocator<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionResult>>::_Vector_impl_data" }
%"struct.std::_Vector_base<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionResult, std::allocator<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionResult>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.Point = type { double, double, i8 }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_Z11rand_doublev() #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z29create_labeled_inputs_zones_2v(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8) #1

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_Z4normf(float noundef) #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca ptr, align 8
  %3 = alloca %"class.std::vector.18", align 8
  %4 = alloca %"class.std::initializer_list", align 8
  %5 = alloca [4 x i32], align 4
  %6 = alloca %"class.std::allocator.20", align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::vector.23", align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::vector.10", align 8
  %14 = alloca i32, align 4
  %15 = alloca float, align 4
  %16 = alloca %class.ConnectedLayerBuilder, align 8
  %17 = alloca %"class.std::function.38", align 8
  %18 = alloca %"class.std::function.38", align 8
  %19 = alloca i32, align 4
  %20 = alloca %"class.std::function.38", align 8
  %21 = alloca %"class.std::function.38", align 8
  %22 = alloca %"class.std::function", align 8
  %23 = alloca %"class.std::function", align 8
  %24 = alloca %"class.std::vector.23", align 8
  %25 = alloca %"struct.std::pair", align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca %"class.std::shared_ptr", align 8
  %29 = alloca %"class.std::shared_ptr.15", align 8
  %30 = alloca %"class.std::vector", align 8
  %31 = alloca %"class.std::vector.0", align 8
  %32 = alloca ptr, align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %35 = alloca ptr, align 8
  %36 = alloca %"struct.nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase", align 8
  %37 = alloca %"class.std::initializer_list.40", align 8
  %38 = alloca [2 x float], align 4
  %39 = alloca %"class.std::allocator.12", align 1
  %40 = alloca %"class.std::initializer_list.40", align 8
  %41 = alloca [2 x float], align 4
  %42 = alloca %"class.std::allocator.12", align 1
  %43 = alloca i1, align 1
  %44 = alloca i32, align 4
  %45 = alloca %"class.std::vector.5", align 8
  %46 = alloca %"class.std::vector.0", align 8
  %47 = alloca %"class.std::vector.0", align 8
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  %50 = alloca %"struct.nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase", align 8
  %51 = alloca %"class.std::initializer_list.40", align 8
  %52 = alloca [2 x float], align 4
  %53 = alloca %"class.std::allocator.12", align 1
  %54 = alloca %"class.std::vector.5", align 8
  %55 = alloca %"class.std::vector.0", align 8
  store i32 0, ptr %1, align 4
  call void @srand(i32 noundef 12345) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #9
  %56 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 72) #10
  call void @llvm.memset.p0.i64(ptr align 16 %56, i8 0, i64 72, i1 false)
  call void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(72) %56) #9
  store ptr %56, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #9
  store i32 2, ptr %5, align 4, !tbaa !9
  %57 = getelementptr inbounds i32, ptr %5, i64 1
  store i32 6, ptr %57, align 4, !tbaa !9
  %58 = getelementptr inbounds i32, ptr %5, i64 2
  store i32 6, ptr %58, align 4, !tbaa !9
  %59 = getelementptr inbounds i32, ptr %5, i64 3
  store i32 2, ptr %59, align 4, !tbaa !9
  %60 = getelementptr inbounds %"class.std::initializer_list", ptr %4, i32 0, i32 0
  store ptr %5, ptr %60, align 8, !tbaa !11
  %61 = getelementptr inbounds %"class.std::initializer_list", ptr %4, i32 0, i32 1
  store i64 4, ptr %61, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #9
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #9
  %62 = getelementptr inbounds { ptr, i64 }, ptr %4, i32 0, i32 0
  %63 = load ptr, ptr %62, align 8
  %64 = getelementptr inbounds { ptr, i64 }, ptr %4, i32 0, i32 1
  %65 = load i64, ptr %64, align 8
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr %63, i64 %65, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %66 unwind label %73

66:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #9
  call void @_ZNSt6vectorIS_IfSaIfEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  store i32 1, ptr %10, align 4, !tbaa !9
  br label %67

67:                                               ; preds = %106, %66
  %68 = load i32, ptr %10, align 4, !tbaa !9
  %69 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  %70 = trunc i64 %69 to i32
  %71 = icmp slt i32 %68, %70
  br i1 %71, label %77, label %72

72:                                               ; preds = %67
  store i32 2, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  br label %114

73:                                               ; preds = %0
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %7, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %8, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #9
  br label %366

77:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  %78 = load i32, ptr %10, align 4, !tbaa !9
  %79 = sub nsw i32 %78, 1
  %80 = sext i32 %79 to i64
  %81 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %80) #9
  %82 = load i32, ptr %81, align 4, !tbaa !9
  %83 = add nsw i32 %82, 1
  %84 = load i32, ptr %10, align 4, !tbaa !9
  %85 = sext i32 %84 to i64
  %86 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %85) #9
  %87 = load i32, ptr %86, align 4, !tbaa !9
  %88 = mul nsw i32 %83, %87
  store i32 %88, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #9
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #9
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %89

89:                                               ; preds = %97, %77
  %90 = load i32, ptr %14, align 4, !tbaa !9
  %91 = load i32, ptr %12, align 4, !tbaa !9
  %92 = icmp slt i32 %90, %91
  br i1 %92, label %94, label %93

93:                                               ; preds = %89
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  br label %104

94:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  %95 = call noundef float @_Z11rand_doublev()
  store float %95, ptr %15, align 4, !tbaa !15
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %96 unwind label %100

96:                                               ; preds = %94
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  br label %97

97:                                               ; preds = %96
  %98 = load i32, ptr %14, align 4, !tbaa !9
  %99 = add nsw i32 %98, 1
  store i32 %99, ptr %14, align 4, !tbaa !9
  br label %89, !llvm.loop !17

100:                                              ; preds = %94
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %7, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  br label %113

104:                                              ; preds = %93
  invoke void @_ZNSt6vectorIS_IfSaIfEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %105 unwind label %109

105:                                              ; preds = %104
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  br label %106

106:                                              ; preds = %105
  %107 = load i32, ptr %10, align 4, !tbaa !9
  %108 = add nsw i32 %107, 1
  store i32 %108, ptr %10, align 4, !tbaa !9
  br label %67, !llvm.loop !19

109:                                              ; preds = %104
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %7, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %8, align 4
  br label %113

113:                                              ; preds = %109, %100
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  br label %365

114:                                              ; preds = %72
  call void @llvm.lifetime.start.p0(i64 152, ptr %16) #9
  invoke void @_ZN21ConnectedLayerBuilderC2Eb(ptr noundef nonnull align 8 dereferenceable(152) %16, i1 noundef zeroext true)
          to label %115 unwind label %126

115:                                              ; preds = %114
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #9
  %117 = load i32, ptr %116, align 4, !tbaa !9
  call void @_ZNSt8functionIFffEEC2IRS0_vEEOT_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull @_ZN6nerone10activation6Linear3funIfEET_S3_) #9
  call void @_ZNSt8functionIFffEEC2IRS0_vEEOT_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull @_ZN6nerone10activation6Linear4gradIfEET_S3_) #9
  %118 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZN21ConnectedLayerBuilder3addEiSt8functionIFffEES2_(ptr noundef nonnull align 8 dereferenceable(152) %16, i32 noundef %117, ptr noundef %17, ptr noundef %18)
          to label %119 unwind label %130

119:                                              ; preds = %115
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  store i32 1, ptr %19, align 4, !tbaa !9
  br label %120

120:                                              ; preds = %141, %119
  %121 = load i32, ptr %19, align 4, !tbaa !9
  %122 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  %123 = trunc i64 %122 to i32
  %124 = icmp slt i32 %121, %123
  br i1 %124, label %134, label %125

125:                                              ; preds = %120
  store i32 8, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  br label %148

126:                                              ; preds = %114
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %7, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %8, align 4
  br label %364

130:                                              ; preds = %115
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %7, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %8, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  br label %363

134:                                              ; preds = %120
  %135 = load i32, ptr %19, align 4, !tbaa !9
  %136 = sext i32 %135 to i64
  %137 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %136) #9
  %138 = load i32, ptr %137, align 4, !tbaa !9
  call void @_ZNSt8functionIFffEEC2IRS0_vEEOT_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull @_ZN6nerone10activation7Sigmoid3funIfEET_S3_) #9
  call void @_ZNSt8functionIFffEEC2IRS0_vEEOT_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull @_ZN6nerone10activation7Sigmoid4gradIfEET_S3_) #9
  %139 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZN21ConnectedLayerBuilder3addEiSt8functionIFffEES2_(ptr noundef nonnull align 8 dereferenceable(152) %16, i32 noundef %138, ptr noundef %20, ptr noundef %21)
          to label %140 unwind label %144

140:                                              ; preds = %134
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #9
  br label %141

141:                                              ; preds = %140
  %142 = load i32, ptr %19, align 4, !tbaa !9
  %143 = add nsw i32 %142, 1
  store i32 %143, ptr %19, align 4, !tbaa !9
  br label %120, !llvm.loop !20

144:                                              ; preds = %134
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %7, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %8, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  br label %363

148:                                              ; preds = %125
  call void @_ZNSt8functionIFfffEEC2IRS0_vEEOT_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull @_ZN6nerone4loss12CrossEntropy3funIfEET_S3_S3_) #9
  call void @_ZNSt8functionIFfffEEC2IRS0_vEEOT_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull @_ZN6nerone4loss12CrossEntropy4gradIfEET_S3_S3_) #9
  %149 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZN21ConnectedLayerBuilder8withLossESt8functionIFfffEES2_(ptr noundef nonnull align 8 dereferenceable(152) %16, ptr noundef %22, ptr noundef %23)
          to label %150 unwind label %185

150:                                              ; preds = %148
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  invoke void @_ZNSt6vectorIS_IfSaIfEESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %151 unwind label %189

151:                                              ; preds = %150
  %152 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZN21ConnectedLayerBuilder11withWeightsESt6vectorIS0_IfSaIfEESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(152) %16, ptr noundef %24)
          to label %153 unwind label %193

153:                                              ; preds = %151
  call void @_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #9
  invoke void @_ZN21ConnectedLayerBuilder5buildEv(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8 %25, ptr noundef nonnull align 8 dereferenceable(152) %16)
          to label %154 unwind label %197

154:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  %155 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZSt3getILm0ESt10shared_ptrIN6nerone4cell7ClusterINS1_5value10CumulativeIfEEEEES0_INS2_9LossLayerIS6_EEEEONSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOSG_(ptr noundef nonnull align 8 dereferenceable(32) %25) #9
  store ptr %155, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  %156 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZSt3getILm1ESt10shared_ptrIN6nerone4cell7ClusterINS1_5value10CumulativeIfEEEEES0_INS2_9LossLayerIS6_EEEEONSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOSG_(ptr noundef nonnull align 8 dereferenceable(32) %25) #9
  store ptr %156, ptr %27, align 8, !tbaa !5
  %157 = load ptr, ptr %2, align 8, !tbaa !5
  %158 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZNSt10shared_ptrIN6nerone4cell7ClusterINS0_5value10CumulativeIfEEEEEC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(16) %158) #9
  %159 = load ptr, ptr %157, align 8, !tbaa !21
  %160 = getelementptr inbounds ptr, ptr %159, i64 2
  %161 = load ptr, ptr %160, align 8
  invoke void %161(ptr noundef nonnull align 8 dereferenceable(40) %157, ptr noundef %28)
          to label %162 unwind label %201

162:                                              ; preds = %154
  call void @_ZNSt12__shared_ptrIN6nerone4cell7ClusterINS0_5value10CumulativeIfEEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %28) #9
  %163 = load ptr, ptr %2, align 8, !tbaa !5
  %164 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZNSt10shared_ptrIN6nerone4cell9LossLayerINS0_5value10CumulativeIfEEEEEC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 8 dereferenceable(16) %164) #9
  %165 = load ptr, ptr %163, align 8, !tbaa !21
  %166 = getelementptr inbounds ptr, ptr %165, i64 3
  %167 = load ptr, ptr %166, align 8
  invoke void %167(ptr noundef nonnull align 8 dereferenceable(40) %163, ptr noundef %29)
          to label %168 unwind label %205

168:                                              ; preds = %162
  call void @_ZNSt12__shared_ptrIN6nerone4cell9LossLayerINS0_5value10CumulativeIfEEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #9
  %169 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE17set_learning_rateEf(ptr noundef nonnull align 8 dereferenceable(72) %169, float noundef 0x3F847AE140000000)
          to label %170 unwind label %209

170:                                              ; preds = %168
  %171 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE14set_batch_sizeEm(ptr noundef nonnull align 8 dereferenceable(72) %171, i64 noundef 1)
          to label %172 unwind label %209

172:                                              ; preds = %170
  %173 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE14set_randomizedEb(ptr noundef nonnull align 8 dereferenceable(72) %173, i1 noundef zeroext true)
          to label %174 unwind label %209

174:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #9
  invoke void @_Z29create_labeled_inputs_zones_2v(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %30)
          to label %175 unwind label %213

175:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #9
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  store ptr %30, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  %176 = load ptr, ptr %32, align 8, !tbaa !5
  %177 = call ptr @_ZNSt6vectorI5PointSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %176) #9
  %178 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %33, i32 0, i32 0
  store ptr %177, ptr %178, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #9
  %179 = load ptr, ptr %32, align 8, !tbaa !5
  %180 = call ptr @_ZNSt6vectorI5PointSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %179) #9
  %181 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %34, i32 0, i32 0
  store ptr %180, ptr %181, align 8
  br label %182

182:                                              ; preds = %260, %175
  %183 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP5PointSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #9
  br i1 %183, label %217, label %184

184:                                              ; preds = %182
  store i32 11, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  br label %279

185:                                              ; preds = %148
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %7, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %8, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  br label %363

189:                                              ; preds = %150
  %190 = landingpad { ptr, i32 }
          cleanup
  %191 = extractvalue { ptr, i32 } %190, 0
  store ptr %191, ptr %7, align 8
  %192 = extractvalue { ptr, i32 } %190, 1
  store i32 %192, ptr %8, align 4
  br label %363

193:                                              ; preds = %151
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %7, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %8, align 4
  call void @_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #9
  br label %363

197:                                              ; preds = %153
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %7, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %8, align 4
  br label %362

201:                                              ; preds = %154
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %7, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %8, align 4
  call void @_ZNSt12__shared_ptrIN6nerone4cell7ClusterINS0_5value10CumulativeIfEEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %28) #9
  br label %361

205:                                              ; preds = %162
  %206 = landingpad { ptr, i32 }
          cleanup
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %7, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %8, align 4
  call void @_ZNSt12__shared_ptrIN6nerone4cell9LossLayerINS0_5value10CumulativeIfEEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #9
  br label %361

209:                                              ; preds = %172, %170, %168
  %210 = landingpad { ptr, i32 }
          cleanup
  %211 = extractvalue { ptr, i32 } %210, 0
  store ptr %211, ptr %7, align 8
  %212 = extractvalue { ptr, i32 } %210, 1
  store i32 %212, ptr %8, align 4
  br label %361

213:                                              ; preds = %174
  %214 = landingpad { ptr, i32 }
          cleanup
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %7, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %8, align 4
  br label %360

217:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #9
  %218 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP5PointSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #9
  store ptr %218, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %36) #9
  %219 = getelementptr inbounds %"struct.nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase", ptr %36, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #9
  %220 = load ptr, ptr %35, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.Point, ptr %220, i32 0, i32 0
  %222 = load double, ptr %221, align 8, !tbaa !23
  %223 = fptrunc double %222 to float
  %224 = call noundef float @_Z4normf(float noundef %223)
  store float %224, ptr %38, align 4, !tbaa !15
  %225 = getelementptr inbounds float, ptr %38, i64 1
  %226 = load ptr, ptr %35, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.Point, ptr %226, i32 0, i32 1
  %228 = load double, ptr %227, align 8, !tbaa !27
  %229 = fptrunc double %228 to float
  %230 = call noundef float @_Z4normf(float noundef %229)
  store float %230, ptr %225, align 4, !tbaa !15
  %231 = getelementptr inbounds %"class.std::initializer_list.40", ptr %37, i32 0, i32 0
  store ptr %38, ptr %231, align 8, !tbaa !28
  %232 = getelementptr inbounds %"class.std::initializer_list.40", ptr %37, i32 0, i32 1
  store i64 2, ptr %232, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #9
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #9
  %233 = getelementptr inbounds { ptr, i64 }, ptr %37, i32 0, i32 0
  %234 = load ptr, ptr %233, align 8
  %235 = getelementptr inbounds { ptr, i64 }, ptr %37, i32 0, i32 1
  %236 = load i64, ptr %235, align 8
  invoke void @_ZNSt6vectorIfSaIfEEC2ESt16initializer_listIfERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %219, ptr %234, i64 %236, ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %237 unwind label %262

237:                                              ; preds = %217
  store i1 true, ptr %43, align 1
  %238 = getelementptr inbounds %"struct.nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase", ptr %36, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #9
  %239 = load ptr, ptr %35, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.Point, ptr %239, i32 0, i32 2
  %241 = load i8, ptr %240, align 8, !tbaa !31, !range !32, !noundef !33
  %242 = trunc i8 %241 to i1
  %243 = zext i1 %242 to i64
  %244 = select i1 %242, float 1.000000e+00, float 0.000000e+00
  store float %244, ptr %41, align 4, !tbaa !15
  %245 = getelementptr inbounds float, ptr %41, i64 1
  %246 = load ptr, ptr %35, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.Point, ptr %246, i32 0, i32 2
  %248 = load i8, ptr %247, align 8, !tbaa !31, !range !32, !noundef !33
  %249 = trunc i8 %248 to i1
  %250 = zext i1 %249 to i64
  %251 = select i1 %249, float 0.000000e+00, float 1.000000e+00
  store float %251, ptr %245, align 4, !tbaa !15
  %252 = getelementptr inbounds %"class.std::initializer_list.40", ptr %40, i32 0, i32 0
  store ptr %41, ptr %252, align 8, !tbaa !28
  %253 = getelementptr inbounds %"class.std::initializer_list.40", ptr %40, i32 0, i32 1
  store i64 2, ptr %253, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #9
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #9
  %254 = getelementptr inbounds { ptr, i64 }, ptr %40, i32 0, i32 0
  %255 = load ptr, ptr %254, align 8
  %256 = getelementptr inbounds { ptr, i64 }, ptr %40, i32 0, i32 1
  %257 = load i64, ptr %256, align 8
  invoke void @_ZNSt6vectorIfSaIfEEC2ESt16initializer_listIfERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %238, ptr %255, i64 %257, ptr noundef nonnull align 1 dereferenceable(1) %42)
          to label %258 unwind label %266

258:                                              ; preds = %237
  store i1 false, ptr %43, align 1
  invoke void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EE9push_backEOS6_(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(48) %36)
          to label %259 unwind label %270

259:                                              ; preds = %258
  call void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE13ExecutionCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %36) #9
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #9
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  br label %260

260:                                              ; preds = %259
  %261 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP5PointSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #9
  br label %182

262:                                              ; preds = %217
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %7, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %8, align 4
  br label %278

266:                                              ; preds = %237
  %267 = landingpad { ptr, i32 }
          cleanup
  %268 = extractvalue { ptr, i32 } %267, 0
  store ptr %268, ptr %7, align 8
  %269 = extractvalue { ptr, i32 } %267, 1
  store i32 %269, ptr %8, align 4
  br label %274

270:                                              ; preds = %258
  %271 = landingpad { ptr, i32 }
          cleanup
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %7, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %8, align 4
  call void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE13ExecutionCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %36) #9
  br label %274

274:                                              ; preds = %270, %266
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #9
  %275 = load i1, ptr %43, align 1
  br i1 %275, label %276, label %277

276:                                              ; preds = %274
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %219) #9
  br label %277

277:                                              ; preds = %276, %274
  br label %278

278:                                              ; preds = %277, %262
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  br label %359

279:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #9
  store i32 0, ptr %44, align 4, !tbaa !9
  br label %280

280:                                              ; preds = %288, %279
  %281 = load i32, ptr %44, align 4, !tbaa !9
  %282 = icmp slt i32 %281, 100
  br i1 %282, label %284, label %283

283:                                              ; preds = %280
  store i32 13, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #9
  br label %300

284:                                              ; preds = %280
  %285 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(24) %46, ptr noundef nonnull align 8 dereferenceable(24) %31)
          to label %286 unwind label %291

286:                                              ; preds = %284
  invoke void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE5trainESt6vectorINS4_13ExecutionCaseESaIS6_EE(ptr dead_on_unwind writable sret(%"class.std::vector.5") align 8 %45, ptr noundef nonnull align 8 dereferenceable(72) %285, ptr noundef %46)
          to label %287 unwind label %295

287:                                              ; preds = %286
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE15ExecutionResultESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #9
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #9
  br label %288

288:                                              ; preds = %287
  %289 = load i32, ptr %44, align 4, !tbaa !9
  %290 = add nsw i32 %289, 1
  store i32 %290, ptr %44, align 4, !tbaa !9
  br label %280, !llvm.loop !34

291:                                              ; preds = %284
  %292 = landingpad { ptr, i32 }
          cleanup
  %293 = extractvalue { ptr, i32 } %292, 0
  store ptr %293, ptr %7, align 8
  %294 = extractvalue { ptr, i32 } %292, 1
  store i32 %294, ptr %8, align 4
  br label %299

295:                                              ; preds = %286
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %7, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %8, align 4
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #9
  br label %299

299:                                              ; preds = %295, %291
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #9
  br label %359

300:                                              ; preds = %283
  call void @llvm.lifetime.start.p0(i64 24, ptr %47) #9
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %47) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #9
  store i32 0, ptr %48, align 4, !tbaa !9
  br label %301

301:                                              ; preds = %341, %300
  %302 = load i32, ptr %48, align 4, !tbaa !9
  %303 = icmp slt i32 %302, 100
  br i1 %303, label %305, label %304

304:                                              ; preds = %301
  store i32 16, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #9
  br label %344

305:                                              ; preds = %301
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #9
  store i32 0, ptr %49, align 4, !tbaa !9
  br label %306

306:                                              ; preds = %328, %305
  %307 = load i32, ptr %49, align 4, !tbaa !9
  %308 = icmp slt i32 %307, 100
  br i1 %308, label %310, label %309

309:                                              ; preds = %306
  store i32 19, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #9
  br label %340

310:                                              ; preds = %306
  call void @llvm.lifetime.start.p0(i64 48, ptr %50) #9
  %311 = getelementptr inbounds %"struct.nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase", ptr %50, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #9
  %312 = load i32, ptr %49, align 4, !tbaa !9
  %313 = sitofp i32 %312 to float
  %314 = call noundef float @_Z4normf(float noundef %313)
  store float %314, ptr %52, align 4, !tbaa !15
  %315 = getelementptr inbounds float, ptr %52, i64 1
  %316 = load i32, ptr %48, align 4, !tbaa !9
  %317 = sitofp i32 %316 to float
  %318 = call noundef float @_Z4normf(float noundef %317)
  store float %318, ptr %315, align 4, !tbaa !15
  %319 = getelementptr inbounds %"class.std::initializer_list.40", ptr %51, i32 0, i32 0
  store ptr %52, ptr %319, align 8, !tbaa !28
  %320 = getelementptr inbounds %"class.std::initializer_list.40", ptr %51, i32 0, i32 1
  store i64 2, ptr %320, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 1, ptr %53) #9
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #9
  %321 = getelementptr inbounds { ptr, i64 }, ptr %51, i32 0, i32 0
  %322 = load ptr, ptr %321, align 8
  %323 = getelementptr inbounds { ptr, i64 }, ptr %51, i32 0, i32 1
  %324 = load i64, ptr %323, align 8
  invoke void @_ZNSt6vectorIfSaIfEEC2ESt16initializer_listIfERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %311, ptr %322, i64 %324, ptr noundef nonnull align 1 dereferenceable(1) %53)
          to label %325 unwind label %331

325:                                              ; preds = %310
  %326 = getelementptr inbounds %"struct.nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase", ptr %50, i32 0, i32 1
  call void @llvm.memset.p0.i64(ptr align 8 %326, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %326) #9
  invoke void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EE9push_backEOS6_(ptr noundef nonnull align 8 dereferenceable(24) %47, ptr noundef nonnull align 8 dereferenceable(48) %50)
          to label %327 unwind label %335

327:                                              ; preds = %325
  call void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE13ExecutionCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %50) #9
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %50) #9
  br label %328

328:                                              ; preds = %327
  %329 = load i32, ptr %49, align 4, !tbaa !9
  %330 = add nsw i32 %329, 1
  store i32 %330, ptr %49, align 4, !tbaa !9
  br label %306, !llvm.loop !35

331:                                              ; preds = %310
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %7, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %8, align 4
  br label %339

335:                                              ; preds = %325
  %336 = landingpad { ptr, i32 }
          cleanup
  %337 = extractvalue { ptr, i32 } %336, 0
  store ptr %337, ptr %7, align 8
  %338 = extractvalue { ptr, i32 } %336, 1
  store i32 %338, ptr %8, align 4
  call void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE13ExecutionCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %50) #9
  br label %339

339:                                              ; preds = %335, %331
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #9
  br label %358

340:                                              ; preds = %309
  br label %341

341:                                              ; preds = %340
  %342 = load i32, ptr %48, align 4, !tbaa !9
  %343 = add nsw i32 %342, 1
  store i32 %343, ptr %48, align 4, !tbaa !9
  br label %301, !llvm.loop !36

344:                                              ; preds = %304
  call void @llvm.lifetime.start.p0(i64 24, ptr %54) #9
  %345 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(24) %55, ptr noundef nonnull align 8 dereferenceable(24) %47)
          to label %346 unwind label %349

346:                                              ; preds = %344
  invoke void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE7executeESt6vectorINS4_13ExecutionCaseESaIS6_EE(ptr dead_on_unwind writable sret(%"class.std::vector.5") align 8 %54, ptr noundef nonnull align 8 dereferenceable(72) %345, ptr noundef %55)
          to label %347 unwind label %353

347:                                              ; preds = %346
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %55) #9
  store i32 0, ptr %1, align 4
  store i32 1, ptr %11, align 4
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE15ExecutionResultESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #9
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %47) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #9
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #9
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @_ZNSt4pairISt10shared_ptrIN6nerone4cell7ClusterINS1_5value10CumulativeIfEEEEES0_INS2_9LossLayerIS6_EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #9
  call void @_ZN21ConnectedLayerBuilderD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %16) #9
  call void @llvm.lifetime.end.p0(i64 152, ptr %16) #9
  call void @_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #9
  %348 = load i32, ptr %1, align 4
  ret i32 %348

349:                                              ; preds = %344
  %350 = landingpad { ptr, i32 }
          cleanup
  %351 = extractvalue { ptr, i32 } %350, 0
  store ptr %351, ptr %7, align 8
  %352 = extractvalue { ptr, i32 } %350, 1
  store i32 %352, ptr %8, align 4
  br label %357

353:                                              ; preds = %346
  %354 = landingpad { ptr, i32 }
          cleanup
  %355 = extractvalue { ptr, i32 } %354, 0
  store ptr %355, ptr %7, align 8
  %356 = extractvalue { ptr, i32 } %354, 1
  store i32 %356, ptr %8, align 4
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %55) #9
  br label %357

357:                                              ; preds = %353, %349
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #9
  br label %358

358:                                              ; preds = %357, %339
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %47) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #9
  br label %359

359:                                              ; preds = %358, %299, %278
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #9
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #9
  br label %360

360:                                              ; preds = %359, %213
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #9
  br label %361

361:                                              ; preds = %360, %209, %205, %201
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @_ZNSt4pairISt10shared_ptrIN6nerone4cell7ClusterINS1_5value10CumulativeIfEEEEES0_INS2_9LossLayerIS6_EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #9
  br label %362

362:                                              ; preds = %361, %197
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #9
  br label %363

363:                                              ; preds = %362, %193, %189, %185, %144, %130
  call void @_ZN21ConnectedLayerBuilderD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %16) #9
  br label %364

364:                                              ; preds = %363, %126
  call void @llvm.lifetime.end.p0(i64 152, ptr %16) #9
  br label %365

365:                                              ; preds = %364, %113
  call void @_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  br label %366

366:                                              ; preds = %365, %73
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #9
  br label %367

367:                                              ; preds = %366
  %368 = load ptr, ptr %7, align 8
  %369 = load i32, ptr %8, align 4
  %370 = insertvalue { ptr, i32 } poison, ptr %368, 0
  %371 = insertvalue { ptr, i32 } %370, i32 %369, 1
  resume { ptr, i32 } %371
}

; Function Attrs: nounwind
declare void @srand(i32 noundef) #4

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_IfSaIfEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN21ConnectedLayerBuilderC2Eb(ptr noundef nonnull align 8 dereferenceable(152), i1 noundef zeroext) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(152) ptr @_ZN21ConnectedLayerBuilder3addEiSt8functionIFffEES2_(ptr noundef nonnull align 8 dereferenceable(152), i32 noundef, ptr noundef, ptr noundef) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6nerone10activation6Linear3funIfEET_S3_(float noundef) #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt8functionIFffEEC2IRS0_vEEOT_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull) unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6nerone10activation6Linear4gradIfEET_S3_(float noundef) #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZN6nerone10activation7Sigmoid3funIfEET_S3_(float noundef) #8 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZN6nerone10activation7Sigmoid4gradIfEET_S3_(float noundef) #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(152) ptr @_ZN21ConnectedLayerBuilder8withLossESt8functionIFfffEES2_(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef, ptr noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZN6nerone4loss12CrossEntropy3funIfEET_S3_S3_(float noundef, float noundef) #8 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt8functionIFfffEEC2IRS0_vEEOT_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull) unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6nerone4loss12CrossEntropy4gradIfEET_S3_S3_(float noundef, float noundef) #7 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(152) ptr @_ZN21ConnectedLayerBuilder11withWeightsESt6vectorIS0_IfSaIfEESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_IfSaIfEESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN21ConnectedLayerBuilder5buildEv(ptr dead_on_unwind noalias writable sret(%"struct.std::pair") align 8, ptr noundef nonnull align 8 dereferenceable(152)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZSt3getILm0ESt10shared_ptrIN6nerone4cell7ClusterINS1_5value10CumulativeIfEEEEES0_INS2_9LossLayerIS6_EEEEONSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOSG_(ptr noundef nonnull align 8 dereferenceable(32)) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZSt3getILm1ESt10shared_ptrIN6nerone4cell7ClusterINS1_5value10CumulativeIfEEEEES0_INS2_9LossLayerIS6_EEEEONSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOSG_(ptr noundef nonnull align 8 dereferenceable(32)) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10shared_ptrIN6nerone4cell7ClusterINS0_5value10CumulativeIfEEEEEC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt12__shared_ptrIN6nerone4cell7ClusterINS0_5value10CumulativeIfEEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10shared_ptrIN6nerone4cell9LossLayerINS0_5value10CumulativeIfEEEEEC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt12__shared_ptrIN6nerone4cell9LossLayerINS0_5value10CumulativeIfEEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE17set_learning_rateEf(ptr noundef nonnull align 8 dereferenceable(72), float noundef) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE14set_batch_sizeEm(ptr noundef nonnull align 8 dereferenceable(72), i64 noundef) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE14set_randomizedEb(ptr noundef nonnull align 8 dereferenceable(72), i1 noundef zeroext) #0 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIP5PointSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #7

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EE9push_backEOS6_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(48)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEEC2ESt16initializer_listIfERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE13ExecutionCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE5trainESt6vectorINS4_13ExecutionCaseESaIS6_EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.5") align 8, ptr noundef nonnull align 8 dereferenceable(72), ptr noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE7executeESt6vectorINS4_13ExecutionCaseESaIS6_EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.5") align 8, ptr noundef nonnull align 8 dereferenceable(72), ptr noundef) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairISt10shared_ptrIN6nerone4cell7ClusterINS1_5value10CumulativeIfEEEEES0_INS2_9LossLayerIS6_EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN21ConnectedLayerBuilderD2Ev(ptr noundef nonnull align 8 dereferenceable(152)) unnamed_addr #7 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

!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, !6, i64 0}
!12 = !{!"_ZTSSt16initializer_listIiE", !6, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = !{!22, !22, i64 0}
!22 = !{!"vtable pointer", !8, i64 0}
!23 = !{!24, !25, i64 0}
!24 = !{!"_ZTS5Point", !25, i64 0, !25, i64 8, !26, i64 16}
!25 = !{!"double", !7, i64 0}
!26 = !{!"bool", !7, i64 0}
!27 = !{!24, !25, i64 8}
!28 = !{!29, !6, i64 0}
!29 = !{!"_ZTSSt16initializer_listIfE", !6, i64 0, !13, i64 8}
!30 = !{!29, !13, i64 8}
!31 = !{!24, !26, i64 16}
!32 = !{i8 0, i8 2}
!33 = !{}
!34 = distinct !{!34, !18}
!35 = distinct !{!35, !18}
!36 = distinct !{!36, !18}


; 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<Point, std::allocator<Point>>::_Vector_impl" }
%"struct.std::_Vector_base<Point, std::allocator<Point>>::_Vector_impl" = type { %"struct.std::_Vector_base<Point, std::allocator<Point>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Point, std::allocator<Point>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = 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::allocator.20" = type { i8 }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.ConnectedLayerBuilder = type { i8, %"class.std::vector.28", %"class.std::vector.33", %"class.std::shared_ptr", %"class.std::shared_ptr.15", %"class.std::function", %"class.std::function" }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<std::shared_ptr<nerone::cell::Cell>, std::allocator<std::shared_ptr<nerone::cell::Cell>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<nerone::cell::Cell>, std::allocator<std::shared_ptr<nerone::cell::Cell>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<nerone::cell::Cell>, std::allocator<std::shared_ptr<nerone::cell::Cell>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<nerone::cell::Cell>, std::allocator<std::shared_ptr<nerone::cell::Cell>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<std::shared_ptr<nerone::cell::Segment<nerone::value::Cumulative<float>>>, std::allocator<std::shared_ptr<nerone::cell::Segment<nerone::value::Cumulative<float>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<nerone::cell::Segment<nerone::value::Cumulative<float>>>, std::allocator<std::shared_ptr<nerone::cell::Segment<nerone::value::Cumulative<float>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<nerone::cell::Segment<nerone::value::Cumulative<float>>>, std::allocator<std::shared_ptr<nerone::cell::Segment<nerone::value::Cumulative<float>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<nerone::cell::Segment<nerone::value::Cumulative<float>>>, std::allocator<std::shared_ptr<nerone::cell::Segment<nerone::value::Cumulative<float>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.15" = type { %"class.std::__shared_ptr.16" }
%"class.std::__shared_ptr.16" = type { ptr, %"class.std::__shared_count" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.std::function.38" = type { %"class.std::_Function_base", ptr }
%"struct.std::pair" = type { %"class.std::shared_ptr", %"class.std::shared_ptr.15" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase, std::allocator<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase>>::_Vector_impl" }
%"struct.std::_Vector_base<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase, std::allocator<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase>>::_Vector_impl" = type { %"struct.std::_Vector_base<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase, std::allocator<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase>>::_Vector_impl_data" }
%"struct.std::_Vector_base<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase, std::allocator<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase" = type { %"class.std::vector.10", %"class.std::vector.10" }
%"class.std::allocator.12" = type { i8 }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionResult, std::allocator<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionResult>>::_Vector_impl" }
%"struct.std::_Vector_base<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionResult, std::allocator<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionResult>>::_Vector_impl" = type { %"struct.std::_Vector_base<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionResult, std::allocator<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionResult>>::_Vector_impl_data" }
%"struct.std::_Vector_base<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionResult, std::allocator<nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionResult>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_Z11rand_doublev() local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z29create_labeled_inputs_zones_2v(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8) local_unnamed_addr #1

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_Z4normf(float noundef) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::vector.18", align 8
  %2 = alloca [4 x i32], align 16
  %3 = alloca %"class.std::allocator.20", align 1
  %4 = alloca %"class.std::vector.23", align 8
  %5 = alloca %"class.std::vector.10", align 8
  %6 = alloca float, align 4
  %7 = alloca %class.ConnectedLayerBuilder, align 8
  %8 = alloca %"class.std::function.38", align 8
  %9 = alloca %"class.std::function.38", align 8
  %10 = alloca %"class.std::function.38", align 8
  %11 = alloca %"class.std::function.38", align 8
  %12 = alloca %"class.std::function", align 8
  %13 = alloca %"class.std::function", align 8
  %14 = alloca %"class.std::vector.23", align 8
  %15 = alloca %"struct.std::pair", align 8
  %16 = alloca %"class.std::shared_ptr", align 8
  %17 = alloca %"class.std::shared_ptr.15", align 8
  %18 = alloca %"class.std::vector", align 8
  %19 = alloca %"class.std::vector.0", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca %"struct.nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase", align 8
  %23 = alloca [2 x float], align 4
  %24 = alloca %"class.std::allocator.12", align 1
  %25 = alloca [2 x float], align 8
  %26 = alloca %"class.std::allocator.12", align 1
  %27 = alloca %"class.std::vector.5", align 8
  %28 = alloca %"class.std::vector.0", align 8
  %29 = alloca %"class.std::vector.0", align 8
  %30 = alloca %"struct.nerone::GDProducer<nerone::value::Cumulative<float>>::ExecutionCase", align 8
  %31 = alloca [2 x float], align 4
  %32 = alloca %"class.std::allocator.12", align 1
  %33 = alloca %"class.std::vector.5", align 8
  %34 = alloca %"class.std::vector.0", align 8
  tail call void @srand(i32 noundef 12345) #9
  %35 = tail call noalias noundef nonnull dereferenceable(72) ptr @_Znwm(i64 noundef 72) #10
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(72) %35, i8 0, i64 72, i1 false)
  tail call void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(72) %35) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #9
  store <4 x i32> <i32 2, i32 6, i32 6, i32 2>, ptr %2, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #9
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #9
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr nonnull %2, i64 4, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %36 unwind label %43

36:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #9
  call void @_ZNSt6vectorIS_IfSaIfEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  %37 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #9
  %38 = trunc i64 %37 to i32
  %39 = icmp sgt i32 %38, 1
  br i1 %39, label %.lr.ph88, label %._crit_edge89

._crit_edge89:                                    ; preds = %58, %36
  call void @llvm.lifetime.start.p0(i64 152, ptr nonnull %7) #9
  call void @_ZN21ConnectedLayerBuilderC2Eb(ptr noundef nonnull align 8 dereferenceable(152) %7, i1 noundef zeroext true)
  %40 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #9
  %41 = load i32, ptr %40, align 4, !tbaa !5
  call void @_ZNSt8functionIFffEEC2IRS0_vEEOT_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull @_ZN6nerone10activation6Linear3funIfEET_S3_) #9
  call void @_ZNSt8functionIFffEEC2IRS0_vEEOT_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @_ZN6nerone10activation6Linear4gradIfEET_S3_) #9
  %42 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZN21ConnectedLayerBuilder3addEiSt8functionIFffEES2_(ptr noundef nonnull align 8 dereferenceable(152) %7, i32 noundef %41, ptr noundef nonnull %8, ptr noundef nonnull %9)
          to label %65 unwind label %70

43:                                               ; preds = %0
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #9
  br label %184

.lr.ph88:                                         ; preds = %36, %58
  %indvars.iv = phi i64 [ %indvars.iv.next, %58 ], [ 1, %36 ]
  %45 = add nsw i64 %indvars.iv, -1
  %46 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %45) #9
  %47 = load i32, ptr %46, align 4, !tbaa !5
  %48 = add i32 %47, 1
  %49 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv) #9
  %50 = load i32, ptr %49, align 4, !tbaa !5
  %51 = mul i32 %50, %48
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #9
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #9
  %52 = icmp sgt i32 %51, 0
  br i1 %52, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %54, %.lr.ph88
  invoke void @_ZNSt6vectorIS_IfSaIfEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %58 unwind label %62

.lr.ph:                                           ; preds = %.lr.ph88, %54
  %.06185 = phi i32 [ %55, %54 ], [ 0, %.lr.ph88 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #9
  %53 = call noundef float @_Z11rand_doublev()
  store float %53, ptr %6, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %54 unwind label %56

54:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #9
  %55 = add nuw nsw i32 %.06185, 1
  %exitcond.not = icmp eq i32 %55, %51
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !11

56:                                               ; preds = %.lr.ph
  %57 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #9
  br label %64

58:                                               ; preds = %._crit_edge
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %59 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #9
  %sext = shl i64 %59, 32
  %60 = ashr exact i64 %sext, 32
  %61 = icmp slt i64 %indvars.iv.next, %60
  br i1 %61, label %.lr.ph88, label %._crit_edge89, !llvm.loop !13

62:                                               ; preds = %._crit_edge
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %64

64:                                               ; preds = %62, %56
  %.pn78 = phi { ptr, i32 } [ %57, %56 ], [ %63, %62 ]
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #9
  br label %183

65:                                               ; preds = %._crit_edge89
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  %66 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #9
  %67 = trunc i64 %66 to i32
  %68 = icmp sgt i32 %67, 1
  br i1 %68, label %.lr.ph92, label %._crit_edge93

._crit_edge93:                                    ; preds = %75, %65
  call void @_ZNSt8functionIFfffEEC2IRS0_vEEOT_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull @_ZN6nerone4loss12CrossEntropy3funIfEET_S3_S3_) #9
  call void @_ZNSt8functionIFfffEEC2IRS0_vEEOT_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @_ZN6nerone4loss12CrossEntropy4gradIfEET_S3_S3_) #9
  %69 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZN21ConnectedLayerBuilder8withLossESt8functionIFfffEES2_(ptr noundef nonnull align 8 dereferenceable(152) %7, ptr noundef nonnull %12, ptr noundef nonnull %13)
          to label %81 unwind label %102

70:                                               ; preds = %._crit_edge89
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  br label %182

.lr.ph92:                                         ; preds = %65, %75
  %indvars.iv101 = phi i64 [ %indvars.iv.next102, %75 ], [ 1, %65 ]
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv101) #9
  %73 = load i32, ptr %72, align 4, !tbaa !5
  call void @_ZNSt8functionIFffEEC2IRS0_vEEOT_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @_ZN6nerone10activation7Sigmoid3funIfEET_S3_) #9
  call void @_ZNSt8functionIFffEEC2IRS0_vEEOT_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @_ZN6nerone10activation7Sigmoid4gradIfEET_S3_) #9
  %74 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZN21ConnectedLayerBuilder3addEiSt8functionIFffEES2_(ptr noundef nonnull align 8 dereferenceable(152) %7, i32 noundef %73, ptr noundef nonnull %10, ptr noundef nonnull %11)
          to label %75 unwind label %79

75:                                               ; preds = %.lr.ph92
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  %indvars.iv.next102 = add nuw nsw i64 %indvars.iv101, 1
  %76 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #9
  %sext107 = shl i64 %76, 32
  %77 = ashr exact i64 %sext107, 32
  %78 = icmp slt i64 %indvars.iv.next102, %77
  br i1 %78, label %.lr.ph92, label %._crit_edge93, !llvm.loop !14

79:                                               ; preds = %.lr.ph92
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  br label %182

81:                                               ; preds = %._crit_edge93
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #9
  invoke void @_ZNSt6vectorIS_IfSaIfEESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %82 unwind label %104

82:                                               ; preds = %81
  %83 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZN21ConnectedLayerBuilder11withWeightsESt6vectorIS0_IfSaIfEESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(152) %7, ptr noundef nonnull %14)
          to label %84 unwind label %106

84:                                               ; preds = %82
  call void @_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #9
  invoke void @_ZN21ConnectedLayerBuilder5buildEv(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair") align 8 %15, ptr noundef nonnull align 8 dereferenceable(152) %7)
          to label %85 unwind label %108

85:                                               ; preds = %84
  %86 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZSt3getILm0ESt10shared_ptrIN6nerone4cell7ClusterINS1_5value10CumulativeIfEEEEES0_INS2_9LossLayerIS6_EEEEONSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOSG_(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  %87 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZSt3getILm1ESt10shared_ptrIN6nerone4cell7ClusterINS1_5value10CumulativeIfEEEEES0_INS2_9LossLayerIS6_EEEEONSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOSG_(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  call void @_ZNSt10shared_ptrIN6nerone4cell7ClusterINS0_5value10CumulativeIfEEEEEC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %86) #9
  %88 = load ptr, ptr %35, align 8, !tbaa !15
  %89 = getelementptr inbounds i8, ptr %88, i64 16
  %90 = load ptr, ptr %89, align 8
  invoke void %90(ptr noundef nonnull align 8 dereferenceable(40) %35, ptr noundef nonnull %16)
          to label %91 unwind label %110

91:                                               ; preds = %85
  call void @_ZNSt12__shared_ptrIN6nerone4cell7ClusterINS0_5value10CumulativeIfEEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #9
  call void @_ZNSt10shared_ptrIN6nerone4cell9LossLayerINS0_5value10CumulativeIfEEEEEC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %87) #9
  %92 = load ptr, ptr %35, align 8, !tbaa !15
  %93 = getelementptr inbounds i8, ptr %92, i64 24
  %94 = load ptr, ptr %93, align 8
  invoke void %94(ptr noundef nonnull align 8 dereferenceable(40) %35, ptr noundef nonnull %17)
          to label %95 unwind label %112

95:                                               ; preds = %91
  call void @_ZNSt12__shared_ptrIN6nerone4cell9LossLayerINS0_5value10CumulativeIfEEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #9
  call void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE17set_learning_rateEf(ptr noundef nonnull align 8 dereferenceable(72) %35, float noundef 0x3F847AE140000000)
  call void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE14set_batch_sizeEm(ptr noundef nonnull align 8 dereferenceable(72) %35, i64 noundef 1)
  call void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE14set_randomizedEb(ptr noundef nonnull align 8 dereferenceable(72) %35, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #9
  invoke void @_Z29create_labeled_inputs_zones_2v(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %18)
          to label %96 unwind label %114

96:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #9
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #9
  %97 = call ptr @_ZNSt6vectorI5PointSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  store ptr %97, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #9
  %98 = call ptr @_ZNSt6vectorI5PointSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  store ptr %98, ptr %21, align 8
  %99 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP5PointSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  br i1 %99, label %.lr.ph95, label %._crit_edge96

.lr.ph95:                                         ; preds = %96
  %100 = getelementptr inbounds i8, ptr %23, i64 4
  %101 = getelementptr inbounds i8, ptr %22, i64 24
  br label %116

._crit_edge96:                                    ; preds = %133, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  br label %146

102:                                              ; preds = %._crit_edge93
  %103 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #9
  br label %182

104:                                              ; preds = %81
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %182

106:                                              ; preds = %82
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  br label %182

108:                                              ; preds = %84
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %181

110:                                              ; preds = %85
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN6nerone4cell7ClusterINS0_5value10CumulativeIfEEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #9
  br label %180

112:                                              ; preds = %91
  %113 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN6nerone4cell9LossLayerINS0_5value10CumulativeIfEEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #9
  br label %180

114:                                              ; preds = %95
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %179

116:                                              ; preds = %.lr.ph95, %133
  %117 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP5PointSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %22) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #9
  %118 = load double, ptr %117, align 8, !tbaa !17
  %119 = fptrunc double %118 to float
  %120 = call noundef float @_Z4normf(float noundef %119)
  store float %120, ptr %23, align 4, !tbaa !9
  %121 = getelementptr inbounds i8, ptr %117, i64 8
  %122 = load double, ptr %121, align 8, !tbaa !21
  %123 = fptrunc double %122 to float
  %124 = call noundef float @_Z4normf(float noundef %123)
  store float %124, ptr %100, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %24) #9
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  invoke void @_ZNSt6vectorIfSaIfEEC2ESt16initializer_listIfERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr nonnull %23, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %125 unwind label %136

125:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #9
  %126 = getelementptr inbounds i8, ptr %117, i64 16
  %127 = load i8, ptr %126, align 8, !tbaa !22, !range !23, !noundef !24
  %128 = trunc nuw i8 %127 to i1
  %129 = insertelement <2 x i1> poison, i1 %128, i64 0
  %130 = shufflevector <2 x i1> %129, <2 x i1> poison, <2 x i32> zeroinitializer
  %131 = select <2 x i1> %130, <2 x float> <float 1.000000e+00, float 0.000000e+00>, <2 x float> <float 0.000000e+00, float 1.000000e+00>
  store <2 x float> %131, ptr %25, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #9
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #9
  invoke void @_ZNSt6vectorIfSaIfEEC2ESt16initializer_listIfERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %101, ptr nonnull %25, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %132 unwind label %140

132:                                              ; preds = %125
  invoke void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EE9push_backEOS6_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(48) %22)
          to label %133 unwind label %138

133:                                              ; preds = %132
  call void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE13ExecutionCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #9
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #9
  %134 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP5PointSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  %135 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP5PointSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  br i1 %135, label %116, label %._crit_edge96

136:                                              ; preds = %116
  %137 = landingpad { ptr, i32 }
          cleanup
  br label %142

138:                                              ; preds = %132
  %139 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE13ExecutionCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #9
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  br label %142

140:                                              ; preds = %125
  %141 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #9
  br label %142

142:                                              ; preds = %138, %140, %136
  %.pn69.pn = phi { ptr, i32 } [ %141, %140 ], [ %139, %138 ], [ %137, %136 ]
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  br label %178

143:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %29) #9
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #9
  %144 = getelementptr inbounds i8, ptr %31, i64 4
  %145 = getelementptr inbounds i8, ptr %30, i64 24
  br label %.preheader

146:                                              ; preds = %._crit_edge96, %148
  %.04497 = phi i32 [ 0, %._crit_edge96 ], [ %149, %148 ]
  invoke void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 8 dereferenceable(24) %19)
          to label %147 unwind label %150

147:                                              ; preds = %146
  invoke void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE5trainESt6vectorINS4_13ExecutionCaseESaIS6_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.5") align 8 %27, ptr noundef nonnull align 8 dereferenceable(72) %35, ptr noundef nonnull %28)
          to label %148 unwind label %152

148:                                              ; preds = %147
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE15ExecutionResultESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #9
  %149 = add nuw nsw i32 %.04497, 1
  %exitcond104.not = icmp eq i32 %149, 100
  br i1 %exitcond104.not, label %143, label %146, !llvm.loop !25

150:                                              ; preds = %146
  %151 = landingpad { ptr, i32 }
          cleanup
  br label %178

152:                                              ; preds = %147
  %153 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #9
  br label %178

.preheader:                                       ; preds = %143, %156
  %.04399 = phi i32 [ 0, %143 ], [ %157, %156 ]
  %154 = uitofp nneg i32 %.04399 to float
  br label %158

155:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %33) #9
  invoke void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %170 unwind label %172

156:                                              ; preds = %163
  %157 = add nuw nsw i32 %.04399, 1
  %exitcond106.not = icmp eq i32 %157, 100
  br i1 %exitcond106.not, label %155, label %.preheader, !llvm.loop !26

158:                                              ; preds = %.preheader, %163
  %.04298 = phi i32 [ 0, %.preheader ], [ %164, %163 ]
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %30) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #9
  %159 = uitofp nneg i32 %.04298 to float
  %160 = call noundef float @_Z4normf(float noundef %159)
  store float %160, ptr %31, align 4, !tbaa !9
  %161 = call noundef float @_Z4normf(float noundef %154)
  store float %161, ptr %144, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %32) #9
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #9
  invoke void @_ZNSt6vectorIfSaIfEEC2ESt16initializer_listIfERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr nonnull %31, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %162 unwind label %165

162:                                              ; preds = %158
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %145, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %145) #9
  invoke void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EE9push_backEOS6_(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(48) %30)
          to label %163 unwind label %167

163:                                              ; preds = %162
  call void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE13ExecutionCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #9
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %30) #9
  %164 = add nuw nsw i32 %.04298, 1
  %exitcond105.not = icmp eq i32 %164, 100
  br i1 %exitcond105.not, label %156, label %158, !llvm.loop !27

165:                                              ; preds = %158
  %166 = landingpad { ptr, i32 }
          cleanup
  br label %169

167:                                              ; preds = %162
  %168 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE13ExecutionCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #9
  br label %169

169:                                              ; preds = %167, %165
  %.pn64 = phi { ptr, i32 } [ %168, %167 ], [ %166, %165 ]
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %30) #9
  br label %177

170:                                              ; preds = %155
  invoke void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE7executeESt6vectorINS4_13ExecutionCaseESaIS6_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.5") align 8 %33, ptr noundef nonnull align 8 dereferenceable(72) %35, ptr noundef nonnull %34)
          to label %171 unwind label %174

171:                                              ; preds = %170
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #9
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE15ExecutionResultESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #9
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #9
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #9
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #9
  call void @_ZNSt4pairISt10shared_ptrIN6nerone4cell7ClusterINS1_5value10CumulativeIfEEEEES0_INS2_9LossLayerIS6_EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #9
  call void @_ZN21ConnectedLayerBuilderD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %7) #9
  call void @llvm.lifetime.end.p0(i64 152, ptr nonnull %7) #9
  call void @_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #9
  ret i32 0

172:                                              ; preds = %155
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %176

174:                                              ; preds = %170
  %175 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #9
  br label %176

176:                                              ; preds = %174, %172
  %.pn = phi { ptr, i32 } [ %175, %174 ], [ %173, %172 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #9
  br label %177

177:                                              ; preds = %176, %169
  %.pn64.pn = phi { ptr, i32 } [ %.pn64, %169 ], [ %.pn, %176 ]
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #9
  br label %178

178:                                              ; preds = %150, %152, %177, %142
  %.pn69.pn.pn = phi { ptr, i32 } [ %.pn69.pn, %142 ], [ %.pn64.pn, %177 ], [ %153, %152 ], [ %151, %150 ]
  call void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #9
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  br label %179

179:                                              ; preds = %178, %114
  %.pn69.pn.pn.pn = phi { ptr, i32 } [ %.pn69.pn.pn, %178 ], [ %115, %114 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #9
  br label %180

180:                                              ; preds = %179, %112, %110
  %.pn69.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn69.pn.pn.pn, %179 ], [ %113, %112 ], [ %111, %110 ]
  call void @_ZNSt4pairISt10shared_ptrIN6nerone4cell7ClusterINS1_5value10CumulativeIfEEEEES0_INS2_9LossLayerIS6_EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  br label %181

181:                                              ; preds = %180, %108
  %.pn69.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn69.pn.pn.pn.pn, %180 ], [ %109, %108 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #9
  br label %182

182:                                              ; preds = %181, %106, %104, %102, %79, %70
  %.pn76 = phi { ptr, i32 } [ %80, %79 ], [ %.pn69.pn.pn.pn.pn.pn, %181 ], [ %107, %106 ], [ %105, %104 ], [ %103, %102 ], [ %71, %70 ]
  call void @_ZN21ConnectedLayerBuilderD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %7) #9
  call void @llvm.lifetime.end.p0(i64 152, ptr nonnull %7) #9
  br label %183

183:                                              ; preds = %182, %64
  %.pn78.pn = phi { ptr, i32 } [ %.pn78, %64 ], [ %.pn76, %182 ]
  call void @_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #9
  br label %184

184:                                              ; preds = %183, %43
  %.pn78.pn.pn = phi { ptr, i32 } [ %.pn78.pn, %183 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #9
  resume { ptr, i32 } %.pn78.pn.pn
}

; Function Attrs: nounwind
declare void @srand(i32 noundef) local_unnamed_addr #4

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_IfSaIfEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN21ConnectedLayerBuilderC2Eb(ptr noundef nonnull align 8 dereferenceable(152), i1 noundef zeroext) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(152) ptr @_ZN21ConnectedLayerBuilder3addEiSt8functionIFffEES2_(ptr noundef nonnull align 8 dereferenceable(152), i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6nerone10activation6Linear3funIfEET_S3_(float noundef) #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt8functionIFffEEC2IRS0_vEEOT_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull) unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6nerone10activation6Linear4gradIfEET_S3_(float noundef) #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZN6nerone10activation7Sigmoid3funIfEET_S3_(float noundef) #8 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZN6nerone10activation7Sigmoid4gradIfEET_S3_(float noundef) #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(152) ptr @_ZN21ConnectedLayerBuilder8withLossESt8functionIFfffEES2_(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef, ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZN6nerone4loss12CrossEntropy3funIfEET_S3_S3_(float noundef, float noundef) #8 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt8functionIFfffEEC2IRS0_vEEOT_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull) unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6nerone4loss12CrossEntropy4gradIfEET_S3_S3_(float noundef, float noundef) #7 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(152) ptr @_ZN21ConnectedLayerBuilder11withWeightsESt6vectorIS0_IfSaIfEESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_IfSaIfEESaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN21ConnectedLayerBuilder5buildEv(ptr dead_on_unwind noalias writable sret(%"struct.std::pair") align 8, ptr noundef nonnull align 8 dereferenceable(152)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZSt3getILm0ESt10shared_ptrIN6nerone4cell7ClusterINS1_5value10CumulativeIfEEEEES0_INS2_9LossLayerIS6_EEEEONSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOSG_(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZSt3getILm1ESt10shared_ptrIN6nerone4cell7ClusterINS1_5value10CumulativeIfEEEEES0_INS2_9LossLayerIS6_EEEEONSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOSG_(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10shared_ptrIN6nerone4cell7ClusterINS0_5value10CumulativeIfEEEEEC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt12__shared_ptrIN6nerone4cell7ClusterINS0_5value10CumulativeIfEEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10shared_ptrIN6nerone4cell9LossLayerINS0_5value10CumulativeIfEEEEEC2ERKS7_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt12__shared_ptrIN6nerone4cell9LossLayerINS0_5value10CumulativeIfEEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE17set_learning_rateEf(ptr noundef nonnull align 8 dereferenceable(72), float noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE14set_batch_sizeEm(ptr noundef nonnull align 8 dereferenceable(72), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE14set_randomizedEb(ptr noundef nonnull align 8 dereferenceable(72), i1 noundef zeroext) local_unnamed_addr #0 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIP5PointSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #7

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EE9push_backEOS6_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEEC2ESt16initializer_listIfERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE13ExecutionCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE5trainESt6vectorINS4_13ExecutionCaseESaIS6_EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.5") align 8, ptr noundef nonnull align 8 dereferenceable(72), ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN6nerone10GDProducerINS0_5value10CumulativeIfEEE13ExecutionCaseESaIS6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6nerone10GDProducerINS_5value10CumulativeIfEEE7executeESt6vectorINS4_13ExecutionCaseESaIS6_EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.5") align 8, ptr noundef nonnull align 8 dereferenceable(72), ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairISt10shared_ptrIN6nerone4cell7ClusterINS1_5value10CumulativeIfEEEEES0_INS2_9LossLayerIS6_EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN21ConnectedLayerBuilderD2Ev(ptr noundef nonnull align 8 dereferenceable(152)) unnamed_addr #7 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = !{!16, !16, i64 0}
!16 = !{!"vtable pointer", !8, i64 0}
!17 = !{!18, !19, i64 0}
!18 = !{!"_ZTS5Point", !19, i64 0, !19, i64 8, !20, i64 16}
!19 = !{!"double", !7, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = !{!18, !19, i64 8}
!22 = !{!18, !20, i64 16}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = distinct !{!25, !12}
!26 = distinct !{!26, !12}
!27 = distinct !{!27, !12}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass