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

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

%class.Network = type { %"class.std::vector", %"class.std::vector.0", %"class.std::vector.5", i32, i32, i32, float, float, %"class.std::vector.10", %"class.std::vector.10", i32, %"class.std::vector.15", %"class.std::vector.15", %"class.std::vector.15" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = 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.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = 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.5", i8, i8, [2 x i8], i32, float }>
%class.Base = type { ptr, i32, i32 }
%class.CompositeNeuron.20 = 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.SingleThreadSimulator = type { %class.SimulatorBase.base, [4 x i8] }
%class.SimulatorBase.base = type <{ ptr, ptr, float }>
%class.SingleGPUSimulator = type { %class.SimulatorBase.base, [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.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.24" = type { i8 }

@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [20 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 i8, align 1
  %7 = alloca i32, align 4
  %8 = alloca %class.Network, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %class.CompositeNeuron, align 8
  %11 = alloca %class.ConstantNeuron, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca %class.CompositeNeuron.20, align 8
  %16 = alloca %class.TJNeuron, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %class.CompositeNeuron.20, align 8
  %19 = alloca %class.TJNeuron, align 8
  %20 = alloca ptr, align 8
  %21 = alloca %class.CompositeNeuron.20, align 8
  %22 = alloca %class.TJNeuron, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca %class.SingleThreadSimulator, align 8
  %28 = alloca %class.SingleGPUSimulator, align 8
  %29 = alloca %struct.ArrayInfo, align 8
  %30 = alloca %"class.std::map", align 8
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.std::allocator.24", align 1
  %33 = alloca %"class.std::map", align 8
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"class.std::allocator.24", align 1
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca %"class.std::allocator.24", align 1
  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 1, ptr %6) #9
  store i8 0, ptr %6, align 1, !tbaa !11
  %38 = load i32, ptr %4, align 4, !tbaa !5
  %39 = icmp sgt i32 %38, 1
  br i1 %39, label %40, label %47

40:                                               ; preds = %2
  %41 = load ptr, ptr %5, align 8, !tbaa !9
  %42 = getelementptr inbounds ptr, ptr %41, i64 1
  %43 = load ptr, ptr %42, align 8, !tbaa !9
  %44 = call i32 @strcmp(ptr noundef %43, ptr noundef @.str) #10
  %45 = icmp eq i32 0, %44
  br i1 %45, label %46, label %47

46:                                               ; preds = %40
  store i8 1, ptr %6, align 1, !tbaa !11
  br label %47

47:                                               ; preds = %46, %40, %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  store i32 500, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 224, ptr %8) #9
  call void @_ZN7NetworkC1Ev(ptr noundef nonnull align 8 dereferenceable(224) %8)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  call void @llvm.lifetime.start.p0(i64 80, ptr %11) #9
  invoke void @_ZN14ConstantNeuronC1Efff(ptr noundef nonnull align 8 dereferenceable(80) %11, float noundef 0x3FD0624DE0000000, float noundef 0.000000e+00, float noundef 1.000000e+09)
          to label %48 unwind label %79

48:                                               ; preds = %47
  invoke void @_ZN15CompositeNeuronI14ConstantNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef nonnull align 8 dereferenceable(80) %11, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %49 unwind label %83

49:                                               ; preds = %48
  %50 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI14ConstantNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %8, i32 noundef 0, i32 noundef 784, ptr noundef %10, i1 noundef zeroext false)
          to label %51 unwind label %87

51:                                               ; preds = %49
  call void @_ZN14ConstantNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %10) #9
  call void @_ZN14ConstantNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %11) #9
  call void @llvm.lifetime.end.p0(i64 80, ptr %11) #9
  store ptr %50, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.start.p0(i64 112, ptr %16) #9
  invoke void @_ZN8TJNeuronC1Effffff(ptr noundef nonnull align 8 dereferenceable(112) %16, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0x3FB99999A0000000, float noundef 0.000000e+00, float noundef 0x3F8EB851E0000000, float noundef 0.000000e+00)
          to label %52 unwind label %93

52:                                               ; preds = %51
  invoke void @_ZN15CompositeNeuronI8TJNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(120) %15, ptr noundef nonnull align 8 dereferenceable(112) %16, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %53 unwind label %97

53:                                               ; preds = %52
  %54 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI8TJNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %8, i32 noundef 1, i32 noundef 128, ptr noundef %15, i1 noundef zeroext false)
          to label %55 unwind label %101

55:                                               ; preds = %53
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %15) #9
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %16) #9
  call void @llvm.lifetime.end.p0(i64 112, ptr %16) #9
  store ptr %54, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.start.p0(i64 112, ptr %19) #9
  invoke void @_ZN8TJNeuronC1Effffff(ptr noundef nonnull align 8 dereferenceable(112) %19, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0x3FB99999A0000000, float noundef 0.000000e+00, float noundef 0x3F8EB851E0000000, float noundef 0.000000e+00)
          to label %56 unwind label %107

56:                                               ; preds = %55
  invoke void @_ZN15CompositeNeuronI8TJNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(120) %18, ptr noundef nonnull align 8 dereferenceable(112) %19, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %57 unwind label %111

57:                                               ; preds = %56
  %58 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI8TJNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %8, i32 noundef 2, i32 noundef 32, ptr noundef %18, i1 noundef zeroext false)
          to label %59 unwind label %115

59:                                               ; preds = %57
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %18) #9
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %19) #9
  call void @llvm.lifetime.end.p0(i64 112, ptr %19) #9
  store ptr %58, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.start.p0(i64 112, ptr %22) #9
  invoke void @_ZN8TJNeuronC1Effffff(ptr noundef nonnull align 8 dereferenceable(112) %22, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0x3FB99999A0000000, float noundef 0.000000e+00, float noundef 0x3F8EB851E0000000, float noundef 0.000000e+00)
          to label %60 unwind label %121

60:                                               ; preds = %59
  invoke void @_ZN15CompositeNeuronI8TJNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(120) %21, ptr noundef nonnull align 8 dereferenceable(112) %22, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %61 unwind label %125

61:                                               ; preds = %60
  %62 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI8TJNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %8, i32 noundef 3, i32 noundef 10, ptr noundef %21, i1 noundef zeroext false)
          to label %63 unwind label %129

63:                                               ; preds = %61
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %21) #9
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %22) #9
  call void @llvm.lifetime.end.p0(i64 112, ptr %22) #9
  store ptr %62, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  store ptr null, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  store ptr null, ptr %24, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  store ptr null, ptr %25, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  store ptr null, ptr %26, align 8, !tbaa !9
  %64 = load i8, ptr %6, align 1, !tbaa !11, !range !13, !noundef !14
  %65 = trunc i8 %64 to i1
  br i1 %65, label %66, label %139

66:                                               ; preds = %63
  %67 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.1)
          to label %68 unwind label %135

68:                                               ; preds = %66
  %69 = invoke noundef ptr @_Z9loadArrayPKci(ptr noundef @.str.2, i32 noundef 100352)
          to label %70 unwind label %135

70:                                               ; preds = %68
  store ptr %69, ptr %23, align 8, !tbaa !9
  %71 = invoke noundef ptr @_Z9loadArrayPKci(ptr noundef @.str.3, i32 noundef 4096)
          to label %72 unwind label %135

72:                                               ; preds = %70
  store ptr %71, ptr %24, align 8, !tbaa !9
  %73 = invoke noundef ptr @_Z9loadArrayPKci(ptr noundef @.str.4, i32 noundef 320)
          to label %74 unwind label %135

74:                                               ; preds = %72
  store ptr %73, ptr %25, align 8, !tbaa !9
  %75 = invoke noundef ptr @_Z9loadArrayPKci(ptr noundef @.str.5, i32 noundef 250000)
          to label %76 unwind label %135

76:                                               ; preds = %74
  store ptr %75, ptr %26, align 8, !tbaa !9
  %77 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.6)
          to label %78 unwind label %135

78:                                               ; preds = %76
  br label %152

79:                                               ; preds = %47
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %12, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %13, align 4
  br label %92

83:                                               ; preds = %48
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %12, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %13, align 4
  br label %91

87:                                               ; preds = %49
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %12, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %13, align 4
  call void @_ZN14ConstantNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %10) #9
  br label %91

91:                                               ; preds = %87, %83
  call void @_ZN14ConstantNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %11) #9
  br label %92

92:                                               ; preds = %91, %79
  call void @llvm.lifetime.end.p0(i64 80, ptr %11) #9
  br label %248

93:                                               ; preds = %51
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %12, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %13, align 4
  br label %106

97:                                               ; preds = %52
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %12, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %13, align 4
  br label %105

101:                                              ; preds = %53
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %12, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %13, align 4
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %15) #9
  br label %105

105:                                              ; preds = %101, %97
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %16) #9
  br label %106

106:                                              ; preds = %105, %93
  call void @llvm.lifetime.end.p0(i64 112, ptr %16) #9
  br label %247

107:                                              ; preds = %55
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %12, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %13, align 4
  br label %120

111:                                              ; preds = %56
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %12, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %13, align 4
  br label %119

115:                                              ; preds = %57
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %12, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %13, align 4
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %18) #9
  br label %119

119:                                              ; preds = %115, %111
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %19) #9
  br label %120

120:                                              ; preds = %119, %107
  call void @llvm.lifetime.end.p0(i64 112, ptr %19) #9
  br label %246

121:                                              ; preds = %59
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %12, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %13, align 4
  br label %134

125:                                              ; preds = %60
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %12, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %13, align 4
  br label %133

129:                                              ; preds = %61
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %12, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %13, align 4
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %21) #9
  br label %133

133:                                              ; preds = %129, %125
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %22) #9
  br label %134

134:                                              ; preds = %133, %121
  call void @llvm.lifetime.end.p0(i64 112, ptr %22) #9
  br label %245

135:                                              ; preds = %164, %158, %152, %149, %147, %145, %143, %141, %139, %76, %74, %72, %70, %68, %66
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %12, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %13, align 4
  br label %244

139:                                              ; preds = %63
  %140 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.7)
          to label %141 unwind label %135

141:                                              ; preds = %139
  %142 = invoke noundef ptr @_Z14getRandomArrayIfEPT_S0_i(float noundef 0x3F60624DE0000000, i32 noundef 100352)
          to label %143 unwind label %135

143:                                              ; preds = %141
  store ptr %142, ptr %23, align 8, !tbaa !9
  %144 = invoke noundef ptr @_Z14getRandomArrayIfEPT_S0_i(float noundef 0x3F60624DE0000000, i32 noundef 4096)
          to label %145 unwind label %135

145:                                              ; preds = %143
  store ptr %144, ptr %24, align 8, !tbaa !9
  %146 = invoke noundef ptr @_Z14getRandomArrayIfEPT_S0_i(float noundef 0x3F947AE140000000, i32 noundef 320)
          to label %147 unwind label %135

147:                                              ; preds = %145
  store ptr %146, ptr %25, align 8, !tbaa !9
  %148 = invoke noundef ptr @_Z13getConstArrayIfEPT_S0_i(float noundef 0x3F50624DE0000000, i32 noundef 250000)
          to label %149 unwind label %135

149:                                              ; preds = %147
  store ptr %148, ptr %26, align 8, !tbaa !9
  %150 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.8)
          to label %151 unwind label %135

151:                                              ; preds = %149
  br label %152

152:                                              ; preds = %151, %78
  %153 = load ptr, ptr %9, align 8, !tbaa !9
  %154 = load ptr, ptr %14, align 8, !tbaa !9
  %155 = load ptr, ptr %23, align 8, !tbaa !9
  %156 = load ptr, ptr %26, align 8, !tbaa !9
  %157 = invoke noundef i32 @_ZN7Network7connectI15CompositeNeuronI14ConstantNeuron13StaticSynapseES1_I8TJNeuronS3_EEEiP10PopulationIT_EPS7_IT0_EPfSE_P9SpikeTypei(ptr noundef nonnull align 8 dereferenceable(224) %8, ptr noundef %153, ptr noundef %154, ptr noundef %155, ptr noundef %156, ptr noundef null, i32 noundef 100352)
          to label %158 unwind label %135

158:                                              ; preds = %152
  %159 = load ptr, ptr %14, align 8, !tbaa !9
  %160 = load ptr, ptr %17, align 8, !tbaa !9
  %161 = load ptr, ptr %24, align 8, !tbaa !9
  %162 = load ptr, ptr %26, align 8, !tbaa !9
  %163 = invoke noundef i32 @_ZN7Network7connectI15CompositeNeuronI8TJNeuron13StaticSynapseES4_EEiP10PopulationIT_EPS5_IT0_EPfSC_P9SpikeTypei(ptr noundef nonnull align 8 dereferenceable(224) %8, ptr noundef %159, ptr noundef %160, ptr noundef %161, ptr noundef %162, ptr noundef null, i32 noundef 4096)
          to label %164 unwind label %135

164:                                              ; preds = %158
  %165 = load ptr, ptr %17, align 8, !tbaa !9
  %166 = load ptr, ptr %20, align 8, !tbaa !9
  %167 = load ptr, ptr %25, align 8, !tbaa !9
  %168 = load ptr, ptr %26, align 8, !tbaa !9
  %169 = invoke noundef i32 @_ZN7Network7connectI15CompositeNeuronI8TJNeuron13StaticSynapseES4_EEiP10PopulationIT_EPS5_IT0_EPfSC_P9SpikeTypei(ptr noundef nonnull align 8 dereferenceable(224) %8, ptr noundef %165, ptr noundef %166, ptr noundef %167, ptr noundef %168, ptr noundef null, i32 noundef 320)
          to label %170 unwind label %135

170:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 24, ptr %27) #9
  invoke void @_ZN21SingleThreadSimulatorC1EP7Networkf(ptr noundef nonnull align 8 dereferenceable(20) %27, ptr noundef %8, float noundef 0x3F50624DE0000000)
          to label %171 unwind label %204

171:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #9
  invoke void @_ZN18SingleGPUSimulatorC1EP7Networkf(ptr noundef nonnull align 8 dereferenceable(20) %28, ptr noundef %8, float noundef 0x3F50624DE0000000)
          to label %172 unwind label %208

172:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #9
  call void @llvm.memset.p0.i64(ptr align 8 %29, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 48, ptr %30) #9
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %173 unwind label %212

173:                                              ; preds = %172
  %174 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %30, ptr noundef nonnull align 8 dereferenceable(32) %31)
          to label %175 unwind label %216

175:                                              ; preds = %173
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %174, ptr align 8 %29, i64 16, i1 false), !tbaa.struct !15
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  %176 = invoke noundef i32 @_ZN18SingleGPUSimulator3runEfRSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS6_ESaISt4pairIKS6_S7_EEE(ptr noundef nonnull align 8 dereferenceable(20) %28, float noundef 0x3FB99999A0000000, ptr noundef nonnull align 8 dereferenceable(48) %30)
          to label %177 unwind label %221

177:                                              ; preds = %175
  %178 = invoke noundef i32 @_ZN13SimulatorBase3runEf(ptr noundef nonnull align 8 dereferenceable(20) %27, float noundef 0x3FB99999A0000000)
          to label %179 unwind label %221

179:                                              ; preds = %177
  invoke void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEC2ERKSD_(ptr noundef nonnull align 8 dereferenceable(48) %33, ptr noundef nonnull align 8 dereferenceable(48) %30)
          to label %180 unwind label %221

180:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %181 unwind label %225

181:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %182 unwind label %229

182:                                              ; preds = %181
  %183 = invoke noundef i32 @_Z11logFireInfoSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEES5_S5_(ptr noundef %33, ptr noundef %34, ptr noundef %36)
          to label %184 unwind label %233

184:                                              ; preds = %182
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #9
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %33) #9
  %185 = load i8, ptr %6, align 1, !tbaa !11, !range !13, !noundef !14
  %186 = trunc i8 %185 to i1
  br i1 %186, label %239, label %187

187:                                              ; preds = %184
  %188 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.11)
          to label %189 unwind label %221

189:                                              ; preds = %187
  %190 = load ptr, ptr %23, align 8, !tbaa !9
  %191 = invoke noundef i32 @_Z9saveArrayPKcPfi(ptr noundef @.str.2, ptr noundef %190, i32 noundef 100352)
          to label %192 unwind label %221

192:                                              ; preds = %189
  %193 = load ptr, ptr %24, align 8, !tbaa !9
  %194 = invoke noundef i32 @_Z9saveArrayPKcPfi(ptr noundef @.str.3, ptr noundef %193, i32 noundef 4096)
          to label %195 unwind label %221

195:                                              ; preds = %192
  %196 = load ptr, ptr %24, align 8, !tbaa !9
  %197 = invoke noundef i32 @_Z9saveArrayPKcPfi(ptr noundef @.str.4, ptr noundef %196, i32 noundef 320)
          to label %198 unwind label %221

198:                                              ; preds = %195
  %199 = load ptr, ptr %26, align 8, !tbaa !9
  %200 = invoke noundef i32 @_Z9saveArrayPKcPfi(ptr noundef @.str.5, ptr noundef %199, i32 noundef 250000)
          to label %201 unwind label %221

201:                                              ; preds = %198
  %202 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.12)
          to label %203 unwind label %221

203:                                              ; preds = %201
  br label %239

204:                                              ; preds = %170
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %12, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %13, align 4
  br label %243

208:                                              ; preds = %171
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %12, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %13, align 4
  br label %242

212:                                              ; preds = %172
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %12, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %13, align 4
  br label %220

216:                                              ; preds = %173
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %12, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  br label %220

220:                                              ; preds = %216, %212
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  br label %241

221:                                              ; preds = %201, %198, %195, %192, %189, %187, %179, %177, %175
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %12, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %13, align 4
  br label %241

225:                                              ; preds = %180
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %12, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %13, align 4
  br label %238

229:                                              ; preds = %181
  %230 = landingpad { ptr, i32 }
          cleanup
  %231 = extractvalue { ptr, i32 } %230, 0
  store ptr %231, ptr %12, align 8
  %232 = extractvalue { ptr, i32 } %230, 1
  store i32 %232, ptr %13, align 4
  br label %237

233:                                              ; preds = %182
  %234 = landingpad { ptr, i32 }
          cleanup
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %12, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #9
  br label %237

237:                                              ; preds = %233, %229
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #9
  br label %238

238:                                              ; preds = %237, %225
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #9
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %33) #9
  br label %241

239:                                              ; preds = %203, %184
  store i32 0, ptr %3, align 4
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #9
  call void @_ZN18SingleGPUSimulatorD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %28) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #9
  call void @_ZN21SingleThreadSimulatorD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %27) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  call void @_ZN7NetworkD1Ev(ptr noundef nonnull align 8 dereferenceable(224) %8) #9
  call void @llvm.lifetime.end.p0(i64 224, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #9
  %240 = load i32, ptr %3, align 4
  ret i32 %240

241:                                              ; preds = %238, %221, %220
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #9
  call void @_ZN18SingleGPUSimulatorD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %28) #9
  br label %242

242:                                              ; preds = %241, %208
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #9
  call void @_ZN21SingleThreadSimulatorD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %27) #9
  br label %243

243:                                              ; preds = %242, %204
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #9
  br label %244

244:                                              ; preds = %243, %135
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  br label %245

245:                                              ; preds = %244, %134
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  br label %246

246:                                              ; preds = %245, %120
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  br label %247

247:                                              ; preds = %246, %106
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  br label %248

248:                                              ; preds = %247, %92
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  call void @_ZN7NetworkD1Ev(ptr noundef nonnull align 8 dereferenceable(224) %8) #9
  call void @llvm.lifetime.end.p0(i64 224, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #9
  br label %249

249:                                              ; preds = %248
  %250 = load ptr, ptr %12, align 8
  %251 = load i32, ptr %13, align 4
  %252 = insertvalue { ptr, i32 } poison, ptr %250, 0
  %253 = insertvalue { ptr, i32 } %252, i32 %251, 1
  resume { ptr, i32 } %253
}

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #2

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

declare noundef ptr @_Z9loadArrayPKci(ptr noundef, i32 noundef) #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7Network7connectI15CompositeNeuronI14ConstantNeuron13StaticSynapseES1_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) #4 align 2

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

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

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

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

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

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

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

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

declare noundef i32 @_ZN13SimulatorBase3runEf(ptr noundef nonnull align 8 dereferenceable(20), float noundef) #3

declare noundef i32 @_Z11logFireInfoSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEES5_S5_(ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEC2ERKSD_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

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

declare noundef i32 @_Z9saveArrayPKcPfi(ptr noundef, ptr noundef, i32 noundef) #3

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

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

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

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

!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, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{i64 0, i64 4, !5, i64 8, i64 8, !9}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%class.Network = type { %"class.std::vector", %"class.std::vector.0", %"class.std::vector.5", i32, i32, i32, float, float, %"class.std::vector.10", %"class.std::vector.10", i32, %"class.std::vector.15", %"class.std::vector.15", %"class.std::vector.15" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = 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.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = 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.5", i8, i8, [2 x i8], i32, float }>
%class.Base = type { ptr, i32, i32 }
%class.CompositeNeuron.20 = 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.SingleThreadSimulator = type { %class.SimulatorBase.base, [4 x i8] }
%class.SimulatorBase.base = type <{ ptr, ptr, float }>
%class.SingleGPUSimulator = type { %class.SimulatorBase.base, [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.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.24" = type { i8 }

@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %class.Network, align 8
  %4 = alloca %class.CompositeNeuron, align 8
  %5 = alloca %class.ConstantNeuron, align 8
  %6 = alloca %class.CompositeNeuron.20, align 8
  %7 = alloca %class.TJNeuron, align 8
  %8 = alloca %class.CompositeNeuron.20, align 8
  %9 = alloca %class.TJNeuron, align 8
  %10 = alloca %class.CompositeNeuron.20, align 8
  %11 = alloca %class.TJNeuron, align 8
  %12 = alloca %class.SingleThreadSimulator, align 8
  %13 = alloca %class.SingleGPUSimulator, align 8
  %14 = alloca %"class.std::map", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator.24", align 1
  %17 = alloca %"class.std::map", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::allocator.24", align 1
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.std::allocator.24", align 1
  %22 = icmp sgt i32 %0, 1
  br i1 %22, label %23, label %28

23:                                               ; preds = %2
  %24 = getelementptr inbounds i8, ptr %1, i64 8
  %25 = load ptr, ptr %24, align 8, !tbaa !5
  %26 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %25, ptr noundef nonnull dereferenceable(1) @.str) #9
  %27 = icmp eq i32 %26, 0
  br label %28

28:                                               ; preds = %23, %2
  %.025 = phi i1 [ false, %2 ], [ %27, %23 ]
  call void @llvm.lifetime.start.p0(i64 224, ptr nonnull %3) #10
  call void @_ZN7NetworkC1Ev(ptr noundef nonnull align 8 dereferenceable(224) %3)
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %5) #10
  invoke void @_ZN14ConstantNeuronC1Efff(ptr noundef nonnull align 8 dereferenceable(80) %5, float noundef 0x3FD0624DE0000000, float noundef 0.000000e+00, float noundef 1.000000e+09)
          to label %29 unwind label %54

29:                                               ; preds = %28
  invoke void @_ZN15CompositeNeuronI14ConstantNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(80) %5, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %30 unwind label %56

30:                                               ; preds = %29
  %31 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI14ConstantNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %3, i32 noundef 0, i32 noundef 784, ptr noundef nonnull %4, i1 noundef zeroext false)
          to label %32 unwind label %58

32:                                               ; preds = %30
  call void @_ZN14ConstantNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %4) #10
  call void @_ZN14ConstantNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %5) #10
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %5) #10
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %7) #10
  invoke void @_ZN8TJNeuronC1Effffff(ptr noundef nonnull align 8 dereferenceable(112) %7, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0x3FB99999A0000000, float noundef 0.000000e+00, float noundef 0x3F8EB851E0000000, float noundef 0.000000e+00)
          to label %33 unwind label %62

33:                                               ; preds = %32
  invoke void @_ZN15CompositeNeuronI8TJNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(120) %6, ptr noundef nonnull align 8 dereferenceable(112) %7, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %34 unwind label %64

34:                                               ; preds = %33
  %35 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI8TJNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %3, i32 noundef 1, i32 noundef 128, ptr noundef nonnull %6, i1 noundef zeroext false)
          to label %36 unwind label %66

36:                                               ; preds = %34
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %6) #10
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %7) #10
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %7) #10
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %9) #10
  invoke void @_ZN8TJNeuronC1Effffff(ptr noundef nonnull align 8 dereferenceable(112) %9, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0x3FB99999A0000000, float noundef 0.000000e+00, float noundef 0x3F8EB851E0000000, float noundef 0.000000e+00)
          to label %37 unwind label %70

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

38:                                               ; preds = %37
  %39 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI8TJNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %3, i32 noundef 2, i32 noundef 32, ptr noundef nonnull %8, i1 noundef zeroext false)
          to label %40 unwind label %74

40:                                               ; preds = %38
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %8) #10
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %9) #10
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %9) #10
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %11) #10
  invoke void @_ZN8TJNeuronC1Effffff(ptr noundef nonnull align 8 dereferenceable(112) %11, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0x3FB99999A0000000, float noundef 0.000000e+00, float noundef 0x3F8EB851E0000000, float noundef 0.000000e+00)
          to label %41 unwind label %78

41:                                               ; preds = %40
  invoke void @_ZN15CompositeNeuronI8TJNeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(120) %10, ptr noundef nonnull align 8 dereferenceable(112) %11, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %42 unwind label %80

42:                                               ; preds = %41
  %43 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI8TJNeuron13StaticSynapseEEEP10PopulationIT_EiiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %3, i32 noundef 3, i32 noundef 10, ptr noundef nonnull %10, i1 noundef zeroext false)
          to label %44 unwind label %82

44:                                               ; preds = %42
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %10) #10
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %11) #10
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %11) #10
  br i1 %.025, label %45, label %88

45:                                               ; preds = %44
  %46 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %47 = invoke noundef ptr @_Z9loadArrayPKci(ptr noundef nonnull @.str.2, i32 noundef 100352)
          to label %48 unwind label %86

48:                                               ; preds = %45
  %49 = invoke noundef ptr @_Z9loadArrayPKci(ptr noundef nonnull @.str.3, i32 noundef 4096)
          to label %50 unwind label %86

50:                                               ; preds = %48
  %51 = invoke noundef ptr @_Z9loadArrayPKci(ptr noundef nonnull @.str.4, i32 noundef 320)
          to label %52 unwind label %86

52:                                               ; preds = %50
  %53 = invoke noundef ptr @_Z9loadArrayPKci(ptr noundef nonnull @.str.5, i32 noundef 250000)
          to label %97 unwind label %86

54:                                               ; preds = %28
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %61

56:                                               ; preds = %29
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %60

58:                                               ; preds = %30
  %59 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN14ConstantNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %4) #10
  br label %60

60:                                               ; preds = %58, %56
  %.pn = phi { ptr, i32 } [ %59, %58 ], [ %57, %56 ]
  call void @_ZN14ConstantNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %5) #10
  br label %61

61:                                               ; preds = %60, %54
  %.pn.pn = phi { ptr, i32 } [ %.pn, %60 ], [ %55, %54 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %5) #10
  br label %153

62:                                               ; preds = %32
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %69

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

66:                                               ; preds = %34
  %67 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %6) #10
  br label %68

68:                                               ; preds = %66, %64
  %.pn48 = phi { ptr, i32 } [ %67, %66 ], [ %65, %64 ]
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %7) #10
  br label %69

69:                                               ; preds = %68, %62
  %.pn48.pn = phi { ptr, i32 } [ %.pn48, %68 ], [ %63, %62 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %7) #10
  br label %153

70:                                               ; preds = %36
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %77

72:                                               ; preds = %37
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %76

74:                                               ; preds = %38
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %8) #10
  br label %76

76:                                               ; preds = %74, %72
  %.pn51 = phi { ptr, i32 } [ %75, %74 ], [ %73, %72 ]
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %9) #10
  br label %77

77:                                               ; preds = %76, %70
  %.pn51.pn = phi { ptr, i32 } [ %.pn51, %76 ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %9) #10
  br label %153

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

80:                                               ; preds = %41
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %84

82:                                               ; preds = %42
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8TJNeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %10) #10
  br label %84

84:                                               ; preds = %82, %80
  %.pn54 = phi { ptr, i32 } [ %83, %82 ], [ %81, %80 ]
  call void @_ZN8TJNeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(112) %11) #10
  br label %85

85:                                               ; preds = %84, %78
  %.pn54.pn = phi { ptr, i32 } [ %.pn54, %84 ], [ %79, %78 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %11) #10
  br label %153

86:                                               ; preds = %102, %100, %97, %95, %93, %91, %88, %52, %50, %48, %45
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %153

88:                                               ; preds = %44
  %89 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  %90 = invoke noundef ptr @_Z14getRandomArrayIfEPT_S0_i(float noundef 0x3F60624DE0000000, i32 noundef 100352)
          to label %91 unwind label %86

91:                                               ; preds = %88
  %92 = invoke noundef ptr @_Z14getRandomArrayIfEPT_S0_i(float noundef 0x3F60624DE0000000, i32 noundef 4096)
          to label %93 unwind label %86

93:                                               ; preds = %91
  %94 = invoke noundef ptr @_Z14getRandomArrayIfEPT_S0_i(float noundef 0x3F947AE140000000, i32 noundef 320)
          to label %95 unwind label %86

95:                                               ; preds = %93
  %96 = invoke noundef ptr @_Z13getConstArrayIfEPT_S0_i(float noundef 0x3F50624DE0000000, i32 noundef 250000)
          to label %97 unwind label %86

97:                                               ; preds = %95, %52
  %.str.8.sink = phi ptr [ @.str.6, %52 ], [ @.str.8, %95 ]
  %.024 = phi ptr [ %47, %52 ], [ %90, %95 ]
  %.023 = phi ptr [ %49, %52 ], [ %92, %95 ]
  %.022 = phi ptr [ %51, %52 ], [ %94, %95 ]
  %.0 = phi ptr [ %53, %52 ], [ %96, %95 ]
  %98 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.8.sink)
  %99 = invoke noundef i32 @_ZN7Network7connectI15CompositeNeuronI14ConstantNeuron13StaticSynapseES1_I8TJNeuronS3_EEEiP10PopulationIT_EPS7_IT0_EPfSE_P9SpikeTypei(ptr noundef nonnull align 8 dereferenceable(224) %3, ptr noundef %31, ptr noundef %35, ptr noundef %.024, ptr noundef %.0, ptr noundef null, i32 noundef 100352)
          to label %100 unwind label %86

100:                                              ; preds = %97
  %101 = invoke noundef i32 @_ZN7Network7connectI15CompositeNeuronI8TJNeuron13StaticSynapseES4_EEiP10PopulationIT_EPS5_IT0_EPfSC_P9SpikeTypei(ptr noundef nonnull align 8 dereferenceable(224) %3, ptr noundef %35, ptr noundef %39, ptr noundef %.023, ptr noundef %.0, ptr noundef null, i32 noundef 4096)
          to label %102 unwind label %86

102:                                              ; preds = %100
  %103 = invoke noundef i32 @_ZN7Network7connectI15CompositeNeuronI8TJNeuron13StaticSynapseES4_EEiP10PopulationIT_EPS5_IT0_EPfSC_P9SpikeTypei(ptr noundef nonnull align 8 dereferenceable(224) %3, ptr noundef %39, ptr noundef %43, ptr noundef %.022, ptr noundef %.0, ptr noundef null, i32 noundef 320)
          to label %104 unwind label %86

104:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #10
  invoke void @_ZN21SingleThreadSimulatorC1EP7Networkf(ptr noundef nonnull align 8 dereferenceable(20) %12, ptr noundef nonnull %3, float noundef 0x3F50624DE0000000)
          to label %105 unwind label %130

105:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #10
  invoke void @_ZN18SingleGPUSimulatorC1EP7Networkf(ptr noundef nonnull align 8 dereferenceable(20) %13, ptr noundef nonnull %3, float noundef 0x3F50624DE0000000)
          to label %106 unwind label %132

106:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %14) #10
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %107 unwind label %134

107:                                              ; preds = %106
  %108 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %14, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %109 unwind label %136

109:                                              ; preds = %107
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %108, i8 0, i64 16, i1 false)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #10
  %110 = invoke noundef i32 @_ZN18SingleGPUSimulator3runEfRSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS6_ESaISt4pairIKS6_S7_EEE(ptr noundef nonnull align 8 dereferenceable(20) %13, float noundef 0x3FB99999A0000000, ptr noundef nonnull align 8 dereferenceable(48) %14)
          to label %111 unwind label %139

111:                                              ; preds = %109
  %112 = invoke noundef i32 @_ZN13SimulatorBase3runEf(ptr noundef nonnull align 8 dereferenceable(20) %12, float noundef 0x3FB99999A0000000)
          to label %113 unwind label %139

113:                                              ; preds = %111
  invoke void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEC2ERKSD_(ptr noundef nonnull align 8 dereferenceable(48) %17, ptr noundef nonnull align 8 dereferenceable(48) %14)
          to label %114 unwind label %139

114:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %115 unwind label %141

115:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %116 unwind label %143

116:                                              ; preds = %115
  %117 = invoke noundef i32 @_Z11logFireInfoSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEES5_S5_(ptr noundef nonnull %17, ptr noundef nonnull %18, ptr noundef nonnull %20)
          to label %118 unwind label %145

118:                                              ; preds = %116
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #10
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #10
  br i1 %.025, label %149, label %119

119:                                              ; preds = %118
  %120 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11)
  %121 = invoke noundef i32 @_Z9saveArrayPKcPfi(ptr noundef nonnull @.str.2, ptr noundef %.024, i32 noundef 100352)
          to label %122 unwind label %139

122:                                              ; preds = %119
  %123 = invoke noundef i32 @_Z9saveArrayPKcPfi(ptr noundef nonnull @.str.3, ptr noundef %.023, i32 noundef 4096)
          to label %124 unwind label %139

124:                                              ; preds = %122
  %125 = invoke noundef i32 @_Z9saveArrayPKcPfi(ptr noundef nonnull @.str.4, ptr noundef %.023, i32 noundef 320)
          to label %126 unwind label %139

126:                                              ; preds = %124
  %127 = invoke noundef i32 @_Z9saveArrayPKcPfi(ptr noundef nonnull @.str.5, ptr noundef %.0, i32 noundef 250000)
          to label %128 unwind label %139

128:                                              ; preds = %126
  %129 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  br label %149

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

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

134:                                              ; preds = %106
  %135 = landingpad { ptr, i32 }
          cleanup
  br label %138

136:                                              ; preds = %107
  %137 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #10
  br label %138

138:                                              ; preds = %136, %134
  %.pn57 = phi { ptr, i32 } [ %137, %136 ], [ %135, %134 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #10
  br label %150

139:                                              ; preds = %126, %124, %122, %119, %113, %111, %109
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %150

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

143:                                              ; preds = %115
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %147

145:                                              ; preds = %116
  %146 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #10
  br label %147

147:                                              ; preds = %145, %143
  %.pn59 = phi { ptr, i32 } [ %146, %145 ], [ %144, %143 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #10
  br label %148

148:                                              ; preds = %147, %141
  %.pn59.pn = phi { ptr, i32 } [ %.pn59, %147 ], [ %142, %141 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #10
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #10
  br label %150

149:                                              ; preds = %128, %118
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %14) #10
  call void @_ZN18SingleGPUSimulatorD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %13) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #10
  call void @_ZN21SingleThreadSimulatorD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %12) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #10
  call void @_ZN7NetworkD1Ev(ptr noundef nonnull align 8 dereferenceable(224) %3) #10
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %3) #10
  ret i32 0

150:                                              ; preds = %148, %139, %138
  %.pn62 = phi { ptr, i32 } [ %140, %139 ], [ %.pn59.pn, %148 ], [ %.pn57, %138 ]
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %14) #10
  call void @_ZN18SingleGPUSimulatorD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %13) #10
  br label %151

151:                                              ; preds = %150, %132
  %.pn62.pn = phi { ptr, i32 } [ %.pn62, %150 ], [ %133, %132 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #10
  call void @_ZN21SingleThreadSimulatorD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %12) #10
  br label %152

152:                                              ; preds = %151, %130
  %.pn62.pn.pn = phi { ptr, i32 } [ %.pn62.pn, %151 ], [ %131, %130 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #10
  br label %153

153:                                              ; preds = %69, %85, %152, %86, %77, %61
  %.pn62.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %61 ], [ %.pn48.pn, %69 ], [ %.pn51.pn, %77 ], [ %.pn54.pn, %85 ], [ %.pn62.pn.pn, %152 ], [ %87, %86 ]
  call void @_ZN7NetworkD1Ev(ptr noundef nonnull align 8 dereferenceable(224) %3) #10
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %3) #10
  resume { ptr, i32 } %.pn62.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 nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; 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 #4 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 #3

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

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

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

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

declare noundef ptr @_Z9loadArrayPKci(ptr noundef, i32 noundef) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7Network7connectI15CompositeNeuronI14ConstantNeuron13StaticSynapseES1_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 #4 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) 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 #8 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 #3

declare noundef i32 @_ZN13SimulatorBase3runEf(ptr noundef nonnull align 8 dereferenceable(20), float noundef) local_unnamed_addr #3

declare noundef i32 @_Z11logFireInfoSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEES5_S5_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE9ArrayInfoSt4lessIS5_ESaISt4pairIKS5_S6_EEEC2ERKSD_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

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

declare noundef i32 @_Z9saveArrayPKcPfi(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

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

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

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

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 nofree nounwind willreturn memory(argmem: read) "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 = { "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 = { 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 #5 = { 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 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { 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 = { nounwind willreturn memory(read) }
attributes #10 = { nounwind }

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass