; LLVM IR from sp-nitech/SPTK :: src/analysis/mel_cepstral_analysis.ll (ZN4sptk19MelCepstralAnalysisC2Eiidid)

; 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::MelCepstralAnalysis" = type { ptr, i32, i32, double, i32, double, %"class.sptk::RealValuedFastFourierTransform", %"class.sptk::RealValuedInverseFastFourierTransform", %"class.sptk::FrequencyTransform", %"class.sptk::FrequencyTransform", %"class.sptk::ToeplitzPlusHankelSystemSolver", i8, %"class.std::vector" }
%"class.sptk::RealValuedFastFourierTransform" = type { ptr, i32, i32, i32, %"class.sptk::FastFourierTransform", i8, %"class.std::vector" }
%"class.sptk::FastFourierTransform" = type { ptr, i32, i32, i32, i8, %"class.std::vector" }
%"class.sptk::RealValuedInverseFastFourierTransform" = type { ptr, %"class.sptk::RealValuedFastFourierTransform" }
%"class.sptk::FrequencyTransform" = type <{ ptr, i32, i32, double, i8, [7 x i8] }>
%"class.sptk::ToeplitzPlusHankelSystemSolver" = type <{ ptr, i32, i8, i8, [2 x i8] }>
%"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 }

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4sptk19MelCepstralAnalysisC2Eiidid(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 noundef %1, i32 noundef %2, double noundef %3, i32 noundef %4, double noundef %5) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca double, align 8
  %11 = alloca i32, align 4
  %12 = alloca double, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  store i32 %2, ptr %9, align 4, !tbaa !9
  store double %3, ptr %10, align 8, !tbaa !11
  store i32 %4, ptr %11, align 4, !tbaa !9
  store double %5, ptr %12, align 8, !tbaa !11
  %16 = load ptr, ptr %7, align 8
  store ptr getelementptr inbounds inrange(-16, 16) ({ [4 x ptr] }, ptr @_ZTVN4sptk19MelCepstralAnalysisE, i32 0, i32 0, i32 2), ptr %16, align 8, !tbaa !13
  %17 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 1
  %18 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %18, ptr %17, align 8, !tbaa !15
  %19 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 2
  %20 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %20, ptr %19, align 4, !tbaa !27
  %21 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 3
  %22 = load double, ptr %10, align 8, !tbaa !11
  store double %22, ptr %21, align 8, !tbaa !28
  %23 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 4
  %24 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %24, ptr %23, align 8, !tbaa !29
  %25 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 5
  %26 = load double, ptr %12, align 8, !tbaa !11
  store double %26, ptr %25, align 8, !tbaa !30
  %27 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 6
  %28 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 1
  %29 = load i32, ptr %28, align 8, !tbaa !15
  call void @_ZN4sptk30RealValuedFastFourierTransformC1Ei(ptr noundef nonnull align 8 dereferenceable(104) %27, i32 noundef %29)
  %30 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 7
  %31 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 1
  %32 = load i32, ptr %31, align 8, !tbaa !15
  invoke void @_ZN4sptk37RealValuedInverseFastFourierTransformC1Ei(ptr noundef nonnull align 8 dereferenceable(112) %30, i32 noundef %32)
          to label %33 unwind label %88

33:                                               ; preds = %6
  %34 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 8
  %35 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 1
  %36 = load i32, ptr %35, align 8, !tbaa !15
  %37 = sdiv i32 %36, 2
  %38 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 2
  %39 = load i32, ptr %38, align 4, !tbaa !27
  %40 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 3
  %41 = load double, ptr %40, align 8, !tbaa !28
  invoke void @_ZN4sptk18FrequencyTransformC1Eiid(ptr noundef nonnull align 8 dereferenceable(25) %34, i32 noundef %37, i32 noundef %39, double noundef %41)
          to label %42 unwind label %92

42:                                               ; preds = %33
  %43 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 9
  %44 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 2
  %45 = load i32, ptr %44, align 4, !tbaa !27
  %46 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 1
  %47 = load i32, ptr %46, align 8, !tbaa !15
  %48 = sdiv i32 %47, 2
  %49 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 3
  %50 = load double, ptr %49, align 8, !tbaa !28
  %51 = fneg double %50
  invoke void @_ZN4sptk18FrequencyTransformC1Eiid(ptr noundef nonnull align 8 dereferenceable(25) %43, i32 noundef %45, i32 noundef %48, double noundef %51)
          to label %52 unwind label %96

52:                                               ; preds = %42
  %53 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 10
  %54 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 2
  %55 = load i32, ptr %54, align 4, !tbaa !27
  invoke void @_ZN4sptk30ToeplitzPlusHankelSystemSolverC1Eib(ptr noundef nonnull align 8 dereferenceable(14) %53, i32 noundef %55, i1 noundef zeroext true)
          to label %56 unwind label %100

56:                                               ; preds = %52
  %57 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 11
  store i8 1, ptr %57, align 8, !tbaa !31
  %58 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 12
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %58) #4
  %59 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 4
  %60 = load i32, ptr %59, align 8, !tbaa !29
  %61 = icmp slt i32 %60, 0
  br i1 %61, label %86, label %62

62:                                               ; preds = %56
  %63 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 5
  %64 = load double, ptr %63, align 8, !tbaa !30
  %65 = fcmp olt double %64, 0.000000e+00
  br i1 %65, label %86, label %66

66:                                               ; preds = %62
  %67 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 6
  %68 = invoke noundef zeroext i1 @_ZNK4sptk30RealValuedFastFourierTransform7IsValidEv(ptr noundef nonnull align 8 dereferenceable(104) %67)
          to label %69 unwind label %104

69:                                               ; preds = %66
  br i1 %68, label %70, label %86

70:                                               ; preds = %69
  %71 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 7
  %72 = invoke noundef zeroext i1 @_ZNK4sptk37RealValuedInverseFastFourierTransform7IsValidEv(ptr noundef nonnull align 8 dereferenceable(112) %71)
          to label %73 unwind label %104

73:                                               ; preds = %70
  br i1 %72, label %74, label %86

74:                                               ; preds = %73
  %75 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 8
  %76 = invoke noundef zeroext i1 @_ZNK4sptk18FrequencyTransform7IsValidEv(ptr noundef nonnull align 8 dereferenceable(25) %75)
          to label %77 unwind label %104

77:                                               ; preds = %74
  br i1 %76, label %78, label %86

78:                                               ; preds = %77
  %79 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 9
  %80 = invoke noundef zeroext i1 @_ZNK4sptk18FrequencyTransform7IsValidEv(ptr noundef nonnull align 8 dereferenceable(25) %79)
          to label %81 unwind label %104

81:                                               ; preds = %78
  br i1 %80, label %82, label %86

82:                                               ; preds = %81
  %83 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 10
  %84 = invoke noundef zeroext i1 @_ZNK4sptk30ToeplitzPlusHankelSystemSolver7IsValidEv(ptr noundef nonnull align 8 dereferenceable(14) %83)
          to label %85 unwind label %104

85:                                               ; preds = %82
  br i1 %84, label %108, label %86

86:                                               ; preds = %85, %81, %77, %73, %69, %62, %56
  %87 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 11
  store i8 0, ptr %87, align 8, !tbaa !31
  br label %141

88:                                               ; preds = %6
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %13, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %14, align 4
  br label %145

92:                                               ; preds = %33
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %13, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %14, align 4
  br label %144

96:                                               ; preds = %42
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %13, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %14, align 4
  br label %143

100:                                              ; preds = %52
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %13, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %14, align 4
  br label %142

104:                                              ; preds = %108, %82, %78, %74, %70, %66
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %13, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %14, align 4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %58) #4
  call void @_ZN4sptk30ToeplitzPlusHankelSystemSolverD2Ev(ptr noundef nonnull align 8 dereferenceable(14) %53) #4
  br label %142

108:                                              ; preds = %85
  %109 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 12
  %110 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 2
  %111 = load i32, ptr %110, align 4, !tbaa !27
  %112 = add nsw i32 %111, 1
  %113 = sext i32 %112 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %109, i64 noundef %113)
          to label %114 unwind label %104

114:                                              ; preds = %108
  %115 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 12
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %115, i64 noundef 0) #4
  store double 1.000000e+00, ptr %116, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 1, ptr %15, align 4, !tbaa !9
  br label %117

117:                                              ; preds = %138, %114
  %118 = load i32, ptr %15, align 4, !tbaa !9
  %119 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 2
  %120 = load i32, ptr %119, align 4, !tbaa !27
  %121 = icmp sle i32 %118, %120
  br i1 %121, label %123, label %122

122:                                              ; preds = %117
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %141

123:                                              ; preds = %117
  %124 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 3
  %125 = load double, ptr %124, align 8, !tbaa !28
  %126 = fneg double %125
  %127 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 12
  %128 = load i32, ptr %15, align 4, !tbaa !9
  %129 = sub nsw i32 %128, 1
  %130 = sext i32 %129 to i64
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %127, i64 noundef %130) #4
  %132 = load double, ptr %131, align 8, !tbaa !11
  %133 = fmul double %126, %132
  %134 = getelementptr inbounds %"class.sptk::MelCepstralAnalysis", ptr %16, i32 0, i32 12
  %135 = load i32, ptr %15, align 4, !tbaa !9
  %136 = sext i32 %135 to i64
  %137 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %134, i64 noundef %136) #4
  store double %133, ptr %137, align 8, !tbaa !11
  br label %138

138:                                              ; preds = %123
  %139 = load i32, ptr %15, align 4, !tbaa !9
  %140 = add nsw i32 %139, 1
  store i32 %140, ptr %15, align 4, !tbaa !9
  br label %117, !llvm.loop !32

141:                                              ; preds = %122, %86
  ret void

142:                                              ; preds = %104, %100
  call void @_ZN4sptk18FrequencyTransformD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %43) #4
  br label %143

143:                                              ; preds = %142, %96
  call void @_ZN4sptk18FrequencyTransformD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %34) #4
  br label %144

144:                                              ; preds = %143, %92
  call void @_ZN4sptk37RealValuedInverseFastFourierTransformD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %30) #4
  br label %145

145:                                              ; preds = %144, %88
  call void @_ZN4sptk30RealValuedFastFourierTransformD2Ev(ptr noundef nonnull align 8 dereferenceable(104) %27) #4
  br label %146

146:                                              ; preds = %145
  %147 = load ptr, ptr %13, align 8
  %148 = load i32, ptr %14, align 4
  %149 = insertvalue { ptr, i32 } poison, ptr %147, 0
  %150 = insertvalue { ptr, i32 } %149, i32 %148, 1
  resume { ptr, i32 } %150
}

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

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

declare i32 @__gxx_personality_v0(...)

declare void @_ZN4sptk18FrequencyTransformC1Eiid(ptr noundef nonnull align 8 dereferenceable(25), i32 noundef, i32 noundef, double noundef) unnamed_addr #1

declare void @_ZN4sptk30ToeplitzPlusHankelSystemSolverC1Eib(ptr noundef nonnull align 8 dereferenceable(14), i32 noundef, i1 noundef zeroext) unnamed_addr #1

; 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 @_ZNK4sptk30RealValuedFastFourierTransform7IsValidEv(ptr noundef nonnull align 8 dereferenceable(104)) #2 align 2

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

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

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

; 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 @_ZN4sptk30ToeplitzPlusHankelSystemSolverD2Ev(ptr noundef nonnull align 8 dereferenceable(14)) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4sptk30RealValuedFastFourierTransformD2Ev(ptr noundef nonnull align 8 dereferenceable(104)) 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 }

!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 = !{!"_ZTSN4sptk19MelCepstralAnalysisE", !10, i64 8, !10, i64 12, !12, i64 16, !10, i64 24, !12, i64 32, !17, i64 40, !24, i64 144, !25, i64 256, !25, i64 288, !26, i64 320, !19, i64 336, !20, i64 344}
!17 = !{!"_ZTSN4sptk30RealValuedFastFourierTransformE", !10, i64 8, !10, i64 12, !10, i64 16, !18, i64 24, !19, i64 72, !20, i64 80}
!18 = !{!"_ZTSN4sptk20FastFourierTransformE", !10, i64 8, !10, i64 12, !10, i64 16, !19, i64 20, !20, i64 24}
!19 = !{!"bool", !7, i64 0}
!20 = !{!"_ZTSSt6vectorIdSaIdEE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!"_ZTSN4sptk37RealValuedInverseFastFourierTransformE", !17, i64 8}
!25 = !{!"_ZTSN4sptk18FrequencyTransformE", !10, i64 8, !10, i64 12, !12, i64 16, !19, i64 24}
!26 = !{!"_ZTSN4sptk30ToeplitzPlusHankelSystemSolverE", !10, i64 8, !19, i64 12, !19, i64 13}
!27 = !{!16, !10, i64 12}
!28 = !{!16, !12, i64 16}
!29 = !{!16, !10, i64 24}
!30 = !{!16, !12, i64 32}
!31 = !{!16, !19, i64 336}
!32 = distinct !{!32, !33}
!33 = !{!"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"

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4sptk19MelCepstralAnalysisC2Eiidid(ptr noundef nonnull align 8 dereferenceable(368) %0, i32 noundef %1, i32 noundef %2, double noundef %3, i32 noundef %4, double noundef %5) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  store ptr getelementptr inbounds inrange(-16, 16) (i8, ptr @_ZTVN4sptk19MelCepstralAnalysisE, i64 16), ptr %0, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 %1, ptr %7, align 8, !tbaa !8
  %8 = getelementptr inbounds i8, ptr %0, i64 12
  store i32 %2, ptr %8, align 4, !tbaa !24
  %9 = getelementptr inbounds i8, ptr %0, i64 16
  store double %3, ptr %9, align 8, !tbaa !25
  %10 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 %4, ptr %10, align 8, !tbaa !26
  %11 = getelementptr inbounds i8, ptr %0, i64 32
  store double %5, ptr %11, align 8, !tbaa !27
  %12 = getelementptr inbounds i8, ptr %0, i64 40
  tail call void @_ZN4sptk30RealValuedFastFourierTransformC1Ei(ptr noundef nonnull align 8 dereferenceable(104) %12, i32 noundef %1)
  %13 = getelementptr inbounds i8, ptr %0, i64 144
  %14 = load i32, ptr %7, align 8, !tbaa !8
  invoke void @_ZN4sptk37RealValuedInverseFastFourierTransformC1Ei(ptr noundef nonnull align 8 dereferenceable(112) %13, i32 noundef %14)
          to label %15 unwind label %49

15:                                               ; preds = %6
  %16 = getelementptr inbounds i8, ptr %0, i64 256
  %17 = load i32, ptr %7, align 8, !tbaa !8
  %18 = sdiv i32 %17, 2
  %19 = load i32, ptr %8, align 4, !tbaa !24
  %20 = load double, ptr %9, align 8, !tbaa !25
  invoke void @_ZN4sptk18FrequencyTransformC1Eiid(ptr noundef nonnull align 8 dereferenceable(25) %16, i32 noundef %18, i32 noundef %19, double noundef %20)
          to label %21 unwind label %51

21:                                               ; preds = %15
  %22 = getelementptr inbounds i8, ptr %0, i64 288
  %23 = load i32, ptr %8, align 4, !tbaa !24
  %24 = load i32, ptr %7, align 8, !tbaa !8
  %25 = sdiv i32 %24, 2
  %26 = load double, ptr %9, align 8, !tbaa !25
  %27 = fneg double %26
  invoke void @_ZN4sptk18FrequencyTransformC1Eiid(ptr noundef nonnull align 8 dereferenceable(25) %22, i32 noundef %23, i32 noundef %25, double noundef %27)
          to label %28 unwind label %53

28:                                               ; preds = %21
  %29 = getelementptr inbounds i8, ptr %0, i64 320
  %30 = load i32, ptr %8, align 4, !tbaa !24
  invoke void @_ZN4sptk30ToeplitzPlusHankelSystemSolverC1Eib(ptr noundef nonnull align 8 dereferenceable(14) %29, i32 noundef %30, i1 noundef zeroext true)
          to label %31 unwind label %55

31:                                               ; preds = %28
  %32 = getelementptr inbounds i8, ptr %0, i64 336
  store i8 1, ptr %32, align 8, !tbaa !28
  %33 = getelementptr inbounds i8, ptr %0, i64 344
  tail call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #3
  %34 = load i32, ptr %10, align 8, !tbaa !26
  %35 = icmp slt i32 %34, 0
  %36 = load double, ptr %11, align 8
  %37 = fcmp olt double %36, 0.000000e+00
  %or.cond = select i1 %35, i1 true, i1 %37
  br i1 %or.cond, label %48, label %38

38:                                               ; preds = %31
  %39 = tail call noundef zeroext i1 @_ZNK4sptk30RealValuedFastFourierTransform7IsValidEv(ptr noundef nonnull align 8 dereferenceable(104) %12)
  br i1 %39, label %40, label %48

40:                                               ; preds = %38
  %41 = tail call noundef zeroext i1 @_ZNK4sptk37RealValuedInverseFastFourierTransform7IsValidEv(ptr noundef nonnull align 8 dereferenceable(112) %13)
  br i1 %41, label %42, label %48

42:                                               ; preds = %40
  %43 = tail call noundef zeroext i1 @_ZNK4sptk18FrequencyTransform7IsValidEv(ptr noundef nonnull align 8 dereferenceable(25) %16)
  br i1 %43, label %44, label %48

44:                                               ; preds = %42
  %45 = tail call noundef zeroext i1 @_ZNK4sptk18FrequencyTransform7IsValidEv(ptr noundef nonnull align 8 dereferenceable(25) %22)
  br i1 %45, label %46, label %48

46:                                               ; preds = %44
  %47 = tail call noundef zeroext i1 @_ZNK4sptk30ToeplitzPlusHankelSystemSolver7IsValidEv(ptr noundef nonnull align 8 dereferenceable(14) %29)
  br i1 %47, label %59, label %48

48:                                               ; preds = %46, %44, %42, %40, %38, %31
  store i8 0, ptr %32, align 8, !tbaa !28
  br label %.loopexit

49:                                               ; preds = %6
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %78

51:                                               ; preds = %15
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %77

53:                                               ; preds = %21
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %76

55:                                               ; preds = %28
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %75

57:                                               ; preds = %59
  %58 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #3
  tail call void @_ZN4sptk30ToeplitzPlusHankelSystemSolverD2Ev(ptr noundef nonnull align 8 dereferenceable(14) %29) #3
  br label %75

59:                                               ; preds = %46
  %60 = load i32, ptr %8, align 4, !tbaa !24
  %61 = add nsw i32 %60, 1
  %62 = sext i32 %61 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %62)
          to label %63 unwind label %57

63:                                               ; preds = %59
  %64 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef 0) #3
  store double 1.000000e+00, ptr %64, align 8, !tbaa !29
  %65 = load i32, ptr %8, align 4, !tbaa !24
  %.not21 = icmp slt i32 %65, 1
  br i1 %.not21, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %63, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %63 ]
  %66 = load double, ptr %9, align 8, !tbaa !25
  %67 = fneg double %66
  %68 = add nsw i64 %indvars.iv, -1
  %69 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %68) #3
  %70 = load double, ptr %69, align 8, !tbaa !29
  %71 = fmul double %70, %67
  %72 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %indvars.iv) #3
  store double %71, ptr %72, align 8, !tbaa !29
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %73 = load i32, ptr %8, align 4, !tbaa !24
  %74 = sext i32 %73 to i64
  %.not.not = icmp slt i64 %indvars.iv, %74
  br i1 %.not.not, label %.lr.ph, label %.loopexit, !llvm.loop !30

.loopexit:                                        ; preds = %.lr.ph, %63, %48
  ret void

75:                                               ; preds = %57, %55
  %.pn = phi { ptr, i32 } [ %58, %57 ], [ %56, %55 ]
  tail call void @_ZN4sptk18FrequencyTransformD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %22) #3
  br label %76

76:                                               ; preds = %75, %53
  %.pn.pn = phi { ptr, i32 } [ %.pn, %75 ], [ %54, %53 ]
  tail call void @_ZN4sptk18FrequencyTransformD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %16) #3
  br label %77

77:                                               ; preds = %76, %51
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %76 ], [ %52, %51 ]
  tail call void @_ZN4sptk37RealValuedInverseFastFourierTransformD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %13) #3
  br label %78

78:                                               ; preds = %77, %49
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %77 ], [ %50, %49 ]
  tail call void @_ZN4sptk30RealValuedFastFourierTransformD2Ev(ptr noundef nonnull align 8 dereferenceable(104) %12) #3
  resume { ptr, i32 } %.pn.pn.pn.pn
}

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

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

declare i32 @__gxx_personality_v0(...)

declare void @_ZN4sptk18FrequencyTransformC1Eiid(ptr noundef nonnull align 8 dereferenceable(25), i32 noundef, i32 noundef, double noundef) unnamed_addr #1

declare void @_ZN4sptk30ToeplitzPlusHankelSystemSolverC1Eib(ptr noundef nonnull align 8 dereferenceable(14), i32 noundef, i1 noundef zeroext) unnamed_addr #1

; 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 @_ZNK4sptk30RealValuedFastFourierTransform7IsValidEv(ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4sptk30ToeplitzPlusHankelSystemSolver7IsValidEv(ptr noundef nonnull align 8 dereferenceable(14)) local_unnamed_addr #2 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 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 @_ZN4sptk30ToeplitzPlusHankelSystemSolverD2Ev(ptr noundef nonnull align 8 dereferenceable(14)) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4sptk30RealValuedFastFourierTransformD2Ev(ptr noundef nonnull align 8 dereferenceable(104)) 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 = { 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 = !{!"_ZTSN4sptk19MelCepstralAnalysisE", !10, i64 8, !10, i64 12, !12, i64 16, !10, i64 24, !12, i64 32, !13, i64 40, !21, i64 144, !22, i64 256, !22, i64 288, !23, i64 320, !15, i64 336, !16, i64 344}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!"double", !11, i64 0}
!13 = !{!"_ZTSN4sptk30RealValuedFastFourierTransformE", !10, i64 8, !10, i64 12, !10, i64 16, !14, i64 24, !15, i64 72, !16, i64 80}
!14 = !{!"_ZTSN4sptk20FastFourierTransformE", !10, i64 8, !10, i64 12, !10, i64 16, !15, i64 20, !16, i64 24}
!15 = !{!"bool", !11, i64 0}
!16 = !{!"_ZTSSt6vectorIdSaIdEE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !20, i64 0, !20, i64 8, !20, i64 16}
!20 = !{!"any pointer", !11, i64 0}
!21 = !{!"_ZTSN4sptk37RealValuedInverseFastFourierTransformE", !13, i64 8}
!22 = !{!"_ZTSN4sptk18FrequencyTransformE", !10, i64 8, !10, i64 12, !12, i64 16, !15, i64 24}
!23 = !{!"_ZTSN4sptk30ToeplitzPlusHankelSystemSolverE", !10, i64 8, !15, i64 12, !15, i64 13}
!24 = !{!9, !10, i64 12}
!25 = !{!9, !12, i64 16}
!26 = !{!9, !10, i64 24}
!27 = !{!9, !12, i64 32}
!28 = !{!9, !15, i64 336}
!29 = !{!12, !12, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}


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