; LLVM IR from cpuimage/cpuimagelib :: cpuimage (CPUImageContrastFilter)

; 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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #0

; 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 willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.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: nounwind uwtable
define dso_local void @CPUImageContrastFilter(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, float noundef %5) #3 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca float, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca [256 x i8], align 16
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store i32 %2, ptr %9, align 4, !tbaa !9
  store i32 %3, ptr %10, align 4, !tbaa !9
  store i32 %4, ptr %11, align 4, !tbaa !9
  store float %5, ptr %12, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %21 = load i32, ptr %11, align 4, !tbaa !9
  %22 = load i32, ptr %9, align 4, !tbaa !9
  %23 = sdiv i32 %21, %22
  store i32 %23, ptr %13, align 4, !tbaa !9
  %24 = load i32, ptr %13, align 4, !tbaa !9
  %25 = icmp eq i32 %24, 1
  br i1 %25, label %26, label %27

26:                                               ; preds = %6
  store i32 1, ptr %14, align 4
  br label %130

27:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 256, ptr %15) #4
  call void @llvm.memset.p0.i64(ptr align 16 %15, i8 0, i64 256, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %28

28:                                               ; preds = %62, %27
  %29 = load i32, ptr %16, align 4, !tbaa !9
  %30 = icmp slt i32 %29, 256
  br i1 %30, label %32, label %31

31:                                               ; preds = %28
  store i32 2, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %65

32:                                               ; preds = %28
  %33 = load i32, ptr %16, align 4, !tbaa !9
  %34 = sub nsw i32 %33, 127
  %35 = sitofp i32 %34 to float
  %36 = load float, ptr %12, align 4, !tbaa !11
  %37 = call float @llvm.fmuladd.f32(float %35, float %36, float 1.270000e+02)
  %38 = fptosi float %37 to i32
  %39 = icmp ult i32 %38, 255
  br i1 %39, label %40, label %46

40:                                               ; preds = %32
  %41 = load i32, ptr %16, align 4, !tbaa !9
  %42 = sub nsw i32 %41, 127
  %43 = sitofp i32 %42 to float
  %44 = load float, ptr %12, align 4, !tbaa !11
  %45 = call float @llvm.fmuladd.f32(float %43, float %44, float 1.270000e+02)
  br label %56

46:                                               ; preds = %32
  %47 = load i32, ptr %16, align 4, !tbaa !9
  %48 = sub nsw i32 %47, 127
  %49 = sitofp i32 %48 to float
  %50 = load float, ptr %12, align 4, !tbaa !11
  %51 = call float @llvm.fmuladd.f32(float %49, float %50, float 1.270000e+02)
  %52 = fcmp olt float %51, 0.000000e+00
  %53 = zext i1 %52 to i64
  %54 = select i1 %52, i32 0, i32 255
  %55 = sitofp i32 %54 to float
  br label %56

56:                                               ; preds = %46, %40
  %57 = phi float [ %45, %40 ], [ %55, %46 ]
  %58 = fptoui float %57 to i8
  %59 = load i32, ptr %16, align 4, !tbaa !9
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %60
  store i8 %58, ptr %61, align 1, !tbaa !13
  br label %62

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

65:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %66

66:                                               ; preds = %126, %65
  %67 = load i32, ptr %17, align 4, !tbaa !9
  %68 = load i32, ptr %10, align 4, !tbaa !9
  %69 = icmp slt i32 %67, %68
  br i1 %69, label %71, label %70

70:                                               ; preds = %66
  store i32 5, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  br label %129

71:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %72 = load ptr, ptr %8, align 8, !tbaa !5
  %73 = load i32, ptr %17, align 4, !tbaa !9
  %74 = load i32, ptr %11, align 4, !tbaa !9
  %75 = mul nsw i32 %73, %74
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds i8, ptr %72, i64 %76
  store ptr %77, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = load i32, ptr %17, align 4, !tbaa !9
  %80 = load i32, ptr %11, align 4, !tbaa !9
  %81 = mul nsw i32 %79, %80
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds i8, ptr %78, i64 %82
  store ptr %83, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %84

84:                                               ; preds = %122, %71
  %85 = load i32, ptr %20, align 4, !tbaa !9
  %86 = load i32, ptr %9, align 4, !tbaa !9
  %87 = icmp slt i32 %85, %86
  br i1 %87, label %89, label %88

88:                                               ; preds = %84
  store i32 8, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %125

89:                                               ; preds = %84
  %90 = load ptr, ptr %19, align 8, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %90, i64 0
  %92 = load i8, ptr %91, align 1, !tbaa !13
  %93 = zext i8 %92 to i64
  %94 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %93
  %95 = load i8, ptr %94, align 1, !tbaa !13
  %96 = load ptr, ptr %18, align 8, !tbaa !5
  %97 = getelementptr inbounds i8, ptr %96, i64 0
  store i8 %95, ptr %97, align 1, !tbaa !13
  %98 = load ptr, ptr %19, align 8, !tbaa !5
  %99 = getelementptr inbounds i8, ptr %98, i64 1
  %100 = load i8, ptr %99, align 1, !tbaa !13
  %101 = zext i8 %100 to i64
  %102 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %101
  %103 = load i8, ptr %102, align 1, !tbaa !13
  %104 = load ptr, ptr %18, align 8, !tbaa !5
  %105 = getelementptr inbounds i8, ptr %104, i64 1
  store i8 %103, ptr %105, align 1, !tbaa !13
  %106 = load ptr, ptr %19, align 8, !tbaa !5
  %107 = getelementptr inbounds i8, ptr %106, i64 2
  %108 = load i8, ptr %107, align 1, !tbaa !13
  %109 = zext i8 %108 to i64
  %110 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 %109
  %111 = load i8, ptr %110, align 1, !tbaa !13
  %112 = load ptr, ptr %18, align 8, !tbaa !5
  %113 = getelementptr inbounds i8, ptr %112, i64 2
  store i8 %111, ptr %113, align 1, !tbaa !13
  %114 = load i32, ptr %13, align 4, !tbaa !9
  %115 = load ptr, ptr %19, align 8, !tbaa !5
  %116 = sext i32 %114 to i64
  %117 = getelementptr inbounds i8, ptr %115, i64 %116
  store ptr %117, ptr %19, align 8, !tbaa !5
  %118 = load i32, ptr %13, align 4, !tbaa !9
  %119 = load ptr, ptr %18, align 8, !tbaa !5
  %120 = sext i32 %118 to i64
  %121 = getelementptr inbounds i8, ptr %119, i64 %120
  store ptr %121, ptr %18, align 8, !tbaa !5
  br label %122

122:                                              ; preds = %89
  %123 = load i32, ptr %20, align 4, !tbaa !9
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr %20, align 4, !tbaa !9
  br label %84, !llvm.loop !16

125:                                              ; preds = %88
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  br label %126

126:                                              ; preds = %125
  %127 = load i32, ptr %17, align 4, !tbaa !9
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %17, align 4, !tbaa !9
  br label %66, !llvm.loop !17

129:                                              ; preds = %70
  call void @llvm.lifetime.end.p0(i64 256, ptr %15) #4
  store i32 0, ptr %14, align 4
  br label %130

130:                                              ; preds = %129, %26
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  %131 = load i32, ptr %14, align 4
  switch i32 %131, label %133 [
    i32 0, label %132
    i32 1, label %132
  ]

132:                                              ; preds = %130, %130
  ret void

133:                                              ; preds = %130
  unreachable
}

attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 #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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}


; 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

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

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

; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define dso_local void @CPUImageContrastFilter(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, float noundef %5) local_unnamed_addr #2 {
  %7 = alloca [256 x i8], align 16
  %8 = sdiv i32 %4, %2
  %9 = icmp eq i32 %8, 1
  br i1 %9, label %81, label %vector.ph

vector.ph:                                        ; preds = %6
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %7) #4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(256) %7, i8 0, i64 256, i1 false)
  %broadcast.splatinsert = insertelement <16 x float> poison, float %5, i64 0
  %broadcast.splat = shufflevector <16 x float> %broadcast.splatinsert, <16 x float> poison, <16 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.ind = phi <16 x i32> [ <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %10 = add <16 x i32> %vec.ind, <i32 -127, i32 -127, i32 -127, i32 -127, i32 -127, i32 -127, i32 -127, i32 -127, i32 -127, i32 -127, i32 -127, i32 -127, i32 -127, i32 -127, i32 -127, i32 -127>
  %11 = sitofp <16 x i32> %10 to <16 x float>
  %12 = tail call <16 x float> @llvm.fmuladd.v16f32(<16 x float> %11, <16 x float> %broadcast.splat, <16 x float> <float 1.270000e+02, float 1.270000e+02, float 1.270000e+02, float 1.270000e+02, float 1.270000e+02, float 1.270000e+02, float 1.270000e+02, float 1.270000e+02, float 1.270000e+02, float 1.270000e+02, float 1.270000e+02, float 1.270000e+02, float 1.270000e+02, float 1.270000e+02, float 1.270000e+02, float 1.270000e+02>)
  %13 = fptosi <16 x float> %12 to <16 x i32>
  %14 = icmp ult <16 x i32> %13, <i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255>
  %15 = fcmp olt <16 x float> %12, zeroinitializer
  %16 = select <16 x i1> %15, <16 x float> zeroinitializer, <16 x float> <float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02>
  %17 = select <16 x i1> %14, <16 x float> %12, <16 x float> %16
  %18 = fptoui <16 x float> %17 to <16 x i8>
  %19 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %index
  store <16 x i8> %18, ptr %19, align 16, !tbaa !5
  %index.next = add nuw i64 %index, 16
  %vec.ind.next = add <16 x i32> %vec.ind, <i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16>
  %20 = icmp eq i64 %index.next, 256
  br i1 %20, label %.preheader, label %vector.body, !llvm.loop !8

.preheader:                                       ; preds = %vector.body
  %21 = icmp sgt i32 %3, 0
  br i1 %21, label %.lr.ph43, label %._crit_edge44

.lr.ph43:                                         ; preds = %.preheader
  %22 = icmp sgt i32 %2, 0
  %23 = sext i32 %8 to i64
  br i1 %22, label %.lr.ph.us.preheader, label %._crit_edge44

.lr.ph.us.preheader:                              ; preds = %.lr.ph43
  %24 = sext i32 %4 to i64
  %wide.trip.count = zext nneg i32 %3 to i64
  %xtraiter = and i32 %2, 1
  %25 = icmp eq i32 %2, 1
  %unroll_iter = and i32 %2, 2147483646
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br label %.lr.ph.us

.lr.ph.us:                                        ; preds = %.lr.ph.us.preheader, %._crit_edge.us
  %indvars.iv48 = phi i64 [ 0, %.lr.ph.us.preheader ], [ %indvars.iv.next49, %._crit_edge.us ]
  %26 = mul nsw i64 %indvars.iv48, %24
  %27 = getelementptr inbounds i8, ptr %1, i64 %26
  %28 = getelementptr inbounds i8, ptr %0, i64 %26
  br i1 %25, label %._crit_edge.us.unr-lcssa, label %.lr.ph.us.new

.lr.ph.us.new:                                    ; preds = %.lr.ph.us, %.lr.ph.us.new
  %.03340.us = phi ptr [ %63, %.lr.ph.us.new ], [ %28, %.lr.ph.us ]
  %.03439.us = phi ptr [ %64, %.lr.ph.us.new ], [ %27, %.lr.ph.us ]
  %niter = phi i32 [ %niter.next.1, %.lr.ph.us.new ], [ 0, %.lr.ph.us ]
  %29 = load i8, ptr %.03340.us, align 1, !tbaa !5
  %30 = zext i8 %29 to i64
  %31 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %30
  %32 = load i8, ptr %31, align 1, !tbaa !5
  store i8 %32, ptr %.03439.us, align 1, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %.03340.us, i64 1
  %34 = load i8, ptr %33, align 1, !tbaa !5
  %35 = zext i8 %34 to i64
  %36 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %35
  %37 = load i8, ptr %36, align 1, !tbaa !5
  %38 = getelementptr inbounds i8, ptr %.03439.us, i64 1
  store i8 %37, ptr %38, align 1, !tbaa !5
  %39 = getelementptr inbounds i8, ptr %.03340.us, i64 2
  %40 = load i8, ptr %39, align 1, !tbaa !5
  %41 = zext i8 %40 to i64
  %42 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %41
  %43 = load i8, ptr %42, align 1, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %.03439.us, i64 2
  store i8 %43, ptr %44, align 1, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %.03340.us, i64 %23
  %46 = getelementptr inbounds i8, ptr %.03439.us, i64 %23
  %47 = load i8, ptr %45, align 1, !tbaa !5
  %48 = zext i8 %47 to i64
  %49 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %48
  %50 = load i8, ptr %49, align 1, !tbaa !5
  store i8 %50, ptr %46, align 1, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %45, i64 1
  %52 = load i8, ptr %51, align 1, !tbaa !5
  %53 = zext i8 %52 to i64
  %54 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %53
  %55 = load i8, ptr %54, align 1, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %46, i64 1
  store i8 %55, ptr %56, align 1, !tbaa !5
  %57 = getelementptr inbounds i8, ptr %45, i64 2
  %58 = load i8, ptr %57, align 1, !tbaa !5
  %59 = zext i8 %58 to i64
  %60 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %59
  %61 = load i8, ptr %60, align 1, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %46, i64 2
  store i8 %61, ptr %62, align 1, !tbaa !5
  %63 = getelementptr inbounds i8, ptr %45, i64 %23
  %64 = getelementptr inbounds i8, ptr %46, i64 %23
  %niter.next.1 = add i32 %niter, 2
  %niter.ncmp.1 = icmp eq i32 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.us.unr-lcssa, label %.lr.ph.us.new, !llvm.loop !12

._crit_edge.us.unr-lcssa:                         ; preds = %.lr.ph.us.new, %.lr.ph.us
  %.03340.us.unr = phi ptr [ %28, %.lr.ph.us ], [ %63, %.lr.ph.us.new ]
  %.03439.us.unr = phi ptr [ %27, %.lr.ph.us ], [ %64, %.lr.ph.us.new ]
  br i1 %lcmp.mod.not, label %._crit_edge.us, label %._crit_edge.us.epilog-lcssa

._crit_edge.us.epilog-lcssa:                      ; preds = %._crit_edge.us.unr-lcssa
  %65 = load i8, ptr %.03340.us.unr, align 1, !tbaa !5
  %66 = zext i8 %65 to i64
  %67 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %66
  %68 = load i8, ptr %67, align 1, !tbaa !5
  store i8 %68, ptr %.03439.us.unr, align 1, !tbaa !5
  %69 = getelementptr inbounds i8, ptr %.03340.us.unr, i64 1
  %70 = load i8, ptr %69, align 1, !tbaa !5
  %71 = zext i8 %70 to i64
  %72 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %71
  %73 = load i8, ptr %72, align 1, !tbaa !5
  %74 = getelementptr inbounds i8, ptr %.03439.us.unr, i64 1
  store i8 %73, ptr %74, align 1, !tbaa !5
  %75 = getelementptr inbounds i8, ptr %.03340.us.unr, i64 2
  %76 = load i8, ptr %75, align 1, !tbaa !5
  %77 = zext i8 %76 to i64
  %78 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %77
  %79 = load i8, ptr %78, align 1, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %.03439.us.unr, i64 2
  store i8 %79, ptr %80, align 1, !tbaa !5
  br label %._crit_edge.us

._crit_edge.us:                                   ; preds = %._crit_edge.us.unr-lcssa, %._crit_edge.us.epilog-lcssa
  %indvars.iv.next49 = add nuw nsw i64 %indvars.iv48, 1
  %exitcond51.not = icmp eq i64 %indvars.iv.next49, %wide.trip.count
  br i1 %exitcond51.not, label %._crit_edge44, label %.lr.ph.us, !llvm.loop !13

._crit_edge44:                                    ; preds = %._crit_edge.us, %.lr.ph43, %.preheader
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %7) #4
  br label %81

81:                                               ; preds = %6, %._crit_edge44
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <16 x float> @llvm.fmuladd.v16f32(<16 x float>, <16 x float>, <16 x float>) #3

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


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