; LLVM IR from stivalaa/EstimNetDirected :: src/Random123-1.09/examples (pi_uniform)

; 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.r123array2x64 = type { [2 x i64] }
%struct.r123array2x32 = type { [2 x i32] }

@errs = external dso_local global i32, align 4
@__const.main.uk = external hidden unnamed_addr constant %struct.r123array2x64, align 8
@.str.6 = external hidden unnamed_addr constant [39 x i8], align 1
@__const.main.ukh = external hidden unnamed_addr constant %struct.r123array2x32, align 4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z8pi_checkmm(i64 noundef, i64 noundef) #0

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

declare i32 @printf(ptr noundef, ...) #2

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #3 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca %struct.r123array2x64, align 8
  %9 = alloca %struct.r123array2x64, align 8
  %10 = alloca %struct.r123array2x64, align 8
  %11 = alloca %struct.r123array2x64, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca %struct.r123array2x64, align 8
  %15 = alloca %struct.r123array2x64, align 8
  %16 = alloca %struct.r123array2x64, align 8
  %17 = alloca %struct.r123array2x64, align 8
  %18 = alloca %struct.r123array2x64, align 8
  %19 = alloca %struct.r123array2x64, align 8
  %20 = alloca %struct.r123array2x32, align 4
  %21 = alloca %struct.r123array2x32, align 4
  %22 = alloca %struct.r123array2x32, align 4
  %23 = alloca %struct.r123array2x32, align 4
  %24 = alloca %struct.r123array2x32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  store i64 0, ptr %6, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  store i64 0, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #9
  call void @llvm.memset.p0.i64(ptr align 8 %8, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 @__const.main.uk, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %10, i64 16, i1 false), !tbaa.struct !13
  %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef 10000000)
  br label %26

26:                                               ; preds = %66, %2
  %27 = load i64, ptr %7, align 8, !tbaa !11
  %28 = icmp ult i64 %27, 10000000
  br i1 %28, label %29, label %69

29:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  %30 = getelementptr inbounds %struct.r123array2x64, ptr %8, i32 0, i32 0
  %31 = getelementptr inbounds [2 x i64], ptr %30, i64 0, i64 0
  %32 = load i64, ptr %31, align 8, !tbaa !11
  %33 = add i64 %32, 1
  store i64 %33, ptr %31, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %8, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 %11, i64 16, i1 false), !tbaa.struct !13
  %34 = getelementptr inbounds { i64, i64 }, ptr %15, i32 0, i32 0
  %35 = load i64, ptr %34, align 8
  %36 = getelementptr inbounds { i64, i64 }, ptr %15, i32 0, i32 1
  %37 = load i64, ptr %36, align 8
  %38 = getelementptr inbounds { i64, i64 }, ptr %16, i32 0, i32 0
  %39 = load i64, ptr %38, align 8
  %40 = getelementptr inbounds { i64, i64 }, ptr %16, i32 0, i32 1
  %41 = load i64, ptr %40, align 8
  %42 = call { i64, i64 } @_ZL14threefry2x64_Rj13r123array2x64S_(i32 noundef 20, i64 %35, i64 %37, i64 %39, i64 %41)
  %43 = getelementptr inbounds %struct.r123array2x64, ptr %14, i32 0, i32 0
  %44 = getelementptr inbounds { i64, i64 }, ptr %43, i32 0, i32 0
  %45 = extractvalue { i64, i64 } %42, 0
  store i64 %45, ptr %44, align 8
  %46 = getelementptr inbounds { i64, i64 }, ptr %43, i32 0, i32 1
  %47 = extractvalue { i64, i64 } %42, 1
  store i64 %47, ptr %46, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %14, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #9
  %48 = getelementptr inbounds %struct.r123array2x64, ptr %9, i32 0, i32 0
  %49 = getelementptr inbounds [2 x i64], ptr %48, i64 0, i64 0
  %50 = load i64, ptr %49, align 8, !tbaa !11
  %51 = call noundef double @_ZN4r123L6uneg11IdmEET_T0_(i64 noundef %50)
  store double %51, ptr %12, align 8, !tbaa !15
  %52 = getelementptr inbounds %struct.r123array2x64, ptr %9, i32 0, i32 0
  %53 = getelementptr inbounds [2 x i64], ptr %52, i64 0, i64 1
  %54 = load i64, ptr %53, align 8, !tbaa !11
  %55 = call noundef double @_ZN4r123L6uneg11IdmEET_T0_(i64 noundef %54)
  store double %55, ptr %13, align 8, !tbaa !15
  %56 = load double, ptr %12, align 8, !tbaa !15
  %57 = load double, ptr %12, align 8, !tbaa !15
  %58 = load double, ptr %13, align 8, !tbaa !15
  %59 = load double, ptr %13, align 8, !tbaa !15
  %60 = fmul double %58, %59
  %61 = call double @llvm.fmuladd.f64(double %56, double %57, double %60)
  %62 = fcmp olt double %61, 1.000000e+00
  br i1 %62, label %63, label %66

63:                                               ; preds = %29
  %64 = load i64, ptr %6, align 8, !tbaa !11
  %65 = add i64 %64, 1
  store i64 %65, ptr %6, align 8, !tbaa !11
  br label %66

66:                                               ; preds = %63, %29
  %67 = load i64, ptr %7, align 8, !tbaa !11
  %68 = add i64 %67, 1
  store i64 %68, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  br label %26, !llvm.loop !17

69:                                               ; preds = %26
  %70 = load i64, ptr %6, align 8, !tbaa !11
  %71 = load i64, ptr %7, align 8, !tbaa !11
  %72 = call noundef i32 @_Z8pi_checkmm(i64 noundef %70, i64 noundef %71)
  %73 = load i32, ptr @errs, align 4, !tbaa !5
  %74 = add nsw i32 %73, %72
  store i32 %74, ptr @errs, align 4, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %11, i64 16, i1 false), !tbaa.struct !13
  %75 = getelementptr inbounds { i64, i64 }, ptr %17, i32 0, i32 0
  %76 = load i64, ptr %75, align 8
  %77 = getelementptr inbounds { i64, i64 }, ptr %17, i32 0, i32 1
  %78 = load i64, ptr %77, align 8
  call void @_Z2piIfN4r12314Threefry2x64_RILj20EEEEvNT0_8key_typeE(i64 %76, i64 %78)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %18, ptr align 8 %11, i64 16, i1 false), !tbaa.struct !13
  %79 = getelementptr inbounds { i64, i64 }, ptr %18, i32 0, i32 0
  %80 = load i64, ptr %79, align 8
  %81 = getelementptr inbounds { i64, i64 }, ptr %18, i32 0, i32 1
  %82 = load i64, ptr %81, align 8
  call void @_Z2piIdN4r12314Threefry2x64_RILj20EEEEvNT0_8key_typeE(i64 %80, i64 %82)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %19, ptr align 8 %11, i64 16, i1 false), !tbaa.struct !13
  %83 = getelementptr inbounds { i64, i64 }, ptr %19, i32 0, i32 0
  %84 = load i64, ptr %83, align 8
  %85 = getelementptr inbounds { i64, i64 }, ptr %19, i32 0, i32 1
  %86 = load i64, ptr %85, align 8
  call void @_Z2piIeN4r12314Threefry2x64_RILj20EEEEvNT0_8key_typeE(i64 %84, i64 %86)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 @__const.main.ukh, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %21, ptr align 4 %20, i64 8, i1 false), !tbaa.struct !19
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %21, i64 8, i1 false), !tbaa.struct !19
  %87 = getelementptr inbounds %struct.r123array2x32, ptr %22, i32 0, i32 0
  %88 = load i64, ptr %87, align 4
  call void @_Z2piIfN4r12314Threefry2x32_RILj20EEEEvNT0_8key_typeE(i64 %88)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %21, i64 8, i1 false), !tbaa.struct !19
  %89 = getelementptr inbounds %struct.r123array2x32, ptr %23, i32 0, i32 0
  %90 = load i64, ptr %89, align 4
  call void @_Z2piIdN4r12314Threefry2x32_RILj20EEEEvNT0_8key_typeE(i64 %90)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 4 %21, i64 8, i1 false), !tbaa.struct !19
  %91 = getelementptr inbounds %struct.r123array2x32, ptr %24, i32 0, i32 0
  %92 = load i64, ptr %91, align 4
  call void @_Z2piIeN4r12314Threefry2x32_RILj20EEEEvNT0_8key_typeE(i64 %92)
  %93 = load i32, ptr @errs, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  ret i32 %93
}

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

; Function Attrs: alwaysinline mustprogress uwtable
declare hidden { i64, i64 } @_ZL14threefry2x64_Rj13r123array2x64S_(i32 noundef, i64, i64, i64, i64) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef double @_ZN4r123L6uneg11IdmEET_T0_(i64 noundef) #7

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2piIfN4r12314Threefry2x64_RILj20EEEEvNT0_8key_typeE(i64, i64) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2piIdN4r12314Threefry2x64_RILj20EEEEvNT0_8key_typeE(i64, i64) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2piIeN4r12314Threefry2x64_RILj20EEEEvNT0_8key_typeE(i64, i64) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2piIfN4r12314Threefry2x32_RILj20EEEEvNT0_8key_typeE(i64) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2piIdN4r12314Threefry2x32_RILj20EEEEvNT0_8key_typeE(i64) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2piIeN4r12314Threefry2x32_RILj20EEEEvNT0_8key_typeE(i64) #0

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { mustprogress norecurse 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { alwaysinline 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 #7 = { 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 #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{i64 0, i64 16, !14}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{i64 0, i64 8, !14}


; 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.r123array2x64 = type { [2 x i64] }
%struct.r123array2x32 = type { [2 x i32] }

@errs = external dso_local local_unnamed_addr global i32, align 4
@__const.main.uk = external hidden unnamed_addr constant %struct.r123array2x64, align 8
@.str.6 = external hidden unnamed_addr constant [39 x i8], align 1
@__const.main.ukh = external hidden unnamed_addr constant %struct.r123array2x32, align 4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z8pi_checkmm(i64 noundef, i64 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #2 {
  %.sroa.024.0.copyload = load i64, ptr @__const.main.uk, align 8
  %.sroa.425.0.copyload = load i64, ptr getelementptr inbounds (i8, ptr @__const.main.uk, i64 8), align 8
  %3 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i64 noundef 10000000)
  br label %4

4:                                                ; preds = %2, %4
  %.037 = phi i64 [ 0, %2 ], [ %.1, %4 ]
  %.03436 = phi i64 [ 0, %2 ], [ %5, %4 ]
  %5 = add nuw nsw i64 %.03436, 1
  %6 = tail call { i64, i64 } @_ZL14threefry2x64_Rj13r123array2x64S_(i32 noundef 20, i64 %5, i64 0, i64 %.sroa.024.0.copyload, i64 %.sroa.425.0.copyload)
  %7 = extractvalue { i64, i64 } %6, 0
  %8 = extractvalue { i64, i64 } %6, 1
  %9 = tail call noundef double @_ZN4r123L6uneg11IdmEET_T0_(i64 noundef %7)
  %10 = tail call noundef double @_ZN4r123L6uneg11IdmEET_T0_(i64 noundef %8)
  %11 = fmul double %10, %10
  %12 = tail call double @llvm.fmuladd.f64(double %9, double %9, double %11)
  %13 = fcmp olt double %12, 1.000000e+00
  %14 = zext i1 %13 to i64
  %.1 = add i64 %.037, %14
  %exitcond.not = icmp eq i64 %5, 10000000
  br i1 %exitcond.not, label %15, label %4, !llvm.loop !5

15:                                               ; preds = %4
  %16 = tail call noundef i32 @_Z8pi_checkmm(i64 noundef %.1, i64 noundef 10000000)
  %17 = load i32, ptr @errs, align 4, !tbaa !7
  %18 = add nsw i32 %17, %16
  store i32 %18, ptr @errs, align 4, !tbaa !7
  tail call void @_Z2piIfN4r12314Threefry2x64_RILj20EEEEvNT0_8key_typeE(i64 %.sroa.024.0.copyload, i64 %.sroa.425.0.copyload)
  tail call void @_Z2piIdN4r12314Threefry2x64_RILj20EEEEvNT0_8key_typeE(i64 %.sroa.024.0.copyload, i64 %.sroa.425.0.copyload)
  tail call void @_Z2piIeN4r12314Threefry2x64_RILj20EEEEvNT0_8key_typeE(i64 %.sroa.024.0.copyload, i64 %.sroa.425.0.copyload)
  %.sroa.06.0.copyload = load i64, ptr @__const.main.ukh, align 4
  tail call void @_Z2piIfN4r12314Threefry2x32_RILj20EEEEvNT0_8key_typeE(i64 %.sroa.06.0.copyload)
  tail call void @_Z2piIdN4r12314Threefry2x32_RILj20EEEEvNT0_8key_typeE(i64 %.sroa.06.0.copyload)
  tail call void @_Z2piIeN4r12314Threefry2x32_RILj20EEEEvNT0_8key_typeE(i64 %.sroa.06.0.copyload)
  %19 = load i32, ptr @errs, align 4, !tbaa !7
  ret i32 %19
}

; Function Attrs: alwaysinline mustprogress uwtable
declare hidden { i64, i64 } @_ZL14threefry2x64_Rj13r123array2x64S_(i32 noundef, i64, i64, i64, i64) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef double @_ZN4r123L6uneg11IdmEET_T0_(i64 noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2piIfN4r12314Threefry2x64_RILj20EEEEvNT0_8key_typeE(i64, i64) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2piIdN4r12314Threefry2x64_RILj20EEEEvNT0_8key_typeE(i64, i64) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2piIeN4r12314Threefry2x64_RILj20EEEEvNT0_8key_typeE(i64, i64) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2piIfN4r12314Threefry2x32_RILj20EEEEvNT0_8key_typeE(i64) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2piIdN4r12314Threefry2x32_RILj20EEEEvNT0_8key_typeE(i64) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2piIeN4r12314Threefry2x32_RILj20EEEEvNT0_8key_typeE(i64) local_unnamed_addr #0

attributes #0 = { 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 #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 = { mustprogress norecurse 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 = { alwaysinline 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}


; Effective O3 passes: GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LoopRotatePass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass