; LLVM IR from HRI-EU/Rcs :: bin (TestCore)

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

@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@RcsLogLevel = external global i32, align 4
@.str.2 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@RCS_GLOBAL_RLOG_CB = external global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [1 x i8], align 1
@__func__.main = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [7 x i8], align 1
@stderr = external global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [39 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 norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #1 {
  %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 i8, align 1
  %9 = alloca %"class.Rcs::CmdLineParser", align 1
  %10 = alloca i32, align 4
  %11 = alloca i8, align 1
  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) #6
  store i32 0, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #6
  store i8 1, ptr %8, align 1, !tbaa !11
  %12 = call ptr @signal(i32 noundef 2, ptr noundef @_ZL4quiti) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #6
  %13 = load i32, ptr %4, align 4, !tbaa !5
  %14 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN3Rcs13CmdLineParserC1EiPPc(ptr noundef nonnull align 1 dereferenceable(1) %9, i32 noundef %13, ptr noundef %14)
  %15 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1) %9, ptr noundef @.str.1, ptr noundef @RcsLogLevel, ptr noundef @.str.2)
  %16 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1) %9, ptr noundef @.str.3, ptr noundef %6, ptr noundef @.str.4)
  %17 = load i32, ptr %6, align 4, !tbaa !5
  %18 = icmp eq i32 %17, -1
  br i1 %18, label %19, label %48

19:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 1, ptr %10, align 4, !tbaa !5
  br label %20

20:                                               ; preds = %44, %19
  %21 = load i32, ptr %10, align 4, !tbaa !5
  %22 = icmp sle i32 %21, 10
  br i1 %22, label %24, label %23

23:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %47

24:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #6
  %25 = load i32, ptr %10, align 4, !tbaa !5
  %26 = load i32, ptr %4, align 4, !tbaa !5
  %27 = load ptr, ptr %5, align 8, !tbaa !9
  %28 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef %25, i32 noundef %26, ptr noundef %27)
  %29 = zext i1 %28 to i8
  store i8 %29, ptr %11, align 1, !tbaa !11
  %30 = load i8, ptr %11, align 1, !tbaa !11, !range !13, !noundef !14
  %31 = trunc i8 %30 to i1
  br i1 %31, label %35, label %32

32:                                               ; preds = %24
  %33 = load i32, ptr %7, align 4, !tbaa !5
  %34 = add nsw i32 %33, 1
  store i32 %34, ptr %7, align 4, !tbaa !5
  br label %35

35:                                               ; preds = %32, %24
  %36 = load i8, ptr %11, align 1, !tbaa !11, !range !13, !noundef !14
  %37 = trunc i8 %36 to i1
  br i1 %37, label %38, label %41

38:                                               ; preds = %35
  %39 = load i8, ptr %8, align 1, !tbaa !11, !range !13, !noundef !14
  %40 = trunc i8 %39 to i1
  br label %41

41:                                               ; preds = %38, %35
  %42 = phi i1 [ false, %35 ], [ %40, %38 ]
  %43 = zext i1 %42 to i8
  store i8 %43, ptr %8, align 1, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  br label %44

44:                                               ; preds = %41
  %45 = load i32, ptr %10, align 4, !tbaa !5
  %46 = add nsw i32 %45, 1
  store i32 %46, ptr %10, align 4, !tbaa !5
  br label %20, !llvm.loop !15

47:                                               ; preds = %23
  br label %54

48:                                               ; preds = %2
  %49 = load i32, ptr %6, align 4, !tbaa !5
  %50 = load i32, ptr %4, align 4, !tbaa !5
  %51 = load ptr, ptr %5, align 8, !tbaa !9
  %52 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef %49, i32 noundef %50, ptr noundef %51)
  %53 = zext i1 %52 to i8
  store i8 %53, ptr %8, align 1, !tbaa !11
  br label %54

54:                                               ; preds = %48, %47
  %55 = call noundef zeroext i1 (ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1) %9, ptr noundef @.str.5, ptr noundef null)
  br i1 %55, label %56, label %57

56:                                               ; preds = %54
  call void @_ZN3Rcs13CmdLineParser5printEv()
  br label %84

57:                                               ; preds = %54
  br label %58

58:                                               ; preds = %57
  %59 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %60 = icmp ne ptr %59, null
  br i1 %60, label %61, label %67

61:                                               ; preds = %58
  %62 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %63 = load i8, ptr %8, align 1, !tbaa !11, !range !13, !noundef !14
  %64 = trunc i8 %63 to i1
  %65 = zext i1 %64 to i64
  %66 = select i1 %64, ptr @.str.8, ptr @.str.9
  call void (i32, ptr, ptr, i32, ptr, ...) %62(i32 noundef 1, ptr noundef @.str.6, ptr noundef @__func__.main, i32 noundef 679, ptr noundef @.str.7, ptr noundef %66)
  br label %67

67:                                               ; preds = %61, %58
  %68 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %69 = icmp sle i32 1, %68
  br i1 %69, label %70, label %81

70:                                               ; preds = %67
  %71 = load ptr, ptr @stderr, align 8, !tbaa !9
  %72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef @.str.10, ptr noundef @__func__.main, i32 noundef 679) #6
  %73 = load ptr, ptr @stderr, align 8, !tbaa !9
  %74 = load i8, ptr %8, align 1, !tbaa !11, !range !13, !noundef !14
  %75 = trunc i8 %74 to i1
  %76 = zext i1 %75 to i64
  %77 = select i1 %75, ptr @.str.8, ptr @.str.9
  %78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %73, ptr noundef @.str.7, ptr noundef %77) #6
  %79 = load ptr, ptr @stderr, align 8, !tbaa !9
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %79, ptr noundef @.str.11) #6
  br label %81

81:                                               ; preds = %70, %67
  br label %82

82:                                               ; preds = %81
  br label %83

83:                                               ; preds = %82
  br label %84

84:                                               ; preds = %83, %56
  %85 = load ptr, ptr @stderr, align 8, !tbaa !9
  %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef @.str.12) #6
  %87 = load i32, ptr %7, align 4, !tbaa !5
  %88 = call i32 @Math_iClip(i32 noundef %87, i32 noundef 0, i32 noundef 255)
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  ret i32 %88
}

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL4quiti(i32 noundef) #3

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef, i32 noundef, ptr noundef) #5

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

declare void @_ZN3Rcs13CmdLineParser5printEv() #4

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

declare i32 @Math_iClip(i32 noundef, i32 noundef, i32 noundef) #4

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

!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}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!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"

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

@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@RcsLogLevel = external global i32, align 4
@.str.2 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@RCS_GLOBAL_RLOG_CB = external local_unnamed_addr global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [1 x i8], align 1
@__func__.main = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [7 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [39 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 norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #1 {
  %3 = alloca i32, align 4
  %4 = alloca %"class.Rcs::CmdLineParser", align 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #8
  store i32 0, ptr %3, align 4, !tbaa !5
  %5 = tail call ptr @signal(i32 noundef 2, ptr noundef nonnull @_ZL4quiti) #8
  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.1, ptr noundef nonnull @RcsLogLevel, ptr noundef nonnull @.str.2)
  %7 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull @.str.3, ptr noundef nonnull %3, ptr noundef nonnull @.str.4)
  %8 = load i32, ptr %3, align 4, !tbaa !5
  %9 = icmp eq i32 %8, -1
  br i1 %9, label %.preheader.preheader, label %34

.preheader.preheader:                             ; preds = %2
  %10 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 1, i32 noundef %0, ptr noundef %1)
  %11 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 2, i32 noundef %0, ptr noundef %1)
  %spec.select.1 = and i1 %11, %10
  %12 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 3, i32 noundef %0, ptr noundef %1)
  %spec.select.2 = and i1 %12, %spec.select.1
  %13 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 4, i32 noundef %0, ptr noundef %1)
  %spec.select.3 = and i1 %13, %spec.select.2
  %14 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 5, i32 noundef %0, ptr noundef %1)
  %spec.select.4 = and i1 %14, %spec.select.3
  %15 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 6, i32 noundef %0, ptr noundef %1)
  %spec.select.5 = and i1 %15, %spec.select.4
  %16 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 7, i32 noundef %0, ptr noundef %1)
  %spec.select.6 = and i1 %16, %spec.select.5
  %17 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 8, i32 noundef %0, ptr noundef %1)
  %spec.select.7 = and i1 %17, %spec.select.6
  %18 = insertelement <8 x i1> poison, i1 %10, i64 0
  %19 = insertelement <8 x i1> %18, i1 %11, i64 1
  %20 = insertelement <8 x i1> %19, i1 %12, i64 2
  %21 = insertelement <8 x i1> %20, i1 %13, i64 3
  %22 = insertelement <8 x i1> %21, i1 %14, i64 4
  %23 = insertelement <8 x i1> %22, i1 %15, i64 5
  %24 = insertelement <8 x i1> %23, i1 %16, i64 6
  %25 = insertelement <8 x i1> %24, i1 %17, i64 7
  %26 = xor <8 x i1> %25, <i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true>
  %27 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 9, i32 noundef %0, ptr noundef %1)
  %spec.select.8 = and i1 %27, %spec.select.7
  %not..8 = xor i1 %27, true
  %28 = zext i1 %not..8 to i32
  %29 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 10, i32 noundef %0, ptr noundef %1)
  %spec.select.9 = select i1 %29, i1 %spec.select.8, i1 false
  %not..9 = xor i1 %29, true
  %30 = zext i1 %not..9 to i32
  %31 = bitcast <8 x i1> %26 to i8
  %32 = call range(i8 0, 9) i8 @llvm.ctpop.i8(i8 %31)
  %33 = zext nneg i8 %32 to i32
  %op.rdx = add nuw nsw i32 %33, %28
  %op.rdx24 = add nuw nsw i32 %op.rdx, %30
  br label %.loopexit

34:                                               ; preds = %2
  %35 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef %8, i32 noundef %0, ptr noundef %1)
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader.preheader, %34
  %.117 = phi i1 [ %35, %34 ], [ %spec.select.9, %.preheader.preheader ]
  %.2 = phi i32 [ 0, %34 ], [ %op.rdx24, %.preheader.preheader ]
  %36 = call noundef zeroext i1 (ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull @.str.5, ptr noundef null)
  br i1 %36, label %37, label %38

37:                                               ; preds = %.loopexit
  call void @_ZN3Rcs13CmdLineParser5printEv()
  br label %53

38:                                               ; preds = %.loopexit
  %39 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not = icmp eq ptr %39, null
  br i1 %.not, label %42, label %40

40:                                               ; preds = %38
  %41 = select i1 %.117, ptr @.str.8, ptr @.str.9
  call void (i32, ptr, ptr, i32, ptr, ...) %39(i32 noundef 1, ptr noundef nonnull @.str.6, ptr noundef nonnull @__func__.main, i32 noundef 679, ptr noundef nonnull @.str.7, ptr noundef nonnull %41)
  br label %42

42:                                               ; preds = %40, %38
  %43 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %44 = icmp sgt i32 %43, 0
  br i1 %44, label %45, label %53

45:                                               ; preds = %42
  %46 = load ptr, ptr @stderr, align 8, !tbaa !9
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef nonnull @.str.10, ptr noundef nonnull @__func__.main, i32 noundef 679) #9
  %48 = load ptr, ptr @stderr, align 8, !tbaa !9
  %49 = select i1 %.117, ptr @.str.8, ptr @.str.9
  %50 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef nonnull @.str.7, ptr noundef nonnull %49) #9
  %51 = load ptr, ptr @stderr, align 8, !tbaa !9
  %52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.11) #9
  br label %53

53:                                               ; preds = %42, %45, %37
  %54 = load ptr, ptr @stderr, align 8, !tbaa !9
  %55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef nonnull @.str.12) #9
  %56 = call i32 @Math_iClip(i32 noundef %.2, i32 noundef 0, i32 noundef 255)
  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 %56
}

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL4quiti(i32 noundef) #3

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

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

declare void @_ZN3Rcs13CmdLineParser5printEv() local_unnamed_addr #4

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

declare i32 @Math_iClip(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i8 @llvm.ctpop.i8(i8) #7

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 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 = { "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 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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { nounwind }
attributes #9 = { cold 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: EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass