; LLVM IR from AlgoGenesis/C :: Sparse Matrix/Multiplication (program)

; 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"

@.str.3 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [35 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @sparseToTuple(ptr noundef, i32 noundef, i32 noundef, ptr 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
declare dso_local void @multiplyTuples(ptr noundef, ptr noundef, ptr noundef) #0

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

; Function Attrs: nounwind uwtable
declare dso_local void @printTuple(ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca [100 x [100 x i32]], align 16
  %3 = alloca [100 x [100 x i32]], align 16
  %4 = alloca [100 x [3 x i32]], align 16
  %5 = alloca [100 x [3 x i32]], align 16
  %6 = alloca [100 x [3 x i32]], align 16
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 40000, ptr %2) #3
  call void @llvm.lifetime.start.p0(i64 40000, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 1200, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 1200, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 1200, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  %17 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.4, ptr noundef %7, ptr noundef %8)
  %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %19

19:                                               ; preds = %42, %0
  %20 = load i32, ptr %11, align 4, !tbaa !5
  %21 = load i32, ptr %7, align 4, !tbaa !5
  %22 = icmp slt i32 %20, %21
  br i1 %22, label %24, label %23

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

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

25:                                               ; preds = %38, %24
  %26 = load i32, ptr %13, align 4, !tbaa !5
  %27 = load i32, ptr %8, align 4, !tbaa !5
  %28 = icmp slt i32 %26, %27
  br i1 %28, label %30, label %29

29:                                               ; preds = %25
  store i32 5, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  br label %41

30:                                               ; preds = %25
  %31 = load i32, ptr %11, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [100 x [100 x i32]], ptr %2, i64 0, i64 %32
  %34 = load i32, ptr %13, align 4, !tbaa !5
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [100 x i32], ptr %33, i64 0, i64 %35
  %37 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.6, ptr noundef %36)
  br label %38

38:                                               ; preds = %30
  %39 = load i32, ptr %13, align 4, !tbaa !5
  %40 = add nsw i32 %39, 1
  store i32 %40, ptr %13, align 4, !tbaa !5
  br label %25, !llvm.loop !9

41:                                               ; preds = %29
  br label %42

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

45:                                               ; preds = %23
  %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  %47 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.4, ptr noundef %9, ptr noundef %10)
  %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %49

49:                                               ; preds = %72, %45
  %50 = load i32, ptr %14, align 4, !tbaa !5
  %51 = load i32, ptr %9, align 4, !tbaa !5
  %52 = icmp slt i32 %50, %51
  br i1 %52, label %54, label %53

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

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

55:                                               ; preds = %68, %54
  %56 = load i32, ptr %15, align 4, !tbaa !5
  %57 = load i32, ptr %10, align 4, !tbaa !5
  %58 = icmp slt i32 %56, %57
  br i1 %58, label %60, label %59

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

60:                                               ; preds = %55
  %61 = load i32, ptr %14, align 4, !tbaa !5
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [100 x [100 x i32]], ptr %3, i64 0, i64 %62
  %64 = load i32, ptr %15, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [100 x i32], ptr %63, i64 0, i64 %65
  %67 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.6, ptr noundef %66)
  br label %68

68:                                               ; preds = %60
  %69 = load i32, ptr %15, align 4, !tbaa !5
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %15, align 4, !tbaa !5
  br label %55, !llvm.loop !12

71:                                               ; preds = %59
  br label %72

72:                                               ; preds = %71
  %73 = load i32, ptr %14, align 4, !tbaa !5
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %14, align 4, !tbaa !5
  br label %49, !llvm.loop !13

75:                                               ; preds = %53
  %76 = getelementptr inbounds [100 x [100 x i32]], ptr %2, i64 0, i64 0
  %77 = load i32, ptr %7, align 4, !tbaa !5
  %78 = load i32, ptr %8, align 4, !tbaa !5
  %79 = getelementptr inbounds [100 x [3 x i32]], ptr %4, i64 0, i64 0
  %80 = call i32 @sparseToTuple(ptr noundef %76, i32 noundef %77, i32 noundef %78, ptr noundef %79)
  %81 = getelementptr inbounds [100 x [100 x i32]], ptr %3, i64 0, i64 0
  %82 = load i32, ptr %9, align 4, !tbaa !5
  %83 = load i32, ptr %10, align 4, !tbaa !5
  %84 = getelementptr inbounds [100 x [3 x i32]], ptr %5, i64 0, i64 0
  %85 = call i32 @sparseToTuple(ptr noundef %81, i32 noundef %82, i32 noundef %83, ptr noundef %84)
  %86 = getelementptr inbounds [100 x [3 x i32]], ptr %4, i64 0, i64 0
  %87 = getelementptr inbounds [100 x [3 x i32]], ptr %5, i64 0, i64 0
  %88 = getelementptr inbounds [100 x [3 x i32]], ptr %6, i64 0, i64 0
  call void @multiplyTuples(ptr noundef %86, ptr noundef %87, ptr noundef %88)
  %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  %90 = getelementptr inbounds [100 x [3 x i32]], ptr %6, i64 0, i64 0
  call void @printTuple(ptr noundef %90)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 1200, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 1200, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 1200, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 40000, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 40000, ptr %2) #3
  %91 = load i32, ptr %1, align 4
  ret i32 %91
}

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"

@.str.3 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [35 x i8], align 1

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @multiplyTuples(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca [100 x [100 x i32]], align 16
  %2 = alloca [100 x [100 x i32]], align 16
  %3 = alloca [100 x [3 x i32]], align 16
  %4 = alloca [100 x [3 x i32]], align 16
  %5 = alloca [100 x [3 x i32]], align 16
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 40000, ptr nonnull %1) #3
  call void @llvm.lifetime.start.p0(i64 40000, ptr nonnull %2) #3
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
  %10 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %11 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.4, ptr noundef nonnull %6, ptr noundef nonnull %7)
  %12 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  %13 = load i32, ptr %6, align 4, !tbaa !5
  %14 = icmp sgt i32 %13, 0
  %15 = load i32, ptr %7, align 4
  %16 = icmp sgt i32 %15, 0
  %or.cond = select i1 %14, i1 %16, i1 false
  br i1 %or.cond, label %.preheader16, label %._crit_edge19

.preheader16:                                     ; preds = %0, %._crit_edge
  %17 = phi i32 [ %27, %._crit_edge ], [ %13, %0 ]
  %18 = phi i32 [ %28, %._crit_edge ], [ %15, %0 ]
  %indvars.iv28 = phi i64 [ %indvars.iv.next29, %._crit_edge ], [ 0, %0 ]
  %19 = icmp sgt i32 %18, 0
  br i1 %19, label %.lr.ph, label %._crit_edge

._crit_edge19:                                    ; preds = %._crit_edge, %0
  %20 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  %21 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.4, ptr noundef nonnull %8, ptr noundef nonnull %9)
  %22 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  %23 = load i32, ptr %8, align 4, !tbaa !5
  %24 = icmp sgt i32 %23, 0
  %25 = load i32, ptr %9, align 4
  %26 = icmp sgt i32 %25, 0
  %or.cond41 = select i1 %24, i1 %26, i1 false
  br i1 %or.cond41, label %.preheader, label %._crit_edge24

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

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader16
  %27 = phi i32 [ %.pre, %._crit_edge.loopexit ], [ %17, %.preheader16 ]
  %28 = phi i32 [ %33, %._crit_edge.loopexit ], [ %18, %.preheader16 ]
  %indvars.iv.next29 = add nuw nsw i64 %indvars.iv28, 1
  %29 = sext i32 %27 to i64
  %30 = icmp slt i64 %indvars.iv.next29, %29
  br i1 %30, label %.preheader16, label %._crit_edge19, !llvm.loop !9

.lr.ph:                                           ; preds = %.preheader16, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.preheader16 ]
  %31 = getelementptr inbounds [100 x [100 x i32]], ptr %1, i64 0, i64 %indvars.iv28, i64 %indvars.iv
  %32 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.6, ptr noundef nonnull %31)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %33 = load i32, ptr %7, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = icmp slt i64 %indvars.iv.next, %34
  br i1 %35, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !12

.preheader:                                       ; preds = %._crit_edge19, %._crit_edge22
  %36 = phi i32 [ %46, %._crit_edge22 ], [ %23, %._crit_edge19 ]
  %37 = phi i32 [ %47, %._crit_edge22 ], [ %25, %._crit_edge19 ]
  %indvars.iv34 = phi i64 [ %indvars.iv.next35, %._crit_edge22 ], [ 0, %._crit_edge19 ]
  %38 = icmp sgt i32 %37, 0
  br i1 %38, label %.lr.ph21, label %._crit_edge22

._crit_edge24:                                    ; preds = %._crit_edge22, %._crit_edge19
  %39 = load i32, ptr %6, align 4, !tbaa !5
  %40 = load i32, ptr %7, align 4, !tbaa !5
  %41 = call i32 @sparseToTuple(ptr noundef nonnull %1, i32 noundef %39, i32 noundef %40, ptr noundef nonnull %3)
  %42 = load i32, ptr %8, align 4, !tbaa !5
  %43 = load i32, ptr %9, align 4, !tbaa !5
  %44 = call i32 @sparseToTuple(ptr noundef nonnull %2, i32 noundef %42, i32 noundef %43, ptr noundef nonnull %4)
  call void @multiplyTuples(ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5)
  %45 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  call void @printTuple(ptr noundef nonnull %5)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %3) #3
  call void @llvm.lifetime.end.p0(i64 40000, ptr nonnull %2) #3
  call void @llvm.lifetime.end.p0(i64 40000, ptr nonnull %1) #3
  ret i32 0

._crit_edge22.loopexit:                           ; preds = %.lr.ph21
  %.pre37 = load i32, ptr %8, align 4, !tbaa !5
  br label %._crit_edge22

._crit_edge22:                                    ; preds = %._crit_edge22.loopexit, %.preheader
  %46 = phi i32 [ %.pre37, %._crit_edge22.loopexit ], [ %36, %.preheader ]
  %47 = phi i32 [ %52, %._crit_edge22.loopexit ], [ %37, %.preheader ]
  %indvars.iv.next35 = add nuw nsw i64 %indvars.iv34, 1
  %48 = sext i32 %46 to i64
  %49 = icmp slt i64 %indvars.iv.next35, %48
  br i1 %49, label %.preheader, label %._crit_edge24, !llvm.loop !13

.lr.ph21:                                         ; preds = %.preheader, %.lr.ph21
  %indvars.iv31 = phi i64 [ %indvars.iv.next32, %.lr.ph21 ], [ 0, %.preheader ]
  %50 = getelementptr inbounds [100 x [100 x i32]], ptr %2, i64 0, i64 %indvars.iv34, i64 %indvars.iv31
  %51 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.6, ptr noundef nonnull %50)
  %indvars.iv.next32 = add nuw nsw i64 %indvars.iv31, 1
  %52 = load i32, ptr %9, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = icmp slt i64 %indvars.iv.next32, %53
  br i1 %54, label %.lr.ph21, label %._crit_edge22.loopexit, !llvm.loop !14
}

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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, !11}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.unswitch.partial.disable"}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10, !11}
!14 = distinct !{!14, !10}


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