; LLVM IR from tangjz/acm-icpc :: codeforces/gym (100540C)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z5solvei(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
  store i32 0, ptr %1, align 4
  br label %5

5:                                                ; preds = %121, %74, %0
  %6 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n)
  %7 = icmp eq i32 %6, 1
  br i1 %7, label %8, label %11

8:                                                ; preds = %5
  %9 = load i32, ptr @n, align 4, !tbaa !5
  %10 = icmp ne i32 %9, 0
  br label %11

11:                                               ; preds = %8, %5
  %12 = phi i1 [ false, %5 ], [ %10, %8 ]
  br i1 %12, label %13, label %124

13:                                               ; preds = %11
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %14

14:                                               ; preds = %24, %13
  %15 = load i32, ptr %2, align 4, !tbaa !5
  %16 = load i32, ptr @n, align 4, !tbaa !5
  %17 = icmp slt i32 %15, %16
  br i1 %17, label %19, label %18

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

19:                                               ; preds = %14
  %20 = load i32, ptr %2, align 4, !tbaa !5
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds i32, ptr @a, i64 %21
  %23 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %22)
  br label %24

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

27:                                               ; preds = %18
  %28 = load i32, ptr @n, align 4, !tbaa !5
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds i32, ptr @a, i64 %29
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef @a, ptr noundef %30)
  store i32 0, ptr @lim, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 1, ptr %3, align 4, !tbaa !5
  br label %31

31:                                               ; preds = %61, %27
  %32 = load i32, ptr %3, align 4, !tbaa !5
  %33 = load i32, ptr @n, align 4, !tbaa !5
  %34 = icmp slt i32 %32, %33
  br i1 %34, label %36, label %35

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

36:                                               ; preds = %31
  %37 = load i32, ptr %3, align 4, !tbaa !5
  %38 = sub nsw i32 %37, 1
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [100001 x i32], ptr @a, i64 0, i64 %39
  %41 = load i32, ptr %40, align 4, !tbaa !5
  %42 = load i32, ptr %3, align 4, !tbaa !5
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [100001 x i32], ptr @a, i64 0, i64 %43
  %45 = load i32, ptr %44, align 4, !tbaa !5
  %46 = icmp ne i32 %41, %45
  br i1 %46, label %47, label %60

47:                                               ; preds = %36
  %48 = load i32, ptr @lim, align 4, !tbaa !5
  %49 = load i32, ptr %3, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [100001 x i32], ptr @a, i64 0, i64 %50
  %52 = load i32, ptr %51, align 4, !tbaa !5
  %53 = load i32, ptr %3, align 4, !tbaa !5
  %54 = sub nsw i32 %53, 1
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [100001 x i32], ptr @a, i64 0, i64 %55
  %57 = load i32, ptr %56, align 4, !tbaa !5
  %58 = sub nsw i32 %52, %57
  %59 = call noundef i32 @_ZSt5__gcdIiET_S0_S0_(i32 noundef %48, i32 noundef %58)
  store i32 %59, ptr @lim, align 4, !tbaa !5
  br label %60

60:                                               ; preds = %47, %36
  br label %61

61:                                               ; preds = %60
  %62 = load i32, ptr %3, align 4, !tbaa !5
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %3, align 4, !tbaa !5
  br label %31, !llvm.loop !11

64:                                               ; preds = %35
  %65 = load i32, ptr @lim, align 4, !tbaa !5
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %69, label %67

67:                                               ; preds = %64
  %68 = load i32, ptr @a, align 16, !tbaa !5
  store i32 %68, ptr @lim, align 4, !tbaa !5
  br label %81

69:                                               ; preds = %64
  %70 = load i32, ptr @lim, align 4, !tbaa !5
  %71 = load i32, ptr @n, align 4, !tbaa !5
  %72 = srem i32 %70, %71
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %74, label %76

74:                                               ; preds = %69
  %75 = call i32 @puts(ptr noundef @.str.1)
  br label %5, !llvm.loop !12

76:                                               ; preds = %69
  %77 = load i32, ptr @n, align 4, !tbaa !5
  %78 = load i32, ptr @lim, align 4, !tbaa !5
  %79 = sdiv i32 %78, %77
  store i32 %79, ptr @lim, align 4, !tbaa !5
  br label %80

80:                                               ; preds = %76
  br label %81

81:                                               ; preds = %80, %67
  store i64 0, ptr @ans, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 1, ptr %4, align 4, !tbaa !5
  br label %82

82:                                               ; preds = %118, %81
  %83 = load i32, ptr %4, align 4, !tbaa !5
  %84 = sext i32 %83 to i64
  %85 = load i32, ptr %4, align 4, !tbaa !5
  %86 = sext i32 %85 to i64
  %87 = mul nsw i64 %84, %86
  %88 = load i32, ptr @lim, align 4, !tbaa !5
  %89 = sext i32 %88 to i64
  %90 = icmp sle i64 %87, %89
  br i1 %90, label %92, label %91

91:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  br label %121

92:                                               ; preds = %82
  %93 = load i32, ptr @lim, align 4, !tbaa !5
  %94 = load i32, ptr %4, align 4, !tbaa !5
  %95 = srem i32 %93, %94
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %97, label %98

97:                                               ; preds = %92
  br label %118

98:                                               ; preds = %92
  %99 = load i32, ptr %4, align 4, !tbaa !5
  %100 = call noundef i32 @_Z5solvei(i32 noundef %99)
  %101 = sext i32 %100 to i64
  %102 = load i64, ptr @ans, align 8, !tbaa !13
  %103 = add nsw i64 %102, %101
  store i64 %103, ptr @ans, align 8, !tbaa !13
  %104 = load i32, ptr %4, align 4, !tbaa !5
  %105 = load i32, ptr %4, align 4, !tbaa !5
  %106 = mul nsw i32 %104, %105
  %107 = load i32, ptr @lim, align 4, !tbaa !5
  %108 = icmp slt i32 %106, %107
  br i1 %108, label %109, label %117

109:                                              ; preds = %98
  %110 = load i32, ptr @lim, align 4, !tbaa !5
  %111 = load i32, ptr %4, align 4, !tbaa !5
  %112 = sdiv i32 %110, %111
  %113 = call noundef i32 @_Z5solvei(i32 noundef %112)
  %114 = sext i32 %113 to i64
  %115 = load i64, ptr @ans, align 8, !tbaa !13
  %116 = add nsw i64 %115, %114
  store i64 %116, ptr @ans, align 8, !tbaa !13
  br label %117

117:                                              ; preds = %109, %98
  br label %118

118:                                              ; preds = %117, %97
  %119 = load i32, ptr %4, align 4, !tbaa !5
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %4, align 4, !tbaa !5
  br label %82, !llvm.loop !15

121:                                              ; preds = %91
  %122 = load i64, ptr @ans, align 8, !tbaa !13
  %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %122)
  br label %5, !llvm.loop !12

124:                                              ; preds = %11
  ret i32 0
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZSt5__gcdIiET_S0_S0_(i32 noundef, i32 noundef) #0

declare i32 @puts(ptr noundef) #3

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

attributes #0 = { 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 #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 = { 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 #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 = distinct !{!12, !10}
!13 = !{!14, !14, i64 0}
!14 = !{!"long long", !7, i64 0}
!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
@a = external dso_local global [100001 x i32], align 16
@lim = external dso_local local_unnamed_addr global i32, align 4
@ans = external dso_local local_unnamed_addr global i64, align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z5solvei(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 = icmp eq i32 %1, 1
  %3 = load i32, ptr @n, align 4
  %4 = icmp ne i32 %3, 0
  %5 = select i1 %2, i1 %4, i1 false
  br i1 %5, label %.preheader, label %._crit_edge41

.preheader:                                       ; preds = %0, %.backedge
  %6 = phi i32 [ %39, %.backedge ], [ %3, %0 ]
  %7 = icmp sgt i32 %6, 0
  br i1 %7, label %.lr.ph, label %.preheader.._crit_edge_crit_edge

.preheader.._crit_edge_crit_edge:                 ; preds = %.preheader
  %.pre52 = sext i32 %6 to i64
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.preheader.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre52, %.preheader.._crit_edge_crit_edge ], [ %14, %.lr.ph ]
  %8 = getelementptr inbounds i32, ptr @a, i64 %.pre-phi
  tail call void @_ZSt4sortIPiEvT_S1_(ptr noundef nonnull @a, ptr noundef nonnull %8)
  store i32 0, ptr @lim, align 4, !tbaa !5
  %9 = load i32, ptr @n, align 4, !tbaa !5
  %10 = icmp sgt i32 %9, 1
  br i1 %10, label %.lr.ph33, label %._crit_edge34.thread

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

._crit_edge34:                                    ; preds = %26
  %.not = icmp eq i32 %28, 0
  br i1 %.not, label %._crit_edge34.thread, label %32

.lr.ph33:                                         ; preds = %._crit_edge, %26
  %16 = phi i32 [ %27, %26 ], [ %9, %._crit_edge ]
  %17 = phi i32 [ %28, %26 ], [ 0, %._crit_edge ]
  %indvars.iv45 = phi i64 [ %indvars.iv.next46, %26 ], [ 1, %._crit_edge ]
  %18 = add nsw i64 %indvars.iv45, -1
  %19 = getelementptr inbounds [100001 x i32], ptr @a, i64 0, i64 %18
  %20 = load i32, ptr %19, align 4, !tbaa !5
  %21 = getelementptr inbounds [100001 x i32], ptr @a, i64 0, i64 %indvars.iv45
  %22 = load i32, ptr %21, align 4, !tbaa !5
  %.not28 = icmp eq i32 %20, %22
  br i1 %.not28, label %26, label %23

23:                                               ; preds = %.lr.ph33
  %24 = sub nsw i32 %22, %20
  %25 = tail call noundef i32 @_ZSt5__gcdIiET_S0_S0_(i32 noundef %17, i32 noundef %24)
  store i32 %25, ptr @lim, align 4, !tbaa !5
  %.pre = load i32, ptr @n, align 4, !tbaa !5
  br label %26

26:                                               ; preds = %.lr.ph33, %23
  %27 = phi i32 [ %16, %.lr.ph33 ], [ %.pre, %23 ]
  %28 = phi i32 [ %17, %.lr.ph33 ], [ %25, %23 ]
  %indvars.iv.next46 = add nuw nsw i64 %indvars.iv45, 1
  %29 = sext i32 %27 to i64
  %30 = icmp slt i64 %indvars.iv.next46, %29
  br i1 %30, label %.lr.ph33, label %._crit_edge34, !llvm.loop !11

._crit_edge34.thread:                             ; preds = %._crit_edge, %._crit_edge34
  %31 = load i32, ptr @a, align 16, !tbaa !5
  br label %42

32:                                               ; preds = %._crit_edge34
  %33 = srem i32 %28, %27
  %34 = sdiv i32 %28, %27
  %.not25 = icmp eq i32 %33, 0
  br i1 %.not25, label %42, label %35

35:                                               ; preds = %32
  %36 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %.backedge

.backedge:                                        ; preds = %35, %._crit_edge40
  %37 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n)
  %38 = icmp eq i32 %37, 1
  %39 = load i32, ptr @n, align 4
  %40 = icmp ne i32 %39, 0
  %41 = select i1 %38, i1 %40, i1 false
  br i1 %41, label %.preheader, label %._crit_edge41, !llvm.loop !12

42:                                               ; preds = %32, %._crit_edge34.thread
  %storemerge = phi i32 [ %31, %._crit_edge34.thread ], [ %34, %32 ]
  store i32 %storemerge, ptr @lim, align 4, !tbaa !5
  store i64 0, ptr @ans, align 8, !tbaa !13
  %.not2636 = icmp slt i32 %storemerge, 1
  br i1 %.not2636, label %._crit_edge40, label %.lr.ph39

._crit_edge40:                                    ; preds = %64, %42
  %43 = phi i64 [ 0, %42 ], [ %65, %64 ]
  %44 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef %43)
  br label %.backedge

.lr.ph39:                                         ; preds = %42, %64
  %45 = phi i64 [ %65, %64 ], [ 0, %42 ]
  %46 = phi i32 [ %66, %64 ], [ %storemerge, %42 ]
  %indvars.iv48 = phi i64 [ %indvars.iv.next49, %64 ], [ 1, %42 ]
  %47 = trunc nuw nsw i64 %indvars.iv48 to i32
  %48 = srem i32 %46, %47
  %.not27 = icmp eq i32 %48, 0
  br i1 %.not27, label %49, label %64

49:                                               ; preds = %.lr.ph39
  %50 = tail call noundef i32 @_Z5solvei(i32 noundef %47)
  %51 = sext i32 %50 to i64
  %52 = load i64, ptr @ans, align 8, !tbaa !13
  %53 = add nsw i64 %52, %51
  store i64 %53, ptr @ans, align 8, !tbaa !13
  %54 = mul nuw nsw i64 %indvars.iv48, %indvars.iv48
  %55 = load i32, ptr @lim, align 4, !tbaa !5
  %56 = trunc nuw i64 %54 to i32
  %57 = icmp sgt i32 %55, %56
  br i1 %57, label %58, label %64

58:                                               ; preds = %49
  %59 = sdiv i32 %55, %47
  %60 = tail call noundef i32 @_Z5solvei(i32 noundef %59)
  %61 = sext i32 %60 to i64
  %62 = load i64, ptr @ans, align 8, !tbaa !13
  %63 = add nsw i64 %62, %61
  store i64 %63, ptr @ans, align 8, !tbaa !13
  %.pre51 = load i32, ptr @lim, align 4, !tbaa !5
  br label %64

64:                                               ; preds = %49, %58, %.lr.ph39
  %65 = phi i64 [ %53, %49 ], [ %63, %58 ], [ %45, %.lr.ph39 ]
  %66 = phi i32 [ %55, %49 ], [ %.pre51, %58 ], [ %46, %.lr.ph39 ]
  %indvars.iv.next49 = add nuw nsw i64 %indvars.iv48, 1
  %67 = mul nuw nsw i64 %indvars.iv.next49, %indvars.iv.next49
  %68 = sext i32 %66 to i64
  %.not26 = icmp sgt i64 %67, %68
  br i1 %.not26, label %._crit_edge40, label %.lr.ph39, !llvm.loop !15

._crit_edge41:                                    ; preds = %.backedge, %0
  ret i32 0
}

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

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

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

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

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

attributes #0 = { 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 #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 = { 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" }

!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 = distinct !{!12, !10}
!13 = !{!14, !14, i64 0}
!14 = !{!"long long", !7, i64 0}
!15 = distinct !{!15, !10}


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