; LLVM IR from FedericaPaoli1/stm32-speech-recognition-and-traduction :: Drivers/CMSIS/DSP/Source/SupportFunctions (arm_barycenter_f32)

; 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 @arm_barycenter_f32(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  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 i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  %18 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %18, ptr %14, align 4, !tbaa !9
  %19 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %19, ptr %15, align 4, !tbaa !9
  store float 0.000000e+00, ptr %16, align 4, !tbaa !11
  %20 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %20, ptr %12, align 8, !tbaa !5
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %21, ptr %11, align 8, !tbaa !5
  %22 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %22, ptr %15, align 4, !tbaa !9
  %23 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %23, ptr %13, align 8, !tbaa !5
  br label %24

24:                                               ; preds = %27, %5
  %25 = load i32, ptr %15, align 4, !tbaa !9
  %26 = icmp ugt i32 %25, 0
  br i1 %26, label %27, label %33

27:                                               ; preds = %24
  %28 = load ptr, ptr %13, align 8, !tbaa !5
  store float 0.000000e+00, ptr %28, align 4, !tbaa !11
  %29 = load ptr, ptr %13, align 8, !tbaa !5
  %30 = getelementptr inbounds float, ptr %29, i32 1
  store ptr %30, ptr %13, align 8, !tbaa !5
  %31 = load i32, ptr %15, align 4, !tbaa !9
  %32 = add i32 %31, -1
  store i32 %32, ptr %15, align 4, !tbaa !9
  br label %24, !llvm.loop !13

33:                                               ; preds = %24
  br label %34

34:                                               ; preds = %62, %33
  %35 = load i32, ptr %14, align 4, !tbaa !9
  %36 = icmp ugt i32 %35, 0
  br i1 %36, label %37, label %65

37:                                               ; preds = %34
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %38, ptr %13, align 8, !tbaa !5
  %39 = load ptr, ptr %12, align 8, !tbaa !5
  %40 = getelementptr inbounds float, ptr %39, i32 1
  store ptr %40, ptr %12, align 8, !tbaa !5
  %41 = load float, ptr %39, align 4, !tbaa !11
  store float %41, ptr %17, align 4, !tbaa !11
  %42 = load float, ptr %17, align 4, !tbaa !11
  %43 = load float, ptr %16, align 4, !tbaa !11
  %44 = fadd float %43, %42
  store float %44, ptr %16, align 4, !tbaa !11
  %45 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %45, ptr %15, align 4, !tbaa !9
  br label %46

46:                                               ; preds = %49, %37
  %47 = load i32, ptr %15, align 4, !tbaa !9
  %48 = icmp ugt i32 %47, 0
  br i1 %48, label %49, label %62

49:                                               ; preds = %46
  %50 = load ptr, ptr %13, align 8, !tbaa !5
  %51 = load float, ptr %50, align 4, !tbaa !11
  %52 = load ptr, ptr %11, align 8, !tbaa !5
  %53 = getelementptr inbounds float, ptr %52, i32 1
  store ptr %53, ptr %11, align 8, !tbaa !5
  %54 = load float, ptr %52, align 4, !tbaa !11
  %55 = load float, ptr %17, align 4, !tbaa !11
  %56 = call float @llvm.fmuladd.f32(float %54, float %55, float %51)
  %57 = load ptr, ptr %13, align 8, !tbaa !5
  store float %56, ptr %57, align 4, !tbaa !11
  %58 = load ptr, ptr %13, align 8, !tbaa !5
  %59 = getelementptr inbounds float, ptr %58, i32 1
  store ptr %59, ptr %13, align 8, !tbaa !5
  %60 = load i32, ptr %15, align 4, !tbaa !9
  %61 = add i32 %60, -1
  store i32 %61, ptr %15, align 4, !tbaa !9
  br label %46, !llvm.loop !15

62:                                               ; preds = %46
  %63 = load i32, ptr %14, align 4, !tbaa !9
  %64 = add i32 %63, -1
  store i32 %64, ptr %14, align 4, !tbaa !9
  br label %34, !llvm.loop !16

65:                                               ; preds = %34
  %66 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %66, ptr %15, align 4, !tbaa !9
  %67 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %67, ptr %13, align 8, !tbaa !5
  br label %68

68:                                               ; preds = %71, %65
  %69 = load i32, ptr %15, align 4, !tbaa !9
  %70 = icmp ugt i32 %69, 0
  br i1 %70, label %71, label %81

71:                                               ; preds = %68
  %72 = load ptr, ptr %13, align 8, !tbaa !5
  %73 = load float, ptr %72, align 4, !tbaa !11
  %74 = load float, ptr %16, align 4, !tbaa !11
  %75 = fdiv float %73, %74
  %76 = load ptr, ptr %13, align 8, !tbaa !5
  store float %75, ptr %76, align 4, !tbaa !11
  %77 = load ptr, ptr %13, align 8, !tbaa !5
  %78 = getelementptr inbounds float, ptr %77, i32 1
  store ptr %78, ptr %13, align 8, !tbaa !5
  %79 = load i32, ptr %15, align 4, !tbaa !9
  %80 = add i32 %79, -1
  store i32 %80, ptr %15, align 4, !tbaa !9
  br label %68, !llvm.loop !17

81:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  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 nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

; 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 nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}


; 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(readwrite, inaccessiblemem: none) uwtable
define dso_local void @arm_barycenter_f32(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
  %.not43 = icmp eq i32 %4, 0
  br i1 %.not43, label %.preheader42, label %.preheader42.thread

.preheader42:                                     ; preds = %5
  %.not3951 = icmp eq i32 %3, 0
  br i1 %.not3951, label %.preheader, label %.lr.ph56.split.us.preheader

.lr.ph56.split.us.preheader:                      ; preds = %.preheader42
  %xtraiter111 = and i32 %3, 7
  %lcmp.mod112.not = icmp eq i32 %xtraiter111, 0
  br i1 %lcmp.mod112.not, label %.lr.ph56.split.us.prol.loopexit, label %.lr.ph56.split.us.prol

.lr.ph56.split.us.prol:                           ; preds = %.lr.ph56.split.us.preheader, %.lr.ph56.split.us.prol
  %.03154.us.prol = phi float [ %8, %.lr.ph56.split.us.prol ], [ 0.000000e+00, %.lr.ph56.split.us.preheader ]
  %.03453.us.prol = phi i32 [ %9, %.lr.ph56.split.us.prol ], [ %3, %.lr.ph56.split.us.preheader ]
  %.03852.us.prol = phi ptr [ %6, %.lr.ph56.split.us.prol ], [ %1, %.lr.ph56.split.us.preheader ]
  %prol.iter113 = phi i32 [ %prol.iter113.next, %.lr.ph56.split.us.prol ], [ 0, %.lr.ph56.split.us.preheader ]
  %6 = getelementptr inbounds i8, ptr %.03852.us.prol, i64 4
  %7 = load float, ptr %.03852.us.prol, align 4, !tbaa !5
  %8 = fadd float %.03154.us.prol, %7
  %9 = add i32 %.03453.us.prol, -1
  %prol.iter113.next = add i32 %prol.iter113, 1
  %prol.iter113.cmp.not = icmp eq i32 %prol.iter113.next, %xtraiter111
  br i1 %prol.iter113.cmp.not, label %.lr.ph56.split.us.prol.loopexit, label %.lr.ph56.split.us.prol, !llvm.loop !9

.lr.ph56.split.us.prol.loopexit:                  ; preds = %.lr.ph56.split.us.prol, %.lr.ph56.split.us.preheader
  %.lcssa.unr = phi float [ poison, %.lr.ph56.split.us.preheader ], [ %8, %.lr.ph56.split.us.prol ]
  %.03154.us.unr = phi float [ 0.000000e+00, %.lr.ph56.split.us.preheader ], [ %8, %.lr.ph56.split.us.prol ]
  %.03453.us.unr = phi i32 [ %3, %.lr.ph56.split.us.preheader ], [ %9, %.lr.ph56.split.us.prol ]
  %.03852.us.unr = phi ptr [ %1, %.lr.ph56.split.us.preheader ], [ %6, %.lr.ph56.split.us.prol ]
  %10 = icmp ult i32 %3, 8
  br i1 %10, label %.preheader, label %.lr.ph56.split.us

.preheader42.thread:                              ; preds = %5
  %11 = zext i32 %4 to i64
  %12 = shl nuw nsw i64 %11, 2
  tail call void @llvm.memset.p0.i64(ptr align 4 %2, i8 0, i64 %12, i1 false), !tbaa !5
  %.not395166 = icmp eq i32 %3, 0
  br i1 %.not395166, label %.lr.ph61.preheader, label %.lr.ph50.preheader

.lr.ph50.preheader:                               ; preds = %.preheader42.thread
  %13 = add i32 %4, -1
  %14 = zext i32 %13 to i64
  %15 = shl nuw nsw i64 %14, 2
  %16 = add nuw nsw i64 %15, 4
  %scevgep = getelementptr i8, ptr %2, i64 %16
  %17 = zext i32 %4 to i64
  %min.iters.check = icmp ult i32 %4, 8
  %n.vec = and i64 %17, 4294967288
  %18 = shl nuw nsw i64 %n.vec, 2
  %.cast = trunc nuw i64 %n.vec to i32
  %ind.end76 = sub i32 %4, %.cast
  %19 = shl nuw nsw i64 %n.vec, 2
  %ind.end78 = getelementptr i8, ptr %2, i64 %19
  %cmp.n = icmp eq i64 %n.vec, %17
  br label %.lr.ph50

.lr.ph56.split.us:                                ; preds = %.lr.ph56.split.us.prol.loopexit, %.lr.ph56.split.us
  %.03154.us = phi float [ %43, %.lr.ph56.split.us ], [ %.03154.us.unr, %.lr.ph56.split.us.prol.loopexit ]
  %.03453.us = phi i32 [ %44, %.lr.ph56.split.us ], [ %.03453.us.unr, %.lr.ph56.split.us.prol.loopexit ]
  %.03852.us = phi ptr [ %41, %.lr.ph56.split.us ], [ %.03852.us.unr, %.lr.ph56.split.us.prol.loopexit ]
  %20 = getelementptr inbounds i8, ptr %.03852.us, i64 4
  %21 = load float, ptr %.03852.us, align 4, !tbaa !5
  %22 = fadd float %.03154.us, %21
  %23 = getelementptr inbounds i8, ptr %.03852.us, i64 8
  %24 = load float, ptr %20, align 4, !tbaa !5
  %25 = fadd float %22, %24
  %26 = getelementptr inbounds i8, ptr %.03852.us, i64 12
  %27 = load float, ptr %23, align 4, !tbaa !5
  %28 = fadd float %25, %27
  %29 = getelementptr inbounds i8, ptr %.03852.us, i64 16
  %30 = load float, ptr %26, align 4, !tbaa !5
  %31 = fadd float %28, %30
  %32 = getelementptr inbounds i8, ptr %.03852.us, i64 20
  %33 = load float, ptr %29, align 4, !tbaa !5
  %34 = fadd float %31, %33
  %35 = getelementptr inbounds i8, ptr %.03852.us, i64 24
  %36 = load float, ptr %32, align 4, !tbaa !5
  %37 = fadd float %34, %36
  %38 = getelementptr inbounds i8, ptr %.03852.us, i64 28
  %39 = load float, ptr %35, align 4, !tbaa !5
  %40 = fadd float %37, %39
  %41 = getelementptr inbounds i8, ptr %.03852.us, i64 32
  %42 = load float, ptr %38, align 4, !tbaa !5
  %43 = fadd float %40, %42
  %44 = add i32 %.03453.us, -8
  %.not39.us.7 = icmp eq i32 %44, 0
  br i1 %.not39.us.7, label %.preheader, label %.lr.ph56.split.us, !llvm.loop !11

.preheader:                                       ; preds = %._crit_edge, %.lr.ph56.split.us.prol.loopexit, %.lr.ph56.split.us, %.preheader42
  %.031.lcssa = phi float [ 0.000000e+00, %.preheader42 ], [ %.lcssa.unr, %.lr.ph56.split.us.prol.loopexit ], [ %43, %.lr.ph56.split.us ], [ %87, %._crit_edge ]
  br i1 %.not43, label %._crit_edge62, label %.lr.ph61.preheader

.lr.ph61.preheader:                               ; preds = %.preheader42.thread, %.preheader
  %.031.lcssa68 = phi float [ %.031.lcssa, %.preheader ], [ 0.000000e+00, %.preheader42.thread ]
  %45 = add i32 %4, -1
  %46 = zext i32 %45 to i64
  %47 = add nuw nsw i64 %46, 1
  %min.iters.check89 = icmp ult i32 %45, 3
  br i1 %min.iters.check89, label %.lr.ph61.preheader107, label %vector.ph90

.lr.ph61.preheader107:                            ; preds = %middle.block87, %.lr.ph61.preheader
  %.260.ph = phi i32 [ %4, %.lr.ph61.preheader ], [ %ind.end94, %middle.block87 ]
  %.23759.ph = phi ptr [ %2, %.lr.ph61.preheader ], [ %ind.end96, %middle.block87 ]
  br label %.lr.ph61

vector.ph90:                                      ; preds = %.lr.ph61.preheader
  %n.vec92 = and i64 %47, 8589934588
  %.cast93 = trunc i64 %n.vec92 to i32
  %ind.end94 = sub i32 %4, %.cast93
  %48 = shl nuw nsw i64 %n.vec92, 2
  %ind.end96 = getelementptr i8, ptr %2, i64 %48
  %broadcast.splatinsert103 = insertelement <4 x float> poison, float %.031.lcssa68, i64 0
  %broadcast.splat104 = shufflevector <4 x float> %broadcast.splatinsert103, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body98

vector.body98:                                    ; preds = %vector.body98, %vector.ph90
  %index99 = phi i64 [ 0, %vector.ph90 ], [ %index.next105, %vector.body98 ]
  %offset.idx100 = shl i64 %index99, 2
  %next.gep101 = getelementptr i8, ptr %2, i64 %offset.idx100
  %wide.load102 = load <4 x float>, ptr %next.gep101, align 4, !tbaa !5
  %49 = fdiv <4 x float> %wide.load102, %broadcast.splat104
  store <4 x float> %49, ptr %next.gep101, align 4, !tbaa !5
  %index.next105 = add nuw i64 %index99, 4
  %50 = icmp eq i64 %index.next105, %n.vec92
  br i1 %50, label %middle.block87, label %vector.body98, !llvm.loop !13

middle.block87:                                   ; preds = %vector.body98
  %cmp.n106 = icmp eq i64 %47, %n.vec92
  br i1 %cmp.n106, label %._crit_edge62, label %.lr.ph61.preheader107

.lr.ph50:                                         ; preds = %.lr.ph50.preheader, %._crit_edge
  %.055 = phi ptr [ %.lcssa73, %._crit_edge ], [ %0, %.lr.ph50.preheader ]
  %.03154 = phi float [ %87, %._crit_edge ], [ 0.000000e+00, %.lr.ph50.preheader ]
  %.03453 = phi i32 [ %88, %._crit_edge ], [ %3, %.lr.ph50.preheader ]
  %.03852 = phi ptr [ %86, %._crit_edge ], [ %1, %.lr.ph50.preheader ]
  %51 = load float, ptr %.03852, align 4, !tbaa !5
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.memcheck

vector.memcheck:                                  ; preds = %.lr.ph50
  %scevgep75 = getelementptr i8, ptr %.055, i64 %16
  %bound0 = icmp ugt ptr %scevgep75, %2
  %bound1 = icmp ult ptr %.055, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %ind.end = getelementptr i8, ptr %.055, i64 %18
  %broadcast.splatinsert = insertelement <4 x float> poison, float %51, i64 0
  %broadcast.splat = shufflevector <4 x float> %broadcast.splatinsert, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = shl i64 %index, 2
  %next.gep = getelementptr i8, ptr %.055, i64 %offset.idx
  %offset.idx81 = shl i64 %index, 2
  %next.gep82 = getelementptr i8, ptr %2, i64 %offset.idx81
  %52 = getelementptr i8, ptr %next.gep82, i64 16
  %wide.load = load <4 x float>, ptr %next.gep82, align 4, !tbaa !5, !alias.scope !16, !noalias !19
  %wide.load84 = load <4 x float>, ptr %52, align 4, !tbaa !5, !alias.scope !16, !noalias !19
  %53 = getelementptr i8, ptr %next.gep, i64 16
  %wide.load85 = load <4 x float>, ptr %next.gep, align 4, !tbaa !5, !alias.scope !19
  %wide.load86 = load <4 x float>, ptr %53, align 4, !tbaa !5, !alias.scope !19
  %54 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %wide.load85, <4 x float> %broadcast.splat, <4 x float> %wide.load)
  %55 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %wide.load86, <4 x float> %broadcast.splat, <4 x float> %wide.load84)
  store <4 x float> %54, ptr %next.gep82, align 4, !tbaa !5, !alias.scope !16, !noalias !19
  store <4 x float> %55, ptr %52, align 4, !tbaa !5, !alias.scope !16, !noalias !19
  %index.next = add nuw i64 %index, 8
  %56 = icmp eq i64 %index.next, %n.vec
  br i1 %56, label %middle.block, label %vector.body, !llvm.loop !21

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %.lr.ph50
  %.149.ph = phi ptr [ %.055, %vector.memcheck ], [ %.055, %.lr.ph50 ], [ %ind.end, %middle.block ]
  %.13348.ph = phi i32 [ %4, %vector.memcheck ], [ %4, %.lr.ph50 ], [ %ind.end76, %middle.block ]
  %.13647.ph = phi ptr [ %2, %vector.memcheck ], [ %2, %.lr.ph50 ], [ %ind.end78, %middle.block ]
  %57 = add i32 %.13348.ph, -1
  %xtraiter = and i32 %.13348.ph, 3
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader, %scalar.ph.prol
  %.149.prol = phi ptr [ %59, %scalar.ph.prol ], [ %.149.ph, %scalar.ph.preheader ]
  %.13348.prol = phi i32 [ %63, %scalar.ph.prol ], [ %.13348.ph, %scalar.ph.preheader ]
  %.13647.prol = phi ptr [ %62, %scalar.ph.prol ], [ %.13647.ph, %scalar.ph.preheader ]
  %prol.iter = phi i32 [ %prol.iter.next, %scalar.ph.prol ], [ 0, %scalar.ph.preheader ]
  %58 = load float, ptr %.13647.prol, align 4, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %.149.prol, i64 4
  %60 = load float, ptr %.149.prol, align 4, !tbaa !5
  %61 = tail call float @llvm.fmuladd.f32(float %60, float %51, float %58)
  store float %61, ptr %.13647.prol, align 4, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %.13647.prol, i64 4
  %63 = add i32 %.13348.prol, -1
  %prol.iter.next = add i32 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i32 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol, !llvm.loop !22

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %.lcssa109.unr = phi ptr [ poison, %scalar.ph.preheader ], [ %59, %scalar.ph.prol ]
  %.149.unr = phi ptr [ %.149.ph, %scalar.ph.preheader ], [ %59, %scalar.ph.prol ]
  %.13348.unr = phi i32 [ %.13348.ph, %scalar.ph.preheader ], [ %63, %scalar.ph.prol ]
  %.13647.unr = phi ptr [ %.13647.ph, %scalar.ph.preheader ], [ %62, %scalar.ph.prol ]
  %64 = icmp ult i32 %57, 3
  br i1 %64, label %._crit_edge, label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %.149 = phi ptr [ %81, %scalar.ph ], [ %.149.unr, %scalar.ph.prol.loopexit ]
  %.13348 = phi i32 [ %85, %scalar.ph ], [ %.13348.unr, %scalar.ph.prol.loopexit ]
  %.13647 = phi ptr [ %84, %scalar.ph ], [ %.13647.unr, %scalar.ph.prol.loopexit ]
  %65 = load float, ptr %.13647, align 4, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %.149, i64 4
  %67 = load float, ptr %.149, align 4, !tbaa !5
  %68 = tail call float @llvm.fmuladd.f32(float %67, float %51, float %65)
  store float %68, ptr %.13647, align 4, !tbaa !5
  %69 = getelementptr inbounds i8, ptr %.13647, i64 4
  %70 = load float, ptr %69, align 4, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %.149, i64 8
  %72 = load float, ptr %66, align 4, !tbaa !5
  %73 = tail call float @llvm.fmuladd.f32(float %72, float %51, float %70)
  store float %73, ptr %69, align 4, !tbaa !5
  %74 = getelementptr inbounds i8, ptr %.13647, i64 8
  %75 = load float, ptr %74, align 4, !tbaa !5
  %76 = getelementptr inbounds i8, ptr %.149, i64 12
  %77 = load float, ptr %71, align 4, !tbaa !5
  %78 = tail call float @llvm.fmuladd.f32(float %77, float %51, float %75)
  store float %78, ptr %74, align 4, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %.13647, i64 12
  %80 = load float, ptr %79, align 4, !tbaa !5
  %81 = getelementptr inbounds i8, ptr %.149, i64 16
  %82 = load float, ptr %76, align 4, !tbaa !5
  %83 = tail call float @llvm.fmuladd.f32(float %82, float %51, float %80)
  store float %83, ptr %79, align 4, !tbaa !5
  %84 = getelementptr inbounds i8, ptr %.13647, i64 16
  %85 = add i32 %.13348, -4
  %.not41.3 = icmp eq i32 %85, 0
  br i1 %.not41.3, label %._crit_edge, label %scalar.ph, !llvm.loop !23

._crit_edge:                                      ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block
  %.lcssa73 = phi ptr [ %ind.end, %middle.block ], [ %.lcssa109.unr, %scalar.ph.prol.loopexit ], [ %81, %scalar.ph ]
  %86 = getelementptr inbounds i8, ptr %.03852, i64 4
  %87 = fadd float %.03154, %51
  %88 = add i32 %.03453, -1
  %.not39 = icmp eq i32 %88, 0
  br i1 %.not39, label %.preheader, label %.lr.ph50, !llvm.loop !11

.lr.ph61:                                         ; preds = %.lr.ph61.preheader107, %.lr.ph61
  %.260 = phi i32 [ %92, %.lr.ph61 ], [ %.260.ph, %.lr.ph61.preheader107 ]
  %.23759 = phi ptr [ %91, %.lr.ph61 ], [ %.23759.ph, %.lr.ph61.preheader107 ]
  %89 = load float, ptr %.23759, align 4, !tbaa !5
  %90 = fdiv float %89, %.031.lcssa68
  store float %90, ptr %.23759, align 4, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %.23759, i64 4
  %92 = add i32 %.260, -1
  %.not40 = icmp eq i32 %92, 0
  br i1 %.not40, label %._crit_edge62, label %.lr.ph61, !llvm.loop !24

._crit_edge62:                                    ; preds = %.lr.ph61, %middle.block87, %.preheader
  ret void
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #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 <4 x float> @llvm.fmuladd.v4f32(<4 x float>, <4 x float>, <4 x float>) #3

attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) 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 speculatable willreturn memory(none) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.unroll.disable"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12, !14, !15}
!14 = !{!"llvm.loop.isvectorized", i32 1}
!15 = !{!"llvm.loop.unroll.runtime.disable"}
!16 = !{!17}
!17 = distinct !{!17, !18}
!18 = distinct !{!18, !"LVerDomain"}
!19 = !{!20}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !12, !14, !15}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !12, !14}
!24 = distinct !{!24, !12, !15, !14}


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