; LLVM IR from FOSS-UCSC/FOSSALGO :: algorithms/ar-lreg/c (linear_regression)

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

@.str = external hidden unnamed_addr constant [23 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [45 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca [50 x float], align 16
  %5 = alloca [50 x float], align 16
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 200, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 200, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store float 0.000000e+00, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store float 0.000000e+00, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store float 0.000000e+00, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store float 0.000000e+00, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %13 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %2)
  %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  store i32 1, ptr %3, align 4, !tbaa !9
  br label %15

15:                                               ; preds = %32, %0
  %16 = load i32, ptr %3, align 4, !tbaa !9
  %17 = load i32, ptr %2, align 4, !tbaa !9
  %18 = icmp sle i32 %16, %17
  br i1 %18, label %19, label %35

19:                                               ; preds = %15
  %20 = load i32, ptr %3, align 4, !tbaa !9
  %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %20)
  %22 = load i32, ptr %3, align 4, !tbaa !9
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [50 x float], ptr %4, i64 0, i64 %23
  %25 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.4, ptr noundef %24)
  %26 = load i32, ptr %3, align 4, !tbaa !9
  %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %26)
  %28 = load i32, ptr %3, align 4, !tbaa !9
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [50 x float], ptr %5, i64 0, i64 %29
  %31 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.4, ptr noundef %30)
  br label %32

32:                                               ; preds = %19
  %33 = load i32, ptr %3, align 4, !tbaa !9
  %34 = add nsw i32 %33, 1
  store i32 %34, ptr %3, align 4, !tbaa !9
  br label %15, !llvm.loop !11

35:                                               ; preds = %15
  store i32 1, ptr %3, align 4, !tbaa !9
  br label %36

36:                                               ; preds = %73, %35
  %37 = load i32, ptr %3, align 4, !tbaa !9
  %38 = load i32, ptr %2, align 4, !tbaa !9
  %39 = icmp sle i32 %37, %38
  br i1 %39, label %40, label %76

40:                                               ; preds = %36
  %41 = load float, ptr %6, align 4, !tbaa !5
  %42 = load i32, ptr %3, align 4, !tbaa !9
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [50 x float], ptr %4, i64 0, i64 %43
  %45 = load float, ptr %44, align 4, !tbaa !5
  %46 = fadd float %41, %45
  store float %46, ptr %6, align 4, !tbaa !5
  %47 = load float, ptr %7, align 4, !tbaa !5
  %48 = load i32, ptr %3, align 4, !tbaa !9
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [50 x float], ptr %4, i64 0, i64 %49
  %51 = load float, ptr %50, align 4, !tbaa !5
  %52 = load i32, ptr %3, align 4, !tbaa !9
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [50 x float], ptr %4, i64 0, i64 %53
  %55 = load float, ptr %54, align 4, !tbaa !5
  %56 = call float @llvm.fmuladd.f32(float %51, float %55, float %47)
  store float %56, ptr %7, align 4, !tbaa !5
  %57 = load float, ptr %8, align 4, !tbaa !5
  %58 = load i32, ptr %3, align 4, !tbaa !9
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [50 x float], ptr %5, i64 0, i64 %59
  %61 = load float, ptr %60, align 4, !tbaa !5
  %62 = fadd float %57, %61
  store float %62, ptr %8, align 4, !tbaa !5
  %63 = load float, ptr %9, align 4, !tbaa !5
  %64 = load i32, ptr %3, align 4, !tbaa !9
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [50 x float], ptr %4, i64 0, i64 %65
  %67 = load float, ptr %66, align 4, !tbaa !5
  %68 = load i32, ptr %3, align 4, !tbaa !9
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [50 x float], ptr %5, i64 0, i64 %69
  %71 = load float, ptr %70, align 4, !tbaa !5
  %72 = call float @llvm.fmuladd.f32(float %67, float %71, float %63)
  store float %72, ptr %9, align 4, !tbaa !5
  br label %73

73:                                               ; preds = %40
  %74 = load i32, ptr %3, align 4, !tbaa !9
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %3, align 4, !tbaa !9
  br label %36, !llvm.loop !13

76:                                               ; preds = %36
  %77 = load i32, ptr %2, align 4, !tbaa !9
  %78 = sitofp i32 %77 to float
  %79 = load float, ptr %9, align 4, !tbaa !5
  %80 = load float, ptr %6, align 4, !tbaa !5
  %81 = load float, ptr %8, align 4, !tbaa !5
  %82 = fmul float %80, %81
  %83 = fneg float %82
  %84 = call float @llvm.fmuladd.f32(float %78, float %79, float %83)
  %85 = load i32, ptr %2, align 4, !tbaa !9
  %86 = sitofp i32 %85 to float
  %87 = load float, ptr %7, align 4, !tbaa !5
  %88 = load float, ptr %6, align 4, !tbaa !5
  %89 = load float, ptr %6, align 4, !tbaa !5
  %90 = fmul float %88, %89
  %91 = fneg float %90
  %92 = call float @llvm.fmuladd.f32(float %86, float %87, float %91)
  %93 = fdiv float %84, %92
  store float %93, ptr %11, align 4, !tbaa !5
  %94 = load float, ptr %8, align 4, !tbaa !5
  %95 = load float, ptr %11, align 4, !tbaa !5
  %96 = load float, ptr %6, align 4, !tbaa !5
  %97 = fneg float %95
  %98 = call float @llvm.fmuladd.f32(float %97, float %96, float %94)
  %99 = load i32, ptr %2, align 4, !tbaa !9
  %100 = sitofp i32 %99 to float
  %101 = fdiv float %98, %100
  store float %101, ptr %10, align 4, !tbaa !5
  %102 = load float, ptr %10, align 4, !tbaa !5
  %103 = fpext float %102 to double
  %104 = load float, ptr %11, align 4, !tbaa !5
  %105 = fpext float %104 to double
  %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %103, double noundef %105)
  %107 = load float, ptr %10, align 4, !tbaa !5
  %108 = fpext float %107 to double
  %109 = load float, ptr %11, align 4, !tbaa !5
  %110 = fpext float %109 to double
  %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %108, double noundef %110)
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 200, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 200, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  ret i32 0
}

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

declare i32 @printf(ptr noundef, ...) #2

declare i32 @__isoc99_scanf(ptr noundef, ...) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #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 = { "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 = !{!"float", !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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


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

@.str = external hidden unnamed_addr constant [23 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [45 x i8], align 1

; Function Attrs: nofree nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  %2 = alloca [50 x float], align 16
  %3 = alloca [50 x float], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %3) #5
  %4 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %5 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %1)
  %6 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %7 = load i32, ptr %1, align 4, !tbaa !5
  %.not36 = icmp slt i32 %7, 1
  br i1 %.not36, label %._crit_edge, label %.lr.ph

.preheader:                                       ; preds = %.lr.ph
  %.not3538 = icmp slt i32 %17, 1
  br i1 %.not3538, label %._crit_edge, label %.lr.ph44.preheader

.lr.ph44.preheader:                               ; preds = %.preheader
  %8 = zext nneg i32 %17 to i64
  %xtraiter = and i64 %8, 1
  %9 = icmp eq i32 %17, 1
  br i1 %9, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph44.preheader.new

.lr.ph44.preheader.new:                           ; preds = %.lr.ph44.preheader
  %unroll_iter = and i64 %8, 2147483646
  br label %.lr.ph44

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %0 ]
  %10 = trunc nuw nsw i64 %indvars.iv to i32
  %11 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %10)
  %12 = getelementptr inbounds [50 x float], ptr %2, i64 0, i64 %indvars.iv
  %13 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.4, ptr noundef nonnull %12)
  %14 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %10)
  %15 = getelementptr inbounds [50 x float], ptr %3, i64 0, i64 %indvars.iv
  %16 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.4, ptr noundef nonnull %15)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %17 = load i32, ptr %1, align 4, !tbaa !5
  %18 = sext i32 %17 to i64
  %.not.not = icmp slt i64 %indvars.iv, %18
  br i1 %.not.not, label %.lr.ph, label %.preheader, !llvm.loop !9

.lr.ph44:                                         ; preds = %.lr.ph44, %.lr.ph44.preheader.new
  %indvars.iv55 = phi i64 [ 1, %.lr.ph44.preheader.new ], [ %indvars.iv.next56.1, %.lr.ph44 ]
  %19 = phi <2 x float> [ zeroinitializer, %.lr.ph44.preheader.new ], [ %38, %.lr.ph44 ]
  %20 = phi <2 x float> [ zeroinitializer, %.lr.ph44.preheader.new ], [ %36, %.lr.ph44 ]
  %niter = phi i64 [ 0, %.lr.ph44.preheader.new ], [ %niter.next.1, %.lr.ph44 ]
  %21 = getelementptr inbounds [50 x float], ptr %2, i64 0, i64 %indvars.iv55
  %22 = load float, ptr %21, align 4, !tbaa !11
  %23 = getelementptr inbounds [50 x float], ptr %3, i64 0, i64 %indvars.iv55
  %24 = load float, ptr %23, align 4, !tbaa !11
  %25 = insertelement <2 x float> poison, float %22, i64 0
  %26 = insertelement <2 x float> %25, float %24, i64 1
  %27 = fadd <2 x float> %20, %26
  %28 = shufflevector <2 x float> %25, <2 x float> poison, <2 x i32> zeroinitializer
  %29 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %28, <2 x float> %26, <2 x float> %19)
  %indvars.iv.next56 = add nuw nsw i64 %indvars.iv55, 1
  %30 = getelementptr inbounds [50 x float], ptr %2, i64 0, i64 %indvars.iv.next56
  %31 = load float, ptr %30, align 4, !tbaa !11
  %32 = getelementptr inbounds [50 x float], ptr %3, i64 0, i64 %indvars.iv.next56
  %33 = load float, ptr %32, align 4, !tbaa !11
  %34 = insertelement <2 x float> poison, float %31, i64 0
  %35 = insertelement <2 x float> %34, float %33, i64 1
  %36 = fadd <2 x float> %27, %35
  %37 = shufflevector <2 x float> %34, <2 x float> poison, <2 x i32> zeroinitializer
  %38 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %37, <2 x float> %35, <2 x float> %29)
  %indvars.iv.next56.1 = add nuw nsw i64 %indvars.iv55, 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 %._crit_edge.loopexit.unr-lcssa, label %.lr.ph44, !llvm.loop !13

._crit_edge.loopexit.unr-lcssa:                   ; preds = %.lr.ph44, %.lr.ph44.preheader
  %.lcssa69.ph = phi <2 x float> [ poison, %.lr.ph44.preheader ], [ %36, %.lr.ph44 ]
  %.lcssa.ph = phi <2 x float> [ poison, %.lr.ph44.preheader ], [ %38, %.lr.ph44 ]
  %indvars.iv55.unr = phi i64 [ 1, %.lr.ph44.preheader ], [ %indvars.iv.next56.1, %.lr.ph44 ]
  %.unr = phi <2 x float> [ zeroinitializer, %.lr.ph44.preheader ], [ %38, %.lr.ph44 ]
  %.unr71 = phi <2 x float> [ zeroinitializer, %.lr.ph44.preheader ], [ %36, %.lr.ph44 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph44.epil

.lr.ph44.epil:                                    ; preds = %._crit_edge.loopexit.unr-lcssa
  %39 = getelementptr inbounds [50 x float], ptr %2, i64 0, i64 %indvars.iv55.unr
  %40 = load float, ptr %39, align 4, !tbaa !11
  %41 = getelementptr inbounds [50 x float], ptr %3, i64 0, i64 %indvars.iv55.unr
  %42 = load float, ptr %41, align 4, !tbaa !11
  %43 = insertelement <2 x float> poison, float %40, i64 0
  %44 = insertelement <2 x float> %43, float %42, i64 1
  %45 = fadd <2 x float> %.unr71, %44
  %46 = shufflevector <2 x float> %43, <2 x float> poison, <2 x i32> zeroinitializer
  %47 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %46, <2 x float> %44, <2 x float> %.unr)
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph44.epil, %._crit_edge.loopexit.unr-lcssa, %0, %.preheader
  %.lcssa60 = phi i32 [ %17, %.preheader ], [ %7, %0 ], [ %17, %._crit_edge.loopexit.unr-lcssa ], [ %17, %.lr.ph44.epil ]
  %48 = phi <2 x float> [ zeroinitializer, %.preheader ], [ zeroinitializer, %0 ], [ %.lcssa.ph, %._crit_edge.loopexit.unr-lcssa ], [ %47, %.lr.ph44.epil ]
  %49 = phi <2 x float> [ zeroinitializer, %.preheader ], [ zeroinitializer, %0 ], [ %.lcssa69.ph, %._crit_edge.loopexit.unr-lcssa ], [ %45, %.lr.ph44.epil ]
  %50 = sitofp i32 %.lcssa60 to float
  %51 = extractelement <2 x float> %49, i64 0
  %52 = fneg float %51
  %53 = insertelement <2 x float> poison, float %52, i64 0
  %54 = shufflevector <2 x float> %53, <2 x float> poison, <2 x i32> zeroinitializer
  %55 = fmul <2 x float> %49, %54
  %56 = insertelement <2 x float> poison, float %50, i64 0
  %57 = shufflevector <2 x float> %56, <2 x float> poison, <2 x i32> zeroinitializer
  %58 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %57, <2 x float> %48, <2 x float> %55)
  %59 = extractelement <2 x float> %58, i64 0
  %60 = extractelement <2 x float> %58, i64 1
  %61 = fdiv float %60, %59
  %62 = fneg float %61
  %63 = extractelement <2 x float> %49, i64 1
  %64 = call float @llvm.fmuladd.f32(float %62, float %51, float %63)
  %65 = fdiv float %64, %50
  %66 = fpext float %65 to double
  %67 = fpext float %61 to double
  %68 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, double noundef %66, double noundef %67)
  %69 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, double noundef %66, double noundef %67)
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #5
  ret i32 0
}

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

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

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


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