; LLVM IR from HRI-EU/Rcs :: examples (ExamplePeriodicCallback)

; 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"

%"class.Rcs::CmdLineParser" = type { i8 }

@stderr = external global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@RcsLogLevel = external global i32, align 4
@.str.5 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [81 x i8], align 1
@__func__.main = external hidden unnamed_addr constant [5 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [46 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: mustprogress nounwind uwtable
declare dso_local void @_Z4quiti(i32 noundef) #1

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #4 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.Rcs::CmdLineParser", align 1
  %8 = 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
  %9 = call ptr @signal(i32 noundef 2, ptr noundef @_Z4quiti) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 0, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #7
  %10 = load i32, ptr %4, align 4, !tbaa !5
  %11 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN3Rcs13CmdLineParserC1EiPPc(ptr noundef nonnull align 1 dereferenceable(1) %7, i32 noundef %10, ptr noundef %11)
  %12 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef @.str.4, ptr noundef @RcsLogLevel, ptr noundef @.str.5)
  %13 = load i32, ptr %6, align 4, !tbaa !5
  %14 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef @.str.6, ptr noundef %6, ptr noundef @.str.7, i32 noundef %13)
  %15 = load i32, ptr %6, align 4, !tbaa !5
  %16 = icmp eq i32 %15, 0
  br i1 %16, label %19, label %17

17:                                               ; preds = %2
  %18 = call noundef zeroext i1 (ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef @.str.8, ptr noundef null)
  br i1 %18, label %19, label %30

19:                                               ; preds = %17, %2
  %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
  %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
  %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
  %26 = load i32, ptr %6, align 4, !tbaa !5
  %27 = icmp eq i32 %26, 0
  br i1 %27, label %28, label %29

28:                                               ; preds = %19
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %64

29:                                               ; preds = %19
  br label %30

30:                                               ; preds = %29, %17
  %31 = load i32, ptr %6, align 4, !tbaa !5
  switch i32 %31, label %44 [
    i32 1, label %32
    i32 2, label %35
    i32 3, label %38
    i32 4, label %41
  ]

32:                                               ; preds = %30
  %33 = load i32, ptr %4, align 4, !tbaa !5
  %34 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZL20testPeriodicCallbackiPPc(i32 noundef %33, ptr noundef %34)
  br label %58

35:                                               ; preds = %30
  %36 = load i32, ptr %4, align 4, !tbaa !5
  %37 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZL20testThreadSchedulingiPPc(i32 noundef %36, ptr noundef %37)
  br label %58

38:                                               ; preds = %30
  %39 = load i32, ptr %4, align 4, !tbaa !5
  %40 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZL13createCpuLoadiPPc(i32 noundef %39, ptr noundef %40)
  br label %58

41:                                               ; preds = %30
  %42 = load i32, ptr %4, align 4, !tbaa !5
  %43 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZL22testSchedulingPriorityiPPc(i32 noundef %42, ptr noundef %43)
  br label %58

44:                                               ; preds = %30
  %45 = call noundef zeroext i1 (ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef @.str.8, ptr noundef null)
  br i1 %45, label %57, label %46

46:                                               ; preds = %44
  br label %47

47:                                               ; preds = %46
  %48 = load ptr, ptr @stderr, align 8, !tbaa !9
  %49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef @.str.15, ptr noundef @.str.16, ptr noundef @__func__.main, i32 noundef 425) #7
  %50 = load ptr, ptr @stderr, align 8, !tbaa !9
  %51 = load i32, ptr %6, align 4, !tbaa !5
  %52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str.17, i32 noundef %51) #7
  %53 = load ptr, ptr @stderr, align 8, !tbaa !9
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str.14) #7
  call void @print_trace()
  call void @exit(i32 noundef 1) #8
  unreachable

55:                                               ; No predecessors!
  br label %56

56:                                               ; preds = %55
  br label %57

57:                                               ; preds = %56, %44
  br label %58

58:                                               ; preds = %57, %41, %38, %35, %32
  %59 = call noundef zeroext i1 (ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef @.str.8, ptr noundef null)
  br i1 %59, label %60, label %61

60:                                               ; preds = %58
  call void @_ZN3Rcs13CmdLineParser5printEv()
  br label %61

61:                                               ; preds = %60, %58
  %62 = load ptr, ptr @stderr, align 8, !tbaa !9
  %63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str.18) #7
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %64

64:                                               ; preds = %61, %28
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  %65 = load i32, ptr %3, align 4
  ret i32 %65
}

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

declare void @_ZN3Rcs13CmdLineParserC1EiPPc(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, ptr noundef) unnamed_addr #5

declare noundef zeroext i1 @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, ptr noundef, ...) #5

declare noundef zeroext i1 @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, ...) #5

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL20testPeriodicCallbackiPPc(i32 noundef, ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL20testThreadSchedulingiPPc(i32 noundef, ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL13createCpuLoadiPPc(i32 noundef, ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL22testSchedulingPriorityiPPc(i32 noundef, ptr noundef) #6

declare void @print_trace() #5

declare void @_ZN3Rcs13CmdLineParser5printEv() #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 #4 = { 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 #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 = { 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 = { 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 = !{!"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"

%"class.Rcs::CmdLineParser" = type { i8 }

@stderr = external local_unnamed_addr global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@RcsLogLevel = external global i32, align 4
@.str.5 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [81 x i8], align 1
@__func__.main = external hidden unnamed_addr constant [5 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [46 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: mustprogress nounwind uwtable
declare dso_local void @_Z4quiti(i32 noundef) #1

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #4 {
  %3 = alloca i32, align 4
  %4 = alloca %"class.Rcs::CmdLineParser", align 1
  %5 = tail call ptr @signal(i32 noundef 2, ptr noundef nonnull @_Z4quiti) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #8
  store i32 0, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #8
  call void @_ZN3Rcs13CmdLineParserC1EiPPc(ptr noundef nonnull align 1 dereferenceable(1) %4, i32 noundef %0, ptr noundef %1)
  %6 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull @.str.4, ptr noundef nonnull @RcsLogLevel, ptr noundef nonnull @.str.5)
  %7 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull @.str.6, ptr noundef nonnull %3, ptr noundef nonnull @.str.7, i32 noundef 0)
  %8 = load i32, ptr %3, align 4, !tbaa !5
  %9 = icmp eq i32 %8, 0
  br i1 %9, label %12, label %10

10:                                               ; preds = %2
  %11 = call noundef zeroext i1 (ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull @.str.8, ptr noundef null)
  br i1 %11, label %12, label %thread-pre-split

12:                                               ; preds = %10, %2
  %13 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  %14 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  %15 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11)
  %16 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  %17 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %18 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14)
  %19 = load i32, ptr %3, align 4, !tbaa !5
  %20 = icmp eq i32 %19, 0
  br i1 %20, label %43, label %21

thread-pre-split:                                 ; preds = %10
  %.pr = load i32, ptr %3, align 4, !tbaa !5
  br label %21

21:                                               ; preds = %thread-pre-split, %12
  %22 = phi i32 [ %.pr, %thread-pre-split ], [ %19, %12 ]
  switch i32 %22, label %27 [
    i32 1, label %23
    i32 2, label %24
    i32 3, label %25
    i32 4, label %26
  ]

23:                                               ; preds = %21
  call void @_ZL20testPeriodicCallbackiPPc(i32 noundef %0, ptr noundef %1)
  br label %37

24:                                               ; preds = %21
  call void @_ZL20testThreadSchedulingiPPc(i32 noundef %0, ptr noundef %1)
  br label %37

25:                                               ; preds = %21
  call void @_ZL13createCpuLoadiPPc(i32 noundef %0, ptr noundef %1)
  br label %37

26:                                               ; preds = %21
  call void @_ZL22testSchedulingPriorityiPPc(i32 noundef %0, ptr noundef %1)
  br label %37

27:                                               ; preds = %21
  %28 = call noundef zeroext i1 (ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull @.str.8, ptr noundef null)
  br i1 %28, label %37, label %29

29:                                               ; preds = %27
  %30 = load ptr, ptr @stderr, align 8, !tbaa !9
  %31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__.main, i32 noundef 425) #9
  %32 = load ptr, ptr @stderr, align 8, !tbaa !9
  %33 = load i32, ptr %3, align 4, !tbaa !5
  %34 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef nonnull @.str.17, i32 noundef %33) #9
  %35 = load ptr, ptr @stderr, align 8, !tbaa !9
  %36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.14) #9
  call void @print_trace()
  call void @exit(i32 noundef 1) #10
  unreachable

37:                                               ; preds = %27, %26, %25, %24, %23
  %38 = call noundef zeroext i1 (ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull @.str.8, ptr noundef null)
  br i1 %38, label %39, label %40

39:                                               ; preds = %37
  call void @_ZN3Rcs13CmdLineParser5printEv()
  br label %40

40:                                               ; preds = %39, %37
  %41 = load ptr, ptr @stderr, align 8, !tbaa !9
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.18) #9
  br label %43

43:                                               ; preds = %12, %40
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  ret i32 0
}

; Function Attrs: nounwind
declare ptr @signal(i32 noundef, ptr noundef) local_unnamed_addr #5

declare void @_ZN3Rcs13CmdLineParserC1EiPPc(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, ptr noundef) unnamed_addr #6

declare noundef zeroext i1 @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #6

declare noundef zeroext i1 @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, ...) local_unnamed_addr #6

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL20testPeriodicCallbackiPPc(i32 noundef, ptr noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL20testThreadSchedulingiPPc(i32 noundef, ptr noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL13createCpuLoadiPPc(i32 noundef, ptr noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL22testSchedulingPriorityiPPc(i32 noundef, ptr noundef) local_unnamed_addr #7

declare void @print_trace() local_unnamed_addr #6

declare void @_ZN3Rcs13CmdLineParser5printEv() local_unnamed_addr #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 #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 = { "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 = { 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 #8 = { nounwind }
attributes #9 = { cold nounwind }
attributes #10 = { 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 = !{!"any pointer", !7, i64 0}


; Effective O3 passes: GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass,TailCallElimPass