; LLVM IR from fmela/libdict :: src (rb_tree)

; 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.dict_insert_result = type { ptr, i8 }
%struct.rb_tree = type { ptr, i64, ptr, i64 }
%struct.rb_node = type { ptr, ptr, i64, ptr, ptr }

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [34 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [19 x i8], align 1
@__func__.rb_tree_insert = external hidden unnamed_addr constant [15 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #0

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local { ptr, i8 } @rb_tree_insert(ptr noundef %0, ptr noundef %1) #4 {
  %3 = alloca %struct.dict_insert_result, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.rb_tree, ptr %10, i32 0, i32 0
  %12 = load ptr, ptr %11, align 8, !tbaa !11
  store ptr %12, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  store ptr null, ptr %8, align 8, !tbaa !5
  br label %13

13:                                               ; preds = %46, %2
  %14 = load ptr, ptr %7, align 8, !tbaa !5
  %15 = icmp ne ptr %14, null
  br i1 %15, label %16, label %47

16:                                               ; preds = %13
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.rb_tree, ptr %17, i32 0, i32 2
  %19 = load ptr, ptr %18, align 8, !tbaa !14
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = load ptr, ptr %7, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.rb_node, ptr %21, i32 0, i32 0
  %23 = load ptr, ptr %22, align 8, !tbaa !15
  %24 = call i32 %19(ptr noundef %20, ptr noundef %23)
  store i32 %24, ptr %6, align 4, !tbaa !9
  %25 = load i32, ptr %6, align 4, !tbaa !9
  %26 = icmp slt i32 %25, 0
  br i1 %26, label %27, label %32

27:                                               ; preds = %16
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %28, ptr %8, align 8, !tbaa !5
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.rb_node, ptr %29, i32 0, i32 3
  %31 = load ptr, ptr %30, align 8, !tbaa !17
  store ptr %31, ptr %7, align 8, !tbaa !5
  br label %46

32:                                               ; preds = %16
  %33 = load i32, ptr %6, align 4, !tbaa !9
  %34 = icmp sgt i32 %33, 0
  br i1 %34, label %35, label %40

35:                                               ; preds = %32
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %36, ptr %8, align 8, !tbaa !5
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.rb_node, ptr %37, i32 0, i32 4
  %39 = load ptr, ptr %38, align 8, !tbaa !18
  store ptr %39, ptr %7, align 8, !tbaa !5
  br label %45

40:                                               ; preds = %32
  %41 = getelementptr inbounds %struct.dict_insert_result, ptr %3, i32 0, i32 0
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.rb_node, ptr %42, i32 0, i32 1
  store ptr %43, ptr %41, align 8, !tbaa !19
  %44 = getelementptr inbounds %struct.dict_insert_result, ptr %3, i32 0, i32 1
  store i8 0, ptr %44, align 8, !tbaa !22
  store i32 1, ptr %9, align 4
  br label %133

45:                                               ; preds = %35
  br label %46

46:                                               ; preds = %45, %27
  br label %13, !llvm.loop !23

47:                                               ; preds = %13
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = call ptr @node_new(ptr noundef %48)
  store ptr %49, ptr %7, align 8, !tbaa !5
  %50 = icmp ne ptr %49, null
  br i1 %50, label %54, label %51

51:                                               ; preds = %47
  %52 = getelementptr inbounds %struct.dict_insert_result, ptr %3, i32 0, i32 0
  store ptr null, ptr %52, align 8, !tbaa !19
  %53 = getelementptr inbounds %struct.dict_insert_result, ptr %3, i32 0, i32 1
  store i8 0, ptr %53, align 8, !tbaa !22
  store i32 1, ptr %9, align 4
  br label %133

54:                                               ; preds = %47
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.rb_node, ptr %55, i32 0, i32 2
  %57 = load i64, ptr %56, align 8, !tbaa !25
  %58 = and i64 %57, 1
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  %60 = ptrtoint ptr %59 to i64
  %61 = or i64 %58, %60
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.rb_node, ptr %62, i32 0, i32 2
  store i64 %61, ptr %63, align 8, !tbaa !25
  %64 = load ptr, ptr %8, align 8, !tbaa !5
  %65 = icmp eq ptr %64, null
  br i1 %65, label %66, label %104

66:                                               ; preds = %54
  br label %67

67:                                               ; preds = %66
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.rb_tree, ptr %68, i32 0, i32 0
  %70 = load ptr, ptr %69, align 8, !tbaa !11
  %71 = icmp eq ptr %70, null
  %72 = zext i1 %71 to i32
  %73 = sext i32 %72 to i64
  %74 = call i64 @llvm.expect.i64(i64 %73, i64 1)
  %75 = icmp ne i64 %74, 0
  br i1 %75, label %79, label %76

76:                                               ; preds = %67
  %77 = load ptr, ptr @stderr, align 8, !tbaa !5
  %78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 200, ptr noundef @__func__.rb_tree_insert, ptr noundef @.str.3) #5
  call void @abort() #6
  unreachable

79:                                               ; preds = %67
  br label %80

80:                                               ; preds = %79
  br label %81

81:                                               ; preds = %80
  %82 = load ptr, ptr %7, align 8, !tbaa !5
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.rb_tree, ptr %83, i32 0, i32 0
  store ptr %82, ptr %84, align 8, !tbaa !11
  br label %85

85:                                               ; preds = %81
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.rb_tree, ptr %86, i32 0, i32 1
  %88 = load i64, ptr %87, align 8, !tbaa !26
  %89 = icmp eq i64 %88, 0
  %90 = zext i1 %89 to i32
  %91 = sext i32 %90 to i64
  %92 = call i64 @llvm.expect.i64(i64 %91, i64 1)
  %93 = icmp ne i64 %92, 0
  br i1 %93, label %97, label %94

94:                                               ; preds = %85
  %95 = load ptr, ptr @stderr, align 8, !tbaa !5
  %96 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %95, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 202, ptr noundef @__func__.rb_tree_insert, ptr noundef @.str.4) #5
  call void @abort() #6
  unreachable

97:                                               ; preds = %85
  br label %98

98:                                               ; preds = %97
  br label %99

99:                                               ; preds = %98
  %100 = load ptr, ptr %7, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.rb_node, ptr %100, i32 0, i32 2
  %102 = load i64, ptr %101, align 8, !tbaa !25
  %103 = or i64 %102, 1
  store i64 %103, ptr %101, align 8, !tbaa !25
  br label %124

104:                                              ; preds = %54
  %105 = load i32, ptr %6, align 4, !tbaa !9
  %106 = icmp slt i32 %105, 0
  br i1 %106, label %107, label %111

107:                                              ; preds = %104
  %108 = load ptr, ptr %7, align 8, !tbaa !5
  %109 = load ptr, ptr %8, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.rb_node, ptr %109, i32 0, i32 3
  store ptr %108, ptr %110, align 8, !tbaa !17
  br label %115

111:                                              ; preds = %104
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = load ptr, ptr %8, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.rb_node, ptr %113, i32 0, i32 4
  store ptr %112, ptr %114, align 8, !tbaa !18
  br label %115

115:                                              ; preds = %111, %107
  %116 = load ptr, ptr %4, align 8, !tbaa !5
  %117 = load ptr, ptr %7, align 8, !tbaa !5
  %118 = call i32 @insert_fixup(ptr noundef %116, ptr noundef %117)
  %119 = zext i32 %118 to i64
  %120 = load ptr, ptr %4, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.rb_tree, ptr %120, i32 0, i32 3
  %122 = load i64, ptr %121, align 8, !tbaa !27
  %123 = add i64 %122, %119
  store i64 %123, ptr %121, align 8, !tbaa !27
  br label %124

124:                                              ; preds = %115, %99
  %125 = load ptr, ptr %4, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.rb_tree, ptr %125, i32 0, i32 1
  %127 = load i64, ptr %126, align 8, !tbaa !26
  %128 = add i64 %127, 1
  store i64 %128, ptr %126, align 8, !tbaa !26
  %129 = getelementptr inbounds %struct.dict_insert_result, ptr %3, i32 0, i32 0
  %130 = load ptr, ptr %7, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.rb_node, ptr %130, i32 0, i32 1
  store ptr %131, ptr %129, align 8, !tbaa !19
  %132 = getelementptr inbounds %struct.dict_insert_result, ptr %3, i32 0, i32 1
  store i8 1, ptr %132, align 8, !tbaa !22
  store i32 1, ptr %9, align 4
  br label %133

133:                                              ; preds = %124, %51, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  %134 = load { ptr, i8 }, ptr %3, align 8
  ret { ptr, i8 } %134
}

; Function Attrs: nounwind uwtable
declare hidden ptr @node_new(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare hidden i32 @insert_fixup(ptr noundef, ptr noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #1 = { 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 = { 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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"rb_tree", !6, i64 0, !13, i64 8, !6, i64 16, !13, i64 24}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !6, i64 16}
!15 = !{!16, !6, i64 0}
!16 = !{!"rb_node", !6, i64 0, !6, i64 8, !13, i64 16, !6, i64 24, !6, i64 32}
!17 = !{!16, !6, i64 24}
!18 = !{!16, !6, i64 32}
!19 = !{!20, !6, i64 0}
!20 = !{!"", !6, i64 0, !21, i64 8}
!21 = !{!"_Bool", !7, i64 0}
!22 = !{!20, !21, i64 8}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!16, !13, i64 16}
!26 = !{!12, !13, i64 8}
!27 = !{!12, !13, i64 24}


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

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [34 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [19 x i8], align 1
@__func__.rb_tree_insert = external hidden unnamed_addr constant [15 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [17 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
define dso_local { ptr, i8 } @rb_tree_insert(ptr noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  %.03141 = load ptr, ptr %0, align 8, !tbaa !5
  %.not42 = icmp eq ptr %.03141, null
  br i1 %.not42, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %2
  %3 = getelementptr inbounds i8, ptr %0, i64 16
  br label %4

4:                                                ; preds = %.lr.ph, %12
  %.03143 = phi ptr [ %.03141, %.lr.ph ], [ %.031, %12 ]
  %5 = load ptr, ptr %3, align 8, !tbaa !9
  %6 = load ptr, ptr %.03143, align 8, !tbaa !12
  %7 = tail call i32 %5(ptr noundef %1, ptr noundef %6) #3
  %8 = icmp slt i32 %7, 0
  br i1 %8, label %12, label %9

9:                                                ; preds = %4
  %.not37 = icmp eq i32 %7, 0
  br i1 %.not37, label %10, label %12

10:                                               ; preds = %9
  %11 = getelementptr inbounds i8, ptr %.03143, i64 8
  br label %50

12:                                               ; preds = %9, %4
  %.sink = phi i64 [ 24, %4 ], [ 32, %9 ]
  %13 = getelementptr inbounds i8, ptr %.03143, i64 %.sink
  %.031 = load ptr, ptr %13, align 8, !tbaa !5
  %.not = icmp eq ptr %.031, null
  br i1 %.not, label %._crit_edge.loopexit, label %4, !llvm.loop !14

._crit_edge.loopexit:                             ; preds = %12
  %14 = icmp slt i32 %7, 0
  %15 = select i1 %14, i64 24, i64 32
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %2
  %.033.lcssa = phi i64 [ 32, %2 ], [ %15, %._crit_edge.loopexit ]
  %.0.lcssa = phi ptr [ null, %2 ], [ %.03143, %._crit_edge.loopexit ]
  %16 = tail call ptr @node_new(ptr noundef %1)
  %.not36 = icmp eq ptr %16, null
  br i1 %.not36, label %50, label %17

17:                                               ; preds = %._crit_edge
  %18 = getelementptr inbounds i8, ptr %16, i64 16
  %19 = load i64, ptr %18, align 8, !tbaa !16
  %20 = and i64 %19, 1
  %21 = ptrtoint ptr %.0.lcssa to i64
  %22 = or i64 %20, %21
  store i64 %22, ptr %18, align 8, !tbaa !16
  %23 = icmp eq ptr %.0.lcssa, null
  br i1 %23, label %24, label %38

24:                                               ; preds = %17
  %25 = load ptr, ptr %0, align 8, !tbaa !17
  %26 = icmp eq ptr %25, null
  br i1 %26, label %30, label %27, !prof !18

27:                                               ; preds = %24
  %28 = load ptr, ptr @stderr, align 8, !tbaa !5
  %29 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 200, ptr noundef nonnull @__func__.rb_tree_insert, ptr noundef nonnull @.str.3) #4
  tail call void @abort() #5
  unreachable

30:                                               ; preds = %24
  store ptr %16, ptr %0, align 8, !tbaa !17
  %31 = getelementptr inbounds i8, ptr %0, i64 8
  %32 = load i64, ptr %31, align 8, !tbaa !19
  %33 = icmp eq i64 %32, 0
  br i1 %33, label %37, label %34, !prof !18

34:                                               ; preds = %30
  %35 = load ptr, ptr @stderr, align 8, !tbaa !5
  %36 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 202, ptr noundef nonnull @__func__.rb_tree_insert, ptr noundef nonnull @.str.4) #4
  tail call void @abort() #5
  unreachable

37:                                               ; preds = %30
  store i64 1, ptr %18, align 8, !tbaa !16
  br label %46

38:                                               ; preds = %17
  %39 = getelementptr inbounds i8, ptr %.0.lcssa, i64 %.033.lcssa
  store ptr %16, ptr %39, align 8, !tbaa !5
  %40 = tail call i32 @insert_fixup(ptr noundef nonnull %0, ptr noundef nonnull %16)
  %41 = zext i32 %40 to i64
  %42 = getelementptr inbounds i8, ptr %0, i64 24
  %43 = load i64, ptr %42, align 8, !tbaa !20
  %44 = add i64 %43, %41
  store i64 %44, ptr %42, align 8, !tbaa !20
  %.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 8
  %.pre = load i64, ptr %.phi.trans.insert, align 8, !tbaa !19
  %45 = add i64 %.pre, 1
  br label %46

46:                                               ; preds = %38, %37
  %47 = phi i64 [ %45, %38 ], [ 1, %37 ]
  %48 = getelementptr inbounds i8, ptr %0, i64 8
  store i64 %47, ptr %48, align 8, !tbaa !19
  %49 = getelementptr inbounds i8, ptr %16, i64 8
  br label %50

50:                                               ; preds = %._crit_edge, %46, %10
  %.sroa.0.0 = phi ptr [ %11, %10 ], [ %49, %46 ], [ null, %._crit_edge ]
  %.sroa.4.0 = phi i8 [ 0, %10 ], [ 1, %46 ], [ 0, %._crit_edge ]
  %.fca.0.insert = insertvalue { ptr, i8 } poison, ptr %.sroa.0.0, 0
  %.fca.1.insert = insertvalue { ptr, i8 } %.fca.0.insert, i8 %.sroa.4.0, 1
  ret { ptr, i8 } %.fca.1.insert
}

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

; Function Attrs: nounwind uwtable
declare hidden i32 @insert_fixup(ptr noundef, ptr noundef) local_unnamed_addr #2

attributes #0 = { 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 #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 = { 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 }
attributes #4 = { cold nounwind }
attributes #5 = { 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, !6, i64 16}
!10 = !{!"rb_tree", !6, i64 0, !11, i64 8, !6, i64 16, !11, i64 24}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"rb_node", !6, i64 0, !6, i64 8, !11, i64 16, !6, i64 24, !6, i64 32}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!13, !11, i64 16}
!17 = !{!10, !6, i64 0}
!18 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!19 = !{!10, !11, i64 8}
!20 = !{!10, !11, i64 24}


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