; LLVM IR from niuyishuai/PDCABB :: LAPACK_BLAS/LAPACK (dlarfg)

; 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 [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @dlarfg_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca double, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, 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 ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  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 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  %21 = load ptr, ptr %9, align 8, !tbaa !5
  %22 = getelementptr inbounds double, ptr %21, i32 -1
  store ptr %22, ptr %9, align 8, !tbaa !5
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  %24 = load i64, ptr %23, align 8, !tbaa !9
  %25 = icmp sle i64 %24, 1
  br i1 %25, label %26, label %28

26:                                               ; preds = %5
  %27 = load ptr, ptr %11, align 8, !tbaa !5
  store double 0.000000e+00, ptr %27, align 8, !tbaa !11
  store i32 0, ptr %6, align 4
  store i32 1, ptr %20, align 4
  br label %141

28:                                               ; preds = %5
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = load i64, ptr %29, align 8, !tbaa !9
  %31 = sub nsw i64 %30, 1
  store i64 %31, ptr %12, align 8, !tbaa !9
  %32 = load ptr, ptr %9, align 8, !tbaa !5
  %33 = getelementptr inbounds double, ptr %32, i64 1
  %34 = load ptr, ptr %10, align 8, !tbaa !5
  %35 = call double @f2c_dnrm2(ptr noundef %12, ptr noundef %33, ptr noundef %34)
  store double %35, ptr %17, align 8, !tbaa !11
  %36 = load double, ptr %17, align 8, !tbaa !11
  %37 = fcmp oeq double %36, 0.000000e+00
  br i1 %37, label %38, label %40

38:                                               ; preds = %28
  %39 = load ptr, ptr %11, align 8, !tbaa !5
  store double 0.000000e+00, ptr %39, align 8, !tbaa !11
  br label %140

40:                                               ; preds = %28
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  %42 = call double @dlapy2_(ptr noundef %41, ptr noundef %17)
  store double %42, ptr %13, align 8, !tbaa !11
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = call double @d_sign(ptr noundef %13, ptr noundef %43)
  %45 = fneg double %44
  store double %45, ptr %16, align 8, !tbaa !11
  %46 = call double @dlamch_(ptr noundef @.str)
  %47 = call double @dlamch_(ptr noundef @.str.1)
  %48 = fdiv double %46, %47
  store double %48, ptr %18, align 8, !tbaa !11
  store i64 0, ptr %15, align 8, !tbaa !9
  %49 = load double, ptr %16, align 8, !tbaa !11
  %50 = fcmp oge double %49, 0.000000e+00
  br i1 %50, label %51, label %53

51:                                               ; preds = %40
  %52 = load double, ptr %16, align 8, !tbaa !11
  br label %56

53:                                               ; preds = %40
  %54 = load double, ptr %16, align 8, !tbaa !11
  %55 = fneg double %54
  br label %56

56:                                               ; preds = %53, %51
  %57 = phi double [ %52, %51 ], [ %55, %53 ]
  %58 = load double, ptr %18, align 8, !tbaa !11
  %59 = fcmp olt double %57, %58
  br i1 %59, label %60, label %105

60:                                               ; preds = %56
  %61 = load double, ptr %18, align 8, !tbaa !11
  %62 = fdiv double 1.000000e+00, %61
  store double %62, ptr %19, align 8, !tbaa !11
  br label %63

63:                                               ; preds = %91, %60
  %64 = load i64, ptr %15, align 8, !tbaa !9
  %65 = add nsw i64 %64, 1
  store i64 %65, ptr %15, align 8, !tbaa !9
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = load i64, ptr %66, align 8, !tbaa !9
  %68 = sub nsw i64 %67, 1
  store i64 %68, ptr %12, align 8, !tbaa !9
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  %70 = getelementptr inbounds double, ptr %69, i64 1
  %71 = load ptr, ptr %10, align 8, !tbaa !5
  %72 = call i32 @f2c_dscal(ptr noundef %12, ptr noundef %19, ptr noundef %70, ptr noundef %71)
  %73 = load double, ptr %19, align 8, !tbaa !11
  %74 = load double, ptr %16, align 8, !tbaa !11
  %75 = fmul double %74, %73
  store double %75, ptr %16, align 8, !tbaa !11
  %76 = load double, ptr %19, align 8, !tbaa !11
  %77 = load ptr, ptr %8, align 8, !tbaa !5
  %78 = load double, ptr %77, align 8, !tbaa !11
  %79 = fmul double %78, %76
  store double %79, ptr %77, align 8, !tbaa !11
  %80 = load double, ptr %16, align 8, !tbaa !11
  %81 = fcmp oge double %80, 0.000000e+00
  br i1 %81, label %82, label %84

82:                                               ; preds = %63
  %83 = load double, ptr %16, align 8, !tbaa !11
  br label %87

84:                                               ; preds = %63
  %85 = load double, ptr %16, align 8, !tbaa !11
  %86 = fneg double %85
  br label %87

87:                                               ; preds = %84, %82
  %88 = phi double [ %83, %82 ], [ %86, %84 ]
  %89 = load double, ptr %18, align 8, !tbaa !11
  %90 = fcmp olt double %88, %89
  br i1 %90, label %91, label %92

91:                                               ; preds = %87
  br label %63

92:                                               ; preds = %87
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = load i64, ptr %93, align 8, !tbaa !9
  %95 = sub nsw i64 %94, 1
  store i64 %95, ptr %12, align 8, !tbaa !9
  %96 = load ptr, ptr %9, align 8, !tbaa !5
  %97 = getelementptr inbounds double, ptr %96, i64 1
  %98 = load ptr, ptr %10, align 8, !tbaa !5
  %99 = call double @f2c_dnrm2(ptr noundef %12, ptr noundef %97, ptr noundef %98)
  store double %99, ptr %17, align 8, !tbaa !11
  %100 = load ptr, ptr %8, align 8, !tbaa !5
  %101 = call double @dlapy2_(ptr noundef %100, ptr noundef %17)
  store double %101, ptr %13, align 8, !tbaa !11
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  %103 = call double @d_sign(ptr noundef %13, ptr noundef %102)
  %104 = fneg double %103
  store double %104, ptr %16, align 8, !tbaa !11
  br label %105

105:                                              ; preds = %92, %56
  %106 = load double, ptr %16, align 8, !tbaa !11
  %107 = load ptr, ptr %8, align 8, !tbaa !5
  %108 = load double, ptr %107, align 8, !tbaa !11
  %109 = fsub double %106, %108
  %110 = load double, ptr %16, align 8, !tbaa !11
  %111 = fdiv double %109, %110
  %112 = load ptr, ptr %11, align 8, !tbaa !5
  store double %111, ptr %112, align 8, !tbaa !11
  %113 = load ptr, ptr %7, align 8, !tbaa !5
  %114 = load i64, ptr %113, align 8, !tbaa !9
  %115 = sub nsw i64 %114, 1
  store i64 %115, ptr %12, align 8, !tbaa !9
  %116 = load ptr, ptr %8, align 8, !tbaa !5
  %117 = load double, ptr %116, align 8, !tbaa !11
  %118 = load double, ptr %16, align 8, !tbaa !11
  %119 = fsub double %117, %118
  %120 = fdiv double 1.000000e+00, %119
  store double %120, ptr %13, align 8, !tbaa !11
  %121 = load ptr, ptr %9, align 8, !tbaa !5
  %122 = getelementptr inbounds double, ptr %121, i64 1
  %123 = load ptr, ptr %10, align 8, !tbaa !5
  %124 = call i32 @f2c_dscal(ptr noundef %12, ptr noundef %13, ptr noundef %122, ptr noundef %123)
  %125 = load i64, ptr %15, align 8, !tbaa !9
  store i64 %125, ptr %12, align 8, !tbaa !9
  store i64 1, ptr %14, align 8, !tbaa !9
  br label %126

126:                                              ; preds = %134, %105
  %127 = load i64, ptr %14, align 8, !tbaa !9
  %128 = load i64, ptr %12, align 8, !tbaa !9
  %129 = icmp sle i64 %127, %128
  br i1 %129, label %130, label %137

130:                                              ; preds = %126
  %131 = load double, ptr %18, align 8, !tbaa !11
  %132 = load double, ptr %16, align 8, !tbaa !11
  %133 = fmul double %132, %131
  store double %133, ptr %16, align 8, !tbaa !11
  br label %134

134:                                              ; preds = %130
  %135 = load i64, ptr %14, align 8, !tbaa !9
  %136 = add nsw i64 %135, 1
  store i64 %136, ptr %14, align 8, !tbaa !9
  br label %126, !llvm.loop !13

137:                                              ; preds = %126
  %138 = load double, ptr %16, align 8, !tbaa !11
  %139 = load ptr, ptr %8, align 8, !tbaa !5
  store double %138, ptr %139, align 8, !tbaa !11
  br label %140

140:                                              ; preds = %137, %38
  store i32 0, ptr %6, align 4
  store i32 1, ptr %20, align 4
  br label %141

141:                                              ; preds = %140, %26
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, 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
  %142 = load i32, ptr %6, align 4
  ret i32 %142
}

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

declare double @f2c_dnrm2(ptr noundef, ptr noundef, ptr noundef) #2

declare double @dlapy2_(ptr noundef, ptr noundef) #2

declare double @d_sign(ptr noundef, ptr noundef) #2

declare double @dlamch_(ptr noundef) #2

declare i32 @f2c_dscal(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #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 = { "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 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


; 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 [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @dlarfg_(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 {
  %6 = alloca i64, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
  %10 = load i64, ptr %0, align 8, !tbaa !5
  %11 = icmp slt i64 %10, 2
  br i1 %11, label %12, label %13

12:                                               ; preds = %5
  store double 0.000000e+00, ptr %4, align 8, !tbaa !9
  br label %70

13:                                               ; preds = %5
  %14 = add nsw i64 %10, -1
  store i64 %14, ptr %6, align 8, !tbaa !5
  %15 = call double @f2c_dnrm2(ptr noundef nonnull %6, ptr noundef %2, ptr noundef %3) #3
  store double %15, ptr %8, align 8, !tbaa !9
  %16 = fcmp oeq double %15, 0.000000e+00
  br i1 %16, label %17, label %18

17:                                               ; preds = %13
  store double 0.000000e+00, ptr %4, align 8, !tbaa !9
  br label %70

18:                                               ; preds = %13
  %19 = call double @dlapy2_(ptr noundef %1, ptr noundef nonnull %8) #3
  store double %19, ptr %7, align 8, !tbaa !9
  %20 = call double @d_sign(ptr noundef nonnull %7, ptr noundef %1) #3
  %21 = fneg double %20
  %22 = call double @dlamch_(ptr noundef nonnull @.str) #3
  %23 = call double @dlamch_(ptr noundef nonnull @.str.1) #3
  %24 = fdiv double %22, %23
  %25 = fcmp ole double %20, 0.000000e+00
  %26 = select i1 %25, double %21, double %20
  %27 = fcmp olt double %26, %24
  br i1 %27, label %28, label %50

28:                                               ; preds = %18
  %29 = fdiv double 1.000000e+00, %24
  store double %29, ptr %9, align 8, !tbaa !9
  br label %30

30:                                               ; preds = %30, %28
  %.046 = phi i64 [ 0, %28 ], [ %31, %30 ]
  %.045 = phi double [ %21, %28 ], [ %36, %30 ]
  %31 = add nuw nsw i64 %.046, 1
  %32 = load i64, ptr %0, align 8, !tbaa !5
  %33 = add nsw i64 %32, -1
  store i64 %33, ptr %6, align 8, !tbaa !5
  %34 = call i32 @f2c_dscal(ptr noundef nonnull %6, ptr noundef nonnull %9, ptr noundef %2, ptr noundef %3) #3
  %35 = load double, ptr %9, align 8, !tbaa !9
  %36 = fmul double %.045, %35
  %37 = load double, ptr %1, align 8, !tbaa !9
  %38 = fmul double %35, %37
  store double %38, ptr %1, align 8, !tbaa !9
  %39 = fcmp oge double %36, 0.000000e+00
  %40 = fneg double %36
  %41 = select i1 %39, double %36, double %40
  %42 = fcmp olt double %41, %24
  br i1 %42, label %30, label %43

43:                                               ; preds = %30
  %44 = load i64, ptr %0, align 8, !tbaa !5
  %45 = add nsw i64 %44, -1
  store i64 %45, ptr %6, align 8, !tbaa !5
  %46 = call double @f2c_dnrm2(ptr noundef nonnull %6, ptr noundef %2, ptr noundef %3) #3
  store double %46, ptr %8, align 8, !tbaa !9
  %47 = call double @dlapy2_(ptr noundef nonnull %1, ptr noundef nonnull %8) #3
  store double %47, ptr %7, align 8, !tbaa !9
  %48 = call double @d_sign(ptr noundef nonnull %7, ptr noundef nonnull %1) #3
  %49 = fneg double %48
  br label %50

50:                                               ; preds = %43, %18
  %.147 = phi i64 [ %31, %43 ], [ 0, %18 ]
  %.1 = phi double [ %49, %43 ], [ %21, %18 ]
  %51 = load double, ptr %1, align 8, !tbaa !9
  %52 = fsub double %.1, %51
  %53 = fdiv double %52, %.1
  store double %53, ptr %4, align 8, !tbaa !9
  %54 = load i64, ptr %0, align 8, !tbaa !5
  %55 = add nsw i64 %54, -1
  store i64 %55, ptr %6, align 8, !tbaa !5
  %56 = load double, ptr %1, align 8, !tbaa !9
  %57 = fsub double %56, %.1
  %58 = fdiv double 1.000000e+00, %57
  store double %58, ptr %7, align 8, !tbaa !9
  %59 = call i32 @f2c_dscal(ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef %2, ptr noundef %3) #3
  %.not50 = icmp slt i64 %.147, 1
  br i1 %.not50, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %50
  %xtraiter = and i64 %.147, 7
  %60 = icmp ult i64 %.147, 8
  br i1 %60, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i64 %.147, 9223372036854775800
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %.252 = phi double [ %.1, %.lr.ph.preheader.new ], [ %68, %.lr.ph ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.7, %.lr.ph ]
  %61 = fmul double %24, %.252
  %62 = fmul double %24, %61
  %63 = fmul double %24, %62
  %64 = fmul double %24, %63
  %65 = fmul double %24, %64
  %66 = fmul double %24, %65
  %67 = fmul double %24, %66
  %68 = fmul double %24, %67
  %niter.next.7 = add i64 %niter, 8
  %niter.ncmp.7 = icmp eq i64 %niter.next.7, %unroll_iter
  br i1 %niter.ncmp.7, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph, !llvm.loop !11

._crit_edge.loopexit.unr-lcssa:                   ; preds = %.lr.ph, %.lr.ph.preheader
  %.lcssa.ph = phi double [ poison, %.lr.ph.preheader ], [ %68, %.lr.ph ]
  %.252.unr = phi double [ %.1, %.lr.ph.preheader ], [ %68, %.lr.ph ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.lr.ph.epil
  %.252.epil = phi double [ %69, %.lr.ph.epil ], [ %.252.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph.epil ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %69 = fmul double %24, %.252.epil
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.lr.ph.epil, !llvm.loop !13

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.lr.ph.epil, %50
  %.2.lcssa = phi double [ %.1, %50 ], [ %.lcssa.ph, %._crit_edge.loopexit.unr-lcssa ], [ %69, %.lr.ph.epil ]
  store double %.2.lcssa, ptr %1, align 8, !tbaa !9
  br label %70

70:                                               ; preds = %17, %._crit_edge, %12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  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

declare double @f2c_dnrm2(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare double @dlapy2_(ptr noundef, ptr noundef) local_unnamed_addr #2

declare double @d_sign(ptr noundef, ptr noundef) local_unnamed_addr #2

declare double @dlamch_(ptr noundef) local_unnamed_addr #2

declare i32 @f2c_dscal(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress 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 = { mustprogress 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 = { 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 = !{!"long", !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, !14}
!14 = !{!"llvm.loop.unroll.disable"}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass