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

; 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
@prime = external dso_local global [1001 x i32], align 16
@cnt = external dso_local global i32, align 4
@f = external dso_local global [1001 x i64], align 16
@ans = external dso_local global i64, align 8
@flag = external dso_local global [1001 x i8], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = 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
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  %5 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n)
  store i32 2, ptr %2, align 4, !tbaa !5
  br label %6

6:                                                ; preds = %38, %0
  %7 = load i32, ptr %2, align 4, !tbaa !5
  %8 = load i32, ptr @n, align 4, !tbaa !5
  %9 = icmp sle i32 %7, %8
  br i1 %9, label %10, label %41

10:                                               ; preds = %6
  %11 = load i32, ptr %2, align 4, !tbaa !5
  %12 = sext i32 %11 to i64
  %13 = getelementptr inbounds [1001 x i8], ptr @flag, i64 0, i64 %12
  %14 = load i8, ptr %13, align 1, !tbaa !9, !range !11, !noundef !12
  %15 = trunc i8 %14 to i1
  br i1 %15, label %37, label %16

16:                                               ; preds = %10
  %17 = load i32, ptr %2, align 4, !tbaa !5
  %18 = load i32, ptr @cnt, align 4, !tbaa !5
  %19 = add nsw i32 %18, 1
  store i32 %19, ptr @cnt, align 4, !tbaa !5
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds [1001 x i32], ptr @prime, i64 0, i64 %20
  store i32 %17, ptr %21, align 4, !tbaa !5
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = shl i32 %22, 1
  store i32 %23, ptr %3, align 4, !tbaa !5
  br label %24

24:                                               ; preds = %32, %16
  %25 = load i32, ptr %3, align 4, !tbaa !5
  %26 = load i32, ptr @n, align 4, !tbaa !5
  %27 = icmp sle i32 %25, %26
  br i1 %27, label %28, label %36

28:                                               ; preds = %24
  %29 = load i32, ptr %3, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [1001 x i8], ptr @flag, i64 0, i64 %30
  store i8 1, ptr %31, align 1, !tbaa !9
  br label %32

32:                                               ; preds = %28
  %33 = load i32, ptr %2, align 4, !tbaa !5
  %34 = load i32, ptr %3, align 4, !tbaa !5
  %35 = add nsw i32 %34, %33
  store i32 %35, ptr %3, align 4, !tbaa !5
  br label %24, !llvm.loop !13

36:                                               ; preds = %24
  br label %37

37:                                               ; preds = %36, %10
  br label %38

38:                                               ; preds = %37
  %39 = load i32, ptr %2, align 4, !tbaa !5
  %40 = add nsw i32 %39, 1
  store i32 %40, ptr %2, align 4, !tbaa !5
  br label %6, !llvm.loop !15

41:                                               ; preds = %6
  store i64 1, ptr @f, align 16, !tbaa !16
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %42

42:                                               ; preds = %84, %41
  %43 = load i32, ptr %2, align 4, !tbaa !5
  %44 = load i32, ptr @cnt, align 4, !tbaa !5
  %45 = icmp sle i32 %43, %44
  br i1 %45, label %46, label %87

46:                                               ; preds = %42
  %47 = load i32, ptr @n, align 4, !tbaa !5
  store i32 %47, ptr %3, align 4, !tbaa !5
  br label %48

48:                                               ; preds = %80, %46
  %49 = load i32, ptr %3, align 4, !tbaa !5
  %50 = icmp sge i32 %49, 2
  br i1 %50, label %51, label %83

51:                                               ; preds = %48
  %52 = load i32, ptr %2, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [1001 x i32], ptr @prime, i64 0, i64 %53
  %55 = load i32, ptr %54, align 4, !tbaa !5
  store i32 %55, ptr %4, align 4, !tbaa !5
  br label %56

56:                                               ; preds = %72, %51
  %57 = load i32, ptr %4, align 4, !tbaa !5
  %58 = load i32, ptr %3, align 4, !tbaa !5
  %59 = icmp sle i32 %57, %58
  br i1 %59, label %60, label %79

60:                                               ; preds = %56
  %61 = load i32, ptr %3, align 4, !tbaa !5
  %62 = load i32, ptr %4, align 4, !tbaa !5
  %63 = sub nsw i32 %61, %62
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [1001 x i64], ptr @f, i64 0, i64 %64
  %66 = load i64, ptr %65, align 8, !tbaa !16
  %67 = load i32, ptr %3, align 4, !tbaa !5
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [1001 x i64], ptr @f, i64 0, i64 %68
  %70 = load i64, ptr %69, align 8, !tbaa !16
  %71 = add nsw i64 %70, %66
  store i64 %71, ptr %69, align 8, !tbaa !16
  br label %72

72:                                               ; preds = %60
  %73 = load i32, ptr %2, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds [1001 x i32], ptr @prime, i64 0, i64 %74
  %76 = load i32, ptr %75, align 4, !tbaa !5
  %77 = load i32, ptr %4, align 4, !tbaa !5
  %78 = mul nsw i32 %77, %76
  store i32 %78, ptr %4, align 4, !tbaa !5
  br label %56, !llvm.loop !18

79:                                               ; preds = %56
  br label %80

80:                                               ; preds = %79
  %81 = load i32, ptr %3, align 4, !tbaa !5
  %82 = add nsw i32 %81, -1
  store i32 %82, ptr %3, align 4, !tbaa !5
  br label %48, !llvm.loop !19

83:                                               ; preds = %48
  br label %84

84:                                               ; preds = %83
  %85 = load i32, ptr %2, align 4, !tbaa !5
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %2, align 4, !tbaa !5
  br label %42, !llvm.loop !20

87:                                               ; preds = %42
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %88

88:                                               ; preds = %99, %87
  %89 = load i32, ptr %2, align 4, !tbaa !5
  %90 = load i32, ptr @n, align 4, !tbaa !5
  %91 = icmp sle i32 %89, %90
  br i1 %91, label %92, label %102

92:                                               ; preds = %88
  %93 = load i32, ptr %2, align 4, !tbaa !5
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [1001 x i64], ptr @f, i64 0, i64 %94
  %96 = load i64, ptr %95, align 8, !tbaa !16
  %97 = load i64, ptr @ans, align 8, !tbaa !16
  %98 = add nsw i64 %97, %96
  store i64 %98, ptr @ans, align 8, !tbaa !16
  br label %99

99:                                               ; preds = %92
  %100 = load i32, ptr %2, align 4, !tbaa !5
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr %2, align 4, !tbaa !5
  br label %88, !llvm.loop !21

102:                                              ; preds = %88
  %103 = load i64, ptr @ans, align 8, !tbaa !16
  %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %103)
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #3
  ret i32 0
}

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

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!17, !17, i64 0}
!17 = !{!"long long", !7, i64 0}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}


; 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
@prime = external dso_local local_unnamed_addr global [1001 x i32], align 16
@cnt = external dso_local local_unnamed_addr global i32, align 4
@f = external dso_local local_unnamed_addr global [1001 x i64], align 16
@ans = external dso_local local_unnamed_addr global i64, align 8
@flag = external dso_local local_unnamed_addr global [1001 x i8], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = 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 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n)
  %2 = load i32, ptr @n, align 4, !tbaa !5
  %cnt.promoted = load i32, ptr @cnt, align 4, !tbaa !5
  %.not34 = icmp slt i32 %2, 2
  br i1 %.not34, label %._crit_edge, label %.lr.ph36.preheader

.lr.ph36.preheader:                               ; preds = %0
  %3 = zext nneg i32 %2 to i64
  %4 = add nuw i32 %2, 1
  %wide.trip.count = zext i32 %4 to i64
  br label %.lr.ph36

.lr.ph36:                                         ; preds = %.lr.ph36.preheader, %.loopexit
  %indvars.iv53 = phi i64 [ 2, %.lr.ph36.preheader ], [ %indvars.iv.next54, %.loopexit ]
  %indvars.iv = phi i32 [ 4, %.lr.ph36.preheader ], [ %indvars.iv.next, %.loopexit ]
  %5 = phi i32 [ %cnt.promoted, %.lr.ph36.preheader ], [ %17, %.loopexit ]
  %6 = getelementptr inbounds [1001 x i8], ptr @flag, i64 0, i64 %indvars.iv53
  %7 = load i8, ptr %6, align 1, !tbaa !9, !range !11, !noundef !12
  %8 = trunc nuw i8 %7 to i1
  br i1 %8, label %.loopexit, label %9

9:                                                ; preds = %.lr.ph36
  %10 = add nsw i32 %5, 1
  store i32 %10, ptr @cnt, align 4, !tbaa !5
  %11 = sext i32 %10 to i64
  %12 = getelementptr inbounds [1001 x i32], ptr @prime, i64 0, i64 %11
  %13 = trunc nuw nsw i64 %indvars.iv53 to i32
  store i32 %13, ptr %12, align 4, !tbaa !5
  %indvars.iv53.tr = trunc i64 %indvars.iv53 to i32
  %14 = shl i32 %indvars.iv53.tr, 1
  %.not3032 = icmp sgt i32 %14, %2
  br i1 %.not3032, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %9
  %15 = sext i32 %indvars.iv to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv55 = phi i64 [ %indvars.iv.next56, %.lr.ph ], [ %15, %.lr.ph.preheader ]
  %16 = getelementptr inbounds [1001 x i8], ptr @flag, i64 0, i64 %indvars.iv55
  store i8 1, ptr %16, align 1, !tbaa !9
  %indvars.iv.next56 = add nsw i64 %indvars.iv55, %indvars.iv53
  %.not30 = icmp sgt i64 %indvars.iv.next56, %3
  br i1 %.not30, label %.loopexit, label %.lr.ph, !llvm.loop !13

.loopexit:                                        ; preds = %.lr.ph, %9, %.lr.ph36
  %17 = phi i32 [ %5, %.lr.ph36 ], [ %10, %9 ], [ %10, %.lr.ph ]
  %indvars.iv.next54 = add nuw nsw i64 %indvars.iv53, 1
  %indvars.iv.next = add i32 %indvars.iv, 2
  %exitcond.not = icmp eq i64 %indvars.iv.next54, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph36, !llvm.loop !15

._crit_edge:                                      ; preds = %.loopexit, %0
  %18 = phi i32 [ %cnt.promoted, %0 ], [ %17, %.loopexit ]
  store i64 1, ptr @f, align 16, !tbaa !16
  %.not2745 = icmp sgt i32 %18, 0
  %19 = icmp sgt i32 %2, 1
  %or.cond = and i1 %.not2745, %19
  br i1 %or.cond, label %.preheader31.us.preheader, label %.preheader

.preheader31.us.preheader:                        ; preds = %._crit_edge
  %20 = zext nneg i32 %2 to i64
  %21 = add nuw i32 %18, 1
  %wide.trip.count65 = zext i32 %21 to i64
  br label %.preheader31.us

.preheader31.us:                                  ; preds = %.preheader31.us.preheader, %._crit_edge44.us
  %indvars.iv62 = phi i64 [ 1, %.preheader31.us.preheader ], [ %indvars.iv.next63, %._crit_edge44.us ]
  %22 = getelementptr inbounds [1001 x i32], ptr @prime, i64 0, i64 %indvars.iv62
  %23 = load i32, ptr %22, align 4, !tbaa !5
  %24 = sext i32 %23 to i64
  br label %25

25:                                               ; preds = %.preheader31.us, %._crit_edge41.us
  %indvars.iv59 = phi i64 [ %20, %.preheader31.us ], [ %indvars.iv.next60, %._crit_edge41.us ]
  %.not2937.us = icmp slt i64 %indvars.iv59, %24
  br i1 %.not2937.us, label %._crit_edge41.us, label %.lr.ph40.us

26:                                               ; preds = %.lr.ph40.us, %26
  %27 = phi i64 [ %.promoted.us, %.lr.ph40.us ], [ %32, %26 ]
  %.038.us = phi i32 [ %23, %.lr.ph40.us ], [ %33, %26 ]
  %28 = sub nsw i32 %37, %.038.us
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [1001 x i64], ptr @f, i64 0, i64 %29
  %31 = load i64, ptr %30, align 8, !tbaa !16
  %32 = add nsw i64 %27, %31
  store i64 %32, ptr %36, align 8, !tbaa !16
  %33 = mul nsw i32 %.038.us, %23
  %34 = sext i32 %33 to i64
  %.not29.us = icmp slt i64 %indvars.iv59, %34
  br i1 %.not29.us, label %._crit_edge41.us, label %26, !llvm.loop !18

._crit_edge41.us:                                 ; preds = %26, %25
  %indvars.iv.next60 = add nsw i64 %indvars.iv59, -1
  %35 = icmp sgt i64 %indvars.iv59, 2
  br i1 %35, label %25, label %._crit_edge44.us, !llvm.loop !19

.lr.ph40.us:                                      ; preds = %25
  %36 = getelementptr inbounds [1001 x i64], ptr @f, i64 0, i64 %indvars.iv59
  %.promoted.us = load i64, ptr %36, align 8, !tbaa !16
  %37 = trunc nuw nsw i64 %indvars.iv59 to i32
  br label %26

._crit_edge44.us:                                 ; preds = %._crit_edge41.us
  %indvars.iv.next63 = add nuw nsw i64 %indvars.iv62, 1
  %exitcond66.not = icmp eq i64 %indvars.iv.next63, %wide.trip.count65
  br i1 %exitcond66.not, label %.preheader, label %.preheader31.us, !llvm.loop !20

.preheader:                                       ; preds = %._crit_edge44.us, %._crit_edge
  %ans.promoted = load i64, ptr @ans, align 8, !tbaa !16
  %.not2847 = icmp slt i32 %2, 0
  br i1 %.not2847, label %50, label %.lr.ph49.preheader

.lr.ph49.preheader:                               ; preds = %.preheader
  %38 = add nuw i32 %2, 1
  %wide.trip.count70 = zext i32 %38 to i64
  %min.iters.check = icmp ult i32 %2, 3
  br i1 %min.iters.check, label %.lr.ph49.preheader76, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph49.preheader
  %n.vec = and i64 %wide.trip.count70, 4294967292
  %39 = insertelement <2 x i64> <i64 poison, i64 0>, i64 %ans.promoted, i64 0
  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> [ %39, %vector.ph ], [ %42, %vector.body ]
  %vec.phi74 = phi <2 x i64> [ zeroinitializer, %vector.ph ], [ %43, %vector.body ]
  %40 = getelementptr inbounds [1001 x i64], ptr @f, i64 0, i64 %index
  %41 = getelementptr inbounds i8, ptr %40, i64 16
  %wide.load = load <2 x i64>, ptr %40, align 16, !tbaa !16
  %wide.load75 = load <2 x i64>, ptr %41, align 16, !tbaa !16
  %42 = add <2 x i64> %vec.phi, %wide.load
  %43 = add <2 x i64> %vec.phi74, %wide.load75
  %index.next = add nuw i64 %index, 4
  %44 = icmp eq i64 %index.next, %n.vec
  br i1 %44, label %middle.block, label %vector.body, !llvm.loop !21

middle.block:                                     ; preds = %vector.body
  %bin.rdx = add <2 x i64> %43, %42
  %45 = tail call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %bin.rdx)
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count70
  br i1 %cmp.n, label %._crit_edge50, label %.lr.ph49.preheader76

.lr.ph49.preheader76:                             ; preds = %middle.block, %.lr.ph49.preheader
  %indvars.iv67.ph = phi i64 [ 0, %.lr.ph49.preheader ], [ %n.vec, %middle.block ]
  %.ph = phi i64 [ %ans.promoted, %.lr.ph49.preheader ], [ %45, %middle.block ]
  br label %.lr.ph49

.lr.ph49:                                         ; preds = %.lr.ph49.preheader76, %.lr.ph49
  %indvars.iv67 = phi i64 [ %indvars.iv.next68, %.lr.ph49 ], [ %indvars.iv67.ph, %.lr.ph49.preheader76 ]
  %46 = phi i64 [ %49, %.lr.ph49 ], [ %.ph, %.lr.ph49.preheader76 ]
  %47 = getelementptr inbounds [1001 x i64], ptr @f, i64 0, i64 %indvars.iv67
  %48 = load i64, ptr %47, align 8, !tbaa !16
  %49 = add nsw i64 %46, %48
  %indvars.iv.next68 = add nuw nsw i64 %indvars.iv67, 1
  %exitcond71.not = icmp eq i64 %indvars.iv.next68, %wide.trip.count70
  br i1 %exitcond71.not, label %._crit_edge50, label %.lr.ph49, !llvm.loop !24

._crit_edge50:                                    ; preds = %.lr.ph49, %middle.block
  %.lcssa = phi i64 [ %45, %middle.block ], [ %49, %.lr.ph49 ]
  store i64 %.lcssa, ptr @ans, align 8, !tbaa !16
  br label %50

50:                                               ; preds = %._crit_edge50, %.preheader
  %51 = phi i64 [ %.lcssa, %._crit_edge50 ], [ %ans.promoted, %.preheader ]
  %52 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i64 noundef %51)
  ret i32 0
}

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

; 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.vector.reduce.add.v2i64(<2 x i64>) #2

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


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