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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk37MinimumPhaseImpulseResponseToCepstrum3RunERKSt6vectorIdSaIdEEPS3_(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 ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca double, align 8
  %13 = alloca i32, align 4
  %14 = 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
  %15 = load ptr, ptr %5, align 8
  %16 = getelementptr inbounds %"class.sptk::MinimumPhaseImpulseResponseToCepstrum", ptr %15, i32 0, i32 3
  %17 = load i8, ptr %16, align 8, !tbaa !9, !range !13, !noundef !14
  %18 = trunc i8 %17 to i1
  br i1 %18, label %19, label %30

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

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

30:                                               ; preds = %27, %19, %3
  store i1 false, ptr %4, align 1
  br label %135

31:                                               ; preds = %27
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #5
  %34 = getelementptr inbounds %"class.sptk::MinimumPhaseImpulseResponseToCepstrum", ptr %15, i32 0, i32 2
  %35 = load i32, ptr %34, align 4, !tbaa !16
  %36 = add nsw i32 %35, 1
  %37 = sext i32 %36 to i64
  %38 = icmp ne i64 %33, %37
  br i1 %38, label %39, label %45

39:                                               ; preds = %31
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = getelementptr inbounds %"class.sptk::MinimumPhaseImpulseResponseToCepstrum", ptr %15, i32 0, i32 2
  %42 = load i32, ptr %41, align 4, !tbaa !16
  %43 = add nsw i32 %42, 1
  %44 = sext i32 %43 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %44)
  br label %45

45:                                               ; preds = %39, %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #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 %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #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 %9, align 8, !tbaa !5
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  %51 = getelementptr inbounds double, ptr %50, i64 0
  %52 = load double, ptr %51, align 8, !tbaa !17
  %53 = call double @log(double noundef %52) #5
  %54 = load ptr, ptr %9, align 8, !tbaa !5
  %55 = getelementptr inbounds double, ptr %54, i64 0
  store double %53, ptr %55, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 1, ptr %10, align 4, !tbaa !19
  br label %56

56:                                               ; preds = %131, %45
  %57 = load i32, ptr %10, align 4, !tbaa !19
  %58 = getelementptr inbounds %"class.sptk::MinimumPhaseImpulseResponseToCepstrum", ptr %15, i32 0, i32 2
  %59 = load i32, ptr %58, align 4, !tbaa !16
  %60 = icmp sle i32 %57, %59
  br i1 %60, label %62, label %61

61:                                               ; preds = %56
  store i32 2, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %134

62:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  store double 0.000000e+00, ptr %12, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %63 = getelementptr inbounds %"class.sptk::MinimumPhaseImpulseResponseToCepstrum", ptr %15, i32 0, i32 1
  %64 = load i32, ptr %63, align 8, !tbaa !15
  %65 = load i32, ptr %10, align 4, !tbaa !19
  %66 = icmp slt i32 %64, %65
  br i1 %66, label %67, label %72

67:                                               ; preds = %62
  %68 = load i32, ptr %10, align 4, !tbaa !19
  %69 = getelementptr inbounds %"class.sptk::MinimumPhaseImpulseResponseToCepstrum", ptr %15, i32 0, i32 1
  %70 = load i32, ptr %69, align 8, !tbaa !15
  %71 = sub nsw i32 %68, %70
  br label %73

72:                                               ; preds = %62
  br label %73

73:                                               ; preds = %72, %67
  %74 = phi i32 [ %71, %67 ], [ 1, %72 ]
  store i32 %74, ptr %13, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %75 = load i32, ptr %13, align 4, !tbaa !19
  store i32 %75, ptr %14, align 4, !tbaa !19
  br label %76

76:                                               ; preds = %100, %73
  %77 = load i32, ptr %14, align 4, !tbaa !19
  %78 = load i32, ptr %10, align 4, !tbaa !19
  %79 = icmp slt i32 %77, %78
  br i1 %79, label %81, label %80

80:                                               ; preds = %76
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %103

81:                                               ; preds = %76
  %82 = load i32, ptr %14, align 4, !tbaa !19
  %83 = sitofp i32 %82 to double
  %84 = load ptr, ptr %9, align 8, !tbaa !5
  %85 = load i32, ptr %14, align 4, !tbaa !19
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds double, ptr %84, i64 %86
  %88 = load double, ptr %87, align 8, !tbaa !17
  %89 = fmul double %83, %88
  %90 = load ptr, ptr %8, align 8, !tbaa !5
  %91 = load i32, ptr %10, align 4, !tbaa !19
  %92 = load i32, ptr %14, align 4, !tbaa !19
  %93 = sub nsw i32 %91, %92
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds double, ptr %90, i64 %94
  %96 = load double, ptr %95, align 8, !tbaa !17
  %97 = load double, ptr %12, align 8, !tbaa !17
  %98 = fneg double %89
  %99 = call double @llvm.fmuladd.f64(double %98, double %96, double %97)
  store double %99, ptr %12, align 8, !tbaa !17
  br label %100

100:                                              ; preds = %81
  %101 = load i32, ptr %14, align 4, !tbaa !19
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %14, align 4, !tbaa !19
  br label %76, !llvm.loop !20

103:                                              ; preds = %80
  %104 = load i32, ptr %10, align 4, !tbaa !19
  %105 = getelementptr inbounds %"class.sptk::MinimumPhaseImpulseResponseToCepstrum", ptr %15, i32 0, i32 1
  %106 = load i32, ptr %105, align 8, !tbaa !15
  %107 = icmp sle i32 %104, %106
  br i1 %107, label %108, label %118

108:                                              ; preds = %103
  %109 = load i32, ptr %10, align 4, !tbaa !19
  %110 = sitofp i32 %109 to double
  %111 = load ptr, ptr %8, align 8, !tbaa !5
  %112 = load i32, ptr %10, align 4, !tbaa !19
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds double, ptr %111, i64 %113
  %115 = load double, ptr %114, align 8, !tbaa !17
  %116 = load double, ptr %12, align 8, !tbaa !17
  %117 = call double @llvm.fmuladd.f64(double %110, double %115, double %116)
  store double %117, ptr %12, align 8, !tbaa !17
  br label %118

118:                                              ; preds = %108, %103
  %119 = load double, ptr %12, align 8, !tbaa !17
  %120 = load i32, ptr %10, align 4, !tbaa !19
  %121 = sitofp i32 %120 to double
  %122 = load ptr, ptr %8, align 8, !tbaa !5
  %123 = getelementptr inbounds double, ptr %122, i64 0
  %124 = load double, ptr %123, align 8, !tbaa !17
  %125 = fmul double %121, %124
  %126 = fdiv double %119, %125
  %127 = load ptr, ptr %9, align 8, !tbaa !5
  %128 = load i32, ptr %10, align 4, !tbaa !19
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds double, ptr %127, i64 %129
  store double %126, ptr %130, align 8, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %131

131:                                              ; preds = %118
  %132 = load i32, ptr %10, align 4, !tbaa !19
  %133 = add nsw i32 %132, 1
  store i32 %133, ptr %10, align 4, !tbaa !19
  br label %56, !llvm.loop !22

134:                                              ; preds = %61
  store i1 true, ptr %4, align 1
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %135

135:                                              ; preds = %134, %30
  %136 = load i1, ptr %4, align 1
  ret i1 %136
}

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #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 = !{!"_ZTSN4sptk37MinimumPhaseImpulseResponseToCepstrumE", !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 = !{!18, !18, i64 0}
!18 = !{!"double", !7, i64 0}
!19 = !{!11, !11, 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 @_ZNK4sptk37MinimumPhaseImpulseResponseToCepstrum3RunERKSt6vectorIdSaIdEEPS3_(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 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #4
  %17 = getelementptr inbounds i8, ptr %0, i64 12
  %18 = load i32, ptr %17, align 4, !tbaa !14
  %19 = add nsw i32 %18, 1
  %20 = sext i32 %19 to i64
  %.not = icmp eq i64 %16, %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 %17, align 4, !tbaa !14
  %.not4145 = icmp slt i32 %27, 1
  br i1 %.not4145, label %.loopexit, label %.lr.ph48

.lr.ph48:                                         ; preds = %22
  %28 = load i32, ptr %9, align 8, !tbaa !13
  %29 = sext i32 %28 to i64
  %30 = add nuw i32 %27, 1
  %wide.trip.count53 = zext i32 %30 to i64
  br label %31

31:                                               ; preds = %.lr.ph48, %._crit_edge._crit_edge
  %indvar = phi i64 [ 0, %.lr.ph48 ], [ %indvar.next, %._crit_edge._crit_edge ]
  %indvars.iv50 = phi i64 [ 1, %.lr.ph48 ], [ %indvars.iv.next51, %._crit_edge._crit_edge ]
  %32 = icmp sgt i64 %indvars.iv50, %29
  %33 = trunc i64 %indvars.iv50 to i32
  %34 = sub i32 %33, %28
  %35 = sext i32 %34 to i64
  %36 = select i1 %32, i64 %35, i64 1
  %37 = icmp slt i64 %36, %indvars.iv50
  br i1 %37, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %31
  %38 = sub i64 %indvars.iv50, %36
  %xtraiter = and i64 %38, 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
  %39 = trunc nsw i64 %36 to i32
  %40 = sitofp i32 %39 to double
  %41 = getelementptr inbounds double, ptr %24, i64 %36
  %42 = load double, ptr %41, align 8, !tbaa !15
  %43 = sub nsw i64 %indvars.iv50, %36
  %44 = getelementptr inbounds double, ptr %23, i64 %43
  %45 = load double, ptr %44, align 8, !tbaa !15
  %46 = fneg double %42
  %47 = fmul double %40, %46
  %48 = tail call double @llvm.fmuladd.f64(double %47, double %45, double 0.000000e+00)
  %indvars.iv.next.prol = add nsw i64 %36, 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 ], [ %48, %.lr.ph.prol ]
  %indvars.iv.unr = phi i64 [ %36, %.lr.ph.preheader ], [ %indvars.iv.next.prol, %.lr.ph.prol ]
  %.03643.unr = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %48, %.lr.ph.prol ]
  %49 = icmp eq i64 %indvar, %36
  br i1 %49, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph.prol.loopexit, %.lr.ph, %31
  %.036.lcssa = phi double [ 0.000000e+00, %31 ], [ %.lcssa.unr, %.lr.ph.prol.loopexit ], [ %69, %.lr.ph ]
  %.pre = trunc nuw nsw i64 %indvars.iv50 to i32
  %.pre55 = uitofp nneg i32 %.pre to double
  br i1 %32, label %._crit_edge._crit_edge, label %70

.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 ]
  %.03643 = phi double [ %69, %.lr.ph ], [ %.03643.unr, %.lr.ph.prol.loopexit ]
  %50 = trunc nsw i64 %indvars.iv to i32
  %51 = sitofp i32 %50 to double
  %52 = getelementptr inbounds double, ptr %24, i64 %indvars.iv
  %53 = load double, ptr %52, align 8, !tbaa !15
  %54 = sub nsw i64 %indvars.iv50, %indvars.iv
  %55 = getelementptr inbounds double, ptr %23, i64 %54
  %56 = load double, ptr %55, align 8, !tbaa !15
  %57 = fneg double %53
  %58 = fmul double %51, %57
  %59 = tail call double @llvm.fmuladd.f64(double %58, double %56, double %.03643)
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %60 = trunc nsw i64 %indvars.iv.next to i32
  %61 = sitofp i32 %60 to double
  %62 = getelementptr inbounds double, ptr %24, i64 %indvars.iv.next
  %63 = load double, ptr %62, align 8, !tbaa !15
  %64 = sub nsw i64 %indvars.iv50, %indvars.iv.next
  %65 = getelementptr inbounds double, ptr %23, i64 %64
  %66 = load double, ptr %65, align 8, !tbaa !15
  %67 = fneg double %63
  %68 = fmul double %61, %67
  %69 = tail call double @llvm.fmuladd.f64(double %68, double %66, double %59)
  %indvars.iv.next.1 = add nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, %indvars.iv50
  br i1 %exitcond.not.1, label %._crit_edge, label %.lr.ph, !llvm.loop !17

70:                                               ; preds = %._crit_edge
  %71 = getelementptr inbounds double, ptr %23, i64 %indvars.iv50
  %72 = load double, ptr %71, align 8, !tbaa !15
  %73 = tail call double @llvm.fmuladd.f64(double %.pre55, double %72, double %.036.lcssa)
  br label %._crit_edge._crit_edge

._crit_edge._crit_edge:                           ; preds = %._crit_edge, %70
  %.1 = phi double [ %73, %70 ], [ %.036.lcssa, %._crit_edge ]
  %74 = load double, ptr %23, align 8, !tbaa !15
  %75 = fmul double %74, %.pre55
  %76 = fdiv double %.1, %75
  %77 = getelementptr inbounds double, ptr %24, i64 %indvars.iv50
  store double %76, ptr %77, align 8, !tbaa !15
  %indvars.iv.next51 = add nuw nsw i64 %indvars.iv50, 1
  %exitcond54.not = icmp eq i64 %indvars.iv.next51, %wide.trip.count53
  %indvar.next = add i64 %indvar, 1
  br i1 %exitcond54.not, label %.loopexit, label %31, !llvm.loop !19

.loopexit:                                        ; preds = %._crit_edge._crit_edge, %22, %3, %7
  %.035 = phi i1 [ false, %7 ], [ false, %3 ], [ true, %22 ], [ true, %._crit_edge._crit_edge ]
  ret i1 %.035
}

; 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 = !{!"_ZTSN4sptk37MinimumPhaseImpulseResponseToCepstrumE", !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: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass