; LLVM IR from hutusi/rethink-c :: src (skip_list)

; 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._SkipList = type { i32, ptr, ptr, ptr, ptr }
%struct._SkipListNode = type { ptr, ptr, ptr }

; Function Attrs: nounwind
declare void @free(ptr noundef) #0

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #2

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

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

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

14:                                               ; preds = %81, %3
  %15 = load i32, ptr %8, align 4, !tbaa !9
  %16 = icmp sge i32 %15, 0
  br i1 %16, label %18, label %17

17:                                               ; preds = %14
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %84

18:                                               ; preds = %14
  %19 = load i32, ptr %8, align 4, !tbaa !9
  %20 = icmp eq i32 %19, 16
  br i1 %20, label %21, label %29

21:                                               ; preds = %18
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct._SkipList, ptr %22, i32 0, i32 1
  %24 = load ptr, ptr %23, align 8, !tbaa !11
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = load i32, ptr %8, align 4, !tbaa !9
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds ptr, ptr %25, i64 %27
  store ptr %24, ptr %28, align 8, !tbaa !5
  br label %40

29:                                               ; preds = %18
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = load i32, ptr %8, align 4, !tbaa !9
  %32 = add nsw i32 %31, 1
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds ptr, ptr %30, i64 %33
  %35 = load ptr, ptr %34, align 8, !tbaa !5
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = load i32, ptr %8, align 4, !tbaa !9
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds ptr, ptr %36, i64 %38
  store ptr %35, ptr %39, align 8, !tbaa !5
  br label %40

40:                                               ; preds = %29, %21
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  %42 = load i32, ptr %8, align 4, !tbaa !9
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds ptr, ptr %41, i64 %43
  %45 = load ptr, ptr %44, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct._SkipListNode, ptr %45, i32 0, i32 2
  %47 = load ptr, ptr %46, align 8, !tbaa !13
  %48 = load i32, ptr %8, align 4, !tbaa !9
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds ptr, ptr %47, i64 %49
  %51 = load ptr, ptr %50, align 8, !tbaa !5
  store ptr %51, ptr %9, align 8, !tbaa !5
  br label %52

52:                                               ; preds = %67, %40
  %53 = load ptr, ptr %9, align 8, !tbaa !5
  %54 = icmp ne ptr %53, null
  br i1 %54, label %55, label %65

55:                                               ; preds = %52
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct._SkipList, ptr %56, i32 0, i32 2
  %58 = load ptr, ptr %57, align 8, !tbaa !15
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = load ptr, ptr %9, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct._SkipListNode, ptr %60, i32 0, i32 0
  %62 = load ptr, ptr %61, align 8, !tbaa !16
  %63 = call i32 %58(ptr noundef %59, ptr noundef %62)
  %64 = icmp sgt i32 %63, 0
  br label %65

65:                                               ; preds = %55, %52
  %66 = phi i1 [ false, %52 ], [ %64, %55 ]
  br i1 %66, label %67, label %80

67:                                               ; preds = %65
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = load i32, ptr %8, align 4, !tbaa !9
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds ptr, ptr %69, i64 %71
  store ptr %68, ptr %72, align 8, !tbaa !5
  %73 = load ptr, ptr %9, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct._SkipListNode, ptr %73, i32 0, i32 2
  %75 = load ptr, ptr %74, align 8, !tbaa !13
  %76 = load i32, ptr %8, align 4, !tbaa !9
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds ptr, ptr %75, i64 %77
  %79 = load ptr, ptr %78, align 8, !tbaa !5
  store ptr %79, ptr %9, align 8, !tbaa !5
  br label %52, !llvm.loop !17

80:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %81

81:                                               ; preds = %80
  %82 = load i32, ptr %8, align 4, !tbaa !9
  %83 = add nsw i32 %82, -1
  store i32 %83, ptr %8, align 4, !tbaa !9
  br label %14, !llvm.loop !19

84:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  %86 = call i32 @skip_list_random_level(ptr noundef %85)
  store i32 %86, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %87 = load i32, ptr %10, align 4, !tbaa !9
  %88 = load ptr, ptr %5, align 8, !tbaa !5
  %89 = load ptr, ptr %6, align 8, !tbaa !5
  %90 = call ptr @skip_list_node_new(i32 noundef %87, ptr noundef %88, ptr noundef %89)
  store ptr %90, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %91

91:                                               ; preds = %125, %84
  %92 = load i32, ptr %12, align 4, !tbaa !9
  %93 = load i32, ptr %10, align 4, !tbaa !9
  %94 = icmp sle i32 %92, %93
  br i1 %94, label %96, label %95

95:                                               ; preds = %91
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %128

96:                                               ; preds = %91
  %97 = load ptr, ptr %7, align 8, !tbaa !5
  %98 = load i32, ptr %12, align 4, !tbaa !9
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds ptr, ptr %97, i64 %99
  %101 = load ptr, ptr %100, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct._SkipListNode, ptr %101, i32 0, i32 2
  %103 = load ptr, ptr %102, align 8, !tbaa !13
  %104 = load i32, ptr %12, align 4, !tbaa !9
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds ptr, ptr %103, i64 %105
  %107 = load ptr, ptr %106, align 8, !tbaa !5
  %108 = load ptr, ptr %11, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct._SkipListNode, ptr %108, i32 0, i32 2
  %110 = load ptr, ptr %109, align 8, !tbaa !13
  %111 = load i32, ptr %12, align 4, !tbaa !9
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds ptr, ptr %110, i64 %112
  store ptr %107, ptr %113, align 8, !tbaa !5
  %114 = load ptr, ptr %11, align 8, !tbaa !5
  %115 = load ptr, ptr %7, align 8, !tbaa !5
  %116 = load i32, ptr %12, align 4, !tbaa !9
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds ptr, ptr %115, i64 %117
  %119 = load ptr, ptr %118, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct._SkipListNode, ptr %119, i32 0, i32 2
  %121 = load ptr, ptr %120, align 8, !tbaa !13
  %122 = load i32, ptr %12, align 4, !tbaa !9
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds ptr, ptr %121, i64 %123
  store ptr %114, ptr %124, align 8, !tbaa !5
  br label %125

125:                                              ; preds = %96
  %126 = load i32, ptr %12, align 4, !tbaa !9
  %127 = add nsw i32 %126, 1
  store i32 %127, ptr %12, align 4, !tbaa !9
  br label %91, !llvm.loop !20

128:                                              ; preds = %95
  %129 = load i32, ptr %10, align 4, !tbaa !9
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct._SkipList, ptr %130, i32 0, i32 0
  %132 = load i32, ptr %131, align 8, !tbaa !21
  %133 = icmp sgt i32 %129, %132
  br i1 %133, label %134, label %138

134:                                              ; preds = %128
  %135 = load i32, ptr %10, align 4, !tbaa !9
  %136 = load ptr, ptr %4, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct._SkipList, ptr %136, i32 0, i32 0
  store i32 %135, ptr %137, align 8, !tbaa !21
  br label %138

138:                                              ; preds = %134, %128
  %139 = load ptr, ptr %7, align 8, !tbaa !5
  call void @free(ptr noundef %139) #4
  %140 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  ret ptr %140
}

; Function Attrs: nounwind uwtable
declare hidden i32 @skip_list_random_level(ptr noundef) #3

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind allocsize(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 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 }
attributes #5 = { nounwind allocsize(0) }

!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 8}
!12 = !{!"_SkipList", !10, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!13 = !{!14, !6, i64 16}
!14 = !{!"_SkipListNode", !6, i64 0, !6, i64 8, !6, i64 16}
!15 = !{!12, !6, i64 16}
!16 = !{!14, !6, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = !{!12, !10, i64 0}


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

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local ptr @skip_list_insert(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #2 {
  %4 = tail call noalias dereferenceable_or_null(136) ptr @malloc(i64 noundef 136) #3
  %5 = getelementptr inbounds i8, ptr %0, i64 16
  %6 = getelementptr inbounds i8, ptr %4, i64 128
  br label %13

7:                                                ; preds = %.critedge
  %8 = tail call i32 @skip_list_random_level(ptr noundef %0)
  %9 = tail call ptr @skip_list_node_new(i32 noundef %8, ptr noundef %1, ptr noundef %2)
  %.not56 = icmp slt i32 %8, 0
  br i1 %.not56, label %._crit_edge, label %.lr.ph58

.lr.ph58:                                         ; preds = %7
  %10 = getelementptr inbounds i8, ptr %9, i64 16
  %11 = add nuw i32 %8, 1
  %wide.trip.count = zext i32 %11 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %12 = icmp eq i32 %8, 0
  br i1 %12, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph58.new

.lr.ph58.new:                                     ; preds = %.lr.ph58
  %unroll_iter = and i64 %wide.trip.count, 4294967294
  br label %35

13:                                               ; preds = %3, %.critedge
  %indvars.iv = phi i64 [ 16, %3 ], [ %indvars.iv.next, %.critedge ]
  %14 = icmp eq i64 %indvars.iv, 16
  %15 = getelementptr inbounds ptr, ptr %4, i64 %indvars.iv
  %.sink64.v = select i1 %14, ptr %0, ptr %15
  %.sink64 = getelementptr inbounds i8, ptr %.sink64.v, i64 8
  %.sink63 = select i1 %14, ptr %6, ptr %15
  %16 = load ptr, ptr %.sink64, align 8, !tbaa !5
  store ptr %16, ptr %.sink63, align 8, !tbaa !5
  %17 = getelementptr inbounds ptr, ptr %4, i64 %indvars.iv
  %.pn.in48 = getelementptr inbounds i8, ptr %16, i64 16
  %.pn49 = load ptr, ptr %.pn.in48, align 8, !tbaa !9
  %.044.in50 = getelementptr inbounds ptr, ptr %.pn49, i64 %indvars.iv
  %.04451 = load ptr, ptr %.044.in50, align 8, !tbaa !5
  %.not4652 = icmp eq ptr %.04451, null
  br i1 %.not4652, label %.critedge, label %.lr.ph

.lr.ph:                                           ; preds = %13, %22
  %.04453 = phi ptr [ %.044, %22 ], [ %.04451, %13 ]
  %18 = load ptr, ptr %5, align 8, !tbaa !11
  %19 = load ptr, ptr %.04453, align 8, !tbaa !14
  %20 = tail call i32 %18(ptr noundef %1, ptr noundef %19) #4
  %21 = icmp sgt i32 %20, 0
  br i1 %21, label %22, label %.critedge

22:                                               ; preds = %.lr.ph
  store ptr %.04453, ptr %17, align 8, !tbaa !5
  %.pn.in = getelementptr inbounds i8, ptr %.04453, i64 16
  %.pn = load ptr, ptr %.pn.in, align 8, !tbaa !9
  %.044.in = getelementptr inbounds ptr, ptr %.pn, i64 %indvars.iv
  %.044 = load ptr, ptr %.044.in, align 8, !tbaa !5
  %.not46 = icmp eq ptr %.044, null
  br i1 %.not46, label %.critedge, label %.lr.ph, !llvm.loop !15

.critedge:                                        ; preds = %.lr.ph, %22, %13
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %.not = icmp eq i64 %indvars.iv, 0
  br i1 %.not, label %7, label %13, !llvm.loop !17

._crit_edge.loopexit.unr-lcssa:                   ; preds = %35, %.lr.ph58
  %indvars.iv60.unr = phi i64 [ 0, %.lr.ph58 ], [ %indvars.iv.next61.1, %35 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %._crit_edge.loopexit.epilog-lcssa

._crit_edge.loopexit.epilog-lcssa:                ; preds = %._crit_edge.loopexit.unr-lcssa
  %23 = getelementptr inbounds ptr, ptr %4, i64 %indvars.iv60.unr
  %24 = load ptr, ptr %23, align 8, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %24, i64 16
  %26 = load ptr, ptr %25, align 8, !tbaa !9
  %27 = getelementptr inbounds ptr, ptr %26, i64 %indvars.iv60.unr
  %28 = load ptr, ptr %27, align 8, !tbaa !5
  %29 = load ptr, ptr %10, align 8, !tbaa !9
  %30 = getelementptr inbounds ptr, ptr %29, i64 %indvars.iv60.unr
  store ptr %28, ptr %30, align 8, !tbaa !5
  %31 = load ptr, ptr %25, align 8, !tbaa !9
  %32 = getelementptr inbounds ptr, ptr %31, i64 %indvars.iv60.unr
  store ptr %9, ptr %32, align 8, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit.epilog-lcssa, %._crit_edge.loopexit.unr-lcssa, %7
  %33 = load i32, ptr %0, align 8, !tbaa !18
  %34 = icmp sgt i32 %8, %33
  br i1 %34, label %56, label %57

35:                                               ; preds = %35, %.lr.ph58.new
  %indvars.iv60 = phi i64 [ 0, %.lr.ph58.new ], [ %indvars.iv.next61.1, %35 ]
  %niter = phi i64 [ 0, %.lr.ph58.new ], [ %niter.next.1, %35 ]
  %36 = getelementptr inbounds ptr, ptr %4, i64 %indvars.iv60
  %37 = load ptr, ptr %36, align 8, !tbaa !5
  %38 = getelementptr inbounds i8, ptr %37, i64 16
  %39 = load ptr, ptr %38, align 8, !tbaa !9
  %40 = getelementptr inbounds ptr, ptr %39, i64 %indvars.iv60
  %41 = load ptr, ptr %40, align 8, !tbaa !5
  %42 = load ptr, ptr %10, align 8, !tbaa !9
  %43 = getelementptr inbounds ptr, ptr %42, i64 %indvars.iv60
  store ptr %41, ptr %43, align 8, !tbaa !5
  %44 = load ptr, ptr %38, align 8, !tbaa !9
  %45 = getelementptr inbounds ptr, ptr %44, i64 %indvars.iv60
  store ptr %9, ptr %45, align 8, !tbaa !5
  %indvars.iv.next61 = or disjoint i64 %indvars.iv60, 1
  %46 = getelementptr inbounds ptr, ptr %4, i64 %indvars.iv.next61
  %47 = load ptr, ptr %46, align 8, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %47, i64 16
  %49 = load ptr, ptr %48, align 8, !tbaa !9
  %50 = getelementptr inbounds ptr, ptr %49, i64 %indvars.iv.next61
  %51 = load ptr, ptr %50, align 8, !tbaa !5
  %52 = load ptr, ptr %10, align 8, !tbaa !9
  %53 = getelementptr inbounds ptr, ptr %52, i64 %indvars.iv.next61
  store ptr %51, ptr %53, align 8, !tbaa !5
  %54 = load ptr, ptr %48, align 8, !tbaa !9
  %55 = getelementptr inbounds ptr, ptr %54, i64 %indvars.iv.next61
  store ptr %9, ptr %55, align 8, !tbaa !5
  %indvars.iv.next61.1 = add nuw nsw i64 %indvars.iv60, 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 %._crit_edge.loopexit.unr-lcssa, label %35, !llvm.loop !19

56:                                               ; preds = %._crit_edge
  store i32 %8, ptr %0, align 8, !tbaa !18
  br label %57

57:                                               ; preds = %56, %._crit_edge
  tail call void @free(ptr noundef nonnull %4) #4
  ret ptr %9
}

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

attributes #0 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 allocsize(0) }
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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 16}
!10 = !{!"_SkipListNode", !6, i64 0, !6, i64 8, !6, i64 16}
!11 = !{!12, !6, i64 16}
!12 = !{!"_SkipList", !13, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!13 = !{!"int", !7, i64 0}
!14 = !{!10, !6, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!12, !13, i64 0}
!19 = distinct !{!19, !16}


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