; LLVM IR from ryanlayer/giggle :: src (giggle_index)

; 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.giggle_query_result = type { ptr, i32, ptr, i32 }
%struct.giggle_query_iter = type { ptr, i32, i32, i32, ptr, ptr, ptr }
%struct.long_uint_ll = type { i64, ptr, ptr }
%struct.long_uint_ll_node = type { i64, i64, ptr }
%struct.long_uint_pair = type { i64, i32 }

@.str.42 = external hidden unnamed_addr constant [44 x i8], align 1

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

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

; Function Attrs: noreturn
declare void @err(i32 noundef, ptr noundef, ...) #2

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

declare void @qsort(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #3

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

13:                                               ; preds = %2
  call void (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.42) #7
  unreachable

14:                                               ; preds = %2
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.giggle_query_result, ptr %15, i32 0, i32 0
  %17 = load ptr, ptr %16, align 8, !tbaa !11
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.giggle_query_iter, ptr %18, i32 0, i32 0
  store ptr %17, ptr %19, align 8, !tbaa !13
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.giggle_query_iter, ptr %20, i32 0, i32 2
  store i32 0, ptr %21, align 4, !tbaa !15
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.giggle_query_iter, ptr %22, i32 0, i32 3
  store i32 0, ptr %23, align 8, !tbaa !16
  %24 = load i32, ptr %5, align 4, !tbaa !9
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.giggle_query_iter, ptr %25, i32 0, i32 1
  store i32 %24, ptr %26, align 8, !tbaa !17
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.giggle_query_iter, ptr %27, i32 0, i32 5
  store ptr null, ptr %28, align 8, !tbaa !18
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.giggle_query_iter, ptr %29, i32 0, i32 6
  store ptr null, ptr %30, align 8, !tbaa !19
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.giggle_query_iter, ptr %31, i32 0, i32 4
  store ptr null, ptr %32, align 8, !tbaa !20
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.giggle_query_result, ptr %33, i32 0, i32 2
  %35 = load ptr, ptr %34, align 8, !tbaa !21
  %36 = load i32, ptr %5, align 4, !tbaa !9
  %37 = zext i32 %36 to i64
  %38 = getelementptr inbounds ptr, ptr %35, i64 %37
  %39 = load ptr, ptr %38, align 8, !tbaa !5
  %40 = icmp eq ptr %39, null
  br i1 %40, label %41, label %43

41:                                               ; preds = %14
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %42, ptr %3, align 8
  store i32 1, ptr %7, align 4
  br label %128

43:                                               ; preds = %14
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.giggle_query_result, ptr %44, i32 0, i32 2
  %46 = load ptr, ptr %45, align 8, !tbaa !21
  %47 = load i32, ptr %5, align 4, !tbaa !9
  %48 = zext i32 %47 to i64
  %49 = getelementptr inbounds ptr, ptr %46, i64 %48
  %50 = load ptr, ptr %49, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.long_uint_ll, ptr %50, i32 0, i32 0
  %52 = load i64, ptr %51, align 8, !tbaa !22
  %53 = trunc i64 %52 to i32
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.giggle_query_iter, ptr %54, i32 0, i32 3
  store i32 %53, ptr %55, align 8, !tbaa !16
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.giggle_query_result, ptr %56, i32 0, i32 2
  %58 = load ptr, ptr %57, align 8, !tbaa !21
  %59 = load i32, ptr %5, align 4, !tbaa !9
  %60 = zext i32 %59 to i64
  %61 = getelementptr inbounds ptr, ptr %58, i64 %60
  %62 = load ptr, ptr %61, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.long_uint_ll, ptr %62, i32 0, i32 0
  %64 = load i64, ptr %63, align 8, !tbaa !22
  %65 = mul i64 %64, 16
  %66 = call noalias ptr @malloc(i64 noundef %65) #6
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.giggle_query_iter, ptr %67, i32 0, i32 6
  store ptr %66, ptr %68, align 8, !tbaa !19
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.giggle_query_iter, ptr %69, i32 0, i32 6
  %71 = load ptr, ptr %70, align 8, !tbaa !19
  %72 = icmp eq ptr %71, null
  br i1 %72, label %73, label %74

73:                                               ; preds = %43
  call void (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.42) #7
  unreachable

74:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.giggle_query_result, ptr %75, i32 0, i32 2
  %77 = load ptr, ptr %76, align 8, !tbaa !21
  %78 = load i32, ptr %5, align 4, !tbaa !9
  %79 = zext i32 %78 to i64
  %80 = getelementptr inbounds ptr, ptr %77, i64 %79
  %81 = load ptr, ptr %80, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.long_uint_ll, ptr %81, i32 0, i32 1
  %83 = load ptr, ptr %82, align 8, !tbaa !25
  store ptr %83, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %84

84:                                               ; preds = %87, %74
  %85 = load ptr, ptr %8, align 8, !tbaa !5
  %86 = icmp ne ptr %85, null
  br i1 %86, label %87, label %114

87:                                               ; preds = %84
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.long_uint_ll_node, ptr %88, i32 0, i32 0
  %90 = load i64, ptr %89, align 8, !tbaa !26
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.giggle_query_iter, ptr %91, i32 0, i32 6
  %93 = load ptr, ptr %92, align 8, !tbaa !19
  %94 = load i32, ptr %9, align 4, !tbaa !9
  %95 = zext i32 %94 to i64
  %96 = getelementptr inbounds %struct.long_uint_pair, ptr %93, i64 %95
  %97 = getelementptr inbounds %struct.long_uint_pair, ptr %96, i32 0, i32 0
  store i64 %90, ptr %97, align 8, !tbaa !28
  %98 = load ptr, ptr %8, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.long_uint_ll_node, ptr %98, i32 0, i32 1
  %100 = load i64, ptr %99, align 8, !tbaa !30
  %101 = trunc i64 %100 to i32
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.giggle_query_iter, ptr %102, i32 0, i32 6
  %104 = load ptr, ptr %103, align 8, !tbaa !19
  %105 = load i32, ptr %9, align 4, !tbaa !9
  %106 = zext i32 %105 to i64
  %107 = getelementptr inbounds %struct.long_uint_pair, ptr %104, i64 %106
  %108 = getelementptr inbounds %struct.long_uint_pair, ptr %107, i32 0, i32 1
  store i32 %101, ptr %108, align 8, !tbaa !31
  %109 = load i32, ptr %9, align 4, !tbaa !9
  %110 = add i32 %109, 1
  store i32 %110, ptr %9, align 4, !tbaa !9
  %111 = load ptr, ptr %8, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.long_uint_ll_node, ptr %111, i32 0, i32 2
  %113 = load ptr, ptr %112, align 8, !tbaa !32
  store ptr %113, ptr %8, align 8, !tbaa !5
  br label %84, !llvm.loop !33

114:                                              ; preds = %84
  %115 = load ptr, ptr %6, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.giggle_query_iter, ptr %115, i32 0, i32 6
  %117 = load ptr, ptr %116, align 8, !tbaa !19
  %118 = load ptr, ptr %4, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.giggle_query_result, ptr %118, i32 0, i32 2
  %120 = load ptr, ptr %119, align 8, !tbaa !21
  %121 = load i32, ptr %5, align 4, !tbaa !9
  %122 = zext i32 %121 to i64
  %123 = getelementptr inbounds ptr, ptr %120, i64 %122
  %124 = load ptr, ptr %123, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.long_uint_ll, ptr %124, i32 0, i32 0
  %126 = load i64, ptr %125, align 8, !tbaa !22
  call void @qsort(ptr noundef %117, i64 noundef %126, i64 noundef 16, ptr noundef @long_uint_pair_cmp)
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %127, ptr %3, align 8
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %128

128:                                              ; preds = %114, %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  %129 = load ptr, ptr %3, align 8
  ret ptr %129
}

declare i32 @long_uint_pair_cmp(ptr noundef, ptr noundef) #3

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

!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 = !{!"giggle_query_result", !6, i64 0, !10, i64 8, !6, i64 16, !10, i64 24}
!13 = !{!14, !6, i64 0}
!14 = !{!"giggle_query_iter", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!15 = !{!14, !10, i64 12}
!16 = !{!14, !10, i64 16}
!17 = !{!14, !10, i64 8}
!18 = !{!14, !6, i64 32}
!19 = !{!14, !6, i64 40}
!20 = !{!14, !6, i64 24}
!21 = !{!12, !6, i64 16}
!22 = !{!23, !24, i64 0}
!23 = !{!"long_uint_ll", !24, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!"long", !7, i64 0}
!25 = !{!23, !6, i64 8}
!26 = !{!27, !24, i64 0}
!27 = !{!"long_uint_ll_node", !24, i64 0, !24, i64 8, !6, i64 16}
!28 = !{!29, !24, i64 0}
!29 = !{!"long_uint_pair", !24, i64 0, !10, i64 8}
!30 = !{!27, !24, i64 8}
!31 = !{!29, !10, i64 8}
!32 = !{!27, !6, i64 16}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}


; 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.long_uint_pair = type { i64, i32 }

@.str.42 = external hidden unnamed_addr constant [44 x i8], align 1

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

; Function Attrs: noreturn
declare void @err(i32 noundef, ptr noundef, ...) local_unnamed_addr #1

; Function Attrs: nofree
declare void @qsort(ptr noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local noalias noundef ptr @giggle_get_query_data_itr(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #3 {
  %3 = tail call noalias dereferenceable_or_null(48) ptr @malloc(i64 noundef 48) #6
  %4 = icmp eq ptr %3, null
  br i1 %4, label %5, label %6

5:                                                ; preds = %2
  tail call void (i32, ptr, ...) @err(i32 noundef 1, ptr noundef nonnull @.str.42) #7
  unreachable

6:                                                ; preds = %2
  %7 = load ptr, ptr %0, align 8, !tbaa !5
  store ptr %7, ptr %3, align 8, !tbaa !11
  %8 = getelementptr inbounds i8, ptr %3, i64 12
  store i32 0, ptr %8, align 4, !tbaa !13
  %9 = getelementptr inbounds i8, ptr %3, i64 16
  store i32 0, ptr %9, align 8, !tbaa !14
  %10 = getelementptr inbounds i8, ptr %3, i64 8
  store i32 %1, ptr %10, align 8, !tbaa !15
  %11 = getelementptr inbounds i8, ptr %3, i64 24
  %12 = getelementptr inbounds i8, ptr %0, i64 16
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %11, i8 0, i64 24, i1 false)
  %13 = load ptr, ptr %12, align 8, !tbaa !16
  %14 = zext i32 %1 to i64
  %15 = getelementptr inbounds ptr, ptr %13, i64 %14
  %16 = load ptr, ptr %15, align 8, !tbaa !17
  %17 = icmp eq ptr %16, null
  br i1 %17, label %37, label %18

18:                                               ; preds = %6
  %19 = getelementptr inbounds i8, ptr %3, i64 40
  %20 = load i64, ptr %16, align 8, !tbaa !18
  %21 = trunc i64 %20 to i32
  store i32 %21, ptr %9, align 8, !tbaa !14
  %22 = shl i64 %20, 4
  %23 = tail call noalias ptr @malloc(i64 noundef %22) #6
  store ptr %23, ptr %19, align 8, !tbaa !21
  %24 = icmp eq ptr %23, null
  br i1 %24, label %25, label %26

25:                                               ; preds = %18
  tail call void (i32, ptr, ...) @err(i32 noundef 1, ptr noundef nonnull @.str.42) #7
  unreachable

26:                                               ; preds = %18
  %27 = getelementptr inbounds i8, ptr %16, i64 8
  %.03539 = load ptr, ptr %27, align 8, !tbaa !17
  %.not40 = icmp eq ptr %.03539, null
  br i1 %.not40, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %26, %.lr.ph
  %.03542 = phi ptr [ %.035, %.lr.ph ], [ %.03539, %26 ]
  %.041 = phi i32 [ %35, %.lr.ph ], [ 0, %26 ]
  %28 = load i64, ptr %.03542, align 8, !tbaa !22
  %29 = zext i32 %.041 to i64
  %30 = getelementptr inbounds %struct.long_uint_pair, ptr %23, i64 %29
  store i64 %28, ptr %30, align 8, !tbaa !24
  %31 = getelementptr inbounds i8, ptr %.03542, i64 8
  %32 = load i64, ptr %31, align 8, !tbaa !26
  %33 = trunc i64 %32 to i32
  %34 = getelementptr inbounds %struct.long_uint_pair, ptr %23, i64 %29, i32 1
  store i32 %33, ptr %34, align 8, !tbaa !27
  %35 = add i32 %.041, 1
  %36 = getelementptr inbounds i8, ptr %.03542, i64 16
  %.035 = load ptr, ptr %36, align 8, !tbaa !17
  %.not = icmp eq ptr %.035, null
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !28

._crit_edge:                                      ; preds = %.lr.ph, %26
  tail call void @qsort(ptr noundef nonnull %23, i64 noundef %20, i64 noundef 16, ptr noundef nonnull @long_uint_pair_cmp) #8
  br label %37

37:                                               ; preds = %6, %._crit_edge
  ret ptr %3
}

declare i32 @long_uint_pair_cmp(ptr noundef, ptr noundef) #4

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

attributes #0 = { 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 #1 = { noreturn "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 = { nofree "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 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nounwind allocsize(0) }
attributes #7 = { noreturn nounwind }
attributes #8 = { 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, !7, i64 0}
!6 = !{!"giggle_query_result", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"giggle_query_iter", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!13 = !{!12, !10, i64 12}
!14 = !{!12, !10, i64 16}
!15 = !{!12, !10, i64 8}
!16 = !{!6, !7, i64 16}
!17 = !{!7, !7, i64 0}
!18 = !{!19, !20, i64 0}
!19 = !{!"long_uint_ll", !20, i64 0, !7, i64 8, !7, i64 16}
!20 = !{!"long", !8, i64 0}
!21 = !{!12, !7, i64 40}
!22 = !{!23, !20, i64 0}
!23 = !{!"long_uint_ll_node", !20, i64 0, !20, i64 8, !7, i64 16}
!24 = !{!25, !20, i64 0}
!25 = !{!"long_uint_pair", !20, i64 0, !10, i64 8}
!26 = !{!23, !20, i64 8}
!27 = !{!25, !10, i64 8}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass