; LLVM IR from glaretechnologies/substrata :: opus/opus-1.3.1/silk/float (warped_autocorrelation_FLP)

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

; Function Attrs: nounwind uwtable
define dso_local void @silk_warped_autocorrelation_FLP(ptr noundef %0, ptr noundef %1, float noundef %2, i32 noundef %3, i32 noundef %4) #0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca float, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca [25 x double], align 16
  %16 = alloca [25 x double], align 16
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store float %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !11
  store i32 %4, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 200, ptr %15) #4
  call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 200, i1 false)
  call void @llvm.lifetime.start.p0(i64 200, ptr %16) #4
  call void @llvm.memset.p0.i64(ptr align 16 %16, i8 0, i64 200, i1 false)
  store i32 0, ptr %11, align 4, !tbaa !11
  br label %17

17:                                               ; preds = %104, %5
  %18 = load i32, ptr %11, align 4, !tbaa !11
  %19 = load i32, ptr %9, align 4, !tbaa !11
  %20 = icmp slt i32 %18, %19
  br i1 %20, label %21, label %107

21:                                               ; preds = %17
  %22 = load ptr, ptr %7, align 8, !tbaa !5
  %23 = load i32, ptr %11, align 4, !tbaa !11
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds float, ptr %22, i64 %24
  %26 = load float, ptr %25, align 4, !tbaa !9
  %27 = fpext float %26 to double
  store double %27, ptr %13, align 8, !tbaa !13
  store i32 0, ptr %12, align 4, !tbaa !11
  br label %28

28:                                               ; preds = %88, %21
  %29 = load i32, ptr %12, align 4, !tbaa !11
  %30 = load i32, ptr %10, align 4, !tbaa !11
  %31 = icmp slt i32 %29, %30
  br i1 %31, label %32, label %91

32:                                               ; preds = %28
  %33 = load i32, ptr %12, align 4, !tbaa !11
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [25 x double], ptr %15, i64 0, i64 %34
  %36 = load double, ptr %35, align 8, !tbaa !13
  %37 = load float, ptr %8, align 4, !tbaa !9
  %38 = fpext float %37 to double
  %39 = load i32, ptr %12, align 4, !tbaa !11
  %40 = add nsw i32 %39, 1
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [25 x double], ptr %15, i64 0, i64 %41
  %43 = load double, ptr %42, align 8, !tbaa !13
  %44 = load double, ptr %13, align 8, !tbaa !13
  %45 = fsub double %43, %44
  %46 = call double @llvm.fmuladd.f64(double %38, double %45, double %36)
  store double %46, ptr %14, align 8, !tbaa !13
  %47 = load double, ptr %13, align 8, !tbaa !13
  %48 = load i32, ptr %12, align 4, !tbaa !11
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [25 x double], ptr %15, i64 0, i64 %49
  store double %47, ptr %50, align 8, !tbaa !13
  %51 = getelementptr inbounds [25 x double], ptr %15, i64 0, i64 0
  %52 = load double, ptr %51, align 16, !tbaa !13
  %53 = load double, ptr %13, align 8, !tbaa !13
  %54 = load i32, ptr %12, align 4, !tbaa !11
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [25 x double], ptr %16, i64 0, i64 %55
  %57 = load double, ptr %56, align 8, !tbaa !13
  %58 = call double @llvm.fmuladd.f64(double %52, double %53, double %57)
  store double %58, ptr %56, align 8, !tbaa !13
  %59 = load i32, ptr %12, align 4, !tbaa !11
  %60 = add nsw i32 %59, 1
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [25 x double], ptr %15, i64 0, i64 %61
  %63 = load double, ptr %62, align 8, !tbaa !13
  %64 = load float, ptr %8, align 4, !tbaa !9
  %65 = fpext float %64 to double
  %66 = load i32, ptr %12, align 4, !tbaa !11
  %67 = add nsw i32 %66, 2
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [25 x double], ptr %15, i64 0, i64 %68
  %70 = load double, ptr %69, align 8, !tbaa !13
  %71 = load double, ptr %14, align 8, !tbaa !13
  %72 = fsub double %70, %71
  %73 = call double @llvm.fmuladd.f64(double %65, double %72, double %63)
  store double %73, ptr %13, align 8, !tbaa !13
  %74 = load double, ptr %14, align 8, !tbaa !13
  %75 = load i32, ptr %12, align 4, !tbaa !11
  %76 = add nsw i32 %75, 1
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [25 x double], ptr %15, i64 0, i64 %77
  store double %74, ptr %78, align 8, !tbaa !13
  %79 = getelementptr inbounds [25 x double], ptr %15, i64 0, i64 0
  %80 = load double, ptr %79, align 16, !tbaa !13
  %81 = load double, ptr %14, align 8, !tbaa !13
  %82 = load i32, ptr %12, align 4, !tbaa !11
  %83 = add nsw i32 %82, 1
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [25 x double], ptr %16, i64 0, i64 %84
  %86 = load double, ptr %85, align 8, !tbaa !13
  %87 = call double @llvm.fmuladd.f64(double %80, double %81, double %86)
  store double %87, ptr %85, align 8, !tbaa !13
  br label %88

88:                                               ; preds = %32
  %89 = load i32, ptr %12, align 4, !tbaa !11
  %90 = add nsw i32 %89, 2
  store i32 %90, ptr %12, align 4, !tbaa !11
  br label %28, !llvm.loop !15

91:                                               ; preds = %28
  %92 = load double, ptr %13, align 8, !tbaa !13
  %93 = load i32, ptr %10, align 4, !tbaa !11
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [25 x double], ptr %15, i64 0, i64 %94
  store double %92, ptr %95, align 8, !tbaa !13
  %96 = getelementptr inbounds [25 x double], ptr %15, i64 0, i64 0
  %97 = load double, ptr %96, align 16, !tbaa !13
  %98 = load double, ptr %13, align 8, !tbaa !13
  %99 = load i32, ptr %10, align 4, !tbaa !11
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [25 x double], ptr %16, i64 0, i64 %100
  %102 = load double, ptr %101, align 8, !tbaa !13
  %103 = call double @llvm.fmuladd.f64(double %97, double %98, double %102)
  store double %103, ptr %101, align 8, !tbaa !13
  br label %104

104:                                              ; preds = %91
  %105 = load i32, ptr %11, align 4, !tbaa !11
  %106 = add nsw i32 %105, 1
  store i32 %106, ptr %11, align 4, !tbaa !11
  br label %17, !llvm.loop !17

107:                                              ; preds = %17
  store i32 0, ptr %12, align 4, !tbaa !11
  br label %108

108:                                              ; preds = %123, %107
  %109 = load i32, ptr %12, align 4, !tbaa !11
  %110 = load i32, ptr %10, align 4, !tbaa !11
  %111 = add nsw i32 %110, 1
  %112 = icmp slt i32 %109, %111
  br i1 %112, label %113, label %126

113:                                              ; preds = %108
  %114 = load i32, ptr %12, align 4, !tbaa !11
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [25 x double], ptr %16, i64 0, i64 %115
  %117 = load double, ptr %116, align 8, !tbaa !13
  %118 = fptrunc double %117 to float
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  %120 = load i32, ptr %12, align 4, !tbaa !11
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds float, ptr %119, i64 %121
  store float %118, ptr %122, align 4, !tbaa !9
  br label %123

123:                                              ; preds = %113
  %124 = load i32, ptr %12, align 4, !tbaa !11
  %125 = add nsw i32 %124, 1
  store i32 %125, ptr %12, align 4, !tbaa !11
  br label %108, !llvm.loop !18

126:                                              ; preds = %108
  call void @llvm.lifetime.end.p0(i64 200, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 200, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  ret void
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

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

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}


; 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: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable
define dso_local void @silk_warped_autocorrelation_FLP(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, float noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
  %6 = alloca [25 x double], align 16
  %7 = alloca [25 x double], align 16
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %6) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(200) %6, i8 0, i64 200, i1 false)
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %7) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(200) %7, i8 0, i64 200, i1 false)
  %8 = icmp sgt i32 %3, 0
  br i1 %8, label %.lr.ph40, label %.preheader

.lr.ph40:                                         ; preds = %5
  %9 = icmp sgt i32 %4, 0
  %10 = fpext float %2 to double
  %11 = sext i32 %4 to i64
  %12 = getelementptr inbounds [25 x double], ptr %6, i64 0, i64 %11
  %13 = getelementptr inbounds [25 x double], ptr %7, i64 0, i64 %11
  br i1 %9, label %.lr.ph.us.preheader, label %.lr.ph40.split

.lr.ph.us.preheader:                              ; preds = %.lr.ph40
  %wide.trip.count51 = zext nneg i32 %3 to i64
  br label %.lr.ph.us

.lr.ph.us:                                        ; preds = %.lr.ph.us.preheader, %._crit_edge.us
  %14 = phi double [ 0.000000e+00, %.lr.ph.us.preheader ], [ %38, %._crit_edge.us ]
  %indvars.iv48 = phi i64 [ 0, %.lr.ph.us.preheader ], [ %indvars.iv.next49, %._crit_edge.us ]
  %15 = getelementptr inbounds float, ptr %1, i64 %indvars.iv48
  %16 = load float, ptr %15, align 4, !tbaa !5
  %17 = fpext float %16 to double
  br label %18

18:                                               ; preds = %.lr.ph.us, %18
  %19 = phi double [ %14, %.lr.ph.us ], [ %29, %18 ]
  %indvars.iv45 = phi i64 [ 0, %.lr.ph.us ], [ %indvars.iv.next46, %18 ]
  %.03337.us = phi double [ %17, %.lr.ph.us ], [ %31, %18 ]
  %20 = getelementptr inbounds [25 x double], ptr %6, i64 0, i64 %indvars.iv45
  %21 = or disjoint i64 %indvars.iv45, 1
  %22 = getelementptr inbounds [25 x double], ptr %6, i64 0, i64 %21
  %23 = load double, ptr %22, align 8, !tbaa !9
  %24 = fsub double %23, %.03337.us
  %25 = tail call double @llvm.fmuladd.f64(double %10, double %24, double %19)
  store double %.03337.us, ptr %20, align 16, !tbaa !9
  %26 = load <2 x double>, ptr %6, align 16
  %27 = getelementptr inbounds [25 x double], ptr %7, i64 0, i64 %indvars.iv45
  %indvars.iv.next46 = add nuw nsw i64 %indvars.iv45, 2
  %28 = getelementptr inbounds [25 x double], ptr %6, i64 0, i64 %indvars.iv.next46
  %29 = load double, ptr %28, align 16, !tbaa !9
  %30 = fsub double %29, %25
  %31 = tail call double @llvm.fmuladd.f64(double %10, double %30, double %23)
  store double %25, ptr %22, align 8, !tbaa !9
  %32 = load <2 x double>, ptr %27, align 16, !tbaa !9
  %33 = shufflevector <2 x double> %26, <2 x double> poison, <2 x i32> zeroinitializer
  %34 = insertelement <2 x double> poison, double %.03337.us, i64 0
  %35 = insertelement <2 x double> %34, double %25, i64 1
  %36 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %33, <2 x double> %35, <2 x double> %32)
  store <2 x double> %36, ptr %27, align 16, !tbaa !9
  %37 = icmp slt i64 %indvars.iv.next46, %11
  br i1 %37, label %18, label %._crit_edge.us, !llvm.loop !11

._crit_edge.us:                                   ; preds = %18
  store double %31, ptr %12, align 8, !tbaa !9
  %38 = load double, ptr %6, align 16, !tbaa !9
  %39 = load double, ptr %13, align 8, !tbaa !9
  %40 = tail call double @llvm.fmuladd.f64(double %38, double %31, double %39)
  store double %40, ptr %13, align 8, !tbaa !9
  %indvars.iv.next49 = add nuw nsw i64 %indvars.iv48, 1
  %exitcond52.not = icmp eq i64 %indvars.iv.next49, %wide.trip.count51
  br i1 %exitcond52.not, label %.preheader, label %.lr.ph.us, !llvm.loop !13

.lr.ph40.split:                                   ; preds = %.lr.ph40
  %.promoted = load double, ptr %13, align 8, !tbaa !9
  %wide.trip.count = zext nneg i32 %3 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %41 = icmp eq i32 %3, 1
  br i1 %41, label %..preheader_crit_edge.split.unr-lcssa, label %.lr.ph40.split.new

.lr.ph40.split.new:                               ; preds = %.lr.ph40.split
  %unroll_iter = and i64 %wide.trip.count, 2147483646
  br label %55

..preheader_crit_edge.split.unr-lcssa:            ; preds = %55, %.lr.ph40.split
  %.lcssa62.ph = phi double [ poison, %.lr.ph40.split ], [ %66, %55 ]
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph40.split ], [ %indvars.iv.next.1, %55 ]
  %.unr = phi double [ %.promoted, %.lr.ph40.split ], [ %66, %55 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %..preheader_crit_edge.split, label %..preheader_crit_edge.split.epilog-lcssa

..preheader_crit_edge.split.epilog-lcssa:         ; preds = %..preheader_crit_edge.split.unr-lcssa
  %42 = getelementptr inbounds float, ptr %1, i64 %indvars.iv.unr
  %43 = load float, ptr %42, align 4, !tbaa !5
  %44 = fpext float %43 to double
  store double %44, ptr %12, align 8, !tbaa !9
  %45 = load double, ptr %6, align 16, !tbaa !9
  %46 = tail call double @llvm.fmuladd.f64(double %45, double %44, double %.unr)
  br label %..preheader_crit_edge.split

..preheader_crit_edge.split:                      ; preds = %..preheader_crit_edge.split.unr-lcssa, %..preheader_crit_edge.split.epilog-lcssa
  %.lcssa62 = phi double [ %.lcssa62.ph, %..preheader_crit_edge.split.unr-lcssa ], [ %46, %..preheader_crit_edge.split.epilog-lcssa ]
  store double %.lcssa62, ptr %13, align 8, !tbaa !9
  br label %.preheader

.preheader:                                       ; preds = %._crit_edge.us, %..preheader_crit_edge.split, %5
  %.not41 = icmp slt i32 %4, 0
  br i1 %.not41, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.preheader
  %47 = add nuw i32 %4, 1
  %wide.trip.count56 = zext i32 %47 to i64
  %min.iters.check = icmp ult i32 %4, 3
  br i1 %min.iters.check, label %.lr.ph.preheader61, label %vector.ph

.lr.ph.preheader61:                               ; preds = %middle.block, %.lr.ph.preheader
  %indvars.iv53.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %wide.trip.count56, 4294967292
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %48 = getelementptr inbounds [25 x double], ptr %7, i64 0, i64 %index
  %49 = getelementptr inbounds i8, ptr %48, i64 16
  %wide.load = load <2 x double>, ptr %48, align 16, !tbaa !9
  %wide.load60 = load <2 x double>, ptr %49, align 16, !tbaa !9
  %50 = fptrunc <2 x double> %wide.load to <2 x float>
  %51 = fptrunc <2 x double> %wide.load60 to <2 x float>
  %52 = getelementptr inbounds float, ptr %0, i64 %index
  %53 = getelementptr inbounds i8, ptr %52, i64 8
  store <2 x float> %50, ptr %52, align 4, !tbaa !5
  store <2 x float> %51, ptr %53, align 4, !tbaa !5
  %index.next = add nuw i64 %index, 4
  %54 = icmp eq i64 %index.next, %n.vec
  br i1 %54, label %middle.block, label %vector.body, !llvm.loop !14

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count56
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader61

55:                                               ; preds = %55, %.lr.ph40.split.new
  %indvars.iv = phi i64 [ 0, %.lr.ph40.split.new ], [ %indvars.iv.next.1, %55 ]
  %56 = phi double [ %.promoted, %.lr.ph40.split.new ], [ %66, %55 ]
  %niter = phi i64 [ 0, %.lr.ph40.split.new ], [ %niter.next.1, %55 ]
  %57 = getelementptr inbounds float, ptr %1, i64 %indvars.iv
  %58 = load float, ptr %57, align 4, !tbaa !5
  %59 = fpext float %58 to double
  store double %59, ptr %12, align 8, !tbaa !9
  %60 = load double, ptr %6, align 16, !tbaa !9
  %61 = tail call double @llvm.fmuladd.f64(double %60, double %59, double %56)
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %62 = getelementptr inbounds float, ptr %1, i64 %indvars.iv.next
  %63 = load float, ptr %62, align 4, !tbaa !5
  %64 = fpext float %63 to double
  store double %64, ptr %12, align 8, !tbaa !9
  %65 = load double, ptr %6, align 16, !tbaa !9
  %66 = tail call double @llvm.fmuladd.f64(double %65, double %64, double %61)
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %..preheader_crit_edge.split.unr-lcssa, label %55, !llvm.loop !13

.lr.ph:                                           ; preds = %.lr.ph.preheader61, %.lr.ph
  %indvars.iv53 = phi i64 [ %indvars.iv.next54, %.lr.ph ], [ %indvars.iv53.ph, %.lr.ph.preheader61 ]
  %67 = getelementptr inbounds [25 x double], ptr %7, i64 0, i64 %indvars.iv53
  %68 = load double, ptr %67, align 8, !tbaa !9
  %69 = fptrunc double %68 to float
  %70 = getelementptr inbounds float, ptr %0, i64 %indvars.iv53
  store float %69, ptr %70, align 4, !tbaa !5
  %indvars.iv.next54 = add nuw nsw i64 %indvars.iv53, 1
  %exitcond57.not = icmp eq i64 %indvars.iv.next54, %wide.trip.count56
  br i1 %exitcond57.not, label %._crit_edge, label %.lr.ph, !llvm.loop !17

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %.preheader
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %6) #5
  ret void
}

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #4

attributes #0 = { nofree norecurse nosync nounwind memory(argmem: readwrite) 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12, !15, !16}
!15 = !{!"llvm.loop.isvectorized", i32 1}
!16 = !{!"llvm.loop.unroll.runtime.disable"}
!17 = distinct !{!17, !12, !16, !15}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass