; LLVM IR from sp-nitech/SPTK :: src/conversion (mel_generalized_cepstrum_to_mel_generalized_cepstrum)

; 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.__gnu_cxx::__normal_iterator.6" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.5" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.7" = type { ptr }
%"class.sptk::MelGeneralizedCepstrumToMelGeneralizedCepstrum" = type <{ ptr, i32, [4 x i8], double, double, i8, i8, [2 x i8], i32, double, double, i8, i8, [6 x i8], double, %"class.std::vector", i8, [7 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<sptk::MelGeneralizedCepstrumToMelGeneralizedCepstrum::ModuleInterface *, std::allocator<sptk::MelGeneralizedCepstrumToMelGeneralizedCepstrum::ModuleInterface *>>::_Vector_impl" }
%"struct.std::_Vector_base<sptk::MelGeneralizedCepstrumToMelGeneralizedCepstrum::ModuleInterface *, std::allocator<sptk::MelGeneralizedCepstrumToMelGeneralizedCepstrum::ModuleInterface *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sptk::MelGeneralizedCepstrumToMelGeneralizedCepstrum::ModuleInterface *, std::allocator<sptk::MelGeneralizedCepstrumToMelGeneralizedCepstrum::ModuleInterface *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sptk::MelGeneralizedCepstrumToMelGeneralizedCepstrum::ModuleInterface *, std::allocator<sptk::MelGeneralizedCepstrumToMelGeneralizedCepstrum::ModuleInterface *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sptk::MelGeneralizedCepstrumToMelGeneralizedCepstrum::Buffer" = type { ptr, %"class.sptk::FrequencyTransform::Buffer", %"class.std::vector.0" }
%"class.sptk::FrequencyTransform::Buffer" = type { ptr, %"class.std::vector.0" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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 }

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum3RunERKSt6vectorIdSaIdEEPS3_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(97) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef %3) #1 align 2 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.6", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.6", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.7", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.7", align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.7", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.7", align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %19 = load ptr, ptr %6, align 8
  %20 = getelementptr inbounds %"class.sptk::MelGeneralizedCepstrumToMelGeneralizedCepstrum", ptr %19, i32 0, i32 16
  %21 = load i8, ptr %20, align 8, !tbaa !9, !range !18, !noundef !19
  %22 = trunc i8 %21 to i1
  br i1 %22, label %23, label %37

23:                                               ; preds = %4
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  %26 = getelementptr inbounds %"class.sptk::MelGeneralizedCepstrumToMelGeneralizedCepstrum", ptr %19, i32 0, i32 1
  %27 = load i32, ptr %26, align 8, !tbaa !20
  %28 = add nsw i32 %27, 1
  %29 = sext i32 %28 to i64
  %30 = icmp ne i64 %25, %29
  br i1 %30, label %37, label %31

31:                                               ; preds = %23
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = icmp eq ptr null, %32
  br i1 %33, label %37, label %34

34:                                               ; preds = %31
  %35 = load ptr, ptr %9, align 8, !tbaa !5
  %36 = icmp eq ptr null, %35
  br i1 %36, label %37, label %38

37:                                               ; preds = %34, %31, %23, %4
  store i1 false, ptr %5, align 1
  br label %121

38:                                               ; preds = %34
  %39 = getelementptr inbounds %"class.sptk::MelGeneralizedCepstrumToMelGeneralizedCepstrum", ptr %19, i32 0, i32 15
  %40 = call noundef zeroext i1 @_ZNKSt6vectorIPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #5
  br i1 %40, label %41, label %73

41:                                               ; preds = %38
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #5
  %44 = getelementptr inbounds %"class.sptk::MelGeneralizedCepstrumToMelGeneralizedCepstrum", ptr %19, i32 0, i32 8
  %45 = load i32, ptr %44, align 4, !tbaa !21
  %46 = add nsw i32 %45, 1
  %47 = sext i32 %46 to i64
  %48 = icmp ne i64 %43, %47
  br i1 %48, label %49, label %55

49:                                               ; preds = %41
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  %51 = getelementptr inbounds %"class.sptk::MelGeneralizedCepstrumToMelGeneralizedCepstrum", ptr %19, i32 0, i32 8
  %52 = load i32, ptr %51, align 4, !tbaa !21
  %53 = add nsw i32 %52, 1
  %54 = sext i32 %53 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %50, i64 noundef %54)
  br label %55

55:                                               ; preds = %49, %41
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = call ptr @_ZNKSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #5
  %58 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.6", ptr %10, i32 0, i32 0
  store ptr %57, ptr %58, align 8
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = call ptr @_ZNKSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #5
  %61 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.6", ptr %11, i32 0, i32 0
  store ptr %60, ptr %61, align 8
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #5
  %64 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %12, i32 0, i32 0
  store ptr %63, ptr %64, align 8
  %65 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.6", ptr %10, i32 0, i32 0
  %66 = load ptr, ptr %65, align 8
  %67 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.6", ptr %11, i32 0, i32 0
  %68 = load ptr, ptr %67, align 8
  %69 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %12, i32 0, i32 0
  %70 = load ptr, ptr %69, align 8
  %71 = call ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPdS6_EEET0_T_SB_SA_(ptr %66, ptr %68, ptr %70)
  %72 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %13, i32 0, i32 0
  store ptr %71, ptr %72, align 8
  store i1 true, ptr %5, align 1
  br label %121

73:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %74 = getelementptr inbounds %"class.sptk::MelGeneralizedCepstrumToMelGeneralizedCepstrum", ptr %19, i32 0, i32 15
  %75 = call ptr @_ZNKSt6vectorIPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %74) #5
  %76 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.7", ptr %14, i32 0, i32 0
  store ptr %75, ptr %76, align 8
  br label %77

77:                                               ; preds = %116, %73
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %78 = getelementptr inbounds %"class.sptk::MelGeneralizedCepstrumToMelGeneralizedCepstrum", ptr %19, i32 0, i32 15
  %79 = call ptr @_ZNKSt6vectorIPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %78) #5
  %80 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.7", ptr %15, i32 0, i32 0
  store ptr %79, ptr %80, align 8
  %81 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br i1 %81, label %83, label %82

82:                                               ; preds = %77
  store i32 2, ptr %16, align 4
  br label %118

83:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %84 = getelementptr inbounds %"class.sptk::MelGeneralizedCepstrumToMelGeneralizedCepstrum", ptr %19, i32 0, i32 15
  %85 = call ptr @_ZNKSt6vectorIPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %84) #5
  %86 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.7", ptr %17, i32 0, i32 0
  store ptr %85, ptr %86, align 8
  %87 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br i1 %87, label %88, label %92

88:                                               ; preds = %83
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  %90 = load ptr, ptr %9, align 8, !tbaa !5
  %91 = getelementptr inbounds %"class.sptk::MelGeneralizedCepstrumToMelGeneralizedCepstrum::Buffer", ptr %90, i32 0, i32 2
  call void @_ZNSt6vectorIdSaIdEE4swapERS1_(ptr noundef nonnull align 8 dereferenceable(24) %89, ptr noundef nonnull align 8 dereferenceable(24) %91) #5
  br label %92

92:                                               ; preds = %88, %83
  %93 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  %94 = load ptr, ptr %93, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %95 = getelementptr inbounds %"class.sptk::MelGeneralizedCepstrumToMelGeneralizedCepstrum", ptr %19, i32 0, i32 15
  %96 = call ptr @_ZNKSt6vectorIPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %95) #5
  %97 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.7", ptr %18, i32 0, i32 0
  store ptr %96, ptr %97, align 8
  %98 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPKPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  br i1 %98, label %99, label %101

99:                                               ; preds = %92
  %100 = load ptr, ptr %7, align 8, !tbaa !5
  br label %104

101:                                              ; preds = %92
  %102 = load ptr, ptr %9, align 8, !tbaa !5
  %103 = getelementptr inbounds %"class.sptk::MelGeneralizedCepstrumToMelGeneralizedCepstrum::Buffer", ptr %102, i32 0, i32 2
  br label %104

104:                                              ; preds = %101, %99
  %105 = phi ptr [ %100, %99 ], [ %103, %101 ]
  %106 = load ptr, ptr %8, align 8, !tbaa !5
  %107 = load ptr, ptr %9, align 8, !tbaa !5
  %108 = getelementptr inbounds %"class.sptk::MelGeneralizedCepstrumToMelGeneralizedCepstrum::Buffer", ptr %107, i32 0, i32 1
  %109 = load ptr, ptr %94, align 8, !tbaa !22
  %110 = getelementptr inbounds ptr, ptr %109, i64 3
  %111 = load ptr, ptr %110, align 8
  %112 = call noundef zeroext i1 %111(ptr noundef nonnull align 8 dereferenceable(8) %94, ptr noundef nonnull align 8 dereferenceable(24) %105, ptr noundef %106, ptr noundef %108)
  %113 = xor i1 %112, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br i1 %113, label %114, label %115

114:                                              ; preds = %104
  store i1 false, ptr %5, align 1
  store i32 1, ptr %16, align 4
  br label %118

115:                                              ; preds = %104
  br label %116

116:                                              ; preds = %115
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  br label %77, !llvm.loop !24

118:                                              ; preds = %114, %82
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  %119 = load i32, ptr %16, align 4
  switch i32 %119, label %123 [
    i32 2, label %120
    i32 1, label %121
  ]

120:                                              ; preds = %118
  store i1 true, ptr %5, align 1
  br label %121

121:                                              ; preds = %120, %118, %55, %37
  %122 = load i1, ptr %5, align 1
  ret i1 %122

123:                                              ; preds = %118
  unreachable
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPdS6_EEET0_T_SB_SA_(ptr, ptr, ptr) #3

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxeqIPKPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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 #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 = { 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, !13, i64 96}
!10 = !{!"_ZTSN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrumE", !11, i64 8, !12, i64 16, !12, i64 24, !13, i64 32, !13, i64 33, !11, i64 36, !12, i64 40, !12, i64 48, !13, i64 56, !13, i64 57, !12, i64 64, !14, i64 72, !13, i64 96}
!11 = !{!"int", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSSt6vectorIPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESaIS3_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESaIS3_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESaIS3_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!10, !11, i64 8}
!21 = !{!10, !11, i64 36}
!22 = !{!23, !23, i64 0}
!23 = !{!"vtable pointer", !8, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"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"

%"class.__gnu_cxx::__normal_iterator.7" = type { ptr }

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum3RunERKSt6vectorIdSaIdEEPS3_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(97) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #1 align 2 {
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.7", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.7", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.7", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.7", align 8
  %9 = getelementptr inbounds i8, ptr %0, i64 96
  %10 = load i8, ptr %9, align 8, !tbaa !5, !range !17, !noundef !18
  %11 = trunc nuw i8 %10 to i1
  br i1 %11, label %12, label %60

12:                                               ; preds = %4
  %13 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  %14 = getelementptr inbounds i8, ptr %0, i64 8
  %15 = load i32, ptr %14, align 8, !tbaa !19
  %16 = add nsw i32 %15, 1
  %17 = sext i32 %16 to i64
  %18 = icmp ne i64 %13, %17
  %19 = icmp eq ptr %2, null
  %or.cond = or i1 %19, %18
  %20 = icmp eq ptr %3, null
  %or.cond3 = or i1 %20, %or.cond
  br i1 %or.cond3, label %60, label %21

21:                                               ; preds = %12
  %22 = getelementptr inbounds i8, ptr %0, i64 72
  %23 = tail call noundef zeroext i1 @_ZNKSt6vectorIPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  br i1 %23, label %24, label %36

24:                                               ; preds = %21
  %25 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %26 = getelementptr inbounds i8, ptr %0, i64 36
  %27 = load i32, ptr %26, align 4, !tbaa !20
  %28 = add nsw i32 %27, 1
  %29 = sext i32 %28 to i64
  %.not = icmp eq i64 %25, %29
  br i1 %.not, label %31, label %30

30:                                               ; preds = %24
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %29)
  br label %31

31:                                               ; preds = %30, %24
  %32 = tail call ptr @_ZNKSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  %33 = tail call ptr @_ZNKSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  %34 = tail call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %35 = tail call ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPdS6_EEET0_T_SB_SA_(ptr %32, ptr %33, ptr %34)
  br label %60

36:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %37 = tail call ptr @_ZNKSt6vectorIPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  store ptr %37, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %38 = tail call ptr @_ZNKSt6vectorIPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  store ptr %38, ptr %6, align 8
  %39 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br i1 %39, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %36
  %40 = getelementptr inbounds i8, ptr %3, i64 40
  %41 = getelementptr inbounds i8, ptr %3, i64 8
  br label %42

42:                                               ; preds = %.lr.ph, %56
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %43 = call ptr @_ZNKSt6vectorIPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  store ptr %43, ptr %7, align 8
  %44 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br i1 %44, label %45, label %46

45:                                               ; preds = %42
  call void @_ZNSt6vectorIdSaIdEE4swapERS1_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %40) #5
  br label %46

46:                                               ; preds = %45, %42
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %48 = load ptr, ptr %47, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %49 = call ptr @_ZNKSt6vectorIPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  store ptr %49, ptr %8, align 8
  %50 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPKPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %51 = select i1 %50, ptr %1, ptr %40
  %52 = load ptr, ptr %48, align 8, !tbaa !22
  %53 = getelementptr inbounds i8, ptr %52, i64 24
  %54 = load ptr, ptr %53, align 8
  %55 = call noundef zeroext i1 %54(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef %2, ptr noundef nonnull %41)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  br i1 %55, label %56, label %._crit_edge

56:                                               ; preds = %46
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %58 = call ptr @_ZNKSt6vectorIPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  store ptr %58, ptr %6, align 8
  %59 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br i1 %59, label %42, label %._crit_edge, !llvm.loop !24

._crit_edge:                                      ; preds = %56, %46, %36
  %switch = phi i1 [ true, %36 ], [ %55, %46 ], [ %55, %56 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br label %60

60:                                               ; preds = %._crit_edge, %4, %12, %31
  %.1 = phi i1 [ true, %31 ], [ false, %12 ], [ false, %4 ], [ %switch, %._crit_edge ]
  ret i1 %.1
}

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxeqIPKPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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 #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 = { 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, !11, i64 96}
!6 = !{!"_ZTSN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrumE", !7, i64 8, !10, i64 16, !10, i64 24, !11, i64 32, !11, i64 33, !7, i64 36, !10, i64 40, !10, i64 48, !11, i64 56, !11, i64 57, !10, i64 64, !12, i64 72, !11, i64 96}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"_ZTSSt6vectorIPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESaIS3_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESaIS3_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESaIS3_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIPN4sptk46MelGeneralizedCepstrumToMelGeneralizedCepstrum15ModuleInterfaceESaIS3_EE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!6, !7, i64 8}
!20 = !{!6, !7, i64 36}
!21 = !{!16, !16, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"vtable pointer", !9, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}


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