; 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.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.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::__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 @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #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
declare dso_local void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 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: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN4sptk6reaperL7RoundUpEf(float noundef) #3

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4

; Function Attrs: nounwind
declare double @sqrt(double noundef) #5

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4sptk6reaper12EpochTracker18NormalizeAmplitudeERKSt6vectorIfSaIfEEfPS4_(ptr noundef nonnull align 8 dereferenceable(500) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, float noundef %2, ptr noundef %3) #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca float, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::vector.5", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca i32, align 4
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store float %2, ptr %7, align 4, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  %27 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #6
  %30 = trunc i64 %29 to i32
  store i32 %30, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %31 = load float, ptr %7, align 4, !tbaa !9
  %32 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %27, i32 0, i32 43
  %33 = load float, ptr %32, align 4, !tbaa !13
  %34 = fmul float %31, %33
  %35 = call noundef i32 @_ZN4sptk6reaperL7RoundUpEf(float noundef %34)
  store i32 %35, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #6
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  %37 = load i32, ptr %9, align 4, !tbaa !11
  %38 = sext i32 %37 to i64
  invoke void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %38)
          to label %39 unwind label %68

39:                                               ; preds = %4
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = load i32, ptr %10, align 4, !tbaa !11
  %42 = sext i32 %41 to i64
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #6
  invoke void @_ZN4sptk6reaper12EpochTracker6WindowERKSt6vectorIfSaIfEEimPf(ptr noundef nonnull align 8 dereferenceable(500) %27, ptr noundef nonnull align 8 dereferenceable(24) %40, i32 noundef 0, i64 noundef %42, ptr noundef %44)
          to label %45 unwind label %68

45:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %46 = load i32, ptr %10, align 4, !tbaa !11
  %47 = sdiv i32 %46, 2
  store i32 %47, ptr %14, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %48 = load float, ptr %7, align 4, !tbaa !9
  %49 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %27, i32 0, i32 27
  %50 = load float, ptr %49, align 4, !tbaa !31
  %51 = fmul float %48, %50
  %52 = invoke noundef i32 @_ZN4sptk6reaperL7RoundUpEf(float noundef %51)
          to label %53 unwind label %72

53:                                               ; preds = %45
  store i32 %52, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %54 = load i32, ptr %9, align 4, !tbaa !11
  %55 = load i32, ptr %10, align 4, !tbaa !11
  %56 = sub nsw i32 %54, %55
  store i32 %56, ptr %16, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %57 = load i32, ptr %14, align 4, !tbaa !11
  store i32 %57, ptr %17, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 0, ptr %18, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  store double 0.000000e+00, ptr %20, align 8, !tbaa !32
  br label %58

58:                                               ; preds = %143, %53
  %59 = load i32, ptr %19, align 4, !tbaa !11
  %60 = load i32, ptr %16, align 4, !tbaa !11
  %61 = icmp slt i32 %59, %60
  br i1 %61, label %62, label %148

62:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  store double 1.000000e+00, ptr %21, align 8, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store i32 0, ptr %22, align 4, !tbaa !11
  br label %63

63:                                               ; preds = %95, %62
  %64 = load i32, ptr %22, align 4, !tbaa !11
  %65 = load i32, ptr %10, align 4, !tbaa !11
  %66 = icmp slt i32 %64, %65
  br i1 %66, label %76, label %67

67:                                               ; preds = %63
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %98

68:                                               ; preds = %39, %4
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %12, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %13, align 4
  br label %171

72:                                               ; preds = %45
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %12, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %171

76:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %77 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %27, i32 0, i32 12
  %78 = load i32, ptr %22, align 4, !tbaa !11
  %79 = sext i32 %78 to i64
  %80 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %77, i64 noundef %79) #6
  %81 = load float, ptr %80, align 4, !tbaa !9
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = load i32, ptr %22, align 4, !tbaa !11
  %84 = load i32, ptr %19, align 4, !tbaa !11
  %85 = add nsw i32 %83, %84
  %86 = sext i32 %85 to i64
  %87 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %82, i64 noundef %86) #6
  %88 = load float, ptr %87, align 4, !tbaa !9
  %89 = fmul float %81, %88
  %90 = fpext float %89 to double
  store double %90, ptr %23, align 8, !tbaa !32
  %91 = load double, ptr %23, align 8, !tbaa !32
  %92 = load double, ptr %23, align 8, !tbaa !32
  %93 = load double, ptr %21, align 8, !tbaa !32
  %94 = call double @llvm.fmuladd.f64(double %91, double %92, double %93)
  store double %94, ptr %21, align 8, !tbaa !32
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %95

95:                                               ; preds = %76
  %96 = load i32, ptr %22, align 4, !tbaa !11
  %97 = add nsw i32 %96, 1
  store i32 %97, ptr %22, align 4, !tbaa !11
  br label %63, !llvm.loop !34

98:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %99 = load i32, ptr %10, align 4, !tbaa !11
  %100 = sitofp i32 %99 to double
  %101 = load double, ptr %21, align 8, !tbaa !32
  %102 = fdiv double %100, %101
  %103 = call double @sqrt(double noundef %102) #6
  store double %103, ptr %24, align 8, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  store double 0.000000e+00, ptr %25, align 8, !tbaa !32
  %104 = load i32, ptr %19, align 4, !tbaa !11
  %105 = icmp sgt i32 %104, 0
  br i1 %105, label %106, label %113

106:                                              ; preds = %98
  %107 = load double, ptr %24, align 8, !tbaa !32
  %108 = load double, ptr %20, align 8, !tbaa !32
  %109 = fsub double %107, %108
  %110 = load i32, ptr %15, align 4, !tbaa !11
  %111 = sitofp i32 %110 to double
  %112 = fdiv double %109, %111
  store double %112, ptr %25, align 8, !tbaa !32
  br label %115

113:                                              ; preds = %98
  %114 = load double, ptr %24, align 8, !tbaa !32
  store double %114, ptr %20, align 8, !tbaa !32
  br label %115

115:                                              ; preds = %113, %106
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  store i32 0, ptr %26, align 4, !tbaa !11
  br label %116

116:                                              ; preds = %138, %115
  %117 = load i32, ptr %26, align 4, !tbaa !11
  %118 = load i32, ptr %17, align 4, !tbaa !11
  %119 = icmp slt i32 %117, %118
  br i1 %119, label %121, label %120

120:                                              ; preds = %116
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  br label %143

121:                                              ; preds = %116
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = load i32, ptr %18, align 4, !tbaa !11
  %124 = sext i32 %123 to i64
  %125 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %122, i64 noundef %124) #6
  %126 = load float, ptr %125, align 4, !tbaa !9
  %127 = fpext float %126 to double
  %128 = load double, ptr %20, align 8, !tbaa !32
  %129 = fmul double %127, %128
  %130 = fptrunc double %129 to float
  %131 = load ptr, ptr %8, align 8, !tbaa !5
  %132 = load i32, ptr %18, align 4, !tbaa !11
  %133 = sext i32 %132 to i64
  %134 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %131, i64 noundef %133) #6
  store float %130, ptr %134, align 4, !tbaa !9
  %135 = load double, ptr %25, align 8, !tbaa !32
  %136 = load double, ptr %20, align 8, !tbaa !32
  %137 = fadd double %136, %135
  store double %137, ptr %20, align 8, !tbaa !32
  br label %138

138:                                              ; preds = %121
  %139 = load i32, ptr %26, align 4, !tbaa !11
  %140 = add nsw i32 %139, 1
  store i32 %140, ptr %26, align 4, !tbaa !11
  %141 = load i32, ptr %18, align 4, !tbaa !11
  %142 = add nsw i32 %141, 1
  store i32 %142, ptr %18, align 4, !tbaa !11
  br label %116, !llvm.loop !36

143:                                              ; preds = %120
  %144 = load i32, ptr %15, align 4, !tbaa !11
  store i32 %144, ptr %17, align 4, !tbaa !11
  %145 = load i32, ptr %15, align 4, !tbaa !11
  %146 = load i32, ptr %19, align 4, !tbaa !11
  %147 = add nsw i32 %146, %145
  store i32 %147, ptr %19, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %58, !llvm.loop !37

148:                                              ; preds = %58
  br label %149

149:                                              ; preds = %167, %148
  %150 = load i32, ptr %18, align 4, !tbaa !11
  %151 = load i32, ptr %9, align 4, !tbaa !11
  %152 = icmp slt i32 %150, %151
  br i1 %152, label %153, label %170

153:                                              ; preds = %149
  %154 = load ptr, ptr %6, align 8, !tbaa !5
  %155 = load i32, ptr %18, align 4, !tbaa !11
  %156 = sext i32 %155 to i64
  %157 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %154, i64 noundef %156) #6
  %158 = load float, ptr %157, align 4, !tbaa !9
  %159 = fpext float %158 to double
  %160 = load double, ptr %20, align 8, !tbaa !32
  %161 = fmul double %159, %160
  %162 = fptrunc double %161 to float
  %163 = load ptr, ptr %8, align 8, !tbaa !5
  %164 = load i32, ptr %18, align 4, !tbaa !11
  %165 = sext i32 %164 to i64
  %166 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %163, i64 noundef %165) #6
  store float %162, ptr %166, align 4, !tbaa !9
  br label %167

167:                                              ; preds = %153
  %168 = load i32, ptr %18, align 4, !tbaa !11
  %169 = add nsw i32 %168, 1
  store i32 %169, ptr %18, align 4, !tbaa !11
  br label %149, !llvm.loop !38

170:                                              ; preds = %149
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  ret void

171:                                              ; preds = %72, %68
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %172

172:                                              ; preds = %171
  %173 = load ptr, ptr %12, align 8
  %174 = load i32, ptr %13, align 4
  %175 = insertvalue { ptr, i32 } poison, ptr %173, 0
  %176 = insertvalue { ptr, i32 } %175, i32 %174, 1
  resume { ptr, i32 } %176
}

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 = { inlinehint 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 }

!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 = !{!"int", !7, i64 0}
!13 = !{!14, !10, i64 436}
!14 = !{!"_ZTSN4sptk6reaper12EpochTrackerE", !15, i64 8, !19, i64 32, !23, i64 56, !23, i64 80, !23, i64 104, !23, i64 128, !23, i64 152, !23, i64 176, !23, i64 200, !23, i64 224, !23, i64 248, !23, i64 272, !10, i64 296, !10, i64 300, !10, i64 304, !12, i64 308, !12, i64 312, !12, i64 316, !27, i64 320, !10, i64 352, !10, i64 356, !10, i64 360, !10, i64 364, !30, i64 368, !30, 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}
!15 = !{!"_ZTSSt6vectorIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSSt6vectorIfSaIfEE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !28, i64 0, !29, i64 8, !7, i64 16}
!28 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!29 = !{!"long", !7, i64 0}
!30 = !{!"bool", !7, i64 0}
!31 = !{!14, !10, i64 372}
!32 = !{!33, !33, i64 0}
!33 = !{!"double", !7, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = distinct !{!36, !35}
!37 = distinct !{!37, !35}
!38 = distinct !{!38, !35}


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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #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)) 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: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN4sptk6reaperL7RoundUpEf(float noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4sptk6reaper12EpochTracker18NormalizeAmplitudeERKSt6vectorIfSaIfEEfPS4_(ptr noundef nonnull align 8 dereferenceable(500) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, float noundef %2, ptr noundef %3) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::vector.5", align 8
  %6 = tail call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %7 = trunc i64 %6 to i32
  %8 = getelementptr inbounds i8, ptr %0, i64 436
  %9 = load float, ptr %8, align 4, !tbaa !5
  %10 = fmul float %9, %2
  %11 = tail call noundef i32 @_ZN4sptk6reaperL7RoundUpEf(float noundef %10)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %sext = shl i64 %6, 32
  %12 = ashr exact i64 %sext, 32
  invoke void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %12)
          to label %13 unwind label %64

13:                                               ; preds = %4
  %14 = sext i32 %11 to i64
  %15 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  invoke void @_ZN4sptk6reaper12EpochTracker6WindowERKSt6vectorIfSaIfEEimPf(ptr noundef nonnull align 8 dereferenceable(500) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef 0, i64 noundef %14, ptr noundef nonnull %15)
          to label %16 unwind label %64

16:                                               ; preds = %13
  %17 = getelementptr inbounds i8, ptr %0, i64 372
  %18 = load float, ptr %17, align 4, !tbaa !28
  %19 = fmul float %18, %2
  %20 = call noundef i32 @_ZN4sptk6reaperL7RoundUpEf(float noundef %19)
  %21 = sub nsw i32 %7, %11
  %22 = icmp sgt i32 %21, 0
  br i1 %22, label %.preheader65.lr.ph, label %.preheader

.preheader65.lr.ph:                               ; preds = %16
  %23 = sdiv i32 %11, 2
  %24 = icmp sgt i32 %11, 0
  %25 = getelementptr inbounds i8, ptr %0, i64 272
  %26 = sitofp i32 %11 to double
  %27 = sitofp i32 %20 to double
  br i1 %24, label %.preheader65.us.preheader, label %.preheader65

.preheader65.us.preheader:                        ; preds = %.preheader65.lr.ph
  %28 = sext i32 %20 to i64
  %29 = zext nneg i32 %21 to i64
  %wide.trip.count = zext nneg i32 %11 to i64
  br label %.preheader65.us

.preheader65.us:                                  ; preds = %.preheader65.us.preheader, %._crit_edge73.us
  %indvars.iv98 = phi i64 [ 0, %.preheader65.us.preheader ], [ %indvars.iv.next99, %._crit_edge73.us ]
  %.05679.us = phi i32 [ %23, %.preheader65.us.preheader ], [ %20, %._crit_edge73.us ]
  %.05778.us = phi i32 [ 0, %.preheader65.us.preheader ], [ %.1.lcssa.us, %._crit_edge73.us ]
  %.06077.us = phi double [ 0.000000e+00, %.preheader65.us.preheader ], [ %.262.lcssa.us, %._crit_edge73.us ]
  br label %40

._crit_edge73.us.loopexit:                        ; preds = %.lr.ph72.us
  %30 = trunc nsw i64 %indvars.iv.next95 to i32
  br label %._crit_edge73.us

._crit_edge73.us:                                 ; preds = %._crit_edge73.us.loopexit, %._crit_edge.us
  %.262.lcssa.us = phi double [ %.161.us, %._crit_edge.us ], [ %38, %._crit_edge73.us.loopexit ]
  %.1.lcssa.us = phi i32 [ %.05778.us, %._crit_edge.us ], [ %30, %._crit_edge73.us.loopexit ]
  %indvars.iv.next99 = add nsw i64 %indvars.iv98, %28
  %31 = icmp slt i64 %indvars.iv.next99, %29
  br i1 %31, label %.preheader65.us, label %.preheader, !llvm.loop !29

.lr.ph72.us:                                      ; preds = %.lr.ph72.us.preheader, %.lr.ph72.us
  %indvars.iv94 = phi i64 [ %55, %.lr.ph72.us.preheader ], [ %indvars.iv.next95, %.lr.ph72.us ]
  %.070.us = phi i32 [ 0, %.lr.ph72.us.preheader ], [ %39, %.lr.ph72.us ]
  %.26268.us = phi double [ %.161.us, %.lr.ph72.us.preheader ], [ %38, %.lr.ph72.us ]
  %32 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv94) #6
  %33 = load float, ptr %32, align 4, !tbaa !31
  %34 = fpext float %33 to double
  %35 = fmul double %.26268.us, %34
  %36 = fptrunc double %35 to float
  %37 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv94) #6
  store float %36, ptr %37, align 4, !tbaa !31
  %38 = fadd double %.055.us, %.26268.us
  %39 = add nuw nsw i32 %.070.us, 1
  %indvars.iv.next95 = add nsw i64 %indvars.iv94, 1
  %exitcond97.not = icmp eq i32 %39, %.05679.us
  br i1 %exitcond97.not, label %._crit_edge73.us.loopexit, label %.lr.ph72.us, !llvm.loop !32

40:                                               ; preds = %.preheader65.us, %40
  %indvars.iv90 = phi i64 [ 0, %.preheader65.us ], [ %indvars.iv.next91, %40 ]
  %.05966.us = phi double [ 1.000000e+00, %.preheader65.us ], [ %48, %40 ]
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv90) #6
  %42 = load float, ptr %41, align 4, !tbaa !31
  %43 = add nsw i64 %indvars.iv90, %indvars.iv98
  %44 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %43) #6
  %45 = load float, ptr %44, align 4, !tbaa !31
  %46 = fmul float %42, %45
  %47 = fpext float %46 to double
  %48 = call double @llvm.fmuladd.f64(double %47, double %47, double %.05966.us)
  %indvars.iv.next91 = add nuw nsw i64 %indvars.iv90, 1
  %exitcond93.not = icmp eq i64 %indvars.iv.next91, %wide.trip.count
  br i1 %exitcond93.not, label %._crit_edge.us, label %40, !llvm.loop !33

._crit_edge.us:                                   ; preds = %40
  %49 = fdiv double %26, %48
  %50 = call double @sqrt(double noundef %49) #6
  %51 = icmp sgt i64 %indvars.iv98, 0
  %52 = fsub double %50, %.06077.us
  %53 = fdiv double %52, %27
  %.161.us = select i1 %51, double %.06077.us, double %50
  %.055.us = select i1 %51, double %53, double 0.000000e+00
  %54 = icmp sgt i32 %.05679.us, 0
  br i1 %54, label %.lr.ph72.us.preheader, label %._crit_edge73.us

.lr.ph72.us.preheader:                            ; preds = %._crit_edge.us
  %55 = sext i32 %.05778.us to i64
  br label %.lr.ph72.us

.preheader65:                                     ; preds = %.preheader65.lr.ph, %._crit_edge73
  %.05679 = phi i32 [ %20, %._crit_edge73 ], [ %23, %.preheader65.lr.ph ]
  %.05778 = phi i32 [ %.1.lcssa, %._crit_edge73 ], [ 0, %.preheader65.lr.ph ]
  %.06077 = phi double [ %.262.lcssa, %._crit_edge73 ], [ 0.000000e+00, %.preheader65.lr.ph ]
  %.06376 = phi i32 [ %67, %._crit_edge73 ], [ 0, %.preheader65.lr.ph ]
  %56 = call double @sqrt(double noundef %26) #6
  %57 = icmp sgt i32 %.06376, 0
  %58 = fsub double %56, %.06077
  %59 = fdiv double %58, %27
  %.161 = select i1 %57, double %.06077, double %56
  %.055 = select i1 %57, double %59, double 0.000000e+00
  %60 = icmp sgt i32 %.05679, 0
  br i1 %60, label %.lr.ph72.preheader, label %._crit_edge73

.lr.ph72.preheader:                               ; preds = %.preheader65
  %61 = sext i32 %.05778 to i64
  br label %.lr.ph72

.preheader:                                       ; preds = %._crit_edge73, %._crit_edge73.us, %16
  %.060.lcssa = phi double [ 0.000000e+00, %16 ], [ %.262.lcssa.us, %._crit_edge73.us ], [ %.262.lcssa, %._crit_edge73 ]
  %.057.lcssa = phi i32 [ 0, %16 ], [ %.1.lcssa.us, %._crit_edge73.us ], [ %.1.lcssa, %._crit_edge73 ]
  %62 = icmp slt i32 %.057.lcssa, %7
  br i1 %62, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.preheader
  %63 = sext i32 %.057.lcssa to i64
  br label %.lr.ph

64:                                               ; preds = %13, %4
  %65 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  resume { ptr, i32 } %65

._crit_edge73.loopexit:                           ; preds = %.lr.ph72
  %66 = trunc nsw i64 %indvars.iv.next to i32
  br label %._crit_edge73

._crit_edge73:                                    ; preds = %._crit_edge73.loopexit, %.preheader65
  %.262.lcssa = phi double [ %.161, %.preheader65 ], [ %75, %._crit_edge73.loopexit ]
  %.1.lcssa = phi i32 [ %.05778, %.preheader65 ], [ %66, %._crit_edge73.loopexit ]
  %67 = add nsw i32 %.06376, %20
  %68 = icmp slt i32 %67, %21
  br i1 %68, label %.preheader65, label %.preheader, !llvm.loop !29

.lr.ph72:                                         ; preds = %.lr.ph72.preheader, %.lr.ph72
  %indvars.iv = phi i64 [ %61, %.lr.ph72.preheader ], [ %indvars.iv.next, %.lr.ph72 ]
  %.070 = phi i32 [ 0, %.lr.ph72.preheader ], [ %76, %.lr.ph72 ]
  %.26268 = phi double [ %.161, %.lr.ph72.preheader ], [ %75, %.lr.ph72 ]
  %69 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv) #6
  %70 = load float, ptr %69, align 4, !tbaa !31
  %71 = fpext float %70 to double
  %72 = fmul double %.26268, %71
  %73 = fptrunc double %72 to float
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #6
  store float %73, ptr %74, align 4, !tbaa !31
  %75 = fadd double %.055, %.26268
  %76 = add nuw nsw i32 %.070, 1
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i32 %76, %.05679
  br i1 %exitcond.not, label %._crit_edge73.loopexit, label %.lr.ph72, !llvm.loop !32

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv101 = phi i64 [ %63, %.lr.ph.preheader ], [ %indvars.iv.next102, %.lr.ph ]
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv101) #6
  %78 = load float, ptr %77, align 4, !tbaa !31
  %79 = fpext float %78 to double
  %80 = fmul double %.060.lcssa, %79
  %81 = fptrunc double %80 to float
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv101) #6
  store float %81, ptr %82, align 4, !tbaa !31
  %indvars.iv.next102 = add nsw i64 %indvars.iv101, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next102 to i32
  %exitcond104.not = icmp eq i32 %lftr.wideiv, %7
  br i1 %exitcond104.not, label %._crit_edge, label %.lr.ph, !llvm.loop !34

._crit_edge:                                      ; preds = %.lr.ph, %.preheader
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  ret void
}

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 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 = { inlinehint 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 #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { mustprogress nofree nounwind willreturn memory(write) "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 }

!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 436}
!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 372}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!22, !22, i64 0}
!32 = distinct !{!32, !30}
!33 = distinct !{!33, !30}
!34 = distinct !{!34, !30}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass