; LLVM IR from CRAFT-THU/BSim :: test/gpu (brian_multi_unit_single_run_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.LIFENeuron, float, float }
%class.LIFENeuron = type { %class.NeuronBase.base, float, float, float, float, float, float, float, float, float, float, float, i32, i32, float, float, float, float, float, float, float, float, float, float }
%class.NeuronBase.base = type <{ %class.Base, %"class.std::vector.5", i8, i8, [2 x i8], i32, float }>
%class.Base = type { ptr, i32, i32 }
%class.SingleGPUSimulator = type { %class.SimulatorBase.base, [4 x i8] }
%class.SimulatorBase.base = type <{ ptr, ptr, float }>
%class.MultiGPUSimulator = type { %class.SimulatorBase.base, i32, i32, [4 x 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 [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.9 = 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.LIFENeuron, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca %class.CompositeNeuron, align 8
  %16 = alloca %class.LIFENeuron, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %class.CompositeNeuron, align 8
  %19 = alloca %class.LIFENeuron, align 8
  %20 = alloca ptr, align 8
  %21 = alloca %class.CompositeNeuron, align 8
  %22 = alloca %class.LIFENeuron, align 8
  %23 = alloca ptr, align 8
  %24 = alloca %class.CompositeNeuron, align 8
  %25 = alloca %class.LIFENeuron, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca %class.SingleGPUSimulator, align 8
  %30 = alloca %class.MultiGPUSimulator, align 8
  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) #6
  store i8 0, ptr %6, align 1, !tbaa !11
  %31 = load i32, ptr %4, align 4, !tbaa !5
  %32 = icmp sgt i32 %31, 1
  br i1 %32, label %33, label %40

33:                                               ; preds = %2
  %34 = load ptr, ptr %5, align 8, !tbaa !9
  %35 = getelementptr inbounds ptr, ptr %34, i64 1
  %36 = load ptr, ptr %35, align 8, !tbaa !9
  %37 = call i32 @strcmp(ptr noundef %36, ptr noundef @.str) #7
  %38 = icmp eq i32 0, %37
  br i1 %38, label %39, label %40

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

40:                                               ; preds = %39, %33, %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 10, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 224, ptr %8) #6
  call void @_ZN7NetworkC1Ev(ptr noundef nonnull align 8 dereferenceable(224) %8)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr %11) #6
  invoke void @_ZN10LIFENeuronC1Effffffffff(ptr noundef nonnull align 8 dereferenceable(144) %11, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0x3FB99999A0000000, float noundef 0x3FA99999A0000000, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 0x3F8EB851E0000000, float noundef 0.000000e+00)
          to label %41 unwind label %74

41:                                               ; preds = %40
  invoke void @_ZN15CompositeNeuronI10LIFENeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(152) %10, ptr noundef nonnull align 8 dereferenceable(144) %11, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %42 unwind label %78

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

44:                                               ; preds = %42
  call void @_ZN10LIFENeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %10) #6
  call void @_ZN10LIFENeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %11) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %11) #6
  store ptr %43, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr %16) #6
  invoke void @_ZN10LIFENeuronC1Effffffffff(ptr noundef nonnull align 8 dereferenceable(144) %16, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0x3FB99999A0000000, float noundef 0x3FA99999A0000000, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 0x3F8EB851E0000000, float noundef 1.000000e+00)
          to label %45 unwind label %88

45:                                               ; preds = %44
  invoke void @_ZN15CompositeNeuronI10LIFENeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(152) %15, ptr noundef nonnull align 8 dereferenceable(144) %16, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %46 unwind label %92

46:                                               ; preds = %45
  %47 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI10LIFENeuron13StaticSynapseEEEP10PopulationIT_EiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %8, i32 noundef 10, ptr noundef %15, i1 noundef zeroext false)
          to label %48 unwind label %96

48:                                               ; preds = %46
  call void @_ZN10LIFENeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %15) #6
  call void @_ZN10LIFENeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %16) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %16) #6
  store ptr %47, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr %19) #6
  invoke void @_ZN10LIFENeuronC1Effffffffff(ptr noundef nonnull align 8 dereferenceable(144) %19, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0x3FB99999A0000000, float noundef 0x3FA99999A0000000, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 0x3F8EB851E0000000, float noundef 0.000000e+00)
          to label %49 unwind label %102

49:                                               ; preds = %48
  invoke void @_ZN15CompositeNeuronI10LIFENeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(152) %18, ptr noundef nonnull align 8 dereferenceable(144) %19, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %50 unwind label %106

50:                                               ; preds = %49
  %51 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI10LIFENeuron13StaticSynapseEEEP10PopulationIT_EiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %8, i32 noundef 10, ptr noundef %18, i1 noundef zeroext false)
          to label %52 unwind label %110

52:                                               ; preds = %50
  call void @_ZN10LIFENeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %18) #6
  call void @_ZN10LIFENeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %19) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %19) #6
  store ptr %51, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr %22) #6
  invoke void @_ZN10LIFENeuronC1Effffffffff(ptr noundef nonnull align 8 dereferenceable(144) %22, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0x3FB99999A0000000, float noundef 0x3FA99999A0000000, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 0x3F8EB851E0000000, float noundef 0.000000e+00)
          to label %53 unwind label %116

53:                                               ; preds = %52
  invoke void @_ZN15CompositeNeuronI10LIFENeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(152) %21, ptr noundef nonnull align 8 dereferenceable(144) %22, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %54 unwind label %120

54:                                               ; preds = %53
  %55 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI10LIFENeuron13StaticSynapseEEEP10PopulationIT_EiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %8, i32 noundef 10, ptr noundef %21, i1 noundef zeroext false)
          to label %56 unwind label %124

56:                                               ; preds = %54
  call void @_ZN10LIFENeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %21) #6
  call void @_ZN10LIFENeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %22) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %22) #6
  store ptr %55, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr %25) #6
  invoke void @_ZN10LIFENeuronC1Effffffffff(ptr noundef nonnull align 8 dereferenceable(144) %25, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0x3FB99999A0000000, float noundef 0x3FA99999A0000000, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 0x3F8EB851E0000000, float noundef 0.000000e+00)
          to label %57 unwind label %130

57:                                               ; preds = %56
  invoke void @_ZN15CompositeNeuronI10LIFENeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(152) %24, ptr noundef nonnull align 8 dereferenceable(144) %25, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %58 unwind label %134

58:                                               ; preds = %57
  %59 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI10LIFENeuron13StaticSynapseEEEP10PopulationIT_EiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %8, i32 noundef 10, ptr noundef %24, i1 noundef zeroext false)
          to label %60 unwind label %138

60:                                               ; preds = %58
  call void @_ZN10LIFENeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %24) #6
  call void @_ZN10LIFENeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %25) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %25) #6
  store ptr %59, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  store ptr null, ptr %26, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  store ptr null, ptr %27, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  store ptr null, ptr %28, align 8, !tbaa !9
  %61 = load i8, ptr %6, align 1, !tbaa !11, !range !13, !noundef !14
  %62 = trunc i8 %61 to i1
  br i1 %62, label %63, label %148

63:                                               ; preds = %60
  %64 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.1)
          to label %65 unwind label %144

65:                                               ; preds = %63
  %66 = invoke noundef ptr @_Z9loadArrayPKci(ptr noundef @.str.2, i32 noundef 100)
          to label %67 unwind label %144

67:                                               ; preds = %65
  store ptr %66, ptr %26, align 8, !tbaa !9
  %68 = invoke noundef ptr @_Z9loadArrayPKci(ptr noundef @.str.3, i32 noundef 100)
          to label %69 unwind label %144

69:                                               ; preds = %67
  store ptr %68, ptr %27, align 8, !tbaa !9
  %70 = invoke noundef ptr @_Z9loadArrayPKci(ptr noundef @.str.4, i32 noundef 100)
          to label %71 unwind label %144

71:                                               ; preds = %69
  store ptr %70, ptr %28, align 8, !tbaa !9
  %72 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.5)
          to label %73 unwind label %144

73:                                               ; preds = %71
  br label %159

74:                                               ; preds = %40
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %12, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %13, align 4
  br label %87

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

82:                                               ; preds = %42
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %12, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %13, align 4
  call void @_ZN10LIFENeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %10) #6
  br label %86

86:                                               ; preds = %82, %78
  call void @_ZN10LIFENeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %11) #6
  br label %87

87:                                               ; preds = %86, %74
  call void @llvm.lifetime.end.p0(i64 144, ptr %11) #6
  br label %232

88:                                               ; preds = %44
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %12, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %13, align 4
  br label %101

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

96:                                               ; preds = %46
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %12, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %13, align 4
  call void @_ZN10LIFENeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %15) #6
  br label %100

100:                                              ; preds = %96, %92
  call void @_ZN10LIFENeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %16) #6
  br label %101

101:                                              ; preds = %100, %88
  call void @llvm.lifetime.end.p0(i64 144, ptr %16) #6
  br label %231

102:                                              ; preds = %48
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %12, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %13, align 4
  br label %115

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

110:                                              ; preds = %50
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %12, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %13, align 4
  call void @_ZN10LIFENeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %18) #6
  br label %114

114:                                              ; preds = %110, %106
  call void @_ZN10LIFENeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %19) #6
  br label %115

115:                                              ; preds = %114, %102
  call void @llvm.lifetime.end.p0(i64 144, ptr %19) #6
  br label %230

116:                                              ; preds = %52
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %12, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %13, align 4
  br label %129

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

124:                                              ; preds = %54
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %12, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %13, align 4
  call void @_ZN10LIFENeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %21) #6
  br label %128

128:                                              ; preds = %124, %120
  call void @_ZN10LIFENeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %22) #6
  br label %129

129:                                              ; preds = %128, %116
  call void @llvm.lifetime.end.p0(i64 144, ptr %22) #6
  br label %229

130:                                              ; preds = %56
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %12, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %13, align 4
  br label %143

134:                                              ; preds = %57
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %12, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %13, align 4
  br label %142

138:                                              ; preds = %58
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %12, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %13, align 4
  call void @_ZN10LIFENeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %24) #6
  br label %142

142:                                              ; preds = %138, %134
  call void @_ZN10LIFENeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %25) #6
  br label %143

143:                                              ; preds = %142, %130
  call void @llvm.lifetime.end.p0(i64 144, ptr %25) #6
  br label %228

144:                                              ; preds = %177, %171, %165, %159, %156, %154, %152, %150, %148, %71, %69, %67, %65, %63
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %12, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %13, align 4
  br label %227

148:                                              ; preds = %60
  %149 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.6)
          to label %150 unwind label %144

150:                                              ; preds = %148
  %151 = invoke noundef ptr @_Z13getConstArrayIfEPT_S0_i(float noundef 0x3F689374C0000000, i32 noundef 100)
          to label %152 unwind label %144

152:                                              ; preds = %150
  store ptr %151, ptr %26, align 8, !tbaa !9
  %153 = invoke noundef ptr @_Z13getConstArrayIfEPT_S0_i(float noundef 0x3F70624DE0000000, i32 noundef 100)
          to label %154 unwind label %144

154:                                              ; preds = %152
  store ptr %153, ptr %27, align 8, !tbaa !9
  %155 = invoke noundef ptr @_Z13getConstArrayIfEPT_S0_i(float noundef 0x3F50624DE0000000, i32 noundef 100)
          to label %156 unwind label %144

156:                                              ; preds = %154
  store ptr %155, ptr %28, align 8, !tbaa !9
  %157 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.7)
          to label %158 unwind label %144

158:                                              ; preds = %156
  br label %159

159:                                              ; preds = %158, %73
  %160 = load ptr, ptr %9, align 8, !tbaa !9
  %161 = load ptr, ptr %14, align 8, !tbaa !9
  %162 = load ptr, ptr %26, align 8, !tbaa !9
  %163 = load ptr, ptr %28, align 8, !tbaa !9
  %164 = invoke noundef i32 @_ZN7Network7connectI15CompositeNeuronI10LIFENeuron13StaticSynapseES4_EEiP10PopulationIT_EPS5_IT0_EPfSC_P9SpikeTypei(ptr noundef nonnull align 8 dereferenceable(224) %8, ptr noundef %160, ptr noundef %161, ptr noundef %162, ptr noundef %163, ptr noundef null, i32 noundef 100)
          to label %165 unwind label %144

165:                                              ; preds = %159
  %166 = load ptr, ptr %14, align 8, !tbaa !9
  %167 = load ptr, ptr %17, align 8, !tbaa !9
  %168 = load ptr, ptr %27, align 8, !tbaa !9
  %169 = load ptr, ptr %28, align 8, !tbaa !9
  %170 = invoke noundef i32 @_ZN7Network7connectI15CompositeNeuronI10LIFENeuron13StaticSynapseES4_EEiP10PopulationIT_EPS5_IT0_EPfSC_P9SpikeTypei(ptr noundef nonnull align 8 dereferenceable(224) %8, ptr noundef %166, ptr noundef %167, ptr noundef %168, ptr noundef %169, ptr noundef null, i32 noundef 100)
          to label %171 unwind label %144

171:                                              ; preds = %165
  %172 = load ptr, ptr %17, align 8, !tbaa !9
  %173 = load ptr, ptr %20, align 8, !tbaa !9
  %174 = load ptr, ptr %27, align 8, !tbaa !9
  %175 = load ptr, ptr %28, align 8, !tbaa !9
  %176 = invoke noundef i32 @_ZN7Network7connectI15CompositeNeuronI10LIFENeuron13StaticSynapseES4_EEiP10PopulationIT_EPS5_IT0_EPfSC_P9SpikeTypei(ptr noundef nonnull align 8 dereferenceable(224) %8, ptr noundef %172, ptr noundef %173, ptr noundef %174, ptr noundef %175, ptr noundef null, i32 noundef 100)
          to label %177 unwind label %144

177:                                              ; preds = %171
  %178 = load ptr, ptr %20, align 8, !tbaa !9
  %179 = load ptr, ptr %23, align 8, !tbaa !9
  %180 = load ptr, ptr %26, align 8, !tbaa !9
  %181 = load ptr, ptr %28, align 8, !tbaa !9
  %182 = invoke noundef i32 @_ZN7Network7connectI15CompositeNeuronI10LIFENeuron13StaticSynapseES4_EEiP10PopulationIT_EPS5_IT0_EPfSC_P9SpikeTypei(ptr noundef nonnull align 8 dereferenceable(224) %8, ptr noundef %178, ptr noundef %179, ptr noundef %180, ptr noundef %181, ptr noundef null, i32 noundef 100)
          to label %183 unwind label %144

183:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #6
  invoke void @_ZN18SingleGPUSimulatorC1EP7Networkf(ptr noundef nonnull align 8 dereferenceable(20) %29, ptr noundef %8, float noundef 0x3F50624DE0000000)
          to label %184 unwind label %206

184:                                              ; preds = %183
  %185 = invoke noundef i32 @_ZN13SimulatorBase3runEf(ptr noundef nonnull align 8 dereferenceable(20) %29, float noundef 0x3FB99999A0000000)
          to label %186 unwind label %210

186:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #6
  invoke void @_ZN17MultiGPUSimulatorC1EP7Networkf(ptr noundef nonnull align 8 dereferenceable(28) %30, ptr noundef %8, float noundef 0x3F50624DE0000000)
          to label %187 unwind label %214

187:                                              ; preds = %186
  %188 = invoke noundef i32 @_ZN17MultiGPUSimulator10single_runEf(ptr noundef nonnull align 8 dereferenceable(28) %30, float noundef 0x3FB99999A0000000)
          to label %189 unwind label %218

189:                                              ; preds = %187
  %190 = load i8, ptr %6, align 1, !tbaa !11, !range !13, !noundef !14
  %191 = trunc i8 %190 to i1
  br i1 %191, label %222, label %192

192:                                              ; preds = %189
  %193 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.8)
          to label %194 unwind label %218

194:                                              ; preds = %192
  %195 = load ptr, ptr %26, align 8, !tbaa !9
  %196 = invoke noundef i32 @_Z9saveArrayPKcPfi(ptr noundef @.str.2, ptr noundef %195, i32 noundef 100)
          to label %197 unwind label %218

197:                                              ; preds = %194
  %198 = load ptr, ptr %27, align 8, !tbaa !9
  %199 = invoke noundef i32 @_Z9saveArrayPKcPfi(ptr noundef @.str.3, ptr noundef %198, i32 noundef 100)
          to label %200 unwind label %218

200:                                              ; preds = %197
  %201 = load ptr, ptr %28, align 8, !tbaa !9
  %202 = invoke noundef i32 @_Z9saveArrayPKcPfi(ptr noundef @.str.4, ptr noundef %201, i32 noundef 100)
          to label %203 unwind label %218

203:                                              ; preds = %200
  %204 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.9)
          to label %205 unwind label %218

205:                                              ; preds = %203
  br label %222

206:                                              ; preds = %183
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %12, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %13, align 4
  br label %226

210:                                              ; preds = %184
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %12, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %13, align 4
  br label %225

214:                                              ; preds = %186
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %12, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %13, align 4
  br label %224

218:                                              ; preds = %203, %200, %197, %194, %192, %187
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %12, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %13, align 4
  call void @_ZN17MultiGPUSimulatorD1Ev(ptr noundef nonnull align 8 dereferenceable(28) %30) #6
  br label %224

222:                                              ; preds = %205, %189
  store i32 0, ptr %3, align 4
  call void @_ZN17MultiGPUSimulatorD1Ev(ptr noundef nonnull align 8 dereferenceable(28) %30) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #6
  call void @_ZN18SingleGPUSimulatorD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %29) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @_ZN7NetworkD1Ev(ptr noundef nonnull align 8 dereferenceable(224) %8) #6
  call void @llvm.lifetime.end.p0(i64 224, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #6
  %223 = load i32, ptr %3, align 4
  ret i32 %223

224:                                              ; preds = %218, %214
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #6
  br label %225

225:                                              ; preds = %224, %210
  call void @_ZN18SingleGPUSimulatorD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %29) #6
  br label %226

226:                                              ; preds = %225, %206
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #6
  br label %227

227:                                              ; preds = %226, %144
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %228

228:                                              ; preds = %227, %143
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %229

229:                                              ; preds = %228, %129
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %230

230:                                              ; preds = %229, %115
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %231

231:                                              ; preds = %230, %101
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %232

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

233:                                              ; preds = %232
  %234 = load ptr, ptr %12, align 8
  %235 = load i32, ptr %13, align 4
  %236 = insertvalue { ptr, i32 } poison, ptr %234, 0
  %237 = insertvalue { ptr, i32 } %236, i32 %235, 1
  resume { ptr, i32 } %237
}

; 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 @_ZN7Network16createPopulationI15CompositeNeuronI10LIFENeuron13StaticSynapseEEEP10PopulationIT_EiS6_b(ptr noundef nonnull align 8 dereferenceable(224), i32 noundef, ptr noundef, i1 noundef zeroext) #4 align 2

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15CompositeNeuronI10LIFENeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef nonnull align 8 dereferenceable(144), float noundef, float noundef) unnamed_addr #4 align 2

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

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

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

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

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

; 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 @_ZN7Network7connectI15CompositeNeuronI10LIFENeuron13StaticSynapseES4_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 @_ZN18SingleGPUSimulatorC1EP7Networkf(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef, float noundef) unnamed_addr #3

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

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

declare noundef i32 @_ZN17MultiGPUSimulator10single_runEf(ptr noundef nonnull align 8 dereferenceable(28), float noundef) unnamed_addr #3

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

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

; Function Attrs: nounwind
declare void @_ZN18SingleGPUSimulatorD1Ev(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 = { nounwind }
attributes #7 = { 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 = !{}


; 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.LIFENeuron, float, float }
%class.LIFENeuron = type { %class.NeuronBase.base, float, float, float, float, float, float, float, float, float, float, float, i32, i32, float, float, float, float, float, float, float, float, float, float }
%class.NeuronBase.base = type <{ %class.Base, %"class.std::vector.5", i8, i8, [2 x i8], i32, float }>
%class.Base = type { ptr, i32, i32 }
%class.SingleGPUSimulator = type { %class.SimulatorBase.base, [4 x i8] }
%class.SimulatorBase.base = type <{ ptr, ptr, float }>
%class.MultiGPUSimulator = type { %class.SimulatorBase.base, i32, i32, [4 x 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 [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.9 = 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.LIFENeuron, align 8
  %6 = alloca %class.CompositeNeuron, align 8
  %7 = alloca %class.LIFENeuron, align 8
  %8 = alloca %class.CompositeNeuron, align 8
  %9 = alloca %class.LIFENeuron, align 8
  %10 = alloca %class.CompositeNeuron, align 8
  %11 = alloca %class.LIFENeuron, align 8
  %12 = alloca %class.CompositeNeuron, align 8
  %13 = alloca %class.LIFENeuron, align 8
  %14 = alloca %class.SingleGPUSimulator, align 8
  %15 = alloca %class.MultiGPUSimulator, align 8
  %16 = icmp sgt i32 %0, 1
  br i1 %16, label %17, label %22

17:                                               ; preds = %2
  %18 = getelementptr inbounds i8, ptr %1, i64 8
  %19 = load ptr, ptr %18, align 8, !tbaa !5
  %20 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %19, ptr noundef nonnull dereferenceable(1) @.str) #7
  %21 = icmp eq i32 %20, 0
  br label %22

22:                                               ; preds = %17, %2
  %.027 = phi i1 [ false, %2 ], [ %21, %17 ]
  call void @llvm.lifetime.start.p0(i64 224, ptr nonnull %3) #8
  call void @_ZN7NetworkC1Ev(ptr noundef nonnull align 8 dereferenceable(224) %3)
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %5) #8
  invoke void @_ZN10LIFENeuronC1Effffffffff(ptr noundef nonnull align 8 dereferenceable(144) %5, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0x3FB99999A0000000, float noundef 0x3FA99999A0000000, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 0x3F8EB851E0000000, float noundef 0.000000e+00)
          to label %23 unwind label %50

23:                                               ; preds = %22
  invoke void @_ZN15CompositeNeuronI10LIFENeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(152) %4, ptr noundef nonnull align 8 dereferenceable(144) %5, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %24 unwind label %52

24:                                               ; preds = %23
  %25 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI10LIFENeuron13StaticSynapseEEEP10PopulationIT_EiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %3, i32 noundef 10, ptr noundef nonnull %4, i1 noundef zeroext false)
          to label %26 unwind label %54

26:                                               ; preds = %24
  call void @_ZN10LIFENeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %4) #8
  call void @_ZN10LIFENeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %5) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %7) #8
  invoke void @_ZN10LIFENeuronC1Effffffffff(ptr noundef nonnull align 8 dereferenceable(144) %7, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0x3FB99999A0000000, float noundef 0x3FA99999A0000000, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 0x3F8EB851E0000000, float noundef 1.000000e+00)
          to label %27 unwind label %58

27:                                               ; preds = %26
  invoke void @_ZN15CompositeNeuronI10LIFENeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(152) %6, ptr noundef nonnull align 8 dereferenceable(144) %7, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %28 unwind label %60

28:                                               ; preds = %27
  %29 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI10LIFENeuron13StaticSynapseEEEP10PopulationIT_EiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %3, i32 noundef 10, ptr noundef nonnull %6, i1 noundef zeroext false)
          to label %30 unwind label %62

30:                                               ; preds = %28
  call void @_ZN10LIFENeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %6) #8
  call void @_ZN10LIFENeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %7) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %9) #8
  invoke void @_ZN10LIFENeuronC1Effffffffff(ptr noundef nonnull align 8 dereferenceable(144) %9, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0x3FB99999A0000000, float noundef 0x3FA99999A0000000, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 0x3F8EB851E0000000, float noundef 0.000000e+00)
          to label %31 unwind label %66

31:                                               ; preds = %30
  invoke void @_ZN15CompositeNeuronI10LIFENeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(152) %8, ptr noundef nonnull align 8 dereferenceable(144) %9, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %32 unwind label %68

32:                                               ; preds = %31
  %33 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI10LIFENeuron13StaticSynapseEEEP10PopulationIT_EiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %3, i32 noundef 10, ptr noundef nonnull %8, i1 noundef zeroext false)
          to label %34 unwind label %70

34:                                               ; preds = %32
  call void @_ZN10LIFENeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %8) #8
  call void @_ZN10LIFENeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %9) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %11) #8
  invoke void @_ZN10LIFENeuronC1Effffffffff(ptr noundef nonnull align 8 dereferenceable(144) %11, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0x3FB99999A0000000, float noundef 0x3FA99999A0000000, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 0x3F8EB851E0000000, float noundef 0.000000e+00)
          to label %35 unwind label %74

35:                                               ; preds = %34
  invoke void @_ZN15CompositeNeuronI10LIFENeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(152) %10, ptr noundef nonnull align 8 dereferenceable(144) %11, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %36 unwind label %76

36:                                               ; preds = %35
  %37 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI10LIFENeuron13StaticSynapseEEEP10PopulationIT_EiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %3, i32 noundef 10, ptr noundef nonnull %10, i1 noundef zeroext false)
          to label %38 unwind label %78

38:                                               ; preds = %36
  call void @_ZN10LIFENeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %10) #8
  call void @_ZN10LIFENeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %11) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %13) #8
  invoke void @_ZN10LIFENeuronC1Effffffffff(ptr noundef nonnull align 8 dereferenceable(144) %13, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0x3FB99999A0000000, float noundef 0x3FA99999A0000000, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 0x3F8EB851E0000000, float noundef 0.000000e+00)
          to label %39 unwind label %82

39:                                               ; preds = %38
  invoke void @_ZN15CompositeNeuronI10LIFENeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(152) %12, ptr noundef nonnull align 8 dereferenceable(144) %13, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %40 unwind label %84

40:                                               ; preds = %39
  %41 = invoke noundef ptr @_ZN7Network16createPopulationI15CompositeNeuronI10LIFENeuron13StaticSynapseEEEP10PopulationIT_EiS6_b(ptr noundef nonnull align 8 dereferenceable(224) %3, i32 noundef 10, ptr noundef nonnull %12, i1 noundef zeroext false)
          to label %42 unwind label %86

42:                                               ; preds = %40
  call void @_ZN10LIFENeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %12) #8
  call void @_ZN10LIFENeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %13) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %13) #8
  br i1 %.027, label %43, label %92

43:                                               ; preds = %42
  %44 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %45 = invoke noundef ptr @_Z9loadArrayPKci(ptr noundef nonnull @.str.2, i32 noundef 100)
          to label %46 unwind label %90

46:                                               ; preds = %43
  %47 = invoke noundef ptr @_Z9loadArrayPKci(ptr noundef nonnull @.str.3, i32 noundef 100)
          to label %48 unwind label %90

48:                                               ; preds = %46
  %49 = invoke noundef ptr @_Z9loadArrayPKci(ptr noundef nonnull @.str.4, i32 noundef 100)
          to label %99 unwind label %90

50:                                               ; preds = %22
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %57

52:                                               ; preds = %23
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %56

54:                                               ; preds = %24
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN10LIFENeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %4) #8
  br label %56

56:                                               ; preds = %54, %52
  %.pn = phi { ptr, i32 } [ %55, %54 ], [ %53, %52 ]
  call void @_ZN10LIFENeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %5) #8
  br label %57

57:                                               ; preds = %56, %50
  %.pn.pn = phi { ptr, i32 } [ %.pn, %56 ], [ %51, %50 ]
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %5) #8
  br label %136

58:                                               ; preds = %26
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %65

60:                                               ; preds = %27
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %64

62:                                               ; preds = %28
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN10LIFENeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %6) #8
  br label %64

64:                                               ; preds = %62, %60
  %.pn50 = phi { ptr, i32 } [ %63, %62 ], [ %61, %60 ]
  call void @_ZN10LIFENeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %7) #8
  br label %65

65:                                               ; preds = %64, %58
  %.pn50.pn = phi { ptr, i32 } [ %.pn50, %64 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %7) #8
  br label %136

66:                                               ; preds = %30
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %73

68:                                               ; preds = %31
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %72

70:                                               ; preds = %32
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN10LIFENeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %8) #8
  br label %72

72:                                               ; preds = %70, %68
  %.pn53 = phi { ptr, i32 } [ %71, %70 ], [ %69, %68 ]
  call void @_ZN10LIFENeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %9) #8
  br label %73

73:                                               ; preds = %72, %66
  %.pn53.pn = phi { ptr, i32 } [ %.pn53, %72 ], [ %67, %66 ]
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %9) #8
  br label %136

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

76:                                               ; preds = %35
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %80

78:                                               ; preds = %36
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN10LIFENeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %10) #8
  br label %80

80:                                               ; preds = %78, %76
  %.pn56 = phi { ptr, i32 } [ %79, %78 ], [ %77, %76 ]
  call void @_ZN10LIFENeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %11) #8
  br label %81

81:                                               ; preds = %80, %74
  %.pn56.pn = phi { ptr, i32 } [ %.pn56, %80 ], [ %75, %74 ]
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %11) #8
  br label %136

82:                                               ; preds = %38
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %89

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

86:                                               ; preds = %40
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN10LIFENeuronD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %12) #8
  br label %88

88:                                               ; preds = %86, %84
  %.pn59 = phi { ptr, i32 } [ %87, %86 ], [ %85, %84 ]
  call void @_ZN10LIFENeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %13) #8
  br label %89

89:                                               ; preds = %88, %82
  %.pn59.pn = phi { ptr, i32 } [ %.pn59, %88 ], [ %83, %82 ]
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %13) #8
  br label %136

90:                                               ; preds = %106, %104, %102, %99, %97, %95, %92, %48, %46, %43
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %136

92:                                               ; preds = %42
  %93 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %94 = invoke noundef ptr @_Z13getConstArrayIfEPT_S0_i(float noundef 0x3F689374C0000000, i32 noundef 100)
          to label %95 unwind label %90

95:                                               ; preds = %92
  %96 = invoke noundef ptr @_Z13getConstArrayIfEPT_S0_i(float noundef 0x3F70624DE0000000, i32 noundef 100)
          to label %97 unwind label %90

97:                                               ; preds = %95
  %98 = invoke noundef ptr @_Z13getConstArrayIfEPT_S0_i(float noundef 0x3F50624DE0000000, i32 noundef 100)
          to label %99 unwind label %90

99:                                               ; preds = %97, %48
  %.str.7.sink = phi ptr [ @.str.5, %48 ], [ @.str.7, %97 ]
  %.026 = phi ptr [ %45, %48 ], [ %94, %97 ]
  %.025 = phi ptr [ %47, %48 ], [ %96, %97 ]
  %.0 = phi ptr [ %49, %48 ], [ %98, %97 ]
  %100 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.7.sink)
  %101 = invoke noundef i32 @_ZN7Network7connectI15CompositeNeuronI10LIFENeuron13StaticSynapseES4_EEiP10PopulationIT_EPS5_IT0_EPfSC_P9SpikeTypei(ptr noundef nonnull align 8 dereferenceable(224) %3, ptr noundef %25, ptr noundef %29, ptr noundef %.026, ptr noundef %.0, ptr noundef null, i32 noundef 100)
          to label %102 unwind label %90

102:                                              ; preds = %99
  %103 = invoke noundef i32 @_ZN7Network7connectI15CompositeNeuronI10LIFENeuron13StaticSynapseES4_EEiP10PopulationIT_EPS5_IT0_EPfSC_P9SpikeTypei(ptr noundef nonnull align 8 dereferenceable(224) %3, ptr noundef %29, ptr noundef %33, ptr noundef %.025, ptr noundef %.0, ptr noundef null, i32 noundef 100)
          to label %104 unwind label %90

104:                                              ; preds = %102
  %105 = invoke noundef i32 @_ZN7Network7connectI15CompositeNeuronI10LIFENeuron13StaticSynapseES4_EEiP10PopulationIT_EPS5_IT0_EPfSC_P9SpikeTypei(ptr noundef nonnull align 8 dereferenceable(224) %3, ptr noundef %33, ptr noundef %37, ptr noundef %.025, ptr noundef %.0, ptr noundef null, i32 noundef 100)
          to label %106 unwind label %90

106:                                              ; preds = %104
  %107 = invoke noundef i32 @_ZN7Network7connectI15CompositeNeuronI10LIFENeuron13StaticSynapseES4_EEiP10PopulationIT_EPS5_IT0_EPfSC_P9SpikeTypei(ptr noundef nonnull align 8 dereferenceable(224) %3, ptr noundef %37, ptr noundef %41, ptr noundef %.026, ptr noundef %.0, ptr noundef null, i32 noundef 100)
          to label %108 unwind label %90

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

109:                                              ; preds = %108
  %110 = invoke noundef i32 @_ZN13SimulatorBase3runEf(ptr noundef nonnull align 8 dereferenceable(20) %14, float noundef 0x3FB99999A0000000)
          to label %111 unwind label %126

111:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #8
  invoke void @_ZN17MultiGPUSimulatorC1EP7Networkf(ptr noundef nonnull align 8 dereferenceable(28) %15, ptr noundef nonnull %3, float noundef 0x3F50624DE0000000)
          to label %112 unwind label %128

112:                                              ; preds = %111
  %113 = invoke noundef i32 @_ZN17MultiGPUSimulator10single_runEf(ptr noundef nonnull align 8 dereferenceable(28) %15, float noundef 0x3FB99999A0000000)
          to label %114 unwind label %130

114:                                              ; preds = %112
  br i1 %.027, label %132, label %115

115:                                              ; preds = %114
  %116 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  %117 = invoke noundef i32 @_Z9saveArrayPKcPfi(ptr noundef nonnull @.str.2, ptr noundef %.026, i32 noundef 100)
          to label %118 unwind label %130

118:                                              ; preds = %115
  %119 = invoke noundef i32 @_Z9saveArrayPKcPfi(ptr noundef nonnull @.str.3, ptr noundef %.025, i32 noundef 100)
          to label %120 unwind label %130

120:                                              ; preds = %118
  %121 = invoke noundef i32 @_Z9saveArrayPKcPfi(ptr noundef nonnull @.str.4, ptr noundef %.0, i32 noundef 100)
          to label %122 unwind label %130

122:                                              ; preds = %120
  %123 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  br label %132

124:                                              ; preds = %108
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %135

126:                                              ; preds = %109
  %127 = landingpad { ptr, i32 }
          cleanup
  br label %134

128:                                              ; preds = %111
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %133

130:                                              ; preds = %120, %118, %115, %112
  %131 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN17MultiGPUSimulatorD1Ev(ptr noundef nonnull align 8 dereferenceable(28) %15) #8
  br label %133

132:                                              ; preds = %122, %114
  call void @_ZN17MultiGPUSimulatorD1Ev(ptr noundef nonnull align 8 dereferenceable(28) %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #8
  call void @_ZN18SingleGPUSimulatorD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #8
  call void @_ZN7NetworkD1Ev(ptr noundef nonnull align 8 dereferenceable(224) %3) #8
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %3) #8
  ret i32 0

133:                                              ; preds = %130, %128
  %.pn62 = phi { ptr, i32 } [ %131, %130 ], [ %129, %128 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #8
  br label %134

134:                                              ; preds = %133, %126
  %.pn62.pn = phi { ptr, i32 } [ %.pn62, %133 ], [ %127, %126 ]
  call void @_ZN18SingleGPUSimulatorD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %14) #8
  br label %135

135:                                              ; preds = %134, %124
  %.pn62.pn.pn = phi { ptr, i32 } [ %.pn62.pn, %134 ], [ %125, %124 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #8
  br label %136

136:                                              ; preds = %65, %81, %90, %135, %89, %73, %57
  %.pn62.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %57 ], [ %.pn50.pn, %65 ], [ %.pn53.pn, %73 ], [ %.pn56.pn, %81 ], [ %.pn59.pn, %89 ], [ %.pn62.pn.pn, %135 ], [ %91, %90 ]
  call void @_ZN7NetworkD1Ev(ptr noundef nonnull align 8 dereferenceable(224) %3) #8
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn62.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 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 @_ZN7Network16createPopulationI15CompositeNeuronI10LIFENeuron13StaticSynapseEEEP10PopulationIT_EiS6_b(ptr noundef nonnull align 8 dereferenceable(224), i32 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #4 align 2

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15CompositeNeuronI10LIFENeuron13StaticSynapseEC2ERKS0_ff(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef nonnull align 8 dereferenceable(144), float noundef, float noundef) unnamed_addr #4 align 2

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

; Function Attrs: nounwind
declare void @_ZN10LIFENeuronD1Ev(ptr noundef nonnull align 8 dereferenceable(144)) 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: 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 @_Z13getConstArrayIfEPT_S0_i(float noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7Network7connectI15CompositeNeuronI10LIFENeuron13StaticSynapseES4_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 @_ZN18SingleGPUSimulatorC1EP7Networkf(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef, float noundef) unnamed_addr #3

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

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

declare noundef i32 @_ZN17MultiGPUSimulator10single_runEf(ptr noundef nonnull align 8 dereferenceable(28), float noundef) unnamed_addr #3

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

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

; Function Attrs: nounwind
declare void @_ZN18SingleGPUSimulatorD1Ev(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 = { nounwind willreturn memory(read) }
attributes #8 = { nounwind }

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

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


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