; LLVM IR from kimwalisch/primesieve :: src (PrimeGenerator)

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

%"class.primesieve::Array" = type { [128 x i64] }
%class.anon = type { i8 }
%"class.primesieve::Erat" = type { i64, i64, i64, i64, %"class.primesieve::Vector", i64, i64, %"class.primesieve::EratSmall", %"class.primesieve::EratBig", %"class.primesieve::EratMedium" }
%"class.primesieve::Vector" = type { ptr, ptr, ptr }
%"class.primesieve::EratSmall" = type { %"class.primesieve::Wheel", i64, i64, %"class.primesieve::Vector.0" }
%"class.primesieve::Wheel" = type { ptr, i64 }
%"class.primesieve::Vector.0" = type { ptr, ptr, ptr }
%"class.primesieve::EratBig" = type { %"class.primesieve::Wheel.1", i64, i64, i64, ptr, %"class.primesieve::Vector.2" }
%"class.primesieve::Wheel.1" = type { ptr, i64 }
%"class.primesieve::Vector.2" = type { ptr, ptr, ptr }
%"class.primesieve::EratMedium" = type { %"class.primesieve::Wheel", i64, ptr, %"class.primesieve::Vector.2", %"class.primesieve::Vector.2" }

@_ZN12_GLOBAL__N_111smallPrimesE = external hidden constant %"class.primesieve::Array", align 8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN10primesieve14PrimeGenerator14maxCachedPrimeEv() #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK10primesieve14PrimeGenerator11getStartIdxEv(ptr noundef nonnull align 8 dereferenceable(1720)) #0 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK10primesieve14PrimeGenerator10getStopIdxEv(ptr noundef nonnull align 8 dereferenceable(1720)) #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10primesieve14PrimeGenerator14initPrevPrimesERNS_6VectorImSaImEEEPm(ptr noundef nonnull align 8 dereferenceable(1720) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2) #2 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %class.anon, align 1
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  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
  %12 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %13 = getelementptr inbounds %"class.primesieve::Erat", ptr %12, i32 0, i32 0
  %14 = load i64, ptr %13, align 8, !tbaa !9
  %15 = getelementptr inbounds %"class.primesieve::Erat", ptr %12, i32 0, i32 1
  %16 = load i64, ptr %15, align 8, !tbaa !20
  %17 = call noundef i64 @_ZN12_GLOBAL__N_115primeCountUpperEmm(i64 noundef %14, i64 noundef %16)
  store i64 %17, ptr %8, align 8, !tbaa !21
  %18 = getelementptr inbounds %"class.primesieve::Erat", ptr %12, i32 0, i32 0
  %19 = load i64, ptr %18, align 8, !tbaa !9
  %20 = call noundef i64 @_ZN10primesieve14PrimeGenerator14maxCachedPrimeEv()
  %21 = icmp ule i64 %19, %20
  br i1 %21, label %22, label %57

22:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %23 = call noundef i64 @_ZNK10primesieve14PrimeGenerator11getStartIdxEv(ptr noundef nonnull align 8 dereferenceable(1720) %12)
  store i64 %23, ptr %9, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %24 = call noundef i64 @_ZNK10primesieve14PrimeGenerator10getStopIdxEv(ptr noundef nonnull align 8 dereferenceable(1720) %12)
  store i64 %24, ptr %10, align 8, !tbaa !21
  %25 = getelementptr inbounds %"class.primesieve::Erat", ptr %12, i32 0, i32 0
  %26 = load i64, ptr %25, align 8, !tbaa !9
  %27 = icmp ule i64 %26, 2
  %28 = zext i1 %27 to i64
  %29 = load i64, ptr %10, align 8, !tbaa !21
  %30 = add i64 %28, %29
  %31 = load i64, ptr %9, align 8, !tbaa !21
  %32 = sub i64 %30, %31
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  store i64 %32, ptr %33, align 8, !tbaa !21
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %37 = load i64, ptr %36, align 8, !tbaa !21
  call void @"_ZZN10primesieve14PrimeGenerator14initPrevPrimesERNS_6VectorImSaImEEEPmENK3$_0clES4_m"(ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %37)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  store i64 0, ptr %11, align 8, !tbaa !21
  %38 = getelementptr inbounds %"class.primesieve::Erat", ptr %12, i32 0, i32 0
  %39 = load i64, ptr %38, align 8, !tbaa !9
  %40 = icmp ule i64 %39, 2
  br i1 %40, label %41, label %46

41:                                               ; preds = %22
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = load i64, ptr %11, align 8, !tbaa !21
  %44 = add i64 %43, 1
  store i64 %44, ptr %11, align 8, !tbaa !21
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10primesieve6VectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %43) #5
  store i64 0, ptr %45, align 8, !tbaa !21
  br label %46

46:                                               ; preds = %41, %22
  %47 = call noundef ptr @_ZNK10primesieve5ArrayImLm128EE5beginEv(ptr noundef nonnull align 8 dereferenceable(1024) @_ZN12_GLOBAL__N_111smallPrimesE) #5
  %48 = load i64, ptr %9, align 8, !tbaa !21
  %49 = getelementptr inbounds i64, ptr %47, i64 %48
  %50 = call noundef ptr @_ZNK10primesieve5ArrayImLm128EE5beginEv(ptr noundef nonnull align 8 dereferenceable(1024) @_ZN12_GLOBAL__N_111smallPrimesE) #5
  %51 = load i64, ptr %10, align 8, !tbaa !21
  %52 = getelementptr inbounds i64, ptr %50, i64 %51
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = load i64, ptr %11, align 8, !tbaa !21
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10primesieve6VectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %54) #5
  %56 = call noundef ptr @_ZSt4copyIPKmPmET0_T_S4_S3_(ptr noundef %49, ptr noundef %52, ptr noundef %55)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %60

57:                                               ; preds = %3
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = load i64, ptr %8, align 8, !tbaa !21
  call void @"_ZZN10primesieve14PrimeGenerator14initPrevPrimesERNS_6VectorImSaImEEEPmENK3$_0clES4_m"(ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef nonnull align 8 dereferenceable(24) %58, i64 noundef %59)
  br label %60

60:                                               ; preds = %57, %46
  call void @_ZN10primesieve14PrimeGenerator8initEratEv(ptr noundef nonnull align 8 dereferenceable(1720) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #5
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i64 @_ZN12_GLOBAL__N_115primeCountUpperEmm(i64 noundef, i64 noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN10primesieve14PrimeGenerator14initPrevPrimesERNS_6VectorImSaImEEEPmENK3$_0clES4_m"(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN10primesieve6VectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt4copyIPKmPmET0_T_S4_S3_(ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK10primesieve5ArrayImLm128EE5beginEv(ptr noundef nonnull align 8 dereferenceable(1024)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10primesieve14PrimeGenerator8initEratEv(ptr noundef nonnull align 8 dereferenceable(1720)) #2 align 2

attributes #0 = { mustprogress 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 = { mustprogress 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 = { inlinehint mustprogress 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 = { inlinehint mustprogress 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 }

!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++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN10primesieve4EratE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !11, i64 56, !11, i64 64, !13, i64 72, !16, i64 128, !19, i64 200}
!11 = !{!"long", !7, i64 0}
!12 = !{!"_ZTSN10primesieve6VectorIhSaIhEEE", !6, i64 0, !6, i64 8, !6, i64 16}
!13 = !{!"_ZTSN10primesieve9EratSmallE", !14, i64 0, !11, i64 16, !11, i64 24, !15, i64 32}
!14 = !{!"_ZTSN10primesieve5WheelILi30ELi8ELi6EXadsoKNS_9WheelInitEL_ZNS_11wheel30InitEEEEEE", !11, i64 8}
!15 = !{!"_ZTSN10primesieve6VectorINS_12SievingPrimeESaIS1_EEE", !6, i64 0, !6, i64 8, !6, i64 16}
!16 = !{!"_ZTSN10primesieve7EratBigE", !17, i64 0, !11, i64 16, !11, i64 24, !11, i64 32, !6, i64 40, !18, i64 48}
!17 = !{!"_ZTSN10primesieve5WheelILi210ELi48ELi10EXadsoKNS_9WheelInitEL_ZNS_12wheel210InitEEEEEE", !11, i64 8}
!18 = !{!"_ZTSN10primesieve6VectorIPNS_12SievingPrimeESaIS2_EEE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSN10primesieve10EratMediumE", !14, i64 0, !11, i64 16, !6, i64 24, !18, i64 32, !18, i64 56}
!20 = !{!10, !11, i64 8}
!21 = !{!11, !11, 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"

%"class.primesieve::Array" = type { [128 x i64] }
%class.anon = type { i8 }

@_ZN12_GLOBAL__N_111smallPrimesE = external hidden constant %"class.primesieve::Array", align 8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN10primesieve14PrimeGenerator14maxCachedPrimeEv() local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK10primesieve14PrimeGenerator11getStartIdxEv(ptr noundef nonnull align 8 dereferenceable(1720)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK10primesieve14PrimeGenerator10getStopIdxEv(ptr noundef nonnull align 8 dereferenceable(1720)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10primesieve14PrimeGenerator14initPrevPrimesERNS_6VectorImSaImEEEPm(ptr noundef nonnull align 8 dereferenceable(1720) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2) local_unnamed_addr #2 align 2 {
  %4 = alloca %class.anon, align 1
  %5 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %6 = load i64, ptr %0, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  %8 = load i64, ptr %7, align 8, !tbaa !19
  %9 = tail call noundef i64 @_ZN12_GLOBAL__N_115primeCountUpperEmm(i64 noundef %6, i64 noundef %8)
  store i64 %9, ptr %5, align 8, !tbaa !20
  %10 = load i64, ptr %0, align 8, !tbaa !5
  %11 = tail call noundef i64 @_ZN10primesieve14PrimeGenerator14maxCachedPrimeEv()
  %.not = icmp ugt i64 %10, %11
  br i1 %.not, label %33, label %12

12:                                               ; preds = %3
  %13 = tail call noundef i64 @_ZNK10primesieve14PrimeGenerator11getStartIdxEv(ptr noundef nonnull align 8 dereferenceable(1720) %0)
  %14 = tail call noundef i64 @_ZNK10primesieve14PrimeGenerator10getStopIdxEv(ptr noundef nonnull align 8 dereferenceable(1720) %0)
  %15 = load i64, ptr %0, align 8, !tbaa !5
  %16 = icmp ult i64 %15, 3
  %17 = zext i1 %16 to i64
  %18 = sub i64 %14, %13
  %19 = add i64 %18, %17
  store i64 %19, ptr %2, align 8, !tbaa !20
  %20 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %21 = load i64, ptr %20, align 8, !tbaa !20
  call void @"_ZZN10primesieve14PrimeGenerator14initPrevPrimesERNS_6VectorImSaImEEEPmENK3$_0clES4_m"(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %21)
  %22 = load i64, ptr %0, align 8, !tbaa !5
  %23 = icmp ult i64 %22, 3
  br i1 %23, label %24, label %26

24:                                               ; preds = %12
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10primesieve6VectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #5
  store i64 0, ptr %25, align 8, !tbaa !20
  br label %26

26:                                               ; preds = %24, %12
  %.0 = phi i64 [ 1, %24 ], [ 0, %12 ]
  %27 = call noundef ptr @_ZNK10primesieve5ArrayImLm128EE5beginEv(ptr noundef nonnull align 8 dereferenceable(1024) @_ZN12_GLOBAL__N_111smallPrimesE) #5
  %28 = getelementptr inbounds i64, ptr %27, i64 %13
  %29 = call noundef ptr @_ZNK10primesieve5ArrayImLm128EE5beginEv(ptr noundef nonnull align 8 dereferenceable(1024) @_ZN12_GLOBAL__N_111smallPrimesE) #5
  %30 = getelementptr inbounds i64, ptr %29, i64 %14
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10primesieve6VectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.0) #5
  %32 = call noundef ptr @_ZSt4copyIPKmPmET0_T_S4_S3_(ptr noundef %28, ptr noundef %30, ptr noundef nonnull %31)
  br label %34

33:                                               ; preds = %3
  call void @"_ZZN10primesieve14PrimeGenerator14initPrevPrimesERNS_6VectorImSaImEEEPmENK3$_0clES4_m"(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %9)
  br label %34

34:                                               ; preds = %33, %26
  call void @_ZN10primesieve14PrimeGenerator8initEratEv(ptr noundef nonnull align 8 dereferenceable(1720) %0)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #5
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i64 @_ZN12_GLOBAL__N_115primeCountUpperEmm(i64 noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN10primesieve14PrimeGenerator14initPrevPrimesERNS_6VectorImSaImEEEPmENK3$_0clES4_m"(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN10primesieve6VectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt4copyIPKmPmET0_T_S4_S3_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK10primesieve5ArrayImLm128EE5beginEv(ptr noundef nonnull align 8 dereferenceable(1024)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10primesieve14PrimeGenerator8initEratEv(ptr noundef nonnull align 8 dereferenceable(1720)) local_unnamed_addr #2 align 2

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

!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 = !{!"_ZTSN10primesieve4EratE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !7, i64 56, !7, i64 64, !12, i64 72, !15, i64 128, !18, i64 200}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN10primesieve6VectorIhSaIhEEE", !11, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"_ZTSN10primesieve9EratSmallE", !13, i64 0, !7, i64 16, !7, i64 24, !14, i64 32}
!13 = !{!"_ZTSN10primesieve5WheelILi30ELi8ELi6EXadsoKNS_9WheelInitEL_ZNS_11wheel30InitEEEEEE", !7, i64 8}
!14 = !{!"_ZTSN10primesieve6VectorINS_12SievingPrimeESaIS1_EEE", !11, i64 0, !11, i64 8, !11, i64 16}
!15 = !{!"_ZTSN10primesieve7EratBigE", !16, i64 0, !7, i64 16, !7, i64 24, !7, i64 32, !11, i64 40, !17, i64 48}
!16 = !{!"_ZTSN10primesieve5WheelILi210ELi48ELi10EXadsoKNS_9WheelInitEL_ZNS_12wheel210InitEEEEEE", !7, i64 8}
!17 = !{!"_ZTSN10primesieve6VectorIPNS_12SievingPrimeESaIS2_EEE", !11, i64 0, !11, i64 8, !11, i64 16}
!18 = !{!"_ZTSN10primesieve10EratMediumE", !13, i64 0, !7, i64 16, !11, i64 24, !17, i64 32, !17, i64 56}
!19 = !{!6, !7, i64 8}
!20 = !{!7, !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,TailCallElimPass