; LLVM IR from ohler55/agoo :: ext/agoo (gqlvalue)

; 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._gqlValue = type { ptr, %union.anon.1 }
%union.anon.1 = type { %union.anon.2 }
%union.anon.2 = type { %struct.anon.4 }
%struct.anon.4 = type { i8, [7 x i8], ptr }
%struct.anon.6 = type { ptr, ptr }
%struct._gqlLink = type { ptr, ptr, ptr }

@.str.23 = external hidden unnamed_addr constant [2 x i8], align 1
@spaces = external hidden constant [256 x i8], align 16
@.str.24 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local ptr @gql_object_to_json(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %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 ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  %13 = load i32, ptr %7, align 4, !tbaa !9
  %14 = load i32, ptr %8, align 4, !tbaa !9
  %15 = mul nsw i32 %13, %14
  store i32 %15, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  %16 = load i32, ptr %9, align 4, !tbaa !9
  %17 = load i32, ptr %7, align 4, !tbaa !9
  %18 = add nsw i32 %16, %17
  store i32 %18, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  %19 = load i32, ptr %8, align 4, !tbaa !9
  %20 = add nsw i32 %19, 1
  store i32 %20, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %21 = load i32, ptr %7, align 4, !tbaa !9
  %22 = icmp slt i32 0, %21
  br i1 %22, label %23, label %28

23:                                               ; preds = %4
  %24 = load i32, ptr %9, align 4, !tbaa !9
  %25 = add nsw i32 %24, 1
  store i32 %25, ptr %9, align 4, !tbaa !9
  %26 = load i32, ptr %10, align 4, !tbaa !9
  %27 = add nsw i32 %26, 1
  store i32 %27, ptr %10, align 4, !tbaa !9
  br label %28

28:                                               ; preds = %23, %4
  %29 = load i32, ptr %9, align 4, !tbaa !9
  %30 = icmp sle i32 256, %29
  br i1 %30, label %31, label %35

31:                                               ; preds = %28
  store i32 255, ptr %10, align 4, !tbaa !9
  %32 = load i32, ptr %10, align 4, !tbaa !9
  %33 = load i32, ptr %7, align 4, !tbaa !9
  %34 = sub nsw i32 %32, %33
  store i32 %34, ptr %9, align 4, !tbaa !9
  br label %35

35:                                               ; preds = %31, %28
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = call ptr @agoo_text_append(ptr noundef %36, ptr noundef @.str.23, i32 noundef 1)
  store ptr %37, ptr %5, align 8, !tbaa !5
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct._gqlValue, ptr %38, i32 0, i32 1
  %40 = getelementptr inbounds %struct.anon.6, ptr %39, i32 0, i32 0
  %41 = load ptr, ptr %40, align 8, !tbaa !11
  store ptr %41, ptr %12, align 8, !tbaa !5
  br label %42

42:                                               ; preds = %84, %35
  %43 = load ptr, ptr %12, align 8, !tbaa !5
  %44 = icmp ne ptr null, %43
  br i1 %44, label %45, label %88

45:                                               ; preds = %42
  %46 = load i32, ptr %10, align 4, !tbaa !9
  %47 = icmp slt i32 0, %46
  br i1 %47, label %48, label %52

48:                                               ; preds = %45
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = load i32, ptr %10, align 4, !tbaa !9
  %51 = call ptr @agoo_text_append(ptr noundef %49, ptr noundef @spaces, i32 noundef %50)
  store ptr %51, ptr %5, align 8, !tbaa !5
  br label %52

52:                                               ; preds = %48, %45
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = call ptr @agoo_text_append(ptr noundef %53, ptr noundef @.str.24, i32 noundef 1)
  store ptr %54, ptr %5, align 8, !tbaa !5
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = load ptr, ptr %12, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct._gqlLink, ptr %56, i32 0, i32 1
  %58 = load ptr, ptr %57, align 8, !tbaa !12
  %59 = call ptr @agoo_text_append(ptr noundef %55, ptr noundef %58, i32 noundef -1)
  store ptr %59, ptr %5, align 8, !tbaa !5
  %60 = load i32, ptr %7, align 4, !tbaa !9
  %61 = icmp slt i32 0, %60
  br i1 %61, label %62, label %65

62:                                               ; preds = %52
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = call ptr @agoo_text_append(ptr noundef %63, ptr noundef @.str.25, i32 noundef 2)
  store ptr %64, ptr %5, align 8, !tbaa !5
  br label %68

65:                                               ; preds = %52
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = call ptr @agoo_text_append(ptr noundef %66, ptr noundef @.str.25, i32 noundef 2)
  store ptr %67, ptr %5, align 8, !tbaa !5
  br label %68

68:                                               ; preds = %65, %62
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = load ptr, ptr %12, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct._gqlLink, ptr %70, i32 0, i32 2
  %72 = load ptr, ptr %71, align 8, !tbaa !14
  %73 = load i32, ptr %7, align 4, !tbaa !9
  %74 = load i32, ptr %11, align 4, !tbaa !9
  %75 = call ptr @gql_value_json(ptr noundef %69, ptr noundef %72, i32 noundef %73, i32 noundef %74)
  store ptr %75, ptr %5, align 8, !tbaa !5
  %76 = load ptr, ptr %12, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct._gqlLink, ptr %76, i32 0, i32 0
  %78 = load ptr, ptr %77, align 8, !tbaa !15
  %79 = icmp ne ptr null, %78
  br i1 %79, label %80, label %83

80:                                               ; preds = %68
  %81 = load ptr, ptr %5, align 8, !tbaa !5
  %82 = call ptr @agoo_text_append(ptr noundef %81, ptr noundef @.str.26, i32 noundef 1)
  store ptr %82, ptr %5, align 8, !tbaa !5
  br label %83

83:                                               ; preds = %80, %68
  br label %84

84:                                               ; preds = %83
  %85 = load ptr, ptr %12, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct._gqlLink, ptr %85, i32 0, i32 0
  %87 = load ptr, ptr %86, align 8, !tbaa !15
  store ptr %87, ptr %12, align 8, !tbaa !5
  br label %42, !llvm.loop !16

88:                                               ; preds = %42
  %89 = load i32, ptr %7, align 4, !tbaa !9
  %90 = icmp slt i32 0, %89
  br i1 %90, label %91, label %95

91:                                               ; preds = %88
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = load i32, ptr %9, align 4, !tbaa !9
  %94 = call ptr @agoo_text_append(ptr noundef %92, ptr noundef @spaces, i32 noundef %93)
  store ptr %94, ptr %5, align 8, !tbaa !5
  br label %95

95:                                               ; preds = %91, %88
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = call ptr @agoo_text_append(ptr noundef %96, ptr noundef @.str.27, i32 noundef 1)
  store ptr %97, ptr %5, align 8, !tbaa !5
  %98 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  ret ptr %98
}

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

declare ptr @agoo_text_append(ptr noundef, ptr noundef, i32 noundef) #2

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

; 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 = { "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 = !{!7, !7, i64 0}
!12 = !{!13, !6, i64 8}
!13 = !{!"_gqlLink", !6, i64 0, !6, i64 8, !6, i64 16}
!14 = !{!13, !6, i64 16}
!15 = !{!13, !6, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}


; 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.23 = external hidden unnamed_addr constant [2 x i8], align 1
@spaces = external hidden constant [256 x i8], align 16
@.str.24 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local ptr @gql_object_to_json(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
  %5 = mul nsw i32 %3, %2
  %6 = add nsw i32 %5, %2
  %7 = add nsw i32 %3, 1
  %8 = icmp sgt i32 %2, 0
  %9 = zext i1 %8 to i32
  %.037 = add nsw i32 %5, %9
  %.035 = add nsw i32 %6, %9
  %10 = icmp sgt i32 %.037, 255
  %11 = sub nsw i32 255, %2
  %.138 = select i1 %10, i32 %11, i32 %.037
  %.136 = select i1 %10, i32 255, i32 %.035
  %12 = tail call ptr @agoo_text_append(ptr noundef %0, ptr noundef nonnull @.str.23, i32 noundef 1) #2
  %13 = getelementptr inbounds i8, ptr %1, i64 8
  %.040 = load ptr, ptr %13, align 8, !tbaa !5
  %.not41 = icmp eq ptr %.040, null
  br i1 %.not41, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %4
  %14 = icmp sgt i32 %.136, 0
  br i1 %8, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph
  br i1 %14, label %.lr.ph.split.us.split.us, label %.lr.ph.split.us.split

.lr.ph.split.us.split.us:                         ; preds = %.lr.ph.split.us, %25
  %.043.us.us = phi ptr [ %.0.us.us.pre, %25 ], [ %.040, %.lr.ph.split.us ]
  %.03442.us.us = phi ptr [ %26, %25 ], [ %12, %.lr.ph.split.us ]
  %15 = tail call ptr @agoo_text_append(ptr noundef %.03442.us.us, ptr noundef nonnull @spaces, i32 noundef %.136) #2
  %16 = tail call ptr @agoo_text_append(ptr noundef %15, ptr noundef nonnull @.str.24, i32 noundef 1) #2
  %17 = getelementptr inbounds i8, ptr %.043.us.us, i64 8
  %18 = load ptr, ptr %17, align 8, !tbaa !8
  %19 = tail call ptr @agoo_text_append(ptr noundef %16, ptr noundef %18, i32 noundef -1) #2
  %20 = tail call ptr @agoo_text_append(ptr noundef %19, ptr noundef nonnull @.str.25, i32 noundef 2) #2
  %21 = getelementptr inbounds i8, ptr %.043.us.us, i64 16
  %22 = load ptr, ptr %21, align 8, !tbaa !11
  %23 = tail call ptr @gql_value_json(ptr noundef %20, ptr noundef %22, i32 noundef %2, i32 noundef %7)
  %24 = load ptr, ptr %.043.us.us, align 8, !tbaa !5
  %.not39.us.us = icmp eq ptr %24, null
  br i1 %.not39.us.us, label %._crit_edge, label %25

25:                                               ; preds = %.lr.ph.split.us.split.us
  %26 = tail call ptr @agoo_text_append(ptr noundef %23, ptr noundef nonnull @.str.26, i32 noundef 1) #2
  %.0.us.us.pre = load ptr, ptr %.043.us.us, align 8, !tbaa !5
  %.not.us.us = icmp eq ptr %.0.us.us.pre, null
  br i1 %.not.us.us, label %._crit_edge, label %.lr.ph.split.us.split.us, !llvm.loop !12

.lr.ph.split.us.split:                            ; preds = %.lr.ph.split.us, %36
  %.043.us = phi ptr [ %.0.us.pre, %36 ], [ %.040, %.lr.ph.split.us ]
  %.03442.us = phi ptr [ %37, %36 ], [ %12, %.lr.ph.split.us ]
  %27 = tail call ptr @agoo_text_append(ptr noundef %.03442.us, ptr noundef nonnull @.str.24, i32 noundef 1) #2
  %28 = getelementptr inbounds i8, ptr %.043.us, i64 8
  %29 = load ptr, ptr %28, align 8, !tbaa !8
  %30 = tail call ptr @agoo_text_append(ptr noundef %27, ptr noundef %29, i32 noundef -1) #2
  %31 = tail call ptr @agoo_text_append(ptr noundef %30, ptr noundef nonnull @.str.25, i32 noundef 2) #2
  %32 = getelementptr inbounds i8, ptr %.043.us, i64 16
  %33 = load ptr, ptr %32, align 8, !tbaa !11
  %34 = tail call ptr @gql_value_json(ptr noundef %31, ptr noundef %33, i32 noundef %2, i32 noundef %7)
  %35 = load ptr, ptr %.043.us, align 8, !tbaa !5
  %.not39.us = icmp eq ptr %35, null
  br i1 %.not39.us, label %._crit_edge, label %36

36:                                               ; preds = %.lr.ph.split.us.split
  %37 = tail call ptr @agoo_text_append(ptr noundef %34, ptr noundef nonnull @.str.26, i32 noundef 1) #2
  %.0.us.pre = load ptr, ptr %.043.us, align 8, !tbaa !5
  %.not.us = icmp eq ptr %.0.us.pre, null
  br i1 %.not.us, label %._crit_edge, label %.lr.ph.split.us.split, !llvm.loop !12

.lr.ph.split:                                     ; preds = %.lr.ph
  br i1 %14, label %.lr.ph.split.split.us, label %.lr.ph.split.split

.lr.ph.split.split.us:                            ; preds = %.lr.ph.split, %48
  %.043.us44 = phi ptr [ %.0.us49.pre, %48 ], [ %.040, %.lr.ph.split ]
  %.03442.us45 = phi ptr [ %49, %48 ], [ %12, %.lr.ph.split ]
  %38 = tail call ptr @agoo_text_append(ptr noundef %.03442.us45, ptr noundef nonnull @spaces, i32 noundef %.136) #2
  %39 = tail call ptr @agoo_text_append(ptr noundef %38, ptr noundef nonnull @.str.24, i32 noundef 1) #2
  %40 = getelementptr inbounds i8, ptr %.043.us44, i64 8
  %41 = load ptr, ptr %40, align 8, !tbaa !8
  %42 = tail call ptr @agoo_text_append(ptr noundef %39, ptr noundef %41, i32 noundef -1) #2
  %43 = tail call ptr @agoo_text_append(ptr noundef %42, ptr noundef nonnull @.str.25, i32 noundef 2) #2
  %44 = getelementptr inbounds i8, ptr %.043.us44, i64 16
  %45 = load ptr, ptr %44, align 8, !tbaa !11
  %46 = tail call ptr @gql_value_json(ptr noundef %43, ptr noundef %45, i32 noundef %2, i32 noundef %7)
  %47 = load ptr, ptr %.043.us44, align 8, !tbaa !5
  %.not39.us47 = icmp eq ptr %47, null
  br i1 %.not39.us47, label %._crit_edge, label %48

48:                                               ; preds = %.lr.ph.split.split.us
  %49 = tail call ptr @agoo_text_append(ptr noundef %46, ptr noundef nonnull @.str.26, i32 noundef 1) #2
  %.0.us49.pre = load ptr, ptr %.043.us44, align 8, !tbaa !5
  %.not.us50 = icmp eq ptr %.0.us49.pre, null
  br i1 %.not.us50, label %._crit_edge, label %.lr.ph.split.split.us, !llvm.loop !12

.lr.ph.split.split:                               ; preds = %.lr.ph.split, %59
  %.043 = phi ptr [ %.0.pre, %59 ], [ %.040, %.lr.ph.split ]
  %.03442 = phi ptr [ %60, %59 ], [ %12, %.lr.ph.split ]
  %50 = tail call ptr @agoo_text_append(ptr noundef %.03442, ptr noundef nonnull @.str.24, i32 noundef 1) #2
  %51 = getelementptr inbounds i8, ptr %.043, i64 8
  %52 = load ptr, ptr %51, align 8, !tbaa !8
  %53 = tail call ptr @agoo_text_append(ptr noundef %50, ptr noundef %52, i32 noundef -1) #2
  %54 = tail call ptr @agoo_text_append(ptr noundef %53, ptr noundef nonnull @.str.25, i32 noundef 2) #2
  %55 = getelementptr inbounds i8, ptr %.043, i64 16
  %56 = load ptr, ptr %55, align 8, !tbaa !11
  %57 = tail call ptr @gql_value_json(ptr noundef %54, ptr noundef %56, i32 noundef %2, i32 noundef %7)
  %58 = load ptr, ptr %.043, align 8, !tbaa !5
  %.not39 = icmp eq ptr %58, null
  br i1 %.not39, label %._crit_edge, label %59

59:                                               ; preds = %.lr.ph.split.split
  %60 = tail call ptr @agoo_text_append(ptr noundef %57, ptr noundef nonnull @.str.26, i32 noundef 1) #2
  %.0.pre = load ptr, ptr %.043, align 8, !tbaa !5
  %.not = icmp eq ptr %.0.pre, null
  br i1 %.not, label %._crit_edge, label %.lr.ph.split.split, !llvm.loop !12

._crit_edge:                                      ; preds = %.lr.ph.split.split, %59, %.lr.ph.split.split.us, %48, %.lr.ph.split.us.split, %36, %.lr.ph.split.us.split.us, %25, %4
  %.034.lcssa = phi ptr [ %12, %4 ], [ %23, %.lr.ph.split.us.split.us ], [ %26, %25 ], [ %34, %.lr.ph.split.us.split ], [ %37, %36 ], [ %46, %.lr.ph.split.split.us ], [ %49, %48 ], [ %57, %.lr.ph.split.split ], [ %60, %59 ]
  br i1 %8, label %61, label %63

61:                                               ; preds = %._crit_edge
  %62 = tail call ptr @agoo_text_append(ptr noundef %.034.lcssa, ptr noundef nonnull @spaces, i32 noundef %.138) #2
  br label %63

63:                                               ; preds = %61, %._crit_edge
  %.4 = phi ptr [ %62, %61 ], [ %.034.lcssa, %._crit_edge ]
  %64 = tail call ptr @agoo_text_append(ptr noundef %.4, ptr noundef nonnull @.str.27, i32 noundef 1) #2
  ret ptr %64
}

declare ptr @agoo_text_append(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

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

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

!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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !10, i64 8}
!9 = !{!"_gqlLink", !10, i64 0, !10, i64 8, !10, i64 16}
!10 = !{!"any pointer", !6, i64 0}
!11 = !{!9, !10, i64 16}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}


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