; LLVM IR from CLASS-SZ/class_sz :: class-sz/tools (r8lib)

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

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.156 = 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local void @r8r8vec_index_insert_unique(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, double noundef %5, double noundef %6, ptr noundef %7, ptr noundef %8) #3 {
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  store i32 %0, ptr %10, align 4, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !9
  store ptr %2, ptr %12, align 8, !tbaa !9
  store ptr %3, ptr %13, align 8, !tbaa !9
  store ptr %4, ptr %14, align 8, !tbaa !9
  store double %5, ptr %15, align 8, !tbaa !11
  store double %6, ptr %16, align 8, !tbaa !11
  store ptr %7, ptr %17, align 8, !tbaa !9
  store ptr %8, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  %24 = load ptr, ptr %18, align 8, !tbaa !9
  store i32 0, ptr %24, align 4, !tbaa !5
  %25 = load ptr, ptr %11, align 8, !tbaa !9
  %26 = load i32, ptr %25, align 4, !tbaa !5
  %27 = icmp sle i32 %26, 0
  br i1 %27, label %28, label %49

28:                                               ; preds = %9
  %29 = load i32, ptr %10, align 4, !tbaa !5
  %30 = icmp sle i32 %29, 0
  br i1 %30, label %31, label %38

31:                                               ; preds = %28
  %32 = load ptr, ptr @stderr, align 8, !tbaa !9
  %33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str) #4
  %34 = load ptr, ptr @stderr, align 8, !tbaa !9
  %35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef @.str.156) #4
  %36 = load ptr, ptr @stderr, align 8, !tbaa !9
  %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef @.str.155) #4
  call void @exit(i32 noundef 1) #5
  unreachable

38:                                               ; preds = %28
  %39 = load ptr, ptr %11, align 8, !tbaa !9
  store i32 1, ptr %39, align 4, !tbaa !5
  %40 = load double, ptr %15, align 8, !tbaa !11
  %41 = load ptr, ptr %12, align 8, !tbaa !9
  %42 = getelementptr inbounds double, ptr %41, i64 0
  store double %40, ptr %42, align 8, !tbaa !11
  %43 = load double, ptr %16, align 8, !tbaa !11
  %44 = load ptr, ptr %13, align 8, !tbaa !9
  %45 = getelementptr inbounds double, ptr %44, i64 0
  store double %43, ptr %45, align 8, !tbaa !11
  %46 = load ptr, ptr %14, align 8, !tbaa !9
  %47 = getelementptr inbounds i32, ptr %46, i64 0
  store i32 1, ptr %47, align 4, !tbaa !5
  %48 = load ptr, ptr %17, align 8, !tbaa !9
  store i32 1, ptr %48, align 4, !tbaa !5
  store i32 1, ptr %23, align 4
  br label %132

49:                                               ; preds = %9
  %50 = load ptr, ptr %11, align 8, !tbaa !9
  %51 = load i32, ptr %50, align 4, !tbaa !5
  %52 = load ptr, ptr %12, align 8, !tbaa !9
  %53 = load ptr, ptr %13, align 8, !tbaa !9
  %54 = load ptr, ptr %14, align 8, !tbaa !9
  %55 = load double, ptr %15, align 8, !tbaa !11
  %56 = load double, ptr %16, align 8, !tbaa !11
  call void @r8r8vec_index_search(i32 noundef %51, ptr noundef %52, ptr noundef %53, ptr noundef %54, double noundef %55, double noundef %56, ptr noundef %21, ptr noundef %19, ptr noundef %22)
  %57 = load i32, ptr %19, align 4, !tbaa !5
  %58 = icmp eq i32 %57, 0
  br i1 %58, label %59, label %123

59:                                               ; preds = %49
  %60 = load i32, ptr %10, align 4, !tbaa !5
  %61 = load ptr, ptr %11, align 8, !tbaa !9
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = icmp sle i32 %60, %62
  br i1 %63, label %64, label %71

64:                                               ; preds = %59
  %65 = load ptr, ptr @stderr, align 8, !tbaa !9
  %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef @.str) #4
  %67 = load ptr, ptr @stderr, align 8, !tbaa !9
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %67, ptr noundef @.str.156) #4
  %69 = load ptr, ptr @stderr, align 8, !tbaa !9
  %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef @.str.155) #4
  call void @exit(i32 noundef 1) #5
  unreachable

71:                                               ; preds = %59
  %72 = load double, ptr %15, align 8, !tbaa !11
  %73 = load ptr, ptr %12, align 8, !tbaa !9
  %74 = load ptr, ptr %11, align 8, !tbaa !9
  %75 = load i32, ptr %74, align 4, !tbaa !5
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds double, ptr %73, i64 %76
  store double %72, ptr %77, align 8, !tbaa !11
  %78 = load double, ptr %16, align 8, !tbaa !11
  %79 = load ptr, ptr %13, align 8, !tbaa !9
  %80 = load ptr, ptr %11, align 8, !tbaa !9
  %81 = load i32, ptr %80, align 4, !tbaa !5
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds double, ptr %79, i64 %82
  store double %78, ptr %83, align 8, !tbaa !11
  %84 = load ptr, ptr %11, align 8, !tbaa !9
  %85 = load i32, ptr %84, align 4, !tbaa !5
  %86 = add nsw i32 %85, 1
  %87 = load ptr, ptr %17, align 8, !tbaa !9
  store i32 %86, ptr %87, align 4, !tbaa !5
  %88 = load ptr, ptr %11, align 8, !tbaa !9
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = sub nsw i32 %89, 1
  store i32 %90, ptr %20, align 4, !tbaa !5
  br label %91

91:                                               ; preds = %107, %71
  %92 = load i32, ptr %22, align 4, !tbaa !5
  %93 = sub nsw i32 %92, 1
  %94 = load i32, ptr %20, align 4, !tbaa !5
  %95 = icmp sle i32 %93, %94
  br i1 %95, label %96, label %110

96:                                               ; preds = %91
  %97 = load ptr, ptr %14, align 8, !tbaa !9
  %98 = load i32, ptr %20, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds i32, ptr %97, i64 %99
  %101 = load i32, ptr %100, align 4, !tbaa !5
  %102 = load ptr, ptr %14, align 8, !tbaa !9
  %103 = load i32, ptr %20, align 4, !tbaa !5
  %104 = add nsw i32 %103, 1
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds i32, ptr %102, i64 %105
  store i32 %101, ptr %106, align 4, !tbaa !5
  br label %107

107:                                              ; preds = %96
  %108 = load i32, ptr %20, align 4, !tbaa !5
  %109 = add nsw i32 %108, -1
  store i32 %109, ptr %20, align 4, !tbaa !5
  br label %91, !llvm.loop !13

110:                                              ; preds = %91
  %111 = load ptr, ptr %11, align 8, !tbaa !9
  %112 = load i32, ptr %111, align 4, !tbaa !5
  %113 = add nsw i32 %112, 1
  %114 = load ptr, ptr %14, align 8, !tbaa !9
  %115 = load i32, ptr %22, align 4, !tbaa !5
  %116 = sub nsw i32 %115, 1
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds i32, ptr %114, i64 %117
  store i32 %113, ptr %118, align 4, !tbaa !5
  %119 = load ptr, ptr %11, align 8, !tbaa !9
  %120 = load i32, ptr %119, align 4, !tbaa !5
  %121 = add nsw i32 %120, 1
  %122 = load ptr, ptr %11, align 8, !tbaa !9
  store i32 %121, ptr %122, align 4, !tbaa !5
  br label %131

123:                                              ; preds = %49
  %124 = load ptr, ptr %14, align 8, !tbaa !9
  %125 = load i32, ptr %19, align 4, !tbaa !5
  %126 = sub nsw i32 %125, 1
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds i32, ptr %124, i64 %127
  %129 = load i32, ptr %128, align 4, !tbaa !5
  %130 = load ptr, ptr %17, align 8, !tbaa !9
  store i32 %129, ptr %130, align 4, !tbaa !5
  br label %131

131:                                              ; preds = %123, %110
  store i32 1, ptr %23, align 4
  br label %132

132:                                              ; preds = %131, %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local void @r8r8vec_index_search(i32 noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"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"

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [44 x i8], align 1

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

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

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @r8r8vec_index_insert_unique(i32 noundef %0, ptr nocapture noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, double noundef %5, double noundef %6, ptr nocapture noundef writeonly %7, ptr nocapture noundef writeonly %8) local_unnamed_addr #3 {
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #4
  store i32 0, ptr %8, align 4, !tbaa !5
  %13 = load i32, ptr %1, align 4, !tbaa !5
  %14 = icmp slt i32 %13, 1
  br i1 %14, label %15, label %25

15:                                               ; preds = %9
  %16 = icmp slt i32 %0, 1
  br i1 %16, label %17, label %24

17:                                               ; preds = %15
  %18 = load ptr, ptr @stderr, align 8, !tbaa !9
  %19 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %18, ptr noundef nonnull @.str) #5
  %20 = load ptr, ptr @stderr, align 8, !tbaa !9
  %21 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.156) #5
  %22 = load ptr, ptr @stderr, align 8, !tbaa !9
  %23 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef nonnull @.str.155) #5
  tail call void @exit(i32 noundef 1) #6
  unreachable

24:                                               ; preds = %15
  store i32 1, ptr %1, align 4, !tbaa !5
  store double %5, ptr %2, align 8, !tbaa !11
  store double %6, ptr %3, align 8, !tbaa !11
  store i32 1, ptr %4, align 4, !tbaa !5
  store i32 1, ptr %7, align 4, !tbaa !5
  br label %69

25:                                               ; preds = %9
  call void @r8r8vec_index_search(i32 noundef %13, ptr noundef %2, ptr noundef %3, ptr noundef %4, double noundef %5, double noundef %6, ptr noundef nonnull %11, ptr noundef nonnull %10, ptr noundef nonnull %12)
  %26 = load i32, ptr %10, align 4, !tbaa !5
  %27 = icmp eq i32 %26, 0
  br i1 %27, label %28, label %64

28:                                               ; preds = %25
  %29 = load i32, ptr %1, align 4, !tbaa !5
  %.not = icmp slt i32 %29, %0
  br i1 %.not, label %37, label %30

30:                                               ; preds = %28
  %31 = load ptr, ptr @stderr, align 8, !tbaa !9
  %32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef nonnull @.str) #5
  %33 = load ptr, ptr @stderr, align 8, !tbaa !9
  %34 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef nonnull @.str.156) #5
  %35 = load ptr, ptr @stderr, align 8, !tbaa !9
  %36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.155) #5
  call void @exit(i32 noundef 1) #6
  unreachable

37:                                               ; preds = %28
  %38 = sext i32 %29 to i64
  %39 = getelementptr inbounds double, ptr %2, i64 %38
  store double %5, ptr %39, align 8, !tbaa !11
  %40 = getelementptr inbounds double, ptr %3, i64 %38
  store double %6, ptr %40, align 8, !tbaa !11
  %41 = add nsw i32 %29, 1
  store i32 %41, ptr %7, align 4, !tbaa !5
  %42 = load i32, ptr %1, align 4, !tbaa !5
  %43 = load i32, ptr %12, align 4, !tbaa !5
  %.not4243 = icmp sgt i32 %43, %42
  br i1 %.not4243, label %.._crit_edge_crit_edge, label %.lr.ph.preheader

.._crit_edge_crit_edge:                           ; preds = %37
  %.pre47 = sext i32 %43 to i64
  br label %._crit_edge

.lr.ph.preheader:                                 ; preds = %37
  %44 = sext i32 %42 to i64
  %45 = sext i32 %43 to i64
  %46 = add nsw i64 %44, 1
  %47 = sub nsw i64 %46, %45
  %min.iters.check = icmp ult i64 %47, 8
  br i1 %min.iters.check, label %.lr.ph.preheader52, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %47, -8
  %ind.end = sub nsw i64 %44, %n.vec
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = sub i64 %44, %index
  %48 = getelementptr i32, ptr %4, i64 %offset.idx
  %49 = getelementptr i8, ptr %48, i64 -16
  %50 = getelementptr i8, ptr %48, i64 -32
  %wide.load = load <4 x i32>, ptr %49, align 4, !tbaa !5
  %wide.load48 = load <4 x i32>, ptr %50, align 4, !tbaa !5
  %51 = getelementptr inbounds i32, ptr %4, i64 %offset.idx
  %52 = getelementptr inbounds i8, ptr %51, i64 -12
  %53 = getelementptr inbounds i8, ptr %51, i64 -28
  store <4 x i32> %wide.load, ptr %52, align 4, !tbaa !5
  store <4 x i32> %wide.load48, ptr %53, align 4, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %54 = icmp eq i64 %index.next, %n.vec
  br i1 %54, label %middle.block, label %vector.body, !llvm.loop !13

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %47, %n.vec
  br i1 %cmp.n, label %._crit_edge.loopexit, label %.lr.ph.preheader52

.lr.ph.preheader52:                               ; preds = %middle.block, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ %44, %.lr.ph.preheader ], [ %ind.end, %middle.block ]
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader52, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader52 ]
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %55 = getelementptr inbounds i32, ptr %4, i64 %indvars.iv.next
  %56 = load i32, ptr %55, align 4, !tbaa !5
  %57 = getelementptr inbounds i32, ptr %4, i64 %indvars.iv
  store i32 %56, ptr %57, align 4, !tbaa !5
  %.not42.not = icmp sgt i64 %indvars.iv, %45
  br i1 %.not42.not, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !17

._crit_edge.loopexit:                             ; preds = %.lr.ph, %middle.block
  %.pre = load i32, ptr %1, align 4, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %.._crit_edge_crit_edge, %._crit_edge.loopexit
  %.pre-phi = phi i64 [ %.pre47, %.._crit_edge_crit_edge ], [ %45, %._crit_edge.loopexit ]
  %58 = phi i32 [ %42, %.._crit_edge_crit_edge ], [ %.pre, %._crit_edge.loopexit ]
  %59 = add nsw i32 %58, 1
  %60 = getelementptr i32, ptr %4, i64 %.pre-phi
  %61 = getelementptr i8, ptr %60, i64 -4
  store i32 %59, ptr %61, align 4, !tbaa !5
  %62 = load i32, ptr %1, align 4, !tbaa !5
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %1, align 4, !tbaa !5
  br label %69

64:                                               ; preds = %25
  %65 = sext i32 %26 to i64
  %66 = getelementptr i32, ptr %4, i64 %65
  %67 = getelementptr i8, ptr %66, i64 -4
  %68 = load i32, ptr %67, align 4, !tbaa !5
  store i32 %68, ptr %7, align 4, !tbaa !5
  br label %69

69:                                               ; preds = %._crit_edge, %64, %24
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local void @r8r8vec_index_search(i32 noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 = { cold 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14, !15, !16}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!"llvm.loop.isvectorized", i32 1}
!16 = !{!"llvm.loop.unroll.runtime.disable"}
!17 = distinct !{!17, !14, !16, !15}


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