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

; 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
@q = external dso_local global i32, align 4
@d = external dso_local global [1000001 x i32], align 16
@c = external dso_local global [1000001 x i64], align 16
@.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 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 i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %10 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n, ptr noundef @q)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #3
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %11

11:                                               ; preds = %34, %0
  %12 = load i32, ptr %2, align 4, !tbaa !5
  %13 = load i32, ptr @n, align 4, !tbaa !5
  %14 = icmp sle i32 %12, %13
  br i1 %14, label %16, label %15

15:                                               ; preds = %11
  store i32 2, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #3
  br label %37

16:                                               ; preds = %11
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  %17 = load i32, ptr %2, align 4, !tbaa !5
  store i32 %17, ptr %4, align 4, !tbaa !5
  br label %18

18:                                               ; preds = %29, %16
  %19 = load i32, ptr %4, align 4, !tbaa !5
  %20 = load i32, ptr @n, align 4, !tbaa !5
  %21 = icmp sle i32 %19, %20
  br i1 %21, label %23, label %22

22:                                               ; preds = %18
  store i32 5, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  br label %33

23:                                               ; preds = %18
  %24 = load i32, ptr %4, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [1000001 x i32], ptr @d, i64 0, i64 %25
  %27 = load i32, ptr %26, align 4, !tbaa !5
  %28 = add nsw i32 %27, 1
  store i32 %28, ptr %26, align 4, !tbaa !5
  br label %29

29:                                               ; preds = %23
  %30 = load i32, ptr %2, align 4, !tbaa !5
  %31 = load i32, ptr %4, align 4, !tbaa !5
  %32 = add nsw i32 %31, %30
  store i32 %32, ptr %4, align 4, !tbaa !5
  br label %18, !llvm.loop !9

33:                                               ; preds = %22
  br label %34

34:                                               ; preds = %33
  %35 = load i32, ptr %2, align 4, !tbaa !5
  %36 = add nsw i32 %35, 1
  store i32 %36, ptr %2, align 4, !tbaa !5
  br label %11, !llvm.loop !11

37:                                               ; preds = %15
  br label %38

38:                                               ; preds = %81, %37
  %39 = load i32, ptr @q, align 4, !tbaa !5
  %40 = add nsw i32 %39, -1
  store i32 %40, ptr @q, align 4, !tbaa !5
  %41 = icmp ne i32 %39, 0
  br i1 %41, label %42, label %82

42:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  %43 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %5, ptr noundef %6)
  %44 = load i32, ptr %5, align 4, !tbaa !5
  %45 = icmp eq i32 %44, 1
  br i1 %45, label %46, label %75

46:                                               ; preds = %42
  %47 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %7)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  store i32 1, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  %48 = load i32, ptr %6, align 4, !tbaa !5
  store i32 %48, ptr %9, align 4, !tbaa !5
  br label %49

49:                                               ; preds = %68, %46
  %50 = load i32, ptr %9, align 4, !tbaa !5
  %51 = load i32, ptr @n, align 4, !tbaa !5
  %52 = icmp sle i32 %50, %51
  br i1 %52, label %54, label %53

53:                                               ; preds = %49
  store i32 10, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  br label %74

54:                                               ; preds = %49
  %55 = load i32, ptr %8, align 4, !tbaa !5
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [1000001 x i32], ptr @d, i64 0, i64 %56
  %58 = load i32, ptr %57, align 4, !tbaa !5
  %59 = sext i32 %58 to i64
  %60 = load i32, ptr %7, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = mul nsw i64 %59, %61
  %63 = load i32, ptr %9, align 4, !tbaa !5
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [1000001 x i64], ptr @c, i64 0, i64 %64
  %66 = load i64, ptr %65, align 8, !tbaa !12
  %67 = add nsw i64 %66, %62
  store i64 %67, ptr %65, align 8, !tbaa !12
  br label %68

68:                                               ; preds = %54
  %69 = load i32, ptr %8, align 4, !tbaa !5
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %8, align 4, !tbaa !5
  %71 = load i32, ptr %6, align 4, !tbaa !5
  %72 = load i32, ptr %9, align 4, !tbaa !5
  %73 = add nsw i32 %72, %71
  store i32 %73, ptr %9, align 4, !tbaa !5
  br label %49, !llvm.loop !14

74:                                               ; preds = %53
  br label %81

75:                                               ; preds = %42
  %76 = load i32, ptr %6, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [1000001 x i64], ptr @c, i64 0, i64 %77
  %79 = load i64, ptr %78, align 8, !tbaa !12
  %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %79)
  br label %81

81:                                               ; preds = %75, %74
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  br label %38, !llvm.loop !15

82:                                               ; preds = %38
  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

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 = { 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
@q = external dso_local global i32, align 4
@d = external dso_local local_unnamed_addr global [1000001 x i32], align 16
@c = external dso_local local_unnamed_addr global [1000001 x i64], align 16
@.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 nofree norecurse nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n, ptr noundef nonnull @q)
  %5 = load i32, ptr @n, align 4, !tbaa !5
  %.not20 = icmp slt i32 %5, 1
  br i1 %.not20, label %.preheader, label %.preheader18.preheader

.preheader18.preheader:                           ; preds = %0
  %6 = zext nneg i32 %5 to i64
  %xtraiter = and i64 %6, 1
  %7 = icmp eq i32 %5, 1
  br i1 %7, label %.preheader.loopexit.unr-lcssa, label %.preheader18.preheader.new

.preheader18.preheader.new:                       ; preds = %.preheader18.preheader
  %unroll_iter = and i64 %6, 2147483646
  br label %.preheader18

.preheader18:                                     ; preds = %19, %.preheader18.preheader.new
  %indvars.iv = phi i64 [ 1, %.preheader18.preheader.new ], [ %indvars.iv.next.1, %19 ]
  %niter = phi i64 [ 0, %.preheader18.preheader.new ], [ %niter.next.1, %19 ]
  br label %20

.preheader.loopexit.unr-lcssa:                    ; preds = %19, %.preheader18.preheader
  %indvars.iv.unr = phi i64 [ 1, %.preheader18.preheader ], [ %indvars.iv.next.1, %19 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader, label %.preheader18.epil

.preheader18.epil:                                ; preds = %.preheader.loopexit.unr-lcssa, %.preheader18.epil
  %indvars.iv27.epil = phi i64 [ %indvars.iv.next28.epil, %.preheader18.epil ], [ %indvars.iv.unr, %.preheader.loopexit.unr-lcssa ]
  %8 = getelementptr inbounds [1000001 x i32], ptr @d, i64 0, i64 %indvars.iv27.epil
  %9 = load i32, ptr %8, align 4, !tbaa !5
  %10 = add nsw i32 %9, 1
  store i32 %10, ptr %8, align 4, !tbaa !5
  %indvars.iv.next28.epil = add nuw nsw i64 %indvars.iv27.epil, %indvars.iv.unr
  %11 = trunc nuw i64 %indvars.iv.next28.epil to i32
  %.not17.epil = icmp slt i32 %5, %11
  br i1 %.not17.epil, label %.preheader, label %.preheader18.epil, !llvm.loop !9

.preheader:                                       ; preds = %.preheader.loopexit.unr-lcssa, %.preheader18.epil, %0
  %12 = load i32, ptr @q, align 4, !tbaa !5
  %13 = add nsw i32 %12, -1
  store i32 %13, ptr @q, align 4, !tbaa !5
  %.not1525 = icmp eq i32 %12, 0
  br i1 %.not1525, label %._crit_edge, label %.lr.ph26

.preheader18.1:                                   ; preds = %20
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  br label %14

14:                                               ; preds = %14, %.preheader18.1
  %indvars.iv27.1 = phi i64 [ %indvars.iv.next, %.preheader18.1 ], [ %indvars.iv.next28.1, %14 ]
  %15 = getelementptr inbounds [1000001 x i32], ptr @d, i64 0, i64 %indvars.iv27.1
  %16 = load i32, ptr %15, align 4, !tbaa !5
  %17 = add nsw i32 %16, 1
  store i32 %17, ptr %15, align 4, !tbaa !5
  %indvars.iv.next28.1 = add nuw nsw i64 %indvars.iv27.1, %indvars.iv.next
  %18 = trunc nuw i64 %indvars.iv.next28.1 to i32
  %.not17.1 = icmp slt i32 %5, %18
  br i1 %.not17.1, label %19, label %14, !llvm.loop !9

19:                                               ; preds = %14
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %niter.next.1 = add nuw i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.preheader.loopexit.unr-lcssa, label %.preheader18, !llvm.loop !11

20:                                               ; preds = %.preheader18, %20
  %indvars.iv27 = phi i64 [ %indvars.iv, %.preheader18 ], [ %indvars.iv.next28, %20 ]
  %21 = getelementptr inbounds [1000001 x i32], ptr @d, i64 0, i64 %indvars.iv27
  %22 = load i32, ptr %21, align 4, !tbaa !5
  %23 = add nsw i32 %22, 1
  store i32 %23, ptr %21, align 4, !tbaa !5
  %indvars.iv.next28 = add nuw nsw i64 %indvars.iv27, %indvars.iv
  %24 = trunc nuw i64 %indvars.iv.next28 to i32
  %.not17 = icmp slt i32 %5, %24
  br i1 %.not17, label %.preheader18.1, label %20, !llvm.loop !9

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

28:                                               ; preds = %.lr.ph26
  %29 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %3)
  %30 = load i32, ptr %2, align 4, !tbaa !5
  %31 = load i32, ptr @n, align 4, !tbaa !5
  %.not1622 = icmp sgt i32 %30, %31
  br i1 %.not1622, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %28
  %32 = load i32, ptr %3, align 4, !tbaa !5
  %33 = sext i32 %32 to i64
  %34 = sext i32 %30 to i64
  %35 = sext i32 %31 to i64
  %36 = shl nsw i64 %34, 1
  %37 = add nsw i64 %35, 1
  %smax = call i64 @llvm.smax.i64(i64 %36, i64 %37)
  %38 = icmp sle i64 %36, %35
  %umin.neg = sext i1 %38 to i64
  %39 = select i1 %38, i64 2, i64 1
  %40 = add i64 %smax, %umin.neg
  %41 = sub i64 %40, %36
  %42 = udiv i64 %41, %34
  %43 = add i64 %39, %42
  %min.iters.check = icmp ugt i64 %43, 3
  %ident.check.not = icmp eq i32 %30, 1
  %or.cond = and i1 %min.iters.check, %ident.check.not
  br i1 %or.cond, label %vector.ph, label %scalar.ph.preheader

vector.ph:                                        ; preds = %.lr.ph
  %n.vec = and i64 %43, -4
  %ind.end = or disjoint i64 %n.vec, 1
  %44 = or disjoint i64 %n.vec, 1
  %ind.end38 = mul nuw i64 %44, %34
  %broadcast.splatinsert = insertelement <2 x i64> poison, i64 %33, i64 0
  %broadcast.splat = shufflevector <2 x i64> %broadcast.splatinsert, <2 x i64> 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 ]
  %offset.idx = or disjoint i64 %index, 1
  %offset.idx40 = or disjoint i64 %index, 1
  %45 = getelementptr inbounds [1000001 x i32], ptr @d, i64 0, i64 %offset.idx
  %46 = getelementptr inbounds i8, ptr %45, i64 8
  %wide.load = load <2 x i32>, ptr %45, align 4, !tbaa !5
  %wide.load41 = load <2 x i32>, ptr %46, align 4, !tbaa !5
  %47 = sext <2 x i32> %wide.load to <2 x i64>
  %48 = sext <2 x i32> %wide.load41 to <2 x i64>
  %49 = mul nsw <2 x i64> %broadcast.splat, %47
  %50 = mul nsw <2 x i64> %broadcast.splat, %48
  %51 = getelementptr inbounds [1000001 x i64], ptr @c, i64 0, i64 %offset.idx40
  %52 = getelementptr inbounds i8, ptr %51, i64 16
  %wide.load42 = load <2 x i64>, ptr %51, align 8, !tbaa !12
  %wide.load43 = load <2 x i64>, ptr %52, align 8, !tbaa !12
  %53 = add nsw <2 x i64> %49, %wide.load42
  %54 = add nsw <2 x i64> %50, %wide.load43
  store <2 x i64> %53, ptr %51, align 8, !tbaa !12
  store <2 x i64> %54, ptr %52, align 8, !tbaa !12
  %index.next = add nuw i64 %index, 4
  %55 = icmp eq i64 %index.next, %n.vec
  br i1 %55, label %middle.block, label %vector.body, !llvm.loop !14

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %43, %n.vec
  br i1 %cmp.n, label %.loopexit, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph
  %indvars.iv33.ph = phi i64 [ 1, %.lr.ph ], [ %ind.end, %middle.block ]
  %indvars.iv31.ph = phi i64 [ %34, %.lr.ph ], [ %ind.end38, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv33 = phi i64 [ %indvars.iv.next34, %scalar.ph ], [ %indvars.iv33.ph, %scalar.ph.preheader ]
  %indvars.iv31 = phi i64 [ %indvars.iv.next32, %scalar.ph ], [ %indvars.iv31.ph, %scalar.ph.preheader ]
  %56 = getelementptr inbounds [1000001 x i32], ptr @d, i64 0, i64 %indvars.iv33
  %57 = load i32, ptr %56, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = mul nsw i64 %33, %58
  %60 = getelementptr inbounds [1000001 x i64], ptr @c, i64 0, i64 %indvars.iv31
  %61 = load i64, ptr %60, align 8, !tbaa !12
  %62 = add nsw i64 %59, %61
  store i64 %62, ptr %60, align 8, !tbaa !12
  %indvars.iv.next34 = add nuw nsw i64 %indvars.iv33, 1
  %indvars.iv.next32 = add nsw i64 %indvars.iv31, %34
  %.not16 = icmp sgt i64 %indvars.iv.next32, %35
  br i1 %.not16, label %.loopexit, label %scalar.ph, !llvm.loop !17

63:                                               ; preds = %.lr.ph26
  %64 = load i32, ptr %2, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [1000001 x i64], ptr @c, i64 0, i64 %65
  %67 = load i64, ptr %66, align 8, !tbaa !12
  %68 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef %67)
  br label %.loopexit

.loopexit:                                        ; preds = %scalar.ph, %middle.block, %28, %63
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
  %69 = load i32, ptr @q, align 4, !tbaa !5
  %70 = add nsw i32 %69, -1
  store i32 %70, ptr @q, align 4, !tbaa !5
  %.not15 = icmp eq i32 %69, 0
  br i1 %.not15, label %._crit_edge, label %.lr.ph26, !llvm.loop !18

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

; 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: 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 i64 @llvm.smax.i64(i64, i64) #3

attributes #0 = { mustprogress nofree 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 #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !16}
!15 = !{!"llvm.loop.isvectorized", i32 1}
!16 = !{!"llvm.loop.unroll.runtime.disable"}
!17 = distinct !{!17, !10, !15}
!18 = distinct !{!18, !10}


; Effective O3 passes: EarlyCSEPass,GlobalDCEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass