; LLVM IR from SoloGameDevGitHub/AIEngine :: NeuralNetwork/Perceptron/PerceptronMain.ll (Z30Test_Neuron_W1_greater_than_W2v)

; 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::allocator" = type { i8 }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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" = type { ptr, i64 }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = 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::initializer_list.18" = type { ptr, i64 }
%"class.std::allocator.15" = type { i8 }
%"class.std::allocator.10" = type { i8 }

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@__FUNCTION__._Z30Test_Neuron_W1_greater_than_W2v = external hidden unnamed_addr constant [31 x i8], align 1
@constinit = external hidden constant [12 x double], align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.1 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z30Test_Neuron_W1_greater_than_W2v() #0 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", align 1
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::unique_ptr", align 8
  %7 = alloca i32, align 4
  %8 = alloca double, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca %"class.std::initializer_list", align 8
  %12 = alloca [12 x %"class.std::vector.13"], align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.std::initializer_list.18", align 8
  %15 = alloca [2 x double], align 8
  %16 = alloca %"class.std::allocator.15", align 1
  %17 = alloca %"class.std::initializer_list.18", align 8
  %18 = alloca [2 x double], align 8
  %19 = alloca %"class.std::allocator.15", align 1
  %20 = alloca %"class.std::initializer_list.18", align 8
  %21 = alloca [2 x double], align 8
  %22 = alloca %"class.std::allocator.15", align 1
  %23 = alloca %"class.std::initializer_list.18", align 8
  %24 = alloca [2 x double], align 8
  %25 = alloca %"class.std::allocator.15", align 1
  %26 = alloca %"class.std::initializer_list.18", align 8
  %27 = alloca [2 x double], align 8
  %28 = alloca %"class.std::allocator.15", align 1
  %29 = alloca %"class.std::initializer_list.18", align 8
  %30 = alloca [2 x double], align 8
  %31 = alloca %"class.std::allocator.15", align 1
  %32 = alloca %"class.std::initializer_list.18", align 8
  %33 = alloca [2 x double], align 8
  %34 = alloca %"class.std::allocator.15", align 1
  %35 = alloca %"class.std::initializer_list.18", align 8
  %36 = alloca [2 x double], align 8
  %37 = alloca %"class.std::allocator.15", align 1
  %38 = alloca %"class.std::initializer_list.18", align 8
  %39 = alloca [2 x double], align 8
  %40 = alloca %"class.std::allocator.15", align 1
  %41 = alloca %"class.std::initializer_list.18", align 8
  %42 = alloca [2 x double], align 8
  %43 = alloca %"class.std::allocator.15", align 1
  %44 = alloca %"class.std::initializer_list.18", align 8
  %45 = alloca [2 x double], align 8
  %46 = alloca %"class.std::allocator.15", align 1
  %47 = alloca %"class.std::initializer_list.18", align 8
  %48 = alloca [2 x double], align 8
  %49 = alloca %"class.std::allocator.15", align 1
  %50 = alloca i1, align 1
  %51 = alloca %"class.std::allocator.10", align 1
  %52 = alloca %"class.std::vector.13", align 8
  %53 = alloca %"class.std::initializer_list.18", align 8
  %54 = alloca [12 x double], align 8
  %55 = alloca %"class.std::allocator.15", align 1
  %56 = alloca i32, align 4
  %57 = alloca double, align 8
  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__._Z30Test_Neuron_W1_greater_than_W2v, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %58 unwind label %203

58:                                               ; 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, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %59 unwind label %207

59:                                               ; preds = %58
  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
  invoke void @_ZN11RandomUtils14initRandomSeedEv()
          to label %60 unwind label %212

60:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 2, ptr %7, align 4, !tbaa !5
  invoke void @_ZSt11make_uniqueIN13NeuralNetwork10PerceptronEJiEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::unique_ptr") align 8 %6, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %61 unwind label %216

61:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  %62 = call noundef ptr @_ZNKSt10unique_ptrIN13NeuralNetwork10PerceptronESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  invoke void @_ZN13NeuralNetwork10Perceptron21setActivationFunctionEPFdRKdE(ptr noundef nonnull align 8 dereferenceable(24) %62, ptr noundef @_ZN13NeuralNetwork10activation4signERKd)
          to label %63 unwind label %220

63:                                               ; preds = %61
  %64 = call noundef ptr @_ZNKSt10unique_ptrIN13NeuralNetwork10PerceptronESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  invoke void @_ZN13NeuralNetwork10Perceptron16randomizeWeightsEv(ptr noundef nonnull align 8 dereferenceable(24) %64)
          to label %65 unwind label %220

65:                                               ; preds = %63
  %66 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %67 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt10unique_ptrIN13NeuralNetwork10PerceptronESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  invoke void @_ZN13serialization19loadWeightsFromFileEPKcRNS_13ISerializableE(ptr noundef %66, ptr noundef nonnull align 8 dereferenceable(8) %67)
          to label %68 unwind label %220

68:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store double 1.000000e-01, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 288, ptr %12) #6
  store i1 true, ptr %50, align 1
  store ptr %12, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #6
  store double 1.000000e+00, ptr %15, align 8, !tbaa !9
  %69 = getelementptr inbounds double, ptr %15, i64 1
  store double 5.000000e-01, ptr %69, align 8, !tbaa !9
  %70 = getelementptr inbounds %"class.std::initializer_list.18", ptr %14, i32 0, i32 0
  store ptr %15, ptr %70, align 8, !tbaa !11
  %71 = getelementptr inbounds %"class.std::initializer_list.18", ptr %14, i32 0, i32 1
  store i64 2, ptr %71, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  %72 = getelementptr inbounds { ptr, i64 }, ptr %14, i32 0, i32 0
  %73 = load ptr, ptr %72, align 8
  %74 = getelementptr inbounds { ptr, i64 }, ptr %14, i32 0, i32 1
  %75 = load i64, ptr %74, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr %73, i64 %75, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %76 unwind label %224

76:                                               ; preds = %68
  %77 = getelementptr inbounds %"class.std::vector.13", ptr %12, i64 1
  store ptr %77, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #6
  store double 5.000000e-01, ptr %18, align 8, !tbaa !9
  %78 = getelementptr inbounds double, ptr %18, i64 1
  store double 1.000000e+00, ptr %78, align 8, !tbaa !9
  %79 = getelementptr inbounds %"class.std::initializer_list.18", ptr %17, i32 0, i32 0
  store ptr %18, ptr %79, align 8, !tbaa !11
  %80 = getelementptr inbounds %"class.std::initializer_list.18", ptr %17, i32 0, i32 1
  store i64 2, ptr %80, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  %81 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 0
  %82 = load ptr, ptr %81, align 8
  %83 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 1
  %84 = load i64, ptr %83, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %77, ptr %82, i64 %84, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %85 unwind label %228

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

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

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

112:                                              ; preds = %103
  %113 = getelementptr inbounds %"class.std::vector.13", ptr %12, i64 5
  store ptr %113, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #6
  store double -1.000000e+01, ptr %30, align 8, !tbaa !9
  %114 = getelementptr inbounds double, ptr %30, i64 1
  store double 0.000000e+00, ptr %114, align 8, !tbaa !9
  %115 = getelementptr inbounds %"class.std::initializer_list.18", ptr %29, i32 0, i32 0
  store ptr %30, ptr %115, align 8, !tbaa !11
  %116 = getelementptr inbounds %"class.std::initializer_list.18", ptr %29, i32 0, i32 1
  store i64 2, ptr %116, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #6
  %117 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 0
  %118 = load ptr, ptr %117, align 8
  %119 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 1
  %120 = load i64, ptr %119, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %113, ptr %118, i64 %120, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %121 unwind label %244

121:                                              ; preds = %112
  %122 = getelementptr inbounds %"class.std::vector.13", ptr %12, i64 6
  store ptr %122, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #6
  store double 1.000000e+01, ptr %33, align 8, !tbaa !9
  %123 = getelementptr inbounds double, ptr %33, i64 1
  store double -1.000000e+01, ptr %123, align 8, !tbaa !9
  %124 = getelementptr inbounds %"class.std::initializer_list.18", ptr %32, i32 0, i32 0
  store ptr %33, ptr %124, align 8, !tbaa !11
  %125 = getelementptr inbounds %"class.std::initializer_list.18", ptr %32, i32 0, i32 1
  store i64 2, ptr %125, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #6
  %126 = getelementptr inbounds { ptr, i64 }, ptr %32, i32 0, i32 0
  %127 = load ptr, ptr %126, align 8
  %128 = getelementptr inbounds { ptr, i64 }, ptr %32, i32 0, i32 1
  %129 = load i64, ptr %128, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %122, ptr %127, i64 %129, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %130 unwind label %248

130:                                              ; preds = %121
  %131 = getelementptr inbounds %"class.std::vector.13", ptr %12, i64 7
  store ptr %131, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #6
  store double -1.000000e+01, ptr %36, align 8, !tbaa !9
  %132 = getelementptr inbounds double, ptr %36, i64 1
  store double 1.000000e+01, ptr %132, align 8, !tbaa !9
  %133 = getelementptr inbounds %"class.std::initializer_list.18", ptr %35, i32 0, i32 0
  store ptr %36, ptr %133, align 8, !tbaa !11
  %134 = getelementptr inbounds %"class.std::initializer_list.18", ptr %35, i32 0, i32 1
  store i64 2, ptr %134, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #6
  %135 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 0
  %136 = load ptr, ptr %135, align 8
  %137 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 1
  %138 = load i64, ptr %137, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %131, ptr %136, i64 %138, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %139 unwind label %252

139:                                              ; preds = %130
  %140 = getelementptr inbounds %"class.std::vector.13", ptr %12, i64 8
  store ptr %140, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #6
  store double 1.000000e+03, ptr %39, align 8, !tbaa !9
  %141 = getelementptr inbounds double, ptr %39, i64 1
  store double -1.000000e+03, ptr %141, align 8, !tbaa !9
  %142 = getelementptr inbounds %"class.std::initializer_list.18", ptr %38, i32 0, i32 0
  store ptr %39, ptr %142, align 8, !tbaa !11
  %143 = getelementptr inbounds %"class.std::initializer_list.18", ptr %38, i32 0, i32 1
  store i64 2, ptr %143, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #6
  %144 = getelementptr inbounds { ptr, i64 }, ptr %38, i32 0, i32 0
  %145 = load ptr, ptr %144, align 8
  %146 = getelementptr inbounds { ptr, i64 }, ptr %38, i32 0, i32 1
  %147 = load i64, ptr %146, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %140, ptr %145, i64 %147, ptr noundef nonnull align 1 dereferenceable(1) %40)
          to label %148 unwind label %256

148:                                              ; preds = %139
  %149 = getelementptr inbounds %"class.std::vector.13", ptr %12, i64 9
  store ptr %149, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #6
  store double -1.000000e+03, ptr %42, align 8, !tbaa !9
  %150 = getelementptr inbounds double, ptr %42, i64 1
  store double 1.000000e+03, ptr %150, align 8, !tbaa !9
  %151 = getelementptr inbounds %"class.std::initializer_list.18", ptr %41, i32 0, i32 0
  store ptr %42, ptr %151, align 8, !tbaa !11
  %152 = getelementptr inbounds %"class.std::initializer_list.18", ptr %41, i32 0, i32 1
  store i64 2, ptr %152, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #6
  %153 = getelementptr inbounds { ptr, i64 }, ptr %41, i32 0, i32 0
  %154 = load ptr, ptr %153, align 8
  %155 = getelementptr inbounds { ptr, i64 }, ptr %41, i32 0, i32 1
  %156 = load i64, ptr %155, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %149, ptr %154, i64 %156, ptr noundef nonnull align 1 dereferenceable(1) %43)
          to label %157 unwind label %260

157:                                              ; preds = %148
  %158 = getelementptr inbounds %"class.std::vector.13", ptr %12, i64 10
  store ptr %158, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #6
  store double 3.510000e+02, ptr %45, align 8, !tbaa !9
  %159 = getelementptr inbounds double, ptr %45, i64 1
  store double -1.790000e+02, ptr %159, align 8, !tbaa !9
  %160 = getelementptr inbounds %"class.std::initializer_list.18", ptr %44, i32 0, i32 0
  store ptr %45, ptr %160, align 8, !tbaa !11
  %161 = getelementptr inbounds %"class.std::initializer_list.18", ptr %44, i32 0, i32 1
  store i64 2, ptr %161, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %46) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #6
  %162 = getelementptr inbounds { ptr, i64 }, ptr %44, i32 0, i32 0
  %163 = load ptr, ptr %162, align 8
  %164 = getelementptr inbounds { ptr, i64 }, ptr %44, i32 0, i32 1
  %165 = load i64, ptr %164, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %158, ptr %163, i64 %165, ptr noundef nonnull align 1 dereferenceable(1) %46)
          to label %166 unwind label %264

166:                                              ; preds = %157
  %167 = getelementptr inbounds %"class.std::vector.13", ptr %12, i64 11
  store ptr %167, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %48) #6
  store double -4.998000e+02, ptr %48, align 8, !tbaa !9
  %168 = getelementptr inbounds double, ptr %48, i64 1
  store double 7.320000e+02, ptr %168, align 8, !tbaa !9
  %169 = getelementptr inbounds %"class.std::initializer_list.18", ptr %47, i32 0, i32 0
  store ptr %48, ptr %169, align 8, !tbaa !11
  %170 = getelementptr inbounds %"class.std::initializer_list.18", ptr %47, i32 0, i32 1
  store i64 2, ptr %170, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %49) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #6
  %171 = getelementptr inbounds { ptr, i64 }, ptr %47, i32 0, i32 0
  %172 = load ptr, ptr %171, align 8
  %173 = getelementptr inbounds { ptr, i64 }, ptr %47, i32 0, i32 1
  %174 = load i64, ptr %173, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %167, ptr %172, i64 %174, ptr noundef nonnull align 1 dereferenceable(1) %49)
          to label %175 unwind label %268

175:                                              ; preds = %166
  store i1 false, ptr %50, align 1
  %176 = getelementptr inbounds %"class.std::initializer_list", ptr %11, i32 0, i32 0
  store ptr %12, ptr %176, align 8, !tbaa !16
  %177 = getelementptr inbounds %"class.std::initializer_list", ptr %11, i32 0, i32 1
  store i64 12, ptr %177, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %51) #6
  call void @_ZNSaISt6vectorIdSaIdEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %51) #6
  %178 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 0
  %179 = load ptr, ptr %178, align 8
  %180 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 1
  %181 = load i64, ptr %180, align 8
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr %179, i64 %181, ptr noundef nonnull align 1 dereferenceable(1) %51)
          to label %182 unwind label %272

182:                                              ; preds = %175
  call void @_ZNSt15__new_allocatorISt6vectorIdSaIdEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %51) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #6
  %183 = getelementptr inbounds [12 x %"class.std::vector.13"], ptr %12, i32 0, i32 0
  %184 = getelementptr inbounds %"class.std::vector.13", ptr %183, i64 12
  br label %185

185:                                              ; preds = %185, %182
  %186 = phi ptr [ %184, %182 ], [ %187, %185 ]
  %187 = getelementptr inbounds %"class.std::vector.13", ptr %186, i64 -1
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %187) #6
  %188 = icmp eq ptr %187, %183
  br i1 %188, label %189, label %185

189:                                              ; preds = %185
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 288, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %52) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr %54) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %54, ptr align 8 @constinit, i64 96, i1 false), !tbaa.struct !19
  %190 = getelementptr inbounds %"class.std::initializer_list.18", ptr %53, i32 0, i32 0
  store ptr %54, ptr %190, align 8, !tbaa !11
  %191 = getelementptr inbounds %"class.std::initializer_list.18", ptr %53, i32 0, i32 1
  store i64 12, ptr %191, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %55) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %55) #6
  %192 = getelementptr inbounds { ptr, i64 }, ptr %53, i32 0, i32 0
  %193 = load ptr, ptr %192, align 8
  %194 = getelementptr inbounds { ptr, i64 }, ptr %53, i32 0, i32 1
  %195 = load i64, ptr %194, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %52, ptr %193, i64 %195, ptr noundef nonnull align 1 dereferenceable(1) %55)
          to label %196 unwind label %305

196:                                              ; preds = %189
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %55) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %55) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %54) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #6
  store i32 0, ptr %56, align 4, !tbaa !5
  br label %197

197:                                              ; preds = %340, %196
  %198 = load i32, ptr %56, align 4, !tbaa !5
  %199 = sext i32 %198 to i64
  %200 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  %201 = icmp ult i64 %199, %200
  br i1 %201, label %309, label %202

202:                                              ; preds = %197
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #6
  br label %343

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

207:                                              ; preds = %58
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %4, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  br label %211

211:                                              ; preds = %207, %203
  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 %366

212:                                              ; preds = %59
  %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 %365

216:                                              ; preds = %60
  %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
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %364

220:                                              ; preds = %65, %63, %61
  %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 %363

224:                                              ; preds = %68
  %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 %294

228:                                              ; preds = %76
  %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 %293

232:                                              ; preds = %85
  %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 %292

236:                                              ; preds = %94
  %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
  br label %291

240:                                              ; preds = %103
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %4, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %5, align 4
  br label %290

244:                                              ; preds = %112
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %4, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %5, align 4
  br label %289

248:                                              ; preds = %121
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %4, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %5, align 4
  br label %288

252:                                              ; preds = %130
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %4, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %5, align 4
  br label %287

256:                                              ; preds = %139
  %257 = landingpad { ptr, i32 }
          cleanup
  %258 = extractvalue { ptr, i32 } %257, 0
  store ptr %258, ptr %4, align 8
  %259 = extractvalue { ptr, i32 } %257, 1
  store i32 %259, ptr %5, align 4
  br label %286

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

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

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

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

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

282:                                              ; preds = %278
  br label %283

283:                                              ; preds = %282, %268
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #6
  br label %284

284:                                              ; preds = %283, %264
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #6
  br label %285

285:                                              ; preds = %284, %260
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #6
  br label %286

286:                                              ; preds = %285, %256
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #6
  br label %287

287:                                              ; preds = %286, %252
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #6
  br label %288

288:                                              ; preds = %287, %248
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #6
  br label %289

289:                                              ; preds = %288, %244
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #6
  br label %290

290:                                              ; preds = %289, %240
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #6
  br label %291

291:                                              ; preds = %290, %236
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  br label %292

292:                                              ; preds = %291, %232
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  br label %293

293:                                              ; preds = %292, %228
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  br label %294

294:                                              ; preds = %293, %224
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  %295 = load i1, ptr %50, align 1
  br i1 %295, label %296, label %304

296:                                              ; preds = %294
  %297 = load ptr, ptr %13, align 8
  %298 = icmp eq ptr %12, %297
  br i1 %298, label %303, label %299

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

303:                                              ; preds = %299, %296
  br label %304

304:                                              ; preds = %303, %294
  call void @llvm.lifetime.end.p0(i64 288, ptr %12) #6
  br label %362

305:                                              ; preds = %189
  %306 = landingpad { ptr, i32 }
          cleanup
  %307 = extractvalue { ptr, i32 } %306, 0
  store ptr %307, ptr %4, align 8
  %308 = extractvalue { ptr, i32 } %306, 1
  store i32 %308, ptr %5, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %55) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %55) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %54) #6
  br label %361

309:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #6
  %310 = call noundef ptr @_ZNKSt10unique_ptrIN13NeuralNetwork10PerceptronESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %311 = load i32, ptr %56, align 4, !tbaa !5
  %312 = sext i32 %311 to i64
  %313 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %312) #6
  %314 = invoke noundef double @_ZN13NeuralNetwork10Perceptron11feedforwardERKSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(24) %310, ptr noundef nonnull align 8 dereferenceable(24) %313)
          to label %315 unwind label %335

315:                                              ; preds = %309
  store double %314, ptr %57, align 8, !tbaa !9
  %316 = load double, ptr %57, align 8, !tbaa !9
  %317 = load i32, ptr %56, align 4, !tbaa !5
  %318 = sext i32 %317 to i64
  %319 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %52, i64 noundef %318) #6
  %320 = load double, ptr %319, align 8, !tbaa !9
  %321 = fcmp une double %316, %320
  br i1 %321, label %322, label %339

322:                                              ; preds = %315
  %323 = load i32, ptr %9, align 4, !tbaa !5
  %324 = add nsw i32 %323, 1
  store i32 %324, ptr %9, align 4, !tbaa !5
  %325 = call noundef ptr @_ZNKSt10unique_ptrIN13NeuralNetwork10PerceptronESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %326 = load i32, ptr %56, align 4, !tbaa !5
  %327 = sext i32 %326 to i64
  %328 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %327) #6
  %329 = load i32, ptr %56, align 4, !tbaa !5
  %330 = sext i32 %329 to i64
  %331 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %52, i64 noundef %330) #6
  %332 = load double, ptr %331, align 8, !tbaa !9
  %333 = load double, ptr %8, align 8, !tbaa !9
  invoke void @_ZN13NeuralNetwork10Perceptron5trainERKSt6vectorIdSaIdEEdd(ptr noundef nonnull align 8 dereferenceable(24) %325, ptr noundef nonnull align 8 dereferenceable(24) %328, double noundef %332, double noundef %333)
          to label %334 unwind label %335

334:                                              ; preds = %322
  store i32 -1, ptr %56, align 4, !tbaa !5
  br label %339

335:                                              ; preds = %322, %309
  %336 = landingpad { ptr, i32 }
          cleanup
  %337 = extractvalue { ptr, i32 } %336, 0
  store ptr %337, ptr %4, align 8
  %338 = extractvalue { ptr, i32 } %336, 1
  store i32 %338, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #6
  br label %360

339:                                              ; preds = %334, %315
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #6
  br label %340

340:                                              ; preds = %339
  %341 = load i32, ptr %56, align 4, !tbaa !5
  %342 = add nsw i32 %341, 1
  store i32 %342, ptr %56, align 4, !tbaa !5
  br label %197, !llvm.loop !21

343:                                              ; preds = %202
  %344 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
          to label %345 unwind label %356

345:                                              ; preds = %343
  %346 = load i32, ptr %9, align 4, !tbaa !5
  %347 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %344, i32 noundef %346)
          to label %348 unwind label %356

348:                                              ; preds = %345
  %349 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %347, ptr noundef @.str.2)
          to label %350 unwind label %356

350:                                              ; preds = %348
  %351 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %349, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %352 unwind label %356

352:                                              ; preds = %350
  %353 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %354 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt10unique_ptrIN13NeuralNetwork10PerceptronESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  invoke void @_ZN13serialization15serializeToFileEPKcRKNS_13ISerializableE(ptr noundef %353, ptr noundef nonnull align 8 dereferenceable(8) %354)
          to label %355 unwind label %356

355:                                              ; preds = %352
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #6
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @_ZNSt10unique_ptrIN13NeuralNetwork10PerceptronESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #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

356:                                              ; preds = %352, %350, %348, %345, %343
  %357 = landingpad { ptr, i32 }
          cleanup
  %358 = extractvalue { ptr, i32 } %357, 0
  store ptr %358, ptr %4, align 8
  %359 = extractvalue { ptr, i32 } %357, 1
  store i32 %359, ptr %5, align 4
  br label %360

360:                                              ; preds = %356, %335
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #6
  br label %361

361:                                              ; preds = %360, %305
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #6
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  br label %362

362:                                              ; preds = %361, %304
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %363

363:                                              ; preds = %362, %220
  call void @_ZNSt10unique_ptrIN13NeuralNetwork10PerceptronESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  br label %364

364:                                              ; preds = %363, %216
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %365

365:                                              ; preds = %364, %212
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  br label %366

366:                                              ; preds = %365, %211
  call void @llvm.lifetime.end.p0(i64 32, ptr %1) #6
  br label %367

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

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

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

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

declare void @_ZN11RandomUtils14initRandomSeedEv() #4

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

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

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

declare noundef double @_ZN13NeuralNetwork10activation4signERKd(ptr noundef nonnull align 8 dereferenceable(8)) #4

declare void @_ZN13NeuralNetwork10Perceptron16randomizeWeightsEv(ptr noundef nonnull align 8 dereferenceable(24)) #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)) #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaISt6vectorIdSaIdEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 #0 align 2

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

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

declare noundef double @_ZN13NeuralNetwork10Perceptron11feedforwardERKSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #4

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

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

declare void @_ZN13NeuralNetwork10Perceptron5trainERKSt6vectorIdSaIdEEdd(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef) #4

; 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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #4

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIdED2Ev(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 #3 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTSSt16initializer_listIdE", !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_listISt6vectorIdSaIdEEE", !13, i64 0, !14, i64 8}
!18 = !{!17, !14, i64 8}
!19 = !{i64 0, i64 96, !20}
!20 = !{!7, !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"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::allocator" = type { i8 }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = 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.15" = type { i8 }
%"class.std::allocator.10" = type { i8 }

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@__FUNCTION__._Z30Test_Neuron_W1_greater_than_W2v = external hidden unnamed_addr constant [31 x i8], align 1
@constinit = external hidden local_unnamed_addr constant [12 x double], align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.1 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z30Test_Neuron_W1_greater_than_W2v() local_unnamed_addr #0 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", align 1
  %4 = alloca %"class.std::unique_ptr", align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca [12 x %"class.std::vector.13"], align 8
  %8 = alloca [2 x double], align 16
  %9 = alloca %"class.std::allocator.15", align 1
  %10 = alloca [2 x double], align 16
  %11 = alloca %"class.std::allocator.15", align 1
  %12 = alloca [2 x double], align 16
  %13 = alloca %"class.std::allocator.15", align 1
  %14 = alloca [2 x double], align 16
  %15 = alloca %"class.std::allocator.15", align 1
  %16 = alloca [2 x double], align 16
  %17 = alloca %"class.std::allocator.15", align 1
  %18 = alloca [2 x double], align 16
  %19 = alloca %"class.std::allocator.15", align 1
  %20 = alloca [2 x double], align 16
  %21 = alloca %"class.std::allocator.15", align 1
  %22 = alloca [2 x double], align 16
  %23 = alloca %"class.std::allocator.15", align 1
  %24 = alloca [2 x double], align 16
  %25 = alloca %"class.std::allocator.15", align 1
  %26 = alloca [2 x double], align 16
  %27 = alloca %"class.std::allocator.15", align 1
  %28 = alloca [2 x double], align 16
  %29 = alloca %"class.std::allocator.15", align 1
  %30 = alloca [2 x double], align 16
  %31 = alloca %"class.std::allocator.15", align 1
  %32 = alloca %"class.std::allocator.10", align 1
  %33 = alloca %"class.std::vector.13", align 8
  %34 = alloca [12 x double], align 8
  %35 = alloca %"class.std::allocator.15", align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %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 nonnull @__FUNCTION__._Z30Test_Neuron_W1_greater_than_W2v, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %36 unwind label %85

36:                                               ; 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, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %37 unwind label %87

37:                                               ; preds = %36
  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 nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #6
  invoke void @_ZN11RandomUtils14initRandomSeedEv()
          to label %38 unwind label %90

38:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  store i32 2, ptr %5, align 4, !tbaa !5
  invoke void @_ZSt11make_uniqueIN13NeuralNetwork10PerceptronEJiEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr") align 8 %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %39 unwind label %92

39:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  %40 = call noundef ptr @_ZNKSt10unique_ptrIN13NeuralNetwork10PerceptronESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  invoke void @_ZN13NeuralNetwork10Perceptron21setActivationFunctionEPFdRKdE(ptr noundef nonnull align 8 dereferenceable(24) %40, ptr noundef nonnull @_ZN13NeuralNetwork10activation4signERKd)
          to label %41 unwind label %94

41:                                               ; preds = %39
  %42 = call noundef ptr @_ZNKSt10unique_ptrIN13NeuralNetwork10PerceptronESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  invoke void @_ZN13NeuralNetwork10Perceptron16randomizeWeightsEv(ptr noundef nonnull align 8 dereferenceable(24) %42)
          to label %43 unwind label %94

43:                                               ; preds = %41
  %44 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %45 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt10unique_ptrIN13NeuralNetwork10PerceptronESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  invoke void @_ZN13serialization19loadWeightsFromFileEPKcRNS_13ISerializableE(ptr noundef %44, ptr noundef nonnull align 8 dereferenceable(8) %45)
          to label %46 unwind label %94

46:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 288, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  store <2 x double> <double 1.000000e+00, double 5.000000e-01>, ptr %8, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr nonnull %8, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %47 unwind label %.thread

47:                                               ; preds = %46
  %48 = getelementptr inbounds i8, ptr %7, i64 24
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  store <2 x double> <double 5.000000e-01, double 1.000000e+00>, ptr %10, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %48, ptr nonnull %10, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %49 unwind label %97

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

51:                                               ; preds = %49
  %52 = getelementptr inbounds i8, ptr %7, i64 72
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #6
  store <2 x double> <double 0.000000e+00, double 1.000000e+01>, ptr %14, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %52, ptr nonnull %14, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %53 unwind label %101

53:                                               ; preds = %51
  %54 = getelementptr inbounds i8, ptr %7, i64 96
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #6
  store <2 x double> <double 0.000000e+00, double -1.000000e+01>, ptr %16, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %54, ptr nonnull %16, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %55 unwind label %103

55:                                               ; preds = %53
  %56 = getelementptr inbounds i8, ptr %7, i64 120
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #6
  store <2 x double> <double -1.000000e+01, double 0.000000e+00>, ptr %18, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %56, ptr nonnull %18, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %57 unwind label %105

57:                                               ; preds = %55
  %58 = getelementptr inbounds i8, ptr %7, i64 144
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #6
  store <2 x double> <double 1.000000e+01, double -1.000000e+01>, ptr %20, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %58, ptr nonnull %20, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %59 unwind label %107

59:                                               ; preds = %57
  %60 = getelementptr inbounds i8, ptr %7, i64 168
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #6
  store <2 x double> <double -1.000000e+01, double 1.000000e+01>, ptr %22, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %60, ptr nonnull %22, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %61 unwind label %109

61:                                               ; preds = %59
  %62 = getelementptr inbounds i8, ptr %7, i64 192
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #6
  store <2 x double> <double 1.000000e+03, double -1.000000e+03>, ptr %24, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %25) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %62, ptr nonnull %24, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %63 unwind label %111

63:                                               ; preds = %61
  %64 = getelementptr inbounds i8, ptr %7, i64 216
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #6
  store <2 x double> <double -1.000000e+03, double 1.000000e+03>, ptr %26, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %27) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %64, ptr nonnull %26, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %65 unwind label %113

65:                                               ; preds = %63
  %66 = getelementptr inbounds i8, ptr %7, i64 240
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #6
  store <2 x double> <double 3.510000e+02, double -1.790000e+02>, ptr %28, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %66, ptr nonnull %28, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %67 unwind label %115

67:                                               ; preds = %65
  %68 = getelementptr inbounds i8, ptr %7, i64 264
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #6
  store <2 x double> <double -4.998000e+02, double 7.320000e+02>, ptr %30, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %31) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %68, ptr nonnull %30, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %69 unwind label %117

69:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %32) #6
  call void @_ZNSaISt6vectorIdSaIdEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #6
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr nonnull %7, i64 12, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %70 unwind label %.loopexit116.loopexit

70:                                               ; preds = %69
  call void @_ZNSt15__new_allocatorISt6vectorIdSaIdEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #6
  %71 = getelementptr inbounds i8, ptr %7, i64 264
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %71) #6
  %72 = getelementptr inbounds i8, ptr %7, i64 240
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %72) #6
  %73 = getelementptr inbounds i8, ptr %7, i64 216
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %73) #6
  %74 = getelementptr inbounds i8, ptr %7, i64 192
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %74) #6
  %75 = getelementptr inbounds i8, ptr %7, i64 168
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %75) #6
  %76 = getelementptr inbounds i8, ptr %7, i64 144
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %76) #6
  %77 = getelementptr inbounds i8, ptr %7, i64 120
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %77) #6
  %78 = getelementptr inbounds i8, ptr %7, i64 96
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %78) #6
  %79 = getelementptr inbounds i8, ptr %7, i64 72
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %79) #6
  %80 = getelementptr inbounds i8, ptr %7, i64 48
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %80) #6
  %81 = getelementptr inbounds i8, ptr %7, i64 24
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %81) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 288, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %33) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %34) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %34, ptr noundef nonnull align 8 dereferenceable(96) @constinit, i64 96, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %35) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr nonnull %34, i64 12, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %82 unwind label %146

82:                                               ; preds = %70
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %34) #6
  %83 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %.not = icmp eq i64 %83, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %165, %82
  %.062.lcssa = phi i32 [ 0, %82 ], [ %.163, %165 ]
  %84 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.1)
          to label %170 unwind label %180

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

87:                                               ; preds = %36
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  br label %89

89:                                               ; preds = %87, %85
  %.pn = phi { ptr, i32 } [ %88, %87 ], [ %86, %85 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #6
  br label %188

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

92:                                               ; preds = %38
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  br label %186

94:                                               ; preds = %43, %41, %39
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %185

.thread:                                          ; preds = %46
  %96 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  br label %.loopexit

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

99:                                               ; preds = %49
  %100 = landingpad { ptr, i32 }
          cleanup
  br label %140

101:                                              ; preds = %51
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %139

103:                                              ; preds = %53
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %138

105:                                              ; preds = %55
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %137

107:                                              ; preds = %57
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %136

109:                                              ; preds = %59
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %135

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

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

115:                                              ; preds = %65
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %132

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

.loopexit116.loopexit:                            ; preds = %69
  %119 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIdSaIdEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #6
  %120 = getelementptr inbounds i8, ptr %7, i64 264
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %120) #6
  %121 = getelementptr inbounds i8, ptr %7, i64 240
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %121) #6
  %122 = getelementptr inbounds i8, ptr %7, i64 216
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %122) #6
  %123 = getelementptr inbounds i8, ptr %7, i64 192
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %123) #6
  %124 = getelementptr inbounds i8, ptr %7, i64 168
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %124) #6
  %125 = getelementptr inbounds i8, ptr %7, i64 144
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %125) #6
  %126 = getelementptr inbounds i8, ptr %7, i64 120
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %126) #6
  %127 = getelementptr inbounds i8, ptr %7, i64 96
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %127) #6
  %128 = getelementptr inbounds i8, ptr %7, i64 72
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %128) #6
  %129 = getelementptr inbounds i8, ptr %7, i64 48
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %129) #6
  %130 = getelementptr inbounds i8, ptr %7, i64 24
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %130) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  br label %.loopexit116

.loopexit116:                                     ; preds = %.loopexit116.loopexit, %117
  %131 = phi i1 [ false, %117 ], [ true, %.loopexit116.loopexit ]
  %.pn90 = phi { ptr, i32 } [ %118, %117 ], [ %119, %.loopexit116.loopexit ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #6
  br label %132

132:                                              ; preds = %.loopexit116, %115
  %.076 = phi ptr [ %68, %.loopexit116 ], [ %66, %115 ]
  %.165 = phi i1 [ %131, %.loopexit116 ], [ false, %115 ]
  %.pn90.pn = phi { ptr, i32 } [ %.pn90, %.loopexit116 ], [ %116, %115 ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #6
  br label %133

133:                                              ; preds = %132, %113
  %.177 = phi ptr [ %.076, %132 ], [ %64, %113 ]
  %.266 = phi i1 [ %.165, %132 ], [ false, %113 ]
  %.pn90.pn.pn = phi { ptr, i32 } [ %.pn90.pn, %132 ], [ %114, %113 ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #6
  br label %134

134:                                              ; preds = %133, %111
  %.278 = phi ptr [ %.177, %133 ], [ %62, %111 ]
  %.367 = phi i1 [ %.266, %133 ], [ false, %111 ]
  %.pn90.pn.pn.pn = phi { ptr, i32 } [ %.pn90.pn.pn, %133 ], [ %112, %111 ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #6
  br label %135

135:                                              ; preds = %134, %109
  %.379 = phi ptr [ %.278, %134 ], [ %60, %109 ]
  %.468 = phi i1 [ %.367, %134 ], [ false, %109 ]
  %.pn90.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn90.pn.pn.pn, %134 ], [ %110, %109 ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #6
  br label %136

136:                                              ; preds = %135, %107
  %.480 = phi ptr [ %.379, %135 ], [ %58, %107 ]
  %.569 = phi i1 [ %.468, %135 ], [ false, %107 ]
  %.pn90.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn90.pn.pn.pn.pn, %135 ], [ %108, %107 ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #6
  br label %137

137:                                              ; preds = %136, %105
  %.581 = phi ptr [ %.480, %136 ], [ %56, %105 ]
  %.670 = phi i1 [ %.569, %136 ], [ false, %105 ]
  %.pn90.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn90.pn.pn.pn.pn.pn, %136 ], [ %106, %105 ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #6
  br label %138

138:                                              ; preds = %137, %103
  %.682 = phi ptr [ %.581, %137 ], [ %54, %103 ]
  %.771 = phi i1 [ %.670, %137 ], [ false, %103 ]
  %.pn90.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn90.pn.pn.pn.pn.pn.pn, %137 ], [ %104, %103 ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  br label %139

139:                                              ; preds = %138, %101
  %.783 = phi ptr [ %.682, %138 ], [ %52, %101 ]
  %.872 = phi i1 [ %.771, %138 ], [ false, %101 ]
  %.pn90.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn90.pn.pn.pn.pn.pn.pn.pn, %138 ], [ %102, %101 ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  br label %140

140:                                              ; preds = %139, %99
  %.884 = phi ptr [ %.783, %139 ], [ %50, %99 ]
  %.973 = phi i1 [ %.872, %139 ], [ false, %99 ]
  %.pn90.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn90.pn.pn.pn.pn.pn.pn.pn.pn, %139 ], [ %100, %99 ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %141

141:                                              ; preds = %97, %140
  %.985 = phi ptr [ %.884, %140 ], [ %48, %97 ]
  %.1074 = phi i1 [ %.973, %140 ], [ false, %97 ]
  %.pn90.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn90.pn.pn.pn.pn.pn.pn.pn.pn.pn, %140 ], [ %98, %97 ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  %142 = icmp eq ptr %7, %.985
  %or.cond = select i1 %.1074, i1 true, i1 %142
  br i1 %or.cond, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %141, %.preheader
  %143 = phi ptr [ %144, %.preheader ], [ %.985, %141 ]
  %144 = getelementptr inbounds i8, ptr %143, i64 -24
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %144) #6
  %145 = icmp eq ptr %144, %7
  br i1 %145, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %.thread, %141
  %.pn90.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn115 = phi { ptr, i32 } [ %96, %.thread ], [ %.pn90.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %141 ], [ %.pn90.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 288, ptr nonnull %7) #6
  br label %184

146:                                              ; preds = %70
  %147 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %34) #6
  br label %183

.lr.ph:                                           ; preds = %82, %165
  %148 = phi i64 [ %167, %165 ], [ 0, %82 ]
  %.040119 = phi i32 [ %166, %165 ], [ 0, %82 ]
  %.062118 = phi i32 [ %.163, %165 ], [ 0, %82 ]
  %149 = call noundef ptr @_ZNKSt10unique_ptrIN13NeuralNetwork10PerceptronESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %150 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %148) #6
  %151 = invoke noundef double @_ZN13NeuralNetwork10Perceptron11feedforwardERKSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(24) %149, ptr noundef nonnull align 8 dereferenceable(24) %150)
          to label %152 unwind label %163

152:                                              ; preds = %.lr.ph
  %153 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %148) #6
  %154 = load double, ptr %153, align 8, !tbaa !9
  %155 = fcmp une double %151, %154
  br i1 %155, label %156, label %165

156:                                              ; preds = %152
  %157 = call noundef ptr @_ZNKSt10unique_ptrIN13NeuralNetwork10PerceptronESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %158 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %148) #6
  %159 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %148) #6
  %160 = load double, ptr %159, align 8, !tbaa !9
  invoke void @_ZN13NeuralNetwork10Perceptron5trainERKSt6vectorIdSaIdEEdd(ptr noundef nonnull align 8 dereferenceable(24) %157, ptr noundef nonnull align 8 dereferenceable(24) %158, double noundef %160, double noundef 1.000000e-01)
          to label %161 unwind label %163

161:                                              ; preds = %156
  %162 = add nsw i32 %.062118, 1
  br label %165

163:                                              ; preds = %156, %.lr.ph
  %164 = landingpad { ptr, i32 }
          cleanup
  br label %182

165:                                              ; preds = %161, %152
  %.163 = phi i32 [ %162, %161 ], [ %.062118, %152 ]
  %.141 = phi i32 [ -1, %161 ], [ %.040119, %152 ]
  %166 = add nsw i32 %.141, 1
  %167 = sext i32 %166 to i64
  %168 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %169 = icmp ugt i64 %168, %167
  br i1 %169, label %.lr.ph, label %._crit_edge, !llvm.loop !13

170:                                              ; preds = %._crit_edge
  %171 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %84, i32 noundef %.062.lcssa)
          to label %172 unwind label %180

172:                                              ; preds = %170
  %173 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %171, ptr noundef nonnull @.str.2)
          to label %174 unwind label %180

174:                                              ; preds = %172
  %175 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %173, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %176 unwind label %180

176:                                              ; preds = %174
  %177 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %178 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt10unique_ptrIN13NeuralNetwork10PerceptronESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  invoke void @_ZN13serialization15serializeToFileEPKcRKNS_13ISerializableE(ptr noundef %177, ptr noundef nonnull align 8 dereferenceable(8) %178)
          to label %179 unwind label %180

179:                                              ; preds = %176
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #6
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  call void @_ZNSt10unique_ptrIN13NeuralNetwork10PerceptronESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #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 nonnull %1) #6
  ret void

180:                                              ; preds = %176, %174, %172, %170, %._crit_edge
  %181 = landingpad { ptr, i32 }
          cleanup
  br label %182

182:                                              ; preds = %180, %163
  %.pn103 = phi { ptr, i32 } [ %164, %163 ], [ %181, %180 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #6
  br label %183

183:                                              ; preds = %182, %146
  %.pn103.pn = phi { ptr, i32 } [ %.pn103, %182 ], [ %147, %146 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #6
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  br label %184

184:                                              ; preds = %183, %.loopexit
  %.pn103.pn.pn = phi { ptr, i32 } [ %.pn103.pn, %183 ], [ %.pn90.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn115, %.loopexit ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  br label %185

185:                                              ; preds = %184, %94
  %.pn103.pn.pn.pn = phi { ptr, i32 } [ %.pn103.pn.pn, %184 ], [ %95, %94 ]
  call void @_ZNSt10unique_ptrIN13NeuralNetwork10PerceptronESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  br label %186

186:                                              ; preds = %185, %92
  %.pn103.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn103.pn.pn.pn, %185 ], [ %93, %92 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br label %187

187:                                              ; preds = %186, %90
  %.pn103.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn103.pn.pn.pn.pn, %186 ], [ %91, %90 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  br label %188

188:                                              ; preds = %187, %89
  %.pn103.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn103.pn.pn.pn.pn.pn, %187 ], [ %.pn, %89 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn103.pn.pn.pn.pn.pn.pn
}

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

; Function Attrs: 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 #3 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 #0 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 #3 align 2

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

declare void @_ZN11RandomUtils14initRandomSeedEv() local_unnamed_addr #4

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

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

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

declare noundef double @_ZN13NeuralNetwork10activation4signERKd(ptr noundef nonnull align 8 dereferenceable(8)) #4

declare void @_ZN13NeuralNetwork10Perceptron16randomizeWeightsEv(ptr noundef nonnull align 8 dereferenceable(24)) 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 #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaISt6vectorIdSaIdEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 #0 align 2

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

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

declare noundef double @_ZN13NeuralNetwork10Perceptron11feedforwardERKSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

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

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

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

; 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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #4

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIdED2Ev(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 #3 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{i64 0, i64 96, !12}
!12 = !{!7, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


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