; LLVM IR from sp-nitech/SPTK :: src/conversion (linear_predictive_coefficients_to_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.sptk::LinearPredictiveCoefficientsToCepstrum" = type <{ ptr, i32, i32, i8, [7 x i8] }>

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

20:                                               ; preds = %3
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  %23 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToCepstrum", ptr %16, i32 0, i32 1
  %24 = load i32, ptr %23, align 8, !tbaa !15
  %25 = add nsw i32 %24, 1
  %26 = sext i32 %25 to i64
  %27 = icmp ne i64 %22, %26
  br i1 %27, label %31, label %28

28:                                               ; preds = %20
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = icmp eq ptr null, %29
  br i1 %30, label %31, label %32

31:                                               ; preds = %28, %20, %3
  store i1 false, ptr %4, align 1
  br label %145

32:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %33 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToCepstrum", ptr %16, i32 0, i32 2
  %34 = load i32, ptr %33, align 4, !tbaa !16
  %35 = add nsw i32 %34, 1
  store i32 %35, ptr %8, align 4, !tbaa !17
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  %38 = load i32, ptr %8, align 4, !tbaa !17
  %39 = sext i32 %38 to i64
  %40 = icmp ne i64 %37, %39
  br i1 %40, label %41, label %45

41:                                               ; preds = %32
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = load i32, ptr %8, align 4, !tbaa !17
  %44 = sext i32 %43 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %44)
  br label %45

45:                                               ; preds = %41, %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef 0) #5
  store ptr %47, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef 0) #5
  store ptr %49, ptr %10, align 8, !tbaa !5
  %50 = load ptr, ptr %9, align 8, !tbaa !5
  %51 = getelementptr inbounds double, ptr %50, i64 0
  %52 = load double, ptr %51, align 8, !tbaa !18
  %53 = call double @log(double noundef %52) #5
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  %55 = getelementptr inbounds double, ptr %54, i64 0
  store double %53, ptr %55, align 8, !tbaa !18
  %56 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToCepstrum", ptr %16, i32 0, i32 2
  %57 = load i32, ptr %56, align 4, !tbaa !16
  %58 = icmp eq i32 0, %57
  br i1 %58, label %59, label %60

59:                                               ; preds = %45
  store i1 true, ptr %4, align 1
  store i32 1, ptr %11, align 4
  br label %144

60:                                               ; preds = %45
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  %62 = getelementptr inbounds double, ptr %61, i64 1
  %63 = load double, ptr %62, align 8, !tbaa !18
  %64 = fneg double %63
  %65 = load ptr, ptr %10, align 8, !tbaa !5
  %66 = getelementptr inbounds double, ptr %65, i64 1
  store double %64, ptr %66, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 2, ptr %12, align 4, !tbaa !17
  br label %67

67:                                               ; preds = %140, %60
  %68 = load i32, ptr %12, align 4, !tbaa !17
  %69 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToCepstrum", ptr %16, i32 0, i32 2
  %70 = load i32, ptr %69, align 4, !tbaa !16
  %71 = icmp sle i32 %68, %70
  br i1 %71, label %73, label %72

72:                                               ; preds = %67
  store i32 2, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %143

73:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  store double 0.000000e+00, ptr %13, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %74 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToCepstrum", ptr %16, i32 0, i32 1
  %75 = load i32, ptr %74, align 8, !tbaa !15
  %76 = load i32, ptr %12, align 4, !tbaa !17
  %77 = icmp slt i32 %75, %76
  br i1 %77, label %78, label %83

78:                                               ; preds = %73
  %79 = load i32, ptr %12, align 4, !tbaa !17
  %80 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToCepstrum", ptr %16, i32 0, i32 1
  %81 = load i32, ptr %80, align 8, !tbaa !15
  %82 = sub nsw i32 %79, %81
  br label %84

83:                                               ; preds = %73
  br label %84

84:                                               ; preds = %83, %78
  %85 = phi i32 [ %82, %78 ], [ 1, %83 ]
  store i32 %85, ptr %14, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %86 = load i32, ptr %14, align 4, !tbaa !17
  store i32 %86, ptr %15, align 4, !tbaa !17
  br label %87

87:                                               ; preds = %110, %84
  %88 = load i32, ptr %15, align 4, !tbaa !17
  %89 = load i32, ptr %12, align 4, !tbaa !17
  %90 = icmp slt i32 %88, %89
  br i1 %90, label %92, label %91

91:                                               ; preds = %87
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %113

92:                                               ; preds = %87
  %93 = load i32, ptr %15, align 4, !tbaa !17
  %94 = sitofp i32 %93 to double
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  %96 = load i32, ptr %15, align 4, !tbaa !17
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds double, ptr %95, i64 %97
  %99 = load double, ptr %98, align 8, !tbaa !18
  %100 = fmul double %94, %99
  %101 = load ptr, ptr %9, align 8, !tbaa !5
  %102 = load i32, ptr %12, align 4, !tbaa !17
  %103 = load i32, ptr %15, align 4, !tbaa !17
  %104 = sub nsw i32 %102, %103
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds double, ptr %101, i64 %105
  %107 = load double, ptr %106, align 8, !tbaa !18
  %108 = load double, ptr %13, align 8, !tbaa !18
  %109 = call double @llvm.fmuladd.f64(double %100, double %107, double %108)
  store double %109, ptr %13, align 8, !tbaa !18
  br label %110

110:                                              ; preds = %92
  %111 = load i32, ptr %15, align 4, !tbaa !17
  %112 = add nsw i32 %111, 1
  store i32 %112, ptr %15, align 4, !tbaa !17
  br label %87, !llvm.loop !20

113:                                              ; preds = %91
  %114 = load double, ptr %13, align 8, !tbaa !18
  %115 = fneg double %114
  %116 = load i32, ptr %12, align 4, !tbaa !17
  %117 = sitofp i32 %116 to double
  %118 = fdiv double %115, %117
  %119 = load ptr, ptr %10, align 8, !tbaa !5
  %120 = load i32, ptr %12, align 4, !tbaa !17
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds double, ptr %119, i64 %121
  store double %118, ptr %122, align 8, !tbaa !18
  %123 = load i32, ptr %12, align 4, !tbaa !17
  %124 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToCepstrum", ptr %16, i32 0, i32 1
  %125 = load i32, ptr %124, align 8, !tbaa !15
  %126 = icmp sle i32 %123, %125
  br i1 %126, label %127, label %139

127:                                              ; preds = %113
  %128 = load ptr, ptr %9, align 8, !tbaa !5
  %129 = load i32, ptr %12, align 4, !tbaa !17
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds double, ptr %128, i64 %130
  %132 = load double, ptr %131, align 8, !tbaa !18
  %133 = load ptr, ptr %10, align 8, !tbaa !5
  %134 = load i32, ptr %12, align 4, !tbaa !17
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds double, ptr %133, i64 %135
  %137 = load double, ptr %136, align 8, !tbaa !18
  %138 = fsub double %137, %132
  store double %138, ptr %136, align 8, !tbaa !18
  br label %139

139:                                              ; preds = %127, %113
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %140

140:                                              ; preds = %139
  %141 = load i32, ptr %12, align 4, !tbaa !17
  %142 = add nsw i32 %141, 1
  store i32 %142, ptr %12, align 4, !tbaa !17
  br label %67, !llvm.loop !22

143:                                              ; preds = %72
  store i1 true, ptr %4, align 1
  store i32 1, ptr %11, align 4
  br label %144

144:                                              ; preds = %143, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %145

145:                                              ; preds = %144, %31
  %146 = load i1, ptr %4, align 1
  ret i1 %146
}

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

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

; 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 @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

; Function Attrs: nounwind
declare double @log(double noundef) #3

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

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

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


; 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"

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk38LinearPredictiveCoefficientsToCepstrum3RunERKSt6vectorIdSaIdEEPS3_(ptr nocapture noundef nonnull readonly align 8 dereferenceable(17) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2) local_unnamed_addr #0 align 2 {
  %4 = getelementptr inbounds i8, ptr %0, i64 16
  %5 = load i8, ptr %4, align 8, !tbaa !5, !range !11, !noundef !12
  %6 = trunc nuw i8 %5 to i1
  br i1 %6, label %7, label %.loopexit

7:                                                ; preds = %3
  %8 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #4
  %9 = getelementptr inbounds i8, ptr %0, i64 8
  %10 = load i32, ptr %9, align 8, !tbaa !13
  %11 = add nsw i32 %10, 1
  %12 = sext i32 %11 to i64
  %13 = icmp ne i64 %8, %12
  %14 = icmp eq ptr %2, null
  %or.cond = or i1 %14, %13
  br i1 %or.cond, label %.loopexit, label %15

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

21:                                               ; preds = %15
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %20)
  br label %22

22:                                               ; preds = %21, %15
  %23 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #4
  %24 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #4
  %25 = load double, ptr %23, align 8, !tbaa !15
  %26 = tail call double @log(double noundef %25) #4
  store double %26, ptr %24, align 8, !tbaa !15
  %27 = load i32, ptr %16, align 4, !tbaa !14
  %28 = icmp eq i32 %27, 0
  br i1 %28, label %.loopexit, label %29

29:                                               ; preds = %22
  %30 = getelementptr inbounds i8, ptr %23, i64 8
  %31 = load double, ptr %30, align 8, !tbaa !15
  %32 = fneg double %31
  %33 = getelementptr inbounds i8, ptr %24, i64 8
  store double %32, ptr %33, align 8, !tbaa !15
  %.not4448 = icmp slt i32 %27, 2
  br i1 %.not4448, label %.loopexit, label %.lr.ph51

.lr.ph51:                                         ; preds = %29
  %34 = load i32, ptr %9, align 8, !tbaa !13
  %35 = sext i32 %34 to i64
  %36 = add nuw i32 %27, 1
  %wide.trip.count56 = zext i32 %36 to i64
  br label %37

37:                                               ; preds = %.lr.ph51, %83
  %indvar = phi i64 [ 0, %.lr.ph51 ], [ %indvar.next, %83 ]
  %indvars.iv53 = phi i64 [ 2, %.lr.ph51 ], [ %indvars.iv.next54, %83 ]
  %38 = icmp sgt i64 %indvars.iv53, %35
  %39 = trunc i64 %indvars.iv53 to i32
  %40 = sub i32 %39, %34
  %41 = sext i32 %40 to i64
  %42 = select i1 %38, i64 %41, i64 1
  %43 = icmp slt i64 %42, %indvars.iv53
  br i1 %43, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %37
  %44 = add i64 %indvar, 1
  %45 = sub i64 %indvars.iv53, %42
  %xtraiter = and i64 %45, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol

.lr.ph.prol:                                      ; preds = %.lr.ph.preheader
  %46 = trunc nsw i64 %42 to i32
  %47 = sitofp i32 %46 to double
  %48 = getelementptr inbounds double, ptr %24, i64 %42
  %49 = load double, ptr %48, align 8, !tbaa !15
  %50 = fmul double %49, %47
  %51 = sub nsw i64 %indvars.iv53, %42
  %52 = getelementptr inbounds double, ptr %23, i64 %51
  %53 = load double, ptr %52, align 8, !tbaa !15
  %54 = tail call double @llvm.fmuladd.f64(double %50, double %53, double 0.000000e+00)
  %indvars.iv.next.prol = add nsw i64 %42, 1
  br label %.lr.ph.prol.loopexit

.lr.ph.prol.loopexit:                             ; preds = %.lr.ph.prol, %.lr.ph.preheader
  %.lcssa.unr = phi double [ poison, %.lr.ph.preheader ], [ %54, %.lr.ph.prol ]
  %indvars.iv.unr = phi i64 [ %42, %.lr.ph.preheader ], [ %indvars.iv.next.prol, %.lr.ph.prol ]
  %.03946.unr = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %54, %.lr.ph.prol ]
  %55 = icmp eq i64 %44, %42
  br i1 %55, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph.prol.loopexit, %.lr.ph, %37
  %.039.lcssa = phi double [ 0.000000e+00, %37 ], [ %.lcssa.unr, %.lr.ph.prol.loopexit ], [ %78, %.lr.ph ]
  %56 = fneg double %.039.lcssa
  %57 = trunc nuw nsw i64 %indvars.iv53 to i32
  %58 = uitofp nneg i32 %57 to double
  %59 = fdiv double %56, %58
  %60 = getelementptr inbounds double, ptr %24, i64 %indvars.iv53
  store double %59, ptr %60, align 8, !tbaa !15
  br i1 %38, label %83, label %79

.lr.ph:                                           ; preds = %.lr.ph.prol.loopexit, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.1, %.lr.ph ], [ %indvars.iv.unr, %.lr.ph.prol.loopexit ]
  %.03946 = phi double [ %78, %.lr.ph ], [ %.03946.unr, %.lr.ph.prol.loopexit ]
  %61 = trunc nsw i64 %indvars.iv to i32
  %62 = sitofp i32 %61 to double
  %63 = getelementptr inbounds double, ptr %24, i64 %indvars.iv
  %64 = load double, ptr %63, align 8, !tbaa !15
  %65 = fmul double %64, %62
  %66 = sub nsw i64 %indvars.iv53, %indvars.iv
  %67 = getelementptr inbounds double, ptr %23, i64 %66
  %68 = load double, ptr %67, align 8, !tbaa !15
  %69 = tail call double @llvm.fmuladd.f64(double %65, double %68, double %.03946)
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %70 = trunc nsw i64 %indvars.iv.next to i32
  %71 = sitofp i32 %70 to double
  %72 = getelementptr inbounds double, ptr %24, i64 %indvars.iv.next
  %73 = load double, ptr %72, align 8, !tbaa !15
  %74 = fmul double %73, %71
  %75 = sub nsw i64 %indvars.iv53, %indvars.iv.next
  %76 = getelementptr inbounds double, ptr %23, i64 %75
  %77 = load double, ptr %76, align 8, !tbaa !15
  %78 = tail call double @llvm.fmuladd.f64(double %74, double %77, double %69)
  %indvars.iv.next.1 = add nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, %indvars.iv53
  br i1 %exitcond.not.1, label %._crit_edge, label %.lr.ph, !llvm.loop !17

79:                                               ; preds = %._crit_edge
  %80 = getelementptr inbounds double, ptr %23, i64 %indvars.iv53
  %81 = load double, ptr %80, align 8, !tbaa !15
  %82 = fsub double %59, %81
  store double %82, ptr %60, align 8, !tbaa !15
  br label %83

83:                                               ; preds = %79, %._crit_edge
  %indvars.iv.next54 = add nuw nsw i64 %indvars.iv53, 1
  %exitcond57.not = icmp eq i64 %indvars.iv.next54, %wide.trip.count56
  %indvar.next = add i64 %indvar, 1
  br i1 %exitcond57.not, label %.loopexit, label %37, !llvm.loop !19

.loopexit:                                        ; preds = %83, %29, %22, %3, %7
  %.1 = phi i1 [ false, %7 ], [ false, %3 ], [ true, %22 ], [ true, %29 ], [ true, %83 ]
  ret i1 %.1
}

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

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

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress 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 #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !10, i64 16}
!6 = !{!"_ZTSN4sptk38LinearPredictiveCoefficientsToCepstrumE", !7, i64 8, !7, i64 12, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!6, !7, i64 8}
!14 = !{!6, !7, i64 12}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !8, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}


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