; LLVM IR from tevador/RandomX :: src (randomx)

; 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.1 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [19 x i8], align 1
@__PRETTY_FUNCTION__.randomx_calculate_hash = external hidden unnamed_addr constant [72 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [17 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @randomx_calculate_hash(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca [8 x i64], align 16
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i64 %2, ptr %7, align 8, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = icmp ne ptr %15, null
  br i1 %16, label %17, label %18

17:                                               ; preds = %4
  br label %20

18:                                               ; preds = %4
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 362, ptr noundef @__PRETTY_FUNCTION__.randomx_calculate_hash) #7
  unreachable

19:                                               ; No predecessors!
  br label %20

20:                                               ; preds = %19, %17
  %21 = load i64, ptr %7, align 8, !tbaa !9
  %22 = icmp eq i64 %21, 0
  br i1 %22, label %26, label %23

23:                                               ; preds = %20
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = icmp ne ptr %24, null
  br label %26

26:                                               ; preds = %23, %20
  %27 = phi i1 [ true, %20 ], [ %25, %23 ]
  br i1 %27, label %28, label %29

28:                                               ; preds = %26
  br label %31

29:                                               ; preds = %26
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.1, i32 noundef 363, ptr noundef @__PRETTY_FUNCTION__.randomx_calculate_hash) #7
  unreachable

30:                                               ; No predecessors!
  br label %31

31:                                               ; preds = %30, %28
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = icmp ne ptr %32, null
  br i1 %33, label %34, label %35

34:                                               ; preds = %31
  br label %37

35:                                               ; preds = %31
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.1, i32 noundef 364, ptr noundef @__PRETTY_FUNCTION__.randomx_calculate_hash) #7
  unreachable

36:                                               ; No predecessors!
  br label %37

37:                                               ; preds = %36, %34
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  call void @llvm.x86.sse.stmxcsr(ptr %10)
  %38 = load i32, ptr %10, align 4
  store i32 %38, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 64, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %39 = getelementptr inbounds [8 x i64], ptr %11, i64 0, i64 0
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = load i64, ptr %7, align 8, !tbaa !9
  %42 = call i32 @randomx_blake2b(ptr noundef %39, i64 noundef 64, ptr noundef %40, i64 noundef %41, ptr noundef null, i64 noundef 0)
  store i32 %42, ptr %12, align 4, !tbaa !11
  %43 = load i32, ptr %12, align 4, !tbaa !11
  %44 = icmp eq i32 %43, 0
  br i1 %44, label %45, label %46

45:                                               ; preds = %37
  br label %48

46:                                               ; preds = %37
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.1, i32 noundef 375, ptr noundef @__PRETTY_FUNCTION__.randomx_calculate_hash) #7
  unreachable

47:                                               ; No predecessors!
  br label %48

48:                                               ; preds = %47, %45
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = load ptr, ptr %49, align 64, !tbaa !13
  %51 = getelementptr inbounds ptr, ptr %50, i64 7
  %52 = load ptr, ptr %51, align 8
  call void %52(ptr noundef nonnull align 64 dereferenceable(2672) %49, ptr noundef %11)
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN10randomx_vm17resetRoundingModeEv(ptr noundef nonnull align 64 dereferenceable(2672) %53)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !11
  br label %54

54:                                               ; preds = %73, %48
  %55 = load i32, ptr %13, align 4, !tbaa !11
  %56 = icmp slt i32 %55, 7
  br i1 %56, label %58, label %57

57:                                               ; preds = %54
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %76

58:                                               ; preds = %54
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = load ptr, ptr %59, align 64, !tbaa !13
  %61 = getelementptr inbounds ptr, ptr %60, i64 8
  %62 = load ptr, ptr %61, align 8
  call void %62(ptr noundef nonnull align 64 dereferenceable(2672) %59, ptr noundef %11)
  %63 = getelementptr inbounds [8 x i64], ptr %11, i64 0, i64 0
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = call noundef ptr @_ZN10randomx_vm15getRegisterFileEv(ptr noundef nonnull align 64 dereferenceable(2672) %64)
  %66 = call i32 @randomx_blake2b(ptr noundef %63, i64 noundef 64, ptr noundef %65, i64 noundef 256, ptr noundef null, i64 noundef 0)
  store i32 %66, ptr %12, align 4, !tbaa !11
  %67 = load i32, ptr %12, align 4, !tbaa !11
  %68 = icmp eq i32 %67, 0
  br i1 %68, label %69, label %70

69:                                               ; preds = %58
  br label %72

70:                                               ; preds = %58
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.1, i32 noundef 381, ptr noundef @__PRETTY_FUNCTION__.randomx_calculate_hash) #7
  unreachable

71:                                               ; No predecessors!
  br label %72

72:                                               ; preds = %71, %69
  br label %73

73:                                               ; preds = %72
  %74 = load i32, ptr %13, align 4, !tbaa !11
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %13, align 4, !tbaa !11
  br label %54, !llvm.loop !15

76:                                               ; preds = %57
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = load ptr, ptr %77, align 64, !tbaa !13
  %79 = getelementptr inbounds ptr, ptr %78, i64 8
  %80 = load ptr, ptr %79, align 8
  call void %80(ptr noundef nonnull align 64 dereferenceable(2672) %77, ptr noundef %11)
  %81 = load ptr, ptr %5, align 8, !tbaa !5
  %82 = load ptr, ptr %8, align 8, !tbaa !5
  %83 = load ptr, ptr %81, align 64, !tbaa !13
  %84 = getelementptr inbounds ptr, ptr %83, i64 3
  %85 = load ptr, ptr %84, align 8
  call void %85(ptr noundef nonnull align 64 dereferenceable(2672) %81, ptr noundef %82, i64 noundef 32)
  %86 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %86, ptr %14, align 4
  call void @llvm.x86.sse.ldmxcsr(ptr %14)
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  ret void
}

; Function Attrs: nounwind memory(argmem: write)
declare void @llvm.x86.sse.stmxcsr(ptr) #3

declare i32 @randomx_blake2b(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) #4

declare void @_ZN10randomx_vm17resetRoundingModeEv(ptr noundef nonnull align 64 dereferenceable(2672)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10randomx_vm15getRegisterFileEv(ptr noundef nonnull align 64 dereferenceable(2672)) #5 align 2

; Function Attrs: nounwind
declare void @llvm.x86.sse.ldmxcsr(ptr) #6

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { nounwind memory(argmem: write) }
attributes #4 = { "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 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 #6 = { nounwind }
attributes #7 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"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"

@.str.1 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [19 x i8], align 1
@__PRETTY_FUNCTION__.randomx_calculate_hash = external hidden unnamed_addr constant [72 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [17 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @randomx_calculate_hash(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) local_unnamed_addr #2 {
  %5 = alloca i32, align 4
  %6 = alloca [8 x i64], align 16
  %7 = alloca i32, align 4
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %8, label %9

8:                                                ; preds = %4
  tail call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.1, i32 noundef 362, ptr noundef nonnull @__PRETTY_FUNCTION__.randomx_calculate_hash) #7
  unreachable

9:                                                ; preds = %4
  %10 = icmp eq i64 %2, 0
  %11 = icmp ne ptr %1, null
  %12 = or i1 %11, %10
  br i1 %12, label %14, label %13

13:                                               ; preds = %9
  tail call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.1, i32 noundef 363, ptr noundef nonnull @__PRETTY_FUNCTION__.randomx_calculate_hash) #7
  unreachable

14:                                               ; preds = %9
  %.not19 = icmp eq ptr %3, null
  br i1 %.not19, label %15, label %16

15:                                               ; preds = %14
  tail call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.1, i32 noundef 364, ptr noundef nonnull @__PRETTY_FUNCTION__.randomx_calculate_hash) #7
  unreachable

16:                                               ; preds = %14
  call void @llvm.x86.sse.stmxcsr(ptr nonnull %5)
  %17 = load i32, ptr %5, align 4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #6
  %18 = call i32 @randomx_blake2b(ptr noundef nonnull %6, i64 noundef 64, ptr noundef %1, i64 noundef %2, ptr noundef null, i64 noundef 0)
  %19 = icmp eq i32 %18, 0
  br i1 %19, label %21, label %20

20:                                               ; preds = %16
  call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.1, i32 noundef 375, ptr noundef nonnull @__PRETTY_FUNCTION__.randomx_calculate_hash) #7
  unreachable

21:                                               ; preds = %16
  %22 = load ptr, ptr %0, align 64, !tbaa !5
  %23 = getelementptr inbounds i8, ptr %22, i64 56
  %24 = load ptr, ptr %23, align 8
  call void %24(ptr noundef nonnull align 64 dereferenceable(2672) %0, ptr noundef nonnull %6)
  call void @_ZN10randomx_vm17resetRoundingModeEv(ptr noundef nonnull align 64 dereferenceable(2672) %0)
  %25 = load ptr, ptr %0, align 64, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %25, i64 64
  %27 = load ptr, ptr %26, align 8
  call void %27(ptr noundef nonnull align 64 dereferenceable(2672) %0, ptr noundef nonnull %6)
  %28 = call noundef ptr @_ZN10randomx_vm15getRegisterFileEv(ptr noundef nonnull align 64 dereferenceable(2672) %0)
  %29 = call i32 @randomx_blake2b(ptr noundef nonnull %6, i64 noundef 64, ptr noundef %28, i64 noundef 256, ptr noundef null, i64 noundef 0)
  %30 = icmp eq i32 %29, 0
  br i1 %30, label %31, label %80

31:                                               ; preds = %21
  %32 = load ptr, ptr %0, align 64, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %32, i64 64
  %34 = load ptr, ptr %33, align 8
  call void %34(ptr noundef nonnull align 64 dereferenceable(2672) %0, ptr noundef nonnull %6)
  %35 = call noundef ptr @_ZN10randomx_vm15getRegisterFileEv(ptr noundef nonnull align 64 dereferenceable(2672) %0)
  %36 = call i32 @randomx_blake2b(ptr noundef nonnull %6, i64 noundef 64, ptr noundef %35, i64 noundef 256, ptr noundef null, i64 noundef 0)
  %37 = icmp eq i32 %36, 0
  br i1 %37, label %38, label %80

38:                                               ; preds = %31
  %39 = load ptr, ptr %0, align 64, !tbaa !5
  %40 = getelementptr inbounds i8, ptr %39, i64 64
  %41 = load ptr, ptr %40, align 8
  call void %41(ptr noundef nonnull align 64 dereferenceable(2672) %0, ptr noundef nonnull %6)
  %42 = call noundef ptr @_ZN10randomx_vm15getRegisterFileEv(ptr noundef nonnull align 64 dereferenceable(2672) %0)
  %43 = call i32 @randomx_blake2b(ptr noundef nonnull %6, i64 noundef 64, ptr noundef %42, i64 noundef 256, ptr noundef null, i64 noundef 0)
  %44 = icmp eq i32 %43, 0
  br i1 %44, label %45, label %80

45:                                               ; preds = %38
  %46 = load ptr, ptr %0, align 64, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %46, i64 64
  %48 = load ptr, ptr %47, align 8
  call void %48(ptr noundef nonnull align 64 dereferenceable(2672) %0, ptr noundef nonnull %6)
  %49 = call noundef ptr @_ZN10randomx_vm15getRegisterFileEv(ptr noundef nonnull align 64 dereferenceable(2672) %0)
  %50 = call i32 @randomx_blake2b(ptr noundef nonnull %6, i64 noundef 64, ptr noundef %49, i64 noundef 256, ptr noundef null, i64 noundef 0)
  %51 = icmp eq i32 %50, 0
  br i1 %51, label %52, label %80

52:                                               ; preds = %45
  %53 = load ptr, ptr %0, align 64, !tbaa !5
  %54 = getelementptr inbounds i8, ptr %53, i64 64
  %55 = load ptr, ptr %54, align 8
  call void %55(ptr noundef nonnull align 64 dereferenceable(2672) %0, ptr noundef nonnull %6)
  %56 = call noundef ptr @_ZN10randomx_vm15getRegisterFileEv(ptr noundef nonnull align 64 dereferenceable(2672) %0)
  %57 = call i32 @randomx_blake2b(ptr noundef nonnull %6, i64 noundef 64, ptr noundef %56, i64 noundef 256, ptr noundef null, i64 noundef 0)
  %58 = icmp eq i32 %57, 0
  br i1 %58, label %59, label %80

59:                                               ; preds = %52
  %60 = load ptr, ptr %0, align 64, !tbaa !5
  %61 = getelementptr inbounds i8, ptr %60, i64 64
  %62 = load ptr, ptr %61, align 8
  call void %62(ptr noundef nonnull align 64 dereferenceable(2672) %0, ptr noundef nonnull %6)
  %63 = call noundef ptr @_ZN10randomx_vm15getRegisterFileEv(ptr noundef nonnull align 64 dereferenceable(2672) %0)
  %64 = call i32 @randomx_blake2b(ptr noundef nonnull %6, i64 noundef 64, ptr noundef %63, i64 noundef 256, ptr noundef null, i64 noundef 0)
  %65 = icmp eq i32 %64, 0
  br i1 %65, label %66, label %80

66:                                               ; preds = %59
  %67 = load ptr, ptr %0, align 64, !tbaa !5
  %68 = getelementptr inbounds i8, ptr %67, i64 64
  %69 = load ptr, ptr %68, align 8
  call void %69(ptr noundef nonnull align 64 dereferenceable(2672) %0, ptr noundef nonnull %6)
  %70 = call noundef ptr @_ZN10randomx_vm15getRegisterFileEv(ptr noundef nonnull align 64 dereferenceable(2672) %0)
  %71 = call i32 @randomx_blake2b(ptr noundef nonnull %6, i64 noundef 64, ptr noundef %70, i64 noundef 256, ptr noundef null, i64 noundef 0)
  %72 = icmp eq i32 %71, 0
  br i1 %72, label %73, label %80

73:                                               ; preds = %66
  %74 = load ptr, ptr %0, align 64, !tbaa !5
  %75 = getelementptr inbounds i8, ptr %74, i64 64
  %76 = load ptr, ptr %75, align 8
  call void %76(ptr noundef nonnull align 64 dereferenceable(2672) %0, ptr noundef nonnull %6)
  %77 = load ptr, ptr %0, align 64, !tbaa !5
  %78 = getelementptr inbounds i8, ptr %77, i64 24
  %79 = load ptr, ptr %78, align 8
  call void %79(ptr noundef nonnull align 64 dereferenceable(2672) %0, ptr noundef nonnull %3, i64 noundef 32)
  store i32 %17, ptr %7, align 4
  call void @llvm.x86.sse.ldmxcsr(ptr nonnull %7)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #6
  ret void

80:                                               ; preds = %66, %59, %52, %45, %38, %31, %21
  call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.1, i32 noundef 381, ptr noundef nonnull @__PRETTY_FUNCTION__.randomx_calculate_hash) #7
  unreachable
}

; Function Attrs: nounwind memory(argmem: write)
declare void @llvm.x86.sse.stmxcsr(ptr) #3

declare i32 @randomx_blake2b(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #4

declare void @_ZN10randomx_vm17resetRoundingModeEv(ptr noundef nonnull align 64 dereferenceable(2672)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10randomx_vm15getRegisterFileEv(ptr noundef nonnull align 64 dereferenceable(2672)) local_unnamed_addr #5 align 2

; Function Attrs: nounwind
declare void @llvm.x86.sse.ldmxcsr(ptr) #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { nounwind memory(argmem: write) }
attributes #4 = { "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 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 #6 = { nounwind }
attributes #7 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}


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