; LLVM IR from VastoLorde95/Competitive-Programming :: Codeforces/240 Division 1/Problem C (C)

; 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
@q = external dso_local global i32, align 4
@a = external dso_local global [1048576 x i32], align 16
@cnt = external dso_local global [21 x [2 x i64]], align 16
@tot = external dso_local global i64, align 8
@type = external dso_local global [21 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

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

9:                                                ; preds = %19, %0
  %10 = load i32, ptr %3, align 4, !tbaa !5
  %11 = load i32, ptr %2, 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 %3) #4
  br label %22

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

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

22:                                               ; preds = %13
  %23 = load i32, ptr %2, align 4, !tbaa !5
  %24 = load i32, ptr @n, align 4, !tbaa !5
  call void @_Z9mergesortiii(i32 noundef 0, i32 noundef %23, i32 noundef %24)
  %25 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @m)
  br label %26

26:                                               ; preds = %68, %22
  %27 = load i32, ptr @m, align 4, !tbaa !5
  %28 = add nsw i32 %27, -1
  store i32 %28, ptr @m, align 4, !tbaa !5
  %29 = icmp ne i32 %27, 0
  br i1 %29, label %30, label %71

30:                                               ; preds = %26
  %31 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @q)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  %32 = load i32, ptr @q, align 4, !tbaa !5
  store i32 %32, ptr %4, align 4, !tbaa !5
  br label %33

33:                                               ; preds = %43, %30
  %34 = load i32, ptr %4, align 4, !tbaa !5
  %35 = icmp sge i32 %34, 0
  br i1 %35, label %37, label %36

36:                                               ; preds = %33
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %46

37:                                               ; preds = %33
  %38 = load i32, ptr %4, align 4, !tbaa !5
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [21 x i32], ptr @type, i64 0, i64 %39
  %41 = load i32, ptr %40, align 4, !tbaa !5
  %42 = xor i32 %41, 1
  store i32 %42, ptr %40, align 4, !tbaa !5
  br label %43

43:                                               ; preds = %37
  %44 = load i32, ptr %4, align 4, !tbaa !5
  %45 = add nsw i32 %44, -1
  store i32 %45, ptr %4, align 4, !tbaa !5
  br label %33, !llvm.loop !11

46:                                               ; preds = %36
  store i64 0, ptr @tot, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %47

47:                                               ; preds = %65, %46
  %48 = load i32, ptr %5, align 4, !tbaa !5
  %49 = load i32, ptr @n, align 4, !tbaa !5
  %50 = icmp sle i32 %48, %49
  br i1 %50, label %52, label %51

51:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %68

52:                                               ; preds = %47
  %53 = load i32, ptr %5, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [21 x [2 x i64]], ptr @cnt, i64 0, i64 %54
  %56 = load i32, ptr %5, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [21 x i32], ptr @type, i64 0, i64 %57
  %59 = load i32, ptr %58, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [2 x i64], ptr %55, i64 0, i64 %60
  %62 = load i64, ptr %61, align 8, !tbaa !12
  %63 = load i64, ptr @tot, align 8, !tbaa !12
  %64 = add nsw i64 %63, %62
  store i64 %64, ptr @tot, align 8, !tbaa !12
  br label %65

65:                                               ; preds = %52
  %66 = load i32, ptr %5, align 4, !tbaa !5
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %5, align 4, !tbaa !5
  br label %47, !llvm.loop !14

68:                                               ; preds = %51
  %69 = load i64, ptr @tot, align 8, !tbaa !12
  %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %69)
  br label %26, !llvm.loop !15

71:                                               ; preds = %26
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  ret i32 0
}

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

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

attributes #0 = { 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 #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}
!12 = !{!13, !13, i64 0}
!13 = !{!"long long", !7, i64 0}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !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
@q = external dso_local global i32, align 4
@a = external dso_local global [1048576 x i32], align 16
@cnt = external dso_local local_unnamed_addr global [21 x [2 x i64]], align 16
@tot = external dso_local local_unnamed_addr global i64, align 8
@type = external dso_local local_unnamed_addr global [21 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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
  %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 = shl nuw i32 1, %2
  %.not30 = icmp eq i32 %2, 31
  br i1 %.not30, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %0
  %smax = tail call i32 @llvm.smax.i32(i32 %3, i32 1)
  %wide.trip.count = zext nneg i32 %smax to i64
  br label %.lr.ph

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %.pre = load i32, ptr @n, align 4, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %0
  %4 = phi i32 [ %.pre, %._crit_edge.loopexit ], [ 31, %0 ]
  tail call void @_Z9mergesortiii(i32 noundef 0, i32 noundef %3, i32 noundef %4)
  %5 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @m)
  %6 = load i32, ptr @m, align 4, !tbaa !5
  %7 = add nsw i32 %6, -1
  store i32 %7, ptr @m, align 4, !tbaa !5
  %.not26 = icmp eq i32 %6, 0
  br i1 %.not26, label %._crit_edge29, label %.lr.ph28

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %8 = getelementptr inbounds [1048576 x i32], ptr @a, i64 0, i64 %indvars.iv
  %9 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %8)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge.loopexit, label %.lr.ph, !llvm.loop !9

.lr.ph28:                                         ; preds = %._crit_edge, %34
  %10 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @q)
  %11 = load i32, ptr @q, align 4, !tbaa !5
  %12 = icmp sgt i32 %11, -1
  br i1 %12, label %.lr.ph19.preheader, label %._crit_edge20

.lr.ph19.preheader:                               ; preds = %.lr.ph28
  %13 = zext nneg i32 %11 to i64
  %14 = add nuw nsw i64 %13, 1
  %min.iters.check = icmp ult i32 %11, 7
  br i1 %min.iters.check, label %.lr.ph19.preheader45, label %vector.ph

.lr.ph19.preheader45:                             ; preds = %middle.block, %.lr.ph19.preheader
  %indvars.iv32.ph = phi i64 [ %13, %.lr.ph19.preheader ], [ %ind.end, %middle.block ]
  br label %.lr.ph19

vector.ph:                                        ; preds = %.lr.ph19.preheader
  %n.vec = and i64 %14, 4294967288
  %ind.end = sub nsw i64 %13, %n.vec
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = sub i64 %13, %index
  %15 = getelementptr inbounds [21 x i32], ptr @type, i64 0, i64 %offset.idx
  %16 = getelementptr inbounds i8, ptr %15, i64 -12
  %17 = getelementptr inbounds i8, ptr %15, i64 -28
  %wide.load = load <4 x i32>, ptr %16, align 4, !tbaa !5
  %wide.load41 = load <4 x i32>, ptr %17, align 4, !tbaa !5
  %18 = xor <4 x i32> %wide.load, <i32 1, i32 1, i32 1, i32 1>
  %19 = xor <4 x i32> %wide.load41, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %18, ptr %16, align 4, !tbaa !5
  store <4 x i32> %19, ptr %17, align 4, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %20 = icmp eq i64 %index.next, %n.vec
  br i1 %20, label %middle.block, label %vector.body, !llvm.loop !11

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %14, %n.vec
  br i1 %cmp.n, label %._crit_edge20, label %.lr.ph19.preheader45

._crit_edge20:                                    ; preds = %.lr.ph19, %middle.block, %.lr.ph28
  store i64 0, ptr @tot, align 8, !tbaa !14
  %21 = load i32, ptr @n, align 4, !tbaa !5
  %.not1521 = icmp slt i32 %21, 0
  br i1 %.not1521, label %34, label %.lr.ph24.preheader

.lr.ph24.preheader:                               ; preds = %._crit_edge20
  %22 = add nuw i32 %21, 1
  %wide.trip.count38 = zext i32 %22 to i64
  %xtraiter = and i64 %wide.trip.count38, 3
  %23 = icmp ult i32 %21, 3
  br i1 %23, label %._crit_edge25.unr-lcssa, label %.lr.ph24.preheader.new

.lr.ph24.preheader.new:                           ; preds = %.lr.ph24.preheader
  %unroll_iter = and i64 %wide.trip.count38, 4294967292
  br label %.lr.ph24

.lr.ph19:                                         ; preds = %.lr.ph19.preheader45, %.lr.ph19
  %indvars.iv32 = phi i64 [ %indvars.iv.next33, %.lr.ph19 ], [ %indvars.iv32.ph, %.lr.ph19.preheader45 ]
  %24 = getelementptr inbounds [21 x i32], ptr @type, i64 0, i64 %indvars.iv32
  %25 = load i32, ptr %24, align 4, !tbaa !5
  %26 = xor i32 %25, 1
  store i32 %26, ptr %24, align 4, !tbaa !5
  %indvars.iv.next33 = add nsw i64 %indvars.iv32, -1
  %.not40 = icmp eq i64 %indvars.iv32, 0
  br i1 %.not40, label %._crit_edge20, label %.lr.ph19, !llvm.loop !16

._crit_edge25.unr-lcssa:                          ; preds = %.lr.ph24, %.lr.ph24.preheader
  %.lcssa.ph = phi i64 [ poison, %.lr.ph24.preheader ], [ %63, %.lr.ph24 ]
  %indvars.iv35.unr = phi i64 [ 0, %.lr.ph24.preheader ], [ %indvars.iv.next36.3, %.lr.ph24 ]
  %.unr = phi i64 [ 0, %.lr.ph24.preheader ], [ %63, %.lr.ph24 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge25, label %.lr.ph24.epil

.lr.ph24.epil:                                    ; preds = %._crit_edge25.unr-lcssa, %.lr.ph24.epil
  %indvars.iv35.epil = phi i64 [ %indvars.iv.next36.epil, %.lr.ph24.epil ], [ %indvars.iv35.unr, %._crit_edge25.unr-lcssa ]
  %27 = phi i64 [ %33, %.lr.ph24.epil ], [ %.unr, %._crit_edge25.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph24.epil ], [ 0, %._crit_edge25.unr-lcssa ]
  %28 = getelementptr inbounds [21 x i32], ptr @type, i64 0, i64 %indvars.iv35.epil
  %29 = load i32, ptr %28, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [21 x [2 x i64]], ptr @cnt, i64 0, i64 %indvars.iv35.epil, i64 %30
  %32 = load i64, ptr %31, align 8, !tbaa !14
  %33 = add nsw i64 %27, %32
  %indvars.iv.next36.epil = add nuw nsw i64 %indvars.iv35.epil, 1
  %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_edge25, label %.lr.ph24.epil, !llvm.loop !17

._crit_edge25:                                    ; preds = %.lr.ph24.epil, %._crit_edge25.unr-lcssa
  %.lcssa = phi i64 [ %.lcssa.ph, %._crit_edge25.unr-lcssa ], [ %33, %.lr.ph24.epil ]
  store i64 %.lcssa, ptr @tot, align 8, !tbaa !14
  br label %34

34:                                               ; preds = %._crit_edge25, %._crit_edge20
  %35 = phi i64 [ %.lcssa, %._crit_edge25 ], [ 0, %._crit_edge20 ]
  %36 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i64 noundef %35)
  %37 = load i32, ptr @m, align 4, !tbaa !5
  %38 = add nsw i32 %37, -1
  store i32 %38, ptr @m, align 4, !tbaa !5
  %.not = icmp eq i32 %37, 0
  br i1 %.not, label %._crit_edge29, label %.lr.ph28, !llvm.loop !19

.lr.ph24:                                         ; preds = %.lr.ph24, %.lr.ph24.preheader.new
  %indvars.iv35 = phi i64 [ 0, %.lr.ph24.preheader.new ], [ %indvars.iv.next36.3, %.lr.ph24 ]
  %39 = phi i64 [ 0, %.lr.ph24.preheader.new ], [ %63, %.lr.ph24 ]
  %niter = phi i64 [ 0, %.lr.ph24.preheader.new ], [ %niter.next.3, %.lr.ph24 ]
  %40 = getelementptr inbounds [21 x i32], ptr @type, i64 0, i64 %indvars.iv35
  %41 = load i32, ptr %40, align 16, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [21 x [2 x i64]], ptr @cnt, i64 0, i64 %indvars.iv35, i64 %42
  %44 = load i64, ptr %43, align 8, !tbaa !14
  %45 = add nsw i64 %39, %44
  %indvars.iv.next36 = or disjoint i64 %indvars.iv35, 1
  %46 = getelementptr inbounds [21 x i32], ptr @type, i64 0, i64 %indvars.iv.next36
  %47 = load i32, ptr %46, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [21 x [2 x i64]], ptr @cnt, i64 0, i64 %indvars.iv.next36, i64 %48
  %50 = load i64, ptr %49, align 8, !tbaa !14
  %51 = add nsw i64 %45, %50
  %indvars.iv.next36.1 = or disjoint i64 %indvars.iv35, 2
  %52 = getelementptr inbounds [21 x i32], ptr @type, i64 0, i64 %indvars.iv.next36.1
  %53 = load i32, ptr %52, align 8, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [21 x [2 x i64]], ptr @cnt, i64 0, i64 %indvars.iv.next36.1, i64 %54
  %56 = load i64, ptr %55, align 8, !tbaa !14
  %57 = add nsw i64 %51, %56
  %indvars.iv.next36.2 = or disjoint i64 %indvars.iv35, 3
  %58 = getelementptr inbounds [21 x i32], ptr @type, i64 0, i64 %indvars.iv.next36.2
  %59 = load i32, ptr %58, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [21 x [2 x i64]], ptr @cnt, i64 0, i64 %indvars.iv.next36.2, i64 %60
  %62 = load i64, ptr %61, align 8, !tbaa !14
  %63 = add nsw i64 %57, %62
  %indvars.iv.next36.3 = add nuw nsw i64 %indvars.iv35, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge25.unr-lcssa, label %.lr.ph24, !llvm.loop !20

._crit_edge29:                                    ; preds = %34, %._crit_edge
  ret i32 0
}

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

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

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

attributes #0 = { 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 #1 = { 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 #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 = { 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}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10, !12, !13}
!12 = !{!"llvm.loop.isvectorized", i32 1}
!13 = !{!"llvm.loop.unroll.runtime.disable"}
!14 = !{!15, !15, i64 0}
!15 = !{!"long long", !7, i64 0}
!16 = distinct !{!16, !10, !13, !12}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.unroll.disable"}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}


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