; LLVM IR from NTHU-LSALAB/Gemini :: src/pod-manager.ll (Z17retrieve_mem_infoiil)

; 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.timeval = type { i64, i64 }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon = type { ptr, ptr, ptr }

@gpu_mem_limit = external dso_local global i64, align 8
@gpu_mem_used = external dso_local global i64, align 8
@.str = external hidden unnamed_addr constant [26 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [72 x i8], align 1
@__PRETTY_FUNCTION__._Z17retrieve_mem_infoiil = external hidden unnamed_addr constant [50 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [29 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z17retrieve_mem_infoiil(i32 noundef %0, i32 noundef %1, i64 noundef %2) #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca [80 x i8], align 16
  %10 = alloca [40 x i8], align 16
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca %struct.timeval, align 8
  %14 = alloca %"class.std::function", align 8
  %15 = alloca %class.anon, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  store i32 %0, ptr %5, align 4, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !5
  store i64 %2, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 80, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  store i64 0, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #7
  %19 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 0
  %20 = load i64, ptr %7, align 8, !tbaa !9
  store i64 %20, ptr %19, align 8, !tbaa !11
  %21 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 1
  store i64 0, ptr %21, align 8, !tbaa !13
  %22 = load i32, ptr %5, align 4, !tbaa !5
  %23 = call i32 @setsockopt(i32 noundef %22, i32 noundef 1, i32 noundef 20, ptr noundef %13, i32 noundef 16) #7
  %24 = getelementptr inbounds [80 x i8], ptr %9, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %24, i8 0, i64 80, i1 false)
  %25 = getelementptr inbounds [80 x i8], ptr %9, i64 0, i64 0
  %26 = call noundef i32 (ptr, i32, ...) @_Z15prepare_requestPc14comm_request_tz(ptr noundef %25, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #7
  %27 = getelementptr inbounds %class.anon, ptr %15, i32 0, i32 0
  store ptr %5, ptr %27, align 8, !tbaa !14
  %28 = getelementptr inbounds %class.anon, ptr %15, i32 0, i32 1
  store ptr %9, ptr %28, align 8, !tbaa !14
  %29 = getelementptr inbounds %class.anon, ptr %15, i32 0, i32 2
  store ptr %10, ptr %29, align 8, !tbaa !14
  call void @"_ZNSt8functionIFivEEC2IZ17retrieve_mem_infoiilE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(24) %15)
  %30 = load i32, ptr %6, align 4, !tbaa !5
  %31 = invoke noundef i32 @_Z16multiple_attemptSt8functionIFivEEii(ptr noundef %14, i32 noundef %30, i32 noundef 0)
          to label %32 unwind label %40

32:                                               ; preds = %3
  store i32 %31, ptr %8, align 4, !tbaa !5
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #7
  %33 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 0
  store i64 0, ptr %33, align 8, !tbaa !11
  %34 = load i32, ptr %5, align 4, !tbaa !5
  %35 = call i32 @setsockopt(i32 noundef %34, i32 noundef 1, i32 noundef 20, ptr noundef %13, i32 noundef 16) #7
  %36 = load i32, ptr %8, align 4, !tbaa !5
  %37 = icmp ne i32 %36, 0
  br i1 %37, label %38, label %44

38:                                               ; preds = %32
  %39 = load i32, ptr %8, align 4, !tbaa !5
  store i32 %39, ptr %4, align 4
  store i32 1, ptr %18, align 4
  br label %58

40:                                               ; preds = %3
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %16, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %17, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %60

44:                                               ; preds = %32
  %45 = getelementptr inbounds [40 x i8], ptr %10, i64 0, i64 0
  %46 = call noundef ptr @_Z14parse_responsePcPi(ptr noundef %45, ptr noundef null)
  store ptr %46, ptr %11, align 8, !tbaa !14
  %47 = load ptr, ptr %11, align 8, !tbaa !14
  %48 = call noundef i64 @_Z12get_msg_dataImET_PcRm(ptr noundef %47, ptr noundef nonnull align 8 dereferenceable(8) %12)
  store i64 %48, ptr @gpu_mem_used, align 8, !tbaa !9
  %49 = load ptr, ptr %11, align 8, !tbaa !14
  %50 = call noundef i64 @_Z12get_msg_dataImET_PcRm(ptr noundef %49, ptr noundef nonnull align 8 dereferenceable(8) %12)
  store i64 %50, ptr @gpu_mem_limit, align 8, !tbaa !9
  %51 = load i64, ptr @gpu_mem_used, align 8, !tbaa !9
  %52 = icmp eq i64 %51, 0
  br i1 %52, label %53, label %54

53:                                               ; preds = %44
  br label %56

54:                                               ; preds = %44
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.4, i32 noundef 138, ptr noundef @__PRETTY_FUNCTION__._Z17retrieve_mem_infoiil) #8
  unreachable

55:                                               ; No predecessors!
  br label %56

56:                                               ; preds = %55, %53
  %57 = load i64, ptr @gpu_mem_limit, align 8, !tbaa !9
  call void (ptr, ...) @_Z4INFOPKcz(ptr noundef @.str.5, i64 noundef %57)
  store i32 0, ptr %4, align 4
  store i32 1, ptr %18, align 4
  br label %58

58:                                               ; preds = %56, %38
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  %59 = load i32, ptr %4, align 4
  ret i32 %59

60:                                               ; preds = %40
  %61 = load ptr, ptr %16, align 8
  %62 = load i32, ptr %17, align 4
  %63 = insertvalue { ptr, i32 } poison, ptr %61, 0
  %64 = insertvalue { ptr, i32 } %63, i32 %62, 1
  resume { ptr, i32 } %64
}

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

; Function Attrs: nounwind
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

declare noundef i32 @_Z15prepare_requestPc14comm_request_tz(ptr noundef, i32 noundef, ...) #4

declare noundef i32 @_Z16multiple_attemptSt8functionIFivEEii(ptr noundef, i32 noundef, i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFivEEC2IZ17retrieve_mem_infoiilE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5 align 2

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

declare noundef ptr @_Z14parse_responsePcPi(ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z12get_msg_dataImET_PcRm(ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #6

declare void @_Z4INFOPKcz(ptr noundef, ...) #4

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 = { 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 #3 = { nocallback nofree nounwind willreturn 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 = { 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 #7 = { nounwind }
attributes #8 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTS7timeval", !10, i64 0, !10, i64 8}
!13 = !{!12, !10, i64 8}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !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.timeval = type { i64, i64 }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon = type { ptr, ptr, ptr }

@gpu_mem_limit = external dso_local local_unnamed_addr global i64, align 8
@gpu_mem_used = external dso_local local_unnamed_addr global i64, align 8
@.str = external hidden unnamed_addr constant [26 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [72 x i8], align 1
@__PRETTY_FUNCTION__._Z17retrieve_mem_infoiil = external hidden unnamed_addr constant [50 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [29 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z17retrieve_mem_infoiil(i32 noundef %0, i32 noundef %1, i64 noundef %2) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca [80 x i8], align 16
  %6 = alloca [40 x i8], align 16
  %7 = alloca i64, align 8
  %8 = alloca %struct.timeval, align 8
  %9 = alloca %"class.std::function", align 8
  %10 = alloca %class.anon, align 8
  store i32 %0, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  store i64 0, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  store i64 %2, ptr %8, align 8, !tbaa !11
  %11 = getelementptr inbounds i8, ptr %8, i64 8
  store i64 0, ptr %11, align 8, !tbaa !13
  %12 = call i32 @setsockopt(i32 noundef %0, i32 noundef 1, i32 noundef 20, ptr noundef nonnull %8, i32 noundef 16) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(80) %5, i8 0, i64 80, i1 false)
  %13 = call noundef i32 (ptr, i32, ...) @_Z15prepare_requestPc14comm_request_tz(ptr noundef nonnull %5, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #7
  store ptr %4, ptr %10, align 8, !tbaa !14
  %14 = getelementptr inbounds i8, ptr %10, i64 8
  store ptr %5, ptr %14, align 8, !tbaa !14
  %15 = getelementptr inbounds i8, ptr %10, i64 16
  store ptr %6, ptr %15, align 8, !tbaa !14
  call void @"_ZNSt8functionIFivEEC2IZ17retrieve_mem_infoiilE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(24) %10)
  %16 = invoke noundef i32 @_Z16multiple_attemptSt8functionIFivEEii(ptr noundef nonnull %9, i32 noundef %1, i32 noundef 0)
          to label %17 unwind label %20

17:                                               ; preds = %3
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  store i64 0, ptr %8, align 8, !tbaa !11
  %18 = load i32, ptr %4, align 4, !tbaa !5
  %19 = call i32 @setsockopt(i32 noundef %18, i32 noundef 1, i32 noundef 20, ptr noundef nonnull %8, i32 noundef 16) #7
  %.not = icmp eq i32 %16, 0
  br i1 %.not, label %22, label %30

20:                                               ; preds = %3
  %21 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %5) #7
  resume { ptr, i32 } %21

22:                                               ; preds = %17
  %23 = call noundef ptr @_Z14parse_responsePcPi(ptr noundef nonnull %6, ptr noundef null)
  %24 = call noundef i64 @_Z12get_msg_dataImET_PcRm(ptr noundef %23, ptr noundef nonnull align 8 dereferenceable(8) %7)
  store i64 %24, ptr @gpu_mem_used, align 8, !tbaa !9
  %25 = call noundef i64 @_Z12get_msg_dataImET_PcRm(ptr noundef %23, ptr noundef nonnull align 8 dereferenceable(8) %7)
  store i64 %25, ptr @gpu_mem_limit, align 8, !tbaa !9
  %26 = load i64, ptr @gpu_mem_used, align 8, !tbaa !9
  %27 = icmp eq i64 %26, 0
  br i1 %27, label %29, label %28

28:                                               ; preds = %22
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.4, i32 noundef 138, ptr noundef nonnull @__PRETTY_FUNCTION__._Z17retrieve_mem_infoiil) #8
  unreachable

29:                                               ; preds = %22
  call void (ptr, ...) @_Z4INFOPKcz(ptr noundef nonnull @.str.5, i64 noundef %25)
  br label %30

30:                                               ; preds = %17, %29
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %5) #7
  ret i32 %16
}

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

; Function Attrs: nounwind
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

declare noundef i32 @_Z15prepare_requestPc14comm_request_tz(ptr noundef, i32 noundef, ...) local_unnamed_addr #4

declare noundef i32 @_Z16multiple_attemptSt8functionIFivEEii(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFivEEC2IZ17retrieve_mem_infoiilE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5 align 2

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

declare noundef ptr @_Z14parse_responsePcPi(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z12get_msg_dataImET_PcRm(ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #6

declare void @_Z4INFOPKcz(ptr noundef, ...) local_unnamed_addr #4

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress nocallback nofree nounwind willreturn 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 = { 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 #7 = { nounwind }
attributes #8 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTS7timeval", !10, i64 0, !10, i64 8}
!13 = !{!12, !10, i64 8}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !7, i64 0}


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