; LLVM IR from fmela/libdict :: src (sp_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.sp_tree = type { ptr, i64, ptr, i64 }
%struct.sp_node = type { ptr, ptr, ptr, 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
@__func__.sp_tree_insert = external hidden unnamed_addr constant [15 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [19 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 } @sp_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.sp_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.sp_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.sp_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.sp_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.sp_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.sp_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 %134

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 %134

54:                                               ; preds = %47
  %55 = load ptr, ptr %8, align 8, !tbaa !5
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.sp_node, ptr %56, i32 0, i32 2
  store ptr %55, ptr %57, align 8, !tbaa !25
  %58 = icmp ne ptr %55, null
  br i1 %58, label %95, label %59

59:                                               ; preds = %54
  br label %60

60:                                               ; preds = %59
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.sp_tree, ptr %61, i32 0, i32 1
  %63 = load i64, ptr %62, align 8, !tbaa !26
  %64 = icmp eq i64 %63, 0
  %65 = zext i1 %64 to i32
  %66 = sext i32 %65 to i64
  %67 = call i64 @llvm.expect.i64(i64 %66, i64 1)
  %68 = icmp ne i64 %67, 0
  br i1 %68, label %72, label %69

69:                                               ; preds = %60
  %70 = load ptr, ptr @stderr, align 8, !tbaa !5
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %70, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 263, ptr noundef @__func__.sp_tree_insert, ptr noundef @.str.3) #5
  call void @abort() #6
  unreachable

72:                                               ; preds = %60
  br label %73

73:                                               ; preds = %72
  br label %74

74:                                               ; preds = %73
  br label %75

75:                                               ; preds = %74
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.sp_tree, ptr %76, i32 0, i32 0
  %78 = load ptr, ptr %77, align 8, !tbaa !11
  %79 = icmp eq ptr %78, null
  %80 = zext i1 %79 to i32
  %81 = sext i32 %80 to i64
  %82 = call i64 @llvm.expect.i64(i64 %81, i64 1)
  %83 = icmp ne i64 %82, 0
  br i1 %83, label %87, label %84

84:                                               ; preds = %75
  %85 = load ptr, ptr @stderr, align 8, !tbaa !5
  %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 264, ptr noundef @__func__.sp_tree_insert, ptr noundef @.str.4) #5
  call void @abort() #6
  unreachable

87:                                               ; preds = %75
  br label %88

88:                                               ; preds = %87
  br label %89

89:                                               ; preds = %88
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.sp_tree, ptr %91, i32 0, i32 0
  store ptr %90, ptr %92, align 8, !tbaa !11
  %93 = load ptr, ptr %4, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.sp_tree, ptr %93, i32 0, i32 1
  store i64 1, ptr %94, align 8, !tbaa !26
  br label %113

95:                                               ; preds = %54
  %96 = load i32, ptr %6, align 4, !tbaa !9
  %97 = icmp slt i32 %96, 0
  br i1 %97, label %98, label %102

98:                                               ; preds = %95
  %99 = load ptr, ptr %7, align 8, !tbaa !5
  %100 = load ptr, ptr %8, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.sp_node, ptr %100, i32 0, i32 3
  store ptr %99, ptr %101, align 8, !tbaa !17
  br label %106

102:                                              ; preds = %95
  %103 = load ptr, ptr %7, align 8, !tbaa !5
  %104 = load ptr, ptr %8, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.sp_node, ptr %104, i32 0, i32 4
  store ptr %103, ptr %105, align 8, !tbaa !18
  br label %106

106:                                              ; preds = %102, %98
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  %108 = load ptr, ptr %7, align 8, !tbaa !5
  call void @splay(ptr noundef %107, ptr noundef %108)
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.sp_tree, ptr %109, i32 0, i32 1
  %111 = load i64, ptr %110, align 8, !tbaa !26
  %112 = add i64 %111, 1
  store i64 %112, ptr %110, align 8, !tbaa !26
  br label %113

113:                                              ; preds = %106, %89
  br label %114

114:                                              ; preds = %113
  %115 = load ptr, ptr %4, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.sp_tree, ptr %115, i32 0, i32 0
  %117 = load ptr, ptr %116, align 8, !tbaa !11
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = icmp eq ptr %117, %118
  %120 = zext i1 %119 to i32
  %121 = sext i32 %120 to i64
  %122 = call i64 @llvm.expect.i64(i64 %121, i64 1)
  %123 = icmp ne i64 %122, 0
  br i1 %123, label %127, label %124

124:                                              ; preds = %114
  %125 = load ptr, ptr @stderr, align 8, !tbaa !5
  %126 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 275, ptr noundef @__func__.sp_tree_insert, ptr noundef @.str.5) #5
  call void @abort() #6
  unreachable

127:                                              ; preds = %114
  br label %128

128:                                              ; preds = %127
  br label %129

129:                                              ; preds = %128
  %130 = getelementptr inbounds %struct.dict_insert_result, ptr %3, i32 0, i32 0
  %131 = load ptr, ptr %7, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.sp_node, ptr %131, i32 0, i32 1
  store ptr %132, ptr %130, align 8, !tbaa !19
  %133 = getelementptr inbounds %struct.dict_insert_result, ptr %3, i32 0, i32 1
  store i8 1, ptr %133, align 8, !tbaa !22
  store i32 1, ptr %9, align 4
  br label %134

134:                                              ; preds = %129, %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
  %135 = load { ptr, i8 }, ptr %3, align 8
  ret { ptr, i8 } %135
}

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

; Function Attrs: nounwind uwtable
declare hidden void @splay(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 = !{!"sp_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 = !{!"sp_node", !6, i64 0, !6, i64 8, !6, 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, !6, i64 16}
!26 = !{!12, !13, i64 8}


; 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
@__func__.sp_tree_insert = external hidden unnamed_addr constant [15 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [19 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 } @sp_tree_insert(ptr noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  %.03041 = load ptr, ptr %0, align 8, !tbaa !5
  %.not42 = icmp eq ptr %.03041, 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
  %.03043 = phi ptr [ %.03041, %.lr.ph ], [ %.030, %12 ]
  %5 = load ptr, ptr %3, align 8, !tbaa !9
  %6 = load ptr, ptr %.03043, 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 %.03043, i64 8
  br label %43

12:                                               ; preds = %9, %4
  %.sink = phi i64 [ 24, %4 ], [ 32, %9 ]
  %13 = getelementptr inbounds i8, ptr %.03043, i64 %.sink
  %.030 = load ptr, ptr %13, align 8, !tbaa !5
  %.not = icmp eq ptr %.030, 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
  %.032.lcssa = phi i64 [ 32, %2 ], [ %15, %._crit_edge.loopexit ]
  %.0.lcssa = phi ptr [ null, %2 ], [ %.03043, %._crit_edge.loopexit ]
  %16 = tail call ptr @node_new(ptr noundef %1)
  %.not35 = icmp eq ptr %16, null
  br i1 %.not35, label %43, label %17

17:                                               ; preds = %._crit_edge
  %18 = getelementptr inbounds i8, ptr %16, i64 16
  store ptr %.0.lcssa, ptr %18, align 8, !tbaa !16
  %.not36 = icmp eq ptr %.0.lcssa, null
  br i1 %.not36, label %19, label %32

19:                                               ; preds = %17
  %20 = getelementptr inbounds i8, ptr %0, i64 8
  %21 = load i64, ptr %20, align 8, !tbaa !17
  %22 = icmp eq i64 %21, 0
  br i1 %22, label %26, label %23, !prof !18

23:                                               ; preds = %19
  %24 = load ptr, ptr @stderr, align 8, !tbaa !5
  %25 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 263, ptr noundef nonnull @__func__.sp_tree_insert, ptr noundef nonnull @.str.3) #4
  tail call void @abort() #5
  unreachable

26:                                               ; preds = %19
  %27 = load ptr, ptr %0, align 8, !tbaa !19
  %28 = icmp eq ptr %27, null
  br i1 %28, label %.thread, label %29, !prof !18

29:                                               ; preds = %26
  %30 = load ptr, ptr @stderr, align 8, !tbaa !5
  %31 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 264, ptr noundef nonnull @__func__.sp_tree_insert, ptr noundef nonnull @.str.4) #4
  tail call void @abort() #5
  unreachable

.thread:                                          ; preds = %26
  store ptr %16, ptr %0, align 8, !tbaa !19
  store i64 1, ptr %20, align 8, !tbaa !17
  br label %41

32:                                               ; preds = %17
  %33 = getelementptr inbounds i8, ptr %.0.lcssa, i64 %.032.lcssa
  store ptr %16, ptr %33, align 8, !tbaa !5
  tail call void @splay(ptr noundef nonnull %0, ptr noundef nonnull %16)
  %34 = getelementptr inbounds i8, ptr %0, i64 8
  %35 = load i64, ptr %34, align 8, !tbaa !17
  %36 = add i64 %35, 1
  store i64 %36, ptr %34, align 8, !tbaa !17
  %.pre = load ptr, ptr %0, align 8, !tbaa !19
  %37 = icmp eq ptr %.pre, %16
  br i1 %37, label %41, label %38, !prof !20

38:                                               ; preds = %32
  %39 = load ptr, ptr @stderr, align 8, !tbaa !5
  %40 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 275, ptr noundef nonnull @__func__.sp_tree_insert, ptr noundef nonnull @.str.5) #4
  tail call void @abort() #5
  unreachable

41:                                               ; preds = %.thread, %32
  %42 = getelementptr inbounds i8, ptr %16, i64 8
  br label %43

43:                                               ; preds = %._crit_edge, %41, %10
  %.sroa.0.0 = phi ptr [ %11, %10 ], [ %42, %41 ], [ null, %._crit_edge ]
  %.sroa.4.0 = phi i8 [ 0, %10 ], [ 1, %41 ], [ 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 void @splay(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 = !{!"sp_tree", !6, i64 0, !11, i64 8, !6, i64 16, !11, i64 24}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"sp_node", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!13, !6, i64 16}
!17 = !{!10, !11, i64 8}
!18 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!19 = !{!10, !6, i64 0}
!20 = !{!"branch_weights", !"expected", i32 2145767164, i32 1716484}


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