; LLVM IR from CRAFT-THU/BSim :: test/gpu (mnist)

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

%"struct.mnist::MNIST_dataset" = type { %"class.std::vector", %"class.std::vector", %"class.std::vector.0", %"class.std::vector.0" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<unsigned char>, std::allocator<std::vector<unsigned char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned char>, std::allocator<std::vector<unsigned char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned char>, std::allocator<std::vector<unsigned char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned char>, std::allocator<std::vector<unsigned char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, 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.5" = type { i8 }
%"struct.cnpy::NpyArray" = type <{ ptr, %"class.std::vector.8", i32, i8, [3 x i8] }>
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Network = type { %"class.std::vector.13", %"class.std::vector.18", %"class.std::vector.23", i32, i32, i32, float, float, %"class.std::vector.28", %"class.std::vector.28", i32, %"class.std::vector.33", %"class.std::vector.33", %"class.std::vector.33" }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<NeuronBase *, std::allocator<NeuronBase *>>::_Vector_impl" }
%"struct.std::_Vector_base<NeuronBase *, std::allocator<NeuronBase *>>::_Vector_impl" = type { %"struct.std::_Vector_base<NeuronBase *, std::allocator<NeuronBase *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<NeuronBase *, std::allocator<NeuronBase *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<PopulationBase *, std::allocator<PopulationBase *>>::_Vector_impl" }
%"struct.std::_Vector_base<PopulationBase *, std::allocator<PopulationBase *>>::_Vector_impl" = type { %"struct.std::_Vector_base<PopulationBase *, std::allocator<PopulationBase *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<PopulationBase *, std::allocator<PopulationBase *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<SynapseBase *, std::allocator<SynapseBase *>>::_Vector_impl" }
%"struct.std::_Vector_base<SynapseBase *, std::allocator<SynapseBase *>>::_Vector_impl" = type { %"struct.std::_Vector_base<SynapseBase *, std::allocator<SynapseBase *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<SynapseBase *, std::allocator<SynapseBase *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<Type, std::allocator<Type>>::_Vector_impl" }
%"struct.std::_Vector_base<Type, std::allocator<Type>>::_Vector_impl" = type { %"struct.std::_Vector_base<Type, std::allocator<Type>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Type, std::allocator<Type>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.CompositeNeuron = type { %class.ConstantNeuron, float, float }
%class.ConstantNeuron = type { %class.NeuronBase.base, float, i32, i32, float, float, ptr }
%class.NeuronBase.base = type <{ %class.Base, %"class.std::vector.23", i8, i8, [2 x i8], i32, float }>
%class.Base = type { ptr, i32, i32 }
%class.CompositeNeuron.38 = type { %class.TJNeuron, float, float }
%class.TJNeuron = type { %class.NeuronBase.base, float, float, float, float, float, float, float, float, float, float, i32, i32, ptr }
%class.CompositeNeuron.39 = type { %class.MaxNeuron.base, float, float, [4 x i8] }
%class.MaxNeuron.base = type <{ %class.NeuronBase.base, [4 x i8], ptr, i32, i32, i32 }>
%class.MaxNeuron = type <{ %class.NeuronBase.base, [4 x i8], ptr, i32, i32, i32, [4 x i8] }>
%struct.ArrayInfo = type { i32, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, ArrayInfo>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, ArrayInfo>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, ArrayInfo>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, ArrayInfo>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%class.SingleGPUSimulator = type { %class.SimulatorBase.base, [4 x i8] }
%class.SimulatorBase.base = type <{ ptr, ptr, float }>

@.str = external hidden unnamed_addr constant [21 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [67 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [23 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %"struct.mnist::MNIST_dataset", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator.5", align 1
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"struct.cnpy::NpyArray", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::allocator.5", align 1
  %14 = alloca ptr, align 8
  %15 = alloca %"struct.cnpy::NpyArray", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator.5", align 1
  %18 = alloca ptr, align 8
  %19 = alloca %"struct.cnpy::NpyArray", align 8
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.std::allocator.5", align 1
  %22 = alloca ptr, align 8
  %23 = alloca %"struct.cnpy::NpyArray", align 8
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator.5", align 1
  %26 = alloca ptr, align 8
  %27 = alloca %"struct.cnpy::NpyArray", align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator.5", align 1
  %30 = alloca ptr, align 8
  %31 = alloca %"struct.cnpy::NpyArray", align 8
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.std::allocator.5", align 1
  %34 = alloca ptr, align 8
  %35 = alloca %"struct.cnpy::NpyArray", align 8
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca %"class.std::allocator.5", align 1
  %38 = alloca ptr, align 8
  %39 = alloca %"struct.cnpy::NpyArray", align 8
  %40 = alloca %"class.std::__cxx11::basic_string", align 8
  %41 = alloca %"class.std::allocator.5", align 1
  %42 = alloca ptr, align 8
  %43 = alloca ptr, align 8
  %44 = alloca ptr, align 8
  %45 = alloca %class.Network, align 8
  %46 = alloca ptr, align 8
  %47 = alloca %class.CompositeNeuron, align 8
  %48 = alloca %class.ConstantNeuron, align 8
  %49 = alloca ptr, align 8
  %50 = alloca i32, align 4
  %51 = alloca %class.CompositeNeuron.38, align 8
  %52 = alloca %class.TJNeuron, align 8
  %53 = alloca ptr, align 8
  %54 = alloca i32, align 4
  %55 = alloca %class.CompositeNeuron.39, align 8
  %56 = alloca %class.MaxNeuron, align 8
  %57 = alloca ptr, align 8
  %58 = alloca i32, align 4
  %59 = alloca %class.CompositeNeuron.38, align 8
  %60 = alloca %class.TJNeuron, align 8
  %61 = alloca ptr, align 8
  %62 = alloca i32, align 4
  %63 = alloca %class.CompositeNeuron.39, align 8
  %64 = alloca %class.MaxNeuron, align 8
  %65 = alloca ptr, align 8
  %66 = alloca %class.CompositeNeuron.38, align 8
  %67 = alloca %class.TJNeuron, align 8
  %68 = alloca i32, align 4
  %69 = alloca ptr, align 8
  %70 = alloca i32, align 4
  %71 = alloca i32, align 4
  %72 = alloca i32, align 4
  %73 = alloca i32, align 4
  %74 = alloca i32, align 4
  %75 = alloca i32, align 4
  %76 = alloca i32, align 4
  %77 = alloca ptr, align 8
  %78 = alloca ptr, align 8
  %79 = alloca %struct.ArrayInfo, align 8
  %80 = alloca %"class.std::map", align 8
  %81 = alloca %"class.std::__cxx11::basic_string", align 8
  %82 = alloca %"class.std::allocator.5", align 1
  %83 = alloca %class.SingleGPUSimulator, align 8
  %84 = alloca i32, align 4
  %85 = alloca i32, align 4
  %86 = alloca i32, align 4
  %87 = alloca ptr, align 8
  %88 = alloca ptr, align 8
  %89 = alloca %"class.std::__cxx11::basic_string", align 8
  %90 = alloca %"class.std::allocator.5", align 1
  %91 = alloca i32, align 4
  %92 = alloca %"class.std::__cxx11::basic_string", align 8
  %93 = alloca %"class.std::allocator.5", align 1
  %94 = alloca %"class.std::__cxx11::basic_string", align 8
  %95 = alloca %"class.std::allocator.5", align 1
  %96 = alloca %"class.std::__cxx11::basic_string", align 8
  %97 = alloca %"class.std::allocator.5", align 1
  %98 = alloca %"class.std::__cxx11::basic_string", align 8
  %99 = alloca %"class.std::allocator.5", align 1
  %100 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 96, ptr %6) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %101 unwind label %110

101:                                              ; preds = %2
  invoke void @_ZN5mnist12read_datasetITtTpTyESt6vectorTtTpTyES1_hhEENS_13MNIST_datasetIT_T0_IJT1_EET2_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmm(ptr dead_on_unwind writable sret(%"struct.mnist::MNIST_dataset") align 8 %6, ptr noundef nonnull align 8 dereferenceable(32) %7, i64 noundef 1, i64 noundef 0)
          to label %102 unwind label %114

102:                                              ; preds = %101
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #11
  call void @llvm.lifetime.start.p0(i64 40, ptr %11) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %103 unwind label %119

103:                                              ; preds = %102
  invoke void @_ZN4cnpy8npy_loadENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"struct.cnpy::NpyArray") align 8 %11, ptr noundef %12)
          to label %104 unwind label %123

104:                                              ; preds = %103
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #11
  %105 = invoke noundef i64 @_Z11calcAllSizeRN4cnpy8NpyArrayE(ptr noundef nonnull align 8 dereferenceable(37) %11)
          to label %106 unwind label %128

106:                                              ; preds = %104
  %107 = icmp eq i64 %105, 800
  br i1 %107, label %108, label %109

108:                                              ; preds = %106
  br label %133

109:                                              ; preds = %106
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 28, ptr noundef @__PRETTY_FUNCTION__.main) #12
  unreachable

110:                                              ; preds = %2
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %9, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %10, align 4
  br label %118

114:                                              ; preds = %101
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %9, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #11
  br label %118

118:                                              ; preds = %114, %110
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #11
  br label %982

119:                                              ; preds = %102
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %9, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %10, align 4
  br label %127

123:                                              ; preds = %103
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %9, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #11
  br label %127

127:                                              ; preds = %123, %119
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #11
  br label %981

128:                                              ; preds = %104
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %9, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %10, align 4
  br label %980

132:                                              ; No predecessors!
  br label %133

133:                                              ; preds = %132, %108
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #11
  %134 = getelementptr inbounds %"struct.cnpy::NpyArray", ptr %11, i32 0, i32 0
  %135 = load ptr, ptr %134, align 8, !tbaa !11
  store ptr %135, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 40, ptr %15) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %136 unwind label %143

136:                                              ; preds = %133
  invoke void @_ZN4cnpy8npy_loadENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"struct.cnpy::NpyArray") align 8 %15, ptr noundef %16)
          to label %137 unwind label %147

137:                                              ; preds = %136
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #11
  %138 = invoke noundef i64 @_Z11calcAllSizeRN4cnpy8NpyArrayE(ptr noundef nonnull align 8 dereferenceable(37) %15)
          to label %139 unwind label %152

139:                                              ; preds = %137
  %140 = icmp eq i64 %138, 32
  br i1 %140, label %141, label %142

141:                                              ; preds = %139
  br label %157

142:                                              ; preds = %139
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.3, i32 noundef 32, ptr noundef @__PRETTY_FUNCTION__.main) #12
  unreachable

143:                                              ; preds = %133
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %9, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %10, align 4
  br label %151

147:                                              ; preds = %136
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %9, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #11
  br label %151

151:                                              ; preds = %147, %143
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #11
  br label %979

152:                                              ; preds = %137
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %9, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %10, align 4
  br label %978

156:                                              ; No predecessors!
  br label %157

157:                                              ; preds = %156, %141
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #11
  %158 = getelementptr inbounds %"struct.cnpy::NpyArray", ptr %15, i32 0, i32 0
  %159 = load ptr, ptr %158, align 8, !tbaa !11
  store ptr %159, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 40, ptr %19) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %160 unwind label %167

160:                                              ; preds = %157
  invoke void @_ZN4cnpy8npy_loadENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"struct.cnpy::NpyArray") align 8 %19, ptr noundef %20)
          to label %161 unwind label %171

161:                                              ; preds = %160
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #11
  %162 = invoke noundef i64 @_Z11calcAllSizeRN4cnpy8NpyArrayE(ptr noundef nonnull align 8 dereferenceable(37) %19)
          to label %163 unwind label %176

163:                                              ; preds = %161
  %164 = icmp eq i64 %162, 51200
  br i1 %164, label %165, label %166

165:                                              ; preds = %163
  br label %181

166:                                              ; preds = %163
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 36, ptr noundef @__PRETTY_FUNCTION__.main) #12
  unreachable

167:                                              ; preds = %157
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %9, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %10, align 4
  br label %175

171:                                              ; preds = %160
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %9, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #11
  br label %175

175:                                              ; preds = %171, %167
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #11
  br label %977

176:                                              ; preds = %161
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %9, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %10, align 4
  br label %976

180:                                              ; No predecessors!
  br label %181

181:                                              ; preds = %180, %165
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #11
  %182 = getelementptr inbounds %"struct.cnpy::NpyArray", ptr %19, i32 0, i32 0
  %183 = load ptr, ptr %182, align 8, !tbaa !11
  store ptr %183, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 40, ptr %23) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %184 unwind label %191

184:                                              ; preds = %181
  invoke void @_ZN4cnpy8npy_loadENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"struct.cnpy::NpyArray") align 8 %23, ptr noundef %24)
          to label %185 unwind label %195

185:                                              ; preds = %184
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #11
  %186 = invoke noundef i64 @_Z11calcAllSizeRN4cnpy8NpyArrayE(ptr noundef nonnull align 8 dereferenceable(37) %23)
          to label %187 unwind label %200

187:                                              ; preds = %185
  %188 = icmp eq i64 %186, 64
  br i1 %188, label %189, label %190

189:                                              ; preds = %187
  br label %205

190:                                              ; preds = %187
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.3, i32 noundef 40, ptr noundef @__PRETTY_FUNCTION__.main) #12
  unreachable

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

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

199:                                              ; preds = %195, %191
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #11
  br label %975

200:                                              ; preds = %185
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %9, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %10, align 4
  br label %974

204:                                              ; No predecessors!
  br label %205

205:                                              ; preds = %204, %189
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #11
  %206 = getelementptr inbounds %"struct.cnpy::NpyArray", ptr %23, i32 0, i32 0
  %207 = load ptr, ptr %206, align 8, !tbaa !11
  store ptr %207, ptr %26, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 40, ptr %27) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %208 unwind label %215

208:                                              ; preds = %205
  invoke void @_ZN4cnpy8npy_loadENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"struct.cnpy::NpyArray") align 8 %27, ptr noundef %28)
          to label %209 unwind label %219

209:                                              ; preds = %208
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #11
  %210 = invoke noundef i64 @_Z11calcAllSizeRN4cnpy8NpyArrayE(ptr noundef nonnull align 8 dereferenceable(37) %27)
          to label %211 unwind label %224

211:                                              ; preds = %209
  %212 = icmp eq i64 %210, 3211264
  br i1 %212, label %213, label %214

213:                                              ; preds = %211
  br label %229

214:                                              ; preds = %211
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.3, i32 noundef 44, ptr noundef @__PRETTY_FUNCTION__.main) #12
  unreachable

215:                                              ; preds = %205
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %9, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %10, align 4
  br label %223

219:                                              ; preds = %208
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %9, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #11
  br label %223

223:                                              ; preds = %219, %215
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #11
  br label %973

224:                                              ; preds = %209
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %9, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %10, align 4
  br label %972

228:                                              ; No predecessors!
  br label %229

229:                                              ; preds = %228, %213
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #11
  %230 = getelementptr inbounds %"struct.cnpy::NpyArray", ptr %27, i32 0, i32 0
  %231 = load ptr, ptr %230, align 8, !tbaa !11
  store ptr %231, ptr %30, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 40, ptr %31) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %232 unwind label %243

232:                                              ; preds = %229
  invoke void @_ZN4cnpy8npy_loadENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"struct.cnpy::NpyArray") align 8 %31, ptr noundef %32)
          to label %233 unwind label %247

233:                                              ; preds = %232
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #11
  %234 = getelementptr inbounds %"struct.cnpy::NpyArray", ptr %31, i32 0, i32 0
  %235 = load ptr, ptr %234, align 8, !tbaa !11
  store ptr %235, ptr %34, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 40, ptr %35) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef @.str.13, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %236 unwind label %252

236:                                              ; preds = %233
  invoke void @_ZN4cnpy8npy_loadENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"struct.cnpy::NpyArray") align 8 %35, ptr noundef %36)
          to label %237 unwind label %256

237:                                              ; preds = %236
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #11
  %238 = invoke noundef i64 @_Z11calcAllSizeRN4cnpy8NpyArrayE(ptr noundef nonnull align 8 dereferenceable(37) %35)
          to label %239 unwind label %261

239:                                              ; preds = %237
  %240 = icmp eq i64 %238, 10240
  br i1 %240, label %241, label %242

241:                                              ; preds = %239
  br label %266

242:                                              ; preds = %239
  call void @__assert_fail(ptr noundef @.str.14, ptr noundef @.str.3, i32 noundef 51, ptr noundef @__PRETTY_FUNCTION__.main) #12
  unreachable

243:                                              ; preds = %229
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %9, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %10, align 4
  br label %251

247:                                              ; preds = %232
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %9, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #11
  br label %251

251:                                              ; preds = %247, %243
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #11
  br label %971

252:                                              ; preds = %233
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %9, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %10, align 4
  br label %260

256:                                              ; preds = %236
  %257 = landingpad { ptr, i32 }
          cleanup
  %258 = extractvalue { ptr, i32 } %257, 0
  store ptr %258, ptr %9, align 8
  %259 = extractvalue { ptr, i32 } %257, 1
  store i32 %259, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #11
  br label %260

260:                                              ; preds = %256, %252
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #11
  br label %970

261:                                              ; preds = %237
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %9, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %10, align 4
  br label %969

265:                                              ; No predecessors!
  br label %266

266:                                              ; preds = %265, %241
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #11
  %267 = getelementptr inbounds %"struct.cnpy::NpyArray", ptr %35, i32 0, i32 0
  %268 = load ptr, ptr %267, align 8, !tbaa !11
  store ptr %268, ptr %38, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 40, ptr %39) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef @.str.15, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %269 unwind label %276

269:                                              ; preds = %266
  invoke void @_ZN4cnpy8npy_loadENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"struct.cnpy::NpyArray") align 8 %39, ptr noundef %40)
          to label %270 unwind label %280

270:                                              ; preds = %269
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #11
  %271 = invoke noundef i64 @_Z11calcAllSizeRN4cnpy8NpyArrayE(ptr noundef nonnull align 8 dereferenceable(37) %39)
          to label %272 unwind label %285

272:                                              ; preds = %270
  %273 = icmp eq i64 %271, 10
  br i1 %273, label %274, label %275

274:                                              ; preds = %272
  br label %290

275:                                              ; preds = %272
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.3, i32 noundef 55, ptr noundef @__PRETTY_FUNCTION__.main) #12
  unreachable

276:                                              ; preds = %266
  %277 = landingpad { ptr, i32 }
          cleanup
  %278 = extractvalue { ptr, i32 } %277, 0
  store ptr %278, ptr %9, align 8
  %279 = extractvalue { ptr, i32 } %277, 1
  store i32 %279, ptr %10, align 4
  br label %284

280:                                              ; preds = %269
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %9, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #11
  br label %284

284:                                              ; preds = %280, %276
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #11
  br label %968

285:                                              ; preds = %270
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %9, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %10, align 4
  br label %967

289:                                              ; No predecessors!
  br label %290

290:                                              ; preds = %289, %274
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #11
  %291 = getelementptr inbounds %"struct.cnpy::NpyArray", ptr %39, i32 0, i32 0
  %292 = load ptr, ptr %291, align 8, !tbaa !11
  store ptr %292, ptr %42, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #11
  %293 = invoke noundef ptr @_Z13getConstArrayIfEPT_S0_i(float noundef 0x3F50624DE0000000, i32 noundef 25)
          to label %294 unwind label %308

294:                                              ; preds = %290
  store ptr %293, ptr %43, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #11
  %295 = invoke noundef ptr @_Z13getConstArrayIfEPT_S0_i(float noundef 0x3F50624DE0000000, i32 noundef 50176)
          to label %296 unwind label %312

296:                                              ; preds = %294
  store ptr %295, ptr %44, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 224, ptr %45) #11
  invoke void @_ZN7NetworkC1Ev(ptr noundef nonnull align 8 dereferenceable(224) %45)
          to label %297 unwind label %316

297:                                              ; preds = %296
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #11
  call void @llvm.lifetime.start.p0(i64 80, ptr %48) #11
  invoke void @_ZN14ConstantNeuronC1Efff(ptr noundef nonnull align 8 dereferenceable(80) %48, float noundef 5.000000e-01, float noundef 0.000000e+00, float noundef 1.000000e+09)
          to label %298 unwind label %320

298:                                              ; preds = %297
  invoke void @_ZN15CompositeNeuronI14ConstantNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(88) %47, ptr noundef nonnull align 8 dereferenceable(80) %48, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %299 unwind label %324

299:                                              ; preds = %298
  %300 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI14ConstantNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %45, i32 noundef 0, i32 noundef 784, ptr noundef %47, i1 noundef zeroext false)
          to label %301 unwind label %328

301:                                              ; preds = %299
  call void @_ZN14ConstantNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %47) #11
  call void @_ZN14ConstantNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %48) #11
  call void @llvm.lifetime.end.p0(i64 80, ptr %48) #11
  store ptr %300, ptr %46, align 8, !tbaa !9
  %302 = getelementptr inbounds %"struct.mnist::MNIST_dataset", ptr %6, i32 0, i32 1
  %303 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IhSaIhEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %302, i64 noundef 0) #11
  %304 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %303) #11
  %305 = icmp eq i64 %304, 784
  br i1 %305, label %306, label %307

306:                                              ; preds = %301
  br label %335

307:                                              ; preds = %301
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.3, i32 noundef 63, ptr noundef @__PRETTY_FUNCTION__.main) #12
  unreachable

308:                                              ; preds = %290
  %309 = landingpad { ptr, i32 }
          cleanup
  %310 = extractvalue { ptr, i32 } %309, 0
  store ptr %310, ptr %9, align 8
  %311 = extractvalue { ptr, i32 } %309, 1
  store i32 %311, ptr %10, align 4
  br label %966

312:                                              ; preds = %294
  %313 = landingpad { ptr, i32 }
          cleanup
  %314 = extractvalue { ptr, i32 } %313, 0
  store ptr %314, ptr %9, align 8
  %315 = extractvalue { ptr, i32 } %313, 1
  store i32 %315, ptr %10, align 4
  br label %965

316:                                              ; preds = %296
  %317 = landingpad { ptr, i32 }
          cleanup
  %318 = extractvalue { ptr, i32 } %317, 0
  store ptr %318, ptr %9, align 8
  %319 = extractvalue { ptr, i32 } %317, 1
  store i32 %319, ptr %10, align 4
  br label %964

320:                                              ; preds = %297
  %321 = landingpad { ptr, i32 }
          cleanup
  %322 = extractvalue { ptr, i32 } %321, 0
  store ptr %322, ptr %9, align 8
  %323 = extractvalue { ptr, i32 } %321, 1
  store i32 %323, ptr %10, align 4
  br label %333

324:                                              ; preds = %298
  %325 = landingpad { ptr, i32 }
          cleanup
  %326 = extractvalue { ptr, i32 } %325, 0
  store ptr %326, ptr %9, align 8
  %327 = extractvalue { ptr, i32 } %325, 1
  store i32 %327, ptr %10, align 4
  br label %332

328:                                              ; preds = %299
  %329 = landingpad { ptr, i32 }
          cleanup
  %330 = extractvalue { ptr, i32 } %329, 0
  store ptr %330, ptr %9, align 8
  %331 = extractvalue { ptr, i32 } %329, 1
  store i32 %331, ptr %10, align 4
  call void @_ZN14ConstantNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %47) #11
  br label %332

332:                                              ; preds = %328, %324
  call void @_ZN14ConstantNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %48) #11
  br label %333

333:                                              ; preds = %332, %320
  call void @llvm.lifetime.end.p0(i64 80, ptr %48) #11
  br label %963

334:                                              ; No predecessors!
  br label %335

335:                                              ; preds = %334, %306
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #11
  %336 = call noalias ptr @malloc(i64 noundef 256) #13
  store ptr %336, ptr %49, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #11
  store i32 0, ptr %50, align 4, !tbaa !5
  br label %337

337:                                              ; preds = %360, %335
  %338 = load i32, ptr %50, align 4, !tbaa !5
  %339 = icmp slt i32 %338, 32
  br i1 %339, label %341, label %340

340:                                              ; preds = %337
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #11
  br label %377

341:                                              ; preds = %337
  %342 = load i32, ptr %50, align 4, !tbaa !5
  %343 = add nsw i32 %342, 1
  call void @llvm.lifetime.start.p0(i64 112, ptr %52) #11
  %344 = load ptr, ptr %18, align 8, !tbaa !9
  %345 = load i32, ptr %50, align 4, !tbaa !5
  %346 = sext i32 %345 to i64
  %347 = getelementptr inbounds float, ptr %344, i64 %346
  %348 = load float, ptr %347, align 4, !tbaa !18
  %349 = fpext float %348 to double
  %350 = fdiv double %349, 1.000000e+03
  %351 = fptrunc double %350 to float
  invoke void @_ZN8TJNeuronC1Effffff(ptr noundef nonnull align 8 dereferenceable(112) %52, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 5.000000e-01, float noundef 0x3F70624DE0000000, float noundef 0x3F50624DE0000000, float noundef %351)
          to label %352 unwind label %363

352:                                              ; preds = %341
  invoke void @_ZN15CompositeNeuronI8TJNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(120) %51, ptr noundef nonnull align 8 dereferenceable(112) %52, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %353 unwind label %367

353:                                              ; preds = %352
  %354 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI8TJNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %45, i32 noundef %343, i32 noundef 784, ptr noundef %51, i1 noundef zeroext false)
          to label %355 unwind label %371

355:                                              ; preds = %353
  %356 = load ptr, ptr %49, align 8, !tbaa !9
  %357 = load i32, ptr %50, align 4, !tbaa !5
  %358 = sext i32 %357 to i64
  %359 = getelementptr inbounds ptr, ptr %356, i64 %358
  store ptr %354, ptr %359, align 8, !tbaa !9
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %51) #11
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %52) #11
  call void @llvm.lifetime.end.p0(i64 112, ptr %52) #11
  br label %360

360:                                              ; preds = %355
  %361 = load i32, ptr %50, align 4, !tbaa !5
  %362 = add nsw i32 %361, 1
  store i32 %362, ptr %50, align 4, !tbaa !5
  br label %337, !llvm.loop !20

363:                                              ; preds = %341
  %364 = landingpad { ptr, i32 }
          cleanup
  %365 = extractvalue { ptr, i32 } %364, 0
  store ptr %365, ptr %9, align 8
  %366 = extractvalue { ptr, i32 } %364, 1
  store i32 %366, ptr %10, align 4
  br label %376

367:                                              ; preds = %352
  %368 = landingpad { ptr, i32 }
          cleanup
  %369 = extractvalue { ptr, i32 } %368, 0
  store ptr %369, ptr %9, align 8
  %370 = extractvalue { ptr, i32 } %368, 1
  store i32 %370, ptr %10, align 4
  br label %375

371:                                              ; preds = %353
  %372 = landingpad { ptr, i32 }
          cleanup
  %373 = extractvalue { ptr, i32 } %372, 0
  store ptr %373, ptr %9, align 8
  %374 = extractvalue { ptr, i32 } %372, 1
  store i32 %374, ptr %10, align 4
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %51) #11
  br label %375

375:                                              ; preds = %371, %367
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %52) #11
  br label %376

376:                                              ; preds = %375, %363
  call void @llvm.lifetime.end.p0(i64 112, ptr %52) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #11
  br label %962

377:                                              ; preds = %340
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #11
  %378 = call noalias ptr @malloc(i64 noundef 256) #13
  store ptr %378, ptr %53, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #11
  store i32 0, ptr %54, align 4, !tbaa !5
  br label %379

379:                                              ; preds = %392, %377
  %380 = load i32, ptr %54, align 4, !tbaa !5
  %381 = icmp slt i32 %380, 32
  br i1 %381, label %383, label %382

382:                                              ; preds = %379
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #11
  br label %409

383:                                              ; preds = %379
  call void @llvm.lifetime.start.p0(i64 80, ptr %56) #11
  invoke void @_ZN9MaxNeuronC1Ei(ptr noundef nonnull align 8 dereferenceable(76) %56, i32 noundef 4)
          to label %384 unwind label %395

384:                                              ; preds = %383
  invoke void @_ZN15CompositeNeuronI9MaxNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(84) %55, ptr noundef nonnull align 8 dereferenceable(76) %56, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %385 unwind label %399

385:                                              ; preds = %384
  %386 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI9MaxNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %45, i32 noundef 34, i32 noundef 196, ptr noundef %55, i1 noundef zeroext false)
          to label %387 unwind label %403

387:                                              ; preds = %385
  %388 = load ptr, ptr %53, align 8, !tbaa !9
  %389 = load i32, ptr %54, align 4, !tbaa !5
  %390 = sext i32 %389 to i64
  %391 = getelementptr inbounds ptr, ptr %388, i64 %390
  store ptr %386, ptr %391, align 8, !tbaa !9
  call void @_ZN9MaxNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(84) %55) #11
  call void @_ZN9MaxNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(76) %56) #11
  call void @llvm.lifetime.end.p0(i64 80, ptr %56) #11
  br label %392

392:                                              ; preds = %387
  %393 = load i32, ptr %54, align 4, !tbaa !5
  %394 = add nsw i32 %393, 1
  store i32 %394, ptr %54, align 4, !tbaa !5
  br label %379, !llvm.loop !22

395:                                              ; preds = %383
  %396 = landingpad { ptr, i32 }
          cleanup
  %397 = extractvalue { ptr, i32 } %396, 0
  store ptr %397, ptr %9, align 8
  %398 = extractvalue { ptr, i32 } %396, 1
  store i32 %398, ptr %10, align 4
  br label %408

399:                                              ; preds = %384
  %400 = landingpad { ptr, i32 }
          cleanup
  %401 = extractvalue { ptr, i32 } %400, 0
  store ptr %401, ptr %9, align 8
  %402 = extractvalue { ptr, i32 } %400, 1
  store i32 %402, ptr %10, align 4
  br label %407

403:                                              ; preds = %385
  %404 = landingpad { ptr, i32 }
          cleanup
  %405 = extractvalue { ptr, i32 } %404, 0
  store ptr %405, ptr %9, align 8
  %406 = extractvalue { ptr, i32 } %404, 1
  store i32 %406, ptr %10, align 4
  call void @_ZN9MaxNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(84) %55) #11
  br label %407

407:                                              ; preds = %403, %399
  call void @_ZN9MaxNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(76) %56) #11
  br label %408

408:                                              ; preds = %407, %395
  call void @llvm.lifetime.end.p0(i64 80, ptr %56) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #11
  br label %961

409:                                              ; preds = %382
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #11
  %410 = call noalias ptr @malloc(i64 noundef 512) #13
  store ptr %410, ptr %57, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #11
  store i32 0, ptr %58, align 4, !tbaa !5
  br label %411

411:                                              ; preds = %434, %409
  %412 = load i32, ptr %58, align 4, !tbaa !5
  %413 = icmp slt i32 %412, 64
  br i1 %413, label %415, label %414

414:                                              ; preds = %411
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #11
  br label %451

415:                                              ; preds = %411
  %416 = load i32, ptr %58, align 4, !tbaa !5
  %417 = add nsw i32 65, %416
  call void @llvm.lifetime.start.p0(i64 112, ptr %60) #11
  %418 = load ptr, ptr %26, align 8, !tbaa !9
  %419 = load i32, ptr %58, align 4, !tbaa !5
  %420 = sext i32 %419 to i64
  %421 = getelementptr inbounds float, ptr %418, i64 %420
  %422 = load float, ptr %421, align 4, !tbaa !18
  %423 = fpext float %422 to double
  %424 = fdiv double %423, 1.000000e+03
  %425 = fptrunc double %424 to float
  invoke void @_ZN8TJNeuronC1Effffff(ptr noundef nonnull align 8 dereferenceable(112) %60, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 5.000000e-01, float noundef 0x3F70624DE0000000, float noundef 0x3F50624DE0000000, float noundef %425)
          to label %426 unwind label %437

426:                                              ; preds = %415
  invoke void @_ZN15CompositeNeuronI8TJNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(120) %59, ptr noundef nonnull align 8 dereferenceable(112) %60, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %427 unwind label %441

427:                                              ; preds = %426
  %428 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI8TJNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %45, i32 noundef %417, i32 noundef 196, ptr noundef %59, i1 noundef zeroext false)
          to label %429 unwind label %445

429:                                              ; preds = %427
  %430 = load ptr, ptr %57, align 8, !tbaa !9
  %431 = load i32, ptr %58, align 4, !tbaa !5
  %432 = sext i32 %431 to i64
  %433 = getelementptr inbounds ptr, ptr %430, i64 %432
  store ptr %428, ptr %433, align 8, !tbaa !9
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %59) #11
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %60) #11
  call void @llvm.lifetime.end.p0(i64 112, ptr %60) #11
  br label %434

434:                                              ; preds = %429
  %435 = load i32, ptr %58, align 4, !tbaa !5
  %436 = add nsw i32 %435, 1
  store i32 %436, ptr %58, align 4, !tbaa !5
  br label %411, !llvm.loop !23

437:                                              ; preds = %415
  %438 = landingpad { ptr, i32 }
          cleanup
  %439 = extractvalue { ptr, i32 } %438, 0
  store ptr %439, ptr %9, align 8
  %440 = extractvalue { ptr, i32 } %438, 1
  store i32 %440, ptr %10, align 4
  br label %450

441:                                              ; preds = %426
  %442 = landingpad { ptr, i32 }
          cleanup
  %443 = extractvalue { ptr, i32 } %442, 0
  store ptr %443, ptr %9, align 8
  %444 = extractvalue { ptr, i32 } %442, 1
  store i32 %444, ptr %10, align 4
  br label %449

445:                                              ; preds = %427
  %446 = landingpad { ptr, i32 }
          cleanup
  %447 = extractvalue { ptr, i32 } %446, 0
  store ptr %447, ptr %9, align 8
  %448 = extractvalue { ptr, i32 } %446, 1
  store i32 %448, ptr %10, align 4
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %59) #11
  br label %449

449:                                              ; preds = %445, %441
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %60) #11
  br label %450

450:                                              ; preds = %449, %437
  call void @llvm.lifetime.end.p0(i64 112, ptr %60) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #11
  br label %960

451:                                              ; preds = %414
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #11
  %452 = call noalias ptr @malloc(i64 noundef 512) #13
  store ptr %452, ptr %61, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #11
  store i32 0, ptr %62, align 4, !tbaa !5
  br label %453

453:                                              ; preds = %468, %451
  %454 = load i32, ptr %62, align 4, !tbaa !5
  %455 = icmp slt i32 %454, 64
  br i1 %455, label %457, label %456

456:                                              ; preds = %453
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #11
  br label %485

457:                                              ; preds = %453
  %458 = load i32, ptr %62, align 4, !tbaa !5
  %459 = add nsw i32 129, %458
  call void @llvm.lifetime.start.p0(i64 80, ptr %64) #11
  invoke void @_ZN9MaxNeuronC1Ei(ptr noundef nonnull align 8 dereferenceable(76) %64, i32 noundef 4)
          to label %460 unwind label %471

460:                                              ; preds = %457
  invoke void @_ZN15CompositeNeuronI9MaxNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(84) %63, ptr noundef nonnull align 8 dereferenceable(76) %64, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %461 unwind label %475

461:                                              ; preds = %460
  %462 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI9MaxNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %45, i32 noundef %459, i32 noundef 49, ptr noundef %63, i1 noundef zeroext false)
          to label %463 unwind label %479

463:                                              ; preds = %461
  %464 = load ptr, ptr %61, align 8, !tbaa !9
  %465 = load i32, ptr %62, align 4, !tbaa !5
  %466 = sext i32 %465 to i64
  %467 = getelementptr inbounds ptr, ptr %464, i64 %466
  store ptr %462, ptr %467, align 8, !tbaa !9
  call void @_ZN9MaxNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(84) %63) #11
  call void @_ZN9MaxNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(76) %64) #11
  call void @llvm.lifetime.end.p0(i64 80, ptr %64) #11
  br label %468

468:                                              ; preds = %463
  %469 = load i32, ptr %62, align 4, !tbaa !5
  %470 = add nsw i32 %469, 1
  store i32 %470, ptr %62, align 4, !tbaa !5
  br label %453, !llvm.loop !24

471:                                              ; preds = %457
  %472 = landingpad { ptr, i32 }
          cleanup
  %473 = extractvalue { ptr, i32 } %472, 0
  store ptr %473, ptr %9, align 8
  %474 = extractvalue { ptr, i32 } %472, 1
  store i32 %474, ptr %10, align 4
  br label %484

475:                                              ; preds = %460
  %476 = landingpad { ptr, i32 }
          cleanup
  %477 = extractvalue { ptr, i32 } %476, 0
  store ptr %477, ptr %9, align 8
  %478 = extractvalue { ptr, i32 } %476, 1
  store i32 %478, ptr %10, align 4
  br label %483

479:                                              ; preds = %461
  %480 = landingpad { ptr, i32 }
          cleanup
  %481 = extractvalue { ptr, i32 } %480, 0
  store ptr %481, ptr %9, align 8
  %482 = extractvalue { ptr, i32 } %480, 1
  store i32 %482, ptr %10, align 4
  call void @_ZN9MaxNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(84) %63) #11
  br label %483

483:                                              ; preds = %479, %475
  call void @_ZN9MaxNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(76) %64) #11
  br label %484

484:                                              ; preds = %483, %471
  call void @llvm.lifetime.end.p0(i64 80, ptr %64) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #11
  br label %959

485:                                              ; preds = %456
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #11
  call void @llvm.lifetime.start.p0(i64 112, ptr %67) #11
  invoke void @_ZN8TJNeuronC1Effffff(ptr noundef nonnull align 8 dereferenceable(112) %67, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 5.000000e-01, float noundef 0x3F70624DE0000000, float noundef 0x3F50624DE0000000, float noundef 0.000000e+00)
          to label %486 unwind label %502

486:                                              ; preds = %485
  invoke void @_ZN15CompositeNeuronI8TJNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(120) %66, ptr noundef nonnull align 8 dereferenceable(112) %67, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %487 unwind label %506

487:                                              ; preds = %486
  %488 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI8TJNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %45, i32 noundef 193, i32 noundef 1024, ptr noundef %66, i1 noundef zeroext false)
          to label %489 unwind label %510

489:                                              ; preds = %487
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %66) #11
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %67) #11
  call void @llvm.lifetime.end.p0(i64 112, ptr %67) #11
  store ptr %488, ptr %65, align 8, !tbaa !9
  %490 = invoke noundef i64 @_Z11calcAllSizeRN4cnpy8NpyArrayE(ptr noundef nonnull align 8 dereferenceable(37) %31)
          to label %491 unwind label %516

491:                                              ; preds = %489
  %492 = load ptr, ptr %65, align 8, !tbaa !9
  %493 = load ptr, ptr %492, align 8, !tbaa !25
  %494 = getelementptr inbounds ptr, ptr %493, i64 10
  %495 = load ptr, ptr %494, align 8
  %496 = invoke noundef i32 %495(ptr noundef nonnull align 8 dereferenceable(56) %492)
          to label %497 unwind label %516

497:                                              ; preds = %491
  %498 = sext i32 %496 to i64
  %499 = icmp eq i64 %490, %498
  br i1 %499, label %500, label %501

500:                                              ; preds = %497
  br label %521

501:                                              ; preds = %497
  call void @__assert_fail(ptr noundef @.str.18, ptr noundef @.str.3, i32 noundef 86, ptr noundef @__PRETTY_FUNCTION__.main) #12
  unreachable

502:                                              ; preds = %485
  %503 = landingpad { ptr, i32 }
          cleanup
  %504 = extractvalue { ptr, i32 } %503, 0
  store ptr %504, ptr %9, align 8
  %505 = extractvalue { ptr, i32 } %503, 1
  store i32 %505, ptr %10, align 4
  br label %515

506:                                              ; preds = %486
  %507 = landingpad { ptr, i32 }
          cleanup
  %508 = extractvalue { ptr, i32 } %507, 0
  store ptr %508, ptr %9, align 8
  %509 = extractvalue { ptr, i32 } %507, 1
  store i32 %509, ptr %10, align 4
  br label %514

510:                                              ; preds = %487
  %511 = landingpad { ptr, i32 }
          cleanup
  %512 = extractvalue { ptr, i32 } %511, 0
  store ptr %512, ptr %9, align 8
  %513 = extractvalue { ptr, i32 } %511, 1
  store i32 %513, ptr %10, align 4
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %66) #11
  br label %514

514:                                              ; preds = %510, %506
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %67) #11
  br label %515

515:                                              ; preds = %514, %502
  call void @llvm.lifetime.end.p0(i64 112, ptr %67) #11
  br label %958

516:                                              ; preds = %491, %489
  %517 = landingpad { ptr, i32 }
          cleanup
  %518 = extractvalue { ptr, i32 } %517, 0
  store ptr %518, ptr %9, align 8
  %519 = extractvalue { ptr, i32 } %517, 1
  store i32 %519, ptr %10, align 4
  br label %958

520:                                              ; No predecessors!
  br label %521

521:                                              ; preds = %520, %500
  call void @llvm.lifetime.start.p0(i64 4, ptr %68) #11
  store i32 0, ptr %68, align 4, !tbaa !5
  br label %522

522:                                              ; preds = %551, %521
  %523 = load i32, ptr %68, align 4, !tbaa !5
  %524 = load ptr, ptr %65, align 8, !tbaa !9
  %525 = load ptr, ptr %524, align 8, !tbaa !25
  %526 = getelementptr inbounds ptr, ptr %525, i64 10
  %527 = load ptr, ptr %526, align 8
  %528 = invoke noundef i32 %527(ptr noundef nonnull align 8 dereferenceable(56) %524)
          to label %529 unwind label %532

529:                                              ; preds = %522
  %530 = icmp slt i32 %523, %528
  br i1 %530, label %536, label %531

531:                                              ; preds = %529
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #11
  br label %559

532:                                              ; preds = %522
  %533 = landingpad { ptr, i32 }
          cleanup
  %534 = extractvalue { ptr, i32 } %533, 0
  store ptr %534, ptr %9, align 8
  %535 = extractvalue { ptr, i32 } %533, 1
  store i32 %535, ptr %10, align 4
  br label %558

536:                                              ; preds = %529
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #11
  %537 = load ptr, ptr %65, align 8, !tbaa !9
  %538 = load i32, ptr %68, align 4, !tbaa !5
  %539 = load ptr, ptr %537, align 8, !tbaa !25
  %540 = getelementptr inbounds ptr, ptr %539, i64 12
  %541 = load ptr, ptr %540, align 8
  %542 = invoke noundef ptr %541(ptr noundef nonnull align 8 dereferenceable(56) %537, i32 noundef %538)
          to label %543 unwind label %554

543:                                              ; preds = %536
  store ptr %542, ptr %69, align 8, !tbaa !9
  %544 = load ptr, ptr %69, align 8, !tbaa !9
  %545 = load ptr, ptr %34, align 8, !tbaa !9
  %546 = load i32, ptr %68, align 4, !tbaa !5
  %547 = sext i32 %546 to i64
  %548 = getelementptr inbounds float, ptr %545, i64 %547
  %549 = load float, ptr %548, align 4, !tbaa !18
  invoke void @_ZN8TJNeuron4setIEf(ptr noundef nonnull align 8 dereferenceable(112) %544, float noundef %549)
          to label %550 unwind label %554

550:                                              ; preds = %543
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #11
  br label %551

551:                                              ; preds = %550
  %552 = load i32, ptr %68, align 4, !tbaa !5
  %553 = add nsw i32 %552, 1
  store i32 %553, ptr %68, align 4, !tbaa !5
  br label %522, !llvm.loop !27

554:                                              ; preds = %543, %536
  %555 = landingpad { ptr, i32 }
          cleanup
  %556 = extractvalue { ptr, i32 } %555, 0
  store ptr %556, ptr %9, align 8
  %557 = extractvalue { ptr, i32 } %555, 1
  store i32 %557, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #11
  br label %558

558:                                              ; preds = %554, %532
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #11
  br label %958

559:                                              ; preds = %531
  call void @llvm.lifetime.start.p0(i64 4, ptr %70) #11
  store i32 0, ptr %70, align 4, !tbaa !5
  br label %560

560:                                              ; preds = %580, %559
  %561 = load i32, ptr %70, align 4, !tbaa !5
  %562 = icmp slt i32 %561, 32
  br i1 %562, label %564, label %563

563:                                              ; preds = %560
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #11
  br label %587

564:                                              ; preds = %560
  %565 = load ptr, ptr %46, align 8, !tbaa !9
  %566 = load ptr, ptr %49, align 8, !tbaa !9
  %567 = load i32, ptr %70, align 4, !tbaa !5
  %568 = sext i32 %567 to i64
  %569 = getelementptr inbounds ptr, ptr %566, i64 %568
  %570 = load ptr, ptr %569, align 8, !tbaa !9
  %571 = load ptr, ptr %14, align 8, !tbaa !9
  %572 = load i32, ptr %70, align 4, !tbaa !5
  %573 = mul nsw i32 %572, 5
  %574 = mul nsw i32 %573, 5
  %575 = sext i32 %574 to i64
  %576 = getelementptr inbounds float, ptr %571, i64 %575
  %577 = load ptr, ptr %43, align 8, !tbaa !9
  %578 = invoke noundef i32 @_ZN7Network11connectConvI15CompositeNeuronI14ConstantNeuron13StaticSynapseES1_I8TJNeuronS3_EEEiP10PopulationIT_EPS7_IT0_EPfSE_P9SpikeTypeiiii(ptr noundef nonnull align 8 dereferenceable(224) %45, ptr noundef %565, ptr noundef %570, ptr noundef %576, ptr noundef %577, ptr noundef null, i32 noundef 28, i32 noundef 28, i32 noundef 5, i32 noundef 5)
          to label %579 unwind label %583

579:                                              ; preds = %564
  br label %580

580:                                              ; preds = %579
  %581 = load i32, ptr %70, align 4, !tbaa !5
  %582 = add nsw i32 %581, 1
  store i32 %582, ptr %70, align 4, !tbaa !5
  br label %560, !llvm.loop !28

583:                                              ; preds = %564
  %584 = landingpad { ptr, i32 }
          cleanup
  %585 = extractvalue { ptr, i32 } %584, 0
  store ptr %585, ptr %9, align 8
  %586 = extractvalue { ptr, i32 } %584, 1
  store i32 %586, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #11
  br label %958

587:                                              ; preds = %563
  call void @llvm.lifetime.start.p0(i64 4, ptr %71) #11
  store i32 0, ptr %71, align 4, !tbaa !5
  br label %588

588:                                              ; preds = %605, %587
  %589 = load i32, ptr %71, align 4, !tbaa !5
  %590 = icmp slt i32 %589, 32
  br i1 %590, label %592, label %591

591:                                              ; preds = %588
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #11
  br label %612

592:                                              ; preds = %588
  %593 = load ptr, ptr %49, align 8, !tbaa !9
  %594 = load i32, ptr %71, align 4, !tbaa !5
  %595 = sext i32 %594 to i64
  %596 = getelementptr inbounds ptr, ptr %593, i64 %595
  %597 = load ptr, ptr %596, align 8, !tbaa !9
  %598 = load ptr, ptr %53, align 8, !tbaa !9
  %599 = load i32, ptr %71, align 4, !tbaa !5
  %600 = sext i32 %599 to i64
  %601 = getelementptr inbounds ptr, ptr %598, i64 %600
  %602 = load ptr, ptr %601, align 8, !tbaa !9
  %603 = invoke noundef i32 @_ZN7Network14connectPoolingI15CompositeNeuronI8TJNeuron13StaticSynapseES1_I9MaxNeuronS3_EEEiP10PopulationIT_EPS7_IT0_Efiiii(ptr noundef nonnull align 8 dereferenceable(224) %45, ptr noundef %597, ptr noundef %602, float noundef 0x3F50624DE0000000, i32 noundef 28, i32 noundef 28, i32 noundef 2, i32 noundef 2)
          to label %604 unwind label %608

604:                                              ; preds = %592
  br label %605

605:                                              ; preds = %604
  %606 = load i32, ptr %71, align 4, !tbaa !5
  %607 = add nsw i32 %606, 1
  store i32 %607, ptr %71, align 4, !tbaa !5
  br label %588, !llvm.loop !29

608:                                              ; preds = %592
  %609 = landingpad { ptr, i32 }
          cleanup
  %610 = extractvalue { ptr, i32 } %609, 0
  store ptr %610, ptr %9, align 8
  %611 = extractvalue { ptr, i32 } %609, 1
  store i32 %611, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #11
  br label %958

612:                                              ; preds = %591
  call void @llvm.lifetime.start.p0(i64 4, ptr %72) #11
  store i32 0, ptr %72, align 4, !tbaa !5
  br label %613

613:                                              ; preds = %656, %612
  %614 = load i32, ptr %72, align 4, !tbaa !5
  %615 = icmp slt i32 %614, 64
  br i1 %615, label %617, label %616

616:                                              ; preds = %613
  store i32 23, ptr %73, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #11
  br label %659

617:                                              ; preds = %613
  call void @llvm.lifetime.start.p0(i64 4, ptr %74) #11
  store i32 0, ptr %74, align 4, !tbaa !5
  br label %618

618:                                              ; preds = %648, %617
  %619 = load i32, ptr %74, align 4, !tbaa !5
  %620 = icmp slt i32 %619, 32
  br i1 %620, label %622, label %621

621:                                              ; preds = %618
  store i32 26, ptr %73, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #11
  br label %655

622:                                              ; preds = %618
  %623 = load ptr, ptr %53, align 8, !tbaa !9
  %624 = load i32, ptr %74, align 4, !tbaa !5
  %625 = sext i32 %624 to i64
  %626 = getelementptr inbounds ptr, ptr %623, i64 %625
  %627 = load ptr, ptr %626, align 8, !tbaa !9
  %628 = load ptr, ptr %57, align 8, !tbaa !9
  %629 = load i32, ptr %72, align 4, !tbaa !5
  %630 = sext i32 %629 to i64
  %631 = getelementptr inbounds ptr, ptr %628, i64 %630
  %632 = load ptr, ptr %631, align 8, !tbaa !9
  %633 = load ptr, ptr %22, align 8, !tbaa !9
  %634 = load i32, ptr %74, align 4, !tbaa !5
  %635 = mul nsw i32 %634, 64
  %636 = mul nsw i32 %635, 5
  %637 = mul nsw i32 %636, 5
  %638 = sext i32 %637 to i64
  %639 = getelementptr inbounds float, ptr %633, i64 %638
  %640 = load i32, ptr %72, align 4, !tbaa !5
  %641 = mul nsw i32 %640, 5
  %642 = mul nsw i32 %641, 5
  %643 = sext i32 %642 to i64
  %644 = getelementptr inbounds float, ptr %639, i64 %643
  %645 = load ptr, ptr %43, align 8, !tbaa !9
  %646 = invoke noundef i32 @_ZN7Network11connectConvI15CompositeNeuronI9MaxNeuron13StaticSynapseES1_I8TJNeuronS3_EEEiP10PopulationIT_EPS7_IT0_EPfSE_P9SpikeTypeiiii(ptr noundef nonnull align 8 dereferenceable(224) %45, ptr noundef %627, ptr noundef %632, ptr noundef %644, ptr noundef %645, ptr noundef null, i32 noundef 14, i32 noundef 14, i32 noundef 5, i32 noundef 5)
          to label %647 unwind label %651

647:                                              ; preds = %622
  br label %648

648:                                              ; preds = %647
  %649 = load i32, ptr %74, align 4, !tbaa !5
  %650 = add nsw i32 %649, 1
  store i32 %650, ptr %74, align 4, !tbaa !5
  br label %618, !llvm.loop !30

651:                                              ; preds = %622
  %652 = landingpad { ptr, i32 }
          cleanup
  %653 = extractvalue { ptr, i32 } %652, 0
  store ptr %653, ptr %9, align 8
  %654 = extractvalue { ptr, i32 } %652, 1
  store i32 %654, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #11
  br label %958

655:                                              ; preds = %621
  br label %656

656:                                              ; preds = %655
  %657 = load i32, ptr %72, align 4, !tbaa !5
  %658 = add nsw i32 %657, 1
  store i32 %658, ptr %72, align 4, !tbaa !5
  br label %613, !llvm.loop !31

659:                                              ; preds = %616
  call void @llvm.lifetime.start.p0(i64 4, ptr %75) #11
  store i32 0, ptr %75, align 4, !tbaa !5
  br label %660

660:                                              ; preds = %677, %659
  %661 = load i32, ptr %75, align 4, !tbaa !5
  %662 = icmp slt i32 %661, 64
  br i1 %662, label %664, label %663

663:                                              ; preds = %660
  store i32 29, ptr %73, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #11
  br label %684

664:                                              ; preds = %660
  %665 = load ptr, ptr %57, align 8, !tbaa !9
  %666 = load i32, ptr %75, align 4, !tbaa !5
  %667 = sext i32 %666 to i64
  %668 = getelementptr inbounds ptr, ptr %665, i64 %667
  %669 = load ptr, ptr %668, align 8, !tbaa !9
  %670 = load ptr, ptr %61, align 8, !tbaa !9
  %671 = load i32, ptr %75, align 4, !tbaa !5
  %672 = sext i32 %671 to i64
  %673 = getelementptr inbounds ptr, ptr %670, i64 %672
  %674 = load ptr, ptr %673, align 8, !tbaa !9
  %675 = invoke noundef i32 @_ZN7Network14connectPoolingI15CompositeNeuronI8TJNeuron13StaticSynapseES1_I9MaxNeuronS3_EEEiP10PopulationIT_EPS7_IT0_Efiiii(ptr noundef nonnull align 8 dereferenceable(224) %45, ptr noundef %669, ptr noundef %674, float noundef 0x3F50624DE0000000, i32 noundef 14, i32 noundef 14, i32 noundef 2, i32 noundef 2)
          to label %676 unwind label %680

676:                                              ; preds = %664
  br label %677

677:                                              ; preds = %676
  %678 = load i32, ptr %75, align 4, !tbaa !5
  %679 = add nsw i32 %678, 1
  store i32 %679, ptr %75, align 4, !tbaa !5
  br label %660, !llvm.loop !32

680:                                              ; preds = %664
  %681 = landingpad { ptr, i32 }
          cleanup
  %682 = extractvalue { ptr, i32 } %681, 0
  store ptr %682, ptr %9, align 8
  %683 = extractvalue { ptr, i32 } %681, 1
  store i32 %683, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #11
  br label %958

684:                                              ; preds = %663
  call void @llvm.lifetime.start.p0(i64 4, ptr %76) #11
  store i32 0, ptr %76, align 4, !tbaa !5
  br label %685

685:                                              ; preds = %707, %684
  %686 = load i32, ptr %76, align 4, !tbaa !5
  %687 = icmp slt i32 %686, 64
  br i1 %687, label %689, label %688

688:                                              ; preds = %685
  store i32 32, ptr %73, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %76) #11
  br label %714

689:                                              ; preds = %685
  %690 = load ptr, ptr %61, align 8, !tbaa !9
  %691 = load i32, ptr %76, align 4, !tbaa !5
  %692 = sext i32 %691 to i64
  %693 = getelementptr inbounds ptr, ptr %690, i64 %692
  %694 = load ptr, ptr %693, align 8, !tbaa !9
  %695 = load ptr, ptr %65, align 8, !tbaa !9
  %696 = load ptr, ptr %30, align 8, !tbaa !9
  %697 = load i32, ptr %76, align 4, !tbaa !5
  %698 = mul nsw i32 %697, 28
  %699 = sdiv i32 %698, 4
  %700 = mul nsw i32 %699, 28
  %701 = sdiv i32 %700, 4
  %702 = sext i32 %701 to i64
  %703 = getelementptr inbounds float, ptr %696, i64 %702
  %704 = load ptr, ptr %44, align 8, !tbaa !9
  %705 = invoke noundef i32 @_ZN7Network7connectI15CompositeNeuronI9MaxNeuron13StaticSynapseES1_I8TJNeuronS3_EEEiP10PopulationIT_EPS7_IT0_EPfSE_P9SpikeTypei(ptr noundef nonnull align 8 dereferenceable(224) %45, ptr noundef %694, ptr noundef %695, ptr noundef %703, ptr noundef %704, ptr noundef null, i32 noundef 50176)
          to label %706 unwind label %710

706:                                              ; preds = %689
  br label %707

707:                                              ; preds = %706
  %708 = load i32, ptr %76, align 4, !tbaa !5
  %709 = add nsw i32 %708, 1
  store i32 %709, ptr %76, align 4, !tbaa !5
  br label %685, !llvm.loop !33

710:                                              ; preds = %689
  %711 = landingpad { ptr, i32 }
          cleanup
  %712 = extractvalue { ptr, i32 } %711, 0
  store ptr %712, ptr %9, align 8
  %713 = extractvalue { ptr, i32 } %711, 1
  store i32 %713, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %76) #11
  br label %958

714:                                              ; preds = %688
  call void @llvm.lifetime.start.p0(i64 8, ptr %77) #11
  %715 = call noalias ptr @malloc(i64 noundef 4096) #13
  store ptr %715, ptr %77, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %78) #11
  %716 = call noalias ptr @malloc(i64 noundef 40) #13
  store ptr %716, ptr %78, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %79) #11
  call void @llvm.memset.p0.i64(ptr align 8 %79, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 48, ptr %80) #11
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %80) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr %81) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %82) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %82) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %81, ptr noundef @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %82)
          to label %717 unwind label %728

717:                                              ; preds = %714
  %718 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %80, ptr noundef nonnull align 8 dereferenceable(32) %81)
          to label %719 unwind label %732

719:                                              ; preds = %717
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %718, ptr align 8 %79, i64 16, i1 false), !tbaa.struct !34
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %82) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %82) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %81) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr %83) #11
  invoke void @_ZN18SingleGPUSimulatorC1EP7Networkf(ptr noundef nonnull align 8 dereferenceable(20) %83, ptr noundef %45, float noundef 0x3F50624DE0000000)
          to label %720 unwind label %737

720:                                              ; preds = %719
  call void @llvm.lifetime.start.p0(i64 4, ptr %84) #11
  store i32 0, ptr %84, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %85) #11
  store i32 0, ptr %85, align 4, !tbaa !5
  br label %721

721:                                              ; preds = %936, %720
  %722 = load i32, ptr %85, align 4, !tbaa !5
  %723 = sext i32 %722 to i64
  %724 = getelementptr inbounds %"struct.mnist::MNIST_dataset", ptr %6, i32 0, i32 1
  %725 = call noundef i64 @_ZNKSt6vectorIS_IhSaIhEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %724) #11
  %726 = icmp ult i64 %723, %725
  br i1 %726, label %741, label %727

727:                                              ; preds = %721
  store i32 35, ptr %73, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %85) #11
  br label %941

728:                                              ; preds = %714
  %729 = landingpad { ptr, i32 }
          cleanup
  %730 = extractvalue { ptr, i32 } %729, 0
  store ptr %730, ptr %9, align 8
  %731 = extractvalue { ptr, i32 } %729, 1
  store i32 %731, ptr %10, align 4
  br label %736

732:                                              ; preds = %717
  %733 = landingpad { ptr, i32 }
          cleanup
  %734 = extractvalue { ptr, i32 } %733, 0
  store ptr %734, ptr %9, align 8
  %735 = extractvalue { ptr, i32 } %733, 1
  store i32 %735, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #11
  br label %736

736:                                              ; preds = %732, %728
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %82) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %82) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %81) #11
  br label %957

737:                                              ; preds = %719
  %738 = landingpad { ptr, i32 }
          cleanup
  %739 = extractvalue { ptr, i32 } %738, 0
  store ptr %739, ptr %9, align 8
  %740 = extractvalue { ptr, i32 } %738, 1
  store i32 %740, ptr %10, align 4
  br label %956

741:                                              ; preds = %721
  call void @llvm.lifetime.start.p0(i64 4, ptr %86) #11
  store i32 0, ptr %86, align 4, !tbaa !5
  br label %742

742:                                              ; preds = %778, %741
  %743 = load i32, ptr %86, align 4, !tbaa !5
  %744 = load ptr, ptr %46, align 8, !tbaa !9
  %745 = load ptr, ptr %744, align 8, !tbaa !25
  %746 = getelementptr inbounds ptr, ptr %745, i64 10
  %747 = load ptr, ptr %746, align 8
  %748 = invoke noundef i32 %747(ptr noundef nonnull align 8 dereferenceable(56) %744)
          to label %749 unwind label %752

749:                                              ; preds = %742
  %750 = icmp slt i32 %743, %748
  br i1 %750, label %756, label %751

751:                                              ; preds = %749
  store i32 38, ptr %73, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %86) #11
  br label %786

752:                                              ; preds = %742
  %753 = landingpad { ptr, i32 }
          cleanup
  %754 = extractvalue { ptr, i32 } %753, 0
  store ptr %754, ptr %9, align 8
  %755 = extractvalue { ptr, i32 } %753, 1
  store i32 %755, ptr %10, align 4
  br label %785

756:                                              ; preds = %749
  call void @llvm.lifetime.start.p0(i64 8, ptr %87) #11
  %757 = load ptr, ptr %46, align 8, !tbaa !9
  %758 = load i32, ptr %86, align 4, !tbaa !5
  %759 = load ptr, ptr %757, align 8, !tbaa !25
  %760 = getelementptr inbounds ptr, ptr %759, i64 12
  %761 = load ptr, ptr %760, align 8
  %762 = invoke noundef ptr %761(ptr noundef nonnull align 8 dereferenceable(56) %757, i32 noundef %758)
          to label %763 unwind label %781

763:                                              ; preds = %756
  store ptr %762, ptr %87, align 8, !tbaa !9
  %764 = load ptr, ptr %87, align 8, !tbaa !9
  %765 = getelementptr inbounds %"struct.mnist::MNIST_dataset", ptr %6, i32 0, i32 1
  %766 = load i32, ptr %85, align 4, !tbaa !5
  %767 = sext i32 %766 to i64
  %768 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IhSaIhEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %765, i64 noundef %767) #11
  %769 = load i32, ptr %86, align 4, !tbaa !5
  %770 = sext i32 %769 to i64
  %771 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %768, i64 noundef %770) #11
  %772 = load i8, ptr %771, align 1, !tbaa !35
  %773 = zext i8 %772 to i32
  %774 = sitofp i32 %773 to double
  %775 = fdiv double %774, 1.000000e+03
  %776 = fptrunc double %775 to float
  invoke void @_ZN14ConstantNeuron7setRateEf(ptr noundef nonnull align 8 dereferenceable(80) %764, float noundef %776)
          to label %777 unwind label %781

777:                                              ; preds = %763
  call void @llvm.lifetime.end.p0(i64 8, ptr %87) #11
  br label %778

778:                                              ; preds = %777
  %779 = load i32, ptr %86, align 4, !tbaa !5
  %780 = add nsw i32 %779, 1
  store i32 %780, ptr %86, align 4, !tbaa !5
  br label %742, !llvm.loop !36

781:                                              ; preds = %763, %756
  %782 = landingpad { ptr, i32 }
          cleanup
  %783 = extractvalue { ptr, i32 } %782, 0
  store ptr %783, ptr %9, align 8
  %784 = extractvalue { ptr, i32 } %782, 1
  store i32 %784, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %87) #11
  br label %785

785:                                              ; preds = %781, %752
  call void @llvm.lifetime.end.p0(i64 4, ptr %86) #11
  br label %940

786:                                              ; preds = %751
  %787 = invoke noundef i32 @_ZN18SingleGPUSimulator3runEfRSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS6_ESaISt4pairIKS6_S7_EEE(ptr noundef nonnull align 8 dereferenceable(20) %83, float noundef 1.000000e+01, ptr noundef nonnull align 8 dereferenceable(48) %80)
          to label %788 unwind label %798

788:                                              ; preds = %786
  call void @llvm.lifetime.start.p0(i64 8, ptr %88) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr %89) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %90) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %90) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %89, ptr noundef @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %90)
          to label %789 unwind label %802

789:                                              ; preds = %788
  %790 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %80, ptr noundef nonnull align 8 dereferenceable(32) %89)
          to label %791 unwind label %806

791:                                              ; preds = %789
  %792 = getelementptr inbounds %struct.ArrayInfo, ptr %790, i32 0, i32 1
  %793 = load ptr, ptr %792, align 8, !tbaa !37
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %89) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %90) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %90) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %89) #11
  store ptr %793, ptr %88, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %91) #11
  store i32 0, ptr %91, align 4, !tbaa !5
  br label %794

794:                                              ; preds = %829, %791
  %795 = load i32, ptr %91, align 4, !tbaa !5
  %796 = icmp slt i32 %795, 1024
  br i1 %796, label %811, label %797

797:                                              ; preds = %794
  store i32 41, ptr %73, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %91) #11
  br label %841

798:                                              ; preds = %786
  %799 = landingpad { ptr, i32 }
          cleanup
  %800 = extractvalue { ptr, i32 } %799, 0
  store ptr %800, ptr %9, align 8
  %801 = extractvalue { ptr, i32 } %799, 1
  store i32 %801, ptr %10, align 4
  br label %940

802:                                              ; preds = %788
  %803 = landingpad { ptr, i32 }
          cleanup
  %804 = extractvalue { ptr, i32 } %803, 0
  store ptr %804, ptr %9, align 8
  %805 = extractvalue { ptr, i32 } %803, 1
  store i32 %805, ptr %10, align 4
  br label %810

806:                                              ; preds = %789
  %807 = landingpad { ptr, i32 }
          cleanup
  %808 = extractvalue { ptr, i32 } %807, 0
  store ptr %808, ptr %9, align 8
  %809 = extractvalue { ptr, i32 } %807, 1
  store i32 %809, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %89) #11
  br label %810

810:                                              ; preds = %806, %802
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %90) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %90) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %89) #11
  br label %939

811:                                              ; preds = %794
  %812 = load ptr, ptr %88, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %92) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %93) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %93) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %92, ptr noundef @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %93)
          to label %813 unwind label %832

813:                                              ; preds = %811
  %814 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %80, ptr noundef nonnull align 8 dereferenceable(32) %92)
          to label %815 unwind label %836

815:                                              ; preds = %813
  %816 = getelementptr inbounds %struct.ArrayInfo, ptr %814, i32 0, i32 0
  %817 = load i32, ptr %816, align 8, !tbaa !39
  %818 = sub nsw i32 %817, 1024
  %819 = load i32, ptr %91, align 4, !tbaa !5
  %820 = add nsw i32 %818, %819
  %821 = sext i32 %820 to i64
  %822 = getelementptr inbounds i32, ptr %812, i64 %821
  %823 = load i32, ptr %822, align 4, !tbaa !5
  %824 = sitofp i32 %823 to float
  %825 = load ptr, ptr %77, align 8, !tbaa !9
  %826 = load i32, ptr %91, align 4, !tbaa !5
  %827 = sext i32 %826 to i64
  %828 = getelementptr inbounds float, ptr %825, i64 %827
  store float %824, ptr %828, align 4, !tbaa !18
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %92) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %93) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %93) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %92) #11
  br label %829

829:                                              ; preds = %815
  %830 = load i32, ptr %91, align 4, !tbaa !5
  %831 = add nsw i32 %830, 1
  store i32 %831, ptr %91, align 4, !tbaa !5
  br label %794, !llvm.loop !40

832:                                              ; preds = %811
  %833 = landingpad { ptr, i32 }
          cleanup
  %834 = extractvalue { ptr, i32 } %833, 0
  store ptr %834, ptr %9, align 8
  %835 = extractvalue { ptr, i32 } %833, 1
  store i32 %835, ptr %10, align 4
  br label %840

836:                                              ; preds = %813
  %837 = landingpad { ptr, i32 }
          cleanup
  %838 = extractvalue { ptr, i32 } %837, 0
  store ptr %838, ptr %9, align 8
  %839 = extractvalue { ptr, i32 } %837, 1
  store i32 %839, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %92) #11
  br label %840

840:                                              ; preds = %836, %832
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %93) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %93) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %92) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %91) #11
  br label %939

841:                                              ; preds = %797
  call void @llvm.lifetime.start.p0(i64 32, ptr %94) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %95) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %95) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %94, ptr noundef @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %95)
          to label %842 unwind label %859

842:                                              ; preds = %841
  %843 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %80, ptr noundef nonnull align 8 dereferenceable(32) %94)
          to label %844 unwind label %863

844:                                              ; preds = %842
  %845 = getelementptr inbounds %struct.ArrayInfo, ptr %843, i32 0, i32 1
  %846 = load ptr, ptr %845, align 8, !tbaa !37
  call void @free(ptr noundef %846) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %94) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %95) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %95) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %94) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr %96) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %97) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %97) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %96, ptr noundef @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %97)
          to label %847 unwind label %868

847:                                              ; preds = %844
  %848 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %80, ptr noundef nonnull align 8 dereferenceable(32) %96)
          to label %849 unwind label %872

849:                                              ; preds = %847
  %850 = getelementptr inbounds %struct.ArrayInfo, ptr %848, i32 0, i32 1
  store ptr null, ptr %850, align 8, !tbaa !37
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %96) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %97) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %97) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %96) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr %98) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %99) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %99) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %98, ptr noundef @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %99)
          to label %851 unwind label %877

851:                                              ; preds = %849
  %852 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %80, ptr noundef nonnull align 8 dereferenceable(32) %98)
          to label %853 unwind label %881

853:                                              ; preds = %851
  %854 = getelementptr inbounds %struct.ArrayInfo, ptr %852, i32 0, i32 0
  store i32 0, ptr %854, align 8, !tbaa !39
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %98) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %99) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %99) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %98) #11
  store ptr null, ptr %88, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %100) #11
  store i32 0, ptr %100, align 4, !tbaa !5
  br label %855

855:                                              ; preds = %896, %853
  %856 = load i32, ptr %100, align 4, !tbaa !5
  %857 = icmp slt i32 %856, 10
  br i1 %857, label %886, label %858

858:                                              ; preds = %855
  store i32 44, ptr %73, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %100) #11
  br label %899

859:                                              ; preds = %841
  %860 = landingpad { ptr, i32 }
          cleanup
  %861 = extractvalue { ptr, i32 } %860, 0
  store ptr %861, ptr %9, align 8
  %862 = extractvalue { ptr, i32 } %860, 1
  store i32 %862, ptr %10, align 4
  br label %867

863:                                              ; preds = %842
  %864 = landingpad { ptr, i32 }
          cleanup
  %865 = extractvalue { ptr, i32 } %864, 0
  store ptr %865, ptr %9, align 8
  %866 = extractvalue { ptr, i32 } %864, 1
  store i32 %866, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %94) #11
  br label %867

867:                                              ; preds = %863, %859
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %95) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %95) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %94) #11
  br label %939

868:                                              ; preds = %844
  %869 = landingpad { ptr, i32 }
          cleanup
  %870 = extractvalue { ptr, i32 } %869, 0
  store ptr %870, ptr %9, align 8
  %871 = extractvalue { ptr, i32 } %869, 1
  store i32 %871, ptr %10, align 4
  br label %876

872:                                              ; preds = %847
  %873 = landingpad { ptr, i32 }
          cleanup
  %874 = extractvalue { ptr, i32 } %873, 0
  store ptr %874, ptr %9, align 8
  %875 = extractvalue { ptr, i32 } %873, 1
  store i32 %875, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %96) #11
  br label %876

876:                                              ; preds = %872, %868
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %97) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %97) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %96) #11
  br label %939

877:                                              ; preds = %849
  %878 = landingpad { ptr, i32 }
          cleanup
  %879 = extractvalue { ptr, i32 } %878, 0
  store ptr %879, ptr %9, align 8
  %880 = extractvalue { ptr, i32 } %878, 1
  store i32 %880, ptr %10, align 4
  br label %885

881:                                              ; preds = %851
  %882 = landingpad { ptr, i32 }
          cleanup
  %883 = extractvalue { ptr, i32 } %882, 0
  store ptr %883, ptr %9, align 8
  %884 = extractvalue { ptr, i32 } %882, 1
  store i32 %884, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %98) #11
  br label %885

885:                                              ; preds = %881, %877
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %99) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %99) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %98) #11
  br label %939

886:                                              ; preds = %855
  %887 = load ptr, ptr %42, align 8, !tbaa !9
  %888 = load i32, ptr %100, align 4, !tbaa !5
  %889 = sext i32 %888 to i64
  %890 = getelementptr inbounds float, ptr %887, i64 %889
  %891 = load float, ptr %890, align 4, !tbaa !18
  %892 = load ptr, ptr %78, align 8, !tbaa !9
  %893 = load i32, ptr %100, align 4, !tbaa !5
  %894 = sext i32 %893 to i64
  %895 = getelementptr inbounds float, ptr %892, i64 %894
  store float %891, ptr %895, align 4, !tbaa !18
  br label %896

896:                                              ; preds = %886
  %897 = load i32, ptr %100, align 4, !tbaa !5
  %898 = add nsw i32 %897, 1
  store i32 %898, ptr %100, align 4, !tbaa !5
  br label %855, !llvm.loop !41

899:                                              ; preds = %858
  %900 = load ptr, ptr %38, align 8, !tbaa !9
  %901 = load ptr, ptr %77, align 8, !tbaa !9
  %902 = load ptr, ptr %78, align 8, !tbaa !9
  invoke void @cblas_sgemv(i32 noundef 101, i32 noundef 112, i32 noundef 1024, i32 noundef 10, float noundef 1.000000e+00, ptr noundef %900, i32 noundef 10, ptr noundef %901, i32 noundef 1, float noundef 1.000000e+00, ptr noundef %902, i32 noundef 1)
          to label %903 unwind label %917

903:                                              ; preds = %899
  %904 = getelementptr inbounds %"struct.mnist::MNIST_dataset", ptr %6, i32 0, i32 3
  %905 = load i32, ptr %85, align 4, !tbaa !5
  %906 = sext i32 %905 to i64
  %907 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %904, i64 noundef %906) #11
  %908 = load i8, ptr %907, align 1, !tbaa !35
  %909 = zext i8 %908 to i32
  %910 = load ptr, ptr %78, align 8, !tbaa !9
  %911 = invoke noundef i32 @_Z9getMaxLocPfi(ptr noundef %910, i32 noundef 10)
          to label %912 unwind label %917

912:                                              ; preds = %903
  %913 = icmp eq i32 %909, %911
  br i1 %913, label %914, label %921

914:                                              ; preds = %912
  %915 = load i32, ptr %84, align 4, !tbaa !5
  %916 = add nsw i32 %915, 1
  store i32 %916, ptr %84, align 4, !tbaa !5
  br label %921

917:                                              ; preds = %925, %903, %899
  %918 = landingpad { ptr, i32 }
          cleanup
  %919 = extractvalue { ptr, i32 } %918, 0
  store ptr %919, ptr %9, align 8
  %920 = extractvalue { ptr, i32 } %918, 1
  store i32 %920, ptr %10, align 4
  br label %939

921:                                              ; preds = %914, %912
  %922 = load i32, ptr %85, align 4, !tbaa !5
  %923 = srem i32 %922, 100
  %924 = icmp eq i32 %923, 99
  br i1 %924, label %925, label %935

925:                                              ; preds = %921
  %926 = load i32, ptr %85, align 4, !tbaa !5
  %927 = load i32, ptr %84, align 4, !tbaa !5
  %928 = sitofp i32 %927 to double
  %929 = load i32, ptr %85, align 4, !tbaa !5
  %930 = add nsw i32 %929, 1
  %931 = sitofp i32 %930 to double
  %932 = fdiv double %928, %931
  %933 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.20, i32 noundef %926, double noundef %932)
          to label %934 unwind label %917

934:                                              ; preds = %925
  br label %935

935:                                              ; preds = %934, %921
  call void @llvm.lifetime.end.p0(i64 8, ptr %88) #11
  br label %936

936:                                              ; preds = %935
  %937 = load i32, ptr %85, align 4, !tbaa !5
  %938 = add nsw i32 %937, 1
  store i32 %938, ptr %85, align 4, !tbaa !5
  br label %721, !llvm.loop !42

939:                                              ; preds = %917, %885, %876, %867, %840, %810
  call void @llvm.lifetime.end.p0(i64 8, ptr %88) #11
  br label %940

940:                                              ; preds = %939, %798, %785
  call void @llvm.lifetime.end.p0(i64 4, ptr %85) #11
  br label %955

941:                                              ; preds = %727
  %942 = load i32, ptr %84, align 4, !tbaa !5
  %943 = sitofp i32 %942 to double
  %944 = getelementptr inbounds %"struct.mnist::MNIST_dataset", ptr %6, i32 0, i32 1
  %945 = call noundef i64 @_ZNKSt6vectorIS_IhSaIhEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %944) #11
  %946 = uitofp i64 %945 to double
  %947 = fdiv double %943, %946
  %948 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.21, double noundef %947)
          to label %949 unwind label %951

949:                                              ; preds = %941
  store i32 0, ptr %3, align 4
  store i32 1, ptr %73, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %84) #11
  call void @_ZN18SingleGPUSimulatorD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %83) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %83) #11
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %80) #11
  call void @llvm.lifetime.end.p0(i64 48, ptr %80) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %79) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #11
  call void @_ZN7NetworkD1Ev(ptr noundef nonnull align 8 dereferenceable(224) %45) #11
  call void @llvm.lifetime.end.p0(i64 224, ptr %45) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #11
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %39) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr %39) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #11
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %35) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr %35) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #11
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %31) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr %31) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #11
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %27) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #11
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %23) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #11
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %19) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #11
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %15) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr %15) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #11
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %11) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #11
  call void @_ZN5mnist13MNIST_datasetISt6vectorS1_IhSaIhEEhED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %6) #11
  call void @llvm.lifetime.end.p0(i64 96, ptr %6) #11
  %950 = load i32, ptr %3, align 4
  ret i32 %950

951:                                              ; preds = %941
  %952 = landingpad { ptr, i32 }
          cleanup
  %953 = extractvalue { ptr, i32 } %952, 0
  store ptr %953, ptr %9, align 8
  %954 = extractvalue { ptr, i32 } %952, 1
  store i32 %954, ptr %10, align 4
  br label %955

955:                                              ; preds = %951, %940
  call void @llvm.lifetime.end.p0(i64 4, ptr %84) #11
  call void @_ZN18SingleGPUSimulatorD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %83) #11
  br label %956

956:                                              ; preds = %955, %737
  call void @llvm.lifetime.end.p0(i64 24, ptr %83) #11
  br label %957

957:                                              ; preds = %956, %736
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %80) #11
  call void @llvm.lifetime.end.p0(i64 48, ptr %80) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %79) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #11
  br label %958

958:                                              ; preds = %957, %710, %680, %651, %608, %583, %558, %516, %515
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #11
  br label %959

959:                                              ; preds = %958, %484
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #11
  br label %960

960:                                              ; preds = %959, %450
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #11
  br label %961

961:                                              ; preds = %960, %408
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #11
  br label %962

962:                                              ; preds = %961, %376
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #11
  br label %963

963:                                              ; preds = %962, %333
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #11
  call void @_ZN7NetworkD1Ev(ptr noundef nonnull align 8 dereferenceable(224) %45) #11
  br label %964

964:                                              ; preds = %963, %316
  call void @llvm.lifetime.end.p0(i64 224, ptr %45) #11
  br label %965

965:                                              ; preds = %964, %312
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #11
  br label %966

966:                                              ; preds = %965, %308
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #11
  br label %967

967:                                              ; preds = %966, %285
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %39) #11
  br label %968

968:                                              ; preds = %967, %284
  call void @llvm.lifetime.end.p0(i64 40, ptr %39) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #11
  br label %969

969:                                              ; preds = %968, %261
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %35) #11
  br label %970

970:                                              ; preds = %969, %260
  call void @llvm.lifetime.end.p0(i64 40, ptr %35) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #11
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %31) #11
  br label %971

971:                                              ; preds = %970, %251
  call void @llvm.lifetime.end.p0(i64 40, ptr %31) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #11
  br label %972

972:                                              ; preds = %971, %224
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %27) #11
  br label %973

973:                                              ; preds = %972, %223
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #11
  br label %974

974:                                              ; preds = %973, %200
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %23) #11
  br label %975

975:                                              ; preds = %974, %199
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #11
  br label %976

976:                                              ; preds = %975, %176
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %19) #11
  br label %977

977:                                              ; preds = %976, %175
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #11
  br label %978

978:                                              ; preds = %977, %152
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %15) #11
  br label %979

979:                                              ; preds = %978, %151
  call void @llvm.lifetime.end.p0(i64 40, ptr %15) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #11
  br label %980

980:                                              ; preds = %979, %128
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %11) #11
  br label %981

981:                                              ; preds = %980, %127
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #11
  call void @_ZN5mnist13MNIST_datasetISt6vectorS1_IhSaIhEEhED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %6) #11
  br label %982

982:                                              ; preds = %981, %118
  call void @llvm.lifetime.end.p0(i64 96, ptr %6) #11
  br label %983

983:                                              ; preds = %982
  %984 = load ptr, ptr %9, align 8
  %985 = load i32, ptr %10, align 4
  %986 = insertvalue { ptr, i32 } poison, ptr %984, 0
  %987 = insertvalue { ptr, i32 } %986, i32 %985, 1
  resume { ptr, i32 } %987
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5mnist12read_datasetITtTpTyESt6vectorTtTpTyES1_hhEENS_13MNIST_datasetIT_T0_IJT1_EET2_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmm(ptr dead_on_unwind noalias writable sret(%"struct.mnist::MNIST_dataset") align 8, ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef) #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 #2 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 @_ZN4cnpy8npy_loadENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"struct.cnpy::NpyArray") align 8, ptr noundef) #4

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z13getConstArrayIfEPT_S0_i(float noundef, i32 noundef) #2

declare void @_ZN7NetworkC1Ev(ptr noundef nonnull align 8 dereferenceable(224)) unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI14ConstantNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224), i32 noundef, i32 noundef, ptr noundef, i1 noundef zeroext) #2 align 2

declare void @_ZN14ConstantNeuronC1Efff(ptr noundef nonnull align 8 dereferenceable(80), float noundef, float noundef, float noundef) unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15CompositeNeuronI14ConstantNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(80), float noundef, float noundef) unnamed_addr #2 align 2

; Function Attrs: nounwind
declare void @_ZN14ConstantNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #6

; Function Attrs: nounwind
declare void @_ZN14ConstantNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #6

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI8TJNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224), i32 noundef, i32 noundef, ptr noundef, i1 noundef zeroext) #2 align 2

declare void @_ZN8TJNeuronC1Effffff(ptr noundef nonnull align 8 dereferenceable(112), float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15CompositeNeuronI8TJNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(112), float noundef, float noundef) unnamed_addr #2 align 2

; Function Attrs: nounwind
declare void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #6

; Function Attrs: nounwind
declare void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI9MaxNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224), i32 noundef, i32 noundef, ptr noundef, i1 noundef zeroext) #2 align 2

declare void @_ZN9MaxNeuronC1Ei(ptr noundef nonnull align 8 dereferenceable(76), i32 noundef) unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15CompositeNeuronI9MaxNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(84), ptr noundef nonnull align 8 dereferenceable(76), float noundef, float noundef) unnamed_addr #2 align 2

; Function Attrs: nounwind
declare void @_ZN9MaxNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(76)) unnamed_addr #6

; Function Attrs: nounwind
declare void @_ZN9MaxNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(76)) unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8TJNeuron4setIEf(ptr noundef nonnull align 8 dereferenceable(112), float noundef) #8 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7Network14connectPoolingI15CompositeNeuronI8TJNeuron13StaticSynapseES1_I9MaxNeuronS3_EEEiP10PopulationIT_EPS7_IT0_Efiiii(ptr noundef nonnull align 8 dereferenceable(224), ptr noundef, ptr noundef, float noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) #2 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) #10

declare void @_ZN18SingleGPUSimulatorC1EP7Networkf(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef, float noundef) unnamed_addr #4

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

declare void @_ZN14ConstantNeuron7setRateEf(ptr noundef nonnull align 8 dereferenceable(80), float noundef) #4

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

declare noundef i32 @_ZN18SingleGPUSimulator3runEfRSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS6_ESaISt4pairIKS6_S7_EEE(ptr noundef nonnull align 8 dereferenceable(20), float noundef, ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4

; Function Attrs: nounwind
declare void @free(ptr noundef) #6

declare void @cblas_sgemv(i32 noundef, i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, float noundef, ptr noundef, i32 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z9getMaxLocPfi(ptr noundef, i32 noundef) #3

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

; Function Attrs: nounwind
declare void @_ZN18SingleGPUSimulatorD1Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #6

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

; Function Attrs: nounwind
declare void @_ZN7NetworkD1Ev(ptr noundef nonnull align 8 dereferenceable(224)) unnamed_addr #6

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5mnist13MNIST_datasetISt6vectorS1_IhSaIhEEhED2Ev(ptr noundef nonnull align 8 dereferenceable(96)) unnamed_addr #8 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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTSN4cnpy8NpyArrayE", !10, i64 0, !13, i64 8, !6, i64 32, !17, i64 36}
!13 = !{!"_ZTSSt6vectorIjSaIjEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!17 = !{!"bool", !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"float", !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = distinct !{!23, !21}
!24 = distinct !{!24, !21}
!25 = !{!26, !26, i64 0}
!26 = !{!"vtable pointer", !8, i64 0}
!27 = distinct !{!27, !21}
!28 = distinct !{!28, !21}
!29 = distinct !{!29, !21}
!30 = distinct !{!30, !21}
!31 = distinct !{!31, !21}
!32 = distinct !{!32, !21}
!33 = distinct !{!33, !21}
!34 = !{i64 0, i64 4, !5, i64 8, i64 8, !9}
!35 = !{!7, !7, i64 0}
!36 = distinct !{!36, !21}
!37 = !{!38, !10, i64 8}
!38 = !{!"_ZTS9ArrayInfo", !6, i64 0, !10, i64 8}
!39 = !{!38, !6, i64 0}
!40 = distinct !{!40, !21}
!41 = distinct !{!41, !21}
!42 = distinct !{!42, !21}


; 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"

%"struct.mnist::MNIST_dataset" = type { %"class.std::vector", %"class.std::vector", %"class.std::vector.0", %"class.std::vector.0" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<unsigned char>, std::allocator<std::vector<unsigned char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned char>, std::allocator<std::vector<unsigned char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned char>, std::allocator<std::vector<unsigned char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned char>, std::allocator<std::vector<unsigned char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, 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.5" = type { i8 }
%"struct.cnpy::NpyArray" = type <{ ptr, %"class.std::vector.8", i32, i8, [3 x i8] }>
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Network = type { %"class.std::vector.13", %"class.std::vector.18", %"class.std::vector.23", i32, i32, i32, float, float, %"class.std::vector.28", %"class.std::vector.28", i32, %"class.std::vector.33", %"class.std::vector.33", %"class.std::vector.33" }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<NeuronBase *, std::allocator<NeuronBase *>>::_Vector_impl" }
%"struct.std::_Vector_base<NeuronBase *, std::allocator<NeuronBase *>>::_Vector_impl" = type { %"struct.std::_Vector_base<NeuronBase *, std::allocator<NeuronBase *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<NeuronBase *, std::allocator<NeuronBase *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<PopulationBase *, std::allocator<PopulationBase *>>::_Vector_impl" }
%"struct.std::_Vector_base<PopulationBase *, std::allocator<PopulationBase *>>::_Vector_impl" = type { %"struct.std::_Vector_base<PopulationBase *, std::allocator<PopulationBase *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<PopulationBase *, std::allocator<PopulationBase *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<SynapseBase *, std::allocator<SynapseBase *>>::_Vector_impl" }
%"struct.std::_Vector_base<SynapseBase *, std::allocator<SynapseBase *>>::_Vector_impl" = type { %"struct.std::_Vector_base<SynapseBase *, std::allocator<SynapseBase *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<SynapseBase *, std::allocator<SynapseBase *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<Type, std::allocator<Type>>::_Vector_impl" }
%"struct.std::_Vector_base<Type, std::allocator<Type>>::_Vector_impl" = type { %"struct.std::_Vector_base<Type, std::allocator<Type>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Type, std::allocator<Type>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.CompositeNeuron = type { %class.ConstantNeuron, float, float }
%class.ConstantNeuron = type { %class.NeuronBase.base, float, i32, i32, float, float, ptr }
%class.NeuronBase.base = type <{ %class.Base, %"class.std::vector.23", i8, i8, [2 x i8], i32, float }>
%class.Base = type { ptr, i32, i32 }
%class.CompositeNeuron.38 = type { %class.TJNeuron, float, float }
%class.TJNeuron = type { %class.NeuronBase.base, float, float, float, float, float, float, float, float, float, float, i32, i32, ptr }
%class.CompositeNeuron.39 = type { %class.MaxNeuron.base, float, float, [4 x i8] }
%class.MaxNeuron.base = type <{ %class.NeuronBase.base, [4 x i8], ptr, i32, i32, i32 }>
%class.MaxNeuron = type <{ %class.NeuronBase.base, [4 x i8], ptr, i32, i32, i32, [4 x i8] }>
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, ArrayInfo>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, ArrayInfo>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, ArrayInfo>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, ArrayInfo>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%class.SingleGPUSimulator = type { %class.SimulatorBase.base, [4 x i8] }
%class.SimulatorBase.base = type <{ ptr, ptr, float }>

@.str = external hidden unnamed_addr constant [21 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [67 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [23 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.mnist::MNIST_dataset", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::allocator.5", align 1
  %6 = alloca %"struct.cnpy::NpyArray", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator.5", align 1
  %9 = alloca %"struct.cnpy::NpyArray", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator.5", align 1
  %12 = alloca %"struct.cnpy::NpyArray", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator.5", align 1
  %15 = alloca %"struct.cnpy::NpyArray", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator.5", align 1
  %18 = alloca %"struct.cnpy::NpyArray", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator.5", align 1
  %21 = alloca %"struct.cnpy::NpyArray", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::allocator.5", align 1
  %24 = alloca %"struct.cnpy::NpyArray", align 8
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::allocator.5", align 1
  %27 = alloca %"struct.cnpy::NpyArray", align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator.5", align 1
  %30 = alloca %class.Network, align 8
  %31 = alloca %class.CompositeNeuron, align 8
  %32 = alloca %class.ConstantNeuron, align 8
  %33 = alloca %class.CompositeNeuron.38, align 8
  %34 = alloca %class.TJNeuron, align 8
  %35 = alloca %class.CompositeNeuron.39, align 8
  %36 = alloca %class.MaxNeuron, align 8
  %37 = alloca %class.CompositeNeuron.38, align 8
  %38 = alloca %class.TJNeuron, align 8
  %39 = alloca %class.CompositeNeuron.39, align 8
  %40 = alloca %class.MaxNeuron, align 8
  %41 = alloca %class.CompositeNeuron.38, align 8
  %42 = alloca %class.TJNeuron, align 8
  %43 = alloca %"class.std::map", align 8
  %44 = alloca %"class.std::__cxx11::basic_string", align 8
  %45 = alloca %"class.std::allocator.5", align 1
  %46 = alloca %class.SingleGPUSimulator, align 8
  %47 = alloca %"class.std::__cxx11::basic_string", align 8
  %48 = alloca %"class.std::allocator.5", align 1
  %49 = alloca %"class.std::__cxx11::basic_string", align 8
  %50 = alloca %"class.std::allocator.5", align 1
  %51 = alloca %"class.std::__cxx11::basic_string", align 8
  %52 = alloca %"class.std::allocator.5", align 1
  %53 = alloca %"class.std::__cxx11::basic_string", align 8
  %54 = alloca %"class.std::allocator.5", align 1
  %55 = alloca %"class.std::__cxx11::basic_string", align 8
  %56 = alloca %"class.std::allocator.5", align 1
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %3) #12
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %57 unwind label %64

57:                                               ; preds = %2
  invoke void @_ZN5mnist12read_datasetITtTpTyESt6vectorTtTpTyES1_hhEENS_13MNIST_datasetIT_T0_IJT1_EET2_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmm(ptr dead_on_unwind nonnull writable sret(%"struct.mnist::MNIST_dataset") align 8 %3, ptr noundef nonnull align 8 dereferenceable(32) %4, i64 noundef 1, i64 noundef 0)
          to label %58 unwind label %66

58:                                               ; preds = %57
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #12
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %59 unwind label %69

59:                                               ; preds = %58
  invoke void @_ZN4cnpy8npy_loadENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"struct.cnpy::NpyArray") align 8 %6, ptr noundef nonnull %7)
          to label %60 unwind label %71

60:                                               ; preds = %59
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #12
  %61 = call noundef i64 @_Z11calcAllSizeRN4cnpy8NpyArrayE(ptr noundef nonnull align 8 dereferenceable(37) %6)
  %62 = icmp eq i64 %61, 800
  br i1 %62, label %74, label %63

63:                                               ; preds = %60
  call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef 28, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

64:                                               ; preds = %2
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %68

66:                                               ; preds = %57
  %67 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #12
  br label %68

68:                                               ; preds = %66, %64
  %.pn = phi { ptr, i32 } [ %67, %66 ], [ %65, %64 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #12
  br label %514

69:                                               ; preds = %58
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %73

71:                                               ; preds = %59
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #12
  br label %73

73:                                               ; preds = %71, %69
  %.pn177 = phi { ptr, i32 } [ %72, %71 ], [ %70, %69 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #12
  br label %513

74:                                               ; preds = %60
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %76 unwind label %81

76:                                               ; preds = %74
  invoke void @_ZN4cnpy8npy_loadENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"struct.cnpy::NpyArray") align 8 %9, ptr noundef nonnull %10)
          to label %77 unwind label %83

77:                                               ; preds = %76
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #12
  %78 = call noundef i64 @_Z11calcAllSizeRN4cnpy8NpyArrayE(ptr noundef nonnull align 8 dereferenceable(37) %9)
  %79 = icmp eq i64 %78, 32
  br i1 %79, label %86, label %80

80:                                               ; preds = %77
  call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.3, i32 noundef 32, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

81:                                               ; preds = %74
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %85

83:                                               ; preds = %76
  %84 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #12
  br label %85

85:                                               ; preds = %83, %81
  %.pn179 = phi { ptr, i32 } [ %84, %83 ], [ %82, %81 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #12
  br label %512

86:                                               ; preds = %77
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %12) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %88 unwind label %93

88:                                               ; preds = %86
  invoke void @_ZN4cnpy8npy_loadENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"struct.cnpy::NpyArray") align 8 %12, ptr noundef nonnull %13)
          to label %89 unwind label %95

89:                                               ; preds = %88
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #12
  %90 = call noundef i64 @_Z11calcAllSizeRN4cnpy8NpyArrayE(ptr noundef nonnull align 8 dereferenceable(37) %12)
  %91 = icmp eq i64 %90, 51200
  br i1 %91, label %98, label %92

92:                                               ; preds = %89
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3, i32 noundef 36, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

93:                                               ; preds = %86
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %97

95:                                               ; preds = %88
  %96 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #12
  br label %97

97:                                               ; preds = %95, %93
  %.pn181 = phi { ptr, i32 } [ %96, %95 ], [ %94, %93 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #12
  br label %511

98:                                               ; preds = %89
  %99 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %15) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %100 unwind label %105

100:                                              ; preds = %98
  invoke void @_ZN4cnpy8npy_loadENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"struct.cnpy::NpyArray") align 8 %15, ptr noundef nonnull %16)
          to label %101 unwind label %107

101:                                              ; preds = %100
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #12
  %102 = call noundef i64 @_Z11calcAllSizeRN4cnpy8NpyArrayE(ptr noundef nonnull align 8 dereferenceable(37) %15)
  %103 = icmp eq i64 %102, 64
  br i1 %103, label %110, label %104

104:                                              ; preds = %101
  call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.3, i32 noundef 40, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

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

107:                                              ; preds = %100
  %108 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #12
  br label %109

109:                                              ; preds = %107, %105
  %.pn183 = phi { ptr, i32 } [ %108, %107 ], [ %106, %105 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #12
  br label %510

110:                                              ; preds = %101
  %111 = load ptr, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %18) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %112 unwind label %117

112:                                              ; preds = %110
  invoke void @_ZN4cnpy8npy_loadENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"struct.cnpy::NpyArray") align 8 %18, ptr noundef nonnull %19)
          to label %113 unwind label %119

113:                                              ; preds = %112
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #12
  %114 = call noundef i64 @_Z11calcAllSizeRN4cnpy8NpyArrayE(ptr noundef nonnull align 8 dereferenceable(37) %18)
  %115 = icmp eq i64 %114, 3211264
  br i1 %115, label %122, label %116

116:                                              ; preds = %113
  call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.3, i32 noundef 44, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

117:                                              ; preds = %110
  %118 = landingpad { ptr, i32 }
          cleanup
  br label %121

119:                                              ; preds = %112
  %120 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #12
  br label %121

121:                                              ; preds = %119, %117
  %.pn185 = phi { ptr, i32 } [ %120, %119 ], [ %118, %117 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #12
  br label %509

122:                                              ; preds = %113
  %123 = load ptr, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %21) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %124 unwind label %132

124:                                              ; preds = %122
  invoke void @_ZN4cnpy8npy_loadENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"struct.cnpy::NpyArray") align 8 %21, ptr noundef nonnull %22)
          to label %125 unwind label %134

125:                                              ; preds = %124
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #12
  %126 = load ptr, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %24) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull @.str.13, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %127 unwind label %137

127:                                              ; preds = %125
  invoke void @_ZN4cnpy8npy_loadENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"struct.cnpy::NpyArray") align 8 %24, ptr noundef nonnull %25)
          to label %128 unwind label %139

128:                                              ; preds = %127
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #12
  %129 = call noundef i64 @_Z11calcAllSizeRN4cnpy8NpyArrayE(ptr noundef nonnull align 8 dereferenceable(37) %24)
  %130 = icmp eq i64 %129, 10240
  br i1 %130, label %142, label %131

131:                                              ; preds = %128
  call void @__assert_fail(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.3, i32 noundef 51, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

132:                                              ; preds = %122
  %133 = landingpad { ptr, i32 }
          cleanup
  br label %136

134:                                              ; preds = %124
  %135 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #12
  br label %136

136:                                              ; preds = %134, %132
  %.pn187 = phi { ptr, i32 } [ %135, %134 ], [ %133, %132 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #12
  br label %508

137:                                              ; preds = %125
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %141

139:                                              ; preds = %127
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #12
  br label %141

141:                                              ; preds = %139, %137
  %.pn189 = phi { ptr, i32 } [ %140, %139 ], [ %138, %137 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #12
  br label %507

142:                                              ; preds = %128
  %143 = load ptr, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %27) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull @.str.15, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %144 unwind label %149

144:                                              ; preds = %142
  invoke void @_ZN4cnpy8npy_loadENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"struct.cnpy::NpyArray") align 8 %27, ptr noundef nonnull %28)
          to label %145 unwind label %151

145:                                              ; preds = %144
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #12
  %146 = call noundef i64 @_Z11calcAllSizeRN4cnpy8NpyArrayE(ptr noundef nonnull align 8 dereferenceable(37) %27)
  %147 = icmp eq i64 %146, 10
  br i1 %147, label %154, label %148

148:                                              ; preds = %145
  call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.3, i32 noundef 55, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

149:                                              ; preds = %142
  %150 = landingpad { ptr, i32 }
          cleanup
  br label %153

151:                                              ; preds = %144
  %152 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #12
  br label %153

153:                                              ; preds = %151, %149
  %.pn191 = phi { ptr, i32 } [ %152, %151 ], [ %150, %149 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #12
  br label %506

154:                                              ; preds = %145
  %155 = load ptr, ptr %27, align 8, !tbaa !5
  %156 = invoke noundef ptr @_Z13getConstArrayIfEPT_S0_i(float noundef 0x3F50624DE0000000, i32 noundef 25)
          to label %157 unwind label %170

157:                                              ; preds = %154
  %158 = invoke noundef ptr @_Z13getConstArrayIfEPT_S0_i(float noundef 0x3F50624DE0000000, i32 noundef 50176)
          to label %159 unwind label %172

159:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 224, ptr nonnull %30) #12
  invoke void @_ZN7NetworkC1Ev(ptr noundef nonnull align 8 dereferenceable(224) %30)
          to label %160 unwind label %174

160:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %32) #12
  invoke void @_ZN14ConstantNeuronC1Efff(ptr noundef nonnull align 8 dereferenceable(80) %32, float noundef 5.000000e-01, float noundef 0.000000e+00, float noundef 1.000000e+09)
          to label %161 unwind label %176

161:                                              ; preds = %160
  invoke void @_ZN15CompositeNeuronI14ConstantNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(88) %31, ptr noundef nonnull align 8 dereferenceable(80) %32, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %162 unwind label %178

162:                                              ; preds = %161
  %163 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI14ConstantNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %30, i32 noundef 0, i32 noundef 784, ptr noundef nonnull %31, i1 noundef zeroext false)
          to label %164 unwind label %180

164:                                              ; preds = %162
  call void @_ZN14ConstantNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %31) #12
  call void @_ZN14ConstantNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %32) #12
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %32) #12
  %165 = getelementptr inbounds i8, ptr %3, i64 24
  %166 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IhSaIhEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %165, i64 noundef 0) #12
  %167 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %166) #12
  %168 = icmp eq i64 %167, 784
  br i1 %168, label %184, label %169

169:                                              ; preds = %164
  call void @__assert_fail(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.3, i32 noundef 63, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

170:                                              ; preds = %154
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %505

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

174:                                              ; preds = %159
  %175 = landingpad { ptr, i32 }
          cleanup
  br label %504

176:                                              ; preds = %160
  %177 = landingpad { ptr, i32 }
          cleanup
  br label %183

178:                                              ; preds = %161
  %179 = landingpad { ptr, i32 }
          cleanup
  br label %182

180:                                              ; preds = %162
  %181 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN14ConstantNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %31) #12
  br label %182

182:                                              ; preds = %180, %178
  %.pn193 = phi { ptr, i32 } [ %181, %180 ], [ %179, %178 ]
  call void @_ZN14ConstantNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %32) #12
  br label %183

183:                                              ; preds = %182, %176
  %.pn193.pn = phi { ptr, i32 } [ %.pn193, %182 ], [ %177, %176 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %32) #12
  br label %503

184:                                              ; preds = %164
  %185 = call noalias dereferenceable_or_null(256) ptr @malloc(i64 noundef 256) #14
  br label %188

186:                                              ; preds = %196
  %187 = call noalias dereferenceable_or_null(256) ptr @malloc(i64 noundef 256) #14
  br label %208

188:                                              ; preds = %184, %196
  %indvars.iv = phi i64 [ 0, %184 ], [ %indvars.iv.next, %196 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %34) #12
  %189 = getelementptr inbounds float, ptr %87, i64 %indvars.iv
  %190 = load float, ptr %189, align 4, !tbaa !16
  %191 = fdiv float %190, 1.000000e+03
  invoke void @_ZN8TJNeuronC1Effffff(ptr noundef nonnull align 8 dereferenceable(112) %34, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 5.000000e-01, float noundef 0x3F70624DE0000000, float noundef 0x3F50624DE0000000, float noundef %191)
          to label %192 unwind label %198

192:                                              ; preds = %188
  invoke void @_ZN15CompositeNeuronI8TJNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(120) %33, ptr noundef nonnull align 8 dereferenceable(112) %34, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %193 unwind label %200

193:                                              ; preds = %192
  %194 = trunc nuw nsw i64 %indvars.iv.next to i32
  %195 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI8TJNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %30, i32 noundef %194, i32 noundef 784, ptr noundef nonnull %33, i1 noundef zeroext false)
          to label %196 unwind label %202

196:                                              ; preds = %193
  %197 = getelementptr inbounds ptr, ptr %185, i64 %indvars.iv
  store ptr %195, ptr %197, align 8, !tbaa !18
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %33) #12
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %34) #12
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %34) #12
  %exitcond.not = icmp eq i64 %indvars.iv.next, 32
  br i1 %exitcond.not, label %186, label %188, !llvm.loop !19

198:                                              ; preds = %188
  %199 = landingpad { ptr, i32 }
          cleanup
  br label %205

200:                                              ; preds = %192
  %201 = landingpad { ptr, i32 }
          cleanup
  br label %204

202:                                              ; preds = %193
  %203 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %33) #12
  br label %204

204:                                              ; preds = %202, %200
  %.pn232 = phi { ptr, i32 } [ %203, %202 ], [ %201, %200 ]
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %34) #12
  br label %205

205:                                              ; preds = %204, %198
  %.pn232.pn = phi { ptr, i32 } [ %.pn232, %204 ], [ %199, %198 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %34) #12
  br label %503

206:                                              ; preds = %212
  %207 = call noalias dereferenceable_or_null(512) ptr @malloc(i64 noundef 512) #14
  br label %224

208:                                              ; preds = %186, %212
  %indvars.iv286 = phi i64 [ 0, %186 ], [ %indvars.iv.next287, %212 ]
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %36) #12
  invoke void @_ZN9MaxNeuronC1Ei(ptr noundef nonnull align 8 dereferenceable(76) %36, i32 noundef 4)
          to label %209 unwind label %214

209:                                              ; preds = %208
  invoke void @_ZN15CompositeNeuronI9MaxNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(84) %35, ptr noundef nonnull align 8 dereferenceable(76) %36, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %210 unwind label %216

210:                                              ; preds = %209
  %211 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI9MaxNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %30, i32 noundef 34, i32 noundef 196, ptr noundef nonnull %35, i1 noundef zeroext false)
          to label %212 unwind label %218

212:                                              ; preds = %210
  %213 = getelementptr inbounds ptr, ptr %187, i64 %indvars.iv286
  store ptr %211, ptr %213, align 8, !tbaa !18
  call void @_ZN9MaxNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(84) %35) #12
  call void @_ZN9MaxNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(76) %36) #12
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %36) #12
  %indvars.iv.next287 = add nuw nsw i64 %indvars.iv286, 1
  %exitcond289.not = icmp eq i64 %indvars.iv.next287, 32
  br i1 %exitcond289.not, label %206, label %208, !llvm.loop !21

214:                                              ; preds = %208
  %215 = landingpad { ptr, i32 }
          cleanup
  br label %221

216:                                              ; preds = %209
  %217 = landingpad { ptr, i32 }
          cleanup
  br label %220

218:                                              ; preds = %210
  %219 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9MaxNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(84) %35) #12
  br label %220

220:                                              ; preds = %218, %216
  %.pn228 = phi { ptr, i32 } [ %219, %218 ], [ %217, %216 ]
  call void @_ZN9MaxNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(76) %36) #12
  br label %221

221:                                              ; preds = %220, %214
  %.pn228.pn = phi { ptr, i32 } [ %.pn228, %220 ], [ %215, %214 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %36) #12
  br label %503

222:                                              ; preds = %233
  %223 = call noalias dereferenceable_or_null(512) ptr @malloc(i64 noundef 512) #14
  br label %244

224:                                              ; preds = %206, %233
  %indvars.iv290 = phi i64 [ 0, %206 ], [ %indvars.iv.next291, %233 ]
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %38) #12
  %225 = getelementptr inbounds float, ptr %111, i64 %indvars.iv290
  %226 = load float, ptr %225, align 4, !tbaa !16
  %227 = fdiv float %226, 1.000000e+03
  invoke void @_ZN8TJNeuronC1Effffff(ptr noundef nonnull align 8 dereferenceable(112) %38, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 5.000000e-01, float noundef 0x3F70624DE0000000, float noundef 0x3F50624DE0000000, float noundef %227)
          to label %228 unwind label %235

228:                                              ; preds = %224
  invoke void @_ZN15CompositeNeuronI8TJNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(120) %37, ptr noundef nonnull align 8 dereferenceable(112) %38, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %229 unwind label %237

229:                                              ; preds = %228
  %230 = trunc i64 %indvars.iv290 to i32
  %231 = add i32 %230, 65
  %232 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI8TJNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %30, i32 noundef %231, i32 noundef 196, ptr noundef nonnull %37, i1 noundef zeroext false)
          to label %233 unwind label %239

233:                                              ; preds = %229
  %234 = getelementptr inbounds ptr, ptr %207, i64 %indvars.iv290
  store ptr %232, ptr %234, align 8, !tbaa !18
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %37) #12
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %38) #12
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %38) #12
  %indvars.iv.next291 = add nuw nsw i64 %indvars.iv290, 1
  %exitcond293.not = icmp eq i64 %indvars.iv.next291, 64
  br i1 %exitcond293.not, label %222, label %224, !llvm.loop !22

235:                                              ; preds = %224
  %236 = landingpad { ptr, i32 }
          cleanup
  br label %242

237:                                              ; preds = %228
  %238 = landingpad { ptr, i32 }
          cleanup
  br label %241

239:                                              ; preds = %229
  %240 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %37) #12
  br label %241

241:                                              ; preds = %239, %237
  %.pn224 = phi { ptr, i32 } [ %240, %239 ], [ %238, %237 ]
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %38) #12
  br label %242

242:                                              ; preds = %241, %235
  %.pn224.pn = phi { ptr, i32 } [ %.pn224, %241 ], [ %236, %235 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %38) #12
  br label %503

243:                                              ; preds = %250
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %42) #12
  invoke void @_ZN8TJNeuronC1Effffff(ptr noundef nonnull align 8 dereferenceable(112) %42, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 5.000000e-01, float noundef 0x3F70624DE0000000, float noundef 0x3F50624DE0000000, float noundef 0.000000e+00)
          to label %260 unwind label %273

244:                                              ; preds = %222, %250
  %indvars.iv294 = phi i64 [ 0, %222 ], [ %indvars.iv.next295, %250 ]
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %40) #12
  invoke void @_ZN9MaxNeuronC1Ei(ptr noundef nonnull align 8 dereferenceable(76) %40, i32 noundef 4)
          to label %245 unwind label %252

245:                                              ; preds = %244
  invoke void @_ZN15CompositeNeuronI9MaxNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(84) %39, ptr noundef nonnull align 8 dereferenceable(76) %40, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %246 unwind label %254

246:                                              ; preds = %245
  %247 = trunc i64 %indvars.iv294 to i32
  %248 = add i32 %247, 129
  %249 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI9MaxNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %30, i32 noundef %248, i32 noundef 49, ptr noundef nonnull %39, i1 noundef zeroext false)
          to label %250 unwind label %256

250:                                              ; preds = %246
  %251 = getelementptr inbounds ptr, ptr %223, i64 %indvars.iv294
  store ptr %249, ptr %251, align 8, !tbaa !18
  call void @_ZN9MaxNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(84) %39) #12
  call void @_ZN9MaxNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(76) %40) #12
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %40) #12
  %indvars.iv.next295 = add nuw nsw i64 %indvars.iv294, 1
  %exitcond297.not = icmp eq i64 %indvars.iv.next295, 64
  br i1 %exitcond297.not, label %243, label %244, !llvm.loop !23

252:                                              ; preds = %244
  %253 = landingpad { ptr, i32 }
          cleanup
  br label %259

254:                                              ; preds = %245
  %255 = landingpad { ptr, i32 }
          cleanup
  br label %258

256:                                              ; preds = %246
  %257 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9MaxNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(84) %39) #12
  br label %258

258:                                              ; preds = %256, %254
  %.pn220 = phi { ptr, i32 } [ %257, %256 ], [ %255, %254 ]
  call void @_ZN9MaxNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(76) %40) #12
  br label %259

259:                                              ; preds = %258, %252
  %.pn220.pn = phi { ptr, i32 } [ %.pn220, %258 ], [ %253, %252 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %40) #12
  br label %503

260:                                              ; preds = %243
  invoke void @_ZN15CompositeNeuronI8TJNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(120) %41, ptr noundef nonnull align 8 dereferenceable(112) %42, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %261 unwind label %275

261:                                              ; preds = %260
  %262 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI8TJNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %30, i32 noundef 193, i32 noundef 1024, ptr noundef nonnull %41, i1 noundef zeroext false)
          to label %263 unwind label %277

263:                                              ; preds = %261
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %41) #12
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %42) #12
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %42) #12
  %264 = call noundef i64 @_Z11calcAllSizeRN4cnpy8NpyArrayE(ptr noundef nonnull align 8 dereferenceable(37) %21)
  %265 = load ptr, ptr %262, align 8, !tbaa !24
  %266 = getelementptr inbounds i8, ptr %265, i64 80
  %267 = load ptr, ptr %266, align 8
  %268 = invoke noundef i32 %267(ptr noundef nonnull align 8 dereferenceable(56) %262)
          to label %269 unwind label %281

269:                                              ; preds = %263
  %270 = sext i32 %268 to i64
  %271 = icmp eq i64 %264, %270
  br i1 %271, label %.preheader256, label %272

272:                                              ; preds = %269
  call void @__assert_fail(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.3, i32 noundef 86, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

273:                                              ; preds = %243
  %274 = landingpad { ptr, i32 }
          cleanup
  br label %280

275:                                              ; preds = %260
  %276 = landingpad { ptr, i32 }
          cleanup
  br label %279

277:                                              ; preds = %261
  %278 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %41) #12
  br label %279

279:                                              ; preds = %277, %275
  %.pn196 = phi { ptr, i32 } [ %278, %277 ], [ %276, %275 ]
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %42) #12
  br label %280

280:                                              ; preds = %279, %273
  %.pn196.pn = phi { ptr, i32 } [ %.pn196, %279 ], [ %274, %273 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %42) #12
  br label %503

281:                                              ; preds = %263
  %282 = landingpad { ptr, i32 }
          cleanup
  br label %503

.preheader256:                                    ; preds = %269, %298
  %indvars.iv298 = phi i64 [ %indvars.iv.next299, %298 ], [ 0, %269 ]
  %283 = load ptr, ptr %262, align 8, !tbaa !24
  %284 = getelementptr inbounds i8, ptr %283, i64 80
  %285 = load ptr, ptr %284, align 8
  %286 = invoke noundef i32 %285(ptr noundef nonnull align 8 dereferenceable(56) %262)
          to label %287 unwind label %290

287:                                              ; preds = %.preheader256
  %288 = sext i32 %286 to i64
  %289 = icmp slt i64 %indvars.iv298, %288
  br i1 %289, label %292, label %.preheader255

290:                                              ; preds = %.preheader256
  %291 = landingpad { ptr, i32 }
          cleanup
  br label %503

292:                                              ; preds = %287
  %293 = load ptr, ptr %262, align 8, !tbaa !24
  %294 = getelementptr inbounds i8, ptr %293, i64 96
  %295 = load ptr, ptr %294, align 8
  %296 = trunc nuw nsw i64 %indvars.iv298 to i32
  %297 = invoke noundef ptr %295(ptr noundef nonnull align 8 dereferenceable(56) %262, i32 noundef %296)
          to label %298 unwind label %301

298:                                              ; preds = %292
  %299 = getelementptr inbounds float, ptr %126, i64 %indvars.iv298
  %300 = load float, ptr %299, align 4, !tbaa !16
  call void @_ZN8TJNeuron4setIEf(ptr noundef nonnull align 8 dereferenceable(112) %297, float noundef %300)
  %indvars.iv.next299 = add nuw nsw i64 %indvars.iv298, 1
  br label %.preheader256, !llvm.loop !26

301:                                              ; preds = %292
  %302 = landingpad { ptr, i32 }
          cleanup
  br label %503

.preheader255:                                    ; preds = %287, %307
  %indvars.iv301 = phi i64 [ %indvars.iv.next302, %307 ], [ 0, %287 ]
  %303 = getelementptr inbounds ptr, ptr %185, i64 %indvars.iv301
  %304 = load ptr, ptr %303, align 8, !tbaa !18
  %.idx = mul i64 %indvars.iv301, 100
  %305 = getelementptr inbounds i8, ptr %75, i64 %.idx
  %306 = invoke noundef i32 @_ZN7Network11connectConvI15CompositeNeuronI14ConstantNeuron13StaticSynapseES1_I8TJNeuronS3_EEEiP10PopulationIT_EPS7_IT0_EPfSE_P9SpikeTypeiiii(ptr noundef nonnull align 8 dereferenceable(224) %30, ptr noundef %163, ptr noundef %304, ptr noundef %305, ptr noundef %156, ptr noundef null, i32 noundef 28, i32 noundef 28, i32 noundef 5, i32 noundef 5)
          to label %307 unwind label %308

307:                                              ; preds = %.preheader255
  %indvars.iv.next302 = add nuw nsw i64 %indvars.iv301, 1
  %exitcond304.not = icmp eq i64 %indvars.iv.next302, 32
  br i1 %exitcond304.not, label %.preheader254, label %.preheader255, !llvm.loop !27

308:                                              ; preds = %.preheader255
  %309 = landingpad { ptr, i32 }
          cleanup
  br label %503

.preheader254:                                    ; preds = %307, %315
  %indvars.iv305 = phi i64 [ %indvars.iv.next306, %315 ], [ 0, %307 ]
  %310 = getelementptr inbounds ptr, ptr %185, i64 %indvars.iv305
  %311 = load ptr, ptr %310, align 8, !tbaa !18
  %312 = getelementptr inbounds ptr, ptr %187, i64 %indvars.iv305
  %313 = load ptr, ptr %312, align 8, !tbaa !18
  %314 = invoke noundef i32 @_ZN7Network14connectPoolingI15CompositeNeuronI8TJNeuron13StaticSynapseES1_I9MaxNeuronS3_EEEiP10PopulationIT_EPS7_IT0_Efiiii(ptr noundef nonnull align 8 dereferenceable(224) %30, ptr noundef %311, ptr noundef %313, float noundef 0x3F50624DE0000000, i32 noundef 28, i32 noundef 28, i32 noundef 2, i32 noundef 2)
          to label %315 unwind label %316

315:                                              ; preds = %.preheader254
  %indvars.iv.next306 = add nuw nsw i64 %indvars.iv305, 1
  %exitcond308.not = icmp eq i64 %indvars.iv.next306, 32
  br i1 %exitcond308.not, label %.preheader252, label %.preheader254, !llvm.loop !28

316:                                              ; preds = %.preheader254
  %317 = landingpad { ptr, i32 }
          cleanup
  br label %503

.preheader252:                                    ; preds = %315, %320
  %indvars.iv313 = phi i64 [ %indvars.iv.next314, %320 ], [ 0, %315 ]
  %318 = getelementptr inbounds ptr, ptr %207, i64 %indvars.iv313
  %319 = load ptr, ptr %318, align 8, !tbaa !18
  %invariant.gep.idx = mul i64 %indvars.iv313, 100
  %invariant.gep = getelementptr inbounds i8, ptr %99, i64 %invariant.gep.idx
  br label %321

320:                                              ; preds = %325
  %indvars.iv.next314 = add nuw nsw i64 %indvars.iv313, 1
  %exitcond316.not = icmp eq i64 %indvars.iv.next314, 64
  br i1 %exitcond316.not, label %.preheader251, label %.preheader252, !llvm.loop !29

321:                                              ; preds = %.preheader252, %325
  %indvars.iv309 = phi i64 [ 0, %.preheader252 ], [ %indvars.iv.next310, %325 ]
  %322 = getelementptr inbounds ptr, ptr %187, i64 %indvars.iv309
  %323 = load ptr, ptr %322, align 8, !tbaa !18
  %gep.idx = mul i64 %indvars.iv309, 6400
  %gep = getelementptr inbounds i8, ptr %invariant.gep, i64 %gep.idx
  %324 = invoke noundef i32 @_ZN7Network11connectConvI15CompositeNeuronI9MaxNeuron13StaticSynapseES1_I8TJNeuronS3_EEEiP10PopulationIT_EPS7_IT0_EPfSE_P9SpikeTypeiiii(ptr noundef nonnull align 8 dereferenceable(224) %30, ptr noundef %323, ptr noundef %319, ptr noundef %gep, ptr noundef %156, ptr noundef null, i32 noundef 14, i32 noundef 14, i32 noundef 5, i32 noundef 5)
          to label %325 unwind label %326

325:                                              ; preds = %321
  %indvars.iv.next310 = add nuw nsw i64 %indvars.iv309, 1
  %exitcond312.not = icmp eq i64 %indvars.iv.next310, 32
  br i1 %exitcond312.not, label %320, label %321, !llvm.loop !30

326:                                              ; preds = %321
  %327 = landingpad { ptr, i32 }
          cleanup
  br label %503

.preheader251:                                    ; preds = %320, %333
  %indvars.iv317 = phi i64 [ %indvars.iv.next318, %333 ], [ 0, %320 ]
  %328 = getelementptr inbounds ptr, ptr %207, i64 %indvars.iv317
  %329 = load ptr, ptr %328, align 8, !tbaa !18
  %330 = getelementptr inbounds ptr, ptr %223, i64 %indvars.iv317
  %331 = load ptr, ptr %330, align 8, !tbaa !18
  %332 = invoke noundef i32 @_ZN7Network14connectPoolingI15CompositeNeuronI8TJNeuron13StaticSynapseES1_I9MaxNeuronS3_EEEiP10PopulationIT_EPS7_IT0_Efiiii(ptr noundef nonnull align 8 dereferenceable(224) %30, ptr noundef %329, ptr noundef %331, float noundef 0x3F50624DE0000000, i32 noundef 14, i32 noundef 14, i32 noundef 2, i32 noundef 2)
          to label %333 unwind label %334

333:                                              ; preds = %.preheader251
  %indvars.iv.next318 = add nuw nsw i64 %indvars.iv317, 1
  %exitcond320.not = icmp eq i64 %indvars.iv.next318, 64
  br i1 %exitcond320.not, label %.preheader250, label %.preheader251, !llvm.loop !31

334:                                              ; preds = %.preheader251
  %335 = landingpad { ptr, i32 }
          cleanup
  br label %503

336:                                              ; preds = %343
  %337 = call noalias dereferenceable_or_null(4096) ptr @malloc(i64 noundef 4096) #14
  %338 = call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #14
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %43) #12
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %43) #12
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %44) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %45) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %45)
          to label %346 unwind label %374

.preheader250:                                    ; preds = %333, %343
  %indvars.iv321 = phi i64 [ %indvars.iv.next322, %343 ], [ 0, %333 ]
  %339 = getelementptr inbounds ptr, ptr %223, i64 %indvars.iv321
  %340 = load ptr, ptr %339, align 8, !tbaa !18
  %.idx340 = mul i64 %indvars.iv321, 196
  %341 = getelementptr inbounds i8, ptr %123, i64 %.idx340
  %342 = invoke noundef i32 @_ZN7Network7connectI15CompositeNeuronI9MaxNeuron13StaticSynapseES1_I8TJNeuronS3_EEEiP10PopulationIT_EPS7_IT0_EPfSE_P9SpikeTypei(ptr noundef nonnull align 8 dereferenceable(224) %30, ptr noundef %340, ptr noundef nonnull %262, ptr noundef %341, ptr noundef %158, ptr noundef null, i32 noundef 50176)
          to label %343 unwind label %344

343:                                              ; preds = %.preheader250
  %indvars.iv.next322 = add nuw nsw i64 %indvars.iv321, 1
  %exitcond324.not = icmp eq i64 %indvars.iv.next322, 64
  br i1 %exitcond324.not, label %336, label %.preheader250, !llvm.loop !32

344:                                              ; preds = %.preheader250
  %345 = landingpad { ptr, i32 }
          cleanup
  br label %503

346:                                              ; preds = %336
  %347 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %43, ptr noundef nonnull align 8 dereferenceable(32) %44)
          to label %348 unwind label %376

348:                                              ; preds = %346
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %347, i8 0, i64 16, i1 false)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %45) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %44) #12
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %46) #12
  invoke void @_ZN18SingleGPUSimulatorC1EP7Networkf(ptr noundef nonnull align 8 dereferenceable(20) %46, ptr noundef nonnull %30, float noundef 0x3F50624DE0000000)
          to label %.preheader249 unwind label %379

.preheader249:                                    ; preds = %348
  %349 = call noundef i64 @_ZNKSt6vectorIS_IhSaIhEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %165) #12
  %.not = icmp eq i64 %349, 0
  br i1 %.not, label %._crit_edge, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %.preheader249
  %350 = getelementptr inbounds i8, ptr %3, i64 72
  %351 = getelementptr inbounds i8, ptr %155, i64 4
  %352 = getelementptr inbounds i8, ptr %338, i64 4
  %353 = getelementptr inbounds i8, ptr %155, i64 8
  %354 = getelementptr inbounds i8, ptr %338, i64 8
  %355 = getelementptr inbounds i8, ptr %155, i64 12
  %356 = getelementptr inbounds i8, ptr %338, i64 12
  %357 = getelementptr inbounds i8, ptr %155, i64 16
  %358 = getelementptr inbounds i8, ptr %338, i64 16
  %359 = getelementptr inbounds i8, ptr %155, i64 20
  %360 = getelementptr inbounds i8, ptr %338, i64 20
  %361 = getelementptr inbounds i8, ptr %155, i64 24
  %362 = getelementptr inbounds i8, ptr %338, i64 24
  %363 = getelementptr inbounds i8, ptr %155, i64 28
  %364 = getelementptr inbounds i8, ptr %338, i64 28
  %365 = getelementptr inbounds i8, ptr %155, i64 32
  %366 = getelementptr inbounds i8, ptr %338, i64 32
  %367 = getelementptr inbounds i8, ptr %155, i64 36
  %368 = getelementptr inbounds i8, ptr %338, i64 36
  br label %.preheader

.preheader:                                       ; preds = %.preheader.lr.ph, %497
  %indvars.iv336 = phi i64 [ 0, %.preheader.lr.ph ], [ %indvars.iv.next337.pre-phi, %497 ]
  %.0110283 = phi i32 [ 0, %.preheader.lr.ph ], [ %spec.select, %497 ]
  br label %381

._crit_edge.loopexit:                             ; preds = %497
  %369 = uitofp nneg i32 %spec.select to double
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader249
  %.0110.lcssa = phi double [ 0.000000e+00, %.preheader249 ], [ %369, %._crit_edge.loopexit ]
  %370 = call noundef i64 @_ZNKSt6vectorIS_IhSaIhEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %165) #12
  %371 = uitofp i64 %370 to double
  %372 = fdiv double %.0110.lcssa, %371
  %373 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.21, double noundef %372)
  call void @_ZN18SingleGPUSimulatorD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %46) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %46) #12
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %43) #12
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %43) #12
  call void @_ZN7NetworkD1Ev(ptr noundef nonnull align 8 dereferenceable(224) %30) #12
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %30) #12
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %27) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %27) #12
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %24) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %24) #12
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %21) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %21) #12
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %18) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %18) #12
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %15) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #12
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %12) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #12
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %9) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #12
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %6) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #12
  call void @_ZN5mnist13MNIST_datasetISt6vectorS1_IhSaIhEEhED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %3) #12
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %3) #12
  ret i32 0

374:                                              ; preds = %336
  %375 = landingpad { ptr, i32 }
          cleanup
  br label %378

376:                                              ; preds = %346
  %377 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #12
  br label %378

378:                                              ; preds = %376, %374
  %.pn199 = phi { ptr, i32 } [ %377, %376 ], [ %375, %374 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %45) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %44) #12
  br label %502

379:                                              ; preds = %348
  %380 = landingpad { ptr, i32 }
          cleanup
  br label %501

381:                                              ; preds = %.preheader, %406
  %indvars.iv325 = phi i64 [ 0, %.preheader ], [ %indvars.iv.next326, %406 ]
  %382 = load ptr, ptr %163, align 8, !tbaa !24
  %383 = getelementptr inbounds i8, ptr %382, i64 80
  %384 = load ptr, ptr %383, align 8
  %385 = invoke noundef i32 %384(ptr noundef nonnull align 8 dereferenceable(56) %163)
          to label %386 unwind label %391

386:                                              ; preds = %381
  %387 = sext i32 %385 to i64
  %388 = icmp slt i64 %indvars.iv325, %387
  br i1 %388, label %393, label %389

389:                                              ; preds = %386
  %390 = invoke noundef i32 @_ZN18SingleGPUSimulator3runEfRSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS6_ESaISt4pairIKS6_S7_EEE(ptr noundef nonnull align 8 dereferenceable(20) %46, float noundef 1.000000e+01, ptr noundef nonnull align 8 dereferenceable(48) %43)
          to label %409 unwind label %416

391:                                              ; preds = %381
  %392 = landingpad { ptr, i32 }
          cleanup
  br label %500

393:                                              ; preds = %386
  %394 = load ptr, ptr %163, align 8, !tbaa !24
  %395 = getelementptr inbounds i8, ptr %394, i64 96
  %396 = load ptr, ptr %395, align 8
  %397 = trunc nuw nsw i64 %indvars.iv325 to i32
  %398 = invoke noundef ptr %396(ptr noundef nonnull align 8 dereferenceable(56) %163, i32 noundef %397)
          to label %399 unwind label %407

399:                                              ; preds = %393
  %400 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IhSaIhEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %165, i64 noundef %indvars.iv336) #12
  %401 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %400, i64 noundef %indvars.iv325) #12
  %402 = load i8, ptr %401, align 1, !tbaa !33
  %403 = uitofp i8 %402 to double
  %404 = fdiv double %403, 1.000000e+03
  %405 = fptrunc double %404 to float
  invoke void @_ZN14ConstantNeuron7setRateEf(ptr noundef nonnull align 8 dereferenceable(80) %398, float noundef %405)
          to label %406 unwind label %407

406:                                              ; preds = %399
  %indvars.iv.next326 = add nuw nsw i64 %indvars.iv325, 1
  br label %381, !llvm.loop !34

407:                                              ; preds = %399, %393
  %408 = landingpad { ptr, i32 }
          cleanup
  br label %500

409:                                              ; preds = %389
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %47) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %48) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %48)
          to label %410 unwind label %418

410:                                              ; preds = %409
  %411 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %43, ptr noundef nonnull align 8 dereferenceable(32) %47)
          to label %412 unwind label %420

412:                                              ; preds = %410
  %413 = getelementptr inbounds i8, ptr %411, i64 8
  %414 = load ptr, ptr %413, align 8, !tbaa !35
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %48) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %47) #12
  br label %423

415:                                              ; preds = %426
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %51) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %52) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef nonnull @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %52)
          to label %441 unwind label %463

416:                                              ; preds = %389
  %417 = landingpad { ptr, i32 }
          cleanup
  br label %500

418:                                              ; preds = %409
  %419 = landingpad { ptr, i32 }
          cleanup
  br label %422

420:                                              ; preds = %410
  %421 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #12
  br label %422

422:                                              ; preds = %420, %418
  %.pn201 = phi { ptr, i32 } [ %421, %420 ], [ %419, %418 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %48) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %47) #12
  br label %500

423:                                              ; preds = %412, %426
  %indvars.iv328 = phi i64 [ 0, %412 ], [ %indvars.iv.next329, %426 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %49) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %50) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef nonnull @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %50)
          to label %424 unwind label %436

424:                                              ; preds = %423
  %425 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %43, ptr noundef nonnull align 8 dereferenceable(32) %49)
          to label %426 unwind label %438

426:                                              ; preds = %424
  %427 = load i32, ptr %425, align 8, !tbaa !37
  %428 = trunc i64 %indvars.iv328 to i32
  %429 = add i32 %428, -1024
  %430 = add i32 %429, %427
  %431 = sext i32 %430 to i64
  %432 = getelementptr inbounds i32, ptr %414, i64 %431
  %433 = load i32, ptr %432, align 4, !tbaa !38
  %434 = sitofp i32 %433 to float
  %435 = getelementptr inbounds float, ptr %337, i64 %indvars.iv328
  store float %434, ptr %435, align 4, !tbaa !16
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %50) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %49) #12
  %indvars.iv.next329 = add nuw nsw i64 %indvars.iv328, 1
  %exitcond331.not = icmp eq i64 %indvars.iv.next329, 1024
  br i1 %exitcond331.not, label %415, label %423, !llvm.loop !39

436:                                              ; preds = %423
  %437 = landingpad { ptr, i32 }
          cleanup
  br label %440

438:                                              ; preds = %424
  %439 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #12
  br label %440

440:                                              ; preds = %438, %436
  %.pn209 = phi { ptr, i32 } [ %439, %438 ], [ %437, %436 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %50) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %49) #12
  br label %500

441:                                              ; preds = %415
  %442 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %43, ptr noundef nonnull align 8 dereferenceable(32) %51)
          to label %443 unwind label %465

443:                                              ; preds = %441
  %444 = getelementptr inbounds i8, ptr %442, i64 8
  %445 = load ptr, ptr %444, align 8, !tbaa !35
  call void @free(ptr noundef %445) #12
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %52) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %51) #12
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %53) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %54) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %54)
          to label %446 unwind label %468

446:                                              ; preds = %443
  %447 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %43, ptr noundef nonnull align 8 dereferenceable(32) %53)
          to label %448 unwind label %470

448:                                              ; preds = %446
  %449 = getelementptr inbounds i8, ptr %447, i64 8
  store ptr null, ptr %449, align 8, !tbaa !35
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %54) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %53) #12
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %55) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %56) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %56)
          to label %450 unwind label %473

450:                                              ; preds = %448
  %451 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %43, ptr noundef nonnull align 8 dereferenceable(32) %55)
          to label %452 unwind label %475

452:                                              ; preds = %450
  store i32 0, ptr %451, align 8, !tbaa !37
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %56) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %55) #12
  %453 = load float, ptr %155, align 4, !tbaa !16
  store float %453, ptr %338, align 4, !tbaa !16
  %454 = load float, ptr %351, align 4, !tbaa !16
  store float %454, ptr %352, align 4, !tbaa !16
  %455 = load float, ptr %353, align 4, !tbaa !16
  store float %455, ptr %354, align 4, !tbaa !16
  %456 = load float, ptr %355, align 4, !tbaa !16
  store float %456, ptr %356, align 4, !tbaa !16
  %457 = load float, ptr %357, align 4, !tbaa !16
  store float %457, ptr %358, align 4, !tbaa !16
  %458 = load float, ptr %359, align 4, !tbaa !16
  store float %458, ptr %360, align 4, !tbaa !16
  %459 = load float, ptr %361, align 4, !tbaa !16
  store float %459, ptr %362, align 4, !tbaa !16
  %460 = load float, ptr %363, align 4, !tbaa !16
  store float %460, ptr %364, align 4, !tbaa !16
  %461 = load float, ptr %365, align 4, !tbaa !16
  store float %461, ptr %366, align 4, !tbaa !16
  %462 = load float, ptr %367, align 4, !tbaa !16
  store float %462, ptr %368, align 4, !tbaa !16
  invoke void @cblas_sgemv(i32 noundef 101, i32 noundef 112, i32 noundef 1024, i32 noundef 10, float noundef 1.000000e+00, ptr noundef %143, i32 noundef 10, ptr noundef nonnull %337, i32 noundef 1, float noundef 1.000000e+00, ptr noundef nonnull %338, i32 noundef 1)
          to label %478 unwind label %488

463:                                              ; preds = %415
  %464 = landingpad { ptr, i32 }
          cleanup
  br label %467

465:                                              ; preds = %441
  %466 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #12
  br label %467

467:                                              ; preds = %465, %463
  %.pn203 = phi { ptr, i32 } [ %466, %465 ], [ %464, %463 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %52) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %51) #12
  br label %500

468:                                              ; preds = %443
  %469 = landingpad { ptr, i32 }
          cleanup
  br label %472

470:                                              ; preds = %446
  %471 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #12
  br label %472

472:                                              ; preds = %470, %468
  %.pn205 = phi { ptr, i32 } [ %471, %470 ], [ %469, %468 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %54) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %53) #12
  br label %500

473:                                              ; preds = %448
  %474 = landingpad { ptr, i32 }
          cleanup
  br label %477

475:                                              ; preds = %450
  %476 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #12
  br label %477

477:                                              ; preds = %475, %473
  %.pn207 = phi { ptr, i32 } [ %476, %475 ], [ %474, %473 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %56) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %55) #12
  br label %500

478:                                              ; preds = %452
  %479 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %350, i64 noundef %indvars.iv336) #12
  %480 = load i8, ptr %479, align 1, !tbaa !33
  %481 = zext i8 %480 to i32
  %482 = call noundef i32 @_Z9getMaxLocPfi(ptr noundef nonnull %338, i32 noundef 10)
  %483 = icmp eq i32 %482, %481
  %484 = zext i1 %483 to i32
  %spec.select = add nuw nsw i32 %.0110283, %484
  %485 = trunc nuw nsw i64 %indvars.iv336 to i32
  %486 = urem i32 %485, 100
  %487 = icmp eq i32 %486, 99
  br i1 %487, label %490, label %._crit_edge339

._crit_edge339:                                   ; preds = %478
  %.pre = add nuw nsw i64 %indvars.iv336, 1
  br label %497

488:                                              ; preds = %452
  %489 = landingpad { ptr, i32 }
          cleanup
  br label %500

490:                                              ; preds = %478
  %491 = uitofp nneg i32 %spec.select to double
  %492 = add nuw nsw i64 %indvars.iv336, 1
  %493 = trunc nuw i64 %492 to i32
  %494 = uitofp nneg i32 %493 to double
  %495 = fdiv double %491, %494
  %496 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.20, i32 noundef %485, double noundef %495)
  br label %497

497:                                              ; preds = %._crit_edge339, %490
  %indvars.iv.next337.pre-phi = phi i64 [ %.pre, %._crit_edge339 ], [ %492, %490 ]
  %498 = call noundef i64 @_ZNKSt6vectorIS_IhSaIhEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %165) #12
  %499 = icmp ugt i64 %498, %indvars.iv.next337.pre-phi
  br i1 %499, label %.preheader, label %._crit_edge.loopexit, !llvm.loop !40

500:                                              ; preds = %422, %440, %467, %472, %477, %488, %391, %407, %416
  %.pn212.pn = phi { ptr, i32 } [ %417, %416 ], [ %408, %407 ], [ %392, %391 ], [ %.pn209, %440 ], [ %489, %488 ], [ %.pn207, %477 ], [ %.pn205, %472 ], [ %.pn203, %467 ], [ %.pn201, %422 ]
  call void @_ZN18SingleGPUSimulatorD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %46) #12
  br label %501

501:                                              ; preds = %500, %379
  %.pn212.pn.pn = phi { ptr, i32 } [ %.pn212.pn, %500 ], [ %380, %379 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %46) #12
  br label %502

502:                                              ; preds = %501, %378
  %.pn212.pn.pn.pn = phi { ptr, i32 } [ %.pn212.pn.pn, %501 ], [ %.pn199, %378 ]
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %43) #12
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %43) #12
  br label %503

503:                                              ; preds = %205, %242, %280, %281, %308, %316, %326, %334, %344, %502, %301, %290, %259, %221, %183
  %.pn232.pn.pn.pn = phi { ptr, i32 } [ %.pn193.pn, %183 ], [ %.pn232.pn, %205 ], [ %.pn228.pn, %221 ], [ %.pn224.pn, %242 ], [ %.pn220.pn, %259 ], [ %309, %308 ], [ %317, %316 ], [ %327, %326 ], [ %335, %334 ], [ %345, %344 ], [ %.pn212.pn.pn.pn, %502 ], [ %282, %281 ], [ %.pn196.pn, %280 ], [ %302, %301 ], [ %291, %290 ]
  call void @_ZN7NetworkD1Ev(ptr noundef nonnull align 8 dereferenceable(224) %30) #12
  br label %504

504:                                              ; preds = %503, %174
  %.pn232.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn232.pn.pn.pn, %503 ], [ %175, %174 ]
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %30) #12
  br label %505

505:                                              ; preds = %172, %504, %170
  %.pn232.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %171, %170 ], [ %.pn232.pn.pn.pn.pn, %504 ], [ %173, %172 ]
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %27) #12
  br label %506

506:                                              ; preds = %505, %153
  %.pn232.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn232.pn.pn.pn.pn.pn.pn, %505 ], [ %.pn191, %153 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %27) #12
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %24) #12
  br label %507

507:                                              ; preds = %506, %141
  %.pn232.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn232.pn.pn.pn.pn.pn.pn.pn, %506 ], [ %.pn189, %141 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %24) #12
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %21) #12
  br label %508

508:                                              ; preds = %507, %136
  %.pn232.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn232.pn.pn.pn.pn.pn.pn.pn.pn, %507 ], [ %.pn187, %136 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %21) #12
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %18) #12
  br label %509

509:                                              ; preds = %508, %121
  %.pn232.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn232.pn.pn.pn.pn.pn.pn.pn.pn.pn, %508 ], [ %.pn185, %121 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %18) #12
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %15) #12
  br label %510

510:                                              ; preds = %509, %109
  %.pn232.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn232.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %509 ], [ %.pn183, %109 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #12
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %12) #12
  br label %511

511:                                              ; preds = %510, %97
  %.pn232.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn232.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %510 ], [ %.pn181, %97 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #12
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %9) #12
  br label %512

512:                                              ; preds = %511, %85
  %.pn232.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn232.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %511 ], [ %.pn179, %85 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #12
  call void @_ZN4cnpy8NpyArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(37) %6) #12
  br label %513

513:                                              ; preds = %512, %73
  %.pn232.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn232.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %512 ], [ %.pn177, %73 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #12
  call void @_ZN5mnist13MNIST_datasetISt6vectorS1_IhSaIhEEhED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %3) #12
  br label %514

514:                                              ; preds = %513, %68
  %.pn232.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn232.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %513 ], [ %.pn, %68 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %3) #12
  resume { ptr, i32 } %.pn232.pn.pn.pn.pn.pn.pn.pn.pn.pn.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: mustprogress uwtable
declare dso_local void @_ZN5mnist12read_datasetITtTpTyESt6vectorTtTpTyES1_hhEENS_13MNIST_datasetIT_T0_IJT1_EET2_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmm(ptr dead_on_unwind noalias writable sret(%"struct.mnist::MNIST_dataset") align 8, ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef) 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 #2 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 @_ZN4cnpy8npy_loadENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"struct.cnpy::NpyArray") align 8, ptr noundef) local_unnamed_addr #4

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z13getConstArrayIfEPT_S0_i(float noundef, i32 noundef) local_unnamed_addr #2

declare void @_ZN7NetworkC1Ev(ptr noundef nonnull align 8 dereferenceable(224)) unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI14ConstantNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224), i32 noundef, i32 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2 align 2

declare void @_ZN14ConstantNeuronC1Efff(ptr noundef nonnull align 8 dereferenceable(80), float noundef, float noundef, float noundef) unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15CompositeNeuronI14ConstantNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(80), float noundef, float noundef) unnamed_addr #2 align 2

; Function Attrs: nounwind
declare void @_ZN14ConstantNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #6

; Function Attrs: nounwind
declare void @_ZN14ConstantNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IhSaIhEESaIS1_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 i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI8TJNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224), i32 noundef, i32 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2 align 2

declare void @_ZN8TJNeuronC1Effffff(ptr noundef nonnull align 8 dereferenceable(112), float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15CompositeNeuronI8TJNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(112), float noundef, float noundef) unnamed_addr #2 align 2

; Function Attrs: nounwind
declare void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #6

; Function Attrs: nounwind
declare void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI9MaxNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224), i32 noundef, i32 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2 align 2

declare void @_ZN9MaxNeuronC1Ei(ptr noundef nonnull align 8 dereferenceable(76), i32 noundef) unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15CompositeNeuronI9MaxNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(84), ptr noundef nonnull align 8 dereferenceable(76), float noundef, float noundef) unnamed_addr #2 align 2

; Function Attrs: nounwind
declare void @_ZN9MaxNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(76)) unnamed_addr #6

; Function Attrs: nounwind
declare void @_ZN9MaxNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(76)) unnamed_addr #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7Network14connectPoolingI15CompositeNeuronI8TJNeuron13StaticSynapseES1_I9MaxNeuronS3_EEEiP10PopulationIT_EPS7_IT0_Efiiii(ptr noundef nonnull align 8 dereferenceable(224), ptr noundef, ptr noundef, float noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

declare void @_ZN18SingleGPUSimulatorC1EP7Networkf(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef, float noundef) unnamed_addr #4

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

declare void @_ZN14ConstantNeuron7setRateEf(ptr noundef nonnull align 8 dereferenceable(80), float noundef) local_unnamed_addr #4

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

declare noundef i32 @_ZN18SingleGPUSimulator3runEfRSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS6_ESaISt4pairIKS6_S7_EEE(ptr noundef nonnull align 8 dereferenceable(20), float noundef, ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #10

declare void @cblas_sgemv(i32 noundef, i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, float noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z9getMaxLocPfi(ptr noundef, i32 noundef) local_unnamed_addr #3

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

; Function Attrs: nounwind
declare void @_ZN18SingleGPUSimulatorD1Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #6

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

; Function Attrs: nounwind
declare void @_ZN7NetworkD1Ev(ptr noundef nonnull align 8 dereferenceable(224)) unnamed_addr #6

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5mnist13MNIST_datasetISt6vectorS1_IhSaIhEEhED2Ev(ptr noundef nonnull align 8 dereferenceable(96)) unnamed_addr #8 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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSN4cnpy8NpyArrayE", !7, i64 0, !10, i64 8, !14, i64 32, !15, i64 36}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorIjSaIjEE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!14 = !{!"int", !8, i64 0}
!15 = !{!"bool", !8, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"float", !8, i64 0}
!18 = !{!7, !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}
!23 = distinct !{!23, !20}
!24 = !{!25, !25, i64 0}
!25 = !{!"vtable pointer", !9, i64 0}
!26 = distinct !{!26, !20}
!27 = distinct !{!27, !20}
!28 = distinct !{!28, !20}
!29 = distinct !{!29, !20}
!30 = distinct !{!30, !20}
!31 = distinct !{!31, !20}
!32 = distinct !{!32, !20}
!33 = !{!8, !8, i64 0}
!34 = distinct !{!34, !20}
!35 = !{!36, !7, i64 8}
!36 = !{!"_ZTS9ArrayInfo", !14, i64 0, !7, i64 8}
!37 = !{!36, !14, i64 0}
!38 = !{!14, !14, i64 0}
!39 = distinct !{!39, !20}
!40 = distinct !{!40, !20}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass