; LLVM IR from sp-nitech/SPTK :: third_party/REAPER/epoch_tracker (epoch_tracker)

; 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.sptk::reaper::EpochTracker" = type <{ ptr, %"class.std::vector", %"class.std::vector.0", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", float, float, float, i32, i32, i32, %"class.std::__cxx11::basic_string", float, float, float, float, i8, i8, [2 x i8], float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<sptk::reaper::EpochTracker::ResidPeak, std::allocator<sptk::reaper::EpochTracker::ResidPeak>>::_Vector_impl" }
%"struct.std::_Vector_base<sptk::reaper::EpochTracker::ResidPeak, std::allocator<sptk::reaper::EpochTracker::ResidPeak>>::_Vector_impl" = type { %"struct.std::_Vector_base<sptk::reaper::EpochTracker::ResidPeak, std::allocator<sptk::reaper::EpochTracker::ResidPeak>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sptk::reaper::EpochTracker::ResidPeak, std::allocator<sptk::reaper::EpochTracker::ResidPeak>>::_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<sptk::reaper::EpochTracker::TrackerResults, std::allocator<sptk::reaper::EpochTracker::TrackerResults>>::_Vector_impl" }
%"struct.std::_Vector_base<sptk::reaper::EpochTracker::TrackerResults, std::allocator<sptk::reaper::EpochTracker::TrackerResults>>::_Vector_impl" = type { %"struct.std::_Vector_base<sptk::reaper::EpochTracker::TrackerResults, std::allocator<sptk::reaper::EpochTracker::TrackerResults>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sptk::reaper::EpochTracker::TrackerResults, std::allocator<sptk::reaper::EpochTracker::TrackerResults>>::_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 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

; 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 willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4sptk6reaper12EpochTracker22GetRmsVoicingModulatorEv(ptr noundef nonnull align 8 dereferenceable(500) %0) #1 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca float, align 4
  %4 = alloca float, align 4
  %5 = alloca i64, align 8
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca i64, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %9 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  %10 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %9, i32 0, i32 7
  %11 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef 0) #3
  %12 = load float, ptr %11, align 4, !tbaa !9
  store float %12, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  %13 = load float, ptr %3, align 4, !tbaa !9
  store float %13, ptr %4, align 4, !tbaa !9
  %14 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %9, i32 0, i32 10
  %15 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %9, i32 0, i32 7
  %16 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #3
  call void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %16)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  store i64 1, ptr %5, align 8, !tbaa !11
  br label %17

17:                                               ; preds = %41, %1
  %18 = load i64, ptr %5, align 8, !tbaa !11
  %19 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %9, i32 0, i32 7
  %20 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #3
  %21 = icmp ult i64 %18, %20
  br i1 %21, label %23, label %22

22:                                               ; preds = %17
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  br label %44

23:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  %24 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %9, i32 0, i32 7
  %25 = load i64, ptr %5, align 8, !tbaa !11
  %26 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %25) #3
  %27 = load float, ptr %26, align 4, !tbaa !9
  store float %27, ptr %6, align 4, !tbaa !9
  %28 = load float, ptr %6, align 4, !tbaa !9
  %29 = load float, ptr %3, align 4, !tbaa !9
  %30 = fcmp olt float %28, %29
  br i1 %30, label %31, label %33

31:                                               ; preds = %23
  %32 = load float, ptr %6, align 4, !tbaa !9
  store float %32, ptr %3, align 4, !tbaa !9
  br label %40

33:                                               ; preds = %23
  %34 = load float, ptr %6, align 4, !tbaa !9
  %35 = load float, ptr %4, align 4, !tbaa !9
  %36 = fcmp ogt float %34, %35
  br i1 %36, label %37, label %39

37:                                               ; preds = %33
  %38 = load float, ptr %6, align 4, !tbaa !9
  store float %38, ptr %4, align 4, !tbaa !9
  br label %39

39:                                               ; preds = %37, %33
  br label %40

40:                                               ; preds = %39, %31
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  br label %41

41:                                               ; preds = %40
  %42 = load i64, ptr %5, align 8, !tbaa !11
  %43 = add i64 %42, 1
  store i64 %43, ptr %5, align 8, !tbaa !11
  br label %17, !llvm.loop !13

44:                                               ; preds = %22
  %45 = load float, ptr %3, align 4, !tbaa !9
  %46 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %9, i32 0, i32 42
  %47 = load float, ptr %46, align 8, !tbaa !15
  %48 = fcmp olt float %45, %47
  br i1 %48, label %49, label %52

49:                                               ; preds = %44
  %50 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %9, i32 0, i32 42
  %51 = load float, ptr %50, align 8, !tbaa !15
  store float %51, ptr %3, align 4, !tbaa !9
  br label %52

52:                                               ; preds = %49, %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  %53 = load float, ptr %4, align 4, !tbaa !9
  %54 = load float, ptr %3, align 4, !tbaa !9
  %55 = fsub float %53, %54
  store float %55, ptr %7, align 4, !tbaa !9
  %56 = load float, ptr %7, align 4, !tbaa !9
  %57 = fpext float %56 to double
  %58 = fcmp olt double %57, 1.000000e+00
  br i1 %58, label %59, label %60

59:                                               ; preds = %52
  store float 1.000000e+00, ptr %7, align 4, !tbaa !9
  br label %60

60:                                               ; preds = %59, %52
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  store i64 0, ptr %8, align 8, !tbaa !11
  br label %61

61:                                               ; preds = %90, %60
  %62 = load i64, ptr %8, align 8, !tbaa !11
  %63 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %9, i32 0, i32 7
  %64 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %63) #3
  %65 = icmp ult i64 %62, %64
  br i1 %65, label %67, label %66

66:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  br label %93

67:                                               ; preds = %61
  %68 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %9, i32 0, i32 7
  %69 = load i64, ptr %8, align 8, !tbaa !11
  %70 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %68, i64 noundef %69) #3
  %71 = load float, ptr %70, align 4, !tbaa !9
  %72 = load float, ptr %3, align 4, !tbaa !9
  %73 = fsub float %71, %72
  %74 = load float, ptr %7, align 4, !tbaa !9
  %75 = fdiv float %73, %74
  %76 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %9, i32 0, i32 10
  %77 = load i64, ptr %8, align 8, !tbaa !11
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %76, i64 noundef %77) #3
  store float %75, ptr %78, align 4, !tbaa !9
  %79 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %9, i32 0, i32 10
  %80 = load i64, ptr %8, align 8, !tbaa !11
  %81 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %79, i64 noundef %80) #3
  %82 = load float, ptr %81, align 4, !tbaa !9
  %83 = fpext float %82 to double
  %84 = fcmp olt double %83, 0.000000e+00
  br i1 %84, label %85, label %89

85:                                               ; preds = %67
  %86 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %9, i32 0, i32 10
  %87 = load i64, ptr %8, align 8, !tbaa !11
  %88 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %87) #3
  store float 0.000000e+00, ptr %88, align 4, !tbaa !9
  br label %89

89:                                               ; preds = %85, %67
  br label %90

90:                                               ; preds = %89
  %91 = load i64, ptr %8, align 8, !tbaa !11
  %92 = add i64 %91, 1
  store i64 %92, ptr %8, align 8, !tbaa !11
  br label %61, !llvm.loop !33

93:                                               ; preds = %66
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !10, i64 432}
!16 = !{!"_ZTSN4sptk6reaper12EpochTrackerE", !17, i64 8, !21, i64 32, !25, i64 56, !25, i64 80, !25, i64 104, !25, i64 128, !25, i64 152, !25, i64 176, !25, i64 200, !25, i64 224, !25, i64 248, !25, i64 272, !10, i64 296, !10, i64 300, !10, i64 304, !29, i64 308, !29, i64 312, !29, i64 316, !30, i64 320, !10, i64 352, !10, i64 356, !10, i64 360, !10, i64 364, !32, i64 368, !32, i64 369, !10, i64 372, !10, i64 376, !10, i64 380, !10, i64 384, !10, i64 388, !10, i64 392, !10, i64 396, !10, i64 400, !10, i64 404, !10, i64 408, !10, i64 412, !10, i64 416, !10, i64 420, !10, i64 424, !10, i64 428, !10, i64 432, !10, i64 436, !10, i64 440, !10, i64 444, !10, i64 448, !10, i64 452, !10, i64 456, !10, i64 460, !10, i64 464, !10, i64 468, !10, i64 472, !10, i64 476, !10, i64 480, !10, i64 484, !10, i64 488, !10, i64 492, !10, i64 496}
!17 = !{!"_ZTSSt6vectorIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSSt6vectorIfSaIfEE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"int", !7, i64 0}
!30 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !31, i64 0, !12, i64 8, !7, i64 16}
!31 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!32 = !{!"bool", !7, i64 0}
!33 = distinct !{!33, !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"

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4sptk6reaper12EpochTracker22GetRmsVoicingModulatorEv(ptr noundef nonnull align 8 dereferenceable(500) %0) local_unnamed_addr #0 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 152
  %3 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #2
  %4 = load float, ptr %3, align 4, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 224
  %6 = tail call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #2
  tail call void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %6)
  %7 = tail call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #2
  %8 = icmp ugt i64 %7, 1
  br i1 %8, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %21, %1
  %.025.lcssa = phi float [ %4, %1 ], [ %.126, %21 ]
  %.023.lcssa = phi float [ %4, %1 ], [ %.1, %21 ]
  %9 = getelementptr inbounds i8, ptr %0, i64 432
  %10 = load float, ptr %9, align 8, !tbaa !9
  %11 = fcmp olt float %.023.lcssa, %10
  %.2 = select i1 %11, float %10, float %.023.lcssa
  %12 = fsub float %.025.lcssa, %.2
  %13 = fcmp olt float %12, 1.000000e+00
  %.022 = select i1 %13, float 1.000000e+00, float %12
  %14 = tail call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #2
  %.not = icmp eq i64 %14, 0
  br i1 %.not, label %._crit_edge37, label %.lr.ph36

.lr.ph:                                           ; preds = %1, %21
  %.02332 = phi float [ %.1, %21 ], [ %4, %1 ]
  %.02431 = phi i64 [ %22, %21 ], [ 1, %1 ]
  %.02530 = phi float [ %.126, %21 ], [ %4, %1 ]
  %15 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.02431) #2
  %16 = load float, ptr %15, align 4, !tbaa !5
  %17 = fcmp olt float %16, %.02332
  br i1 %17, label %21, label %18

18:                                               ; preds = %.lr.ph
  %19 = fcmp ogt float %16, %.02530
  br i1 %19, label %20, label %21

20:                                               ; preds = %18
  br label %21

21:                                               ; preds = %.lr.ph, %18, %20
  %.126 = phi float [ %16, %20 ], [ %.02530, %18 ], [ %.02530, %.lr.ph ]
  %.1 = phi float [ %.02332, %20 ], [ %.02332, %18 ], [ %16, %.lr.ph ]
  %22 = add nuw i64 %.02431, 1
  %23 = tail call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #2
  %24 = icmp ult i64 %22, %23
  br i1 %24, label %.lr.ph, label %._crit_edge, !llvm.loop !29

._crit_edge37:                                    ; preds = %35, %._crit_edge
  ret void

.lr.ph36:                                         ; preds = %._crit_edge, %35
  %.034 = phi i64 [ %36, %35 ], [ 0, %._crit_edge ]
  %25 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.034) #2
  %26 = load float, ptr %25, align 4, !tbaa !5
  %27 = fsub float %26, %.2
  %28 = fdiv float %27, %.022
  %29 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.034) #2
  store float %28, ptr %29, align 4, !tbaa !5
  %30 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.034) #2
  %31 = load float, ptr %30, align 4, !tbaa !5
  %32 = fcmp olt float %31, 0.000000e+00
  br i1 %32, label %33, label %35

33:                                               ; preds = %.lr.ph36
  %34 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.034) #2
  store float 0.000000e+00, ptr %34, align 4, !tbaa !5
  br label %35

35:                                               ; preds = %.lr.ph36, %33
  %36 = add nuw i64 %.034, 1
  %37 = tail call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #2
  %38 = icmp ult i64 %36, %37
  br i1 %38, label %.lr.ph36, label %._crit_edge37, !llvm.loop !31
}

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 432}
!10 = !{!"_ZTSN4sptk6reaper12EpochTrackerE", !11, i64 8, !16, i64 32, !20, i64 56, !20, i64 80, !20, i64 104, !20, i64 128, !20, i64 152, !20, i64 176, !20, i64 200, !20, i64 224, !20, i64 248, !20, i64 272, !6, i64 296, !6, i64 300, !6, i64 304, !24, i64 308, !24, i64 312, !24, i64 316, !25, i64 320, !6, i64 352, !6, i64 356, !6, i64 360, !6, i64 364, !28, i64 368, !28, i64 369, !6, i64 372, !6, i64 376, !6, i64 380, !6, i64 384, !6, i64 388, !6, i64 392, !6, i64 396, !6, i64 400, !6, i64 404, !6, i64 408, !6, i64 412, !6, i64 416, !6, i64 420, !6, i64 424, !6, i64 428, !6, i64 432, !6, i64 436, !6, i64 440, !6, i64 444, !6, i64 448, !6, i64 452, !6, i64 456, !6, i64 460, !6, i64 464, !6, i64 468, !6, i64 472, !6, i64 476, !6, i64 480, !6, i64 484, !6, i64 488, !6, i64 492, !6, i64 496}
!11 = !{!"_ZTSSt6vectorIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!"_ZTSSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!20 = !{!"_ZTSSt6vectorIfSaIfEE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!24 = !{!"int", !7, i64 0}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !26, i64 0, !27, i64 8, !7, i64 16}
!26 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !15, i64 0}
!27 = !{!"long", !7, i64 0}
!28 = !{!"bool", !7, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = distinct !{!31, !30}


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