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

; 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
@p = external dso_local global [10010 x i32], align 16
@q = external dso_local global [10010 x i32], align 16
@r = external dso_local global [10010 x i32], align 16
@.str = external hidden unnamed_addr constant [3 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 i32, align 4
  %6 = alloca i64, align 8
  %7 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %8 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n)
  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 = %25, %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 %28

14:                                               ; preds = %9
  %15 = load i32, ptr %2, align 4, !tbaa !5
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds i32, ptr @p, i64 %16
  %18 = load i32, ptr %2, align 4, !tbaa !5
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds i32, ptr @q, i64 %19
  %21 = load i32, ptr %2, align 4, !tbaa !5
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds i32, ptr @r, i64 %22
  %24 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %17, ptr noundef %20, ptr noundef %23)
  br label %25

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

28:                                               ; preds = %13
  %29 = load i32, ptr @n, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds i32, ptr @p, i64 %30
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef @p, ptr noundef %31)
  %32 = load i32, ptr @n, align 4, !tbaa !5
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds i32, ptr @q, i64 %33
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef @q, ptr noundef %34)
  %35 = load i32, ptr @n, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds i32, ptr @r, i64 %36
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef @r, ptr noundef %37)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  %38 = load i32, ptr @n, align 4, !tbaa !5
  %39 = ashr i32 %38, 1
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [10010 x i32], ptr @p, i64 0, i64 %40
  %42 = load i32, ptr %41, align 4, !tbaa !5
  store i32 %42, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  %43 = load i32, ptr @n, align 4, !tbaa !5
  %44 = ashr i32 %43, 1
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [10010 x i32], ptr @q, i64 0, i64 %45
  %47 = load i32, ptr %46, align 4, !tbaa !5
  store i32 %47, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  %48 = load i32, ptr @n, align 4, !tbaa !5
  %49 = ashr i32 %48, 1
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [10010 x i32], ptr @r, i64 0, i64 %50
  %52 = load i32, ptr %51, align 4, !tbaa !5
  store i32 %52, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  store i64 0, ptr %6, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %53

53:                                               ; preds = %89, %28
  %54 = load i32, ptr %7, align 4, !tbaa !5
  %55 = load i32, ptr @n, align 4, !tbaa !5
  %56 = icmp slt i32 %54, %55
  br i1 %56, label %58, label %57

57:                                               ; preds = %53
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %92

58:                                               ; preds = %53
  %59 = load i32, ptr %7, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [10010 x i32], ptr @p, i64 0, i64 %60
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = load i32, ptr %3, align 4, !tbaa !5
  %64 = sub nsw i32 %62, %63
  %65 = call i32 @llvm.abs.i32(i32 %64, i1 true)
  %66 = sext i32 %65 to i64
  %67 = load i64, ptr %6, align 8, !tbaa !11
  %68 = add nsw i64 %67, %66
  store i64 %68, ptr %6, align 8, !tbaa !11
  %69 = load i32, ptr %7, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [10010 x i32], ptr @q, i64 0, i64 %70
  %72 = load i32, ptr %71, align 4, !tbaa !5
  %73 = load i32, ptr %4, align 4, !tbaa !5
  %74 = sub nsw i32 %72, %73
  %75 = call i32 @llvm.abs.i32(i32 %74, i1 true)
  %76 = sext i32 %75 to i64
  %77 = load i64, ptr %6, align 8, !tbaa !11
  %78 = add nsw i64 %77, %76
  store i64 %78, ptr %6, align 8, !tbaa !11
  %79 = load i32, ptr %7, align 4, !tbaa !5
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [10010 x i32], ptr @r, i64 0, i64 %80
  %82 = load i32, ptr %81, align 4, !tbaa !5
  %83 = load i32, ptr %5, align 4, !tbaa !5
  %84 = sub nsw i32 %82, %83
  %85 = call i32 @llvm.abs.i32(i32 %84, i1 true)
  %86 = sext i32 %85 to i64
  %87 = load i64, ptr %6, align 8, !tbaa !11
  %88 = add nsw i64 %87, %86
  store i64 %88, ptr %6, align 8, !tbaa !11
  br label %89

89:                                               ; preds = %58
  %90 = load i32, ptr %7, align 4, !tbaa !5
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %7, align 4, !tbaa !5
  br label %53, !llvm.loop !13

92:                                               ; preds = %57
  %93 = load i64, ptr %6, align 8, !tbaa !11
  %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %93)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #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 = { 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++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = distinct !{!13, !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
@p = external dso_local global [10010 x i32], align 16
@q = external dso_local global [10010 x i32], align 16
@r = external dso_local global [10010 x i32], align 16
@.str = external hidden unnamed_addr constant [3 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 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n)
  %2 = load i32, ptr @n, align 4, !tbaa !5
  %3 = icmp sgt i32 %2, 0
  br i1 %3, label %.lr.ph, label %.._crit_edge_crit_edge

.._crit_edge_crit_edge:                           ; preds = %0
  %.pre = sext i32 %2 to i64
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre, %.._crit_edge_crit_edge ], [ %58, %.lr.ph ]
  %4 = getelementptr inbounds i32, ptr @p, i64 %.pre-phi
  tail call void @_ZSt4sortIPiEvT_S1_(ptr noundef nonnull @p, ptr noundef nonnull %4)
  %5 = load i32, ptr @n, align 4, !tbaa !5
  %6 = sext i32 %5 to i64
  %7 = getelementptr inbounds i32, ptr @q, i64 %6
  tail call void @_ZSt4sortIPiEvT_S1_(ptr noundef nonnull @q, ptr noundef nonnull %7)
  %8 = load i32, ptr @n, align 4, !tbaa !5
  %9 = sext i32 %8 to i64
  %10 = getelementptr inbounds i32, ptr @r, i64 %9
  tail call void @_ZSt4sortIPiEvT_S1_(ptr noundef nonnull @r, ptr noundef nonnull %10)
  %11 = load i32, ptr @n, align 4, !tbaa !5
  %12 = ashr i32 %11, 1
  %13 = sext i32 %12 to i64
  %14 = getelementptr inbounds [10010 x i32], ptr @p, i64 0, i64 %13
  %15 = load i32, ptr %14, align 4, !tbaa !5
  %16 = getelementptr inbounds [10010 x i32], ptr @q, i64 0, i64 %13
  %17 = load i32, ptr %16, align 4, !tbaa !5
  %18 = getelementptr inbounds [10010 x i32], ptr @r, i64 0, i64 %13
  %19 = load i32, ptr %18, align 4, !tbaa !5
  %20 = icmp sgt i32 %11, 0
  br i1 %20, label %.lr.ph24.preheader, label %._crit_edge25

.lr.ph24.preheader:                               ; preds = %._crit_edge
  %wide.trip.count = zext nneg i32 %11 to i64
  %min.iters.check = icmp ult i32 %11, 4
  br i1 %min.iters.check, label %.lr.ph24.preheader45, label %vector.ph

.lr.ph24.preheader45:                             ; preds = %middle.block, %.lr.ph24.preheader
  %indvars.iv30.ph = phi i64 [ 0, %.lr.ph24.preheader ], [ %n.vec, %middle.block ]
  %.01721.ph = phi i64 [ 0, %.lr.ph24.preheader ], [ %52, %middle.block ]
  br label %.lr.ph24

vector.ph:                                        ; preds = %.lr.ph24.preheader
  %n.vec = and i64 %wide.trip.count, 2147483644
  %broadcast.splatinsert = insertelement <2 x i32> poison, i32 %15, i64 0
  %broadcast.splat = shufflevector <2 x i32> %broadcast.splatinsert, <2 x i32> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert39 = insertelement <2 x i32> poison, i32 %17, i64 0
  %broadcast.splat40 = shufflevector <2 x i32> %broadcast.splatinsert39, <2 x i32> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert43 = insertelement <2 x i32> poison, i32 %19, i64 0
  %broadcast.splat44 = shufflevector <2 x i32> %broadcast.splatinsert43, <2 x i32> poison, <2 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.phi = phi <2 x i64> [ zeroinitializer, %vector.ph ], [ %49, %vector.body ]
  %vec.phi35 = phi <2 x i64> [ zeroinitializer, %vector.ph ], [ %50, %vector.body ]
  %21 = getelementptr inbounds [10010 x i32], ptr @p, i64 0, i64 %index
  %22 = getelementptr inbounds i8, ptr %21, i64 8
  %wide.load = load <2 x i32>, ptr %21, align 16, !tbaa !5
  %wide.load36 = load <2 x i32>, ptr %22, align 8, !tbaa !5
  %23 = sub nsw <2 x i32> %wide.load, %broadcast.splat
  %24 = sub nsw <2 x i32> %wide.load36, %broadcast.splat
  %25 = tail call <2 x i32> @llvm.abs.v2i32(<2 x i32> %23, i1 true)
  %26 = tail call <2 x i32> @llvm.abs.v2i32(<2 x i32> %24, i1 true)
  %27 = zext nneg <2 x i32> %25 to <2 x i64>
  %28 = zext nneg <2 x i32> %26 to <2 x i64>
  %29 = add <2 x i64> %vec.phi, %27
  %30 = add <2 x i64> %vec.phi35, %28
  %31 = getelementptr inbounds [10010 x i32], ptr @q, i64 0, i64 %index
  %32 = getelementptr inbounds i8, ptr %31, i64 8
  %wide.load37 = load <2 x i32>, ptr %31, align 16, !tbaa !5
  %wide.load38 = load <2 x i32>, ptr %32, align 8, !tbaa !5
  %33 = sub nsw <2 x i32> %wide.load37, %broadcast.splat40
  %34 = sub nsw <2 x i32> %wide.load38, %broadcast.splat40
  %35 = tail call <2 x i32> @llvm.abs.v2i32(<2 x i32> %33, i1 true)
  %36 = tail call <2 x i32> @llvm.abs.v2i32(<2 x i32> %34, i1 true)
  %37 = zext nneg <2 x i32> %35 to <2 x i64>
  %38 = zext nneg <2 x i32> %36 to <2 x i64>
  %39 = add <2 x i64> %29, %37
  %40 = add <2 x i64> %30, %38
  %41 = getelementptr inbounds [10010 x i32], ptr @r, i64 0, i64 %index
  %42 = getelementptr inbounds i8, ptr %41, i64 8
  %wide.load41 = load <2 x i32>, ptr %41, align 16, !tbaa !5
  %wide.load42 = load <2 x i32>, ptr %42, align 8, !tbaa !5
  %43 = sub nsw <2 x i32> %wide.load41, %broadcast.splat44
  %44 = sub nsw <2 x i32> %wide.load42, %broadcast.splat44
  %45 = tail call <2 x i32> @llvm.abs.v2i32(<2 x i32> %43, i1 true)
  %46 = tail call <2 x i32> @llvm.abs.v2i32(<2 x i32> %44, i1 true)
  %47 = zext nneg <2 x i32> %45 to <2 x i64>
  %48 = zext nneg <2 x i32> %46 to <2 x i64>
  %49 = add <2 x i64> %39, %47
  %50 = add <2 x i64> %40, %48
  %index.next = add nuw i64 %index, 4
  %51 = icmp eq i64 %index.next, %n.vec
  br i1 %51, label %middle.block, label %vector.body, !llvm.loop !9

middle.block:                                     ; preds = %vector.body
  %bin.rdx = add <2 x i64> %50, %49
  %52 = tail call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %bin.rdx)
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %._crit_edge25, label %.lr.ph24.preheader45

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %0 ]
  %53 = getelementptr inbounds i32, ptr @p, i64 %indvars.iv
  %54 = getelementptr inbounds i32, ptr @q, i64 %indvars.iv
  %55 = getelementptr inbounds i32, ptr @r, i64 %indvars.iv
  %56 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %53, ptr noundef nonnull %54, ptr noundef nonnull %55)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %57 = load i32, ptr @n, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = icmp slt i64 %indvars.iv.next, %58
  br i1 %59, label %.lr.ph, label %._crit_edge, !llvm.loop !13

._crit_edge25:                                    ; preds = %.lr.ph24, %middle.block, %._crit_edge
  %.017.lcssa = phi i64 [ 0, %._crit_edge ], [ %52, %middle.block ], [ %78, %.lr.ph24 ]
  %60 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef %.017.lcssa)
  ret i32 0

.lr.ph24:                                         ; preds = %.lr.ph24.preheader45, %.lr.ph24
  %indvars.iv30 = phi i64 [ %indvars.iv.next31, %.lr.ph24 ], [ %indvars.iv30.ph, %.lr.ph24.preheader45 ]
  %.01721 = phi i64 [ %78, %.lr.ph24 ], [ %.01721.ph, %.lr.ph24.preheader45 ]
  %61 = getelementptr inbounds [10010 x i32], ptr @p, i64 0, i64 %indvars.iv30
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = sub nsw i32 %62, %15
  %64 = tail call i32 @llvm.abs.i32(i32 %63, i1 true)
  %65 = zext nneg i32 %64 to i64
  %66 = add nsw i64 %.01721, %65
  %67 = getelementptr inbounds [10010 x i32], ptr @q, i64 0, i64 %indvars.iv30
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = sub nsw i32 %68, %17
  %70 = tail call i32 @llvm.abs.i32(i32 %69, i1 true)
  %71 = zext nneg i32 %70 to i64
  %72 = add nsw i64 %66, %71
  %73 = getelementptr inbounds [10010 x i32], ptr @r, i64 0, i64 %indvars.iv30
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = sub nsw i32 %74, %19
  %76 = tail call i32 @llvm.abs.i32(i32 %75, i1 true)
  %77 = zext nneg i32 %76 to i64
  %78 = add nsw i64 %72, %77
  %indvars.iv.next31 = add nuw nsw i64 %indvars.iv30, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next31, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge25, label %.lr.ph24, !llvm.loop !14
}

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #3

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x i32> @llvm.abs.v2i32(<2 x i32>, i1 immarg) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.vector.reduce.add.v2i64(<2 x i64>) #4

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 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10, !12, !11}


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