; LLVM IR from ugnmura/bouncing-balls :: src (main)

; 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.ball = type { %struct.physics_body, float, float }
%struct.physics_body = type { %struct.vf, %struct.vf, %struct.vf }
%struct.vf = type { float, float }

@balls = external dso_local global [20 x %struct.ball], align 16
@screen_buffer = external dso_local global [8192 x i8], align 16

; Function Attrs: nounwind uwtable
declare dso_local <2 x float> @vf_makeff(float noundef, float noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @create_body(ptr dead_on_unwind noalias writable sret(%struct.physics_body) align 4, <2 x float>, <2 x float>, <2 x float>) #0

; 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) #1

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @create_ball(ptr dead_on_unwind noalias writable sret(%struct.ball) align 4, ptr noundef byval(%struct.physics_body) align 8, float noundef, float noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local void @update_ball(ptr noundef, i32 noundef, i32 noundef, float noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @rand_range(i32 noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
define dso_local i32 @run_ball(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca %struct.vf, align 4
  %5 = alloca %struct.vf, align 4
  %6 = alloca %struct.vf, align 4
  %7 = alloca %struct.physics_body, align 8
  %8 = alloca %struct.ball, align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %10 = call i64 @time(ptr noundef null) #6
  %11 = trunc i64 %10 to i32
  call void @srand(i32 noundef %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %12

12:                                               ; preds = %45, %1
  %13 = load i32, ptr %3, align 4, !tbaa !9
  %14 = icmp slt i32 %13, 20
  br i1 %14, label %16, label %15

15:                                               ; preds = %12
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %48

16:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %17 = call i32 @rand_range(i32 noundef 32, i32 noundef 96)
  %18 = sitofp i32 %17 to float
  %19 = call i32 @rand_range(i32 noundef 16, i32 noundef 48)
  %20 = sitofp i32 %19 to float
  %21 = call <2 x float> @vf_makeff(float noundef %18, float noundef %20)
  store <2 x float> %21, ptr %4, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %22 = call i32 @rand_range(i32 noundef -100, i32 noundef 100)
  %23 = sitofp i32 %22 to float
  %24 = fdiv float %23, 1.000000e+01
  %25 = call i32 @rand_range(i32 noundef -100, i32 noundef 100)
  %26 = sitofp i32 %25 to float
  %27 = fdiv float %26, 1.000000e+01
  %28 = call <2 x float> @vf_makeff(float noundef %24, float noundef %27)
  store <2 x float> %28, ptr %5, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %29 = call i32 @rand_range(i32 noundef 10, i32 noundef 100)
  %30 = sitofp i32 %29 to float
  %31 = fdiv float %30, 1.000000e+01
  %32 = call <2 x float> @vf_makeff(float noundef 0.000000e+00, float noundef %31)
  store <2 x float> %32, ptr %6, align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #6
  %33 = load <2 x float>, ptr %4, align 4
  %34 = load <2 x float>, ptr %5, align 4
  %35 = load <2 x float>, ptr %6, align 4
  call void @create_body(ptr dead_on_unwind writable sret(%struct.physics_body) align 4 %7, <2 x float> %33, <2 x float> %34, <2 x float> %35)
  %36 = load i32, ptr %3, align 4, !tbaa !9
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [20 x %struct.ball], ptr @balls, i64 0, i64 %37
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #6
  %39 = call i32 @rand_range(i32 noundef 10, i32 noundef 100)
  %40 = sitofp i32 %39 to float
  %41 = fdiv float %40, 1.000000e+01
  %42 = call i32 @rand_range(i32 noundef 70, i32 noundef 100)
  %43 = sitofp i32 %42 to float
  %44 = fdiv float %43, 1.000000e+02
  call void @create_ball(ptr dead_on_unwind writable sret(%struct.ball) align 4 %8, ptr noundef byval(%struct.physics_body) align 8 %7, float noundef %41, float noundef %44)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %38, ptr align 4 %8, i64 32, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  br label %45

45:                                               ; preds = %16
  %46 = load i32, ptr %3, align 4, !tbaa !9
  %47 = add nsw i32 %46, 1
  store i32 %47, ptr %3, align 4, !tbaa !9
  br label %12, !llvm.loop !14

48:                                               ; preds = %15
  br label %49

49:                                               ; preds = %62, %48
  %50 = load ptr, ptr %2, align 8, !tbaa !5
  call void @clear(ptr noundef %50, ptr noundef @screen_buffer, i32 noundef 128, i32 noundef 64)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %51

51:                                               ; preds = %59, %49
  %52 = load i32, ptr %9, align 4, !tbaa !9
  %53 = icmp slt i32 %52, 20
  br i1 %53, label %55, label %54

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

55:                                               ; preds = %51
  %56 = load i32, ptr %9, align 4, !tbaa !9
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [20 x %struct.ball], ptr @balls, i64 0, i64 %57
  call void @update_ball(ptr noundef %58, i32 noundef 128, i32 noundef 64, float noundef 0x3FA99999A0000000, ptr noundef @screen_buffer)
  br label %59

59:                                               ; preds = %55
  %60 = load i32, ptr %9, align 4, !tbaa !9
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %9, align 4, !tbaa !9
  br label %51, !llvm.loop !16

62:                                               ; preds = %54
  %63 = load ptr, ptr %2, align 8, !tbaa !5
  call void @show(ptr noundef %63, ptr noundef @screen_buffer, i32 noundef 128, i32 noundef 64)
  %64 = load ptr, ptr %2, align 8, !tbaa !5
  %65 = call i32 @fflush(ptr noundef %64)
  %66 = call i32 @usleep(i32 noundef 50000)
  br label %49
}

; Function Attrs: nounwind
declare void @srand(i32 noundef) #4

; Function Attrs: nounwind
declare i64 @time(ptr noundef) #4

declare i32 @fflush(ptr noundef) #5

declare i32 @usleep(i32 noundef) #5

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "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 nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 "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 = { "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 }

!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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{i64 0, i64 4, !12, i64 4, i64 4, !12, i64 8, i64 4, !12, i64 12, i64 4, !12, i64 16, i64 4, !12, i64 20, i64 4, !12, i64 24, i64 4, !12, i64 28, i64 4, !12}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}


; 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.ball = type { %struct.physics_body, float, float }
%struct.physics_body = type { %struct.vf, %struct.vf, %struct.vf }
%struct.vf = type { float, float }

@balls = external dso_local global [20 x %struct.ball], align 16
@screen_buffer = external dso_local global [8192 x i8], align 16

; Function Attrs: nounwind uwtable
declare dso_local <2 x float> @vf_makeff(float noundef, float noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @create_body(ptr dead_on_unwind noalias writable sret(%struct.physics_body) align 4, <2 x float>, <2 x float>, <2 x float>) local_unnamed_addr #0

; Function Attrs: mustprogress 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) #1

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @create_ball(ptr dead_on_unwind noalias writable sret(%struct.ball) align 4, ptr noundef byval(%struct.physics_body) align 8, float noundef, float noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local void @update_ball(ptr noundef, i32 noundef, i32 noundef, float noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @rand_range(i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: noreturn nounwind uwtable
define dso_local noundef i32 @run_ball(ptr noundef %0) local_unnamed_addr #4 {
  %2 = alloca %struct.physics_body, align 8
  %3 = alloca %struct.ball, align 4
  %4 = tail call i64 @time(ptr noundef null) #8
  %5 = trunc i64 %4 to i32
  tail call void @srand(i32 noundef %5) #8
  br label %6

6:                                                ; preds = %1, %6
  %indvars.iv = phi i64 [ 0, %1 ], [ %indvars.iv.next, %6 ]
  %7 = call i32 @rand_range(i32 noundef 32, i32 noundef 96)
  %8 = sitofp i32 %7 to float
  %9 = call i32 @rand_range(i32 noundef 16, i32 noundef 48)
  %10 = sitofp i32 %9 to float
  %11 = call <2 x float> @vf_makeff(float noundef %8, float noundef %10)
  %12 = call i32 @rand_range(i32 noundef -100, i32 noundef 100)
  %13 = sitofp i32 %12 to float
  %14 = fdiv float %13, 1.000000e+01
  %15 = call i32 @rand_range(i32 noundef -100, i32 noundef 100)
  %16 = sitofp i32 %15 to float
  %17 = fdiv float %16, 1.000000e+01
  %18 = call <2 x float> @vf_makeff(float noundef %14, float noundef %17)
  %19 = call i32 @rand_range(i32 noundef 10, i32 noundef 100)
  %20 = sitofp i32 %19 to float
  %21 = fdiv float %20, 1.000000e+01
  %22 = call <2 x float> @vf_makeff(float noundef 0.000000e+00, float noundef %21)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #8
  call void @create_body(ptr dead_on_unwind nonnull writable sret(%struct.physics_body) align 4 %2, <2 x float> %11, <2 x float> %18, <2 x float> %22)
  %23 = getelementptr inbounds [20 x %struct.ball], ptr @balls, i64 0, i64 %indvars.iv
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #8
  %24 = call i32 @rand_range(i32 noundef 10, i32 noundef 100)
  %25 = sitofp i32 %24 to float
  %26 = fdiv float %25, 1.000000e+01
  %27 = call i32 @rand_range(i32 noundef 70, i32 noundef 100)
  %28 = sitofp i32 %27 to float
  %29 = fdiv float %28, 1.000000e+02
  call void @create_ball(ptr dead_on_unwind nonnull writable sret(%struct.ball) align 4 %3, ptr noundef nonnull byval(%struct.physics_body) align 8 %2, float noundef %26, float noundef %29)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %23, ptr noundef nonnull align 4 dereferenceable(32) %3, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 20
  br i1 %exitcond.not, label %.preheader, label %6, !llvm.loop !10

.preheader:                                       ; preds = %6, %.preheader
  call void @clear(ptr noundef %0, ptr noundef nonnull @screen_buffer, i32 noundef 128, i32 noundef 64)
  call void @update_ball(ptr noundef nonnull @balls, i32 noundef 128, i32 noundef 64, float noundef 0x3FA99999A0000000, ptr noundef nonnull @screen_buffer)
  call void @update_ball(ptr noundef nonnull getelementptr inbounds (i8, ptr @balls, i64 32), i32 noundef 128, i32 noundef 64, float noundef 0x3FA99999A0000000, ptr noundef nonnull @screen_buffer)
  call void @update_ball(ptr noundef nonnull getelementptr inbounds (i8, ptr @balls, i64 64), i32 noundef 128, i32 noundef 64, float noundef 0x3FA99999A0000000, ptr noundef nonnull @screen_buffer)
  call void @update_ball(ptr noundef nonnull getelementptr inbounds (i8, ptr @balls, i64 96), i32 noundef 128, i32 noundef 64, float noundef 0x3FA99999A0000000, ptr noundef nonnull @screen_buffer)
  call void @update_ball(ptr noundef nonnull getelementptr inbounds (i8, ptr @balls, i64 128), i32 noundef 128, i32 noundef 64, float noundef 0x3FA99999A0000000, ptr noundef nonnull @screen_buffer)
  call void @update_ball(ptr noundef nonnull getelementptr inbounds (i8, ptr @balls, i64 160), i32 noundef 128, i32 noundef 64, float noundef 0x3FA99999A0000000, ptr noundef nonnull @screen_buffer)
  call void @update_ball(ptr noundef nonnull getelementptr inbounds (i8, ptr @balls, i64 192), i32 noundef 128, i32 noundef 64, float noundef 0x3FA99999A0000000, ptr noundef nonnull @screen_buffer)
  call void @update_ball(ptr noundef nonnull getelementptr inbounds (i8, ptr @balls, i64 224), i32 noundef 128, i32 noundef 64, float noundef 0x3FA99999A0000000, ptr noundef nonnull @screen_buffer)
  call void @update_ball(ptr noundef nonnull getelementptr inbounds (i8, ptr @balls, i64 256), i32 noundef 128, i32 noundef 64, float noundef 0x3FA99999A0000000, ptr noundef nonnull @screen_buffer)
  call void @update_ball(ptr noundef nonnull getelementptr inbounds (i8, ptr @balls, i64 288), i32 noundef 128, i32 noundef 64, float noundef 0x3FA99999A0000000, ptr noundef nonnull @screen_buffer)
  call void @update_ball(ptr noundef nonnull getelementptr inbounds (i8, ptr @balls, i64 320), i32 noundef 128, i32 noundef 64, float noundef 0x3FA99999A0000000, ptr noundef nonnull @screen_buffer)
  call void @update_ball(ptr noundef nonnull getelementptr inbounds (i8, ptr @balls, i64 352), i32 noundef 128, i32 noundef 64, float noundef 0x3FA99999A0000000, ptr noundef nonnull @screen_buffer)
  call void @update_ball(ptr noundef nonnull getelementptr inbounds (i8, ptr @balls, i64 384), i32 noundef 128, i32 noundef 64, float noundef 0x3FA99999A0000000, ptr noundef nonnull @screen_buffer)
  call void @update_ball(ptr noundef nonnull getelementptr inbounds (i8, ptr @balls, i64 416), i32 noundef 128, i32 noundef 64, float noundef 0x3FA99999A0000000, ptr noundef nonnull @screen_buffer)
  call void @update_ball(ptr noundef nonnull getelementptr inbounds (i8, ptr @balls, i64 448), i32 noundef 128, i32 noundef 64, float noundef 0x3FA99999A0000000, ptr noundef nonnull @screen_buffer)
  call void @update_ball(ptr noundef nonnull getelementptr inbounds (i8, ptr @balls, i64 480), i32 noundef 128, i32 noundef 64, float noundef 0x3FA99999A0000000, ptr noundef nonnull @screen_buffer)
  call void @update_ball(ptr noundef nonnull getelementptr inbounds (i8, ptr @balls, i64 512), i32 noundef 128, i32 noundef 64, float noundef 0x3FA99999A0000000, ptr noundef nonnull @screen_buffer)
  call void @update_ball(ptr noundef nonnull getelementptr inbounds (i8, ptr @balls, i64 544), i32 noundef 128, i32 noundef 64, float noundef 0x3FA99999A0000000, ptr noundef nonnull @screen_buffer)
  call void @update_ball(ptr noundef nonnull getelementptr inbounds (i8, ptr @balls, i64 576), i32 noundef 128, i32 noundef 64, float noundef 0x3FA99999A0000000, ptr noundef nonnull @screen_buffer)
  call void @update_ball(ptr noundef nonnull getelementptr inbounds (i8, ptr @balls, i64 608), i32 noundef 128, i32 noundef 64, float noundef 0x3FA99999A0000000, ptr noundef nonnull @screen_buffer)
  call void @show(ptr noundef %0, ptr noundef nonnull @screen_buffer, i32 noundef 128, i32 noundef 64)
  %30 = call i32 @fflush(ptr noundef %0)
  %31 = call i32 @usleep(i32 noundef 50000) #8
  br label %.preheader
}

; Function Attrs: nounwind
declare void @srand(i32 noundef) local_unnamed_addr #5

; Function Attrs: nounwind
declare i64 @time(ptr noundef) local_unnamed_addr #5

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #6

declare i32 @usleep(i32 noundef) local_unnamed_addr #7

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "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 nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { noreturn nounwind uwtable "min-legal-vector-width"="64" "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 "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 = { 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 #7 = { "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 = { 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 = !{i64 0, i64 4, !6, i64 4, i64 4, !6, i64 8, i64 4, !6, i64 12, i64 4, !6, i64 16, i64 4, !6, i64 20, i64 4, !6, i64 24, i64 4, !6, i64 28, i64 4, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass