; LLVM IR from scandum/blitsort :: src (bench)

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

@.str.5 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [12 x i8], align 1
@__PRETTY_FUNCTION__.quadsort_size = external hidden unnamed_addr constant [54 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [12 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @quadsort64(ptr noundef, i64 noundef, ptr noundef) #4

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #5

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

17:                                               ; preds = %4
  store i32 1, ptr %14, align 4
  br label %89

18:                                               ; preds = %4
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %19, ptr %10, align 8, !tbaa !5
  %20 = load i64, ptr %6, align 8, !tbaa !9
  %21 = mul i64 %20, 8
  %22 = call noalias ptr @malloc(i64 noundef %21) #7
  store ptr %22, ptr %9, align 8, !tbaa !5
  %23 = load ptr, ptr %9, align 8, !tbaa !5
  %24 = icmp ne ptr %23, null
  br i1 %24, label %25, label %26

25:                                               ; preds = %18
  br label %27

26:                                               ; preds = %18
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.5, i32 noundef 398, ptr noundef @__PRETTY_FUNCTION__.quadsort_size) #8
  unreachable

27:                                               ; preds = %25
  store i64 0, ptr %13, align 8, !tbaa !9
  store i64 0, ptr %12, align 8, !tbaa !9
  br label %28

28:                                               ; preds = %42, %27
  %29 = load i64, ptr %12, align 8, !tbaa !9
  %30 = load i64, ptr %6, align 8, !tbaa !9
  %31 = icmp ult i64 %29, %30
  br i1 %31, label %32, label %45

32:                                               ; preds = %28
  %33 = load ptr, ptr %10, align 8, !tbaa !5
  %34 = load i64, ptr %13, align 8, !tbaa !9
  %35 = getelementptr inbounds i8, ptr %33, i64 %34
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  %37 = load i64, ptr %12, align 8, !tbaa !9
  %38 = getelementptr inbounds ptr, ptr %36, i64 %37
  store ptr %35, ptr %38, align 8, !tbaa !5
  %39 = load i64, ptr %7, align 8, !tbaa !9
  %40 = load i64, ptr %13, align 8, !tbaa !9
  %41 = add i64 %40, %39
  store i64 %41, ptr %13, align 8, !tbaa !9
  br label %42

42:                                               ; preds = %32
  %43 = load i64, ptr %12, align 8, !tbaa !9
  %44 = add i64 %43, 1
  store i64 %44, ptr %12, align 8, !tbaa !9
  br label %28, !llvm.loop !11

45:                                               ; preds = %28
  %46 = load ptr, ptr %9, align 8, !tbaa !5
  %47 = load i64, ptr %6, align 8, !tbaa !9
  %48 = load ptr, ptr %8, align 8, !tbaa !5
  call void @quadsort64(ptr noundef %46, i64 noundef %47, ptr noundef %48)
  %49 = load i64, ptr %6, align 8, !tbaa !9
  %50 = load i64, ptr %7, align 8, !tbaa !9
  %51 = mul i64 %49, %50
  %52 = call noalias ptr @malloc(i64 noundef %51) #7
  store ptr %52, ptr %11, align 8, !tbaa !5
  %53 = load ptr, ptr %11, align 8, !tbaa !5
  %54 = icmp ne ptr %53, null
  br i1 %54, label %55, label %56

55:                                               ; preds = %45
  br label %57

56:                                               ; preds = %45
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.5, i32 noundef 415, ptr noundef @__PRETTY_FUNCTION__.quadsort_size) #8
  unreachable

57:                                               ; preds = %55
  store i64 0, ptr %12, align 8, !tbaa !9
  br label %58

58:                                               ; preds = %72, %57
  %59 = load i64, ptr %12, align 8, !tbaa !9
  %60 = load i64, ptr %6, align 8, !tbaa !9
  %61 = icmp ult i64 %59, %60
  br i1 %61, label %62, label %75

62:                                               ; preds = %58
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  %65 = load i64, ptr %12, align 8, !tbaa !9
  %66 = getelementptr inbounds ptr, ptr %64, i64 %65
  %67 = load ptr, ptr %66, align 8, !tbaa !5
  %68 = load i64, ptr %7, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %63, ptr align 1 %67, i64 %68, i1 false)
  %69 = load i64, ptr %7, align 8, !tbaa !9
  %70 = load ptr, ptr %11, align 8, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %70, i64 %69
  store ptr %71, ptr %11, align 8, !tbaa !5
  br label %72

72:                                               ; preds = %62
  %73 = load i64, ptr %12, align 8, !tbaa !9
  %74 = add i64 %73, 1
  store i64 %74, ptr %12, align 8, !tbaa !9
  br label %58, !llvm.loop !13

75:                                               ; preds = %58
  %76 = load i64, ptr %6, align 8, !tbaa !9
  %77 = load i64, ptr %7, align 8, !tbaa !9
  %78 = mul i64 %76, %77
  %79 = load ptr, ptr %11, align 8, !tbaa !5
  %80 = sub i64 0, %78
  %81 = getelementptr inbounds i8, ptr %79, i64 %80
  store ptr %81, ptr %11, align 8, !tbaa !5
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = load ptr, ptr %11, align 8, !tbaa !5
  %84 = load i64, ptr %6, align 8, !tbaa !9
  %85 = load i64, ptr %7, align 8, !tbaa !9
  %86 = mul i64 %84, %85
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %82, ptr align 1 %83, i64 %86, i1 false)
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  call void @free(ptr noundef %87) #6
  %88 = load ptr, ptr %11, align 8, !tbaa !5
  call void @free(ptr noundef %88) #6
  store i32 0, ptr %14, align 4
  br label %89

89:                                               ; preds = %75, %17
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  %90 = load i32, ptr %14, align 4
  switch i32 %90, label %92 [
    i32 0, label %91
    i32 1, label %91
  ]

91:                                               ; preds = %89, %89
  ret void

92:                                               ; preds = %89
  unreachable
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree 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 "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 = { 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 #6 = { nounwind }
attributes #7 = { nounwind allocsize(0) }
attributes #8 = { 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 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


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

@.str.5 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [12 x i8], align 1
@__PRETTY_FUNCTION__.quadsort_size = external hidden unnamed_addr constant [54 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [12 x i8], align 1

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #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: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @quadsort64(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
define dso_local void @quadsort_size(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) local_unnamed_addr #3 {
  %5 = icmp ult i64 %1, 2
  br i1 %5, label %47, label %6

6:                                                ; preds = %4
  %7 = shl i64 %1, 3
  %8 = tail call noalias ptr @malloc(i64 noundef %7) #5
  %.not = icmp eq ptr %8, null
  br i1 %.not, label %16, label %.preheader42.preheader

.preheader42.preheader:                           ; preds = %6
  %min.iters.check = icmp ult i64 %1, 4
  br i1 %min.iters.check, label %.preheader42.preheader52, label %vector.ph

.preheader42.preheader52:                         ; preds = %middle.block, %.preheader42.preheader
  %.044.ph = phi i64 [ 0, %.preheader42.preheader ], [ %ind.end, %middle.block ]
  %.03643.ph = phi i64 [ 0, %.preheader42.preheader ], [ %n.vec, %middle.block ]
  br label %.preheader42

vector.ph:                                        ; preds = %.preheader42.preheader
  %n.vec = and i64 %1, -4
  %ind.end = mul i64 %n.vec, %2
  %.splatinsert = insertelement <2 x i64> poison, i64 %2, i64 0
  %.splat = shufflevector <2 x i64> %.splatinsert, <2 x i64> poison, <2 x i32> zeroinitializer
  %9 = mul nuw <2 x i64> %.splat, <i64 0, i64 1>
  %10 = shl i64 %2, 1
  %.splatinsert49 = insertelement <2 x i64> poison, i64 %10, i64 0
  %.splat50 = shufflevector <2 x i64> %.splatinsert49, <2 x i64> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.ind = phi <2 x i64> [ %9, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %step.add = add <2 x i64> %vec.ind, %.splat50
  %11 = getelementptr inbounds i8, ptr %0, <2 x i64> %vec.ind
  %12 = getelementptr inbounds i8, ptr %0, <2 x i64> %step.add
  %13 = getelementptr inbounds ptr, ptr %8, i64 %index
  %14 = getelementptr inbounds i8, ptr %13, i64 16
  store <2 x ptr> %11, ptr %13, align 8, !tbaa !5
  store <2 x ptr> %12, ptr %14, align 8, !tbaa !5
  %index.next = add nuw i64 %index, 4
  %vec.ind.next = add <2 x i64> %step.add, %.splat50
  %15 = icmp eq i64 %index.next, %n.vec
  br i1 %15, label %middle.block, label %vector.body, !llvm.loop !9

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %1
  br i1 %cmp.n, label %.loopexit, label %.preheader42.preheader52

16:                                               ; preds = %6
  tail call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.5, i32 noundef 398, ptr noundef nonnull @__PRETTY_FUNCTION__.quadsort_size) #6
  unreachable

.preheader42:                                     ; preds = %.preheader42.preheader52, %.preheader42
  %.044 = phi i64 [ %19, %.preheader42 ], [ %.044.ph, %.preheader42.preheader52 ]
  %.03643 = phi i64 [ %20, %.preheader42 ], [ %.03643.ph, %.preheader42.preheader52 ]
  %17 = getelementptr inbounds i8, ptr %0, i64 %.044
  %18 = getelementptr inbounds ptr, ptr %8, i64 %.03643
  store ptr %17, ptr %18, align 8, !tbaa !5
  %19 = add i64 %.044, %2
  %20 = add nuw i64 %.03643, 1
  %exitcond.not = icmp eq i64 %20, %1
  br i1 %exitcond.not, label %.loopexit, label %.preheader42, !llvm.loop !13

.loopexit:                                        ; preds = %.preheader42, %middle.block
  tail call void @quadsort64(ptr noundef nonnull %8, i64 noundef %1, ptr noundef %3)
  %21 = mul i64 %2, %1
  %22 = tail call noalias ptr @malloc(i64 noundef %21) #5
  %.not41 = icmp eq ptr %22, null
  br i1 %.not41, label %24, label %.preheader.preheader

.preheader.preheader:                             ; preds = %.loopexit
  %xtraiter = and i64 %1, 3
  %23 = icmp ult i64 %1, 4
  br i1 %23, label %.unr-lcssa, label %.preheader.preheader.new

.preheader.preheader.new:                         ; preds = %.preheader.preheader
  %unroll_iter = and i64 %1, -4
  br label %.preheader

24:                                               ; preds = %.loopexit
  tail call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.5, i32 noundef 415, ptr noundef nonnull @__PRETTY_FUNCTION__.quadsort_size) #6
  unreachable

.preheader:                                       ; preds = %.preheader, %.preheader.preheader.new
  %.146 = phi i64 [ 0, %.preheader.preheader.new ], [ %40, %.preheader ]
  %.03745 = phi ptr [ %22, %.preheader.preheader.new ], [ %39, %.preheader ]
  %niter = phi i64 [ 0, %.preheader.preheader.new ], [ %niter.next.3, %.preheader ]
  %25 = getelementptr inbounds ptr, ptr %8, i64 %.146
  %26 = load ptr, ptr %25, align 8, !tbaa !5
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %.03745, ptr align 1 %26, i64 %2, i1 false)
  %27 = getelementptr inbounds i8, ptr %.03745, i64 %2
  %28 = or disjoint i64 %.146, 1
  %29 = getelementptr inbounds ptr, ptr %8, i64 %28
  %30 = load ptr, ptr %29, align 8, !tbaa !5
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %27, ptr align 1 %30, i64 %2, i1 false)
  %31 = getelementptr inbounds i8, ptr %27, i64 %2
  %32 = or disjoint i64 %.146, 2
  %33 = getelementptr inbounds ptr, ptr %8, i64 %32
  %34 = load ptr, ptr %33, align 8, !tbaa !5
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %31, ptr align 1 %34, i64 %2, i1 false)
  %35 = getelementptr inbounds i8, ptr %31, i64 %2
  %36 = or disjoint i64 %.146, 3
  %37 = getelementptr inbounds ptr, ptr %8, i64 %36
  %38 = load ptr, ptr %37, align 8, !tbaa !5
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %35, ptr align 1 %38, i64 %2, i1 false)
  %39 = getelementptr inbounds i8, ptr %35, i64 %2
  %40 = add nuw i64 %.146, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.unr-lcssa, label %.preheader, !llvm.loop !14

.unr-lcssa:                                       ; preds = %.preheader, %.preheader.preheader
  %.lcssa.ph = phi ptr [ poison, %.preheader.preheader ], [ %39, %.preheader ]
  %.146.unr = phi i64 [ 0, %.preheader.preheader ], [ %40, %.preheader ]
  %.03745.unr = phi ptr [ %22, %.preheader.preheader ], [ %39, %.preheader ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.epilog-lcssa, label %.preheader.epil

.preheader.epil:                                  ; preds = %.unr-lcssa, %.preheader.epil
  %.146.epil = phi i64 [ %44, %.preheader.epil ], [ %.146.unr, %.unr-lcssa ]
  %.03745.epil = phi ptr [ %43, %.preheader.epil ], [ %.03745.unr, %.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.preheader.epil ], [ 0, %.unr-lcssa ]
  %41 = getelementptr inbounds ptr, ptr %8, i64 %.146.epil
  %42 = load ptr, ptr %41, align 8, !tbaa !5
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %.03745.epil, ptr align 1 %42, i64 %2, i1 false)
  %43 = getelementptr inbounds i8, ptr %.03745.epil, i64 %2
  %44 = add nuw i64 %.146.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.epilog-lcssa, label %.preheader.epil, !llvm.loop !15

.epilog-lcssa:                                    ; preds = %.preheader.epil, %.unr-lcssa
  %.lcssa = phi ptr [ %.lcssa.ph, %.unr-lcssa ], [ %43, %.preheader.epil ]
  %45 = sub i64 0, %21
  %46 = getelementptr inbounds i8, ptr %.lcssa, i64 %45
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %0, ptr align 1 %46, i64 %21, i1 false)
  tail call void @free(ptr noundef nonnull %8) #7
  tail call void @free(ptr noundef %46) #7
  br label %47

47:                                               ; preds = %4, %.epilog-lcssa
  ret void
}

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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 = { 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 #5 = { nounwind allocsize(0) }
attributes #6 = { noreturn nounwind }
attributes #7 = { 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 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = distinct !{!13, !10, !12, !11}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.unroll.disable"}


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