; LLVM IR from cruppstahl/upscaledb :: tools/ups_bench (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.Configuration = type <{ i8, [3 x i8], i32, i8, i8, i8, [5 x i8], %"class.std::__cxx11::basic_string", i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, i64, i64, i64, i64, i32, i8, [3 x i8], i32, i32, i32, i32, i8, i8, [2 x i8], i32, i8, [3 x i8], i32, i8, i8, i8, i8, i8, [3 x i8], i32, i32, i32, i8, i8, i8, i8, i32, i32, %"class.std::__cxx11::basic_string", i32, i32, i32, i8, i8, [2 x i8], i32, i32, i32, i8, i8, i8, i8, i32, i8, i8, [2 x i8] }>
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@.str.1 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [107 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [52 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %struct.Configuration, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = 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 248, ptr %6) #7
  call void @_ZN13ConfigurationC2Ev(ptr noundef nonnull align 8 dereferenceable(246) %6)
  %10 = load i32, ptr %4, align 4, !tbaa !5
  %11 = load ptr, ptr %5, align 8, !tbaa !9
  invoke void @_ZL12parse_configiPPcP13Configuration(i32 noundef %10, ptr noundef %11, ptr noundef %6)
          to label %12 unwind label %19

12:                                               ; preds = %2
  %13 = getelementptr inbounds %struct.Configuration, ptr %6, i32 0, i32 16
  %14 = load i64, ptr %13, align 8, !tbaa !11
  %15 = icmp eq i64 %14, 0
  br i1 %15, label %16, label %23

16:                                               ; preds = %12
  %17 = call i64 @time(ptr noundef null) #7
  %18 = getelementptr inbounds %struct.Configuration, ptr %6, i32 0, i32 16
  store i64 %17, ptr %18, align 8, !tbaa !11
  br label %23

19:                                               ; preds = %38, %35, %33, %29, %27, %2
  %20 = landingpad { ptr, i32 }
          cleanup
  %21 = extractvalue { ptr, i32 } %20, 0
  store ptr %21, ptr %7, align 8
  %22 = extractvalue { ptr, i32 } %20, 1
  store i32 %22, ptr %8, align 4
  br label %108

23:                                               ; preds = %16, %12
  %24 = getelementptr inbounds %struct.Configuration, ptr %6, i32 0, i32 8
  %25 = load i8, ptr %24, align 8, !tbaa !17, !range !18, !noundef !19
  %26 = trunc i8 %25 to i1
  br i1 %26, label %29, label %27

27:                                               ; preds = %23
  invoke void @print_banner(ptr noundef @.str.1)
          to label %28 unwind label %19

28:                                               ; preds = %27
  br label %29

29:                                               ; preds = %28, %23
  %30 = invoke i32 @ups_is_debug()
          to label %31 unwind label %19

31:                                               ; preds = %29
  %32 = icmp ne i32 %30, 0
  br i1 %32, label %33, label %38

33:                                               ; preds = %31
  %34 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2)
          to label %35 unwind label %19

35:                                               ; preds = %33
  %36 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.3)
          to label %37 unwind label %19

37:                                               ; preds = %35
  br label %38

38:                                               ; preds = %37, %31
  invoke void @_ZNK13Configuration5printEv(ptr noundef nonnull align 8 dereferenceable(246) %6)
          to label %39 unwind label %19

39:                                               ; preds = %38
  %40 = getelementptr inbounds %struct.Configuration, ptr %6, i32 0, i32 19
  %41 = load i64, ptr %40, align 8, !tbaa !20
  %42 = icmp ne i64 %41, 0
  br i1 %42, label %53, label %43

43:                                               ; preds = %39
  %44 = getelementptr inbounds %struct.Configuration, ptr %6, i32 0, i32 18
  %45 = load i64, ptr %44, align 8, !tbaa !21
  %46 = icmp ne i64 %45, 0
  br i1 %46, label %53, label %47

47:                                               ; preds = %43
  %48 = getelementptr inbounds %struct.Configuration, ptr %6, i32 0, i32 17
  %49 = load i64, ptr %48, align 8, !tbaa !22
  %50 = icmp ne i64 %49, 0
  br i1 %50, label %53, label %51

51:                                               ; preds = %47
  %52 = getelementptr inbounds %struct.Configuration, ptr %6, i32 0, i32 17
  store i64 1000000, ptr %52, align 8, !tbaa !22
  br label %53

53:                                               ; preds = %51, %47, %43, %39
  %54 = getelementptr inbounds %struct.Configuration, ptr %6, i32 0, i32 2
  %55 = load i32, ptr %54, align 4, !tbaa !23
  %56 = icmp ne i32 %55, 0
  br i1 %56, label %57, label %63

57:                                               ; preds = %53
  %58 = getelementptr inbounds %struct.Configuration, ptr %6, i32 0, i32 50
  %59 = load i32, ptr %58, align 8, !tbaa !24
  %60 = icmp eq i32 %59, 1
  br i1 %60, label %61, label %63

61:                                               ; preds = %57
  %62 = getelementptr inbounds %struct.Configuration, ptr %6, i32 0, i32 50
  store i32 3, ptr %62, align 8, !tbaa !24
  br label %63

63:                                               ; preds = %61, %57, %53
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #7
  store i8 1, ptr %9, align 1, !tbaa !25
  %64 = getelementptr inbounds %struct.Configuration, ptr %6, i32 0, i32 45
  %65 = load i8, ptr %64, align 2, !tbaa !26, !range !18, !noundef !19
  %66 = trunc i8 %65 to i1
  br i1 %66, label %67, label %87

67:                                               ; preds = %63
  %68 = getelementptr inbounds %struct.Configuration, ptr %6, i32 0, i32 44
  %69 = load i8, ptr %68, align 1, !tbaa !27, !range !18, !noundef !19
  %70 = trunc i8 %69 to i1
  br i1 %70, label %87, label %71

71:                                               ; preds = %67
  %72 = getelementptr inbounds %struct.Configuration, ptr %6, i32 0, i32 7
  %73 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %72) #7
  br i1 %73, label %74, label %82

74:                                               ; preds = %71
  %75 = invoke noundef zeroext i1 @_ZL15run_single_testI15UpscaleDatabase16RuntimeGeneratorEbP13Configuration(ptr noundef %6)
          to label %76 unwind label %78

76:                                               ; preds = %74
  %77 = zext i1 %75 to i8
  store i8 %77, ptr %9, align 1, !tbaa !25
  br label %86

78:                                               ; preds = %98, %95, %82, %74
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %7, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #7
  br label %108

82:                                               ; preds = %71
  %83 = invoke noundef zeroext i1 @_ZL15run_single_testI15UpscaleDatabase15ParserGeneratorEbP13Configuration(ptr noundef %6)
          to label %84 unwind label %78

84:                                               ; preds = %82
  %85 = zext i1 %83 to i8
  store i8 %85, ptr %9, align 1, !tbaa !25
  br label %86

86:                                               ; preds = %84, %76
  br label %102

87:                                               ; preds = %67, %63
  %88 = getelementptr inbounds %struct.Configuration, ptr %6, i32 0, i32 44
  %89 = load i8, ptr %88, align 1, !tbaa !27, !range !18, !noundef !19
  %90 = trunc i8 %89 to i1
  br i1 %90, label %91, label %98

91:                                               ; preds = %87
  %92 = getelementptr inbounds %struct.Configuration, ptr %6, i32 0, i32 45
  %93 = load i8, ptr %92, align 2, !tbaa !26, !range !18, !noundef !19
  %94 = trunc i8 %93 to i1
  br i1 %94, label %98, label %95

95:                                               ; preds = %91
  %96 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %97 unwind label %78

97:                                               ; preds = %95
  store i8 0, ptr %9, align 1, !tbaa !25
  br label %101

98:                                               ; preds = %91, %87
  %99 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %100 unwind label %78

100:                                              ; preds = %98
  store i8 0, ptr %9, align 1, !tbaa !25
  br label %101

101:                                              ; preds = %100, %97
  br label %102

102:                                              ; preds = %101, %86
  %103 = load i8, ptr %9, align 1, !tbaa !25, !range !18, !noundef !19
  %104 = trunc i8 %103 to i1
  %105 = zext i1 %104 to i64
  %106 = select i1 %104, i32 0, i32 1
  store i32 %106, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #7
  call void @_ZN13ConfigurationD2Ev(ptr noundef nonnull align 8 dereferenceable(246) %6) #7
  call void @llvm.lifetime.end.p0(i64 248, ptr %6) #7
  %107 = load i32, ptr %3, align 4
  ret i32 %107

108:                                              ; preds = %78, %19
  call void @_ZN13ConfigurationD2Ev(ptr noundef nonnull align 8 dereferenceable(246) %6) #7
  call void @llvm.lifetime.end.p0(i64 248, ptr %6) #7
  br label %109

109:                                              ; preds = %108
  %110 = load ptr, ptr %7, align 8
  %111 = load i32, ptr %8, align 4
  %112 = insertvalue { ptr, i32 } poison, ptr %110, 0
  %113 = insertvalue { ptr, i32 } %112, i32 %111, 1
  resume { ptr, i32 } %113
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13ConfigurationC2Ev(ptr noundef nonnull align 8 dereferenceable(246)) unnamed_addr #1 align 2

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

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

declare void @print_banner(ptr noundef) #5

declare i32 @ups_is_debug() #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK13Configuration5printEv(ptr noundef nonnull align 8 dereferenceable(246)) #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL15run_single_testI15UpscaleDatabase16RuntimeGeneratorEbP13Configuration(ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL15run_single_testI15UpscaleDatabase15ParserGeneratorEbP13Configuration(ptr noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN13ConfigurationD2Ev(ptr noundef nonnull align 8 dereferenceable(246)) unnamed_addr #6 align 2

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 = { 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 #3 = { 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 #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 = { inlinehint 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 #7 = { 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, !16, i64 72}
!12 = !{!"_ZTS13Configuration", !13, i64 0, !6, i64 4, !13, i64 8, !13, i64 9, !13, i64 10, !14, i64 16, !13, i64 48, !6, i64 52, !6, i64 56, !6, i64 60, !13, i64 64, !6, i64 68, !16, i64 72, !16, i64 80, !16, i64 88, !16, i64 96, !6, i64 104, !13, i64 108, !6, i64 112, !6, i64 116, !6, i64 120, !6, i64 124, !13, i64 128, !13, i64 129, !6, i64 132, !13, i64 136, !6, i64 140, !13, i64 144, !13, i64 145, !13, i64 146, !13, i64 147, !13, i64 148, !6, i64 152, !6, i64 156, !6, i64 160, !13, i64 164, !13, i64 165, !13, i64 166, !6, i64 168, !6, i64 172, !14, i64 176, !6, i64 208, !6, i64 212, !6, i64 216, !13, i64 220, !13, i64 221, !6, i64 224, !6, i64 228, !6, i64 232, !13, i64 236, !13, i64 237, !13, i64 238, !13, i64 239, !6, i64 240, !13, i64 244, !13, i64 245}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !15, i64 0, !16, i64 8, !7, i64 16}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !10, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!12, !13, i64 48}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!12, !16, i64 96}
!21 = !{!12, !16, i64 88}
!22 = !{!12, !16, i64 80}
!23 = !{!12, !6, i64 4}
!24 = !{!12, !6, i64 208}
!25 = !{!13, !13, i64 0}
!26 = !{!12, !13, i64 166}
!27 = !{!12, !13, i64 165}


; 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.Configuration = type <{ i8, [3 x i8], i32, i8, i8, i8, [5 x i8], %"class.std::__cxx11::basic_string", i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, i64, i64, i64, i64, i32, i8, [3 x i8], i32, i32, i32, i32, i8, i8, [2 x i8], i32, i8, [3 x i8], i32, i8, i8, i8, i8, i8, [3 x i8], i32, i32, i32, i8, i8, i8, i8, i32, i32, %"class.std::__cxx11::basic_string", i32, i32, i32, i8, i8, [2 x i8], i32, i32, i32, i8, i8, i8, i8, i32, i8, i8, [2 x i8] }>
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@.str.1 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [107 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [52 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef range(i32 0, 2) i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %struct.Configuration, align 8
  call void @llvm.lifetime.start.p0(i64 248, ptr nonnull %3) #8
  call void @_ZN13ConfigurationC2Ev(ptr noundef nonnull align 8 dereferenceable(246) %3)
  invoke void @_ZL12parse_configiPPcP13Configuration(i32 noundef %0, ptr noundef %1, ptr noundef nonnull %3)
          to label %4 unwind label %10

4:                                                ; preds = %2
  %5 = getelementptr inbounds i8, ptr %3, i64 72
  %6 = load i64, ptr %5, align 8, !tbaa !5
  %7 = icmp eq i64 %6, 0
  br i1 %7, label %8, label %12

8:                                                ; preds = %4
  %9 = call i64 @time(ptr noundef null) #8
  store i64 %9, ptr %5, align 8, !tbaa !5
  br label %12

10:                                               ; preds = %23, %17, %16, %2
  %11 = landingpad { ptr, i32 }
          cleanup
  br label %62

12:                                               ; preds = %8, %4
  %13 = getelementptr inbounds i8, ptr %3, i64 48
  %14 = load i8, ptr %13, align 8, !tbaa !15, !range !16, !noundef !17
  %15 = trunc nuw i8 %14 to i1
  br i1 %15, label %17, label %16

16:                                               ; preds = %12
  invoke void @print_banner(ptr noundef nonnull @.str.1)
          to label %17 unwind label %10

17:                                               ; preds = %16, %12
  %18 = invoke i32 @ups_is_debug()
          to label %19 unwind label %10

19:                                               ; preds = %17
  %.not = icmp eq i32 %18, 0
  br i1 %.not, label %23, label %20

20:                                               ; preds = %19
  %21 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %22 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  br label %23

23:                                               ; preds = %20, %19
  invoke void @_ZNK13Configuration5printEv(ptr noundef nonnull align 8 dereferenceable(246) %3)
          to label %24 unwind label %10

24:                                               ; preds = %23
  %25 = getelementptr inbounds i8, ptr %3, i64 96
  %26 = load i64, ptr %25, align 8, !tbaa !18
  %27 = icmp ne i64 %26, 0
  %28 = getelementptr inbounds i8, ptr %3, i64 88
  %29 = load i64, ptr %28, align 8
  %30 = icmp ne i64 %29, 0
  %or.cond = select i1 %27, i1 true, i1 %30
  %31 = getelementptr inbounds i8, ptr %3, i64 80
  %32 = load i64, ptr %31, align 8
  %33 = icmp ne i64 %32, 0
  %or.cond5 = select i1 %or.cond, i1 true, i1 %33
  br i1 %or.cond5, label %35, label %34

34:                                               ; preds = %24
  store i64 1000000, ptr %31, align 8, !tbaa !19
  br label %35

35:                                               ; preds = %34, %24
  %36 = getelementptr inbounds i8, ptr %3, i64 4
  %37 = load i32, ptr %36, align 4, !tbaa !20
  %38 = icmp ne i32 %37, 0
  %39 = getelementptr inbounds i8, ptr %3, i64 208
  %40 = load i32, ptr %39, align 8
  %41 = icmp eq i32 %40, 1
  %or.cond8 = select i1 %38, i1 %41, i1 false
  br i1 %or.cond8, label %42, label %43

42:                                               ; preds = %35
  store i32 3, ptr %39, align 8, !tbaa !21
  br label %43

43:                                               ; preds = %42, %35
  %44 = getelementptr inbounds i8, ptr %3, i64 166
  %45 = load i8, ptr %44, align 2, !tbaa !22, !range !16, !noundef !17
  %46 = trunc nuw i8 %45 to i1
  %47 = getelementptr inbounds i8, ptr %3, i64 165
  %48 = load i8, ptr %47, align 1, !tbaa !23, !range !16, !noundef !17
  %49 = trunc nuw i8 %48 to i1
  %.not17 = xor i1 %46, true
  %brmerge = select i1 %.not17, i1 true, i1 %49
  br i1 %brmerge, label %.sink.split, label %50

50:                                               ; preds = %43
  %51 = getelementptr inbounds i8, ptr %3, i64 16
  %52 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %51) #8
  br i1 %52, label %53, label %57

53:                                               ; preds = %50
  %54 = invoke noundef zeroext i1 @_ZL15run_single_testI15UpscaleDatabase16RuntimeGeneratorEbP13Configuration(ptr noundef nonnull %3)
          to label %60 unwind label %55

55:                                               ; preds = %57, %53
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %62

57:                                               ; preds = %50
  %58 = invoke noundef zeroext i1 @_ZL15run_single_testI15UpscaleDatabase15ParserGeneratorEbP13Configuration(ptr noundef nonnull %3)
          to label %60 unwind label %55

.sink.split:                                      ; preds = %43
  %59 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  br label %60

60:                                               ; preds = %.sink.split, %57, %53
  %.0.shrunk = phi i1 [ %54, %53 ], [ %58, %57 ], [ false, %.sink.split ]
  %not..0.shrunk = xor i1 %.0.shrunk, true
  %61 = zext i1 %not..0.shrunk to i32
  call void @_ZN13ConfigurationD2Ev(ptr noundef nonnull align 8 dereferenceable(246) %3) #8
  call void @llvm.lifetime.end.p0(i64 248, ptr nonnull %3) #8
  ret i32 %61

62:                                               ; preds = %55, %10
  %.pn = phi { ptr, i32 } [ %56, %55 ], [ %11, %10 ]
  call void @_ZN13ConfigurationD2Ev(ptr noundef nonnull align 8 dereferenceable(246) %3) #8
  call void @llvm.lifetime.end.p0(i64 248, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13ConfigurationC2Ev(ptr noundef nonnull align 8 dereferenceable(246)) unnamed_addr #1 align 2

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

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

declare void @print_banner(ptr noundef) local_unnamed_addr #5

declare i32 @ups_is_debug() local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK13Configuration5printEv(ptr noundef nonnull align 8 dereferenceable(246)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL15run_single_testI15UpscaleDatabase16RuntimeGeneratorEbP13Configuration(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL15run_single_testI15UpscaleDatabase15ParserGeneratorEbP13Configuration(ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN13ConfigurationD2Ev(ptr noundef nonnull align 8 dereferenceable(246)) unnamed_addr #7 align 2

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 = { 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 #3 = { 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 #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 = { 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 = { inlinehint 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 #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 = !{!6, !14, i64 72}
!6 = !{!"_ZTS13Configuration", !7, i64 0, !10, i64 4, !7, i64 8, !7, i64 9, !7, i64 10, !11, i64 16, !7, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !7, i64 64, !10, i64 68, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !10, i64 104, !7, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !7, i64 128, !7, i64 129, !10, i64 132, !7, i64 136, !10, i64 140, !7, i64 144, !7, i64 145, !7, i64 146, !7, i64 147, !7, i64 148, !10, i64 152, !10, i64 156, !10, i64 160, !7, i64 164, !7, i64 165, !7, i64 166, !10, i64 168, !10, i64 172, !11, i64 176, !10, i64 208, !10, i64 212, !10, i64 216, !7, i64 220, !7, i64 221, !10, i64 224, !10, i64 228, !10, i64 232, !7, i64 236, !7, i64 237, !7, i64 238, !7, i64 239, !10, i64 240, !7, i64 244, !7, i64 245}
!7 = !{!"bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !14, i64 8, !8, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!6, !7, i64 48}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = !{!6, !14, i64 96}
!19 = !{!6, !14, i64 80}
!20 = !{!6, !10, i64 4}
!21 = !{!6, !10, i64 208}
!22 = !{!6, !7, i64 166}
!23 = !{!6, !7, i64 165}


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