; LLVM IR from humz2k/sugaryc :: ext/bdwgc (reclaim)

; 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.obj_kind = type { ptr, ptr, i64, i32, i32 }
%struct._GC_arrays = type { i64, i64, i64, ptr, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i64, i64, i64, ptr, ptr, i64, i32, i64, i64, i64, %struct.dl_hashtbl_s, %struct.dl_hashtbl_s, %struct.fnlz_roots_s, i32, ptr, i64, i64, i32, i64, i64, i64, ptr, [64 x ptr], [8 x i8], [64 x ptr], [129 x ptr], [129 x ptr], [129 x ptr], [2049 x i64], [129 x ptr], [4096 x i8], [4096 x i64], [4096 x i64], ptr, [2048 x %struct.roots], [512 x %struct.exclusion], [2048 x ptr] }
%struct.dl_hashtbl_s = type { ptr, i64, i32 }
%struct.fnlz_roots_s = type { ptr, ptr }
%struct.roots = type { ptr, ptr, ptr, i32 }
%struct.exclusion = type { ptr, ptr }

@GC_obj_kinds = external global [16 x %struct.obj_kind], align 16
@GC_arrays = external global %struct._GC_arrays, align 8
@GC_n_kinds = external global i32, align 4

; 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

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

declare void @GC_apply_to_all_blocks(ptr noundef, i64 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local void @GC_start_reclaim(i32 noundef %0) #3 {
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  store i32 %0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  store i64 0, ptr getelementptr inbounds (%struct._GC_arrays, ptr @GC_arrays, i32 0, i32 25), align 8, !tbaa !9
  store i64 0, ptr getelementptr inbounds (%struct._GC_arrays, ptr @GC_arrays, i32 0, i32 26), align 8, !tbaa !15
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %9

9:                                                ; preds = %72, %1
  %10 = load i32, ptr %3, align 4, !tbaa !5
  %11 = load i32, ptr @GC_n_kinds, align 4, !tbaa !5
  %12 = icmp ult i32 %10, %11
  br i1 %12, label %13, label %75

13:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  %14 = load i32, ptr %3, align 4, !tbaa !5
  %15 = zext i32 %14 to i64
  %16 = getelementptr inbounds [16 x %struct.obj_kind], ptr @GC_obj_kinds, i64 0, i64 %15
  %17 = getelementptr inbounds %struct.obj_kind, ptr %16, i32 0, i32 1
  %18 = load ptr, ptr %17, align 8, !tbaa !16
  store ptr %18, ptr %4, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %19 = load i32, ptr %3, align 4, !tbaa !5
  %20 = zext i32 %19 to i64
  %21 = getelementptr inbounds [16 x %struct.obj_kind], ptr @GC_obj_kinds, i64 0, i64 %20
  %22 = getelementptr inbounds %struct.obj_kind, ptr %21, i32 0, i32 2
  %23 = load i64, ptr %22, align 16, !tbaa !19
  %24 = icmp ne i64 %23, 0
  %25 = zext i1 %24 to i32
  store i32 %25, ptr %5, align 4, !tbaa !5
  %26 = load ptr, ptr %4, align 8, !tbaa !18
  %27 = icmp eq ptr %26, null
  br i1 %27, label %28, label %29

28:                                               ; preds = %13
  store i32 4, ptr %6, align 4
  br label %69

29:                                               ; preds = %13
  %30 = load i32, ptr %2, align 4, !tbaa !5
  %31 = icmp ne i32 %30, 0
  br i1 %31, label %67, label %32

32:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %33 = load i32, ptr %3, align 4, !tbaa !5
  %34 = zext i32 %33 to i64
  %35 = getelementptr inbounds [16 x %struct.obj_kind], ptr @GC_obj_kinds, i64 0, i64 %34
  %36 = getelementptr inbounds %struct.obj_kind, ptr %35, i32 0, i32 0
  %37 = load ptr, ptr %36, align 16, !tbaa !20
  %38 = getelementptr inbounds ptr, ptr %37, i64 129
  store ptr %38, ptr %8, align 8, !tbaa !18
  %39 = load i32, ptr %3, align 4, !tbaa !5
  %40 = zext i32 %39 to i64
  %41 = getelementptr inbounds [16 x %struct.obj_kind], ptr @GC_obj_kinds, i64 0, i64 %40
  %42 = getelementptr inbounds %struct.obj_kind, ptr %41, i32 0, i32 0
  %43 = load ptr, ptr %42, align 16, !tbaa !20
  store ptr %43, ptr %7, align 8, !tbaa !18
  br label %44

44:                                               ; preds = %63, %32
  %45 = load ptr, ptr %7, align 8, !tbaa !18
  %46 = ptrtoint ptr %45 to i64
  %47 = load ptr, ptr %8, align 8, !tbaa !18
  %48 = ptrtoint ptr %47 to i64
  %49 = icmp ult i64 %46, %48
  br i1 %49, label %50, label %66

50:                                               ; preds = %44
  %51 = load ptr, ptr %7, align 8, !tbaa !18
  %52 = load ptr, ptr %51, align 8, !tbaa !18
  %53 = icmp ne ptr %52, null
  br i1 %53, label %54, label %62

54:                                               ; preds = %50
  %55 = load i32, ptr %5, align 4, !tbaa !5
  %56 = icmp ne i32 %55, 0
  br i1 %56, label %57, label %59

57:                                               ; preds = %54
  %58 = load ptr, ptr %7, align 8, !tbaa !18
  call void @GC_clear_fl_links(ptr noundef %58)
  br label %61

59:                                               ; preds = %54
  %60 = load ptr, ptr %7, align 8, !tbaa !18
  store ptr null, ptr %60, align 8, !tbaa !18
  br label %61

61:                                               ; preds = %59, %57
  br label %62

62:                                               ; preds = %61, %50
  br label %63

63:                                               ; preds = %62
  %64 = load ptr, ptr %7, align 8, !tbaa !18
  %65 = getelementptr inbounds i64, ptr %64, i32 1
  store ptr %65, ptr %7, align 8, !tbaa !18
  br label %44, !llvm.loop !21

66:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %67

67:                                               ; preds = %66, %29
  %68 = load ptr, ptr %4, align 8, !tbaa !18
  call void @llvm.memset.p0.i64(ptr align 8 %68, i8 0, i64 1032, i1 false)
  store i32 0, ptr %6, align 4
  br label %69

69:                                               ; preds = %67, %28
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  %70 = load i32, ptr %6, align 4
  switch i32 %70, label %78 [
    i32 0, label %71
    i32 4, label %72
  ]

71:                                               ; preds = %69
  br label %72

72:                                               ; preds = %71, %69
  %73 = load i32, ptr %3, align 4, !tbaa !5
  %74 = add i32 %73, 1
  store i32 %74, ptr %3, align 4, !tbaa !5
  br label %9, !llvm.loop !23

75:                                               ; preds = %9
  %76 = load i32, ptr %2, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  call void @GC_apply_to_all_blocks(ptr noundef @GC_reclaim_block, i64 noundef %77)
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  ret void

78:                                               ; preds = %69
  unreachable
}

; Function Attrs: nounwind uwtable
declare hidden void @GC_clear_fl_links(ptr noundef) #3

; Function Attrs: nounwind uwtable
declare hidden void @GC_reclaim_block(ptr noundef, i64 noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 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 #4 = { 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, !11, i64 192}
!10 = !{!"_GC_arrays", !11, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !6, i64 176, !6, i64 180, !6, i64 184, !11, i64 192, !11, i64 200, !11, i64 208, !12, i64 216, !12, i64 224, !11, i64 232, !6, i64 240, !11, i64 248, !11, i64 256, !11, i64 264, !13, i64 272, !13, i64 296, !14, i64 320, !6, i64 336, !12, i64 344, !11, i64 352, !11, i64 360, !6, i64 368, !11, i64 376, !11, i64 384, !11, i64 392, !12, i64 400, !7, i64 408, !7, i64 920, !7, i64 928, !7, i64 1440, !7, i64 2472, !7, i64 3504, !7, i64 4536, !7, i64 20928, !7, i64 21960, !7, i64 26056, !7, i64 58824, !12, i64 91592, !7, i64 91600, !7, i64 157136, !7, i64 165328}
!11 = !{!"long", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!"dl_hashtbl_s", !12, i64 0, !11, i64 8, !6, i64 16}
!14 = !{!"fnlz_roots_s", !12, i64 0, !12, i64 8}
!15 = !{!10, !11, i64 200}
!16 = !{!17, !12, i64 8}
!17 = !{!"obj_kind", !12, i64 0, !12, i64 8, !11, i64 16, !6, i64 24, !6, i64 28}
!18 = !{!12, !12, i64 0}
!19 = !{!17, !11, i64 16}
!20 = !{!17, !12, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}


; 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.obj_kind = type { ptr, ptr, i64, i32, i32 }
%struct._GC_arrays = type { i64, i64, i64, ptr, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i64, i64, i64, ptr, ptr, i64, i32, i64, i64, i64, %struct.dl_hashtbl_s, %struct.dl_hashtbl_s, %struct.fnlz_roots_s, i32, ptr, i64, i64, i32, i64, i64, i64, ptr, [64 x ptr], [8 x i8], [64 x ptr], [129 x ptr], [129 x ptr], [129 x ptr], [2049 x i64], [129 x ptr], [4096 x i8], [4096 x i64], [4096 x i64], ptr, [2048 x %struct.roots], [512 x %struct.exclusion], [2048 x ptr] }
%struct.dl_hashtbl_s = type { ptr, i64, i32 }
%struct.fnlz_roots_s = type { ptr, ptr }
%struct.roots = type { ptr, ptr, ptr, i32 }
%struct.exclusion = type { ptr, ptr }

@GC_obj_kinds = external local_unnamed_addr global [16 x %struct.obj_kind], align 16
@GC_arrays = external local_unnamed_addr global %struct._GC_arrays, align 8
@GC_n_kinds = external local_unnamed_addr global i32, align 4

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #0

declare void @GC_apply_to_all_blocks(ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @GC_start_reclaim(i32 noundef %0) local_unnamed_addr #2 {
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) getelementptr inbounds (i8, ptr @GC_arrays, i64 192), i8 0, i64 16, i1 false)
  %2 = load i32, ptr @GC_n_kinds, align 4, !tbaa !5
  %.not = icmp eq i32 %2, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %1
  %.not18 = icmp eq i32 %0, 0
  br i1 %.not18, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph, %32
  %3 = phi i32 [ %33, %32 ], [ %2, %.lr.ph ]
  %indvars.iv33 = phi i64 [ %indvars.iv.next34, %32 ], [ 0, %.lr.ph ]
  %4 = getelementptr inbounds [16 x %struct.obj_kind], ptr @GC_obj_kinds, i64 0, i64 %indvars.iv33
  %5 = getelementptr inbounds i8, ptr %4, i64 8
  %6 = load ptr, ptr %5, align 8, !tbaa !9
  %7 = icmp eq ptr %6, null
  br i1 %7, label %32, label %8

8:                                                ; preds = %.lr.ph.split.us
  %9 = getelementptr inbounds i8, ptr %4, i64 16
  %10 = load i64, ptr %9, align 16, !tbaa !13
  %.fr = freeze i64 %10
  %.not.us = icmp eq i64 %.fr, 0
  %11 = load ptr, ptr %4, align 16, !tbaa !14
  br i1 %.not.us, label %vector.body, label %.split.us29

vector.body:                                      ; preds = %8, %pred.store.continue47
  %index = phi i64 [ %index.next, %pred.store.continue47 ], [ 0, %8 ]
  %offset.idx = shl i64 %index, 3
  %12 = or disjoint i64 %offset.idx, 16
  %13 = getelementptr inbounds i8, ptr %11, i64 %offset.idx
  %14 = getelementptr inbounds i8, ptr %13, i64 16
  %wide.load = load <2 x ptr>, ptr %13, align 8, !tbaa !15
  %wide.load41 = load <2 x ptr>, ptr %14, align 8, !tbaa !15
  %15 = icmp ne <2 x ptr> %wide.load, zeroinitializer
  %16 = icmp ne <2 x ptr> %wide.load41, zeroinitializer
  %17 = extractelement <2 x i1> %15, i64 0
  br i1 %17, label %pred.store.if, label %pred.store.continue

pred.store.if:                                    ; preds = %vector.body
  %18 = getelementptr inbounds i8, ptr %11, i64 %offset.idx
  store ptr null, ptr %18, align 8, !tbaa !15
  br label %pred.store.continue

pred.store.continue:                              ; preds = %pred.store.if, %vector.body
  %19 = extractelement <2 x i1> %15, i64 1
  br i1 %19, label %pred.store.if42, label %pred.store.continue43

pred.store.if42:                                  ; preds = %pred.store.continue
  %20 = or disjoint i64 %offset.idx, 8
  %21 = getelementptr inbounds i8, ptr %11, i64 %20
  store ptr null, ptr %21, align 8, !tbaa !15
  br label %pred.store.continue43

pred.store.continue43:                            ; preds = %pred.store.if42, %pred.store.continue
  %22 = extractelement <2 x i1> %16, i64 0
  br i1 %22, label %pred.store.if44, label %pred.store.continue45

pred.store.if44:                                  ; preds = %pred.store.continue43
  %23 = getelementptr inbounds i8, ptr %11, i64 %12
  store ptr null, ptr %23, align 8, !tbaa !15
  br label %pred.store.continue45

pred.store.continue45:                            ; preds = %pred.store.if44, %pred.store.continue43
  %24 = extractelement <2 x i1> %16, i64 1
  br i1 %24, label %pred.store.if46, label %pred.store.continue47

pred.store.if46:                                  ; preds = %pred.store.continue45
  %25 = or disjoint i64 %offset.idx, 24
  %26 = getelementptr inbounds i8, ptr %11, i64 %25
  store ptr null, ptr %26, align 8, !tbaa !15
  br label %pred.store.continue47

pred.store.continue47:                            ; preds = %pred.store.if46, %pred.store.continue45
  %index.next = add nuw i64 %index, 4
  %27 = icmp eq i64 %index.next, 128
  br i1 %27, label %.split.us.us, label %vector.body, !llvm.loop !16

.split.us29:                                      ; preds = %8, %30
  %.016.idx20.us24 = phi i64 [ %.016.add.us26, %30 ], [ 0, %8 ]
  %.016.ptr21.us23 = getelementptr inbounds i8, ptr %11, i64 %.016.idx20.us24
  %28 = load ptr, ptr %.016.ptr21.us23, align 8, !tbaa !15
  %.not19.us25 = icmp eq ptr %28, null
  br i1 %.not19.us25, label %30, label %29

29:                                               ; preds = %.split.us29
  tail call void @GC_clear_fl_links(ptr noundef nonnull %.016.ptr21.us23)
  br label %30

30:                                               ; preds = %29, %.split.us29
  %.016.add.us26 = add nuw nsw i64 %.016.idx20.us24, 8
  %31 = icmp ult i64 %.016.idx20.us24, 1024
  br i1 %31, label %.split.us29, label %.loopexit.us, !llvm.loop !20

32:                                               ; preds = %.loopexit.us, %.lr.ph.split.us
  %33 = phi i32 [ %.pre36, %.loopexit.us ], [ %3, %.lr.ph.split.us ]
  %indvars.iv.next34 = add nuw nsw i64 %indvars.iv33, 1
  %34 = zext i32 %33 to i64
  %35 = icmp ult i64 %indvars.iv.next34, %34
  br i1 %35, label %.lr.ph.split.us, label %._crit_edge, !llvm.loop !21

.loopexit.us:                                     ; preds = %.split.us.us, %37, %30
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(1032) %6, i8 0, i64 1032, i1 false)
  %.pre36 = load i32, ptr @GC_n_kinds, align 4, !tbaa !5
  br label %32

.split.us.us:                                     ; preds = %pred.store.continue47
  %.016.ptr21.us.us = getelementptr inbounds i8, ptr %11, i64 1024
  %36 = load ptr, ptr %.016.ptr21.us.us, align 8, !tbaa !15
  %.not19.us.us = icmp eq ptr %36, null
  br i1 %.not19.us.us, label %.loopexit.us, label %37

37:                                               ; preds = %.split.us.us
  store ptr null, ptr %.016.ptr21.us.us, align 8, !tbaa !15
  br label %.loopexit.us

.lr.ph.split:                                     ; preds = %.lr.ph, %42
  %38 = phi i32 [ %43, %42 ], [ %2, %.lr.ph ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %42 ], [ 0, %.lr.ph ]
  %gep = getelementptr inbounds [16 x %struct.obj_kind], ptr getelementptr inbounds (i8, ptr @GC_obj_kinds, i64 8), i64 0, i64 %indvars.iv
  %39 = load ptr, ptr %gep, align 8, !tbaa !9
  %40 = icmp eq ptr %39, null
  br i1 %40, label %42, label %41

41:                                               ; preds = %.lr.ph.split
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(1032) %39, i8 0, i64 1032, i1 false)
  %.pre = load i32, ptr @GC_n_kinds, align 4, !tbaa !5
  br label %42

42:                                               ; preds = %.lr.ph.split, %41
  %43 = phi i32 [ %38, %.lr.ph.split ], [ %.pre, %41 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %44 = zext i32 %43 to i64
  %45 = icmp ult i64 %indvars.iv.next, %44
  br i1 %45, label %.lr.ph.split, label %._crit_edge, !llvm.loop !21

._crit_edge:                                      ; preds = %42, %32, %1
  %46 = sext i32 %0 to i64
  tail call void @GC_apply_to_all_blocks(ptr noundef nonnull @GC_reclaim_block, i64 noundef %46) #3
  ret void
}

; Function Attrs: nounwind uwtable
declare hidden void @GC_clear_fl_links(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden void @GC_reclaim_block(ptr noundef, i64 noundef) #2

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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, !11, i64 8}
!10 = !{!"obj_kind", !11, i64 0, !11, i64 8, !12, i64 16, !6, i64 24, !6, i64 28}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !12, i64 16}
!14 = !{!10, !11, i64 0}
!15 = !{!11, !11, i64 0}
!16 = distinct !{!16, !17, !18, !19}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!"llvm.loop.isvectorized", i32 1}
!19 = !{!"llvm.loop.unroll.runtime.disable"}
!20 = distinct !{!20, !17}
!21 = distinct !{!21, !17}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass