; LLVM IR from CRAFT-THU/BSim :: src/neuron/lif/LIFENeuron.ll (ZN10LIFENeuron6updateER7SimInfo)

; 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.NeuronBase = type <{ %class.Base, %"class.std::vector", i8, i8, [2 x i8], i32, float, [4 x i8] }>
%class.Base = type { ptr, i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.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", i8, i8, [2 x i8], i32, float }>
%struct.SimInfo = type { i32, float, %"class.std::vector.0", %"class.std::vector.5" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN10LIFENeuron6updateER7SimInfo(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef nonnull align 8 dereferenceable(56) %1) unnamed_addr #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %6 = load ptr, ptr %3, align 8
  %7 = getelementptr inbounds %class.NeuronBase, ptr %6, i32 0, i32 2
  store i8 0, ptr %7, align 8, !tbaa !9
  %8 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 12
  %9 = load i32, ptr %8, align 8, !tbaa !19
  %10 = icmp sgt i32 %9, 0
  br i1 %10, label %11, label %15

11:                                               ; preds = %2
  %12 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 12
  %13 = load i32, ptr %12, align 8, !tbaa !19
  %14 = add nsw i32 %13, -1
  store i32 %14, ptr %12, align 8, !tbaa !19
  br label %90

15:                                               ; preds = %2
  %16 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 11
  %17 = load float, ptr %16, align 4, !tbaa !21
  %18 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 1
  %19 = load float, ptr %18, align 4, !tbaa !22
  %20 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 6
  %21 = load float, ptr %20, align 8, !tbaa !23
  %22 = call float @llvm.fmuladd.f32(float %17, float %19, float %21)
  %23 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 8
  %24 = load float, ptr %23, align 8, !tbaa !24
  %25 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 5
  %26 = load float, ptr %25, align 4, !tbaa !25
  %27 = call float @llvm.fmuladd.f32(float %24, float %26, float %22)
  %28 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 7
  %29 = load float, ptr %28, align 4, !tbaa !26
  %30 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 4
  %31 = load float, ptr %30, align 8, !tbaa !27
  %32 = call float @llvm.fmuladd.f32(float %29, float %31, float %27)
  %33 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 1
  store float %32, ptr %33, align 4, !tbaa !22
  %34 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 3
  %35 = load float, ptr %34, align 4, !tbaa !28
  %36 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 8
  %37 = load float, ptr %36, align 8, !tbaa !24
  %38 = fmul float %35, %37
  %39 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 8
  store float %38, ptr %39, align 8, !tbaa !24
  %40 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 2
  %41 = load float, ptr %40, align 8, !tbaa !29
  %42 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 7
  %43 = load float, ptr %42, align 4, !tbaa !26
  %44 = fmul float %41, %43
  %45 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 7
  store float %44, ptr %45, align 4, !tbaa !26
  %46 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 1
  %47 = load float, ptr %46, align 4, !tbaa !22
  %48 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 9
  %49 = load float, ptr %48, align 4, !tbaa !30
  %50 = fcmp oge float %47, %49
  br i1 %50, label %51, label %60

51:                                               ; preds = %15
  %52 = getelementptr inbounds %class.NeuronBase, ptr %6, i32 0, i32 2
  store i8 1, ptr %52, align 8, !tbaa !9
  %53 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 13
  %54 = load i32, ptr %53, align 4, !tbaa !31
  %55 = sub nsw i32 %54, 1
  %56 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 12
  store i32 %55, ptr %56, align 8, !tbaa !19
  %57 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 10
  %58 = load float, ptr %57, align 8, !tbaa !32
  %59 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 1
  store float %58, ptr %59, align 4, !tbaa !22
  br label %71

60:                                               ; preds = %15
  %61 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 22
  %62 = load float, ptr %61, align 8, !tbaa !33
  %63 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 8
  %64 = load float, ptr %63, align 8, !tbaa !24
  %65 = fadd float %64, %62
  store float %65, ptr %63, align 8, !tbaa !24
  %66 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 23
  %67 = load float, ptr %66, align 4, !tbaa !34
  %68 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 7
  %69 = load float, ptr %68, align 4, !tbaa !26
  %70 = fadd float %69, %67
  store float %70, ptr %68, align 4, !tbaa !26
  br label %71

71:                                               ; preds = %60, %51
  %72 = getelementptr inbounds %class.NeuronBase, ptr %6, i32 0, i32 2
  %73 = load i8, ptr %72, align 8, !tbaa !9, !range !35, !noundef !36
  %74 = trunc i8 %73 to i1
  br i1 %74, label %75, label %80

75:                                               ; preds = %71
  %76 = call noundef i32 @_ZN10NeuronBase4fireEv(ptr noundef nonnull align 8 dereferenceable(52) %6)
  %77 = getelementptr inbounds %class.NeuronBase, ptr %6, i32 0, i32 5
  %78 = load i32, ptr %77, align 4, !tbaa !37
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %77, align 4, !tbaa !37
  br label %89

80:                                               ; preds = %71
  %81 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 22
  %82 = load float, ptr %81, align 8, !tbaa !33
  %83 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 23
  %84 = load float, ptr %83, align 4, !tbaa !34
  %85 = fadd float %82, %84
  %86 = getelementptr inbounds %class.NeuronBase, ptr %6, i32 0, i32 6
  %87 = load float, ptr %86, align 8, !tbaa !38
  %88 = fadd float %87, %85
  store float %88, ptr %86, align 8, !tbaa !38
  br label %89

89:                                               ; preds = %80, %75
  br label %90

90:                                               ; preds = %89, %11
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.SimInfo, ptr %91, i32 0, i32 3
  %93 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 1
  call void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %92, ptr noundef nonnull align 4 dereferenceable(4) %93)
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.SimInfo, ptr %94, i32 0, i32 3
  %96 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 22
  call void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %95, ptr noundef nonnull align 4 dereferenceable(4) %96)
  %97 = load ptr, ptr %4, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.SimInfo, ptr %97, i32 0, i32 3
  %99 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 23
  call void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %98, ptr noundef nonnull align 4 dereferenceable(4) %99)
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.SimInfo, ptr %100, i32 0, i32 3
  %102 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 8
  call void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %101, ptr noundef nonnull align 4 dereferenceable(4) %102)
  %103 = load ptr, ptr %4, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.SimInfo, ptr %103, i32 0, i32 3
  %105 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 7
  call void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %104, ptr noundef nonnull align 4 dereferenceable(4) %105)
  %106 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 22
  store float 0.000000e+00, ptr %106, align 8, !tbaa !33
  %107 = getelementptr inbounds %class.LIFENeuron, ptr %6, i32 0, i32 23
  store float 0.000000e+00, ptr %107, align 4, !tbaa !34
  %108 = load ptr, ptr %4, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.SimInfo, ptr %108, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %110 = getelementptr inbounds %class.NeuronBase, ptr %6, i32 0, i32 2
  %111 = load i8, ptr %110, align 8, !tbaa !9, !range !35, !noundef !36
  %112 = trunc i8 %111 to i1
  %113 = zext i1 %112 to i32
  store i32 %113, ptr %5, align 4, !tbaa !39
  call void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %109, ptr noundef nonnull align 4 dereferenceable(4) %5)
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  %114 = getelementptr inbounds %class.NeuronBase, ptr %6, i32 0, i32 2
  %115 = load i8, ptr %114, align 8, !tbaa !9, !range !35, !noundef !36
  %116 = trunc i8 %115 to i1
  %117 = zext i1 %116 to i32
  ret i32 %117
}

declare noundef i32 @_ZN10NeuronBase4fireEv(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #3

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { 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"}
!9 = !{!10, !17, i64 40}
!10 = !{!"_ZTS10NeuronBase", !11, i64 0, !13, i64 16, !17, i64 40, !17, i64 41, !12, i64 44, !18, i64 48}
!11 = !{!"_ZTS4Base", !12, i64 8, !12, i64 12}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTSSt6vectorIP11SynapseBaseSaIS1_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIP11SynapseBaseSaIS1_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIP11SynapseBaseSaIS1_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIP11SynapseBaseSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"float", !7, i64 0}
!19 = !{!20, !12, i64 96}
!20 = !{!"_ZTS10LIFENeuron", !10, i64 0, !18, i64 52, !18, i64 56, !18, i64 60, !18, i64 64, !18, i64 68, !18, i64 72, !18, i64 76, !18, i64 80, !18, i64 84, !18, i64 88, !18, i64 92, !12, i64 96, !12, i64 100, !18, i64 104, !18, i64 108, !18, i64 112, !18, i64 116, !18, i64 120, !18, i64 124, !18, i64 128, !18, i64 132, !18, i64 136, !18, i64 140}
!21 = !{!20, !18, i64 92}
!22 = !{!20, !18, i64 52}
!23 = !{!20, !18, i64 72}
!24 = !{!20, !18, i64 80}
!25 = !{!20, !18, i64 68}
!26 = !{!20, !18, i64 76}
!27 = !{!20, !18, i64 64}
!28 = !{!20, !18, i64 60}
!29 = !{!20, !18, i64 56}
!30 = !{!20, !18, i64 84}
!31 = !{!20, !12, i64 100}
!32 = !{!20, !18, i64 88}
!33 = !{!20, !18, i64 136}
!34 = !{!20, !18, i64 140}
!35 = !{i8 0, i8 2}
!36 = !{}
!37 = !{!10, !12, i64 44}
!38 = !{!10, !18, i64 48}
!39 = !{!12, !12, i64 0}


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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 2) i32 @_ZN10LIFENeuron6updateER7SimInfo(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef nonnull align 8 dereferenceable(56) %1) unnamed_addr #2 align 2 {
  %3 = alloca i32, align 4
  %4 = getelementptr inbounds i8, ptr %0, i64 40
  store i8 0, ptr %4, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 96
  %6 = load i32, ptr %5, align 8, !tbaa !18
  %7 = icmp sgt i32 %6, 0
  br i1 %7, label %8, label %10

8:                                                ; preds = %2
  %9 = add nsw i32 %6, -1
  store i32 %9, ptr %5, align 8, !tbaa !18
  br label %56

10:                                               ; preds = %2
  %11 = getelementptr inbounds i8, ptr %0, i64 92
  %12 = load float, ptr %11, align 4, !tbaa !20
  %13 = getelementptr inbounds i8, ptr %0, i64 52
  %14 = load float, ptr %13, align 4, !tbaa !21
  %15 = getelementptr inbounds i8, ptr %0, i64 72
  %16 = load float, ptr %15, align 8, !tbaa !22
  %17 = tail call float @llvm.fmuladd.f32(float %12, float %14, float %16)
  %18 = getelementptr inbounds i8, ptr %0, i64 68
  %19 = load float, ptr %18, align 4, !tbaa !23
  %20 = getelementptr inbounds i8, ptr %0, i64 76
  %21 = getelementptr inbounds i8, ptr %0, i64 64
  %22 = load float, ptr %21, align 8, !tbaa !24
  %23 = getelementptr inbounds i8, ptr %0, i64 56
  %24 = load <2 x float>, ptr %20, align 4, !tbaa !25
  %25 = extractelement <2 x float> %24, i64 1
  %26 = tail call float @llvm.fmuladd.f32(float %25, float %19, float %17)
  %27 = extractelement <2 x float> %24, i64 0
  %28 = tail call float @llvm.fmuladd.f32(float %27, float %22, float %26)
  store float %28, ptr %13, align 4, !tbaa !21
  %29 = load <2 x float>, ptr %23, align 8, !tbaa !25
  %30 = fmul <2 x float> %24, %29
  store <2 x float> %30, ptr %20, align 4, !tbaa !25
  %31 = getelementptr inbounds i8, ptr %0, i64 84
  %32 = load float, ptr %31, align 4, !tbaa !26
  %33 = fcmp ult float %28, %32
  br i1 %33, label %44, label %34

34:                                               ; preds = %10
  store i8 1, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %0, i64 100
  %36 = load i32, ptr %35, align 4, !tbaa !27
  %37 = add nsw i32 %36, -1
  store i32 %37, ptr %5, align 8, !tbaa !18
  %38 = getelementptr inbounds i8, ptr %0, i64 88
  %39 = load float, ptr %38, align 8, !tbaa !28
  store float %39, ptr %13, align 4, !tbaa !21
  %40 = tail call noundef i32 @_ZN10NeuronBase4fireEv(ptr noundef nonnull align 8 dereferenceable(52) %0)
  %41 = getelementptr inbounds i8, ptr %0, i64 44
  %42 = load i32, ptr %41, align 4, !tbaa !29
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %41, align 4, !tbaa !29
  br label %56

44:                                               ; preds = %10
  %45 = getelementptr inbounds i8, ptr %0, i64 136
  %46 = load <2 x float>, ptr %45, align 8, !tbaa !25
  %47 = shufflevector <2 x float> %46, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %48 = fadd <2 x float> %30, %47
  store <2 x float> %48, ptr %20, align 4, !tbaa !25
  %49 = getelementptr inbounds i8, ptr %0, i64 136
  %50 = load float, ptr %49, align 8, !tbaa !30
  %51 = extractelement <2 x float> %46, i64 1
  %52 = fadd float %50, %51
  %53 = getelementptr inbounds i8, ptr %0, i64 48
  %54 = load float, ptr %53, align 8, !tbaa !31
  %55 = fadd float %54, %52
  store float %55, ptr %53, align 8, !tbaa !31
  br label %56

56:                                               ; preds = %34, %44, %8
  %57 = getelementptr inbounds i8, ptr %1, i64 32
  %58 = getelementptr inbounds i8, ptr %0, i64 52
  tail call void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %57, ptr noundef nonnull align 4 dereferenceable(4) %58)
  %59 = getelementptr inbounds i8, ptr %0, i64 136
  tail call void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %57, ptr noundef nonnull align 4 dereferenceable(4) %59)
  %60 = getelementptr inbounds i8, ptr %0, i64 140
  tail call void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %57, ptr noundef nonnull align 4 dereferenceable(4) %60)
  %61 = getelementptr inbounds i8, ptr %0, i64 80
  tail call void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %57, ptr noundef nonnull align 4 dereferenceable(4) %61)
  %62 = getelementptr inbounds i8, ptr %0, i64 76
  tail call void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %57, ptr noundef nonnull align 4 dereferenceable(4) %62)
  store <2 x float> zeroinitializer, ptr %59, align 8, !tbaa !25
  %63 = getelementptr inbounds i8, ptr %1, i64 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  %64 = load i8, ptr %4, align 8, !tbaa !5, !range !32, !noundef !33
  %65 = zext nneg i8 %64 to i32
  store i32 %65, ptr %3, align 4, !tbaa !34
  call void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(4) %3)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  %66 = load i8, ptr %4, align 8, !tbaa !5, !range !32, !noundef !33
  %67 = zext nneg i8 %66 to i32
  ret i32 %67
}

declare noundef i32 @_ZN10NeuronBase4fireEv(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { 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, !16, i64 40}
!6 = !{!"_ZTS10NeuronBase", !7, i64 0, !11, i64 16, !16, i64 40, !16, i64 41, !8, i64 44, !17, i64 48}
!7 = !{!"_ZTS4Base", !8, i64 8, !8, i64 12}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSSt6vectorIP11SynapseBaseSaIS1_EE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIP11SynapseBaseSaIS1_EE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIP11SynapseBaseSaIS1_EE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIP11SynapseBaseSaIS1_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!"bool", !9, i64 0}
!17 = !{!"float", !9, i64 0}
!18 = !{!19, !8, i64 96}
!19 = !{!"_ZTS10LIFENeuron", !6, i64 0, !17, i64 52, !17, i64 56, !17, i64 60, !17, i64 64, !17, i64 68, !17, i64 72, !17, i64 76, !17, i64 80, !17, i64 84, !17, i64 88, !17, i64 92, !8, i64 96, !8, i64 100, !17, i64 104, !17, i64 108, !17, i64 112, !17, i64 116, !17, i64 120, !17, i64 124, !17, i64 128, !17, i64 132, !17, i64 136, !17, i64 140}
!20 = !{!19, !17, i64 92}
!21 = !{!19, !17, i64 52}
!22 = !{!19, !17, i64 72}
!23 = !{!19, !17, i64 68}
!24 = !{!19, !17, i64 64}
!25 = !{!17, !17, i64 0}
!26 = !{!19, !17, i64 84}
!27 = !{!19, !8, i64 100}
!28 = !{!19, !17, i64 88}
!29 = !{!6, !8, i64 44}
!30 = !{!19, !17, i64 136}
!31 = !{!6, !17, i64 48}
!32 = !{i8 0, i8 2}
!33 = !{}
!34 = !{!8, !8, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass