; LLVM IR from SoloGameDevGitHub/AIEngine :: NeuralNetwork/MLP/MLPMain.ll (Z22TEST_MLP_XOR_2_3_3_3_1v)

; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.0" = type { i8 }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = 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.5" = type { i8 }
%"class.NeuralNetwork::MultiLayerPerceptron" = type { %"class.serialization::ISerializable", %"class.std::vector.8", %"class.std::vector.13", ptr }
%"class.serialization::ISerializable" = type { ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<std::unique_ptr<NeuralNetwork::Layer>, std::allocator<std::unique_ptr<NeuralNetwork::Layer>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<NeuralNetwork::Layer>, std::allocator<std::unique_ptr<NeuralNetwork::Layer>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<NeuralNetwork::Layer>, std::allocator<std::unique_ptr<NeuralNetwork::Layer>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<NeuralNetwork::Layer>, std::allocator<std::unique_ptr<NeuralNetwork::Layer>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list.18" = type { ptr, i64 }
%"class.std::initializer_list.19" = type { ptr, i64 }
%"class.std::allocator" = type { i8 }
%"class.std::allocator.15" = type { i8 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [51 x i8], align 1
@__FUNCTION__._Z22TEST_MLP_XOR_2_3_3_3_1v = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z6equalsRKSt6vectorIdSaIdEES3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #0

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) #2

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

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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN13NeuralNetwork10activation12setThresholdEOKd(ptr noundef nonnull align 8 dereferenceable(8)) #4

declare void @_ZN11RandomUtils14initRandomSeedEv() #4

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

declare void @_ZN13NeuralNetwork20MultiLayerPerceptronC1EiRKSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(64), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4

declare void @_ZN13NeuralNetwork20MultiLayerPerceptron21setActivationFunctionEPFvRSt6vectorIdSaIdEEE(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef) #4

declare void @_ZN13NeuralNetwork10activation9thresholdERSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(24)) #4

declare void @_ZNK13NeuralNetwork20MultiLayerPerceptron16randomizeWeightsERS0_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(64)) #4

declare void @_ZN13serialization19loadWeightsFromFileEPKcRNS_13ISerializableE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) #4

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

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

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

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

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

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

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

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

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

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

declare void @_ZN13NeuralNetwork20MultiLayerPerceptron11feedforwardESt6vectorIdSaIdEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef) #4

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

declare void @_ZN13NeuralNetwork20MultiLayerPerceptron13backpropagateESt6vectorIdSaIdEES3_d(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef, ptr noundef, double noundef) #4

declare i32 @printf(ptr noundef, ...) #4

declare void @_ZN13serialization15serializeToFileEPKcRKNS_13ISerializableE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN13NeuralNetwork20MultiLayerPerceptronD2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #5 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 uwtable
define dso_local void @_Z22TEST_MLP_XOR_2_3_3_3_1v() #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::__cxx11::basic_string", align 8
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca %"class.std::allocator.0", align 1
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca double, align 8
  %7 = alloca %"class.std::vector.3", align 8
  %8 = alloca %"class.std::initializer_list", align 8
  %9 = alloca [4 x i32], align 4
  %10 = alloca %"class.std::allocator.5", align 1
  %11 = alloca %"class.NeuralNetwork::MultiLayerPerceptron", align 8
  %12 = alloca %"class.std::vector.13", align 8
  %13 = alloca %"class.std::initializer_list.18", align 8
  %14 = alloca [4 x %"class.std::vector"], align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.std::initializer_list.19", align 8
  %17 = alloca [2 x double], align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca %"class.std::initializer_list.19", align 8
  %20 = alloca [2 x double], align 8
  %21 = alloca %"class.std::allocator", align 1
  %22 = alloca %"class.std::initializer_list.19", align 8
  %23 = alloca [2 x double], align 8
  %24 = alloca %"class.std::allocator", align 1
  %25 = alloca %"class.std::initializer_list.19", align 8
  %26 = alloca [2 x double], align 8
  %27 = alloca %"class.std::allocator", align 1
  %28 = alloca i1, align 1
  %29 = alloca %"class.std::allocator.15", align 1
  %30 = alloca %"class.std::vector.13", align 8
  %31 = alloca %"class.std::initializer_list.18", align 8
  %32 = alloca [4 x %"class.std::vector"], align 8
  %33 = alloca ptr, align 8
  %34 = alloca %"class.std::initializer_list.19", align 8
  %35 = alloca [1 x double], align 8
  %36 = alloca %"class.std::allocator", align 1
  %37 = alloca %"class.std::initializer_list.19", align 8
  %38 = alloca [1 x double], align 8
  %39 = alloca %"class.std::allocator", align 1
  %40 = alloca %"class.std::initializer_list.19", align 8
  %41 = alloca [1 x double], align 8
  %42 = alloca %"class.std::allocator", align 1
  %43 = alloca %"class.std::initializer_list.19", align 8
  %44 = alloca [1 x double], align 8
  %45 = alloca %"class.std::allocator", align 1
  %46 = alloca i1, align 1
  %47 = alloca %"class.std::allocator.15", align 1
  %48 = alloca i64, align 8
  %49 = alloca i64, align 8
  %50 = alloca i64, align 8
  %51 = alloca ptr, align 8
  %52 = alloca %"class.std::vector", align 8
  %53 = alloca %"class.std::vector", align 8
  %54 = alloca %"class.std::vector", align 8
  %55 = alloca %"class.std::vector", align 8
  %56 = alloca %"class.std::vector", align 8
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @__FUNCTION__._Z22TEST_MLP_XOR_2_3_3_3_1v)
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef @.str)
  call void @llvm.lifetime.start.p0(i64 32, ptr %1) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %3) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef @__FUNCTION__._Z22TEST_MLP_XOR_2_3_3_3_1v, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %59 unwind label %189

59:                                               ; preds = %0
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %1, ptr noundef @.str.1, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %60 unwind label %193

60:                                               ; preds = %59
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  store double 0x3FE6666666666666, ptr %6, align 8, !tbaa !5
  invoke void @_ZN13NeuralNetwork10activation12setThresholdEOKd(ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %61 unwind label %198

61:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  invoke void @_ZN11RandomUtils14initRandomSeedEv()
          to label %62 unwind label %202

62:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #6
  store i32 3, ptr %9, align 4, !tbaa !9
  %63 = getelementptr inbounds i32, ptr %9, i64 1
  store i32 3, ptr %63, align 4, !tbaa !9
  %64 = getelementptr inbounds i32, ptr %9, i64 2
  store i32 3, ptr %64, align 4, !tbaa !9
  %65 = getelementptr inbounds i32, ptr %9, i64 3
  store i32 1, ptr %65, align 4, !tbaa !9
  %66 = getelementptr inbounds %"class.std::initializer_list", ptr %8, i32 0, i32 0
  store ptr %9, ptr %66, align 8, !tbaa !11
  %67 = getelementptr inbounds %"class.std::initializer_list", ptr %8, i32 0, i32 1
  store i64 4, ptr %67, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  %68 = getelementptr inbounds { ptr, i64 }, ptr %8, i32 0, i32 0
  %69 = load ptr, ptr %68, align 8
  %70 = getelementptr inbounds { ptr, i64 }, ptr %8, i32 0, i32 1
  %71 = load i64, ptr %70, align 8
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr %69, i64 %71, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %72 unwind label %206

72:                                               ; preds = %62
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %11) #6
  invoke void @_ZN13NeuralNetwork20MultiLayerPerceptronC1EiRKSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(64) %11, i32 noundef 2, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %73 unwind label %210

73:                                               ; preds = %72
  invoke void @_ZN13NeuralNetwork20MultiLayerPerceptron21setActivationFunctionEPFvRSt6vectorIdSaIdEEE(ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef @_ZN13NeuralNetwork10activation9thresholdERSt6vectorIdSaIdEE)
          to label %74 unwind label %214

74:                                               ; preds = %73
  invoke void @_ZNK13NeuralNetwork20MultiLayerPerceptron16randomizeWeightsERS0_(ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef nonnull align 8 dereferenceable(64) %11)
          to label %75 unwind label %214

75:                                               ; preds = %74
  %76 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  invoke void @_ZN13serialization19loadWeightsFromFileEPKcRNS_13ISerializableE(ptr noundef %76, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %77 unwind label %214

77:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr %14) #6
  store i1 true, ptr %28, align 1
  store ptr %14, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  store double 0.000000e+00, ptr %17, align 8, !tbaa !5
  %78 = getelementptr inbounds double, ptr %17, i64 1
  store double 0.000000e+00, ptr %78, align 8, !tbaa !5
  %79 = getelementptr inbounds %"class.std::initializer_list.19", ptr %16, i32 0, i32 0
  store ptr %17, ptr %79, align 8, !tbaa !16
  %80 = getelementptr inbounds %"class.std::initializer_list.19", ptr %16, i32 0, i32 1
  store i64 2, ptr %80, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  %81 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 0
  %82 = load ptr, ptr %81, align 8
  %83 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 1
  %84 = load i64, ptr %83, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr %82, i64 %84, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %85 unwind label %218

85:                                               ; preds = %77
  %86 = getelementptr inbounds %"class.std::vector", ptr %14, i64 1
  store ptr %86, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #6
  store double 0.000000e+00, ptr %20, align 8, !tbaa !5
  %87 = getelementptr inbounds double, ptr %20, i64 1
  store double 1.000000e+00, ptr %87, align 8, !tbaa !5
  %88 = getelementptr inbounds %"class.std::initializer_list.19", ptr %19, i32 0, i32 0
  store ptr %20, ptr %88, align 8, !tbaa !16
  %89 = getelementptr inbounds %"class.std::initializer_list.19", ptr %19, i32 0, i32 1
  store i64 2, ptr %89, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  %90 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 0
  %91 = load ptr, ptr %90, align 8
  %92 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 1
  %93 = load i64, ptr %92, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %86, ptr %91, i64 %93, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %94 unwind label %222

94:                                               ; preds = %85
  %95 = getelementptr inbounds %"class.std::vector", ptr %14, i64 2
  store ptr %95, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #6
  store double 1.000000e+00, ptr %23, align 8, !tbaa !5
  %96 = getelementptr inbounds double, ptr %23, i64 1
  store double 0.000000e+00, ptr %96, align 8, !tbaa !5
  %97 = getelementptr inbounds %"class.std::initializer_list.19", ptr %22, i32 0, i32 0
  store ptr %23, ptr %97, align 8, !tbaa !16
  %98 = getelementptr inbounds %"class.std::initializer_list.19", ptr %22, i32 0, i32 1
  store i64 2, ptr %98, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #6
  %99 = getelementptr inbounds { ptr, i64 }, ptr %22, i32 0, i32 0
  %100 = load ptr, ptr %99, align 8
  %101 = getelementptr inbounds { ptr, i64 }, ptr %22, i32 0, i32 1
  %102 = load i64, ptr %101, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %95, ptr %100, i64 %102, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %103 unwind label %226

103:                                              ; preds = %94
  %104 = getelementptr inbounds %"class.std::vector", ptr %14, i64 3
  store ptr %104, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #6
  store double 1.000000e+00, ptr %26, align 8, !tbaa !5
  %105 = getelementptr inbounds double, ptr %26, i64 1
  store double 1.000000e+00, ptr %105, align 8, !tbaa !5
  %106 = getelementptr inbounds %"class.std::initializer_list.19", ptr %25, i32 0, i32 0
  store ptr %26, ptr %106, align 8, !tbaa !16
  %107 = getelementptr inbounds %"class.std::initializer_list.19", ptr %25, i32 0, i32 1
  store i64 2, ptr %107, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #6
  %108 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 0
  %109 = load ptr, ptr %108, align 8
  %110 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 1
  %111 = load i64, ptr %110, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %104, ptr %109, i64 %111, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %112 unwind label %230

112:                                              ; preds = %103
  store i1 false, ptr %28, align 1
  %113 = getelementptr inbounds %"class.std::initializer_list.18", ptr %13, i32 0, i32 0
  store ptr %14, ptr %113, align 8, !tbaa !19
  %114 = getelementptr inbounds %"class.std::initializer_list.18", ptr %13, i32 0, i32 1
  store i64 4, ptr %114, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #6
  call void @_ZNSaISt6vectorIdSaIdEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #6
  %115 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 0
  %116 = load ptr, ptr %115, align 8
  %117 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 1
  %118 = load i64, ptr %117, align 8
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr %116, i64 %118, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %119 unwind label %234

119:                                              ; preds = %112
  call void @_ZNSt15__new_allocatorISt6vectorIdSaIdEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #6
  %120 = getelementptr inbounds [4 x %"class.std::vector"], ptr %14, i32 0, i32 0
  %121 = getelementptr inbounds %"class.std::vector", ptr %120, i64 4
  br label %122

122:                                              ; preds = %122, %119
  %123 = phi ptr [ %121, %119 ], [ %124, %122 ]
  %124 = getelementptr inbounds %"class.std::vector", ptr %123, i64 -1
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %124) #6
  %125 = icmp eq ptr %124, %120
  br i1 %125, label %126, label %122

126:                                              ; preds = %122
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr %32) #6
  store i1 true, ptr %46, align 1
  store ptr %32, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  store double 0.000000e+00, ptr %35, align 8, !tbaa !5
  %127 = getelementptr inbounds %"class.std::initializer_list.19", ptr %34, i32 0, i32 0
  store ptr %35, ptr %127, align 8, !tbaa !16
  %128 = getelementptr inbounds %"class.std::initializer_list.19", ptr %34, i32 0, i32 1
  store i64 1, ptr %128, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #6
  %129 = getelementptr inbounds { ptr, i64 }, ptr %34, i32 0, i32 0
  %130 = load ptr, ptr %129, align 8
  %131 = getelementptr inbounds { ptr, i64 }, ptr %34, i32 0, i32 1
  %132 = load i64, ptr %131, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr %130, i64 %132, ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %133 unwind label %259

133:                                              ; preds = %126
  %134 = getelementptr inbounds %"class.std::vector", ptr %32, i64 1
  store ptr %134, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #6
  store double 1.000000e+00, ptr %38, align 8, !tbaa !5
  %135 = getelementptr inbounds %"class.std::initializer_list.19", ptr %37, i32 0, i32 0
  store ptr %38, ptr %135, align 8, !tbaa !16
  %136 = getelementptr inbounds %"class.std::initializer_list.19", ptr %37, i32 0, i32 1
  store i64 1, ptr %136, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #6
  %137 = getelementptr inbounds { ptr, i64 }, ptr %37, i32 0, i32 0
  %138 = load ptr, ptr %137, align 8
  %139 = getelementptr inbounds { ptr, i64 }, ptr %37, i32 0, i32 1
  %140 = load i64, ptr %139, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %134, ptr %138, i64 %140, ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %141 unwind label %263

141:                                              ; preds = %133
  %142 = getelementptr inbounds %"class.std::vector", ptr %32, i64 2
  store ptr %142, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #6
  store double 1.000000e+00, ptr %41, align 8, !tbaa !5
  %143 = getelementptr inbounds %"class.std::initializer_list.19", ptr %40, i32 0, i32 0
  store ptr %41, ptr %143, align 8, !tbaa !16
  %144 = getelementptr inbounds %"class.std::initializer_list.19", ptr %40, i32 0, i32 1
  store i64 1, ptr %144, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #6
  %145 = getelementptr inbounds { ptr, i64 }, ptr %40, i32 0, i32 0
  %146 = load ptr, ptr %145, align 8
  %147 = getelementptr inbounds { ptr, i64 }, ptr %40, i32 0, i32 1
  %148 = load i64, ptr %147, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %142, ptr %146, i64 %148, ptr noundef nonnull align 1 dereferenceable(1) %42)
          to label %149 unwind label %267

149:                                              ; preds = %141
  %150 = getelementptr inbounds %"class.std::vector", ptr %32, i64 3
  store ptr %150, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #6
  store double 0.000000e+00, ptr %44, align 8, !tbaa !5
  %151 = getelementptr inbounds %"class.std::initializer_list.19", ptr %43, i32 0, i32 0
  store ptr %44, ptr %151, align 8, !tbaa !16
  %152 = getelementptr inbounds %"class.std::initializer_list.19", ptr %43, i32 0, i32 1
  store i64 1, ptr %152, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #6
  %153 = getelementptr inbounds { ptr, i64 }, ptr %43, i32 0, i32 0
  %154 = load ptr, ptr %153, align 8
  %155 = getelementptr inbounds { ptr, i64 }, ptr %43, i32 0, i32 1
  %156 = load i64, ptr %155, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %150, ptr %154, i64 %156, ptr noundef nonnull align 1 dereferenceable(1) %45)
          to label %157 unwind label %271

157:                                              ; preds = %149
  store i1 false, ptr %46, align 1
  %158 = getelementptr inbounds %"class.std::initializer_list.18", ptr %31, i32 0, i32 0
  store ptr %32, ptr %158, align 8, !tbaa !19
  %159 = getelementptr inbounds %"class.std::initializer_list.18", ptr %31, i32 0, i32 1
  store i64 4, ptr %159, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 1, ptr %47) #6
  call void @_ZNSaISt6vectorIdSaIdEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #6
  %160 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 0
  %161 = load ptr, ptr %160, align 8
  %162 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 1
  %163 = load i64, ptr %162, align 8
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr %161, i64 %163, ptr noundef nonnull align 1 dereferenceable(1) %47)
          to label %164 unwind label %275

164:                                              ; preds = %157
  call void @_ZNSt15__new_allocatorISt6vectorIdSaIdEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #6
  %165 = getelementptr inbounds [4 x %"class.std::vector"], ptr %32, i32 0, i32 0
  %166 = getelementptr inbounds %"class.std::vector", ptr %165, i64 4
  br label %167

167:                                              ; preds = %167, %164
  %168 = phi ptr [ %166, %164 ], [ %169, %167 ]
  %169 = getelementptr inbounds %"class.std::vector", ptr %168, i64 -1
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %169) #6
  %170 = icmp eq ptr %169, %165
  br i1 %170, label %171, label %167

171:                                              ; preds = %167
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #6
  store i64 0, ptr %48, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #6
  store i64 0, ptr %49, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #6
  store i64 0, ptr %50, align 8, !tbaa !22
  br label %172

172:                                              ; preds = %332, %171
  %173 = load i64, ptr %50, align 8, !tbaa !22
  %174 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %175 = icmp ult i64 %173, %174
  br i1 %175, label %176, label %341

176:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #6
  %177 = load i64, ptr %49, align 8, !tbaa !22
  %178 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %177) #6
  store ptr %178, ptr %51, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 24, ptr %52) #6
  %179 = load i64, ptr %49, align 8, !tbaa !22
  %180 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %179) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %52, ptr noundef nonnull align 8 dereferenceable(24) %180)
          to label %181 unwind label %300

181:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 24, ptr %53) #6
  %182 = load ptr, ptr %51, align 8, !tbaa !23
  invoke void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %54, ptr noundef nonnull align 8 dereferenceable(24) %182)
          to label %183 unwind label %304

183:                                              ; preds = %181
  invoke void @_ZN13NeuralNetwork20MultiLayerPerceptron11feedforwardESt6vectorIdSaIdEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %53, ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef %54)
          to label %184 unwind label %308

184:                                              ; preds = %183
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #6
  %185 = call noundef zeroext i1 @_Z6equalsRKSt6vectorIdSaIdEES3_(ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 8 dereferenceable(24) %52)
  br i1 %185, label %186, label %312

186:                                              ; preds = %184
  %187 = load i64, ptr %50, align 8, !tbaa !22
  %188 = add i64 %187, 1
  store i64 %188, ptr %50, align 8, !tbaa !22
  br label %332

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

193:                                              ; preds = %59
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %4, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  br label %197

197:                                              ; preds = %193, %189
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #6
  br label %358

198:                                              ; preds = %60
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %4, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %357

202:                                              ; preds = %61
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %4, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %5, align 4
  br label %357

206:                                              ; preds = %62
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %4, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %5, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  br label %356

210:                                              ; preds = %72
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %4, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %5, align 4
  br label %355

214:                                              ; preds = %75, %74, %73
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %4, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %5, align 4
  br label %354

218:                                              ; preds = %77
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %4, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %5, align 4
  br label %248

222:                                              ; preds = %85
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %4, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %5, align 4
  br label %247

226:                                              ; preds = %94
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %4, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %5, align 4
  br label %246

230:                                              ; preds = %103
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %4, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %5, align 4
  br label %245

234:                                              ; preds = %112
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %4, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %5, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIdSaIdEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #6
  %238 = getelementptr inbounds [4 x %"class.std::vector"], ptr %14, i32 0, i32 0
  %239 = getelementptr inbounds %"class.std::vector", ptr %238, i64 4
  br label %240

240:                                              ; preds = %240, %234
  %241 = phi ptr [ %239, %234 ], [ %242, %240 ]
  %242 = getelementptr inbounds %"class.std::vector", ptr %241, i64 -1
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %242) #6
  %243 = icmp eq ptr %242, %238
  br i1 %243, label %244, label %240

244:                                              ; preds = %240
  br label %245

245:                                              ; preds = %244, %230
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  br label %246

246:                                              ; preds = %245, %226
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  br label %247

247:                                              ; preds = %246, %222
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  br label %248

248:                                              ; preds = %247, %218
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  %249 = load i1, ptr %28, align 1
  br i1 %249, label %250, label %258

250:                                              ; preds = %248
  %251 = load ptr, ptr %15, align 8
  %252 = icmp eq ptr %14, %251
  br i1 %252, label %257, label %253

253:                                              ; preds = %253, %250
  %254 = phi ptr [ %251, %250 ], [ %255, %253 ]
  %255 = getelementptr inbounds %"class.std::vector", ptr %254, i64 -1
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %255) #6
  %256 = icmp eq ptr %255, %14
  br i1 %256, label %257, label %253

257:                                              ; preds = %253, %250
  br label %258

258:                                              ; preds = %257, %248
  call void @llvm.lifetime.end.p0(i64 96, ptr %14) #6
  br label %353

259:                                              ; preds = %126
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %4, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %5, align 4
  br label %289

263:                                              ; preds = %133
  %264 = landingpad { ptr, i32 }
          cleanup
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %4, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %5, align 4
  br label %288

267:                                              ; preds = %141
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %4, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %5, align 4
  br label %287

271:                                              ; preds = %149
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %4, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %5, align 4
  br label %286

275:                                              ; preds = %157
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %4, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %5, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIdSaIdEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #6
  %279 = getelementptr inbounds [4 x %"class.std::vector"], ptr %32, i32 0, i32 0
  %280 = getelementptr inbounds %"class.std::vector", ptr %279, i64 4
  br label %281

281:                                              ; preds = %281, %275
  %282 = phi ptr [ %280, %275 ], [ %283, %281 ]
  %283 = getelementptr inbounds %"class.std::vector", ptr %282, i64 -1
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %283) #6
  %284 = icmp eq ptr %283, %279
  br i1 %284, label %285, label %281

285:                                              ; preds = %281
  br label %286

286:                                              ; preds = %285, %271
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #6
  br label %287

287:                                              ; preds = %286, %267
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  br label %288

288:                                              ; preds = %287, %263
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  br label %289

289:                                              ; preds = %288, %259
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  %290 = load i1, ptr %46, align 1
  br i1 %290, label %291, label %299

291:                                              ; preds = %289
  %292 = load ptr, ptr %33, align 8
  %293 = icmp eq ptr %32, %292
  br i1 %293, label %298, label %294

294:                                              ; preds = %294, %291
  %295 = phi ptr [ %292, %291 ], [ %296, %294 ]
  %296 = getelementptr inbounds %"class.std::vector", ptr %295, i64 -1
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %296) #6
  %297 = icmp eq ptr %296, %32
  br i1 %297, label %298, label %294

298:                                              ; preds = %294, %291
  br label %299

299:                                              ; preds = %298, %289
  call void @llvm.lifetime.end.p0(i64 96, ptr %32) #6
  br label %352

300:                                              ; preds = %176
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %4, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %5, align 4
  br label %340

304:                                              ; preds = %181
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %4, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %5, align 4
  br label %339

308:                                              ; preds = %183
  %309 = landingpad { ptr, i32 }
          cleanup
  %310 = extractvalue { ptr, i32 } %309, 0
  store ptr %310, ptr %4, align 8
  %311 = extractvalue { ptr, i32 } %309, 1
  store i32 %311, ptr %5, align 4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #6
  br label %339

312:                                              ; preds = %184
  %313 = load i64, ptr %48, align 8, !tbaa !22
  %314 = add nsw i64 %313, 1
  store i64 %314, ptr %48, align 8, !tbaa !22
  %315 = load ptr, ptr %51, align 8, !tbaa !23
  invoke void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %55, ptr noundef nonnull align 8 dereferenceable(24) %315)
          to label %316 unwind label %319

316:                                              ; preds = %312
  invoke void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %56, ptr noundef nonnull align 8 dereferenceable(24) %52)
          to label %317 unwind label %323

317:                                              ; preds = %316
  invoke void @_ZN13NeuralNetwork20MultiLayerPerceptron13backpropagateESt6vectorIdSaIdEES3_d(ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef %55, ptr noundef %56, double noundef 1.000000e-02)
          to label %318 unwind label %327

318:                                              ; preds = %317
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %56) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %55) #6
  store i64 0, ptr %50, align 8, !tbaa !22
  br label %332

319:                                              ; preds = %312
  %320 = landingpad { ptr, i32 }
          cleanup
  %321 = extractvalue { ptr, i32 } %320, 0
  store ptr %321, ptr %4, align 8
  %322 = extractvalue { ptr, i32 } %320, 1
  store i32 %322, ptr %5, align 4
  br label %338

323:                                              ; preds = %316
  %324 = landingpad { ptr, i32 }
          cleanup
  %325 = extractvalue { ptr, i32 } %324, 0
  store ptr %325, ptr %4, align 8
  %326 = extractvalue { ptr, i32 } %324, 1
  store i32 %326, ptr %5, align 4
  br label %331

327:                                              ; preds = %317
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %4, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %5, align 4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %56) #6
  br label %331

331:                                              ; preds = %327, %323
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %55) #6
  br label %338

332:                                              ; preds = %318, %186
  %333 = load i64, ptr %49, align 8, !tbaa !22
  %334 = add i64 %333, 1
  store i64 %334, ptr %49, align 8, !tbaa !22
  %335 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %336 = load i64, ptr %49, align 8, !tbaa !22
  %337 = urem i64 %336, %335
  store i64 %337, ptr %49, align 8, !tbaa !22
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #6
  br label %172, !llvm.loop !24

338:                                              ; preds = %331, %319
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #6
  br label %339

339:                                              ; preds = %338, %308, %304
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #6
  br label %340

340:                                              ; preds = %339, %300
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #6
  br label %351

341:                                              ; preds = %172
  %342 = load i64, ptr %48, align 8, !tbaa !22
  %343 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %342)
          to label %344 unwind label %347

344:                                              ; preds = %341
  %345 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  invoke void @_ZN13serialization15serializeToFileEPKcRKNS_13ISerializableE(ptr noundef %345, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %346 unwind label %347

346:                                              ; preds = %344
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #6
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #6
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #6
  call void @_ZN13NeuralNetwork20MultiLayerPerceptronD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %11) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %11) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %1) #6
  ret void

347:                                              ; preds = %344, %341
  %348 = landingpad { ptr, i32 }
          cleanup
  %349 = extractvalue { ptr, i32 } %348, 0
  store ptr %349, ptr %4, align 8
  %350 = extractvalue { ptr, i32 } %348, 1
  store i32 %350, ptr %5, align 4
  br label %351

351:                                              ; preds = %347, %340
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #6
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #6
  br label %352

352:                                              ; preds = %351, %299
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #6
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  br label %353

353:                                              ; preds = %352, %258
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #6
  br label %354

354:                                              ; preds = %353, %214
  call void @_ZN13NeuralNetwork20MultiLayerPerceptronD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %11) #6
  br label %355

355:                                              ; preds = %354, %210
  call void @llvm.lifetime.end.p0(i64 64, ptr %11) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  br label %356

356:                                              ; preds = %355, %206
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #6
  br label %357

357:                                              ; preds = %356, %202, %198
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  br label %358

358:                                              ; preds = %357, %197
  call void @llvm.lifetime.end.p0(i64 32, ptr %1) #6
  br label %359

359:                                              ; preds = %358
  %360 = load ptr, ptr %4, align 8
  %361 = load i32, ptr %5, align 4
  %362 = insertvalue { ptr, i32 } poison, ptr %360, 0
  %363 = insertvalue { ptr, i32 } %362, i32 %361, 1
  resume { ptr, i32 } %363
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "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 = { 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 #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"double", !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, !13, i64 0}
!12 = !{!"_ZTSSt16initializer_listIiE", !13, i64 0, !14, i64 8}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!12, !14, i64 8}
!16 = !{!17, !13, i64 0}
!17 = !{!"_ZTSSt16initializer_listIdE", !13, i64 0, !14, i64 8}
!18 = !{!17, !14, i64 8}
!19 = !{!20, !13, i64 0}
!20 = !{!"_ZTSSt16initializer_listISt6vectorIdSaIdEEE", !13, i64 0, !14, i64 8}
!21 = !{!20, !14, i64 8}
!22 = !{!14, !14, i64 0}
!23 = !{!13, !13, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}


; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.0" = type { i8 }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = 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.5" = type { i8 }
%"class.NeuralNetwork::MultiLayerPerceptron" = type { %"class.serialization::ISerializable", %"class.std::vector.8", %"class.std::vector.13", ptr }
%"class.serialization::ISerializable" = type { ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<std::unique_ptr<NeuralNetwork::Layer>, std::allocator<std::unique_ptr<NeuralNetwork::Layer>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<NeuralNetwork::Layer>, std::allocator<std::unique_ptr<NeuralNetwork::Layer>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<NeuralNetwork::Layer>, std::allocator<std::unique_ptr<NeuralNetwork::Layer>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<NeuralNetwork::Layer>, std::allocator<std::unique_ptr<NeuralNetwork::Layer>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::allocator.15" = type { i8 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [51 x i8], align 1
@__FUNCTION__._Z22TEST_MLP_XOR_2_3_3_3_1v = external hidden unnamed_addr constant [23 x i8], align 1

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

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

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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN13NeuralNetwork10activation12setThresholdEOKd(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

declare void @_ZN11RandomUtils14initRandomSeedEv() local_unnamed_addr #4

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

declare void @_ZN13NeuralNetwork20MultiLayerPerceptronC1EiRKSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(64), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4

declare void @_ZN13NeuralNetwork20MultiLayerPerceptron21setActivationFunctionEPFvRSt6vectorIdSaIdEEE(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef) local_unnamed_addr #4

declare void @_ZN13NeuralNetwork10activation9thresholdERSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(24)) #4

declare void @_ZNK13NeuralNetwork20MultiLayerPerceptron16randomizeWeightsERS0_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #4

declare void @_ZN13serialization19loadWeightsFromFileEPKcRNS_13ISerializableE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

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

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

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

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

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

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

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

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

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

declare void @_ZN13NeuralNetwork20MultiLayerPerceptron11feedforwardESt6vectorIdSaIdEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef) local_unnamed_addr #4

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

declare void @_ZN13NeuralNetwork20MultiLayerPerceptron13backpropagateESt6vectorIdSaIdEES3_d(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef, ptr noundef, double noundef) local_unnamed_addr #4

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

declare void @_ZN13serialization15serializeToFileEPKcRKNS_13ISerializableE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN13NeuralNetwork20MultiLayerPerceptronD2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #6 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 uwtable
define dso_local void @_Z22TEST_MLP_XOR_2_3_3_3_1v() local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::__cxx11::basic_string", align 8
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca %"class.std::allocator.0", align 1
  %4 = alloca double, align 8
  %5 = alloca %"class.std::vector.3", align 8
  %6 = alloca [4 x i32], align 16
  %7 = alloca %"class.std::allocator.5", align 1
  %8 = alloca %"class.NeuralNetwork::MultiLayerPerceptron", align 8
  %9 = alloca %"class.std::vector.13", align 8
  %10 = alloca [4 x %"class.std::vector"], align 8
  %11 = alloca [2 x double], align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca [2 x double], align 16
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca [2 x double], align 16
  %16 = alloca %"class.std::allocator", align 1
  %17 = alloca [2 x double], align 16
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca %"class.std::allocator.15", align 1
  %20 = alloca %"class.std::vector.13", align 8
  %21 = alloca [4 x %"class.std::vector"], align 8
  %22 = alloca [1 x double], align 8
  %23 = alloca %"class.std::allocator", align 1
  %24 = alloca [1 x double], align 8
  %25 = alloca %"class.std::allocator", align 1
  %26 = alloca [1 x double], align 8
  %27 = alloca %"class.std::allocator", align 1
  %28 = alloca [1 x double], align 8
  %29 = alloca %"class.std::allocator", align 1
  %30 = alloca %"class.std::allocator.15", align 1
  %31 = alloca %"class.std::vector", align 8
  %32 = alloca %"class.std::vector", align 8
  %33 = alloca %"class.std::vector", align 8
  %34 = alloca %"class.std::vector", align 8
  %35 = alloca %"class.std::vector", align 8
  %36 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @__FUNCTION__._Z22TEST_MLP_XOR_2_3_3_3_1v)
  %37 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull @.str)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull @__FUNCTION__._Z22TEST_MLP_XOR_2_3_3_3_1v, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %38 unwind label %79

38:                                               ; preds = %0
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %1, ptr noundef nonnull @.str.1, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %39 unwind label %81

39:                                               ; preds = %38
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  store double 0x3FE6666666666666, ptr %4, align 8, !tbaa !5
  invoke void @_ZN13NeuralNetwork10activation12setThresholdEOKd(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %40 unwind label %84

40:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  invoke void @_ZN11RandomUtils14initRandomSeedEv()
          to label %41 unwind label %86

41:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #8
  store <4 x i32> <i32 3, i32 3, i32 3, i32 1>, ptr %6, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #8
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr nonnull %6, i64 4, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %42 unwind label %88

42:                                               ; preds = %41
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #8
  invoke void @_ZN13NeuralNetwork20MultiLayerPerceptronC1EiRKSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(64) %8, i32 noundef 2, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %43 unwind label %90

43:                                               ; preds = %42
  invoke void @_ZN13NeuralNetwork20MultiLayerPerceptron21setActivationFunctionEPFvRSt6vectorIdSaIdEEE(ptr noundef nonnull align 8 dereferenceable(64) %8, ptr noundef nonnull @_ZN13NeuralNetwork10activation9thresholdERSt6vectorIdSaIdEE)
          to label %44 unwind label %92

44:                                               ; preds = %43
  invoke void @_ZNK13NeuralNetwork20MultiLayerPerceptron16randomizeWeightsERS0_(ptr noundef nonnull align 8 dereferenceable(64) %8, ptr noundef nonnull align 8 dereferenceable(64) %8)
          to label %45 unwind label %92

45:                                               ; preds = %44
  %46 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #8
  invoke void @_ZN13serialization19loadWeightsFromFileEPKcRNS_13ISerializableE(ptr noundef %46, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %47 unwind label %92

47:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %11, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr nonnull %11, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %48 unwind label %.thread

48:                                               ; preds = %47
  %49 = getelementptr inbounds i8, ptr %10, i64 24
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #8
  store <2 x double> <double 0.000000e+00, double 1.000000e+00>, ptr %13, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %49, ptr nonnull %13, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %50 unwind label %95

50:                                               ; preds = %48
  %51 = getelementptr inbounds i8, ptr %10, i64 48
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #8
  store <2 x double> <double 1.000000e+00, double 0.000000e+00>, ptr %15, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr nonnull %15, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %52 unwind label %97

52:                                               ; preds = %50
  %53 = getelementptr inbounds i8, ptr %10, i64 72
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #8
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %17, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %53, ptr nonnull %17, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %54 unwind label %99

54:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #8
  call void @_ZNSaISt6vectorIdSaIdEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr nonnull %10, i64 4, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %55 unwind label %.loopexit119.loopexit

55:                                               ; preds = %54
  call void @_ZNSt15__new_allocatorISt6vectorIdSaIdEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #8
  %56 = getelementptr inbounds i8, ptr %10, i64 72
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %56) #8
  %57 = getelementptr inbounds i8, ptr %10, i64 48
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %57) #8
  %58 = getelementptr inbounds i8, ptr %10, i64 24
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %58) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #8
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #8
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #8
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #8
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %21) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #8
  store double 0.000000e+00, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr nonnull %22, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %59 unwind label %.thread110

59:                                               ; preds = %55
  %60 = getelementptr inbounds i8, ptr %21, i64 24
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #8
  store double 1.000000e+00, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %25) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %60, ptr nonnull %24, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %61 unwind label %112

61:                                               ; preds = %59
  %62 = getelementptr inbounds i8, ptr %21, i64 48
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #8
  store double 1.000000e+00, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %27) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %62, ptr nonnull %26, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %63 unwind label %114

63:                                               ; preds = %61
  %64 = getelementptr inbounds i8, ptr %21, i64 72
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #8
  store double 0.000000e+00, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %64, ptr nonnull %28, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %65 unwind label %116

65:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %30) #8
  call void @_ZNSaISt6vectorIdSaIdEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #8
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr nonnull %21, i64 4, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %66 unwind label %.loopexit116.loopexit

66:                                               ; preds = %65
  call void @_ZNSt15__new_allocatorISt6vectorIdSaIdEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #8
  %67 = getelementptr inbounds i8, ptr %21, i64 72
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %67) #8
  %68 = getelementptr inbounds i8, ptr %21, i64 48
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %68) #8
  %69 = getelementptr inbounds i8, ptr %21, i64 24
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %69) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #8
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #8
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %21) #8
  %70 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  %.not = icmp eq i64 %70, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %66, %146
  %.039128 = phi i64 [ %.140, %146 ], [ 0, %66 ]
  %.041127 = phi i64 [ %149, %146 ], [ 0, %66 ]
  %.042126 = phi i64 [ %.143, %146 ], [ 0, %66 ]
  %71 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.041127) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %31) #8
  %72 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %.041127) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(24) %72)
          to label %73 unwind label %128

73:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %32) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(24) %71)
          to label %74 unwind label %130

74:                                               ; preds = %73
  invoke void @_ZN13NeuralNetwork20MultiLayerPerceptron11feedforwardESt6vectorIdSaIdEE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %32, ptr noundef nonnull align 8 dereferenceable(64) %8, ptr noundef nonnull %33)
          to label %75 unwind label %132

75:                                               ; preds = %74
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  %76 = call noundef zeroext i1 @_Z6equalsRKSt6vectorIdSaIdEES3_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %31)
  br i1 %76, label %77, label %134

77:                                               ; preds = %75
  %78 = add nuw i64 %.039128, 1
  br label %146

79:                                               ; preds = %0
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %83

81:                                               ; preds = %38
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #8
  br label %83

83:                                               ; preds = %81, %79
  %.pn = phi { ptr, i32 } [ %82, %81 ], [ %80, %79 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #8
  br label %167

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

86:                                               ; preds = %40
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %166

88:                                               ; preds = %41
  %89 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  br label %165

90:                                               ; preds = %42
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %164

92:                                               ; preds = %45, %44, %43
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %163

.thread:                                          ; preds = %47
  %94 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  br label %.loopexit118

95:                                               ; preds = %48
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %107

97:                                               ; preds = %50
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %106

99:                                               ; preds = %52
  %100 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit119

.loopexit119.loopexit:                            ; preds = %54
  %101 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIdSaIdEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #8
  %102 = getelementptr inbounds i8, ptr %10, i64 72
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %102) #8
  %103 = getelementptr inbounds i8, ptr %10, i64 48
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %103) #8
  %104 = getelementptr inbounds i8, ptr %10, i64 24
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %104) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  br label %.loopexit119

.loopexit119:                                     ; preds = %.loopexit119.loopexit, %99
  %105 = phi i1 [ false, %99 ], [ true, %.loopexit119.loopexit ]
  %.pn82 = phi { ptr, i32 } [ %100, %99 ], [ %101, %.loopexit119.loopexit ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #8
  br label %106

106:                                              ; preds = %.loopexit119, %97
  %.173 = phi i1 [ %105, %.loopexit119 ], [ false, %97 ]
  %.069 = phi ptr [ %53, %.loopexit119 ], [ %51, %97 ]
  %.pn82.pn = phi { ptr, i32 } [ %.pn82, %.loopexit119 ], [ %98, %97 ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #8
  br label %107

107:                                              ; preds = %95, %106
  %.274 = phi i1 [ %.173, %106 ], [ false, %95 ]
  %.170 = phi ptr [ %.069, %106 ], [ %49, %95 ]
  %.pn82.pn.pn = phi { ptr, i32 } [ %.pn82.pn, %106 ], [ %96, %95 ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #8
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  br i1 %.274, label %.loopexit118, label %.preheader117

.preheader117:                                    ; preds = %107, %.preheader117
  %108 = phi ptr [ %109, %.preheader117 ], [ %.170, %107 ]
  %109 = getelementptr inbounds i8, ptr %108, i64 -24
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %109) #8
  %110 = icmp eq ptr %109, %10
  br i1 %110, label %.loopexit118, label %.preheader117

.loopexit118:                                     ; preds = %.preheader117, %.thread, %107
  %.pn82.pn.pn.pn109 = phi { ptr, i32 } [ %94, %.thread ], [ %.pn82.pn.pn, %107 ], [ %.pn82.pn.pn, %.preheader117 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %10) #8
  br label %162

.thread110:                                       ; preds = %55
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  br label %.loopexit

112:                                              ; preds = %59
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %124

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

116:                                              ; preds = %63
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit116

.loopexit116.loopexit:                            ; preds = %65
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIdSaIdEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #8
  %119 = getelementptr inbounds i8, ptr %21, i64 72
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %119) #8
  %120 = getelementptr inbounds i8, ptr %21, i64 48
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %120) #8
  %121 = getelementptr inbounds i8, ptr %21, i64 24
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %121) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  br label %.loopexit116

.loopexit116:                                     ; preds = %.loopexit116.loopexit, %116
  %.pn87 = phi { ptr, i32 } [ %117, %116 ], [ %118, %.loopexit116.loopexit ]
  %122 = phi i1 [ false, %116 ], [ true, %.loopexit116.loopexit ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #8
  br label %123

123:                                              ; preds = %.loopexit116, %114
  %.076 = phi ptr [ %64, %.loopexit116 ], [ %62, %114 ]
  %.pn87.pn = phi { ptr, i32 } [ %.pn87, %.loopexit116 ], [ %115, %114 ]
  %.145 = phi i1 [ %122, %.loopexit116 ], [ false, %114 ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  br label %124

124:                                              ; preds = %112, %123
  %.177 = phi ptr [ %.076, %123 ], [ %60, %112 ]
  %.pn87.pn.pn = phi { ptr, i32 } [ %.pn87.pn, %123 ], [ %113, %112 ]
  %.246 = phi i1 [ %.145, %123 ], [ false, %112 ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #8
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  br i1 %.246, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %124, %.preheader
  %125 = phi ptr [ %126, %.preheader ], [ %.177, %124 ]
  %126 = getelementptr inbounds i8, ptr %125, i64 -24
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %126) #8
  %127 = icmp eq ptr %126, %21
  br i1 %127, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %.thread110, %124
  %.pn87.pn.pn.pn115 = phi { ptr, i32 } [ %111, %.thread110 ], [ %.pn87.pn.pn, %124 ], [ %.pn87.pn.pn, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %21) #8
  br label %161

128:                                              ; preds = %.lr.ph
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %154

130:                                              ; preds = %73
  %131 = landingpad { ptr, i32 }
          cleanup
  br label %153

132:                                              ; preds = %74
  %133 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  br label %153

134:                                              ; preds = %75
  %135 = add nsw i64 %.042126, 1
  invoke void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 8 dereferenceable(24) %71)
          to label %136 unwind label %139

136:                                              ; preds = %134
  invoke void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(24) %31)
          to label %137 unwind label %141

137:                                              ; preds = %136
  invoke void @_ZN13NeuralNetwork20MultiLayerPerceptron13backpropagateESt6vectorIdSaIdEES3_d(ptr noundef nonnull align 8 dereferenceable(64) %8, ptr noundef nonnull %34, ptr noundef nonnull %35, double noundef 1.000000e-02)
          to label %138 unwind label %143

138:                                              ; preds = %137
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #8
  br label %146

139:                                              ; preds = %134
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %152

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

143:                                              ; preds = %137
  %144 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #8
  br label %145

145:                                              ; preds = %143, %141
  %.pn92 = phi { ptr, i32 } [ %144, %143 ], [ %142, %141 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #8
  br label %152

146:                                              ; preds = %138, %77
  %.143 = phi i64 [ %.042126, %77 ], [ %135, %138 ]
  %.140 = phi i64 [ %78, %77 ], [ 0, %138 ]
  %147 = add i64 %.041127, 1
  %148 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  %149 = urem i64 %147, %148
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %32) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #8
  %150 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  %151 = icmp ult i64 %.140, %150
  br i1 %151, label %.lr.ph, label %._crit_edge, !llvm.loop !11

152:                                              ; preds = %145, %139
  %.pn92.pn = phi { ptr, i32 } [ %.pn92, %145 ], [ %140, %139 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  br label %153

153:                                              ; preds = %152, %132, %130
  %.pn92.pn.pn = phi { ptr, i32 } [ %.pn92.pn, %152 ], [ %133, %132 ], [ %131, %130 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %32) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  br label %154

154:                                              ; preds = %153, %128
  %.pn92.pn.pn.pn = phi { ptr, i32 } [ %.pn92.pn.pn, %153 ], [ %129, %128 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #8
  br label %160

._crit_edge:                                      ; preds = %146, %66
  %.042.lcssa = phi i64 [ 0, %66 ], [ %.143, %146 ]
  %155 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef %.042.lcssa)
  %156 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #8
  invoke void @_ZN13serialization15serializeToFileEPKcRKNS_13ISerializableE(ptr noundef %156, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %157 unwind label %158

157:                                              ; preds = %._crit_edge
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #8
  call void @_ZN13NeuralNetwork20MultiLayerPerceptronD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %8) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #8
  ret void

158:                                              ; preds = %._crit_edge
  %159 = landingpad { ptr, i32 }
          cleanup
  br label %160

160:                                              ; preds = %158, %154
  %.pn92.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn92.pn.pn.pn, %154 ], [ %159, %158 ]
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  br label %161

161:                                              ; preds = %160, %.loopexit
  %.pn92.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn92.pn.pn.pn.pn, %160 ], [ %.pn87.pn.pn.pn115, %.loopexit ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  br label %162

162:                                              ; preds = %161, %.loopexit118
  %.pn92.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn92.pn.pn.pn.pn.pn, %161 ], [ %.pn82.pn.pn.pn109, %.loopexit118 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #8
  br label %163

163:                                              ; preds = %162, %92
  %.pn92.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn92.pn.pn.pn.pn.pn.pn, %162 ], [ %93, %92 ]
  call void @_ZN13NeuralNetwork20MultiLayerPerceptronD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %8) #8
  br label %164

164:                                              ; preds = %163, %90
  %.pn92.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn92.pn.pn.pn.pn.pn.pn.pn, %163 ], [ %91, %90 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  br label %165

165:                                              ; preds = %164, %88
  %.pn92.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn92.pn.pn.pn.pn.pn.pn.pn.pn, %164 ], [ %89, %88 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  br label %166

166:                                              ; preds = %165, %86, %84
  %.pn92.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn92.pn.pn.pn.pn.pn.pn.pn.pn.pn, %165 ], [ %87, %86 ], [ %85, %84 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #8
  br label %167

167:                                              ; preds = %166, %83
  %.pn92.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn92.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %166 ], [ %.pn, %83 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #8
  resume { ptr, i32 } %.pn92.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass