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

; 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__._Z18TEST_MLP_XOR_2_3_2v = external hidden unnamed_addr constant [19 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 @_Z18TEST_MLP_XOR_2_3_2v() #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 [2 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 [2 x double], align 8
  %36 = alloca %"class.std::allocator", align 1
  %37 = alloca %"class.std::initializer_list.19", align 8
  %38 = alloca [2 x double], align 8
  %39 = alloca %"class.std::allocator", align 1
  %40 = alloca %"class.std::initializer_list.19", align 8
  %41 = alloca [2 x double], align 8
  %42 = alloca %"class.std::allocator", align 1
  %43 = alloca %"class.std::initializer_list.19", align 8
  %44 = alloca [2 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 ptr, 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__._Z18TEST_MLP_XOR_2_3_2v)
  %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__._Z18TEST_MLP_XOR_2_3_2v, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %59 unwind label %191

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 %195

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 %200

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

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

70:                                               ; 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 8, 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 %71 unwind label %212

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

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

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

75:                                               ; preds = %73
  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
  %76 = getelementptr inbounds double, ptr %17, i64 1
  store double 0.000000e+00, ptr %76, align 8, !tbaa !5
  %77 = getelementptr inbounds %"class.std::initializer_list.19", ptr %16, i32 0, i32 0
  store ptr %17, ptr %77, align 8, !tbaa !16
  %78 = getelementptr inbounds %"class.std::initializer_list.19", ptr %16, i32 0, i32 1
  store i64 2, ptr %78, 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
  %79 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 0
  %80 = load ptr, ptr %79, align 8
  %81 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 1
  %82 = load i64, ptr %81, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr %80, i64 %82, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %83 unwind label %220

83:                                               ; preds = %75
  %84 = getelementptr inbounds %"class.std::vector", ptr %14, i64 1
  store ptr %84, 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
  %85 = getelementptr inbounds double, ptr %20, i64 1
  store double 1.000000e+00, ptr %85, align 8, !tbaa !5
  %86 = getelementptr inbounds %"class.std::initializer_list.19", ptr %19, i32 0, i32 0
  store ptr %20, ptr %86, align 8, !tbaa !16
  %87 = getelementptr inbounds %"class.std::initializer_list.19", ptr %19, i32 0, i32 1
  store i64 2, ptr %87, 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
  %88 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 0
  %89 = load ptr, ptr %88, align 8
  %90 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 1
  %91 = load i64, ptr %90, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %84, ptr %89, i64 %91, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %92 unwind label %224

92:                                               ; preds = %83
  %93 = getelementptr inbounds %"class.std::vector", ptr %14, i64 2
  store ptr %93, 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
  %94 = getelementptr inbounds double, ptr %23, i64 1
  store double 0.000000e+00, ptr %94, align 8, !tbaa !5
  %95 = getelementptr inbounds %"class.std::initializer_list.19", ptr %22, i32 0, i32 0
  store ptr %23, ptr %95, align 8, !tbaa !16
  %96 = getelementptr inbounds %"class.std::initializer_list.19", ptr %22, i32 0, i32 1
  store i64 2, ptr %96, 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
  %97 = getelementptr inbounds { ptr, i64 }, ptr %22, i32 0, i32 0
  %98 = load ptr, ptr %97, align 8
  %99 = getelementptr inbounds { ptr, i64 }, ptr %22, i32 0, i32 1
  %100 = load i64, ptr %99, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %93, ptr %98, i64 %100, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %101 unwind label %228

101:                                              ; preds = %92
  %102 = getelementptr inbounds %"class.std::vector", ptr %14, i64 3
  store ptr %102, 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
  %103 = getelementptr inbounds double, ptr %26, i64 1
  store double 1.000000e+00, ptr %103, align 8, !tbaa !5
  %104 = getelementptr inbounds %"class.std::initializer_list.19", ptr %25, i32 0, i32 0
  store ptr %26, ptr %104, align 8, !tbaa !16
  %105 = getelementptr inbounds %"class.std::initializer_list.19", ptr %25, i32 0, i32 1
  store i64 2, ptr %105, 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
  %106 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 0
  %107 = load ptr, ptr %106, align 8
  %108 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 1
  %109 = load i64, ptr %108, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %102, ptr %107, i64 %109, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %110 unwind label %232

110:                                              ; preds = %101
  store i1 false, ptr %28, align 1
  %111 = getelementptr inbounds %"class.std::initializer_list.18", ptr %13, i32 0, i32 0
  store ptr %14, ptr %111, align 8, !tbaa !19
  %112 = getelementptr inbounds %"class.std::initializer_list.18", ptr %13, i32 0, i32 1
  store i64 4, ptr %112, 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
  %113 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 0
  %114 = load ptr, ptr %113, align 8
  %115 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 1
  %116 = load i64, ptr %115, align 8
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr %114, i64 %116, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %117 unwind label %236

117:                                              ; preds = %110
  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
  %118 = getelementptr inbounds [4 x %"class.std::vector"], ptr %14, i32 0, i32 0
  %119 = getelementptr inbounds %"class.std::vector", ptr %118, i64 4
  br label %120

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

124:                                              ; preds = %120
  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 16, ptr %35) #6
  store double 1.000000e+00, ptr %35, align 8, !tbaa !5
  %125 = getelementptr inbounds double, ptr %35, i64 1
  store double 0.000000e+00, ptr %125, align 8, !tbaa !5
  %126 = getelementptr inbounds %"class.std::initializer_list.19", ptr %34, i32 0, i32 0
  store ptr %35, ptr %126, align 8, !tbaa !16
  %127 = getelementptr inbounds %"class.std::initializer_list.19", ptr %34, i32 0, i32 1
  store i64 2, ptr %127, 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
  %128 = getelementptr inbounds { ptr, i64 }, ptr %34, i32 0, i32 0
  %129 = load ptr, ptr %128, align 8
  %130 = getelementptr inbounds { ptr, i64 }, ptr %34, i32 0, i32 1
  %131 = load i64, ptr %130, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr %129, i64 %131, ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %132 unwind label %261

132:                                              ; preds = %124
  %133 = getelementptr inbounds %"class.std::vector", ptr %32, i64 1
  store ptr %133, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #6
  store double 0.000000e+00, ptr %38, align 8, !tbaa !5
  %134 = getelementptr inbounds double, ptr %38, i64 1
  store double 1.000000e+00, ptr %134, 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 2, 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) %133, ptr %138, i64 %140, ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %141 unwind label %265

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

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

159:                                              ; preds = %150
  store i1 false, ptr %46, align 1
  %160 = getelementptr inbounds %"class.std::initializer_list.18", ptr %31, i32 0, i32 0
  store ptr %32, ptr %160, align 8, !tbaa !19
  %161 = getelementptr inbounds %"class.std::initializer_list.18", ptr %31, i32 0, i32 1
  store i64 4, ptr %161, 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
  %162 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 0
  %163 = load ptr, ptr %162, align 8
  %164 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 1
  %165 = load i64, ptr %164, align 8
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr %163, i64 %165, ptr noundef nonnull align 1 dereferenceable(1) %47)
          to label %166 unwind label %277

166:                                              ; preds = %159
  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
  %167 = getelementptr inbounds [4 x %"class.std::vector"], ptr %32, i32 0, i32 0
  %168 = getelementptr inbounds %"class.std::vector", ptr %167, i64 4
  br label %169

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

173:                                              ; preds = %169
  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 16, 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 16, 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 16, 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 16, 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 %174

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

178:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #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) %12, i64 noundef %179) #6
  store ptr %180, ptr %51, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #6
  %181 = load i64, ptr %49, align 8, !tbaa !22
  %182 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %181) #6
  store ptr %182, ptr %52, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 24, ptr %53) #6
  %183 = 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) %183)
          to label %184 unwind label %302

184:                                              ; preds = %178
  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 %185 unwind label %306

185:                                              ; preds = %184
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #6
  %186 = load ptr, ptr %52, align 8, !tbaa !23
  %187 = call noundef zeroext i1 @_Z6equalsRKSt6vectorIdSaIdEES3_(ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 8 dereferenceable(24) %186)
  br i1 %187, label %188, label %310

188:                                              ; preds = %185
  %189 = load i64, ptr %50, align 8, !tbaa !22
  %190 = add i64 %189, 1
  store i64 %190, ptr %50, align 8, !tbaa !22
  br label %331

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

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

199:                                              ; preds = %195, %191
  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 %356

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

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

208:                                              ; preds = %62
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %4, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, 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 8, ptr %9) #6
  br label %354

212:                                              ; preds = %70
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %4, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %5, align 4
  br label %353

216:                                              ; preds = %73, %72, %71
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %4, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %5, align 4
  br label %352

220:                                              ; preds = %75
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %4, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %5, align 4
  br label %250

224:                                              ; preds = %83
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %4, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %5, align 4
  br label %249

228:                                              ; preds = %92
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %4, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %5, align 4
  br label %248

232:                                              ; preds = %101
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %4, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %5, align 4
  br label %247

236:                                              ; preds = %110
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %4, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, 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
  %240 = getelementptr inbounds [4 x %"class.std::vector"], ptr %14, i32 0, i32 0
  %241 = getelementptr inbounds %"class.std::vector", ptr %240, i64 4
  br label %242

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

246:                                              ; preds = %242
  br label %247

247:                                              ; preds = %246, %232
  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 %248

248:                                              ; preds = %247, %228
  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 %249

249:                                              ; preds = %248, %224
  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 %250

250:                                              ; preds = %249, %220
  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
  %251 = load i1, ptr %28, align 1
  br i1 %251, label %252, label %260

252:                                              ; preds = %250
  %253 = load ptr, ptr %15, align 8
  %254 = icmp eq ptr %14, %253
  br i1 %254, label %259, label %255

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

259:                                              ; preds = %255, %252
  br label %260

260:                                              ; preds = %259, %250
  call void @llvm.lifetime.end.p0(i64 96, ptr %14) #6
  br label %351

261:                                              ; preds = %124
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %4, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %5, align 4
  br label %291

265:                                              ; preds = %132
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %4, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %5, align 4
  br label %290

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

273:                                              ; preds = %150
  %274 = landingpad { ptr, i32 }
          cleanup
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %4, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %5, align 4
  br label %288

277:                                              ; preds = %159
  %278 = landingpad { ptr, i32 }
          cleanup
  %279 = extractvalue { ptr, i32 } %278, 0
  store ptr %279, ptr %4, align 8
  %280 = extractvalue { ptr, i32 } %278, 1
  store i32 %280, 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
  %281 = getelementptr inbounds [4 x %"class.std::vector"], ptr %32, i32 0, i32 0
  %282 = getelementptr inbounds %"class.std::vector", ptr %281, i64 4
  br label %283

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

287:                                              ; preds = %283
  br label %288

288:                                              ; preds = %287, %273
  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 16, ptr %44) #6
  br label %289

289:                                              ; preds = %288, %269
  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 16, ptr %41) #6
  br label %290

290:                                              ; preds = %289, %265
  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 16, ptr %38) #6
  br label %291

291:                                              ; preds = %290, %261
  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 16, ptr %35) #6
  %292 = load i1, ptr %46, align 1
  br i1 %292, label %293, label %301

293:                                              ; preds = %291
  %294 = load ptr, ptr %33, align 8
  %295 = icmp eq ptr %32, %294
  br i1 %295, label %300, label %296

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

300:                                              ; preds = %296, %293
  br label %301

301:                                              ; preds = %300, %291
  call void @llvm.lifetime.end.p0(i64 96, ptr %32) #6
  br label %350

302:                                              ; preds = %178
  %303 = landingpad { ptr, i32 }
          cleanup
  %304 = extractvalue { ptr, i32 } %303, 0
  store ptr %304, ptr %4, align 8
  %305 = extractvalue { ptr, i32 } %303, 1
  store i32 %305, ptr %5, align 4
  br label %338

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

310:                                              ; preds = %185
  %311 = load i64, ptr %48, align 8, !tbaa !22
  %312 = add nsw i64 %311, 1
  store i64 %312, ptr %48, align 8, !tbaa !22
  %313 = 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) %313)
          to label %314 unwind label %318

314:                                              ; preds = %310
  %315 = load ptr, ptr %52, align 8, !tbaa !23
  invoke void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %56, ptr noundef nonnull align 8 dereferenceable(24) %315)
          to label %316 unwind label %322

316:                                              ; preds = %314
  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 %317 unwind label %326

317:                                              ; preds = %316
  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 %331

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

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

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

330:                                              ; preds = %326, %322
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %55) #6
  br label %337

331:                                              ; preds = %317, %188
  %332 = load i64, ptr %49, align 8, !tbaa !22
  %333 = add i64 %332, 1
  store i64 %333, ptr %49, align 8, !tbaa !22
  %334 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %335 = load i64, ptr %49, align 8, !tbaa !22
  %336 = urem i64 %335, %334
  store i64 %336, 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 @llvm.lifetime.end.p0(i64 8, ptr %52) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #6
  br label %174, !llvm.loop !24

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

338:                                              ; preds = %337, %306, %302
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #6
  br label %349

339:                                              ; preds = %174
  %340 = load i64, ptr %48, align 8, !tbaa !22
  %341 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %340)
          to label %342 unwind label %345

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

344:                                              ; preds = %342
  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

345:                                              ; preds = %342, %339
  %346 = landingpad { ptr, i32 }
          cleanup
  %347 = extractvalue { ptr, i32 } %346, 0
  store ptr %347, ptr %4, align 8
  %348 = extractvalue { ptr, i32 } %346, 1
  store i32 %348, ptr %5, align 4
  br label %349

349:                                              ; preds = %345, %338
  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 %350

350:                                              ; preds = %349, %301
  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 %351

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

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

353:                                              ; preds = %352, %212
  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 %354

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

355:                                              ; preds = %354, %204, %200
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  br label %356

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

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

; 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__._Z18TEST_MLP_XOR_2_3_2v = external hidden unnamed_addr constant [19 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 @_Z18TEST_MLP_XOR_2_3_2v() 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 [2 x i32], align 4
  %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 [2 x double], align 16
  %23 = alloca %"class.std::allocator", align 1
  %24 = alloca [2 x double], align 16
  %25 = alloca %"class.std::allocator", align 1
  %26 = alloca [2 x double], align 16
  %27 = alloca %"class.std::allocator", align 1
  %28 = alloca [2 x double], align 16
  %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 = 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__._Z18TEST_MLP_XOR_2_3_2v)
  %36 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %35, 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__._Z18TEST_MLP_XOR_2_3_2v, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %37 unwind label %78

37:                                               ; 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 %38 unwind label %80

38:                                               ; preds = %37
  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 %39 unwind label %83

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

40:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  store i32 3, ptr %6, align 4, !tbaa !9
  %41 = getelementptr inbounds i8, ptr %6, i64 4
  store i32 2, ptr %41, align 4, !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 2, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %42 unwind label %87

42:                                               ; preds = %40
  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 8, 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 %89

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

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 %91

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 %91

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 %94

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 %96

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 %98

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 16, ptr nonnull %22) #8
  store <2 x double> <double 1.000000e+00, double 0.000000e+00>, ptr %22, align 16, !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 2, 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 16, ptr nonnull %24) #8
  store <2 x double> <double 0.000000e+00, double 1.000000e+00>, ptr %24, align 16, !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 2, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %61 unwind label %111

61:                                               ; preds = %59
  %62 = getelementptr inbounds i8, ptr %21, i64 48
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #8
  store <2 x double> <double 0.000000e+00, double 1.000000e+00>, ptr %26, align 16, !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 2, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %63 unwind label %113

63:                                               ; preds = %61
  %64 = getelementptr inbounds i8, ptr %21, i64 72
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #8
  store <2 x double> <double 1.000000e+00, double 0.000000e+00>, ptr %28, align 16, !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 2, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %65 unwind label %115

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 16, 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 16, 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 16, 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 16, 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, %143
  %.061127 = phi i64 [ %.162, %143 ], [ 0, %66 ]
  %.063126 = phi i64 [ %146, %143 ], [ 0, %66 ]
  %.064125 = phi i64 [ %.165, %143 ], [ 0, %66 ]
  %71 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.063126) #8
  %72 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %.063126) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %31) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %71)
          to label %73 unwind label %127

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

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

76:                                               ; preds = %74
  %77 = add nuw i64 %.061127, 1
  br label %143

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

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

82:                                               ; preds = %80, %78
  %.pn = phi { ptr, i32 } [ %81, %80 ], [ %79, %78 ]
  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 %163

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

85:                                               ; preds = %39
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %162

87:                                               ; preds = %40
  %88 = 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 8, ptr nonnull %6) #8
  br label %161

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

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

.thread:                                          ; preds = %47
  %93 = 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

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

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

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

.loopexit119.loopexit:                            ; preds = %54
  %100 = 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
  %101 = getelementptr inbounds i8, ptr %10, i64 72
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %101) #8
  %102 = getelementptr inbounds i8, ptr %10, i64 48
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %102) #8
  %103 = getelementptr inbounds i8, ptr %10, i64 24
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %103) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  br label %.loopexit119

.loopexit119:                                     ; preds = %.loopexit119.loopexit, %98
  %104 = phi i1 [ false, %98 ], [ true, %.loopexit119.loopexit ]
  %.pn83 = phi { ptr, i32 } [ %99, %98 ], [ %100, %.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 %105

105:                                              ; preds = %.loopexit119, %96
  %.174 = phi i1 [ %104, %.loopexit119 ], [ false, %96 ]
  %.070 = phi ptr [ %53, %.loopexit119 ], [ %51, %96 ]
  %.pn83.pn = phi { ptr, i32 } [ %.pn83, %.loopexit119 ], [ %97, %96 ]
  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 %106

106:                                              ; preds = %94, %105
  %.275 = phi i1 [ %.174, %105 ], [ false, %94 ]
  %.171 = phi ptr [ %.070, %105 ], [ %49, %94 ]
  %.pn83.pn.pn = phi { ptr, i32 } [ %.pn83.pn, %105 ], [ %95, %94 ]
  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 %.275, label %.loopexit118, label %.preheader117

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

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

.thread110:                                       ; preds = %55
  %110 = 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 16, ptr nonnull %22) #8
  br label %.loopexit

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

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

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

.loopexit116.loopexit:                            ; preds = %65
  %117 = 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
  %118 = getelementptr inbounds i8, ptr %21, i64 72
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %118) #8
  %119 = getelementptr inbounds i8, ptr %21, i64 48
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %119) #8
  %120 = getelementptr inbounds i8, ptr %21, i64 24
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %120) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  br label %.loopexit116

.loopexit116:                                     ; preds = %.loopexit116.loopexit, %115
  %121 = phi i1 [ false, %115 ], [ true, %.loopexit116.loopexit ]
  %.pn88 = phi { ptr, i32 } [ %116, %115 ], [ %117, %.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 16, ptr nonnull %28) #8
  br label %122

122:                                              ; preds = %.loopexit116, %113
  %.077 = phi ptr [ %64, %.loopexit116 ], [ %62, %113 ]
  %.167 = phi i1 [ %121, %.loopexit116 ], [ false, %113 ]
  %.pn88.pn = phi { ptr, i32 } [ %.pn88, %.loopexit116 ], [ %114, %113 ]
  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 16, ptr nonnull %26) #8
  br label %123

123:                                              ; preds = %111, %122
  %.178 = phi ptr [ %.077, %122 ], [ %60, %111 ]
  %.268 = phi i1 [ %.167, %122 ], [ false, %111 ]
  %.pn88.pn.pn = phi { ptr, i32 } [ %.pn88.pn, %122 ], [ %112, %111 ]
  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 16, 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 16, ptr nonnull %22) #8
  br i1 %.268, label %.loopexit, label %.preheader

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

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

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

129:                                              ; preds = %73
  %130 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  br label %150

131:                                              ; preds = %74
  %132 = add nsw i64 %.064125, 1
  invoke void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(24) %71)
          to label %133 unwind label %136

133:                                              ; preds = %131
  invoke void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 8 dereferenceable(24) %72)
          to label %134 unwind label %138

134:                                              ; preds = %133
  invoke void @_ZN13NeuralNetwork20MultiLayerPerceptron13backpropagateESt6vectorIdSaIdEES3_d(ptr noundef nonnull align 8 dereferenceable(64) %8, ptr noundef nonnull %33, ptr noundef nonnull %34, double noundef 1.000000e-02)
          to label %135 unwind label %140

135:                                              ; preds = %134
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  br label %143

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

138:                                              ; preds = %133
  %139 = landingpad { ptr, i32 }
          cleanup
  br label %142

140:                                              ; preds = %134
  %141 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #8
  br label %142

142:                                              ; preds = %140, %138
  %.pn93 = phi { ptr, i32 } [ %141, %140 ], [ %139, %138 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  br label %149

143:                                              ; preds = %135, %76
  %.165 = phi i64 [ %.064125, %76 ], [ %132, %135 ]
  %.162 = phi i64 [ %77, %76 ], [ 0, %135 ]
  %144 = add i64 %.063126, 1
  %145 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  %146 = urem i64 %144, %145
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #8
  %147 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  %148 = icmp ult i64 %.162, %147
  br i1 %148, label %.lr.ph, label %._crit_edge, !llvm.loop !11

149:                                              ; preds = %142, %136
  %.pn93.pn = phi { ptr, i32 } [ %.pn93, %142 ], [ %137, %136 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  br label %150

150:                                              ; preds = %149, %129, %127
  %.pn93.pn.pn = phi { ptr, i32 } [ %.pn93.pn, %149 ], [ %130, %129 ], [ %128, %127 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #8
  br label %156

._crit_edge:                                      ; preds = %143, %66
  %.064.lcssa = phi i64 [ 0, %66 ], [ %.165, %143 ]
  %151 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef %.064.lcssa)
  %152 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #8
  invoke void @_ZN13serialization15serializeToFileEPKcRKNS_13ISerializableE(ptr noundef %152, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %153 unwind label %154

153:                                              ; 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

154:                                              ; preds = %._crit_edge
  %155 = landingpad { ptr, i32 }
          cleanup
  br label %156

156:                                              ; preds = %154, %150
  %.pn93.pn.pn.pn = phi { ptr, i32 } [ %.pn93.pn.pn, %150 ], [ %155, %154 ]
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  br label %157

157:                                              ; preds = %156, %.loopexit
  %.pn93.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn93.pn.pn.pn, %156 ], [ %.pn88.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 %158

158:                                              ; preds = %157, %.loopexit118
  %.pn93.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn93.pn.pn.pn.pn, %157 ], [ %.pn83.pn.pn.pn109, %.loopexit118 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #8
  br label %159

159:                                              ; preds = %158, %91
  %.pn93.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn93.pn.pn.pn.pn.pn, %158 ], [ %92, %91 ]
  call void @_ZN13NeuralNetwork20MultiLayerPerceptronD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %8) #8
  br label %160

160:                                              ; preds = %159, %89
  %.pn93.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn93.pn.pn.pn.pn.pn.pn, %159 ], [ %90, %89 ]
  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 %161

161:                                              ; preds = %160, %87
  %.pn93.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn93.pn.pn.pn.pn.pn.pn.pn, %160 ], [ %88, %87 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  br label %162

162:                                              ; preds = %161, %85, %83
  %.pn93.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn93.pn.pn.pn.pn.pn.pn.pn.pn, %161 ], [ %86, %85 ], [ %84, %83 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #8
  br label %163

163:                                              ; preds = %162, %82
  %.pn93.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn93.pn.pn.pn.pn.pn.pn.pn.pn.pn, %162 ], [ %.pn, %82 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #8
  resume { ptr, i32 } %.pn93.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