; LLVM IR from tangjz/acm-icpc :: 51nod (1785)

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

@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@pos = external dso_local global i32, align 4
@cnt = external dso_local global i32, align 4
@a = external dso_local global [101 x i32], align 16
@s1 = external dso_local global i32, align 4
@s2 = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z7bit_addii(i32 noundef, i32 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z7bit_quei(i32 noundef) #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: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %7 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @m, ptr noundef @n)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %8

8:                                                ; preds = %17, %0
  %9 = load i32, ptr %2, align 4, !tbaa !5
  %10 = load i32, ptr @n, align 4, !tbaa !5
  %11 = icmp slt i32 %9, %10
  br i1 %11, label %13, label %12

12:                                               ; preds = %8
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  br label %20

13:                                               ; preds = %8
  %14 = load i32, ptr %2, align 4, !tbaa !5
  %15 = sext i32 %14 to i64
  %16 = getelementptr inbounds [101 x i32], ptr @a, i64 0, i64 %15
  store i32 -1, ptr %16, align 4, !tbaa !5
  br label %17

17:                                               ; preds = %13
  %18 = load i32, ptr %2, align 4, !tbaa !5
  %19 = add nsw i32 %18, 1
  store i32 %19, ptr %2, align 4, !tbaa !5
  br label %8, !llvm.loop !9

20:                                               ; preds = %12
  br label %21

21:                                               ; preds = %140, %20
  %22 = load i32, ptr @m, align 4, !tbaa !5
  %23 = add nsw i32 %22, -1
  store i32 %23, ptr @m, align 4, !tbaa !5
  %24 = icmp ne i32 %22, 0
  br i1 %24, label %25, label %141

25:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  %26 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %3)
  %27 = load i32, ptr %3, align 4, !tbaa !5
  %28 = icmp eq i32 %27, 1
  br i1 %28, label %29, label %81

29:                                               ; preds = %25
  %30 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %4)
  %31 = load i32, ptr @pos, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [101 x i32], ptr @a, i64 0, i64 %32
  %34 = load i32, ptr %33, align 4, !tbaa !5
  %35 = icmp eq i32 %34, -1
  br i1 %35, label %36, label %39

36:                                               ; preds = %29
  %37 = load i32, ptr @cnt, align 4, !tbaa !5
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr @cnt, align 4, !tbaa !5
  br label %61

39:                                               ; preds = %29
  %40 = load i32, ptr @pos, align 4, !tbaa !5
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [101 x i32], ptr @a, i64 0, i64 %41
  %43 = load i32, ptr %42, align 4, !tbaa !5
  %44 = load i32, ptr @s1, align 4, !tbaa !5
  %45 = sub nsw i32 %44, %43
  store i32 %45, ptr @s1, align 4, !tbaa !5
  %46 = load i32, ptr @pos, align 4, !tbaa !5
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [101 x i32], ptr @a, i64 0, i64 %47
  %49 = load i32, ptr %48, align 4, !tbaa !5
  %50 = load i32, ptr @pos, align 4, !tbaa !5
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [101 x i32], ptr @a, i64 0, i64 %51
  %53 = load i32, ptr %52, align 4, !tbaa !5
  %54 = mul nsw i32 %49, %53
  %55 = load i32, ptr @s2, align 4, !tbaa !5
  %56 = sub nsw i32 %55, %54
  store i32 %56, ptr @s2, align 4, !tbaa !5
  %57 = load i32, ptr @pos, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [101 x i32], ptr @a, i64 0, i64 %58
  %60 = load i32, ptr %59, align 4, !tbaa !5
  call void @_Z7bit_addii(i32 noundef %60, i32 noundef -1)
  br label %61

61:                                               ; preds = %39, %36
  %62 = load i32, ptr %4, align 4, !tbaa !5
  %63 = load i32, ptr @pos, align 4, !tbaa !5
  %64 = add nsw i32 %63, 1
  store i32 %64, ptr @pos, align 4, !tbaa !5
  %65 = sext i32 %63 to i64
  %66 = getelementptr inbounds [101 x i32], ptr @a, i64 0, i64 %65
  store i32 %62, ptr %66, align 4, !tbaa !5
  %67 = load i32, ptr %4, align 4, !tbaa !5
  %68 = load i32, ptr @s1, align 4, !tbaa !5
  %69 = add nsw i32 %68, %67
  store i32 %69, ptr @s1, align 4, !tbaa !5
  %70 = load i32, ptr %4, align 4, !tbaa !5
  %71 = load i32, ptr %4, align 4, !tbaa !5
  %72 = mul nsw i32 %70, %71
  %73 = load i32, ptr @s2, align 4, !tbaa !5
  %74 = add nsw i32 %73, %72
  store i32 %74, ptr @s2, align 4, !tbaa !5
  %75 = load i32, ptr %4, align 4, !tbaa !5
  call void @_Z7bit_addii(i32 noundef %75, i32 noundef 1)
  %76 = load i32, ptr @pos, align 4, !tbaa !5
  %77 = load i32, ptr @n, align 4, !tbaa !5
  %78 = icmp eq i32 %76, %77
  br i1 %78, label %79, label %80

79:                                               ; preds = %61
  store i32 0, ptr @pos, align 4, !tbaa !5
  br label %80

80:                                               ; preds = %79, %61
  br label %140

81:                                               ; preds = %25
  %82 = load i32, ptr %3, align 4, !tbaa !5
  %83 = icmp eq i32 %82, 2
  br i1 %83, label %84, label %90

84:                                               ; preds = %81
  %85 = load i32, ptr @s1, align 4, !tbaa !5
  %86 = load i32, ptr @cnt, align 4, !tbaa !5
  %87 = sdiv i32 %85, %86
  %88 = sitofp i32 %87 to double
  %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %88)
  br label %139

90:                                               ; preds = %81
  %91 = load i32, ptr %3, align 4, !tbaa !5
  %92 = icmp eq i32 %91, 3
  br i1 %92, label %93, label %112

93:                                               ; preds = %90
  %94 = load i32, ptr @s2, align 4, !tbaa !5
  %95 = sitofp i32 %94 to double
  %96 = load i32, ptr @cnt, align 4, !tbaa !5
  %97 = sitofp i32 %96 to double
  %98 = fdiv double %95, %97
  %99 = load i32, ptr @s1, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = load i32, ptr @s1, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = mul nsw i64 %100, %102
  %104 = sitofp i64 %103 to double
  %105 = load i32, ptr @cnt, align 4, !tbaa !5
  %106 = load i32, ptr @cnt, align 4, !tbaa !5
  %107 = mul nsw i32 %105, %106
  %108 = sitofp i32 %107 to double
  %109 = fdiv double %104, %108
  %110 = fsub double %98, %109
  %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %110)
  br label %138

112:                                              ; preds = %90
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %113 = load i32, ptr @cnt, align 4, !tbaa !5
  %114 = add nsw i32 %113, 1
  %115 = ashr i32 %114, 1
  store i32 %115, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %116 = load i32, ptr @cnt, align 4, !tbaa !5
  %117 = add nsw i32 %116, 1
  %118 = load i32, ptr %5, align 4, !tbaa !5
  %119 = sub nsw i32 %117, %118
  store i32 %119, ptr %6, align 4, !tbaa !5
  %120 = load i32, ptr %5, align 4, !tbaa !5
  %121 = load i32, ptr %6, align 4, !tbaa !5
  %122 = icmp eq i32 %120, %121
  br i1 %122, label %123, label %127

123:                                              ; preds = %112
  %124 = load i32, ptr %5, align 4, !tbaa !5
  %125 = call noundef i32 @_Z7bit_quei(i32 noundef %124)
  %126 = sitofp i32 %125 to double
  br label %135

127:                                              ; preds = %112
  %128 = load i32, ptr %5, align 4, !tbaa !5
  %129 = call noundef i32 @_Z7bit_quei(i32 noundef %128)
  %130 = load i32, ptr %6, align 4, !tbaa !5
  %131 = call noundef i32 @_Z7bit_quei(i32 noundef %130)
  %132 = add nsw i32 %129, %131
  %133 = sitofp i32 %132 to double
  %134 = fmul double %133, 5.000000e-01
  br label %135

135:                                              ; preds = %127, %123
  %136 = phi double [ %126, %123 ], [ %134, %127 ]
  %137 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %136)
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %138

138:                                              ; preds = %135, %93
  br label %139

139:                                              ; preds = %138, %84
  br label %140

140:                                              ; preds = %139, %80
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  br label %21, !llvm.loop !11

141:                                              ; preds = %21
  ret i32 0
}

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

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

attributes #0 = { mustprogress 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 = { mustprogress norecurse 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 = { "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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}


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

@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@pos = external dso_local local_unnamed_addr global i32, align 4
@cnt = external dso_local local_unnamed_addr global i32, align 4
@a = external dso_local local_unnamed_addr global [101 x i32], align 16
@s1 = external dso_local local_unnamed_addr global i32, align 4
@s2 = external dso_local local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z7bit_addii(i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z7bit_quei(i32 noundef) local_unnamed_addr #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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress norecurse nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @m, ptr noundef nonnull @n)
  %4 = load i32, ptr @n, align 4, !tbaa !5
  %5 = icmp sgt i32 %4, 0
  br i1 %5, label %.lr.ph.preheader, label %.preheader

.lr.ph.preheader:                                 ; preds = %0
  %6 = zext nneg i32 %4 to i64
  %7 = shl nuw nsw i64 %6, 2
  tail call void @llvm.memset.p0.i64(ptr nonnull align 16 @a, i8 -1, i64 %7, i1 false), !tbaa !5
  br label %.preheader

.preheader:                                       ; preds = %.lr.ph.preheader, %0
  %8 = load i32, ptr @m, align 4, !tbaa !5
  %9 = add nsw i32 %8, -1
  store i32 %9, ptr @m, align 4, !tbaa !5
  %.not14 = icmp eq i32 %8, 0
  br i1 %.not14, label %._crit_edge, label %.lr.ph15

.lr.ph15:                                         ; preds = %.preheader, %84
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
  %10 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %1)
  %11 = load i32, ptr %1, align 4, !tbaa !5
  switch i32 %11, label %67 [
    i32 1, label %12
    i32 2, label %42
    i32 3, label %48
  ]

12:                                               ; preds = %.lr.ph15
  %13 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %2)
  %14 = load i32, ptr @pos, align 4, !tbaa !5
  %15 = sext i32 %14 to i64
  %16 = getelementptr inbounds [101 x i32], ptr @a, i64 0, i64 %15
  %17 = load i32, ptr %16, align 4, !tbaa !5
  %18 = icmp eq i32 %17, -1
  br i1 %18, label %19, label %22

19:                                               ; preds = %12
  %20 = load i32, ptr @cnt, align 4, !tbaa !5
  %21 = add nsw i32 %20, 1
  store i32 %21, ptr @cnt, align 4, !tbaa !5
  br label %28

22:                                               ; preds = %12
  %23 = load i32, ptr @s1, align 4, !tbaa !5
  %24 = sub nsw i32 %23, %17
  store i32 %24, ptr @s1, align 4, !tbaa !5
  %25 = mul nsw i32 %17, %17
  %26 = load i32, ptr @s2, align 4, !tbaa !5
  %27 = sub nsw i32 %26, %25
  store i32 %27, ptr @s2, align 4, !tbaa !5
  call void @_Z7bit_addii(i32 noundef %17, i32 noundef -1)
  %.pre = load i32, ptr @pos, align 4, !tbaa !5
  %.pre17 = sext i32 %.pre to i64
  br label %28

28:                                               ; preds = %22, %19
  %.pre-phi = phi i64 [ %.pre17, %22 ], [ %15, %19 ]
  %29 = phi i32 [ %.pre, %22 ], [ %14, %19 ]
  %30 = load i32, ptr %2, align 4, !tbaa !5
  %31 = add nsw i32 %29, 1
  store i32 %31, ptr @pos, align 4, !tbaa !5
  %32 = getelementptr inbounds [101 x i32], ptr @a, i64 0, i64 %.pre-phi
  store i32 %30, ptr %32, align 4, !tbaa !5
  %33 = load i32, ptr @s1, align 4, !tbaa !5
  %34 = add nsw i32 %33, %30
  store i32 %34, ptr @s1, align 4, !tbaa !5
  %35 = mul nsw i32 %30, %30
  %36 = load i32, ptr @s2, align 4, !tbaa !5
  %37 = add nsw i32 %36, %35
  store i32 %37, ptr @s2, align 4, !tbaa !5
  call void @_Z7bit_addii(i32 noundef %30, i32 noundef 1)
  %38 = load i32, ptr @pos, align 4, !tbaa !5
  %39 = load i32, ptr @n, align 4, !tbaa !5
  %40 = icmp eq i32 %38, %39
  br i1 %40, label %41, label %84

41:                                               ; preds = %28
  store i32 0, ptr @pos, align 4, !tbaa !5
  br label %84

42:                                               ; preds = %.lr.ph15
  %43 = load i32, ptr @s1, align 4, !tbaa !5
  %44 = load i32, ptr @cnt, align 4, !tbaa !5
  %45 = sdiv i32 %43, %44
  %46 = sitofp i32 %45 to double
  %47 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, double noundef %46)
  br label %84

48:                                               ; preds = %.lr.ph15
  %49 = load i32, ptr @s2, align 4, !tbaa !5
  %50 = sitofp i32 %49 to double
  %51 = load i32, ptr @cnt, align 4, !tbaa !5
  %52 = sitofp i32 %51 to double
  %53 = load i32, ptr @s1, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = mul nsw i64 %54, %54
  %56 = uitofp nneg i64 %55 to double
  %57 = mul nsw i32 %51, %51
  %58 = uitofp nneg i32 %57 to double
  %59 = insertelement <2 x double> poison, double %50, i64 0
  %60 = insertelement <2 x double> %59, double %56, i64 1
  %61 = insertelement <2 x double> poison, double %52, i64 0
  %62 = insertelement <2 x double> %61, double %58, i64 1
  %63 = fdiv <2 x double> %60, %62
  %shift = shufflevector <2 x double> %63, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %64 = fsub <2 x double> %63, %shift
  %65 = extractelement <2 x double> %64, i64 0
  %66 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, double noundef %65)
  br label %84

67:                                               ; preds = %.lr.ph15
  %68 = load i32, ptr @cnt, align 4, !tbaa !5
  %69 = add nsw i32 %68, 1
  %70 = ashr i32 %69, 1
  %71 = sub nsw i32 %69, %70
  %72 = icmp eq i32 %70, %71
  %73 = call noundef i32 @_Z7bit_quei(i32 noundef %70)
  br i1 %72, label %74, label %76

74:                                               ; preds = %67
  %75 = sitofp i32 %73 to double
  br label %81

76:                                               ; preds = %67
  %77 = call noundef i32 @_Z7bit_quei(i32 noundef %71)
  %78 = add nsw i32 %77, %73
  %79 = sitofp i32 %78 to double
  %80 = fmul double %79, 5.000000e-01
  br label %81

81:                                               ; preds = %76, %74
  %82 = phi double [ %75, %74 ], [ %80, %76 ]
  %83 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, double noundef %82)
  br label %84

84:                                               ; preds = %42, %81, %48, %28, %41
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #5
  %85 = load i32, ptr @m, align 4, !tbaa !5
  %86 = add nsw i32 %85, -1
  store i32 %86, ptr @m, align 4, !tbaa !5
  %.not = icmp eq i32 %85, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph15, !llvm.loop !9

._crit_edge:                                      ; preds = %84, %.preheader
  ret i32 0
}

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

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

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

attributes #0 = { mustprogress 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 = { mustprogress norecurse 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 #3 = { 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass