; LLVM IR from davidar/c-hashtable :: hashtable (create_hashtable)

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

@primes = external hidden constant [26 x i32], align 16

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

15:                                               ; preds = %3
  store ptr null, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %84

16:                                               ; preds = %3
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %17

17:                                               ; preds = %33, %16
  %18 = load i32, ptr %9, align 4, !tbaa !5
  %19 = icmp ult i32 %18, 26
  br i1 %19, label %20, label %36

20:                                               ; preds = %17
  %21 = load i32, ptr %9, align 4, !tbaa !5
  %22 = zext i32 %21 to i64
  %23 = getelementptr inbounds [26 x i32], ptr @primes, i64 0, i64 %22
  %24 = load i32, ptr %23, align 4, !tbaa !5
  %25 = load i32, ptr %5, align 4, !tbaa !5
  %26 = icmp ugt i32 %24, %25
  br i1 %26, label %27, label %32

27:                                               ; preds = %20
  %28 = load i32, ptr %9, align 4, !tbaa !5
  %29 = zext i32 %28 to i64
  %30 = getelementptr inbounds [26 x i32], ptr @primes, i64 0, i64 %29
  %31 = load i32, ptr %30, align 4, !tbaa !5
  store i32 %31, ptr %10, align 4, !tbaa !5
  br label %36

32:                                               ; preds = %20
  br label %33

33:                                               ; preds = %32
  %34 = load i32, ptr %9, align 4, !tbaa !5
  %35 = add i32 %34, 1
  store i32 %35, ptr %9, align 4, !tbaa !5
  br label %17, !llvm.loop !11

36:                                               ; preds = %27, %17
  %37 = call noalias ptr @malloc(i64 noundef 48) #7
  store ptr %37, ptr %8, align 8, !tbaa !9
  %38 = load ptr, ptr %8, align 8, !tbaa !9
  %39 = icmp eq ptr null, %38
  br i1 %39, label %40, label %41

40:                                               ; preds = %36
  store ptr null, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %84

41:                                               ; preds = %36
  %42 = load i32, ptr %10, align 4, !tbaa !5
  %43 = zext i32 %42 to i64
  %44 = mul i64 8, %43
  %45 = call noalias ptr @malloc(i64 noundef %44) #7
  %46 = load ptr, ptr %8, align 8, !tbaa !9
  %47 = getelementptr inbounds %struct.hashtable, ptr %46, i32 0, i32 1
  store ptr %45, ptr %47, align 8, !tbaa !13
  %48 = load ptr, ptr %8, align 8, !tbaa !9
  %49 = getelementptr inbounds %struct.hashtable, ptr %48, i32 0, i32 1
  %50 = load ptr, ptr %49, align 8, !tbaa !13
  %51 = icmp eq ptr null, %50
  br i1 %51, label %52, label %54

52:                                               ; preds = %41
  %53 = load ptr, ptr %8, align 8, !tbaa !9
  call void @free(ptr noundef %53) #6
  store ptr null, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %84

54:                                               ; preds = %41
  %55 = load ptr, ptr %8, align 8, !tbaa !9
  %56 = getelementptr inbounds %struct.hashtable, ptr %55, i32 0, i32 1
  %57 = load ptr, ptr %56, align 8, !tbaa !13
  %58 = load i32, ptr %10, align 4, !tbaa !5
  %59 = zext i32 %58 to i64
  %60 = mul i64 %59, 8
  call void @llvm.memset.p0.i64(ptr align 8 %57, i8 0, i64 %60, i1 false)
  %61 = load i32, ptr %10, align 4, !tbaa !5
  %62 = load ptr, ptr %8, align 8, !tbaa !9
  %63 = getelementptr inbounds %struct.hashtable, ptr %62, i32 0, i32 0
  store i32 %61, ptr %63, align 8, !tbaa !15
  %64 = load i32, ptr %9, align 4, !tbaa !5
  %65 = load ptr, ptr %8, align 8, !tbaa !9
  %66 = getelementptr inbounds %struct.hashtable, ptr %65, i32 0, i32 4
  store i32 %64, ptr %66, align 8, !tbaa !16
  %67 = load ptr, ptr %8, align 8, !tbaa !9
  %68 = getelementptr inbounds %struct.hashtable, ptr %67, i32 0, i32 2
  store i32 0, ptr %68, align 8, !tbaa !17
  %69 = load ptr, ptr %6, align 8, !tbaa !9
  %70 = load ptr, ptr %8, align 8, !tbaa !9
  %71 = getelementptr inbounds %struct.hashtable, ptr %70, i32 0, i32 5
  store ptr %69, ptr %71, align 8, !tbaa !18
  %72 = load ptr, ptr %7, align 8, !tbaa !9
  %73 = load ptr, ptr %8, align 8, !tbaa !9
  %74 = getelementptr inbounds %struct.hashtable, ptr %73, i32 0, i32 6
  store ptr %72, ptr %74, align 8, !tbaa !19
  %75 = load i32, ptr %10, align 4, !tbaa !5
  %76 = uitofp i32 %75 to float
  %77 = fmul float %76, 0x3FE4CCCCC0000000
  %78 = fpext float %77 to double
  %79 = call double @llvm.ceil.f64(double %78)
  %80 = fptoui double %79 to i32
  %81 = load ptr, ptr %8, align 8, !tbaa !9
  %82 = getelementptr inbounds %struct.hashtable, ptr %81, i32 0, i32 3
  store i32 %80, ptr %82, align 4, !tbaa !20
  %83 = load ptr, ptr %8, align 8, !tbaa !9
  store ptr %83, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %84

84:                                               ; preds = %54, %52, %40, %15
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  %85 = load ptr, ptr %4, align 8
  ret ptr %85
}

; 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
declare void @free(ptr noundef) #3

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.ceil.f64(double) #5

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

attributes #0 = { 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 #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 "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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { 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 = !{!"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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !10, i64 8}
!14 = !{!"hashtable", !6, i64 0, !10, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !10, i64 32, !10, i64 40}
!15 = !{!14, !6, i64 0}
!16 = !{!14, !6, i64 24}
!17 = !{!14, !6, i64 16}
!18 = !{!14, !10, i64 32}
!19 = !{!14, !10, i64 40}
!20 = !{!14, !6, i64 20}


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

@primes = external hidden local_unnamed_addr constant [26 x i32], align 16

; Function Attrs: mustprogress nounwind willreturn memory(readwrite, argmem: none) uwtable
define dso_local noalias noundef ptr @create_hashtable(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
  %4 = load i32, ptr @primes, align 16, !tbaa !5
  %5 = icmp ugt i32 %0, 1073741824
  br i1 %5, label %76, label %.preheader.preheader

.preheader.preheader:                             ; preds = %3
  %6 = icmp ugt i32 %4, %0
  br i1 %6, label %57, label %.preheader.1

.preheader.1:                                     ; preds = %.preheader.preheader
  %7 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 4), align 4, !tbaa !5
  %8 = icmp ugt i32 %7, %0
  br i1 %8, label %57, label %.preheader.2

.preheader.2:                                     ; preds = %.preheader.1
  %9 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 8), align 8, !tbaa !5
  %10 = icmp ugt i32 %9, %0
  br i1 %10, label %57, label %.preheader.3

.preheader.3:                                     ; preds = %.preheader.2
  %11 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 12), align 4, !tbaa !5
  %12 = icmp ugt i32 %11, %0
  br i1 %12, label %57, label %.preheader.4

.preheader.4:                                     ; preds = %.preheader.3
  %13 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 16), align 16, !tbaa !5
  %14 = icmp ugt i32 %13, %0
  br i1 %14, label %57, label %.preheader.5

.preheader.5:                                     ; preds = %.preheader.4
  %15 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 20), align 4, !tbaa !5
  %16 = icmp ugt i32 %15, %0
  br i1 %16, label %57, label %.preheader.6

.preheader.6:                                     ; preds = %.preheader.5
  %17 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 24), align 8, !tbaa !5
  %18 = icmp ugt i32 %17, %0
  br i1 %18, label %57, label %.preheader.7

.preheader.7:                                     ; preds = %.preheader.6
  %19 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 28), align 4, !tbaa !5
  %20 = icmp ugt i32 %19, %0
  br i1 %20, label %57, label %.preheader.8

.preheader.8:                                     ; preds = %.preheader.7
  %21 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 32), align 16, !tbaa !5
  %22 = icmp ugt i32 %21, %0
  br i1 %22, label %57, label %.preheader.9

.preheader.9:                                     ; preds = %.preheader.8
  %23 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 36), align 4, !tbaa !5
  %24 = icmp ugt i32 %23, %0
  br i1 %24, label %57, label %.preheader.10

.preheader.10:                                    ; preds = %.preheader.9
  %25 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 40), align 8, !tbaa !5
  %26 = icmp ugt i32 %25, %0
  br i1 %26, label %57, label %.preheader.11

.preheader.11:                                    ; preds = %.preheader.10
  %27 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 44), align 4, !tbaa !5
  %28 = icmp ugt i32 %27, %0
  br i1 %28, label %57, label %.preheader.12

.preheader.12:                                    ; preds = %.preheader.11
  %29 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 48), align 16, !tbaa !5
  %30 = icmp ugt i32 %29, %0
  br i1 %30, label %57, label %.preheader.13

.preheader.13:                                    ; preds = %.preheader.12
  %31 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 52), align 4, !tbaa !5
  %32 = icmp ugt i32 %31, %0
  br i1 %32, label %57, label %.preheader.14

.preheader.14:                                    ; preds = %.preheader.13
  %33 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 56), align 8, !tbaa !5
  %34 = icmp ugt i32 %33, %0
  br i1 %34, label %57, label %.preheader.15

.preheader.15:                                    ; preds = %.preheader.14
  %35 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 60), align 4, !tbaa !5
  %36 = icmp ugt i32 %35, %0
  br i1 %36, label %57, label %.preheader.16

.preheader.16:                                    ; preds = %.preheader.15
  %37 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 64), align 16, !tbaa !5
  %38 = icmp ugt i32 %37, %0
  br i1 %38, label %57, label %.preheader.17

.preheader.17:                                    ; preds = %.preheader.16
  %39 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 68), align 4, !tbaa !5
  %40 = icmp ugt i32 %39, %0
  br i1 %40, label %57, label %.preheader.18

.preheader.18:                                    ; preds = %.preheader.17
  %41 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 72), align 8, !tbaa !5
  %42 = icmp ugt i32 %41, %0
  br i1 %42, label %57, label %.preheader.19

.preheader.19:                                    ; preds = %.preheader.18
  %43 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 76), align 4, !tbaa !5
  %44 = icmp ugt i32 %43, %0
  br i1 %44, label %57, label %.preheader.20

.preheader.20:                                    ; preds = %.preheader.19
  %45 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 80), align 16, !tbaa !5
  %46 = icmp ugt i32 %45, %0
  br i1 %46, label %57, label %.preheader.21

.preheader.21:                                    ; preds = %.preheader.20
  %47 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 84), align 4, !tbaa !5
  %48 = icmp ugt i32 %47, %0
  br i1 %48, label %57, label %.preheader.22

.preheader.22:                                    ; preds = %.preheader.21
  %49 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 88), align 8, !tbaa !5
  %50 = icmp ugt i32 %49, %0
  br i1 %50, label %57, label %.preheader.23

.preheader.23:                                    ; preds = %.preheader.22
  %51 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 92), align 4, !tbaa !5
  %52 = icmp ugt i32 %51, %0
  br i1 %52, label %57, label %.preheader.24

.preheader.24:                                    ; preds = %.preheader.23
  %53 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 96), align 16, !tbaa !5
  %54 = icmp ugt i32 %53, %0
  br i1 %54, label %57, label %.preheader.25

.preheader.25:                                    ; preds = %.preheader.24
  %55 = load i32, ptr getelementptr inbounds (i8, ptr @primes, i64 100), align 4, !tbaa !5
  %56 = icmp ugt i32 %55, %0
  %spec.select = select i1 %56, i32 25, i32 26
  %spec.select33 = select i1 %56, i32 %55, i32 %4
  br label %57

57:                                               ; preds = %.preheader.25, %.preheader.24, %.preheader.23, %.preheader.22, %.preheader.21, %.preheader.20, %.preheader.19, %.preheader.18, %.preheader.17, %.preheader.16, %.preheader.15, %.preheader.14, %.preheader.13, %.preheader.12, %.preheader.11, %.preheader.10, %.preheader.9, %.preheader.8, %.preheader.7, %.preheader.6, %.preheader.5, %.preheader.4, %.preheader.3, %.preheader.2, %.preheader.1, %.preheader.preheader
  %.025.lcssa = phi i32 [ 0, %.preheader.preheader ], [ 1, %.preheader.1 ], [ 2, %.preheader.2 ], [ 3, %.preheader.3 ], [ 4, %.preheader.4 ], [ 5, %.preheader.5 ], [ 6, %.preheader.6 ], [ 7, %.preheader.7 ], [ 8, %.preheader.8 ], [ 9, %.preheader.9 ], [ 10, %.preheader.10 ], [ 11, %.preheader.11 ], [ 12, %.preheader.12 ], [ 13, %.preheader.13 ], [ 14, %.preheader.14 ], [ 15, %.preheader.15 ], [ 16, %.preheader.16 ], [ 17, %.preheader.17 ], [ 18, %.preheader.18 ], [ 19, %.preheader.19 ], [ 20, %.preheader.20 ], [ 21, %.preheader.21 ], [ 22, %.preheader.22 ], [ 23, %.preheader.23 ], [ 24, %.preheader.24 ], [ %spec.select, %.preheader.25 ]
  %.0 = phi i32 [ %4, %.preheader.preheader ], [ %7, %.preheader.1 ], [ %9, %.preheader.2 ], [ %11, %.preheader.3 ], [ %13, %.preheader.4 ], [ %15, %.preheader.5 ], [ %17, %.preheader.6 ], [ %19, %.preheader.7 ], [ %21, %.preheader.8 ], [ %23, %.preheader.9 ], [ %25, %.preheader.10 ], [ %27, %.preheader.11 ], [ %29, %.preheader.12 ], [ %31, %.preheader.13 ], [ %33, %.preheader.14 ], [ %35, %.preheader.15 ], [ %37, %.preheader.16 ], [ %39, %.preheader.17 ], [ %41, %.preheader.18 ], [ %43, %.preheader.19 ], [ %45, %.preheader.20 ], [ %47, %.preheader.21 ], [ %49, %.preheader.22 ], [ %51, %.preheader.23 ], [ %53, %.preheader.24 ], [ %spec.select33, %.preheader.25 ]
  %58 = tail call noalias dereferenceable_or_null(48) ptr @malloc(i64 noundef 48) #5
  %59 = icmp eq ptr %58, null
  br i1 %59, label %76, label %60

60:                                               ; preds = %57
  %61 = zext i32 %.0 to i64
  %62 = shl nuw nsw i64 %61, 3
  %calloc = tail call ptr @calloc(i64 1, i64 %62)
  %63 = getelementptr inbounds i8, ptr %58, i64 8
  store ptr %calloc, ptr %63, align 8, !tbaa !9
  %64 = icmp eq ptr %calloc, null
  br i1 %64, label %65, label %66

65:                                               ; preds = %60
  tail call void @free(ptr noundef nonnull %58) #6
  br label %76

66:                                               ; preds = %60
  store i32 %.0, ptr %58, align 8, !tbaa !12
  %67 = getelementptr inbounds i8, ptr %58, i64 24
  store i32 %.025.lcssa, ptr %67, align 8, !tbaa !13
  %68 = getelementptr inbounds i8, ptr %58, i64 16
  store i32 0, ptr %68, align 8, !tbaa !14
  %69 = getelementptr inbounds i8, ptr %58, i64 32
  store ptr %1, ptr %69, align 8, !tbaa !15
  %70 = getelementptr inbounds i8, ptr %58, i64 40
  store ptr %2, ptr %70, align 8, !tbaa !16
  %71 = uitofp i32 %.0 to float
  %72 = fmul float %71, 0x3FE4CCCCC0000000
  %73 = tail call float @llvm.ceil.f32(float %72)
  %74 = fptoui float %73 to i32
  %75 = getelementptr inbounds i8, ptr %58, i64 20
  store i32 %74, ptr %75, align 4, !tbaa !17
  br label %76

76:                                               ; preds = %57, %3, %66, %65
  %.026 = phi ptr [ null, %65 ], [ %58, %66 ], [ null, %3 ], [ null, %57 ]
  ret ptr %.026
}

; 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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.ceil.f32(float) #3

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

attributes #0 = { mustprogress nounwind willreturn memory(readwrite, argmem: none) 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 #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" }
attributes #5 = { nounwind allocsize(0) }
attributes #6 = { 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, !11, i64 8}
!10 = !{!"hashtable", !6, i64 0, !11, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !11, i64 32, !11, i64 40}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 0}
!13 = !{!10, !6, i64 24}
!14 = !{!10, !6, i64 16}
!15 = !{!10, !11, i64 32}
!16 = !{!10, !11, i64 40}
!17 = !{!10, !6, i64 20}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass