; LLVM IR from sp-nitech/SPTK :: src/analysis (pitch_extraction_by_reaper)

; 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.0", %"class.std::vector.5", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector.10", 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.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = 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] }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<short, std::allocator<short>>::_Vector_impl" }
%"struct.std::_Vector_base<short, std::allocator<short>>::_Vector_impl" = type { %"struct.std::_Vector_base<short, std::allocator<short>>::_Vector_impl_data" }
%"struct.std::_Vector_base<short, std::allocator<short>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.20" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.23" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.anon = type { i8 }
%"class.std::allocator.15" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.25" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.24" = type { ptr }
%"class.sptk::PitchExtractionByReaper" = type <{ %"class.sptk::PitchExtractionInterface", i32, [4 x i8], double, double, double, double, i8, [7 x i8] }>
%"class.sptk::PitchExtractionInterface" = type { ptr }

@.str = external hidden unnamed_addr constant [1 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk23PitchExtractionByReaper3GetERKSt6vectorIdSaIdEEPS3_S6_PNS_24PitchExtractionInterface8PolarityE(ptr noundef nonnull align 8 dereferenceable(49) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca i1, align 1
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"class.sptk::reaper::EpochTracker", align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::vector.18", align 8
  %16 = alloca %"class.std::allocator.20", align 1
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.23", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.23", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca %class.anon, align 1
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i8, align 1
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::allocator.15", align 1
  %27 = alloca float, align 4
  %28 = alloca %"class.std::vector.10", align 8
  %29 = alloca %"class.std::vector.10", align 8
  %30 = alloca i32, align 4
  %31 = alloca %"class.__gnu_cxx::__normal_iterator.25", align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.25", align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator.24", align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.24", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator.24", align 8
  %36 = alloca %"class.__gnu_cxx::__normal_iterator.24", align 8
  %37 = alloca %"class.__gnu_cxx::__normal_iterator.24", align 8
  %38 = alloca %"class.std::vector.10", align 8
  %39 = alloca %"class.std::vector.18", align 8
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca ptr, align 8
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  %46 = load ptr, ptr %7, align 8
  %47 = getelementptr inbounds %"class.sptk::PitchExtractionByReaper", ptr %46, i32 0, i32 7
  %48 = load i8, ptr %47, align 8, !tbaa !9, !range !15, !noundef !16
  %49 = trunc i8 %48 to i1
  br i1 %49, label %50, label %53

50:                                               ; preds = %5
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = call noundef zeroext i1 @_ZNKSt6vectorIdSaIdEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #7
  br i1 %52, label %53, label %54

53:                                               ; preds = %50, %5
  store i1 false, ptr %6, align 1
  br label %332

54:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 504, ptr %12) #7
  call void @_ZN4sptk6reaper12EpochTrackerC1Ev(ptr noundef nonnull align 8 dereferenceable(500) %12)
  %55 = getelementptr inbounds %"class.sptk::PitchExtractionByReaper", ptr %46, i32 0, i32 6
  %56 = load double, ptr %55, align 8, !tbaa !17
  %57 = fptrunc double %56 to float
  invoke void @_ZN4sptk6reaper12EpochTracker17set_unvoiced_costEf(ptr noundef nonnull align 8 dereferenceable(500) %12, float noundef %57)
          to label %58 unwind label %94

58:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #7
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  %60 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #7
  call void @_ZNSaIsEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  invoke void @_ZNSt6vectorIsSaIsEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %60, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %61 unwind label %98

61:                                               ; preds = %58
  call void @_ZNSt15__new_allocatorIsED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = call ptr @_ZNKSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #7
  %64 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.23", ptr %17, i32 0, i32 0
  store ptr %63, ptr %64, align 8
  %65 = load ptr, ptr %8, align 8, !tbaa !5
  %66 = call ptr @_ZNKSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #7
  %67 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.23", ptr %18, i32 0, i32 0
  store ptr %66, ptr %67, align 8
  %68 = call ptr @_ZNSt6vectorIsSaIsEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  %69 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  store ptr %68, ptr %69, align 8
  %70 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.23", ptr %17, i32 0, i32 0
  %71 = load ptr, ptr %70, align 8
  %72 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.23", ptr %18, i32 0, i32 0
  %73 = load ptr, ptr %72, align 8
  %74 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  %75 = load ptr, ptr %74, align 8
  %76 = invoke ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPsS4_IsSaIsEEEEZNK4sptk23PitchExtractionByReaper3GetERKS6_PS6_SG_PNSC_24PitchExtractionInterface8PolarityEE3$_0ET0_T_SM_SL_T1_"(ptr %71, ptr %73, ptr %75)
          to label %77 unwind label %102

77:                                               ; preds = %61
  %78 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  store ptr %76, ptr %78, align 8
  %79 = call noundef ptr @_ZNSt6vectorIsSaIsEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  %80 = call noundef i64 @_ZNKSt6vectorIsSaIsEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  %81 = trunc i64 %80 to i32
  %82 = getelementptr inbounds %"class.sptk::PitchExtractionByReaper", ptr %46, i32 0, i32 3
  %83 = load double, ptr %82, align 8, !tbaa !18
  %84 = fptrunc double %83 to float
  %85 = getelementptr inbounds %"class.sptk::PitchExtractionByReaper", ptr %46, i32 0, i32 4
  %86 = load double, ptr %85, align 8, !tbaa !19
  %87 = fptrunc double %86 to float
  %88 = getelementptr inbounds %"class.sptk::PitchExtractionByReaper", ptr %46, i32 0, i32 5
  %89 = load double, ptr %88, align 8, !tbaa !20
  %90 = fptrunc double %89 to float
  %91 = invoke noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker4InitEPKsifffbb(ptr noundef nonnull align 8 dereferenceable(500) %12, ptr noundef %79, i32 noundef %81, float noundef %84, float noundef %87, float noundef %90, i1 noundef zeroext true, i1 noundef zeroext false)
          to label %92 unwind label %102

92:                                               ; preds = %77
  br i1 %91, label %106, label %93

93:                                               ; preds = %92
  store i1 false, ptr %6, align 1
  store i32 1, ptr %22, align 4
  br label %328

94:                                               ; preds = %54
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %13, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %14, align 4
  br label %331

98:                                               ; preds = %58
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %13, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %14, align 4
  call void @_ZNSt15__new_allocatorIsED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  br label %330

102:                                              ; preds = %140, %77, %61
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %13, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %14, align 4
  br label %329

106:                                              ; preds = %92
  %107 = load ptr, ptr %11, align 8, !tbaa !5
  %108 = icmp ne ptr null, %107
  br i1 %108, label %109, label %134

109:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  %110 = invoke noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker15ComputePolarityEPi(ptr noundef nonnull align 8 dereferenceable(500) %12, ptr noundef %23)
          to label %111 unwind label %113

111:                                              ; preds = %109
  br i1 %110, label %117, label %112

112:                                              ; preds = %111
  store i1 false, ptr %6, align 1
  store i32 1, ptr %22, align 4
  br label %131

113:                                              ; preds = %109
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %13, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  br label %329

117:                                              ; preds = %111
  %118 = load i32, ptr %23, align 4, !tbaa !21
  %119 = icmp eq i32 1, %118
  br i1 %119, label %120, label %122

120:                                              ; preds = %117
  %121 = load ptr, ptr %11, align 8, !tbaa !5
  store i32 1, ptr %121, align 4, !tbaa !22
  br label %130

122:                                              ; preds = %117
  %123 = load i32, ptr %23, align 4, !tbaa !21
  %124 = icmp eq i32 -1, %123
  br i1 %124, label %125, label %127

125:                                              ; preds = %122
  %126 = load ptr, ptr %11, align 8, !tbaa !5
  store i32 2, ptr %126, align 4, !tbaa !22
  br label %129

127:                                              ; preds = %122
  %128 = load ptr, ptr %11, align 8, !tbaa !5
  store i32 0, ptr %128, align 4, !tbaa !22
  br label %129

129:                                              ; preds = %127, %125
  br label %130

130:                                              ; preds = %129, %120
  store i32 0, ptr %22, align 4
  br label %131

131:                                              ; preds = %130, %112
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  %132 = load i32, ptr %22, align 4
  switch i32 %132, label %328 [
    i32 0, label %133
  ]

133:                                              ; preds = %131
  br label %134

134:                                              ; preds = %133, %106
  %135 = load ptr, ptr %9, align 8, !tbaa !5
  %136 = icmp ne ptr null, %135
  br i1 %136, label %140, label %137

137:                                              ; preds = %134
  %138 = load ptr, ptr %10, align 8, !tbaa !5
  %139 = icmp ne ptr null, %138
  br i1 %139, label %140, label %172

140:                                              ; preds = %137, %134
  %141 = invoke noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker15ComputeFeaturesEv(ptr noundef nonnull align 8 dereferenceable(500) %12)
          to label %142 unwind label %102

142:                                              ; preds = %140
  br i1 %141, label %144, label %143

143:                                              ; preds = %142
  store i1 false, ptr %6, align 1
  store i32 1, ptr %22, align 4
  br label %328

144:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #7
  %145 = invoke noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker11TrackEpochsEv(ptr noundef nonnull align 8 dereferenceable(500) %12)
          to label %146 unwind label %154

146:                                              ; preds = %144
  %147 = zext i1 %145 to i8
  store i8 %147, ptr %24, align 1, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %148 unwind label %158

148:                                              ; preds = %146
  %149 = invoke noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker16WriteDiagnosticsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(500) %12, ptr noundef nonnull align 8 dereferenceable(32) %25)
          to label %150 unwind label %162

150:                                              ; preds = %148
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #7
  %151 = load i8, ptr %24, align 1, !tbaa !24, !range !15, !noundef !16
  %152 = trunc i8 %151 to i1
  br i1 %152, label %167, label %153

153:                                              ; preds = %150
  store i1 false, ptr %6, align 1
  store i32 1, ptr %22, align 4
  br label %168

154:                                              ; preds = %144
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %13, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %14, align 4
  br label %171

158:                                              ; preds = %146
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %13, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %14, align 4
  br label %166

162:                                              ; preds = %148
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %13, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #7
  br label %166

166:                                              ; preds = %162, %158
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #7
  br label %171

167:                                              ; preds = %150
  store i32 0, ptr %22, align 4
  br label %168

168:                                              ; preds = %167, %153
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  %169 = load i32, ptr %22, align 4
  switch i32 %169, label %328 [
    i32 0, label %170
  ]

170:                                              ; preds = %168
  br label %172

171:                                              ; preds = %166, %154
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  br label %329

172:                                              ; preds = %170, %137
  %173 = load ptr, ptr %9, align 8, !tbaa !5
  %174 = icmp ne ptr null, %173
  br i1 %174, label %175, label %259

175:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  %176 = getelementptr inbounds %"class.sptk::PitchExtractionByReaper", ptr %46, i32 0, i32 1
  %177 = load i32, ptr %176, align 8, !tbaa !25
  %178 = sitofp i32 %177 to float
  %179 = getelementptr inbounds %"class.sptk::PitchExtractionByReaper", ptr %46, i32 0, i32 3
  %180 = load double, ptr %179, align 8, !tbaa !18
  %181 = fptrunc double %180 to float
  %182 = fdiv float %178, %181
  store float %182, ptr %27, align 4, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #7
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #7
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  %183 = load float, ptr %27, align 4, !tbaa !26
  %184 = invoke noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker24ResampleAndReturnResultsEfPSt6vectorIfSaIfEES5_(ptr noundef nonnull align 8 dereferenceable(500) %12, float noundef %183, ptr noundef %28, ptr noundef %29)
          to label %185 unwind label %187

185:                                              ; preds = %175
  br i1 %184, label %191, label %186

186:                                              ; preds = %185
  store i1 false, ptr %6, align 1
  store i32 1, ptr %22, align 4
  br label %250

187:                                              ; preds = %175
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %13, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %14, align 4
  br label %258

191:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  %192 = load ptr, ptr %8, align 8, !tbaa !5
  %193 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %192) #7
  %194 = uitofp i64 %193 to float
  %195 = getelementptr inbounds %"class.sptk::PitchExtractionByReaper", ptr %46, i32 0, i32 1
  %196 = load i32, ptr %195, align 8, !tbaa !25
  %197 = sitofp i32 %196 to float
  %198 = fdiv float %194, %197
  %199 = invoke noundef float @_ZSt4ceilf(float noundef %198)
          to label %200 unwind label %210

200:                                              ; preds = %191
  %201 = fptosi float %199 to i32
  store i32 %201, ptr %30, align 4, !tbaa !21
  %202 = load i32, ptr %30, align 4, !tbaa !21
  %203 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  %204 = trunc i64 %203 to i32
  %205 = icmp slt i32 %202, %204
  br i1 %205, label %206, label %214

206:                                              ; preds = %200
  %207 = load i32, ptr %30, align 4, !tbaa !21
  %208 = sext i32 %207 to i64
  invoke void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %208)
          to label %209 unwind label %210

209:                                              ; preds = %206
  br label %214

210:                                              ; preds = %218, %214, %206, %191
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %13, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %14, align 4
  br label %257

214:                                              ; preds = %209, %200
  %215 = load ptr, ptr %9, align 8, !tbaa !5
  %216 = load i32, ptr %30, align 4, !tbaa !21
  %217 = sext i32 %216 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %215, i64 noundef %217)
          to label %218 unwind label %210

218:                                              ; preds = %214
  %219 = call ptr @_ZNSt6vectorIfSaIfEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  %220 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.25", ptr %31, i32 0, i32 0
  store ptr %219, ptr %220, align 8
  %221 = call ptr @_ZNSt6vectorIfSaIfEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  %222 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.25", ptr %32, i32 0, i32 0
  store ptr %221, ptr %222, align 8
  %223 = load ptr, ptr %9, align 8, !tbaa !5
  %224 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %223) #7
  %225 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.24", ptr %33, i32 0, i32 0
  store ptr %224, ptr %225, align 8
  %226 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.25", ptr %31, i32 0, i32 0
  %227 = load ptr, ptr %226, align 8
  %228 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.25", ptr %32, i32 0, i32 0
  %229 = load ptr, ptr %228, align 8
  %230 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.24", ptr %33, i32 0, i32 0
  %231 = load ptr, ptr %230, align 8
  %232 = invoke ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPfSt6vectorIfSaIfEEEENS1_IPdS3_IdSaIdEEEEET0_T_SC_SB_(ptr %227, ptr %229, ptr %231)
          to label %233 unwind label %210

233:                                              ; preds = %218
  %234 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.24", ptr %34, i32 0, i32 0
  store ptr %232, ptr %234, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %235 = load ptr, ptr %9, align 8, !tbaa !5
  %236 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %235) #7
  %237 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.24", ptr %36, i32 0, i32 0
  store ptr %236, ptr %237, align 8
  %238 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  %239 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %36, i64 noundef %238) #7
  %240 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.24", ptr %35, i32 0, i32 0
  store ptr %239, ptr %240, align 8
  %241 = load ptr, ptr %9, align 8, !tbaa !5
  %242 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %241) #7
  %243 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.24", ptr %37, i32 0, i32 0
  store ptr %242, ptr %243, align 8
  %244 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  %245 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.24", ptr %35, i32 0, i32 0
  %246 = load ptr, ptr %245, align 8
  %247 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.24", ptr %37, i32 0, i32 0
  %248 = load ptr, ptr %247, align 8
  invoke void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEfEvT_S7_RKT0_(ptr %246, ptr %248, ptr noundef nonnull align 4 dereferenceable(4) %244)
          to label %249 unwind label %253

249:                                              ; preds = %233
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  store i32 0, ptr %22, align 4
  br label %250

250:                                              ; preds = %249, %186
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  %251 = load i32, ptr %22, align 4
  switch i32 %251, label %328 [
    i32 0, label %252
  ]

252:                                              ; preds = %250
  br label %259

253:                                              ; preds = %233
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %13, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %257

257:                                              ; preds = %253, %210
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  br label %258

258:                                              ; preds = %257, %187
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %329

259:                                              ; preds = %252, %172
  %260 = load ptr, ptr %10, align 8, !tbaa !5
  %261 = icmp ne ptr null, %260
  br i1 %261, label %262, label %327

262:                                              ; preds = %259
  call void @llvm.lifetime.start.p0(i64 24, ptr %38) #7
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %39) #7
  call void @_ZNSt6vectorIsSaIsEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #7
  invoke void @_ZN4sptk6reaper12EpochTracker15GetFilledEpochsEfPSt6vectorIfSaIfEEPS2_IsSaIsEE(ptr noundef nonnull align 8 dereferenceable(500) %12, float noundef 0x3F847AE140000000, ptr noundef %38, ptr noundef %39)
          to label %263 unwind label %271

263:                                              ; preds = %262
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #7
  %264 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #7
  %265 = trunc i64 %264 to i32
  store i32 %265, ptr %40, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #7
  store i32 0, ptr %41, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #7
  store i32 0, ptr %42, align 4, !tbaa !21
  br label %266

266:                                              ; preds = %285, %263
  %267 = load i32, ptr %42, align 4, !tbaa !21
  %268 = load i32, ptr %40, align 4, !tbaa !21
  %269 = icmp slt i32 %267, %268
  br i1 %269, label %275, label %270

270:                                              ; preds = %266
  store i32 2, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #7
  br label %288

271:                                              ; preds = %262
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %13, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %14, align 4
  br label %326

275:                                              ; preds = %266
  %276 = load i32, ptr %42, align 4, !tbaa !21
  %277 = sext i32 %276 to i64
  %278 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZNSt6vectorIsSaIsEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %277) #7
  %279 = load i16, ptr %278, align 2, !tbaa !28
  %280 = icmp ne i16 %279, 0
  br i1 %280, label %281, label %284

281:                                              ; preds = %275
  %282 = load i32, ptr %41, align 4, !tbaa !21
  %283 = add nsw i32 %282, 1
  store i32 %283, ptr %41, align 4, !tbaa !21
  br label %284

284:                                              ; preds = %281, %275
  br label %285

285:                                              ; preds = %284
  %286 = load i32, ptr %42, align 4, !tbaa !21
  %287 = add nsw i32 %286, 1
  store i32 %287, ptr %42, align 4, !tbaa !21
  br label %266, !llvm.loop !30

288:                                              ; preds = %270
  %289 = load ptr, ptr %10, align 8, !tbaa !5
  %290 = load i32, ptr %41, align 4, !tbaa !21
  %291 = sext i32 %290 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %289, i64 noundef %291)
          to label %292 unwind label %300

292:                                              ; preds = %288
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #7
  %293 = load ptr, ptr %10, align 8, !tbaa !5
  %294 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %293, i64 noundef 0) #7
  store ptr %294, ptr %43, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #7
  store i32 0, ptr %44, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #7
  store i32 0, ptr %45, align 4, !tbaa !21
  br label %295

295:                                              ; preds = %322, %292
  %296 = load i32, ptr %44, align 4, !tbaa !21
  %297 = load i32, ptr %40, align 4, !tbaa !21
  %298 = icmp slt i32 %296, %297
  br i1 %298, label %304, label %299

299:                                              ; preds = %295
  store i32 5, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #7
  br label %325

300:                                              ; preds = %288
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %13, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  br label %326

304:                                              ; preds = %295
  %305 = load i32, ptr %44, align 4, !tbaa !21
  %306 = sext i32 %305 to i64
  %307 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZNSt6vectorIsSaIsEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %306) #7
  %308 = load i16, ptr %307, align 2, !tbaa !28
  %309 = icmp ne i16 %308, 0
  br i1 %309, label %310, label %321

310:                                              ; preds = %304
  %311 = load i32, ptr %44, align 4, !tbaa !21
  %312 = sext i32 %311 to i64
  %313 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %312) #7
  %314 = load float, ptr %313, align 4, !tbaa !26
  %315 = fpext float %314 to double
  %316 = load ptr, ptr %43, align 8, !tbaa !5
  %317 = load i32, ptr %45, align 4, !tbaa !21
  %318 = add nsw i32 %317, 1
  store i32 %318, ptr %45, align 4, !tbaa !21
  %319 = sext i32 %317 to i64
  %320 = getelementptr inbounds double, ptr %316, i64 %319
  store double %315, ptr %320, align 8, !tbaa !32
  br label %321

321:                                              ; preds = %310, %304
  br label %322

322:                                              ; preds = %321
  %323 = load i32, ptr %44, align 4, !tbaa !21
  %324 = add nsw i32 %323, 1
  store i32 %324, ptr %44, align 4, !tbaa !21
  br label %295, !llvm.loop !33

325:                                              ; preds = %299
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  call void @_ZNSt6vectorIsSaIsEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #7
  br label %327

326:                                              ; preds = %300, %271
  call void @_ZNSt6vectorIsSaIsEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #7
  br label %329

327:                                              ; preds = %325, %259
  store i1 true, ptr %6, align 1
  store i32 1, ptr %22, align 4
  br label %328

328:                                              ; preds = %327, %250, %168, %143, %131, %93
  call void @_ZNSt6vectorIsSaIsEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #7
  call void @_ZN4sptk6reaper12EpochTrackerD1Ev(ptr noundef nonnull align 8 dereferenceable(500) %12) #7
  call void @llvm.lifetime.end.p0(i64 504, ptr %12) #7
  br label %332

329:                                              ; preds = %326, %258, %171, %113, %102
  call void @_ZNSt6vectorIsSaIsEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  br label %330

330:                                              ; preds = %329, %98
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #7
  br label %331

331:                                              ; preds = %330, %94
  call void @_ZN4sptk6reaper12EpochTrackerD1Ev(ptr noundef nonnull align 8 dereferenceable(500) %12) #7
  call void @llvm.lifetime.end.p0(i64 504, ptr %12) #7
  br label %334

332:                                              ; preds = %328, %53
  %333 = load i1, ptr %6, align 1
  ret i1 %333

334:                                              ; preds = %331
  %335 = load ptr, ptr %13, align 8
  %336 = load i32, ptr %14, align 4
  %337 = insertvalue { ptr, i32 } poison, ptr %335, 0
  %338 = insertvalue { ptr, i32 } %337, i32 %336, 1
  resume { ptr, i32 } %338
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorIdSaIdEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

declare void @_ZN4sptk6reaper12EpochTrackerC1Ev(ptr noundef nonnull align 8 dereferenceable(500)) unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4sptk6reaper12EpochTracker17set_unvoiced_costEf(ptr noundef nonnull align 8 dereferenceable(500), float noundef) #1 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIsEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare hidden ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPsS4_IsSaIsEEEEZNK4sptk23PitchExtractionByReaper3GetERKS6_PS6_SG_PNSC_24PitchExtractionInterface8PolarityEE3$_0ET0_T_SM_SL_T1_"(ptr, ptr, ptr) #0

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

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

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

declare noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker4InitEPKsifffbb(ptr noundef nonnull align 8 dereferenceable(500), ptr noundef, i32 noundef, float noundef, float noundef, float noundef, i1 noundef zeroext, i1 noundef zeroext) #3

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

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

declare noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker15ComputePolarityEPi(ptr noundef nonnull align 8 dereferenceable(500), ptr noundef) #3

declare noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker15ComputeFeaturesEv(ptr noundef nonnull align 8 dereferenceable(500)) #3

declare noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker11TrackEpochsEv(ptr noundef nonnull align 8 dereferenceable(500)) #3

declare noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker16WriteDiagnosticsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(500), ptr noundef nonnull align 8 dereferenceable(32)) #3

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

declare noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker24ResampleAndReturnResultsEfPSt6vectorIfSaIfEES5_(ptr noundef nonnull align 8 dereferenceable(500), float noundef, ptr noundef, ptr noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4ceilf(float noundef) #4

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPfSt6vectorIfSaIfEEEENS1_IPdS3_IdSaIdEEEEET0_T_SC_SB_(ptr, ptr, ptr) #5

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEfEvT_S7_RKT0_(ptr, ptr, ptr noundef nonnull align 4 dereferenceable(4)) #5

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

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

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

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

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

declare void @_ZN4sptk6reaper12EpochTracker15GetFilledEpochsEfPSt6vectorIfSaIfEEPS2_IsSaIsEE(ptr noundef nonnull align 8 dereferenceable(500), float noundef, ptr noundef, ptr noundef) #3

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

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

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

; Function Attrs: nounwind
declare void @_ZN4sptk6reaper12EpochTrackerD1Ev(ptr noundef nonnull align 8 dereferenceable(500)) unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIsED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #5 = { inlinehint 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 #6 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }

!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, !14, i64 48}
!10 = !{!"_ZTSN4sptk23PitchExtractionByReaperE", !11, i64 0, !12, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !14, i64 48}
!11 = !{!"_ZTSN4sptk24PitchExtractionInterfaceE"}
!12 = !{!"int", !7, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!10, !13, i64 40}
!18 = !{!10, !13, i64 16}
!19 = !{!10, !13, i64 24}
!20 = !{!10, !13, i64 32}
!21 = !{!12, !12, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"_ZTSN4sptk24PitchExtractionInterface8PolarityE", !7, i64 0}
!24 = !{!14, !14, i64 0}
!25 = !{!10, !12, i64 8}
!26 = !{!27, !27, i64 0}
!27 = !{!"float", !7, i64 0}
!28 = !{!29, !29, i64 0}
!29 = !{!"short", !7, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!13, !13, i64 0}
!33 = distinct !{!33, !31}


; 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.sptk::reaper::EpochTracker" = type <{ ptr, %"class.std::vector.0", %"class.std::vector.5", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector.10", 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.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = 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] }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<short, std::allocator<short>>::_Vector_impl" }
%"struct.std::_Vector_base<short, std::allocator<short>>::_Vector_impl" = type { %"struct.std::_Vector_base<short, std::allocator<short>>::_Vector_impl_data" }
%"struct.std::_Vector_base<short, std::allocator<short>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.20" = type { i8 }
%"class.std::allocator.15" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.24" = type { ptr }

@.str = external hidden unnamed_addr constant [1 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk23PitchExtractionByReaper3GetERKSt6vectorIdSaIdEEPS3_S6_PNS_24PitchExtractionInterface8PolarityE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(49) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef %3, ptr noundef writeonly %4) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.sptk::reaper::EpochTracker", align 8
  %7 = alloca %"class.std::vector.18", align 8
  %8 = alloca %"class.std::allocator.20", align 1
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator.15", align 1
  %12 = alloca %"class.std::vector.10", align 8
  %13 = alloca %"class.std::vector.10", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.24", align 8
  %15 = alloca %"class.std::vector.10", align 8
  %16 = alloca %"class.std::vector.18", align 8
  %17 = getelementptr inbounds i8, ptr %0, i64 48
  %18 = load i8, ptr %17, align 8, !tbaa !5, !range !13, !noundef !14
  %19 = trunc nuw i8 %18 to i1
  br i1 %19, label %20, label %149

20:                                               ; preds = %5
  %21 = tail call noundef zeroext i1 @_ZNKSt6vectorIdSaIdEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  br i1 %21, label %149, label %22

22:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 504, ptr nonnull %6) #7
  call void @_ZN4sptk6reaper12EpochTrackerC1Ev(ptr noundef nonnull align 8 dereferenceable(500) %6)
  %23 = getelementptr inbounds i8, ptr %0, i64 40
  %24 = load double, ptr %23, align 8, !tbaa !15
  %25 = fptrunc double %24 to float
  call void @_ZN4sptk6reaper12EpochTracker17set_unvoiced_costEf(ptr noundef nonnull align 8 dereferenceable(500) %6, float noundef %25)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #7
  %26 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #7
  call void @_ZNSaIsEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  invoke void @_ZNSt6vectorIsSaIsEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %26, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %27 unwind label %47

27:                                               ; preds = %22
  call void @_ZNSt15__new_allocatorIsED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  %28 = call ptr @_ZNKSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %29 = call ptr @_ZNKSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %30 = call ptr @_ZNSt6vectorIsSaIsEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %31 = invoke ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPsS4_IsSaIsEEEEZNK4sptk23PitchExtractionByReaper3GetERKS6_PS6_SG_PNSC_24PitchExtractionInterface8PolarityEE3$_0ET0_T_SM_SL_T1_"(ptr %28, ptr %29, ptr %30)
          to label %32 unwind label %49

32:                                               ; preds = %27
  %33 = call noundef ptr @_ZNSt6vectorIsSaIsEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %34 = call noundef i64 @_ZNKSt6vectorIsSaIsEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %35 = trunc i64 %34 to i32
  %36 = getelementptr inbounds i8, ptr %0, i64 16
  %37 = load double, ptr %36, align 8, !tbaa !16
  %38 = fptrunc double %37 to float
  %39 = getelementptr inbounds i8, ptr %0, i64 24
  %40 = load double, ptr %39, align 8, !tbaa !17
  %41 = fptrunc double %40 to float
  %42 = getelementptr inbounds i8, ptr %0, i64 32
  %43 = load double, ptr %42, align 8, !tbaa !18
  %44 = fptrunc double %43 to float
  %45 = invoke noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker4InitEPKsifffbb(ptr noundef nonnull align 8 dereferenceable(500) %6, ptr noundef %33, i32 noundef %35, float noundef %38, float noundef %41, float noundef %44, i1 noundef zeroext true, i1 noundef zeroext false)
          to label %46 unwind label %49

46:                                               ; preds = %32
  br i1 %45, label %51, label %.thread99

47:                                               ; preds = %22
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIsED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  br label %148

49:                                               ; preds = %62, %32, %27
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %147

51:                                               ; preds = %46
  %.not = icmp eq ptr %4, null
  br i1 %.not, label %59, label %52

52:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #7
  %53 = invoke noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker15ComputePolarityEPi(ptr noundef nonnull align 8 dereferenceable(500) %6, ptr noundef nonnull %9)
          to label %54 unwind label %55

54:                                               ; preds = %52
  br i1 %53, label %57, label %.critedge

55:                                               ; preds = %52
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  br label %147

57:                                               ; preds = %54
  %58 = load i32, ptr %9, align 4, !tbaa !19
  %switch.selectcmp = icmp eq i32 %58, -1
  %switch.select = select i1 %switch.selectcmp, i32 2, i32 0
  %switch.selectcmp114 = icmp eq i32 %58, 1
  %switch.select115 = select i1 %switch.selectcmp114, i32 1, i32 %switch.select
  store i32 %switch.select115, ptr %4, align 4, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  br label %59

59:                                               ; preds = %57, %51
  %60 = icmp ne ptr %2, null
  %61 = icmp ne ptr %3, null
  %or.cond = or i1 %60, %61
  br i1 %or.cond, label %62, label %.thread99

62:                                               ; preds = %59
  %63 = invoke noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker15ComputeFeaturesEv(ptr noundef nonnull align 8 dereferenceable(500) %6)
          to label %64 unwind label %49

64:                                               ; preds = %62
  br i1 %63, label %65, label %.thread99

65:                                               ; preds = %64
  %66 = invoke noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker11TrackEpochsEv(ptr noundef nonnull align 8 dereferenceable(500) %6)
          to label %67 unwind label %71

67:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %68 unwind label %73

68:                                               ; preds = %67
  %69 = invoke noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker16WriteDiagnosticsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(500) %6, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %70 unwind label %75

70:                                               ; preds = %68
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  br i1 %66, label %78, label %.thread99

71:                                               ; preds = %65
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %147

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

75:                                               ; preds = %68
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  br label %77

77:                                               ; preds = %75, %73
  %.pn = phi { ptr, i32 } [ %76, %75 ], [ %74, %73 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  br label %147

78:                                               ; preds = %70
  br i1 %60, label %79, label %120

79:                                               ; preds = %78
  %80 = getelementptr inbounds i8, ptr %0, i64 8
  %81 = load i32, ptr %80, align 8, !tbaa !22
  %82 = sitofp i32 %81 to float
  %83 = load double, ptr %36, align 8, !tbaa !16
  %84 = fptrunc double %83 to float
  %85 = fdiv float %82, %84
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #7
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #7
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  %86 = invoke noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker24ResampleAndReturnResultsEfPSt6vectorIfSaIfEES5_(ptr noundef nonnull align 8 dereferenceable(500) %6, float noundef %85, ptr noundef nonnull %12, ptr noundef nonnull %13)
          to label %87 unwind label %88

87:                                               ; preds = %79
  br i1 %86, label %90, label %.critedge96

88:                                               ; preds = %79
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %119

90:                                               ; preds = %87
  %91 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %92 = uitofp i64 %91 to float
  %93 = load i32, ptr %80, align 8, !tbaa !22
  %94 = sitofp i32 %93 to float
  %95 = fdiv float %92, %94
  %96 = call noundef float @_ZSt4ceilf(float noundef %95)
  %97 = fptosi float %96 to i32
  %98 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %99 = trunc i64 %98 to i32
  %100 = icmp slt i32 %97, %99
  %101 = sext i32 %97 to i64
  br i1 %100, label %102, label %._crit_edge113

102:                                              ; preds = %90
  invoke void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %101)
          to label %._crit_edge113 unwind label %103

103:                                              ; preds = %105, %._crit_edge113, %102
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %119

._crit_edge113:                                   ; preds = %90, %102
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %101)
          to label %105 unwind label %103

105:                                              ; preds = %._crit_edge113
  %106 = call ptr @_ZNSt6vectorIfSaIfEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %107 = call ptr @_ZNSt6vectorIfSaIfEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %108 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %109 = invoke ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPfSt6vectorIfSaIfEEEENS1_IPdS3_IdSaIdEEEEET0_T_SC_SB_(ptr %106, ptr %107, ptr %108)
          to label %110 unwind label %103

110:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %111 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  store ptr %111, ptr %14, align 8
  %112 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %113 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %14, i64 noundef %112) #7
  %114 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %115 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  invoke void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEfEvT_S7_RKT0_(ptr %113, ptr %114, ptr noundef nonnull align 4 dereferenceable(4) %115)
          to label %116 unwind label %117

116:                                              ; preds = %110
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  br i1 %61, label %121, label %.thread99

117:                                              ; preds = %110
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  br label %119

119:                                              ; preds = %103, %117, %88
  %.pn86.pn = phi { ptr, i32 } [ %89, %88 ], [ %118, %117 ], [ %104, %103 ]
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  br label %147

120:                                              ; preds = %78
  br i1 %61, label %121, label %.thread99

121:                                              ; preds = %116, %120
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #7
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #7
  call void @_ZNSt6vectorIsSaIsEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  invoke void @_ZN4sptk6reaper12EpochTracker15GetFilledEpochsEfPSt6vectorIfSaIfEEPS2_IsSaIsEE(ptr noundef nonnull align 8 dereferenceable(500) %6, float noundef 0x3F847AE140000000, ptr noundef nonnull %15, ptr noundef nonnull %16)
          to label %122 unwind label %127

122:                                              ; preds = %121
  %123 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  %124 = trunc i64 %123 to i32
  %125 = icmp sgt i32 %124, 0
  br i1 %125, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %122
  %wide.trip.count = and i64 %123, 2147483647
  br label %.lr.ph

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %126 = zext nneg i32 %spec.select to i64
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %122
  %.059.lcssa = phi i64 [ 0, %122 ], [ %126, %._crit_edge.loopexit ]
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.059.lcssa)
          to label %132 unwind label %134

127:                                              ; preds = %121
  %128 = landingpad { ptr, i32 }
          cleanup
  br label %146

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %.059100 = phi i32 [ 0, %.lr.ph.preheader ], [ %spec.select, %.lr.ph ]
  %129 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZNSt6vectorIsSaIsEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %indvars.iv) #7
  %130 = load i16, ptr %129, align 2, !tbaa !23
  %.not94 = icmp ne i16 %130, 0
  %131 = zext i1 %.not94 to i32
  %spec.select = add nuw nsw i32 %.059100, %131
  %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 %._crit_edge.loopexit, label %.lr.ph, !llvm.loop !25

132:                                              ; preds = %._crit_edge
  %133 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #7
  br i1 %125, label %.lr.ph105.preheader, label %._crit_edge106

.lr.ph105.preheader:                              ; preds = %132
  %wide.trip.count111 = and i64 %123, 2147483647
  br label %.lr.ph105

._crit_edge106:                                   ; preds = %145, %132
  call void @_ZNSt6vectorIsSaIsEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  br label %.thread99

134:                                              ; preds = %._crit_edge
  %135 = landingpad { ptr, i32 }
          cleanup
  br label %146

.lr.ph105:                                        ; preds = %.lr.ph105.preheader, %145
  %indvars.iv108 = phi i64 [ 0, %.lr.ph105.preheader ], [ %indvars.iv.next109, %145 ]
  %.0103 = phi i32 [ 0, %.lr.ph105.preheader ], [ %.1, %145 ]
  %136 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZNSt6vectorIsSaIsEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %indvars.iv108) #7
  %137 = load i16, ptr %136, align 2, !tbaa !23
  %.not93 = icmp eq i16 %137, 0
  br i1 %.not93, label %145, label %138

138:                                              ; preds = %.lr.ph105
  %139 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv108) #7
  %140 = load float, ptr %139, align 4, !tbaa !27
  %141 = fpext float %140 to double
  %142 = add nsw i32 %.0103, 1
  %143 = sext i32 %.0103 to i64
  %144 = getelementptr inbounds double, ptr %133, i64 %143
  store double %141, ptr %144, align 8, !tbaa !29
  br label %145

145:                                              ; preds = %.lr.ph105, %138
  %.1 = phi i32 [ %142, %138 ], [ %.0103, %.lr.ph105 ]
  %indvars.iv.next109 = add nuw nsw i64 %indvars.iv108, 1
  %exitcond112.not = icmp eq i64 %indvars.iv.next109, %wide.trip.count111
  br i1 %exitcond112.not, label %._crit_edge106, label %.lr.ph105, !llvm.loop !30

146:                                              ; preds = %134, %127
  %.pn89 = phi { ptr, i32 } [ %135, %134 ], [ %128, %127 ]
  call void @_ZNSt6vectorIsSaIsEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  br label %147

.critedge:                                        ; preds = %54
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  br label %.thread99

.critedge96:                                      ; preds = %87
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  br label %.thread99

.thread99:                                        ; preds = %59, %116, %120, %._crit_edge106, %.critedge96, %64, %.critedge, %46, %70
  %.5 = phi i1 [ true, %116 ], [ false, %70 ], [ false, %46 ], [ false, %.critedge ], [ false, %64 ], [ false, %.critedge96 ], [ true, %._crit_edge106 ], [ true, %120 ], [ true, %59 ]
  call void @_ZNSt6vectorIsSaIsEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  call void @_ZN4sptk6reaper12EpochTrackerD1Ev(ptr noundef nonnull align 8 dereferenceable(500) %6) #7
  call void @llvm.lifetime.end.p0(i64 504, ptr nonnull %6) #7
  br label %149

147:                                              ; preds = %71, %77, %146, %119, %55, %49
  %.pn89.pn = phi { ptr, i32 } [ %.pn89, %146 ], [ %.pn86.pn, %119 ], [ %50, %49 ], [ %56, %55 ], [ %.pn, %77 ], [ %72, %71 ]
  call void @_ZNSt6vectorIsSaIsEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  br label %148

148:                                              ; preds = %147, %47
  %.pn89.pn.pn = phi { ptr, i32 } [ %.pn89.pn, %147 ], [ %48, %47 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  call void @_ZN4sptk6reaper12EpochTrackerD1Ev(ptr noundef nonnull align 8 dereferenceable(500) %6) #7
  call void @llvm.lifetime.end.p0(i64 504, ptr nonnull %6) #7
  resume { ptr, i32 } %.pn89.pn.pn

149:                                              ; preds = %5, %20, %.thread99
  %.6 = phi i1 [ %.5, %.thread99 ], [ false, %20 ], [ false, %5 ]
  ret i1 %.6
}

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

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

declare void @_ZN4sptk6reaper12EpochTrackerC1Ev(ptr noundef nonnull align 8 dereferenceable(500)) unnamed_addr #3

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIsEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare hidden ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPsS4_IsSaIsEEEEZNK4sptk23PitchExtractionByReaper3GetERKS6_PS6_SG_PNSC_24PitchExtractionInterface8PolarityEE3$_0ET0_T_SM_SL_T1_"(ptr, ptr, ptr) local_unnamed_addr #0

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

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

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

declare noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker4InitEPKsifffbb(ptr noundef nonnull align 8 dereferenceable(500), ptr noundef, i32 noundef, float noundef, float noundef, float noundef, i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #3

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

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

declare noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker15ComputePolarityEPi(ptr noundef nonnull align 8 dereferenceable(500), ptr noundef) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker15ComputeFeaturesEv(ptr noundef nonnull align 8 dereferenceable(500)) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker11TrackEpochsEv(ptr noundef nonnull align 8 dereferenceable(500)) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker16WriteDiagnosticsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(500), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

declare noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker24ResampleAndReturnResultsEfPSt6vectorIfSaIfEES5_(ptr noundef nonnull align 8 dereferenceable(500), float noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4ceilf(float noundef) local_unnamed_addr #4

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPfSt6vectorIfSaIfEEEENS1_IPdS3_IdSaIdEEEEET0_T_SC_SB_(ptr, ptr, ptr) local_unnamed_addr #5

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEfEvT_S7_RKT0_(ptr, ptr, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

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

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

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

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

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

declare void @_ZN4sptk6reaper12EpochTracker15GetFilledEpochsEfPSt6vectorIfSaIfEEPS2_IsSaIsEE(ptr noundef nonnull align 8 dereferenceable(500), float noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

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

; Function Attrs: nounwind
declare void @_ZN4sptk6reaper12EpochTrackerD1Ev(ptr noundef nonnull align 8 dereferenceable(500)) unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIsED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #5 = { inlinehint 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 #6 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }

!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, !12, i64 48}
!6 = !{!"_ZTSN4sptk23PitchExtractionByReaperE", !7, i64 0, !8, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !12, i64 48}
!7 = !{!"_ZTSN4sptk24PitchExtractionInterfaceE"}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"double", !9, i64 0}
!12 = !{!"bool", !9, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!6, !11, i64 40}
!16 = !{!6, !11, i64 16}
!17 = !{!6, !11, i64 24}
!18 = !{!6, !11, i64 32}
!19 = !{!8, !8, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"_ZTSN4sptk24PitchExtractionInterface8PolarityE", !9, i64 0}
!22 = !{!6, !8, i64 8}
!23 = !{!24, !24, i64 0}
!24 = !{!"short", !9, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!28, !28, i64 0}
!28 = !{!"float", !9, i64 0}
!29 = !{!11, !11, i64 0}
!30 = distinct !{!30, !26}


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