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

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

@gc_heaps_used = external global i64, align 8
@gc_heaps = external global [100000 x %struct.gc_heap], align 16
@root_used = external global i64, align 8
@roots = external global [100000 x %struct.root_], align 16

; 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

declare ptr @is_pointer_to_heap(ptr noundef) #1

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

; Function Attrs: nounwind uwtable
define dso_local void @adjust_ptr() #2 {
  %1 = alloca i32, align 4
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #3
  store i32 0, ptr %1, align 4, !tbaa !5
  br label %12

12:                                               ; preds = %40, %0
  %13 = load i32, ptr %1, align 4, !tbaa !5
  %14 = sext i32 %13 to i64
  %15 = load i64, ptr @root_used, align 8, !tbaa !9
  %16 = icmp ult i64 %14, %15
  br i1 %16, label %18, label %17

17:                                               ; preds = %12
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #3
  br label %43

18:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #3
  %19 = load i32, ptr %1, align 4, !tbaa !5
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds [100000 x %struct.root_], ptr @roots, i64 0, i64 %20
  %22 = getelementptr inbounds %struct.root_, ptr %21, i32 0, i32 0
  %23 = load ptr, ptr %22, align 16, !tbaa !11
  %24 = getelementptr inbounds %struct.header, ptr %23, i64 -1
  %25 = getelementptr inbounds %struct.header, ptr %24, i32 0, i32 5
  %26 = load ptr, ptr %25, align 8, !tbaa !14
  store ptr %26, ptr %2, align 8, !tbaa !16
  %27 = load ptr, ptr %2, align 8, !tbaa !16
  %28 = getelementptr inbounds %struct.header, ptr %27, i64 1
  %29 = load i32, ptr %1, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [100000 x %struct.root_], ptr @roots, i64 0, i64 %30
  %32 = getelementptr inbounds %struct.root_, ptr %31, i32 0, i32 0
  store ptr %28, ptr %32, align 16, !tbaa !11
  %33 = load ptr, ptr %2, align 8, !tbaa !16
  %34 = getelementptr inbounds %struct.header, ptr %33, i64 1
  %35 = load i32, ptr %1, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [100000 x %struct.root_], ptr @roots, i64 0, i64 %36
  %38 = getelementptr inbounds %struct.root_, ptr %37, i32 0, i32 1
  %39 = load ptr, ptr %38, align 8, !tbaa !17
  store ptr %34, ptr %39, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #3
  br label %40

40:                                               ; preds = %18
  %41 = load i32, ptr %1, align 4, !tbaa !5
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr %1, align 4, !tbaa !5
  br label %12, !llvm.loop !18

43:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  store i64 0, ptr %3, align 8, !tbaa !9
  br label %44

44:                                               ; preds = %121, %43
  %45 = load i64, ptr %3, align 8, !tbaa !9
  %46 = load i64, ptr @gc_heaps_used, align 8, !tbaa !9
  %47 = icmp ult i64 %45, %46
  br i1 %47, label %48, label %124

48:                                               ; preds = %44
  %49 = load i64, ptr %3, align 8, !tbaa !9
  %50 = getelementptr inbounds [100000 x %struct.gc_heap], ptr @gc_heaps, i64 0, i64 %49
  %51 = getelementptr inbounds %struct.gc_heap, ptr %50, i32 0, i32 0
  %52 = load ptr, ptr %51, align 16, !tbaa !20
  %53 = ptrtoint ptr %52 to i64
  %54 = load i64, ptr %3, align 8, !tbaa !9
  %55 = getelementptr inbounds [100000 x %struct.gc_heap], ptr @gc_heaps, i64 0, i64 %54
  %56 = getelementptr inbounds %struct.gc_heap, ptr %55, i32 0, i32 1
  %57 = load i64, ptr %56, align 8, !tbaa !22
  %58 = add i64 %53, %57
  %59 = inttoptr i64 %58 to ptr
  store ptr %59, ptr %5, align 8, !tbaa !16
  %60 = load i64, ptr %3, align 8, !tbaa !9
  %61 = getelementptr inbounds [100000 x %struct.gc_heap], ptr @gc_heaps, i64 0, i64 %60
  %62 = getelementptr inbounds %struct.gc_heap, ptr %61, i32 0, i32 0
  %63 = load ptr, ptr %62, align 16, !tbaa !20
  store ptr %63, ptr %4, align 8, !tbaa !16
  br label %64

64:                                               ; preds = %110, %48
  %65 = load ptr, ptr %4, align 8, !tbaa !16
  %66 = load ptr, ptr %5, align 8, !tbaa !16
  %67 = icmp ult ptr %65, %66
  br i1 %67, label %68, label %120

68:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %69 = load ptr, ptr %4, align 8, !tbaa !16
  %70 = getelementptr inbounds %struct.header, ptr %69, i64 1
  store ptr %70, ptr %8, align 8, !tbaa !16
  br label %71

71:                                               ; preds = %106, %68
  %72 = load ptr, ptr %8, align 8, !tbaa !16
  %73 = load ptr, ptr %4, align 8, !tbaa !16
  %74 = getelementptr inbounds %struct.header, ptr %73, i64 1
  %75 = ptrtoint ptr %74 to i64
  %76 = load ptr, ptr %4, align 8, !tbaa !16
  %77 = getelementptr inbounds %struct.header, ptr %76, i32 0, i32 2
  %78 = load i64, ptr %77, align 8, !tbaa !23
  %79 = sub i64 %78, 48
  %80 = add i64 %75, %79
  %81 = inttoptr i64 %80 to ptr
  %82 = icmp ult ptr %72, %81
  br i1 %82, label %84, label %83

83:                                               ; preds = %71
  store i32 11, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  br label %109

84:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %85 = load ptr, ptr %8, align 8, !tbaa !16
  %86 = load ptr, ptr %85, align 8, !tbaa !16
  %87 = call ptr @is_pointer_to_heap(ptr noundef %86)
  store ptr %87, ptr %10, align 8, !tbaa !16
  %88 = icmp ne ptr %87, null
  br i1 %88, label %90, label %89

89:                                               ; preds = %84
  store i32 13, ptr %9, align 4
  br label %103

90:                                               ; preds = %84
  %91 = load ptr, ptr %10, align 8, !tbaa !16
  %92 = load ptr, ptr %8, align 8, !tbaa !16
  %93 = load ptr, ptr %92, align 8, !tbaa !16
  %94 = call ptr @get_header(ptr noundef %91, ptr noundef %93)
  store ptr %94, ptr %11, align 8, !tbaa !16
  %95 = icmp ne ptr %94, null
  br i1 %95, label %96, label %102

96:                                               ; preds = %90
  %97 = load ptr, ptr %11, align 8, !tbaa !16
  %98 = getelementptr inbounds %struct.header, ptr %97, i32 0, i32 5
  %99 = load ptr, ptr %98, align 8, !tbaa !14
  %100 = getelementptr inbounds %struct.header, ptr %99, i64 1
  %101 = load ptr, ptr %8, align 8, !tbaa !16
  store ptr %100, ptr %101, align 8, !tbaa !16
  br label %102

102:                                              ; preds = %96, %90
  store i32 0, ptr %9, align 4
  br label %103

103:                                              ; preds = %102, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  %104 = load i32, ptr %9, align 4
  switch i32 %104, label %125 [
    i32 0, label %105
    i32 13, label %106
  ]

105:                                              ; preds = %103
  br label %106

106:                                              ; preds = %105, %103
  %107 = load ptr, ptr %8, align 8, !tbaa !16
  %108 = getelementptr inbounds i8, ptr %107, i32 1
  store ptr %108, ptr %8, align 8, !tbaa !16
  br label %71, !llvm.loop !24

109:                                              ; preds = %83
  br label %110

110:                                              ; preds = %109
  %111 = load ptr, ptr %4, align 8, !tbaa !16
  %112 = getelementptr inbounds %struct.header, ptr %111, i64 1
  %113 = ptrtoint ptr %112 to i64
  %114 = load ptr, ptr %4, align 8, !tbaa !16
  %115 = getelementptr inbounds %struct.header, ptr %114, i32 0, i32 2
  %116 = load i64, ptr %115, align 8, !tbaa !23
  %117 = sub i64 %116, 48
  %118 = add i64 %113, %117
  %119 = inttoptr i64 %118 to ptr
  store ptr %119, ptr %4, align 8, !tbaa !16
  br label %64, !llvm.loop !25

120:                                              ; preds = %64
  br label %121

121:                                              ; preds = %120
  %122 = load i64, ptr %3, align 8, !tbaa !9
  %123 = add i64 %122, 1
  store i64 %123, ptr %3, align 8, !tbaa !9
  br label %44, !llvm.loop !26

124:                                              ; preds = %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  ret void

125:                                              ; preds = %103
  unreachable
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 #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 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"root_", !13, i64 0, !13, i64 8}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!15, !13, i64 40}
!15 = !{!"header", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !13, i64 32, !13, i64 40}
!16 = !{!13, !13, i64 0}
!17 = !{!12, !13, i64 8}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !13, i64 0}
!21 = !{!"gc_heap", !13, i64 0, !10, i64 8}
!22 = !{!21, !10, i64 8}
!23 = !{!15, !10, i64 16}
!24 = distinct !{!24, !19}
!25 = distinct !{!25, !19}
!26 = distinct !{!26, !19}


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

%struct.gc_heap = type { ptr, i64 }
%struct.root_ = type { ptr, ptr }

@gc_heaps_used = external local_unnamed_addr global i64, align 8
@gc_heaps = external local_unnamed_addr global [100000 x %struct.gc_heap], align 16
@root_used = external local_unnamed_addr global i64, align 8
@roots = external local_unnamed_addr global [100000 x %struct.root_], align 16

declare ptr @is_pointer_to_heap(ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local void @adjust_ptr() local_unnamed_addr #1 {
  %1 = load i64, ptr @root_used, align 8, !tbaa !5
  %.not41 = icmp eq i64 %1, 0
  br i1 %.not41, label %.preheader, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %0
  %xtraiter = and i64 %1, 1
  %2 = icmp eq i64 %1, 1
  br i1 %2, label %.preheader.loopexit.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i64 %1, -2
  br label %.lr.ph

.preheader.loopexit.unr-lcssa:                    ; preds = %.lr.ph, %.lr.ph.preheader
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next.1, %.lr.ph ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %.preheader.loopexit.unr-lcssa
  %3 = getelementptr inbounds [100000 x %struct.root_], ptr @roots, i64 0, i64 %indvars.iv.unr
  %4 = load ptr, ptr %3, align 16, !tbaa !9
  %5 = getelementptr inbounds i8, ptr %4, i64 -8
  %6 = load ptr, ptr %5, align 8, !tbaa !12
  %7 = getelementptr inbounds i8, ptr %6, i64 48
  store ptr %7, ptr %3, align 16, !tbaa !9
  %8 = getelementptr inbounds i8, ptr %3, i64 8
  %9 = load ptr, ptr %8, align 8, !tbaa !14
  store ptr %7, ptr %9, align 8, !tbaa !15
  br label %.preheader

.preheader:                                       ; preds = %.lr.ph.epil, %.preheader.loopexit.unr-lcssa, %0
  %10 = load i64, ptr @gc_heaps_used, align 8, !tbaa !5
  %.not42 = icmp eq i64 %10, 0
  br i1 %.not42, label %._crit_edge40, label %.lr.ph39

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader.new ], [ %indvars.iv.next.1, %.lr.ph ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.1, %.lr.ph ]
  %11 = getelementptr inbounds [100000 x %struct.root_], ptr @roots, i64 0, i64 %indvars.iv
  %12 = load ptr, ptr %11, align 16, !tbaa !9
  %13 = getelementptr inbounds i8, ptr %12, i64 -8
  %14 = load ptr, ptr %13, align 8, !tbaa !12
  %15 = getelementptr inbounds i8, ptr %14, i64 48
  store ptr %15, ptr %11, align 16, !tbaa !9
  %16 = getelementptr inbounds i8, ptr %11, i64 8
  %17 = load ptr, ptr %16, align 8, !tbaa !14
  store ptr %15, ptr %17, align 8, !tbaa !15
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %18 = getelementptr inbounds [100000 x %struct.root_], ptr @roots, i64 0, i64 %indvars.iv.next
  %19 = load ptr, ptr %18, align 16, !tbaa !9
  %20 = getelementptr inbounds i8, ptr %19, i64 -8
  %21 = load ptr, ptr %20, align 8, !tbaa !12
  %22 = getelementptr inbounds i8, ptr %21, i64 48
  store ptr %22, ptr %18, align 16, !tbaa !9
  %23 = getelementptr inbounds i8, ptr %18, i64 8
  %24 = load ptr, ptr %23, align 8, !tbaa !14
  store ptr %22, ptr %24, align 8, !tbaa !15
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.preheader.loopexit.unr-lcssa, label %.lr.ph, !llvm.loop !16

.lr.ph39:                                         ; preds = %.preheader, %._crit_edge
  %25 = phi i64 [ %58, %._crit_edge ], [ %10, %.preheader ]
  %.02538 = phi i64 [ %59, %._crit_edge ], [ 0, %.preheader ]
  %26 = getelementptr inbounds [100000 x %struct.gc_heap], ptr @gc_heaps, i64 0, i64 %.02538
  %27 = load ptr, ptr %26, align 16, !tbaa !18
  %28 = ptrtoint ptr %27 to i64
  %29 = getelementptr inbounds i8, ptr %26, i64 8
  %30 = load i64, ptr %29, align 8, !tbaa !20
  %31 = add i64 %30, %28
  %32 = inttoptr i64 %31 to ptr
  %33 = icmp ult ptr %27, %32
  br i1 %33, label %.lr.ph37, label %._crit_edge

.loopexit:                                        ; preds = %52, %.lr.ph37
  %.lcssa = phi ptr [ %41, %.lr.ph37 ], [ %56, %52 ]
  %34 = icmp ult ptr %.lcssa, %32
  br i1 %34, label %.lr.ph37, label %._crit_edge.loopexit, !llvm.loop !21

.lr.ph37:                                         ; preds = %.lr.ph39, %.loopexit
  %.02736 = phi ptr [ %.lcssa, %.loopexit ], [ %27, %.lr.ph39 ]
  %35 = getelementptr inbounds i8, ptr %.02736, i64 48
  %36 = ptrtoint ptr %35 to i64
  %37 = getelementptr inbounds i8, ptr %.02736, i64 16
  %38 = add i64 %36, -48
  %39 = load i64, ptr %37, align 8, !tbaa !22
  %40 = add i64 %38, %39
  %41 = inttoptr i64 %40 to ptr
  %42 = icmp ult ptr %35, %41
  br i1 %42, label %.lr.ph35, label %.loopexit

.lr.ph35:                                         ; preds = %.lr.ph37, %52
  %.02634 = phi ptr [ %53, %52 ], [ %35, %.lr.ph37 ]
  %43 = load ptr, ptr %.02634, align 8, !tbaa !15
  %44 = tail call ptr @is_pointer_to_heap(ptr noundef %43) #2
  %.not = icmp eq ptr %44, null
  br i1 %.not, label %52, label %45

45:                                               ; preds = %.lr.ph35
  %46 = load ptr, ptr %.02634, align 8, !tbaa !15
  %47 = tail call ptr @get_header(ptr noundef nonnull %44, ptr noundef %46) #2
  %.not32 = icmp eq ptr %47, null
  br i1 %.not32, label %52, label %48

48:                                               ; preds = %45
  %49 = getelementptr inbounds i8, ptr %47, i64 40
  %50 = load ptr, ptr %49, align 8, !tbaa !12
  %51 = getelementptr inbounds i8, ptr %50, i64 48
  store ptr %51, ptr %.02634, align 8, !tbaa !15
  br label %52

52:                                               ; preds = %45, %48, %.lr.ph35
  %53 = getelementptr inbounds i8, ptr %.02634, i64 1
  %54 = load i64, ptr %37, align 8, !tbaa !22
  %55 = add i64 %38, %54
  %56 = inttoptr i64 %55 to ptr
  %57 = icmp ult ptr %53, %56
  br i1 %57, label %.lr.ph35, label %.loopexit, !llvm.loop !23

._crit_edge.loopexit:                             ; preds = %.loopexit
  %.pre = load i64, ptr @gc_heaps_used, align 8, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.lr.ph39
  %58 = phi i64 [ %.pre, %._crit_edge.loopexit ], [ %25, %.lr.ph39 ]
  %59 = add nuw i64 %.02538, 1
  %60 = icmp ult i64 %59, %58
  br i1 %60, label %.lr.ph39, label %._crit_edge40, !llvm.loop !24

._crit_edge40:                                    ; preds = %._crit_edge, %.preheader
  ret void
}

attributes #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 = { 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 }

!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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"root_", !11, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !11, i64 40}
!13 = !{!"header", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !11, i64 32, !11, i64 40}
!14 = !{!10, !11, i64 8}
!15 = !{!11, !11, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !11, i64 0}
!19 = !{!"gc_heap", !11, i64 0, !6, i64 8}
!20 = !{!19, !6, i64 8}
!21 = distinct !{!21, !17}
!22 = !{!13, !6, i64 16}
!23 = distinct !{!23, !17}
!24 = distinct !{!24, !17}


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