; 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: mustprogress nounwind uwtable
declare dso_local void @_ZN4sptk6reaper12EpochTracker7CleanUpEv(ptr noundef nonnull align 8 dereferenceable(500)) #0 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker4InitEPKsifffbb(ptr noundef nonnull align 8 dereferenceable(500) %0, ptr noundef %1, i32 noundef %2, float noundef %3, float noundef %4, float noundef %5, i1 noundef zeroext %6, i1 noundef zeroext %7) #2 align 2 {
  %9 = alloca i1, align 1
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca i8, align 1
  %17 = alloca i8, align 1
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store i32 %2, ptr %12, align 4, !tbaa !9
  store float %3, ptr %13, align 4, !tbaa !11
  store float %4, ptr %14, align 4, !tbaa !11
  store float %5, ptr %15, align 4, !tbaa !11
  %20 = zext i1 %6 to i8
  store i8 %20, ptr %16, align 1, !tbaa !13
  %21 = zext i1 %7 to i8
  store i8 %21, ptr %17, align 1, !tbaa !13
  %22 = load ptr, ptr %10, align 8
  %23 = load ptr, ptr %11, align 8, !tbaa !5
  %24 = icmp ne ptr %23, null
  br i1 %24, label %25, label %104

25:                                               ; preds = %8
  %26 = load float, ptr %13, align 4, !tbaa !11
  %27 = fcmp ogt float %26, 6.000000e+03
  br i1 %27, label %28, label %104

28:                                               ; preds = %25
  %29 = load i32, ptr %12, align 4, !tbaa !9
  %30 = sitofp i32 %29 to double
  %31 = load float, ptr %13, align 4, !tbaa !11
  %32 = fpext float %31 to double
  %33 = fmul double %32, 5.000000e-02
  %34 = fcmp ogt double %30, %33
  br i1 %34, label %35, label %104

35:                                               ; preds = %28
  %36 = load float, ptr %14, align 4, !tbaa !11
  %37 = load float, ptr %15, align 4, !tbaa !11
  %38 = fcmp olt float %36, %37
  br i1 %38, label %39, label %104

39:                                               ; preds = %35
  %40 = load float, ptr %14, align 4, !tbaa !11
  %41 = fpext float %40 to double
  %42 = fcmp ogt double %41, 0.000000e+00
  br i1 %42, label %43, label %104

43:                                               ; preds = %39
  call void @_ZN4sptk6reaper12EpochTracker7CleanUpEv(ptr noundef nonnull align 8 dereferenceable(500) %22)
  %44 = load float, ptr %14, align 4, !tbaa !11
  %45 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %22, i32 0, i32 22
  store float %44, ptr %45, align 8, !tbaa !15
  %46 = load float, ptr %15, align 4, !tbaa !11
  %47 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %22, i32 0, i32 23
  store float %46, ptr %47, align 4, !tbaa !32
  %48 = load float, ptr %13, align 4, !tbaa !11
  %49 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %22, i32 0, i32 13
  store float %48, ptr %49, align 8, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %50 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %50, ptr %18, align 8, !tbaa !5
  %51 = load i8, ptr %16, align 1, !tbaa !13, !range !34, !noundef !35
  %52 = trunc i8 %51 to i1
  br i1 %52, label %53, label %62

53:                                               ; preds = %43
  %54 = load ptr, ptr %18, align 8, !tbaa !5
  %55 = load i32, ptr %12, align 4, !tbaa !9
  %56 = load float, ptr %13, align 4, !tbaa !11
  %57 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %22, i32 0, i32 28
  %58 = load float, ptr %57, align 8, !tbaa !36
  %59 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %22, i32 0, i32 29
  %60 = load float, ptr %59, align 4, !tbaa !37
  %61 = call noundef ptr @_ZN4sptk6reaper12EpochTracker14HighpassFilterEPsifff(ptr noundef nonnull align 8 dereferenceable(500) %22, ptr noundef %54, i32 noundef %55, float noundef %56, float noundef %58, float noundef %60)
  store ptr %61, ptr %18, align 8, !tbaa !5
  br label %62

62:                                               ; preds = %53, %43
  %63 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %22, i32 0, i32 3
  %64 = load i32, ptr %12, align 4, !tbaa !9
  %65 = sext i32 %64 to i64
  call void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %65)
  %66 = load i8, ptr %17, align 1, !tbaa !13, !range !34, !noundef !35
  %67 = trunc i8 %66 to i1
  br i1 %67, label %68, label %73

68:                                               ; preds = %62
  %69 = load ptr, ptr %18, align 8, !tbaa !5
  %70 = load i32, ptr %12, align 4, !tbaa !9
  %71 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %22, i32 0, i32 3
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %71) #4
  call void @_ZN4sptk6reaper12EpochTracker16HilbertTransformEPsiPf(ptr noundef nonnull align 8 dereferenceable(500) %22, ptr noundef %69, i32 noundef %70, ptr noundef %72)
  br label %94

73:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %74

74:                                               ; preds = %90, %73
  %75 = load i32, ptr %19, align 4, !tbaa !9
  %76 = load i32, ptr %12, align 4, !tbaa !9
  %77 = icmp slt i32 %75, %76
  br i1 %77, label %79, label %78

78:                                               ; preds = %74
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  br label %93

79:                                               ; preds = %74
  %80 = load ptr, ptr %18, align 8, !tbaa !5
  %81 = load i32, ptr %19, align 4, !tbaa !9
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds i16, ptr %80, i64 %82
  %84 = load i16, ptr %83, align 2, !tbaa !38
  %85 = sitofp i16 %84 to float
  %86 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %22, i32 0, i32 3
  %87 = load i32, ptr %19, align 4, !tbaa !9
  %88 = sext i32 %87 to i64
  %89 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %88) #4
  store float %85, ptr %89, align 4, !tbaa !11
  br label %90

90:                                               ; preds = %79
  %91 = load i32, ptr %19, align 4, !tbaa !9
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %19, align 4, !tbaa !9
  br label %74, !llvm.loop !40

93:                                               ; preds = %78
  br label %94

94:                                               ; preds = %93, %68
  %95 = load ptr, ptr %18, align 8, !tbaa !5
  %96 = load ptr, ptr %11, align 8, !tbaa !5
  %97 = icmp ne ptr %95, %96
  br i1 %97, label %98, label %103

98:                                               ; preds = %94
  %99 = load ptr, ptr %18, align 8, !tbaa !5
  %100 = icmp eq ptr %99, null
  br i1 %100, label %102, label %101

101:                                              ; preds = %98
  call void @_ZdaPv(ptr noundef %99) #5
  br label %102

102:                                              ; preds = %101, %98
  br label %103

103:                                              ; preds = %102, %94
  store i1 true, ptr %9, align 1
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  br label %105

104:                                              ; preds = %39, %35, %28, %25, %8
  store i1 false, ptr %9, align 1
  br label %105

105:                                              ; preds = %104, %103
  %106 = load i1, ptr %9, align 1
  ret i1 %106
}

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

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

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #3

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nobuiltin 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 #4 = { nounwind }
attributes #5 = { builtin 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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!16, !12, i64 360}
!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, !12, i64 296, !12, i64 300, !12, i64 304, !10, i64 308, !10, i64 312, !10, i64 316, !29, i64 320, !12, i64 352, !12, i64 356, !12, i64 360, !12, i64 364, !14, i64 368, !14, i64 369, !12, i64 372, !12, i64 376, !12, i64 380, !12, i64 384, !12, i64 388, !12, i64 392, !12, i64 396, !12, i64 400, !12, i64 404, !12, i64 408, !12, i64 412, !12, i64 416, !12, i64 420, !12, i64 424, !12, i64 428, !12, i64 432, !12, i64 436, !12, i64 440, !12, i64 444, !12, i64 448, !12, i64 452, !12, i64 456, !12, i64 460, !12, i64 464, !12, i64 468, !12, i64 472, !12, i64 476, !12, i64 480, !12, i64 484, !12, i64 488, !12, i64 492, !12, 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 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !30, i64 0, !31, i64 8, !7, i64 16}
!30 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!31 = !{!"long", !7, i64 0}
!32 = !{!16, !12, i64 364}
!33 = !{!16, !12, i64 296}
!34 = !{i8 0, i8 2}
!35 = !{}
!36 = !{!16, !12, i64 376}
!37 = !{!16, !12, i64 380}
!38 = !{!39, !39, i64 0}
!39 = !{!"short", !7, i64 0}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.mustprogress"}


; 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 nounwind uwtable
declare dso_local void @_ZN4sptk6reaper12EpochTracker7CleanUpEv(ptr noundef nonnull align 8 dereferenceable(500)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker4InitEPKsifffbb(ptr noundef nonnull align 8 dereferenceable(500) %0, ptr noundef %1, i32 noundef %2, float noundef %3, float noundef %4, float noundef %5, i1 noundef zeroext %6, i1 noundef zeroext %7) local_unnamed_addr #1 align 2 {
  %9 = icmp ne ptr %1, null
  %10 = fcmp ogt float %3, 6.000000e+03
  %or.cond = and i1 %9, %10
  br i1 %or.cond, label %11, label %40

11:                                               ; preds = %8
  %12 = sitofp i32 %2 to double
  %13 = fpext float %3 to double
  %14 = fmul double %13, 5.000000e-02
  %15 = fcmp olt double %14, %12
  %16 = fcmp olt float %4, %5
  %or.cond36 = and i1 %15, %16
  %17 = fcmp ogt float %4, 0.000000e+00
  %or.cond37 = and i1 %17, %or.cond36
  br i1 %or.cond37, label %18, label %40

18:                                               ; preds = %11
  tail call void @_ZN4sptk6reaper12EpochTracker7CleanUpEv(ptr noundef nonnull align 8 dereferenceable(500) %0)
  %19 = getelementptr inbounds i8, ptr %0, i64 360
  store float %4, ptr %19, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %0, i64 364
  store float %5, ptr %20, align 4, !tbaa !28
  %21 = getelementptr inbounds i8, ptr %0, i64 296
  store float %3, ptr %21, align 8, !tbaa !29
  br i1 %6, label %22, label %28

22:                                               ; preds = %18
  %23 = getelementptr inbounds i8, ptr %0, i64 376
  %24 = load float, ptr %23, align 8, !tbaa !30
  %25 = getelementptr inbounds i8, ptr %0, i64 380
  %26 = load float, ptr %25, align 4, !tbaa !31
  %27 = tail call noundef ptr @_ZN4sptk6reaper12EpochTracker14HighpassFilterEPsifff(ptr noundef nonnull align 8 dereferenceable(500) %0, ptr noundef nonnull %1, i32 noundef %2, float noundef %3, float noundef %24, float noundef %26)
  br label %28

28:                                               ; preds = %22, %18
  %.030 = phi ptr [ %27, %22 ], [ %1, %18 ]
  %29 = getelementptr inbounds i8, ptr %0, i64 56
  %30 = sext i32 %2 to i64
  tail call void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %30)
  br i1 %7, label %32, label %.preheader

.preheader:                                       ; preds = %28
  %31 = icmp sgt i32 %2, 0
  br i1 %31, label %.lr.ph.preheader, label %.loopexit

.lr.ph.preheader:                                 ; preds = %.preheader
  %wide.trip.count = zext nneg i32 %2 to i64
  br label %.lr.ph

32:                                               ; preds = %28
  %33 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #3
  tail call void @_ZN4sptk6reaper12EpochTracker16HilbertTransformEPsiPf(ptr noundef nonnull align 8 dereferenceable(500) %0, ptr noundef %.030, i32 noundef %2, ptr noundef nonnull %33)
  br label %.loopexit

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %34 = getelementptr inbounds i16, ptr %.030, i64 %indvars.iv
  %35 = load i16, ptr %34, align 2, !tbaa !32
  %36 = sitofp i16 %35 to float
  %37 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %indvars.iv) #3
  store float %36, ptr %37, align 4, !tbaa !34
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph, !llvm.loop !35

.loopexit:                                        ; preds = %.lr.ph, %.preheader, %32
  %.not = icmp eq ptr %.030, %1
  %38 = icmp eq ptr %.030, null
  %or.cond38 = or i1 %.not, %38
  br i1 %or.cond38, label %40, label %39

39:                                               ; preds = %.loopexit
  tail call void @_ZdaPv(ptr noundef nonnull %.030) #4
  br label %40

40:                                               ; preds = %8, %11, %.loopexit, %39
  %.031 = phi i1 [ true, %39 ], [ true, %.loopexit ], [ false, %11 ], [ false, %8 ]
  ret i1 %.031
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4sptk6reaper12EpochTracker16HilbertTransformEPsiPf(ptr noundef nonnull align 8 dereferenceable(500), ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #2

attributes #0 = { 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 #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 = { nobuiltin 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 #3 = { nounwind }
attributes #4 = { builtin 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, !22, i64 360}
!6 = !{!"_ZTSN4sptk6reaper12EpochTrackerE", !7, i64 8, !14, i64 32, !18, i64 56, !18, i64 80, !18, i64 104, !18, i64 128, !18, i64 152, !18, i64 176, !18, i64 200, !18, i64 224, !18, i64 248, !18, i64 272, !22, i64 296, !22, i64 300, !22, i64 304, !23, i64 308, !23, i64 312, !23, i64 316, !24, i64 320, !22, i64 352, !22, i64 356, !22, i64 360, !22, i64 364, !27, i64 368, !27, i64 369, !22, i64 372, !22, i64 376, !22, i64 380, !22, i64 384, !22, i64 388, !22, i64 392, !22, i64 396, !22, i64 400, !22, i64 404, !22, i64 408, !22, i64 412, !22, i64 416, !22, i64 420, !22, i64 424, !22, i64 428, !22, i64 432, !22, i64 436, !22, i64 440, !22, i64 444, !22, i64 448, !22, i64 452, !22, i64 456, !22, i64 460, !22, i64 464, !22, i64 468, !22, i64 472, !22, i64 476, !22, i64 480, !22, i64 484, !22, i64 488, !22, i64 492, !22, i64 496}
!7 = !{!"_ZTSSt6vectorIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE", !8, i64 0}
!8 = !{!"_ZTSSt12_Vector_baseIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE", !9, i64 0}
!9 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE12_Vector_implE", !10, i64 0}
!10 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"_ZTSSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!18 = !{!"_ZTSSt6vectorIfSaIfEE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!22 = !{!"float", !12, i64 0}
!23 = !{!"int", !12, i64 0}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !25, i64 0, !26, i64 8, !12, i64 16}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !11, i64 0}
!26 = !{!"long", !12, i64 0}
!27 = !{!"bool", !12, i64 0}
!28 = !{!6, !22, i64 364}
!29 = !{!6, !22, i64 296}
!30 = !{!6, !22, i64 376}
!31 = !{!6, !22, i64 380}
!32 = !{!33, !33, i64 0}
!33 = !{!"short", !12, i64 0}
!34 = !{!22, !22, i64 0}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass