; LLVM IR from DimitrisJim/leetcode_solutions :: C/Algorithms (1441)

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

@__const.buildArray.operations = external hidden unnamed_addr constant [2 x [5 x i8]], align 1

; Function Attrs: nounwind uwtable
define dso_local ptr @buildArray(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca [2 x [5 x i8]], align 1
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 10, ptr %9) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.buildArray.operations, i64 10, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %19 = load i32, ptr %7, align 4, !tbaa !9
  %20 = sdiv i32 %19, 2
  store i32 %20, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %21 = load i32, ptr %10, align 4, !tbaa !9
  %22 = sext i32 %21 to i64
  %23 = mul i64 %22, 8
  %24 = call noalias ptr @malloc(i64 noundef %23) #7
  store ptr %24, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %25

25:                                               ; preds = %127, %4
  %26 = load i32, ptr %14, align 4, !tbaa !9
  %27 = load i32, ptr %6, align 4, !tbaa !9
  %28 = icmp slt i32 %26, %27
  br i1 %28, label %30, label %29

29:                                               ; preds = %25
  store i32 2, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %130

30:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = load i32, ptr %14, align 4, !tbaa !9
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds i32, ptr %31, i64 %33
  %35 = load i32, ptr %34, align 4, !tbaa !9
  store i32 %35, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %36 = load i32, ptr %16, align 4, !tbaa !9
  %37 = load i32, ptr %12, align 4, !tbaa !9
  %38 = sub nsw i32 %36, %37
  %39 = sub nsw i32 %38, 1
  store i32 %39, ptr %17, align 4, !tbaa !9
  %40 = load i32, ptr %17, align 4, !tbaa !9
  %41 = icmp sgt i32 %40, 0
  br i1 %41, label %42, label %94

42:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %43

43:                                               ; preds = %90, %42
  %44 = load i32, ptr %18, align 4, !tbaa !9
  %45 = load i32, ptr %17, align 4, !tbaa !9
  %46 = icmp slt i32 %44, %45
  br i1 %46, label %48, label %47

47:                                               ; preds = %43
  store i32 5, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %93

48:                                               ; preds = %43
  %49 = load i32, ptr %11, align 4, !tbaa !9
  %50 = add nsw i32 %49, 2
  %51 = load i32, ptr %10, align 4, !tbaa !9
  %52 = icmp sge i32 %50, %51
  br i1 %52, label %53, label %61

53:                                               ; preds = %48
  %54 = load i32, ptr %10, align 4, !tbaa !9
  %55 = mul nsw i32 %54, 2
  store i32 %55, ptr %10, align 4, !tbaa !9
  %56 = load ptr, ptr %13, align 8, !tbaa !5
  %57 = load i32, ptr %10, align 4, !tbaa !9
  %58 = sext i32 %57 to i64
  %59 = mul i64 %58, 8
  %60 = call ptr @realloc(ptr noundef %56, i64 noundef %59) #8
  store ptr %60, ptr %13, align 8, !tbaa !5
  br label %61

61:                                               ; preds = %53, %48
  %62 = call noalias ptr @malloc(i64 noundef 5) #7
  %63 = load ptr, ptr %13, align 8, !tbaa !5
  %64 = load i32, ptr %11, align 4, !tbaa !9
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds ptr, ptr %63, i64 %65
  store ptr %62, ptr %66, align 8, !tbaa !5
  %67 = load ptr, ptr %13, align 8, !tbaa !5
  %68 = load i32, ptr %11, align 4, !tbaa !9
  %69 = add nsw i32 %68, 1
  store i32 %69, ptr %11, align 4, !tbaa !9
  %70 = sext i32 %68 to i64
  %71 = getelementptr inbounds ptr, ptr %67, i64 %70
  %72 = load ptr, ptr %71, align 8, !tbaa !5
  %73 = getelementptr inbounds [2 x [5 x i8]], ptr %9, i64 0, i64 0
  %74 = getelementptr inbounds [5 x i8], ptr %73, i64 0, i64 0
  %75 = call ptr @strncpy(ptr noundef %72, ptr noundef %74, i64 noundef 5) #6
  %76 = call noalias ptr @malloc(i64 noundef 4) #7
  %77 = load ptr, ptr %13, align 8, !tbaa !5
  %78 = load i32, ptr %11, align 4, !tbaa !9
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds ptr, ptr %77, i64 %79
  store ptr %76, ptr %80, align 8, !tbaa !5
  %81 = load ptr, ptr %13, align 8, !tbaa !5
  %82 = load i32, ptr %11, align 4, !tbaa !9
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr %11, align 4, !tbaa !9
  %84 = sext i32 %82 to i64
  %85 = getelementptr inbounds ptr, ptr %81, i64 %84
  %86 = load ptr, ptr %85, align 8, !tbaa !5
  %87 = getelementptr inbounds [2 x [5 x i8]], ptr %9, i64 0, i64 1
  %88 = getelementptr inbounds [5 x i8], ptr %87, i64 0, i64 0
  %89 = call ptr @strncpy(ptr noundef %86, ptr noundef %88, i64 noundef 4) #6
  br label %90

90:                                               ; preds = %61
  %91 = load i32, ptr %18, align 4, !tbaa !9
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %18, align 4, !tbaa !9
  br label %43, !llvm.loop !11

93:                                               ; preds = %47
  br label %94

94:                                               ; preds = %93, %30
  %95 = load i32, ptr %11, align 4, !tbaa !9
  %96 = add nsw i32 %95, 1
  %97 = load i32, ptr %10, align 4, !tbaa !9
  %98 = icmp sge i32 %96, %97
  br i1 %98, label %99, label %107

99:                                               ; preds = %94
  %100 = load i32, ptr %10, align 4, !tbaa !9
  %101 = mul nsw i32 %100, 2
  store i32 %101, ptr %10, align 4, !tbaa !9
  %102 = load ptr, ptr %13, align 8, !tbaa !5
  %103 = load i32, ptr %10, align 4, !tbaa !9
  %104 = sext i32 %103 to i64
  %105 = mul i64 %104, 8
  %106 = call ptr @realloc(ptr noundef %102, i64 noundef %105) #8
  store ptr %106, ptr %13, align 8, !tbaa !5
  br label %107

107:                                              ; preds = %99, %94
  %108 = call noalias ptr @malloc(i64 noundef 5) #7
  %109 = load ptr, ptr %13, align 8, !tbaa !5
  %110 = load i32, ptr %11, align 4, !tbaa !9
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds ptr, ptr %109, i64 %111
  store ptr %108, ptr %112, align 8, !tbaa !5
  %113 = load ptr, ptr %13, align 8, !tbaa !5
  %114 = load i32, ptr %11, align 4, !tbaa !9
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %11, align 4, !tbaa !9
  %116 = sext i32 %114 to i64
  %117 = getelementptr inbounds ptr, ptr %113, i64 %116
  %118 = load ptr, ptr %117, align 8, !tbaa !5
  %119 = getelementptr inbounds [2 x [5 x i8]], ptr %9, i64 0, i64 0
  %120 = getelementptr inbounds [5 x i8], ptr %119, i64 0, i64 0
  %121 = call ptr @strncpy(ptr noundef %118, ptr noundef %120, i64 noundef 5) #6
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = load i32, ptr %14, align 4, !tbaa !9
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds i32, ptr %122, i64 %124
  %126 = load i32, ptr %125, align 4, !tbaa !9
  store i32 %126, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %127

127:                                              ; preds = %107
  %128 = load i32, ptr %14, align 4, !tbaa !9
  %129 = add nsw i32 %128, 1
  store i32 %129, ptr %14, align 4, !tbaa !9
  br label %25, !llvm.loop !13

130:                                              ; preds = %29
  %131 = load i32, ptr %11, align 4, !tbaa !9
  %132 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 %131, ptr %132, align 4, !tbaa !9
  %133 = load ptr, ptr %13, align 8, !tbaa !5
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 10, ptr %9) #6
  ret ptr %133
}

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #3

; Function Attrs: nounwind allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #4

; Function Attrs: nounwind
declare ptr @strncpy(ptr noundef, ptr noundef, i64 noundef) #5

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

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind allocsize(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 #4 = { nounwind allocsize(1) "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 "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 #6 = { nounwind }
attributes #7 = { nounwind allocsize(0) }
attributes #8 = { nounwind allocsize(1) }

!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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


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

@__const.buildArray.operations = external hidden unnamed_addr constant [2 x [5 x i8]], align 1

; Function Attrs: nounwind uwtable
define dso_local noalias ptr @buildArray(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 {
  %5 = sdiv i32 %2, 2
  %6 = sext i32 %5 to i64
  %7 = shl nsw i64 %6, 3
  %8 = tail call noalias ptr @malloc(i64 noundef %7) #4
  %9 = icmp sgt i32 %1, 0
  br i1 %9, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %4
  %wide.trip.count = zext nneg i32 %1 to i64
  br label %.lr.ph

._crit_edge:                                      ; preds = %38, %4
  %.044.lcssa = phi ptr [ %8, %4 ], [ %.448, %38 ]
  %.040.lcssa = phi i32 [ 0, %4 ], [ %32, %38 ]
  store i32 %.040.lcssa, ptr %3, align 4, !tbaa !5
  ret ptr %.044.lcssa

.lr.ph:                                           ; preds = %.lr.ph.preheader, %38
  %indvars.iv64 = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next65, %38 ]
  %.03960 = phi i32 [ %5, %.lr.ph.preheader ], [ %.4, %38 ]
  %.04059 = phi i32 [ 0, %.lr.ph.preheader ], [ %32, %38 ]
  %.04457 = phi ptr [ %8, %.lr.ph.preheader ], [ %.448, %38 ]
  %.04956 = phi i32 [ 0, %.lr.ph.preheader ], [ %43, %38 ]
  %10 = getelementptr inbounds i32, ptr %0, i64 %indvars.iv64
  %11 = load i32, ptr %10, align 4, !tbaa !5
  %12 = xor i32 %.04956, -1
  %13 = add i32 %11, %12
  %14 = icmp sgt i32 %13, 0
  br i1 %14, label %.preheader.preheader, label %.loopexit

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

.preheader:                                       ; preds = %.preheader.preheader, %22
  %indvars.iv = phi i64 [ %15, %.preheader.preheader ], [ %indvars.iv.next, %22 ]
  %.055 = phi i32 [ 0, %.preheader.preheader ], [ %30, %22 ]
  %.154 = phi i32 [ %.03960, %.preheader.preheader ], [ %.2, %22 ]
  %.14552 = phi ptr [ %.04457, %.preheader.preheader ], [ %.246, %22 ]
  %indvars.iv.next = add nsw i64 %indvars.iv, 2
  %16 = sext i32 %.154 to i64
  %.not51 = icmp slt i64 %indvars.iv.next, %16
  br i1 %.not51, label %22, label %17

17:                                               ; preds = %.preheader
  %18 = shl nsw i32 %.154, 1
  %19 = sext i32 %18 to i64
  %20 = shl nsw i64 %19, 3
  %21 = tail call ptr @realloc(ptr noundef %.14552, i64 noundef %20) #5
  br label %22

22:                                               ; preds = %17, %.preheader
  %.246 = phi ptr [ %21, %17 ], [ %.14552, %.preheader ]
  %.2 = phi i32 [ %18, %17 ], [ %.154, %.preheader ]
  %23 = tail call noalias dereferenceable_or_null(5) ptr @malloc(i64 noundef 5) #4
  %24 = getelementptr inbounds ptr, ptr %.246, i64 %indvars.iv
  store ptr %23, ptr %24, align 8, !tbaa !9
  %25 = add nsw i64 %indvars.iv, 1
  %26 = tail call ptr @strncpy(ptr noundef nonnull dereferenceable(1) %23, ptr noundef nonnull dereferenceable(1) @__const.buildArray.operations, i64 noundef 5) #6
  %27 = tail call noalias dereferenceable_or_null(4) ptr @malloc(i64 noundef 4) #4
  %28 = getelementptr inbounds ptr, ptr %.246, i64 %25
  store ptr %27, ptr %28, align 8, !tbaa !9
  %29 = tail call ptr @strncpy(ptr noundef nonnull dereferenceable(1) %27, ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @__const.buildArray.operations, i64 5), i64 noundef 4) #6
  %30 = add nuw nsw i32 %.055, 1
  %exitcond.not = icmp eq i32 %30, %13
  br i1 %exitcond.not, label %.loopexit.loopexit, label %.preheader, !llvm.loop !11

.loopexit.loopexit:                               ; preds = %22
  %31 = trunc nsw i64 %indvars.iv.next to i32
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %.lr.ph
  %.347 = phi ptr [ %.04457, %.lr.ph ], [ %.246, %.loopexit.loopexit ]
  %.242 = phi i32 [ %.04059, %.lr.ph ], [ %31, %.loopexit.loopexit ]
  %.3 = phi i32 [ %.03960, %.lr.ph ], [ %.2, %.loopexit.loopexit ]
  %32 = add nsw i32 %.242, 1
  %.not = icmp slt i32 %32, %.3
  br i1 %.not, label %38, label %33

33:                                               ; preds = %.loopexit
  %34 = shl nsw i32 %.3, 1
  %35 = sext i32 %34 to i64
  %36 = shl nsw i64 %35, 3
  %37 = tail call ptr @realloc(ptr noundef %.347, i64 noundef %36) #5
  br label %38

38:                                               ; preds = %33, %.loopexit
  %.448 = phi ptr [ %37, %33 ], [ %.347, %.loopexit ]
  %.4 = phi i32 [ %34, %33 ], [ %.3, %.loopexit ]
  %39 = tail call noalias dereferenceable_or_null(5) ptr @malloc(i64 noundef 5) #4
  %40 = sext i32 %.242 to i64
  %41 = getelementptr inbounds ptr, ptr %.448, i64 %40
  store ptr %39, ptr %41, align 8, !tbaa !9
  %42 = tail call ptr @strncpy(ptr noundef nonnull dereferenceable(1) %39, ptr noundef nonnull dereferenceable(1) @__const.buildArray.operations, i64 noundef 5) #6
  %43 = load i32, ptr %10, align 4, !tbaa !5
  %indvars.iv.next65 = add nuw nsw i64 %indvars.iv64, 1
  %exitcond67.not = icmp eq i64 %indvars.iv.next65, %wide.trip.count
  br i1 %exitcond67.not, label %._crit_edge, label %.lr.ph, !llvm.loop !13
}

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strncpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly, i64 noundef) local_unnamed_addr #3

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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(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 #2 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) 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 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 = { nounwind allocsize(0) }
attributes #5 = { nounwind allocsize(1) }
attributes #6 = { 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 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


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