; LLVM IR from ritikbanger/Hacktoberfest2022-DSA :: 17. Graph (BFS graph)

; 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 [100 x [100 x i32]], align 16
@visited = external dso_local global [100 x i32], align 16
@q = external dso_local global [100 x i32], align 16
@level = external dso_local global [100 x i32], align 16
@.str = external hidden unnamed_addr constant [23 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [26 x i8], align 1
@x = external dso_local global i32, align 4
@y = external dso_local global i32, align 4
@v = external dso_local global i32, align 4
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@z = external dso_local global i32, align 4
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @bfs(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: nounwind uwtable
define dso_local 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
  store i32 0, ptr %1, align 4
  %8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %9 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef @n)
  %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  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 = %42, %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 %45

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

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

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

22:                                               ; preds = %17
  %23 = load i32, ptr @x, align 4, !tbaa !5
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [100 x [100 x i32]], ptr @a, i64 0, i64 %24
  %26 = load i32, ptr @y, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [100 x i32], ptr %25, i64 0, i64 %27
  store i32 0, ptr %28, align 4, !tbaa !5
  br label %29

29:                                               ; preds = %22
  %30 = load i32, ptr %4, align 4, !tbaa !5
  %31 = add nsw i32 %30, 1
  store i32 %31, ptr %4, align 4, !tbaa !5
  br label %17, !llvm.loop !9

32:                                               ; preds = %21
  %33 = load i32, ptr %2, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [100 x i32], ptr @visited, i64 0, i64 %34
  store i32 0, ptr %35, align 4, !tbaa !5
  %36 = load i32, ptr %2, align 4, !tbaa !5
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [100 x i32], ptr @q, i64 0, i64 %37
  store i32 0, ptr %38, align 4, !tbaa !5
  %39 = load i32, ptr %2, align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [100 x i32], ptr @level, i64 0, i64 %40
  store i32 0, ptr %41, align 4, !tbaa !5
  br label %42

42:                                               ; preds = %32
  %43 = load i32, ptr %2, align 4, !tbaa !5
  %44 = add nsw i32 %43, 1
  store i32 %44, ptr %2, align 4, !tbaa !5
  br label %11, !llvm.loop !11

45:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  store i32 1, ptr %5, align 4, !tbaa !5
  br label %46

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

50:                                               ; preds = %46
  store i32 8, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  br label %69

51:                                               ; preds = %46
  %52 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef @x)
  %53 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef @y)
  %54 = load i32, ptr @x, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [100 x [100 x i32]], ptr @a, i64 0, i64 %55
  %57 = load i32, ptr @y, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [100 x i32], ptr %56, i64 0, i64 %58
  store i32 1, ptr %59, align 4, !tbaa !5
  %60 = load i32, ptr @y, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [100 x [100 x i32]], ptr @a, i64 0, i64 %61
  %63 = load i32, ptr @x, align 4, !tbaa !5
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [100 x i32], ptr %62, i64 0, i64 %64
  store i32 1, ptr %65, align 4, !tbaa !5
  br label %66

66:                                               ; preds = %51
  %67 = load i32, ptr %5, align 4, !tbaa !5
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %5, align 4, !tbaa !5
  br label %46, !llvm.loop !12

69:                                               ; preds = %50
  store i32 1, ptr @v, align 4, !tbaa !5
  %70 = load i32, ptr @v, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [100 x i32], ptr @level, i64 0, i64 %71
  store i32 1, ptr %72, align 4, !tbaa !5
  %73 = load i32, ptr @v, align 4, !tbaa !5
  call void @bfs(i32 noundef %73)
  %74 = load i32, ptr @v, align 4, !tbaa !5
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [100 x i32], ptr @level, i64 0, i64 %75
  store i32 1, ptr %76, align 4, !tbaa !5
  %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  %79 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef @z)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  store i32 0, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  store i32 1, ptr %7, align 4, !tbaa !5
  br label %80

80:                                               ; preds = %102, %69
  %81 = load i32, ptr %7, align 4, !tbaa !5
  %82 = load i32, ptr @n, align 4, !tbaa !5
  %83 = icmp sle i32 %81, %82
  br i1 %83, label %85, label %84

84:                                               ; preds = %80
  store i32 11, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  br label %105

85:                                               ; preds = %80
  %86 = load i32, ptr %7, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [100 x i32], ptr @level, i64 0, i64 %87
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = load i32, ptr @z, align 4, !tbaa !5
  %91 = icmp eq i32 %89, %90
  br i1 %91, label %92, label %101

92:                                               ; preds = %85
  %93 = load i32, ptr %7, align 4, !tbaa !5
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [100 x i32], ptr @visited, i64 0, i64 %94
  %96 = load i32, ptr %95, align 4, !tbaa !5
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %98, label %101

98:                                               ; preds = %92
  %99 = load i32, ptr %6, align 4, !tbaa !5
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %6, align 4, !tbaa !5
  br label %101

101:                                              ; preds = %98, %92, %85
  br label %102

102:                                              ; preds = %101
  %103 = load i32, ptr %7, align 4, !tbaa !5
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %7, align 4, !tbaa !5
  br label %80, !llvm.loop !13

105:                                              ; preds = %84
  %106 = load i32, ptr %6, align 4, !tbaa !5
  %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %106)
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  %108 = load i32, ptr %1, align 4
  ret i32 %108
}

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

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

attributes #0 = { 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 = { "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/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!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
@a = external dso_local local_unnamed_addr global [100 x [100 x i32]], align 16
@visited = external dso_local local_unnamed_addr global [100 x i32], align 16
@q = external dso_local local_unnamed_addr global [100 x i32], align 16
@level = external dso_local local_unnamed_addr global [100 x i32], align 16
@.str = external hidden unnamed_addr constant [23 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [26 x i8], align 1
@x = external dso_local global i32, align 4
@y = external dso_local global i32, align 4
@v = external dso_local local_unnamed_addr global i32, align 4
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@z = external dso_local global i32, align 4
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @bfs(i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %2 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull @n)
  %3 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %4 = load i32, ptr @n, align 4, !tbaa !5
  %.not26 = icmp slt i32 %4, 1
  br i1 %.not26, label %._crit_edge29, label %.preheader

.preheader:                                       ; preds = %0
  %5 = load i32, ptr @x, align 4
  %6 = load i32, ptr @y, align 4
  %7 = sext i32 %6 to i64
  %8 = zext nneg i32 %4 to i64
  %9 = shl nuw nsw i64 %8, 2
  tail call void @llvm.memset.p0.i64(ptr nonnull align 4 getelementptr inbounds (i8, ptr @visited, i64 4), i8 0, i64 %9, i1 false), !tbaa !5
  tail call void @llvm.memset.p0.i64(ptr nonnull align 4 getelementptr inbounds (i8, ptr @q, i64 4), i8 0, i64 %9, i1 false), !tbaa !5
  tail call void @llvm.memset.p0.i64(ptr nonnull align 4 getelementptr inbounds (i8, ptr @level, i64 4), i8 0, i64 %9, i1 false), !tbaa !5
  %10 = sext i32 %5 to i64
  %11 = getelementptr inbounds [100 x [100 x i32]], ptr @a, i64 0, i64 %10, i64 %7
  store i32 0, ptr %11, align 4, !tbaa !5
  %.not = icmp eq i32 %4, 1
  br i1 %.not, label %._crit_edge29, label %.lr.ph

._crit_edge29:                                    ; preds = %.lr.ph, %0, %.preheader
  store i32 1, ptr @v, align 4, !tbaa !5
  store i32 1, ptr getelementptr inbounds (i8, ptr @level, i64 4), align 4, !tbaa !5
  tail call void @bfs(i32 noundef 1)
  %12 = load i32, ptr @v, align 4, !tbaa !5
  %13 = sext i32 %12 to i64
  %14 = getelementptr inbounds [100 x i32], ptr @level, i64 0, i64 %13
  store i32 1, ptr %14, align 4, !tbaa !5
  %15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %16 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %17 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull @z)
  %18 = load i32, ptr @n, align 4, !tbaa !5
  %.not2030 = icmp slt i32 %18, 1
  br i1 %.not2030, label %._crit_edge35, label %.lr.ph34

.lr.ph34:                                         ; preds = %._crit_edge29
  %19 = load i32, ptr @z, align 4, !tbaa !5
  %20 = zext nneg i32 %18 to i64
  %xtraiter = and i64 %20, 1
  %21 = icmp eq i32 %18, 1
  br i1 %21, label %._crit_edge35.loopexit.unr-lcssa, label %.lr.ph34.new

.lr.ph34.new:                                     ; preds = %.lr.ph34
  %unroll_iter = and i64 %20, 2147483646
  br label %41

.lr.ph:                                           ; preds = %.preheader, %.lr.ph
  %.01728 = phi i32 [ %30, %.lr.ph ], [ 1, %.preheader ]
  %22 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull @x)
  %23 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull @y)
  %24 = load i32, ptr @x, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = load i32, ptr @y, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [100 x [100 x i32]], ptr @a, i64 0, i64 %25, i64 %27
  store i32 1, ptr %28, align 4, !tbaa !5
  %29 = getelementptr inbounds [100 x [100 x i32]], ptr @a, i64 0, i64 %27, i64 %25
  store i32 1, ptr %29, align 4, !tbaa !5
  %30 = add nuw nsw i32 %.01728, 1
  %31 = load i32, ptr @n, align 4, !tbaa !5
  %32 = icmp slt i32 %30, %31
  br i1 %32, label %.lr.ph, label %._crit_edge29, !llvm.loop !9

._crit_edge35.loopexit.unr-lcssa:                 ; preds = %57, %.lr.ph34
  %.1.lcssa.ph = phi i32 [ poison, %.lr.ph34 ], [ %.1.1, %57 ]
  %indvars.iv.unr = phi i64 [ 1, %.lr.ph34 ], [ %indvars.iv.next.1, %57 ]
  %.01631.unr = phi i32 [ 0, %.lr.ph34 ], [ %.1.1, %57 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge35, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge35.loopexit.unr-lcssa
  %33 = getelementptr inbounds [100 x i32], ptr @level, i64 0, i64 %indvars.iv.unr
  %34 = load i32, ptr %33, align 4, !tbaa !5
  %35 = icmp eq i32 %34, %19
  br i1 %35, label %36, label %._crit_edge35

36:                                               ; preds = %.epil.preheader
  %37 = getelementptr inbounds [100 x i32], ptr @visited, i64 0, i64 %indvars.iv.unr
  %38 = load i32, ptr %37, align 4, !tbaa !5
  %.not21.epil = icmp ne i32 %38, 0
  %39 = zext i1 %.not21.epil to i32
  %spec.select.epil = add nsw i32 %.01631.unr, %39
  br label %._crit_edge35

._crit_edge35:                                    ; preds = %._crit_edge35.loopexit.unr-lcssa, %36, %.epil.preheader, %._crit_edge29
  %.016.lcssa = phi i32 [ 0, %._crit_edge29 ], [ %.1.lcssa.ph, %._crit_edge35.loopexit.unr-lcssa ], [ %.01631.unr, %.epil.preheader ], [ %spec.select.epil, %36 ]
  %40 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %.016.lcssa)
  ret i32 0

41:                                               ; preds = %57, %.lr.ph34.new
  %indvars.iv = phi i64 [ 1, %.lr.ph34.new ], [ %indvars.iv.next.1, %57 ]
  %.01631 = phi i32 [ 0, %.lr.ph34.new ], [ %.1.1, %57 ]
  %niter = phi i64 [ 0, %.lr.ph34.new ], [ %niter.next.1, %57 ]
  %42 = getelementptr inbounds [100 x i32], ptr @level, i64 0, i64 %indvars.iv
  %43 = load i32, ptr %42, align 4, !tbaa !5
  %44 = icmp eq i32 %43, %19
  br i1 %44, label %45, label %49

45:                                               ; preds = %41
  %46 = getelementptr inbounds [100 x i32], ptr @visited, i64 0, i64 %indvars.iv
  %47 = load i32, ptr %46, align 4, !tbaa !5
  %.not21 = icmp ne i32 %47, 0
  %48 = zext i1 %.not21 to i32
  %spec.select = add nsw i32 %.01631, %48
  br label %49

49:                                               ; preds = %45, %41
  %.1 = phi i32 [ %.01631, %41 ], [ %spec.select, %45 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %50 = getelementptr inbounds [100 x i32], ptr @level, i64 0, i64 %indvars.iv.next
  %51 = load i32, ptr %50, align 4, !tbaa !5
  %52 = icmp eq i32 %51, %19
  br i1 %52, label %53, label %57

53:                                               ; preds = %49
  %54 = getelementptr inbounds [100 x i32], ptr @visited, i64 0, i64 %indvars.iv.next
  %55 = load i32, ptr %54, align 4, !tbaa !5
  %.not21.1 = icmp ne i32 %55, 0
  %56 = zext i1 %.not21.1 to i32
  %spec.select.1 = add nsw i32 %.1, %56
  br label %57

57:                                               ; preds = %53, %49
  %.1.1 = phi i32 [ %.1, %49 ], [ %spec.select.1, %53 ]
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge35.loopexit.unr-lcssa, label %41, !llvm.loop !11
}

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

attributes #0 = { 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 nounwind willreturn memory(argmem: write) }

!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/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass