; LLVM IR from ANL-CESAR/XSBench :: openmp-threading (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.Inputs = type { i32, i64, i64, i32, ptr, i32, i32, i32, i32, i32, i32 }
%struct.SimulationData = type { ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i64, i32, i32, ptr, i32, ptr, i32 }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [22 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca %struct.Inputs, align 8
  %13 = alloca %struct.SimulationData, align 8
  %14 = alloca %struct.SimulationData, align 8
  %15 = alloca %struct.SimulationData, align 8
  %16 = alloca i32, 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 4, ptr %6) #5
  store i32 20, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 1, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %12) #5
  %17 = load i32, ptr %4, align 4, !tbaa !5
  %18 = load ptr, ptr %5, align 8, !tbaa !9
  call void @read_CLI(ptr dead_on_unwind writable sret(%struct.Inputs) align 8 %12, i32 noundef %17, ptr noundef %18)
  %19 = load i32, ptr %7, align 4, !tbaa !5
  %20 = icmp eq i32 %19, 0
  br i1 %20, label %21, label %24

21:                                               ; preds = %2
  %22 = load i32, ptr %10, align 4, !tbaa !5
  %23 = load i32, ptr %6, align 4, !tbaa !5
  call void @print_inputs(ptr noundef byval(%struct.Inputs) align 8 %12, i32 noundef %22, i32 noundef %23)
  br label %24

24:                                               ; preds = %21, %2
  call void @llvm.lifetime.start.p0(i64 112, ptr %13) #5
  %25 = getelementptr inbounds %struct.Inputs, ptr %12, i32 0, i32 9
  %26 = load i32, ptr %25, align 8, !tbaa !11
  %27 = icmp eq i32 %26, 1
  br i1 %27, label %28, label %29

28:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 112, ptr %14) #5
  call void @binary_read(ptr dead_on_unwind writable sret(%struct.SimulationData) align 8 %14, ptr noundef byval(%struct.Inputs) align 8 %12)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %14, i64 112, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.end.p0(i64 112, ptr %14) #5
  br label %31

29:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 112, ptr %15) #5
  %30 = load i32, ptr %7, align 4, !tbaa !5
  call void @grid_init_do_not_profile(ptr dead_on_unwind writable sret(%struct.SimulationData) align 8 %15, ptr noundef byval(%struct.Inputs) align 8 %12, i32 noundef %30)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %15, i64 112, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.end.p0(i64 112, ptr %15) #5
  br label %31

31:                                               ; preds = %29, %28
  %32 = getelementptr inbounds %struct.Inputs, ptr %12, i32 0, i32 9
  %33 = load i32, ptr %32, align 8, !tbaa !11
  %34 = icmp eq i32 %33, 2
  br i1 %34, label %35, label %39

35:                                               ; preds = %31
  %36 = load i32, ptr %7, align 4, !tbaa !5
  %37 = icmp eq i32 %36, 0
  br i1 %37, label %38, label %39

38:                                               ; preds = %35
  call void @binary_write(ptr noundef byval(%struct.Inputs) align 8 %12, ptr noundef byval(%struct.SimulationData) align 8 %13)
  br label %39

39:                                               ; preds = %38, %35, %31
  %40 = load i32, ptr %7, align 4, !tbaa !5
  %41 = icmp eq i32 %40, 0
  br i1 %41, label %42, label %44

42:                                               ; preds = %39
  %43 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  call void @border_print()
  call void @center_print(ptr noundef @.str.1, i32 noundef 79)
  call void @border_print()
  br label %44

44:                                               ; preds = %42, %39
  %45 = call double @get_time()
  store double %45, ptr %8, align 8, !tbaa !16
  %46 = getelementptr inbounds %struct.Inputs, ptr %12, i32 0, i32 8
  %47 = load i32, ptr %46, align 4, !tbaa !18
  %48 = icmp eq i32 %47, 2
  br i1 %48, label %49, label %69

49:                                               ; preds = %44
  %50 = getelementptr inbounds %struct.Inputs, ptr %12, i32 0, i32 10
  %51 = load i32, ptr %50, align 4, !tbaa !19
  %52 = icmp eq i32 %51, 0
  br i1 %52, label %53, label %56

53:                                               ; preds = %49
  %54 = load i32, ptr %7, align 4, !tbaa !5
  %55 = call i64 @run_event_based_simulation(ptr noundef byval(%struct.Inputs) align 8 %12, ptr noundef byval(%struct.SimulationData) align 8 %13, i32 noundef %54)
  store i64 %55, ptr %11, align 8, !tbaa !20
  br label %68

56:                                               ; preds = %49
  %57 = getelementptr inbounds %struct.Inputs, ptr %12, i32 0, i32 10
  %58 = load i32, ptr %57, align 4, !tbaa !19
  %59 = icmp eq i32 %58, 1
  br i1 %59, label %60, label %63

60:                                               ; preds = %56
  %61 = load i32, ptr %7, align 4, !tbaa !5
  %62 = call i64 @run_event_based_simulation_optimization_1(ptr noundef byval(%struct.Inputs) align 8 %12, ptr noundef byval(%struct.SimulationData) align 8 %13, i32 noundef %61)
  store i64 %62, ptr %11, align 8, !tbaa !20
  br label %67

63:                                               ; preds = %56
  %64 = getelementptr inbounds %struct.Inputs, ptr %12, i32 0, i32 10
  %65 = load i32, ptr %64, align 4, !tbaa !19
  %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %65)
  call void @exit(i32 noundef 1) #6
  unreachable

67:                                               ; preds = %60
  br label %68

68:                                               ; preds = %67, %53
  br label %72

69:                                               ; preds = %44
  %70 = load i32, ptr %7, align 4, !tbaa !5
  %71 = call i64 @run_history_based_simulation(ptr noundef byval(%struct.Inputs) align 8 %12, ptr noundef byval(%struct.SimulationData) align 8 %13, i32 noundef %70)
  store i64 %71, ptr %11, align 8, !tbaa !20
  br label %72

72:                                               ; preds = %69, %68
  %73 = load i32, ptr %7, align 4, !tbaa !5
  %74 = icmp eq i32 %73, 0
  br i1 %74, label %75, label %78

75:                                               ; preds = %72
  %76 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %78

78:                                               ; preds = %75, %72
  %79 = call double @get_time()
  store double %79, ptr %9, align 8, !tbaa !16
  %80 = load i64, ptr %11, align 8, !tbaa !20
  %81 = urem i64 %80, 999983
  store i64 %81, ptr %11, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %82 = load i32, ptr %7, align 4, !tbaa !5
  %83 = load double, ptr %9, align 8, !tbaa !16
  %84 = load double, ptr %8, align 8, !tbaa !16
  %85 = fsub double %83, %84
  %86 = load i32, ptr %10, align 4, !tbaa !5
  %87 = load i64, ptr %11, align 8, !tbaa !20
  %88 = call i32 @print_results(ptr noundef byval(%struct.Inputs) align 8 %12, i32 noundef %82, double noundef %85, i32 noundef %86, i64 noundef %87)
  store i32 %88, ptr %16, align 4, !tbaa !5
  %89 = load i32, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  ret i32 %89
}

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

declare void @read_CLI(ptr dead_on_unwind writable sret(%struct.Inputs) align 8, i32 noundef, ptr noundef) #2

declare void @print_inputs(ptr noundef byval(%struct.Inputs) align 8, i32 noundef, i32 noundef) #2

declare void @binary_read(ptr dead_on_unwind writable sret(%struct.SimulationData) align 8, ptr noundef byval(%struct.Inputs) align 8) #2

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

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

declare void @grid_init_do_not_profile(ptr dead_on_unwind writable sret(%struct.SimulationData) align 8, ptr noundef byval(%struct.Inputs) align 8, i32 noundef) #2

declare void @binary_write(ptr noundef byval(%struct.Inputs) align 8, ptr noundef byval(%struct.SimulationData) align 8) #2

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

declare void @border_print() #2

declare void @center_print(ptr noundef, i32 noundef) #2

declare double @get_time() #2

declare i64 @run_event_based_simulation(ptr noundef byval(%struct.Inputs) align 8, ptr noundef byval(%struct.SimulationData) align 8, i32 noundef) #2

declare i64 @run_event_based_simulation_optimization_1(ptr noundef byval(%struct.Inputs) align 8, ptr noundef byval(%struct.SimulationData) align 8, i32 noundef) #2

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

declare i64 @run_history_based_simulation(ptr noundef byval(%struct.Inputs) align 8, ptr noundef byval(%struct.SimulationData) align 8, i32 noundef) #2

declare i32 @print_results(ptr noundef byval(%struct.Inputs) align 8, i32 noundef, double noundef, i32 noundef, i64 noundef) #2

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 = { "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 nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { nounwind }
attributes #6 = { 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 = !{!"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 = !{!12, !6, i64 56}
!12 = !{!"", !6, i64 0, !13, i64 8, !13, i64 16, !6, i64 24, !10, i64 32, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !6, i64 56, !6, i64 60}
!13 = !{!"long", !7, i64 0}
!14 = !{i64 0, i64 8, !9, i64 8, i64 8, !9, i64 16, i64 8, !9, i64 24, i64 8, !9, i64 32, i64 8, !9, i64 40, i64 8, !9, i64 48, i64 4, !5, i64 52, i64 4, !5, i64 56, i64 4, !5, i64 60, i64 4, !5, i64 64, i64 8, !15, i64 72, i64 4, !5, i64 76, i64 4, !5, i64 80, i64 8, !9, i64 88, i64 4, !5, i64 96, i64 8, !9, i64 104, i64 4, !5}
!15 = !{!13, !13, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"double", !7, i64 0}
!18 = !{!12, !6, i64 52}
!19 = !{!12, !6, i64 60}
!20 = !{!21, !21, i64 0}
!21 = !{!"long long", !7, 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"

%struct.Inputs = type { i32, i64, i64, i32, ptr, i32, i32, i32, i32, i32, i32 }
%struct.SimulationData = type { ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i64, i32, i32, ptr, i32, ptr, i32 }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [22 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca %struct.Inputs, align 8
  %4 = alloca %struct.SimulationData, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #5
  call void @read_CLI(ptr dead_on_unwind nonnull writable sret(%struct.Inputs) align 8 %3, i32 noundef %0, ptr noundef %1) #5
  call void @print_inputs(ptr noundef nonnull byval(%struct.Inputs) align 8 %3, i32 noundef 1, i32 noundef 20) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %4) #5
  %5 = getelementptr inbounds i8, ptr %3, i64 56
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = icmp eq i32 %6, 1
  br i1 %7, label %8, label %9

8:                                                ; preds = %2
  call void @binary_read(ptr dead_on_unwind nonnull writable sret(%struct.SimulationData) align 8 %4, ptr noundef nonnull byval(%struct.Inputs) align 8 %3) #5
  br label %10

9:                                                ; preds = %2
  call void @grid_init_do_not_profile(ptr dead_on_unwind nonnull writable sret(%struct.SimulationData) align 8 %4, ptr noundef nonnull byval(%struct.Inputs) align 8 %3, i32 noundef 0) #5
  br label %10

10:                                               ; preds = %9, %8
  %11 = load i32, ptr %5, align 8, !tbaa !5
  %12 = icmp eq i32 %11, 2
  br i1 %12, label %13, label %14

13:                                               ; preds = %10
  call void @binary_write(ptr noundef nonnull byval(%struct.Inputs) align 8 %3, ptr noundef nonnull byval(%struct.SimulationData) align 8 %4) #5
  br label %14

14:                                               ; preds = %10, %13
  %15 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  call void @border_print() #5
  call void @center_print(ptr noundef nonnull @.str.1, i32 noundef 79) #5
  call void @border_print() #5
  %16 = call double @get_time() #5
  %17 = getelementptr inbounds i8, ptr %3, i64 52
  %18 = load i32, ptr %17, align 4, !tbaa !12
  %19 = icmp eq i32 %18, 2
  br i1 %19, label %20, label %29

20:                                               ; preds = %14
  %21 = getelementptr inbounds i8, ptr %3, i64 60
  %22 = load i32, ptr %21, align 4, !tbaa !13
  switch i32 %22, label %27 [
    i32 0, label %23
    i32 1, label %25
  ]

23:                                               ; preds = %20
  %24 = call i64 @run_event_based_simulation(ptr noundef nonnull byval(%struct.Inputs) align 8 %3, ptr noundef nonnull byval(%struct.SimulationData) align 8 %4, i32 noundef 0) #5
  br label %31

25:                                               ; preds = %20
  %26 = call i64 @run_event_based_simulation_optimization_1(ptr noundef nonnull byval(%struct.Inputs) align 8 %3, ptr noundef nonnull byval(%struct.SimulationData) align 8 %4, i32 noundef 0) #5
  br label %31

27:                                               ; preds = %20
  %28 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %22)
  call void @exit(i32 noundef 1) #6
  unreachable

29:                                               ; preds = %14
  %30 = call i64 @run_history_based_simulation(ptr noundef nonnull byval(%struct.Inputs) align 8 %3, ptr noundef nonnull byval(%struct.SimulationData) align 8 %4, i32 noundef 0) #5
  br label %31

31:                                               ; preds = %29, %25, %23
  %.0 = phi i64 [ %24, %23 ], [ %26, %25 ], [ %30, %29 ]
  %32 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %33 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %34 = call double @get_time() #5
  %35 = urem i64 %.0, 999983
  %36 = fsub double %34, %16
  %37 = call i32 @print_results(ptr noundef nonnull byval(%struct.Inputs) align 8 %3, i32 noundef 0, double noundef %36, i32 noundef 1, i64 noundef %35) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #5
  ret i32 %37
}

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

declare void @read_CLI(ptr dead_on_unwind writable sret(%struct.Inputs) align 8, i32 noundef, ptr noundef) local_unnamed_addr #2

declare void @print_inputs(ptr noundef byval(%struct.Inputs) align 8, i32 noundef, i32 noundef) local_unnamed_addr #2

declare void @binary_read(ptr dead_on_unwind writable sret(%struct.SimulationData) align 8, ptr noundef byval(%struct.Inputs) align 8) local_unnamed_addr #2

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

declare void @grid_init_do_not_profile(ptr dead_on_unwind writable sret(%struct.SimulationData) align 8, ptr noundef byval(%struct.Inputs) align 8, i32 noundef) local_unnamed_addr #2

declare void @binary_write(ptr noundef byval(%struct.Inputs) align 8, ptr noundef byval(%struct.SimulationData) align 8) local_unnamed_addr #2

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

declare void @border_print() local_unnamed_addr #2

declare void @center_print(ptr noundef, i32 noundef) local_unnamed_addr #2

declare double @get_time() local_unnamed_addr #2

declare i64 @run_event_based_simulation(ptr noundef byval(%struct.Inputs) align 8, ptr noundef byval(%struct.SimulationData) align 8, i32 noundef) local_unnamed_addr #2

declare i64 @run_event_based_simulation_optimization_1(ptr noundef byval(%struct.Inputs) align 8, ptr noundef byval(%struct.SimulationData) align 8, i32 noundef) local_unnamed_addr #2

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #4

declare i64 @run_history_based_simulation(ptr noundef byval(%struct.Inputs) align 8, ptr noundef byval(%struct.SimulationData) align 8, i32 noundef) local_unnamed_addr #2

declare i32 @print_results(ptr noundef byval(%struct.Inputs) align 8, i32 noundef, double noundef, i32 noundef, i64 noundef) local_unnamed_addr #2

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 = { mustprogress 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 = { 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 #4 = { 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 #5 = { nounwind }
attributes #6 = { 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, !7, i64 56}
!6 = !{!"", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !11, i64 32, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 52}
!13 = !{!6, !7, i64 60}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,SROAPass,SimplifyCFGPass