; LLVM IR from brewlin/garbage-collect :: generational (generational)

; 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.header = type { i64, i64, i64, i64, ptr, ptr }

@.str = external hidden unnamed_addr constant [22 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [85 x i8], align 1
@__PRETTY_FUNCTION__.gc_copy = external hidden unnamed_addr constant [22 x i8], align 1
@to_free_p = external dso_local global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [44 x i8], align 1

; 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 void @promote(ptr noundef) #1

; Function Attrs: noreturn nounwind
declare void @abort() #2

; 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) #3

declare ptr @is_pointer_to_heap(ptr noundef) #4

declare ptr @get_header(ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
define dso_local ptr @gc_copy(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %11 = load ptr, ptr %3, align 8, !tbaa !5
  %12 = call ptr @is_pointer_to_heap(ptr noundef %11)
  store ptr %12, ptr %4, align 8, !tbaa !5
  %13 = icmp ne ptr %12, null
  br i1 %13, label %15, label %14

14:                                               ; preds = %1
  store ptr null, ptr %2, align 8
  store i32 1, ptr %6, align 4
  br label %132

15:                                               ; preds = %1
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = call ptr @get_header(ptr noundef %16, ptr noundef %17)
  store ptr %18, ptr %5, align 8, !tbaa !5
  %19 = icmp ne ptr %18, null
  br i1 %19, label %21, label %20

20:                                               ; preds = %15
  store ptr null, ptr %2, align 8
  store i32 1, ptr %6, align 4
  br label %132

21:                                               ; preds = %15
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.header, ptr %22, i32 0, i32 1
  %24 = load i64, ptr %23, align 8, !tbaa !9
  %25 = and i64 %24, 1
  %26 = icmp ne i64 %25, 0
  br i1 %26, label %27, label %28

27:                                               ; preds = %21
  br label %29

28:                                               ; preds = %21
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 99, ptr noundef @__PRETTY_FUNCTION__.gc_copy) #6
  unreachable

29:                                               ; preds = %27
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.header, ptr %30, i32 0, i32 1
  %32 = load i64, ptr %31, align 8, !tbaa !9
  %33 = and i64 %32, 1
  %34 = icmp ne i64 %33, 0
  br i1 %34, label %35, label %41

35:                                               ; preds = %29
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.header, ptr %36, i32 0, i32 1
  %38 = load i64, ptr %37, align 8, !tbaa !9
  %39 = and i64 %38, 4
  %40 = icmp ne i64 %39, 0
  br i1 %40, label %127, label %41

41:                                               ; preds = %35, %29
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.header, ptr %42, i32 0, i32 3
  %44 = load i64, ptr %43, align 8, !tbaa !12
  %45 = icmp ult i64 %44, 3
  br i1 %45, label %46, label %124

46:                                               ; preds = %41
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.header, ptr %47, i32 0, i32 2
  %49 = load i64, ptr %48, align 8, !tbaa !13
  %50 = load ptr, ptr @to_free_p, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.header, ptr %50, i32 0, i32 2
  %52 = load i64, ptr %51, align 8, !tbaa !13
  %53 = icmp ugt i64 %49, %52
  br i1 %53, label %54, label %56

54:                                               ; preds = %46
  %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  call void @abort() #6
  unreachable

56:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %57 = load ptr, ptr @to_free_p, align 8, !tbaa !5
  store ptr %57, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.header, ptr %58, i32 0, i32 2
  %60 = load i64, ptr %59, align 8, !tbaa !13
  store i64 %60, ptr %8, align 8, !tbaa !14
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.header, ptr %63, i32 0, i32 2
  %65 = load i64, ptr %64, align 8, !tbaa !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %61, ptr align 8 %62, i64 %65, i1 false)
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.header, ptr %66, i32 0, i32 1
  %68 = load i64, ptr %67, align 8, !tbaa !9
  %69 = or i64 %68, 4
  store i64 %69, ptr %67, align 8, !tbaa !9
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.header, ptr %70, i32 0, i32 3
  %72 = load i64, ptr %71, align 8, !tbaa !12
  %73 = add i64 %72, 1
  store i64 %73, ptr %71, align 8, !tbaa !12
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.header, ptr %74, i32 0, i32 2
  %76 = load i64, ptr %75, align 8, !tbaa !13
  %77 = load ptr, ptr @to_free_p, align 8, !tbaa !5
  %78 = getelementptr inbounds i8, ptr %77, i64 %76
  store ptr %78, ptr @to_free_p, align 8, !tbaa !5
  %79 = load i64, ptr %8, align 8, !tbaa !14
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.header, ptr %80, i32 0, i32 2
  %82 = load i64, ptr %81, align 8, !tbaa !13
  %83 = sub i64 %79, %82
  %84 = load ptr, ptr @to_free_p, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.header, ptr %84, i32 0, i32 2
  store i64 %83, ptr %85, align 8, !tbaa !13
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.header, ptr %87, i32 0, i32 5
  store ptr %86, ptr %88, align 8, !tbaa !15
  %89 = load ptr, ptr %3, align 8, !tbaa !5
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %89, ptr noundef %90, ptr noundef %91)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.header, ptr %93, i64 1
  store ptr %94, ptr %9, align 8, !tbaa !5
  br label %95

95:                                               ; preds = %118, %56
  %96 = load ptr, ptr %9, align 8, !tbaa !5
  %97 = load ptr, ptr %7, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.header, ptr %97, i64 1
  %99 = ptrtoint ptr %98 to i64
  %100 = load ptr, ptr %7, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.header, ptr %100, i32 0, i32 2
  %102 = load i64, ptr %101, align 8, !tbaa !13
  %103 = sub i64 %102, 48
  %104 = add i64 %99, %103
  %105 = inttoptr i64 %104 to ptr
  %106 = icmp ult ptr %96, %105
  br i1 %106, label %108, label %107

107:                                              ; preds = %95
  store i32 2, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %121

108:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %109 = load ptr, ptr %9, align 8, !tbaa !5
  %110 = load ptr, ptr %109, align 8, !tbaa !5
  %111 = call ptr @gc_copy(ptr noundef %110)
  store ptr %111, ptr %10, align 8, !tbaa !5
  %112 = load ptr, ptr %10, align 8, !tbaa !5
  %113 = icmp ne ptr %112, null
  br i1 %113, label %114, label %117

114:                                              ; preds = %108
  %115 = load ptr, ptr %10, align 8, !tbaa !5
  %116 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %115, ptr %116, align 8, !tbaa !5
  br label %117

117:                                              ; preds = %114, %108
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %118

118:                                              ; preds = %117
  %119 = load ptr, ptr %9, align 8, !tbaa !5
  %120 = getelementptr inbounds i8, ptr %119, i32 1
  store ptr %120, ptr %9, align 8, !tbaa !5
  br label %95, !llvm.loop !16

121:                                              ; preds = %107
  %122 = load ptr, ptr %7, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.header, ptr %122, i64 1
  store ptr %123, ptr %2, align 8
  store i32 1, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %132

124:                                              ; preds = %41
  %125 = load ptr, ptr %3, align 8, !tbaa !5
  call void @promote(ptr noundef %125)
  br label %126

126:                                              ; preds = %124
  br label %127

127:                                              ; preds = %126, %35
  %128 = load ptr, ptr %5, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.header, ptr %128, i32 0, i32 5
  %130 = load ptr, ptr %129, align 8, !tbaa !15
  %131 = getelementptr inbounds %struct.header, ptr %130, i64 1
  store ptr %131, ptr %2, align 8
  store i32 1, ptr %6, align 4
  br label %132

132:                                              ; preds = %127, %121, %20, %14
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  %133 = load ptr, ptr %2, align 8
  ret ptr %133
}

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

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

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 = { noreturn 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { "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 }
attributes #6 = { noreturn 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, !11, i64 8}
!10 = !{!"header", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !6, i64 32, !6, i64 40}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 24}
!13 = !{!10, !11, i64 16}
!14 = !{!11, !11, i64 0}
!15 = !{!10, !6, i64 40}
!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 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [85 x i8], align 1
@__PRETTY_FUNCTION__.gc_copy = external hidden unnamed_addr constant [22 x i8], align 1
@to_free_p = external dso_local local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [44 x i8], align 1

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

; Function Attrs: noreturn nounwind
declare void @abort() local_unnamed_addr #1

; Function Attrs: mustprogress 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

declare ptr @is_pointer_to_heap(ptr noundef) local_unnamed_addr #3

declare ptr @get_header(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local ptr @gc_copy(ptr noundef %0) local_unnamed_addr #0 {
  %2 = tail call ptr @is_pointer_to_heap(ptr noundef %0) #5
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %.loopexit, label %3

3:                                                ; preds = %1
  %4 = tail call ptr @get_header(ptr noundef nonnull %2, ptr noundef %0) #5
  %.not40 = icmp eq ptr %4, null
  br i1 %.not40, label %.loopexit, label %5

5:                                                ; preds = %3
  %6 = getelementptr inbounds i8, ptr %4, i64 8
  %7 = load i64, ptr %6, align 8, !tbaa !5
  %8 = and i64 %7, 1
  %.not41 = icmp eq i64 %8, 0
  br i1 %.not41, label %9, label %10

9:                                                ; preds = %5
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 99, ptr noundef nonnull @__PRETTY_FUNCTION__.gc_copy) #6
  unreachable

10:                                               ; preds = %5
  %11 = and i64 %7, 4
  %.not42 = icmp eq i64 %11, 0
  br i1 %.not42, label %12, label %55

12:                                               ; preds = %10
  %13 = getelementptr inbounds i8, ptr %4, i64 24
  %14 = load i64, ptr %13, align 8, !tbaa !11
  %15 = icmp ult i64 %14, 3
  br i1 %15, label %16, label %54

16:                                               ; preds = %12
  %17 = getelementptr inbounds i8, ptr %4, i64 16
  %18 = load i64, ptr %17, align 8, !tbaa !12
  %19 = load ptr, ptr @to_free_p, align 8, !tbaa !13
  %20 = getelementptr inbounds i8, ptr %19, i64 16
  %21 = load i64, ptr %20, align 8, !tbaa !12
  %22 = icmp ugt i64 %18, %21
  br i1 %22, label %23, label %25

23:                                               ; preds = %16
  %24 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  tail call void @abort() #6
  unreachable

25:                                               ; preds = %16
  tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %19, ptr nonnull align 8 %4, i64 %18, i1 false)
  %26 = load i64, ptr %6, align 8, !tbaa !5
  %27 = or i64 %26, 4
  store i64 %27, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds i8, ptr %19, i64 24
  %29 = load i64, ptr %28, align 8, !tbaa !11
  %30 = add i64 %29, 1
  store i64 %30, ptr %28, align 8, !tbaa !11
  %31 = load i64, ptr %17, align 8, !tbaa !12
  %32 = load ptr, ptr @to_free_p, align 8, !tbaa !13
  %33 = getelementptr inbounds i8, ptr %32, i64 %31
  store ptr %33, ptr @to_free_p, align 8, !tbaa !13
  %34 = sub i64 %21, %31
  %35 = getelementptr inbounds i8, ptr %33, i64 16
  store i64 %34, ptr %35, align 8, !tbaa !12
  %36 = getelementptr inbounds i8, ptr %4, i64 40
  store ptr %19, ptr %36, align 8, !tbaa !14
  %37 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %19)
  %38 = getelementptr inbounds i8, ptr %19, i64 48
  %39 = ptrtoint ptr %38 to i64
  %40 = add i64 %39, -48
  %41 = load i64, ptr %20, align 8, !tbaa !12
  %42 = add i64 %40, %41
  %43 = inttoptr i64 %42 to ptr
  %44 = icmp ult ptr %38, %43
  br i1 %44, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %25, %48
  %.03444 = phi ptr [ %49, %48 ], [ %38, %25 ]
  %45 = load ptr, ptr %.03444, align 8, !tbaa !13
  %46 = tail call ptr @gc_copy(ptr noundef %45)
  %.not43 = icmp eq ptr %46, null
  br i1 %.not43, label %48, label %47

47:                                               ; preds = %.lr.ph
  store ptr %46, ptr %.03444, align 8, !tbaa !13
  br label %48

48:                                               ; preds = %47, %.lr.ph
  %49 = getelementptr inbounds i8, ptr %.03444, i64 1
  %50 = load i64, ptr %20, align 8, !tbaa !12
  %51 = add i64 %40, %50
  %52 = inttoptr i64 %51 to ptr
  %53 = icmp ult ptr %49, %52
  br i1 %53, label %.lr.ph, label %.loopexit, !llvm.loop !15

54:                                               ; preds = %12
  tail call void @promote(ptr noundef %0)
  br label %55

55:                                               ; preds = %54, %10
  %56 = getelementptr inbounds i8, ptr %4, i64 40
  %57 = load ptr, ptr %56, align 8, !tbaa !14
  %58 = getelementptr inbounds i8, ptr %57, i64 48
  br label %.loopexit

.loopexit:                                        ; preds = %48, %25, %3, %1, %55
  %.0 = phi ptr [ %58, %55 ], [ null, %1 ], [ null, %3 ], [ %38, %25 ], [ %38, %48 ]
  ret ptr %.0
}

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

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

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 = { noreturn 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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 = { 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 #5 = { nounwind }
attributes #6 = { noreturn 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, !7, i64 8}
!6 = !{!"header", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !10, i64 40}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 24}
!12 = !{!6, !7, i64 16}
!13 = !{!10, !10, i64 0}
!14 = !{!6, !10, i64 40}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass