; LLVM IR from AlgoGenesis/C :: Binary Tree Algorithms/Merging Two BST into a Balanced BST (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"

%struct.Node = type { i32, ptr, ptr }
%struct.Stack = type { ptr, i32, i32 }

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

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @createStack(i32 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @isEmpty(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @push(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @pop(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @sortedArrayToBST(ptr noalias noundef, i32 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local ptr @mergeAndBalanceBST(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca [2000 x i32], align 16
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %14 = call ptr @createStack(i32 noundef 100)
  store ptr %14, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %15 = call ptr @createStack(i32 noundef 100)
  store ptr %15, ptr %7, align 8, !tbaa !5
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  %17 = icmp ne ptr %16, null
  br i1 %17, label %18, label %21

18:                                               ; preds = %2
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  %20 = icmp ne ptr %19, null
  br i1 %20, label %22, label %21

21:                                               ; preds = %18, %2
  store ptr null, ptr %3, align 8
  store i32 1, ptr %8, align 4
  br label %133

22:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %23, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %24, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8000, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %25

25:                                               ; preds = %118, %22
  %26 = load ptr, ptr %9, align 8, !tbaa !5
  %27 = icmp ne ptr %26, null
  br i1 %27, label %40, label %28

28:                                               ; preds = %25
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = call zeroext i1 @isEmpty(ptr noundef %29)
  br i1 %30, label %31, label %40

31:                                               ; preds = %28
  %32 = load ptr, ptr %10, align 8, !tbaa !5
  %33 = icmp ne ptr %32, null
  br i1 %33, label %38, label %34

34:                                               ; preds = %31
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = call zeroext i1 @isEmpty(ptr noundef %35)
  %37 = xor i1 %36, true
  br label %38

38:                                               ; preds = %34, %31
  %39 = phi i1 [ true, %31 ], [ %37, %34 ]
  br label %40

40:                                               ; preds = %38, %28, %25
  %41 = phi i1 [ true, %28 ], [ true, %25 ], [ %39, %38 ]
  br i1 %41, label %42, label %119

42:                                               ; preds = %40
  br label %43

43:                                               ; preds = %46, %42
  %44 = load ptr, ptr %9, align 8, !tbaa !5
  %45 = icmp ne ptr %44, null
  br i1 %45, label %46, label %52

46:                                               ; preds = %43
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = load ptr, ptr %9, align 8, !tbaa !5
  call void @push(ptr noundef %47, ptr noundef %48)
  %49 = load ptr, ptr %9, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.Node, ptr %49, i32 0, i32 1
  %51 = load ptr, ptr %50, align 8, !tbaa !11
  store ptr %51, ptr %9, align 8, !tbaa !5
  br label %43, !llvm.loop !13

52:                                               ; preds = %43
  br label %53

53:                                               ; preds = %56, %52
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  %55 = icmp ne ptr %54, null
  br i1 %55, label %56, label %62

56:                                               ; preds = %53
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = load ptr, ptr %10, align 8, !tbaa !5
  call void @push(ptr noundef %57, ptr noundef %58)
  %59 = load ptr, ptr %10, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.Node, ptr %59, i32 0, i32 1
  %61 = load ptr, ptr %60, align 8, !tbaa !11
  store ptr %61, ptr %10, align 8, !tbaa !5
  br label %53, !llvm.loop !15

62:                                               ; preds = %53
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = call zeroext i1 @isEmpty(ptr noundef %63)
  br i1 %64, label %92, label %65

65:                                               ; preds = %62
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = call zeroext i1 @isEmpty(ptr noundef %66)
  br i1 %67, label %105, label %68

68:                                               ; preds = %65
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.Stack, ptr %69, i32 0, i32 0
  %71 = load ptr, ptr %70, align 8, !tbaa !16
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.Stack, ptr %72, i32 0, i32 1
  %74 = load i32, ptr %73, align 8, !tbaa !18
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds ptr, ptr %71, i64 %75
  %77 = load ptr, ptr %76, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.Node, ptr %77, i32 0, i32 0
  %79 = load i32, ptr %78, align 8, !tbaa !19
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.Stack, ptr %80, i32 0, i32 0
  %82 = load ptr, ptr %81, align 8, !tbaa !16
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.Stack, ptr %83, i32 0, i32 1
  %85 = load i32, ptr %84, align 8, !tbaa !18
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds ptr, ptr %82, i64 %86
  %88 = load ptr, ptr %87, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.Node, ptr %88, i32 0, i32 0
  %90 = load i32, ptr %89, align 8, !tbaa !19
  %91 = icmp sle i32 %79, %90
  br i1 %91, label %92, label %105

92:                                               ; preds = %68, %62
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = call ptr @pop(ptr noundef %93)
  store ptr %94, ptr %9, align 8, !tbaa !5
  %95 = load ptr, ptr %9, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.Node, ptr %95, i32 0, i32 0
  %97 = load i32, ptr %96, align 8, !tbaa !19
  %98 = load i32, ptr %12, align 4, !tbaa !9
  %99 = add nsw i32 %98, 1
  store i32 %99, ptr %12, align 4, !tbaa !9
  %100 = sext i32 %98 to i64
  %101 = getelementptr inbounds [2000 x i32], ptr %11, i64 0, i64 %100
  store i32 %97, ptr %101, align 4, !tbaa !9
  %102 = load ptr, ptr %9, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.Node, ptr %102, i32 0, i32 2
  %104 = load ptr, ptr %103, align 8, !tbaa !20
  store ptr %104, ptr %9, align 8, !tbaa !5
  br label %118

105:                                              ; preds = %68, %65
  %106 = load ptr, ptr %7, align 8, !tbaa !5
  %107 = call ptr @pop(ptr noundef %106)
  store ptr %107, ptr %10, align 8, !tbaa !5
  %108 = load ptr, ptr %10, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.Node, ptr %108, i32 0, i32 0
  %110 = load i32, ptr %109, align 8, !tbaa !19
  %111 = load i32, ptr %12, align 4, !tbaa !9
  %112 = add nsw i32 %111, 1
  store i32 %112, ptr %12, align 4, !tbaa !9
  %113 = sext i32 %111 to i64
  %114 = getelementptr inbounds [2000 x i32], ptr %11, i64 0, i64 %113
  store i32 %110, ptr %114, align 4, !tbaa !9
  %115 = load ptr, ptr %10, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.Node, ptr %115, i32 0, i32 2
  %117 = load ptr, ptr %116, align 8, !tbaa !20
  store ptr %117, ptr %10, align 8, !tbaa !5
  br label %118

118:                                              ; preds = %105, %92
  br label %25, !llvm.loop !21

119:                                              ; preds = %40
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %120 = getelementptr inbounds [2000 x i32], ptr %11, i64 0, i64 0
  %121 = load i32, ptr %12, align 4, !tbaa !9
  %122 = sub nsw i32 %121, 1
  %123 = call ptr @sortedArrayToBST(ptr noundef %120, i32 noundef 0, i32 noundef %122)
  store ptr %123, ptr %13, align 8, !tbaa !5
  %124 = load ptr, ptr %6, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.Stack, ptr %124, i32 0, i32 0
  %126 = load ptr, ptr %125, align 8, !tbaa !16
  call void @free(ptr noundef %126) #3
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  call void @free(ptr noundef %127) #3
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.Stack, ptr %128, i32 0, i32 0
  %130 = load ptr, ptr %129, align 8, !tbaa !16
  call void @free(ptr noundef %130) #3
  %131 = load ptr, ptr %7, align 8, !tbaa !5
  call void @free(ptr noundef %131) #3
  %132 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %132, ptr %3, align 8
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8000, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  br label %133

133:                                              ; preds = %119, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  %134 = load ptr, ptr %3, align 8
  ret ptr %134
}

; Function Attrs: nounwind
declare void @free(ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 8}
!12 = !{!"Node", !10, i64 0, !6, i64 8, !6, i64 16}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!17, !6, i64 0}
!17 = !{!"Stack", !6, i64 0, !10, i64 8, !10, i64 12}
!18 = !{!17, !10, i64 8}
!19 = !{!12, !10, i64 0}
!20 = !{!12, !6, i64 16}
!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"

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

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @createStack(i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @isEmpty(ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @pop(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @sortedArrayToBST(ptr noalias noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local ptr @mergeAndBalanceBST(ptr noundef %0, ptr noundef %1) local_unnamed_addr #1 {
  %3 = alloca [2000 x i32], align 16
  %4 = tail call ptr @createStack(i32 noundef 100)
  %5 = tail call ptr @createStack(i32 noundef 100)
  %6 = icmp ne ptr %4, null
  %7 = icmp ne ptr %5, null
  %or.cond = select i1 %6, i1 %7, i1 false
  br i1 %or.cond, label %8, label %56

8:                                                ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8000, ptr nonnull %3) #3
  %9 = getelementptr inbounds i8, ptr %4, i64 8
  %10 = getelementptr inbounds i8, ptr %5, i64 8
  br label %11

11:                                               ; preds = %49, %8
  %indvars.iv = phi i64 [ %indvars.iv.next, %49 ], [ 0, %8 ]
  %.042 = phi ptr [ %.244, %49 ], [ %0, %8 ]
  %.040 = phi ptr [ %.2, %49 ], [ %1, %8 ]
  %cond = icmp eq ptr %.042, null
  br i1 %cond, label %12, label %.lr.ph

12:                                               ; preds = %11
  %13 = tail call zeroext i1 @isEmpty(ptr noundef nonnull %4)
  %14 = icmp eq ptr %.040, null
  %or.cond3.not = select i1 %13, i1 %14, i1 false
  br i1 %or.cond3.not, label %15, label %.preheader

15:                                               ; preds = %12
  %16 = tail call zeroext i1 @isEmpty(ptr noundef nonnull %5)
  br i1 %16, label %50, label %._crit_edge

.preheader:                                       ; preds = %.lr.ph, %12
  %.not4953 = icmp eq ptr %.040, null
  br i1 %.not4953, label %._crit_edge, label %.lr.ph55

.lr.ph:                                           ; preds = %11, %.lr.ph
  %.14352 = phi ptr [ %18, %.lr.ph ], [ %.042, %11 ]
  tail call void @push(ptr noundef nonnull %4, ptr noundef nonnull %.14352)
  %17 = getelementptr inbounds i8, ptr %.14352, i64 8
  %18 = load ptr, ptr %17, align 8, !tbaa !5
  %.not = icmp eq ptr %18, null
  br i1 %.not, label %.preheader, label %.lr.ph, !llvm.loop !11

.lr.ph55:                                         ; preds = %.preheader, %.lr.ph55
  %.14154 = phi ptr [ %20, %.lr.ph55 ], [ %.040, %.preheader ]
  tail call void @push(ptr noundef nonnull %5, ptr noundef nonnull %.14154)
  %19 = getelementptr inbounds i8, ptr %.14154, i64 8
  %20 = load ptr, ptr %19, align 8, !tbaa !5
  %.not49 = icmp eq ptr %20, null
  br i1 %.not49, label %._crit_edge, label %.lr.ph55, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph55, %15, %.preheader
  %21 = tail call zeroext i1 @isEmpty(ptr noundef nonnull %5)
  br i1 %21, label %37, label %22

22:                                               ; preds = %._crit_edge
  %23 = tail call zeroext i1 @isEmpty(ptr noundef nonnull %4)
  br i1 %23, label %43, label %24

24:                                               ; preds = %22
  %25 = load ptr, ptr %4, align 8, !tbaa !14
  %26 = load i32, ptr %9, align 8, !tbaa !16
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds ptr, ptr %25, i64 %27
  %29 = load ptr, ptr %28, align 8, !tbaa !17
  %30 = load i32, ptr %29, align 8, !tbaa !18
  %31 = load ptr, ptr %5, align 8, !tbaa !14
  %32 = load i32, ptr %10, align 8, !tbaa !16
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds ptr, ptr %31, i64 %33
  %35 = load ptr, ptr %34, align 8, !tbaa !17
  %36 = load i32, ptr %35, align 8, !tbaa !18
  %.not50 = icmp sgt i32 %30, %36
  br i1 %.not50, label %43, label %37

37:                                               ; preds = %24, %._crit_edge
  %38 = tail call ptr @pop(ptr noundef nonnull %4)
  %39 = load i32, ptr %38, align 8, !tbaa !18
  %40 = getelementptr inbounds [2000 x i32], ptr %3, i64 0, i64 %indvars.iv
  store i32 %39, ptr %40, align 4, !tbaa !19
  %41 = getelementptr inbounds i8, ptr %38, i64 16
  %42 = load ptr, ptr %41, align 8, !tbaa !20
  br label %49

43:                                               ; preds = %24, %22
  %44 = tail call ptr @pop(ptr noundef nonnull %5)
  %45 = load i32, ptr %44, align 8, !tbaa !18
  %46 = getelementptr inbounds [2000 x i32], ptr %3, i64 0, i64 %indvars.iv
  store i32 %45, ptr %46, align 4, !tbaa !19
  %47 = getelementptr inbounds i8, ptr %44, i64 16
  %48 = load ptr, ptr %47, align 8, !tbaa !20
  br label %49

49:                                               ; preds = %43, %37
  %.244 = phi ptr [ %42, %37 ], [ null, %43 ]
  %.2 = phi ptr [ null, %37 ], [ %48, %43 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  br label %11, !llvm.loop !21

50:                                               ; preds = %15
  %51 = trunc nuw nsw i64 %indvars.iv to i32
  %52 = add nsw i32 %51, -1
  %53 = call ptr @sortedArrayToBST(ptr noundef nonnull %3, i32 noundef 0, i32 noundef %52)
  %54 = load ptr, ptr %4, align 8, !tbaa !14
  call void @free(ptr noundef %54) #3
  call void @free(ptr noundef %4) #3
  %55 = load ptr, ptr %5, align 8, !tbaa !14
  call void @free(ptr noundef %55) #3
  call void @free(ptr noundef %5) #3
  call void @llvm.lifetime.end.p0(i64 8000, ptr nonnull %3) #3
  br label %56

56:                                               ; preds = %2, %50
  %.0 = phi ptr [ %53, %50 ], [ null, %2 ]
  ret ptr %.0
}

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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, !10, i64 8}
!6 = !{!"Node", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!15, !10, i64 0}
!15 = !{!"Stack", !10, i64 0, !7, i64 8, !7, i64 12}
!16 = !{!15, !7, i64 8}
!17 = !{!10, !10, i64 0}
!18 = !{!6, !7, i64 0}
!19 = !{!7, !7, i64 0}
!20 = !{!6, !10, i64 16}
!21 = distinct !{!21, !12}


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