; LLVM IR from tangjz/acm-icpc :: lydsy (1360)

; 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
@x = external dso_local global [100001 x i32], align 16
@low = external dso_local global i64, align 8
@upp = external dso_local global i64, align 8
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  %6 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @m, ptr noundef @n)
  %7 = load i32, ptr @m, align 4, !tbaa !5
  %8 = shl i32 %7, 1
  store i32 %8, ptr @m, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %9

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

13:                                               ; preds = %9
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  br label %22

14:                                               ; preds = %9
  %15 = load i32, ptr %2, align 4, !tbaa !5
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds i32, ptr @x, i64 %16
  %18 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %17)
  br label %19

19:                                               ; preds = %14
  %20 = load i32, ptr %2, align 4, !tbaa !5
  %21 = add nsw i32 %20, 1
  store i32 %21, ptr %2, align 4, !tbaa !5
  br label %9, !llvm.loop !9

22:                                               ; preds = %13
  %23 = load i32, ptr @n, align 4, !tbaa !5
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds i32, ptr @x, i64 %24
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef @x, ptr noundef %25)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 1, ptr %3, align 4, !tbaa !5
  br label %26

26:                                               ; preds = %41, %22
  %27 = load i32, ptr %3, align 4, !tbaa !5
  %28 = load i32, ptr @n, align 4, !tbaa !5
  %29 = icmp slt i32 %27, %28
  br i1 %29, label %31, label %30

30:                                               ; preds = %26
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  br label %44

31:                                               ; preds = %26
  %32 = load i32, ptr @m, align 4, !tbaa !5
  %33 = load i32, ptr %3, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [100001 x i32], ptr @x, i64 0, i64 %34
  %36 = load i32, ptr %35, align 4, !tbaa !5
  %37 = sub nsw i32 %32, %36
  %38 = load i32, ptr %3, align 4, !tbaa !5
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [100001 x i32], ptr @x, i64 0, i64 %39
  store i32 %37, ptr %40, align 4, !tbaa !5
  br label %41

41:                                               ; preds = %31
  %42 = load i32, ptr %3, align 4, !tbaa !5
  %43 = add nsw i32 %42, 2
  store i32 %43, ptr %3, align 4, !tbaa !5
  br label %26, !llvm.loop !11

44:                                               ; preds = %30
  %45 = load i32, ptr @n, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds i32, ptr @x, i64 %46
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef @x, ptr noundef %47)
  store i64 9223372036854775807, ptr @low, align 8, !tbaa !12
  %48 = load i64, ptr @low, align 8, !tbaa !12
  %49 = sub nsw i64 0, %48
  store i64 %49, ptr @upp, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %50

50:                                               ; preds = %74, %44
  %51 = load i32, ptr %4, align 4, !tbaa !5
  %52 = load i32, ptr @n, align 4, !tbaa !5
  %53 = icmp slt i32 %51, %52
  br i1 %53, label %55, label %54

54:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  br label %77

55:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %56 = load i32, ptr %4, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [100001 x i32], ptr @x, i64 0, i64 %57
  %59 = load i32, ptr %58, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = load i32, ptr @n, align 4, !tbaa !5
  %62 = sext i32 %61 to i64
  %63 = mul nsw i64 %60, %62
  %64 = load i32, ptr %4, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = load i32, ptr @m, align 4, !tbaa !5
  %67 = sext i32 %66 to i64
  %68 = mul nsw i64 %65, %67
  %69 = sub nsw i64 %63, %68
  store i64 %69, ptr %5, align 8, !tbaa !12
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) @low, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %71 = load i64, ptr %70, align 8, !tbaa !12
  store i64 %71, ptr @low, align 8, !tbaa !12
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) @upp, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %73 = load i64, ptr %72, align 8, !tbaa !12
  store i64 %73, ptr @upp, align 8, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %74

74:                                               ; preds = %55
  %75 = load i32, ptr %4, align 4, !tbaa !5
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %4, align 4, !tbaa !5
  br label %50, !llvm.loop !14

77:                                               ; preds = %54
  %78 = load i64, ptr @upp, align 8, !tbaa !12
  %79 = load i64, ptr @low, align 8, !tbaa !12
  %80 = sub nsw i64 %78, %79
  %81 = sitofp i64 %80 to double
  %82 = load i32, ptr @n, align 4, !tbaa !5
  %83 = shl i32 %82, 1
  %84 = sitofp i32 %83 to double
  %85 = fdiv double %81, %84
  %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %85)
  ret i32 0
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPiEvT_S1_(ptr noundef, ptr noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

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

attributes #0 = { 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 #1 = { "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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress 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 = { inlinehint 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 #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"}
!11 = distinct !{!11, !10}
!12 = !{!13, !13, i64 0}
!13 = !{!"long long", !7, i64 0}
!14 = distinct !{!14, !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
@x = external dso_local global [100001 x i32], align 16
@low = external dso_local global i64, align 8
@upp = external dso_local global i64, align 8
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1

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

.._crit_edge_crit_edge:                           ; preds = %0
  %.pre38 = sext i32 %5 to i64
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre38, %.._crit_edge_crit_edge ], [ %19, %.lr.ph ]
  %7 = getelementptr inbounds i32, ptr @x, i64 %.pre-phi
  tail call void @_ZSt4sortIPiEvT_S1_(ptr noundef nonnull @x, ptr noundef nonnull %7)
  %8 = load i32, ptr @n, align 4, !tbaa !5
  %9 = icmp sgt i32 %8, 1
  br i1 %9, label %.lr.ph21, label %._crit_edge.._crit_edge22_crit_edge

._crit_edge.._crit_edge22_crit_edge:              ; preds = %._crit_edge
  %.pre39 = sext i32 %8 to i64
  br label %._crit_edge22

.lr.ph21:                                         ; preds = %._crit_edge
  %10 = load i32, ptr @m, align 4, !tbaa !5
  %11 = zext nneg i32 %8 to i64
  %12 = add nsw i64 %11, -2
  %13 = lshr i64 %12, 1
  %14 = add nuw i64 %13, 1
  %xtraiter = and i64 %14, 3
  %15 = icmp ult i64 %12, 6
  br i1 %15, label %._crit_edge22.loopexit.unr-lcssa, label %.lr.ph21.new

.lr.ph21.new:                                     ; preds = %.lr.ph21
  %unroll_iter = and i64 %14, -4
  br label %27

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %0 ]
  %16 = getelementptr inbounds i32, ptr @x, i64 %indvars.iv
  %17 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %16)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %18 = load i32, ptr @n, align 4, !tbaa !5
  %19 = sext i32 %18 to i64
  %20 = icmp slt i64 %indvars.iv.next, %19
  br i1 %20, label %.lr.ph, label %._crit_edge, !llvm.loop !9

._crit_edge22.loopexit.unr-lcssa:                 ; preds = %27, %.lr.ph21
  %indvars.iv32.unr = phi i64 [ 1, %.lr.ph21 ], [ %indvars.iv.next33.3, %27 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge22, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge22.loopexit.unr-lcssa, %.epil.preheader
  %indvars.iv32.epil = phi i64 [ %indvars.iv.next33.epil, %.epil.preheader ], [ %indvars.iv32.unr, %._crit_edge22.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge22.loopexit.unr-lcssa ]
  %21 = getelementptr inbounds [100001 x i32], ptr @x, i64 0, i64 %indvars.iv32.epil
  %22 = load i32, ptr %21, align 4, !tbaa !5
  %23 = sub nsw i32 %10, %22
  store i32 %23, ptr %21, align 4, !tbaa !5
  %indvars.iv.next33.epil = add nuw nsw i64 %indvars.iv32.epil, 2
  %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_edge22, label %.epil.preheader, !llvm.loop !11

._crit_edge22:                                    ; preds = %._crit_edge22.loopexit.unr-lcssa, %.epil.preheader, %._crit_edge.._crit_edge22_crit_edge
  %.pre-phi40 = phi i64 [ %.pre39, %._crit_edge.._crit_edge22_crit_edge ], [ %11, %.epil.preheader ], [ %11, %._crit_edge22.loopexit.unr-lcssa ]
  %24 = getelementptr inbounds i32, ptr @x, i64 %.pre-phi40
  tail call void @_ZSt4sortIPiEvT_S1_(ptr noundef nonnull @x, ptr noundef nonnull %24)
  store i64 9223372036854775807, ptr @low, align 8, !tbaa !13
  store i64 -9223372036854775807, ptr @upp, align 8, !tbaa !13
  %25 = load i32, ptr @n, align 4, !tbaa !5
  %26 = icmp sgt i32 %25, 0
  br i1 %26, label %.lr.ph26, label %._crit_edge27

27:                                               ; preds = %27, %.lr.ph21.new
  %indvars.iv32 = phi i64 [ 1, %.lr.ph21.new ], [ %indvars.iv.next33.3, %27 ]
  %niter = phi i64 [ 0, %.lr.ph21.new ], [ %niter.next.3, %27 ]
  %28 = getelementptr inbounds [100001 x i32], ptr @x, i64 0, i64 %indvars.iv32
  %29 = load i32, ptr %28, align 4, !tbaa !5
  %30 = sub nsw i32 %10, %29
  store i32 %30, ptr %28, align 4, !tbaa !5
  %indvars.iv.next33 = add nuw nsw i64 %indvars.iv32, 2
  %31 = getelementptr inbounds [100001 x i32], ptr @x, i64 0, i64 %indvars.iv.next33
  %32 = load i32, ptr %31, align 4, !tbaa !5
  %33 = sub nsw i32 %10, %32
  store i32 %33, ptr %31, align 4, !tbaa !5
  %indvars.iv.next33.1 = add nuw nsw i64 %indvars.iv32, 4
  %34 = getelementptr inbounds [100001 x i32], ptr @x, i64 0, i64 %indvars.iv.next33.1
  %35 = load i32, ptr %34, align 4, !tbaa !5
  %36 = sub nsw i32 %10, %35
  store i32 %36, ptr %34, align 4, !tbaa !5
  %indvars.iv.next33.2 = add nuw nsw i64 %indvars.iv32, 6
  %37 = getelementptr inbounds [100001 x i32], ptr @x, i64 0, i64 %indvars.iv.next33.2
  %38 = load i32, ptr %37, align 4, !tbaa !5
  %39 = sub nsw i32 %10, %38
  store i32 %39, ptr %37, align 4, !tbaa !5
  %indvars.iv.next33.3 = add nuw nsw i64 %indvars.iv32, 8
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3.not = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3.not, label %._crit_edge22.loopexit.unr-lcssa, label %27, !llvm.loop !15

._crit_edge27.loopexit:                           ; preds = %.lr.ph26
  %.pre = load i64, ptr @low, align 8, !tbaa !13
  %40 = sub nsw i64 %60, %.pre
  %41 = sitofp i64 %40 to double
  br label %._crit_edge27

._crit_edge27:                                    ; preds = %._crit_edge27.loopexit, %._crit_edge22
  %.lcssa = phi i32 [ %25, %._crit_edge22 ], [ %61, %._crit_edge27.loopexit ]
  %42 = phi double [ 2.000000e+00, %._crit_edge22 ], [ %41, %._crit_edge27.loopexit ]
  %43 = shl i32 %.lcssa, 1
  %44 = sitofp i32 %43 to double
  %45 = fdiv double %42, %44
  %46 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, double noundef %45)
  ret i32 0

.lr.ph26:                                         ; preds = %._crit_edge22, %.lr.ph26
  %indvars.iv35 = phi i64 [ %indvars.iv.next36, %.lr.ph26 ], [ 0, %._crit_edge22 ]
  %47 = phi i32 [ %61, %.lr.ph26 ], [ %25, %._crit_edge22 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #5
  %48 = getelementptr inbounds [100001 x i32], ptr @x, i64 0, i64 %indvars.iv35
  %49 = load i32, ptr %48, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = sext i32 %47 to i64
  %52 = mul nsw i64 %50, %51
  %53 = load i32, ptr @m, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = mul nsw i64 %indvars.iv35, %54
  %56 = sub nsw i64 %52, %55
  store i64 %56, ptr %1, align 8, !tbaa !13
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) @low, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %58 = load i64, ptr %57, align 8, !tbaa !13
  store i64 %58, ptr @low, align 8, !tbaa !13
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) @upp, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %60 = load i64, ptr %59, align 8, !tbaa !13
  store i64 %60, ptr @upp, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #5
  %indvars.iv.next36 = add nuw nsw i64 %indvars.iv35, 1
  %61 = load i32, ptr @n, align 4, !tbaa !5
  %62 = sext i32 %61 to i64
  %63 = icmp slt i64 %indvars.iv.next36, %62
  br i1 %63, label %.lr.ph26, label %._crit_edge27.loopexit, !llvm.loop !16
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPiEvT_S1_(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

attributes #0 = { 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 #1 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress 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 = { inlinehint 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 #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"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.unroll.disable"}
!13 = !{!14, !14, i64 0}
!14 = !{!"long long", !7, i64 0}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass