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

; 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::MelFrequencyCepstralCoefficientsAnalysis" = type { ptr, i32, i32, %"class.sptk::MelFilterBankAnalysis", %"class.sptk::DiscreteCosineTransform", i8, %"class.std::vector" }
%"class.sptk::MelFilterBankAnalysis" = type { ptr, i32, i32, double, i8, i8, i32, i32, %"class.std::vector", %"class.std::vector.0", %"class.std::vector" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sptk::DiscreteCosineTransform" = type { ptr, i32, %"class.sptk::FourierTransform", %"class.std::vector", %"class.std::vector" }
%"class.sptk::FourierTransform" = type { ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZTVN4sptk40MelFrequencyCepstralCoefficientsAnalysisE = external dso_local unnamed_addr constant { [4 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4sptk40MelFrequencyCepstralCoefficientsAnalysisC2Eiiiidddd(ptr noundef nonnull align 8 dereferenceable(240) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca double, align 8
  store ptr %0, ptr %10, align 8, !tbaa !5
  store i32 %1, ptr %11, align 4, !tbaa !9
  store i32 %2, ptr %12, align 4, !tbaa !9
  store i32 %3, ptr %13, align 4, !tbaa !9
  store i32 %4, ptr %14, align 4, !tbaa !9
  store double %5, ptr %15, align 8, !tbaa !11
  store double %6, ptr %16, align 8, !tbaa !11
  store double %7, ptr %17, align 8, !tbaa !11
  store double %8, ptr %18, align 8, !tbaa !11
  %24 = load ptr, ptr %10, align 8
  store ptr getelementptr inbounds inrange(-16, 16) ({ [4 x ptr] }, ptr @_ZTVN4sptk40MelFrequencyCepstralCoefficientsAnalysisE, i32 0, i32 0, i32 2), ptr %24, align 8, !tbaa !13
  %25 = getelementptr inbounds %"class.sptk::MelFrequencyCepstralCoefficientsAnalysis", ptr %24, i32 0, i32 1
  %26 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %26, ptr %25, align 8, !tbaa !15
  %27 = getelementptr inbounds %"class.sptk::MelFrequencyCepstralCoefficientsAnalysis", ptr %24, i32 0, i32 2
  %28 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %28, ptr %27, align 4, !tbaa !29
  %29 = getelementptr inbounds %"class.sptk::MelFrequencyCepstralCoefficientsAnalysis", ptr %24, i32 0, i32 3
  %30 = load i32, ptr %11, align 4, !tbaa !9
  %31 = load i32, ptr %12, align 4, !tbaa !9
  %32 = load double, ptr %15, align 8, !tbaa !11
  %33 = load double, ptr %16, align 8, !tbaa !11
  %34 = load double, ptr %17, align 8, !tbaa !11
  %35 = load double, ptr %18, align 8, !tbaa !11
  call void @_ZN4sptk21MelFilterBankAnalysisC1Eiiddddb(ptr noundef nonnull align 8 dereferenceable(112) %29, i32 noundef %30, i32 noundef %31, double noundef %32, double noundef %33, double noundef %34, double noundef %35, i1 noundef zeroext false)
  %36 = getelementptr inbounds %"class.sptk::MelFrequencyCepstralCoefficientsAnalysis", ptr %24, i32 0, i32 4
  %37 = load i32, ptr %12, align 4, !tbaa !9
  invoke void @_ZN4sptk23DiscreteCosineTransformC1Ei(ptr noundef nonnull align 8 dereferenceable(80) %36, i32 noundef %37)
          to label %38 unwind label %59

38:                                               ; preds = %9
  %39 = getelementptr inbounds %"class.sptk::MelFrequencyCepstralCoefficientsAnalysis", ptr %24, i32 0, i32 5
  store i8 1, ptr %39, align 8, !tbaa !30
  %40 = getelementptr inbounds %"class.sptk::MelFrequencyCepstralCoefficientsAnalysis", ptr %24, i32 0, i32 6
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #6
  %41 = load i32, ptr %12, align 4, !tbaa !9
  %42 = getelementptr inbounds %"class.sptk::MelFrequencyCepstralCoefficientsAnalysis", ptr %24, i32 0, i32 1
  %43 = load i32, ptr %42, align 8, !tbaa !15
  %44 = icmp sle i32 %41, %43
  br i1 %44, label %57, label %45

45:                                               ; preds = %38
  %46 = getelementptr inbounds %"class.sptk::MelFrequencyCepstralCoefficientsAnalysis", ptr %24, i32 0, i32 2
  %47 = load i32, ptr %46, align 4, !tbaa !29
  %48 = icmp sle i32 %47, 0
  br i1 %48, label %57, label %49

49:                                               ; preds = %45
  %50 = getelementptr inbounds %"class.sptk::MelFrequencyCepstralCoefficientsAnalysis", ptr %24, i32 0, i32 3
  %51 = invoke noundef zeroext i1 @_ZNK4sptk21MelFilterBankAnalysis7IsValidEv(ptr noundef nonnull align 8 dereferenceable(112) %50)
          to label %52 unwind label %63

52:                                               ; preds = %49
  br i1 %51, label %53, label %57

53:                                               ; preds = %52
  %54 = getelementptr inbounds %"class.sptk::MelFrequencyCepstralCoefficientsAnalysis", ptr %24, i32 0, i32 4
  %55 = invoke noundef zeroext i1 @_ZNK4sptk23DiscreteCosineTransform7IsValidEv(ptr noundef nonnull align 8 dereferenceable(80) %54)
          to label %56 unwind label %63

56:                                               ; preds = %53
  br i1 %55, label %67, label %57

57:                                               ; preds = %56, %52, %45, %38
  %58 = getelementptr inbounds %"class.sptk::MelFrequencyCepstralCoefficientsAnalysis", ptr %24, i32 0, i32 5
  store i8 0, ptr %58, align 8, !tbaa !30
  br label %105

59:                                               ; preds = %9
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %19, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %20, align 4
  br label %106

63:                                               ; preds = %67, %53, %49
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %19, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %20, align 4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #6
  call void @_ZN4sptk23DiscreteCosineTransformD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %36) #6
  br label %106

67:                                               ; preds = %56
  %68 = getelementptr inbounds %"class.sptk::MelFrequencyCepstralCoefficientsAnalysis", ptr %24, i32 0, i32 6
  %69 = getelementptr inbounds %"class.sptk::MelFrequencyCepstralCoefficientsAnalysis", ptr %24, i32 0, i32 1
  %70 = load i32, ptr %69, align 8, !tbaa !15
  %71 = sext i32 %70 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %68, i64 noundef %71)
          to label %72 unwind label %63

72:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %73 = getelementptr inbounds %"class.sptk::MelFrequencyCepstralCoefficientsAnalysis", ptr %24, i32 0, i32 6
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef 0) #6
  store ptr %74, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %75

75:                                               ; preds = %101, %72
  %76 = load i32, ptr %22, align 4, !tbaa !9
  %77 = getelementptr inbounds %"class.sptk::MelFrequencyCepstralCoefficientsAnalysis", ptr %24, i32 0, i32 1
  %78 = load i32, ptr %77, align 8, !tbaa !15
  %79 = icmp slt i32 %76, %78
  br i1 %79, label %81, label %80

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

81:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %82 = load i32, ptr %22, align 4, !tbaa !9
  %83 = add nsw i32 %82, 1
  %84 = sitofp i32 %83 to double
  %85 = fmul double 0x400921FB54442D18, %84
  %86 = getelementptr inbounds %"class.sptk::MelFrequencyCepstralCoefficientsAnalysis", ptr %24, i32 0, i32 2
  %87 = load i32, ptr %86, align 4, !tbaa !29
  %88 = sitofp i32 %87 to double
  %89 = fdiv double %85, %88
  store double %89, ptr %23, align 8, !tbaa !11
  %90 = getelementptr inbounds %"class.sptk::MelFrequencyCepstralCoefficientsAnalysis", ptr %24, i32 0, i32 2
  %91 = load i32, ptr %90, align 4, !tbaa !29
  %92 = sitofp i32 %91 to double
  %93 = fmul double 5.000000e-01, %92
  %94 = load double, ptr %23, align 8, !tbaa !11
  %95 = call double @sin(double noundef %94) #6
  %96 = call double @llvm.fmuladd.f64(double %93, double %95, double 1.000000e+00)
  %97 = load ptr, ptr %21, align 8, !tbaa !5
  %98 = load i32, ptr %22, align 4, !tbaa !9
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds double, ptr %97, i64 %99
  store double %96, ptr %100, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %101

101:                                              ; preds = %81
  %102 = load i32, ptr %22, align 4, !tbaa !9
  %103 = add nsw i32 %102, 1
  store i32 %103, ptr %22, align 4, !tbaa !9
  br label %75, !llvm.loop !31

104:                                              ; preds = %80
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %105

105:                                              ; preds = %104, %57
  ret void

106:                                              ; preds = %63, %59
  call void @_ZN4sptk21MelFilterBankAnalysisD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %29) #6
  br label %107

107:                                              ; preds = %106
  %108 = load ptr, ptr %19, align 8
  %109 = load i32, ptr %20, align 4
  %110 = insertvalue { ptr, i32 } poison, ptr %108, 0
  %111 = insertvalue { ptr, i32 } %110, i32 %109, 1
  resume { ptr, i32 } %111
}

declare void @_ZN4sptk21MelFilterBankAnalysisC1Eiiddddb(ptr noundef nonnull align 8 dereferenceable(112), i32 noundef, i32 noundef, double noundef, double noundef, double noundef, double noundef, i1 noundef zeroext) unnamed_addr #1

declare void @_ZN4sptk23DiscreteCosineTransformC1Ei(ptr noundef nonnull align 8 dereferenceable(80), i32 noundef) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4sptk23DiscreteCosineTransform7IsValidEv(ptr noundef nonnull align 8 dereferenceable(80)) #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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #3

; 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) #2 align 2

; Function Attrs: nounwind
declare double @sin(double noundef) #4

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4sptk21MelFilterBankAnalysisD2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #2 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{!16, !10, i64 8}
!16 = !{!"_ZTSN4sptk40MelFrequencyCepstralCoefficientsAnalysisE", !10, i64 8, !10, i64 12, !17, i64 16, !27, i64 128, !18, i64 208, !19, i64 216}
!17 = !{!"_ZTSN4sptk21MelFilterBankAnalysisE", !10, i64 8, !10, i64 12, !12, i64 16, !18, i64 24, !18, i64 25, !10, i64 28, !10, i64 32, !19, i64 40, !23, i64 64, !19, i64 88}
!18 = !{!"bool", !7, i64 0}
!19 = !{!"_ZTSSt6vectorIdSaIdEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSSt6vectorIiSaIiEE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!"_ZTSN4sptk23DiscreteCosineTransformE", !10, i64 8, !28, i64 16, !19, i64 32, !19, i64 56}
!28 = !{!"_ZTSN4sptk16FourierTransformE", !6, i64 8}
!29 = !{!16, !10, i64 12}
!30 = !{!16, !18, i64 208}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@_ZTVN4sptk40MelFrequencyCepstralCoefficientsAnalysisE = external dso_local unnamed_addr constant { [4 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4sptk40MelFrequencyCepstralCoefficientsAnalysisC2Eiiiidddd(ptr noundef nonnull align 8 dereferenceable(240) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  store ptr getelementptr inbounds inrange(-16, 16) (i8, ptr @_ZTVN4sptk40MelFrequencyCepstralCoefficientsAnalysisE, i64 16), ptr %0, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 %3, ptr %10, align 8, !tbaa !8
  %11 = getelementptr inbounds i8, ptr %0, i64 12
  store i32 %4, ptr %11, align 4, !tbaa !26
  %12 = getelementptr inbounds i8, ptr %0, i64 16
  tail call void @_ZN4sptk21MelFilterBankAnalysisC1Eiiddddb(ptr noundef nonnull align 8 dereferenceable(112) %12, i32 noundef %1, i32 noundef %2, double noundef %5, double noundef %6, double noundef %7, double noundef %8, i1 noundef zeroext false)
  %13 = getelementptr inbounds i8, ptr %0, i64 128
  invoke void @_ZN4sptk23DiscreteCosineTransformC1Ei(ptr noundef nonnull align 8 dereferenceable(80) %13, i32 noundef %2)
          to label %14 unwind label %26

14:                                               ; preds = %9
  %15 = getelementptr inbounds i8, ptr %0, i64 208
  store i8 1, ptr %15, align 8, !tbaa !27
  %16 = getelementptr inbounds i8, ptr %0, i64 216
  tail call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  %17 = load i32, ptr %10, align 8, !tbaa !8
  %.not = icmp sge i32 %17, %2
  %18 = load i32, ptr %11, align 4
  %19 = icmp slt i32 %18, 1
  %or.cond = select i1 %.not, i1 true, i1 %19
  br i1 %or.cond, label %25, label %20

20:                                               ; preds = %14
  %21 = tail call noundef zeroext i1 @_ZNK4sptk21MelFilterBankAnalysis7IsValidEv(ptr noundef nonnull align 8 dereferenceable(112) %12)
  br i1 %21, label %22, label %25

22:                                               ; preds = %20
  %23 = invoke noundef zeroext i1 @_ZNK4sptk23DiscreteCosineTransform7IsValidEv(ptr noundef nonnull align 8 dereferenceable(80) %13)
          to label %24 unwind label %28

24:                                               ; preds = %22
  br i1 %23, label %30, label %25

25:                                               ; preds = %24, %20, %14
  store i8 0, ptr %15, align 8, !tbaa !27
  br label %.loopexit

26:                                               ; preds = %9
  %27 = landingpad { ptr, i32 }
          cleanup
  br label %50

28:                                               ; preds = %30, %22
  %29 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  tail call void @_ZN4sptk23DiscreteCosineTransformD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %13) #5
  br label %50

30:                                               ; preds = %24
  %31 = load i32, ptr %10, align 8, !tbaa !8
  %32 = sext i32 %31 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %32)
          to label %33 unwind label %28

33:                                               ; preds = %30
  %34 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 0) #5
  %35 = load i32, ptr %10, align 8, !tbaa !8
  %36 = icmp sgt i32 %35, 0
  br i1 %36, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %33, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %33 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %37 = trunc nuw nsw i64 %indvars.iv.next to i32
  %38 = uitofp nneg i32 %37 to double
  %39 = fmul double %38, 0x400921FB54442D18
  %40 = load i32, ptr %11, align 4, !tbaa !26
  %41 = sitofp i32 %40 to double
  %42 = fdiv double %39, %41
  %43 = fmul double %41, 5.000000e-01
  %44 = tail call double @sin(double noundef %42) #5
  %45 = tail call double @llvm.fmuladd.f64(double %43, double %44, double 1.000000e+00)
  %46 = getelementptr inbounds double, ptr %34, i64 %indvars.iv
  store double %45, ptr %46, align 8, !tbaa !28
  %47 = load i32, ptr %10, align 8, !tbaa !8
  %48 = sext i32 %47 to i64
  %49 = icmp slt i64 %indvars.iv.next, %48
  br i1 %49, label %.lr.ph, label %.loopexit, !llvm.loop !29

.loopexit:                                        ; preds = %.lr.ph, %33, %25
  ret void

50:                                               ; preds = %28, %26
  %.pn = phi { ptr, i32 } [ %29, %28 ], [ %27, %26 ]
  tail call void @_ZN4sptk21MelFilterBankAnalysisD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %12) #5
  resume { ptr, i32 } %.pn
}

declare void @_ZN4sptk21MelFilterBankAnalysisC1Eiiddddb(ptr noundef nonnull align 8 dereferenceable(112), i32 noundef, i32 noundef, double noundef, double noundef, double noundef, double noundef, i1 noundef zeroext) unnamed_addr #1

declare void @_ZN4sptk23DiscreteCosineTransformC1Ei(ptr noundef nonnull align 8 dereferenceable(80), i32 noundef) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4sptk23DiscreteCosineTransform7IsValidEv(ptr noundef nonnull align 8 dereferenceable(80)) 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: 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 #2 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4sptk21MelFilterBankAnalysisD2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #2 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !10, i64 8}
!9 = !{!"_ZTSN4sptk40MelFrequencyCepstralCoefficientsAnalysisE", !10, i64 8, !10, i64 12, !12, i64 16, !24, i64 128, !14, i64 208, !15, i64 216}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!"_ZTSN4sptk21MelFilterBankAnalysisE", !10, i64 8, !10, i64 12, !13, i64 16, !14, i64 24, !14, i64 25, !10, i64 28, !10, i64 32, !15, i64 40, !20, i64 64, !15, i64 88}
!13 = !{!"double", !11, i64 0}
!14 = !{!"bool", !11, i64 0}
!15 = !{!"_ZTSSt6vectorIdSaIdEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!19 = !{!"any pointer", !11, i64 0}
!20 = !{!"_ZTSSt6vectorIiSaIiEE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!24 = !{!"_ZTSN4sptk23DiscreteCosineTransformE", !10, i64 8, !25, i64 16, !15, i64 32, !15, i64 56}
!25 = !{!"_ZTSN4sptk16FourierTransformE", !19, i64 8}
!26 = !{!9, !10, i64 12}
!27 = !{!9, !14, i64 208}
!28 = !{!13, !13, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}


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