; LLVM IR from fritzsedlazeck/SURVIVOR :: src/merge_vcf/IntervallTree.ll (ZN13IntervallTree11overlap_SNPE14breakpoint_strP8SVS_Node)

; 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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%class.SVS_Node = type <{ i16, [6 x i8], %struct.breakpoint_str, %struct.breakpoint_str, %"class.std::vector", %"class.std::__cxx11::basic_string", %"struct.std::pair.3", %"struct.std::pair", [6 x i8], %"class.std::__cxx11::basic_string", [5 x i8], [4 x i8], [7 x i8] }>
%struct.breakpoint_str = type <{ %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Support_Node *, std::allocator<Support_Node *>>::_Vector_impl" }
%"struct.std::_Vector_base<Support_Node *, std::allocator<Support_Node *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Support_Node *, std::allocator<Support_Node *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Support_Node *, std::allocator<Support_Node *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.3" = type { i32, i32 }
%"struct.std::pair" = type { i8, 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] }
%class.Parameter = type <{ %"class.std::__cxx11::basic_string", double, i32, i8, i8, i8, i8, i32, float, i32, [4 x i8] }>

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #0

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN13IntervallTree11overlap_SNPE14breakpoint_strP8SVS_Node(ptr noundef nonnull align 1 dereferenceable(1) %0, ptr noundef %1, ptr noundef %2) #4 align 2 {
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %10 = load ptr, ptr %5, align 8
  %11 = load ptr, ptr %7, align 8, !tbaa !5
  %12 = getelementptr inbounds %class.SVS_Node, ptr %11, i32 0, i32 0
  %13 = load i16, ptr %12, align 8, !tbaa !9
  %14 = sext i16 %13 to i32
  %15 = icmp eq i32 %14, 0
  br i1 %15, label %28, label %16

16:                                               ; preds = %3
  %17 = load ptr, ptr %7, align 8, !tbaa !5
  %18 = getelementptr inbounds %class.SVS_Node, ptr %17, i32 0, i32 0
  %19 = load i16, ptr %18, align 8, !tbaa !9
  %20 = sext i16 %19 to i32
  %21 = icmp eq i32 %20, 1
  br i1 %21, label %28, label %22

22:                                               ; preds = %16
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  %24 = getelementptr inbounds %class.SVS_Node, ptr %23, i32 0, i32 0
  %25 = load i16, ptr %24, align 8, !tbaa !9
  %26 = sext i16 %25 to i32
  %27 = icmp eq i32 %26, 6
  br i1 %27, label %28, label %58

28:                                               ; preds = %22, %16, %3
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = getelementptr inbounds %class.SVS_Node, ptr %29, i32 0, i32 2
  %31 = getelementptr inbounds %struct.breakpoint_str, ptr %30, i32 0, i32 0
  %32 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  %33 = getelementptr inbounds %struct.breakpoint_str, ptr %1, i32 0, i32 0
  %34 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %33) #6
  %35 = call i32 @strcmp(ptr noundef %32, ptr noundef %34) #7
  %36 = icmp eq i32 %35, 0
  br i1 %36, label %37, label %57

37:                                               ; preds = %28
  %38 = getelementptr inbounds %struct.breakpoint_str, ptr %1, i32 0, i32 1
  %39 = load i32, ptr %38, align 8, !tbaa !24
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = getelementptr inbounds %class.SVS_Node, ptr %40, i32 0, i32 2
  %42 = getelementptr inbounds %struct.breakpoint_str, ptr %41, i32 0, i32 1
  %43 = load i32, ptr %42, align 8, !tbaa !25
  %44 = icmp sge i32 %39, %43
  br i1 %44, label %45, label %56

45:                                               ; preds = %37
  %46 = getelementptr inbounds %struct.breakpoint_str, ptr %1, i32 0, i32 1
  %47 = load i32, ptr %46, align 8, !tbaa !24
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = getelementptr inbounds %class.SVS_Node, ptr %48, i32 0, i32 3
  %50 = getelementptr inbounds %struct.breakpoint_str, ptr %49, i32 0, i32 1
  %51 = load i32, ptr %50, align 8, !tbaa !26
  %52 = icmp sle i32 %47, %51
  br i1 %52, label %53, label %56

53:                                               ; preds = %45
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i64 0, ptr %4, align 8
  br label %123

56:                                               ; preds = %45, %37
  br label %57

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

58:                                               ; preds = %57, %22
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = getelementptr inbounds %class.SVS_Node, ptr %59, i32 0, i32 2
  %61 = getelementptr inbounds %struct.breakpoint_str, ptr %60, i32 0, i32 0
  %62 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %61) #6
  %63 = getelementptr inbounds %struct.breakpoint_str, ptr %1, i32 0, i32 0
  %64 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %63) #6
  %65 = call i32 @strcmp(ptr noundef %62, ptr noundef %64) #7
  %66 = icmp eq i32 %65, 0
  br i1 %66, label %67, label %83

67:                                               ; preds = %58
  %68 = getelementptr inbounds %struct.breakpoint_str, ptr %1, i32 0, i32 1
  %69 = load i32, ptr %68, align 8, !tbaa !24
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = getelementptr inbounds %class.SVS_Node, ptr %70, i32 0, i32 2
  %72 = getelementptr inbounds %struct.breakpoint_str, ptr %71, i32 0, i32 1
  %73 = load i32, ptr %72, align 8, !tbaa !25
  %74 = sub nsw i32 %69, %73
  %75 = call i32 @llvm.abs.i32(i32 %74, i1 true)
  %76 = sitofp i32 %75 to double
  %77 = call noundef ptr @_ZN9Parameter8InstanceEv()
  %78 = getelementptr inbounds %class.Parameter, ptr %77, i32 0, i32 1
  %79 = load double, ptr %78, align 8, !tbaa !27
  %80 = fcmp ole double %76, %79
  br i1 %80, label %81, label %82

81:                                               ; preds = %67
  store i64 0, ptr %4, align 8
  br label %123

82:                                               ; preds = %67
  br label %83

83:                                               ; preds = %82, %58
  %84 = load ptr, ptr %7, align 8, !tbaa !5
  %85 = getelementptr inbounds %class.SVS_Node, ptr %84, i32 0, i32 3
  %86 = getelementptr inbounds %struct.breakpoint_str, ptr %85, i32 0, i32 0
  %87 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %86) #6
  %88 = getelementptr inbounds %struct.breakpoint_str, ptr %1, i32 0, i32 0
  %89 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %88) #6
  %90 = call i32 @strcmp(ptr noundef %87, ptr noundef %89) #7
  %91 = icmp eq i32 %90, 0
  br i1 %91, label %92, label %108

92:                                               ; preds = %83
  %93 = getelementptr inbounds %struct.breakpoint_str, ptr %1, i32 0, i32 1
  %94 = load i32, ptr %93, align 8, !tbaa !24
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  %96 = getelementptr inbounds %class.SVS_Node, ptr %95, i32 0, i32 3
  %97 = getelementptr inbounds %struct.breakpoint_str, ptr %96, i32 0, i32 1
  %98 = load i32, ptr %97, align 8, !tbaa !26
  %99 = sub nsw i32 %94, %98
  %100 = call i32 @llvm.abs.i32(i32 %99, i1 true)
  %101 = sitofp i32 %100 to double
  %102 = call noundef ptr @_ZN9Parameter8InstanceEv()
  %103 = getelementptr inbounds %class.Parameter, ptr %102, i32 0, i32 1
  %104 = load double, ptr %103, align 8, !tbaa !27
  %105 = fcmp ole double %101, %104
  br i1 %105, label %106, label %107

106:                                              ; preds = %92
  store i64 0, ptr %4, align 8
  br label %123

107:                                              ; preds = %92
  br label %108

108:                                              ; preds = %107, %83
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %109 = getelementptr inbounds %struct.breakpoint_str, ptr %1, i32 0, i32 1
  %110 = load i32, ptr %109, align 8, !tbaa !24
  %111 = load ptr, ptr %7, align 8, !tbaa !5
  %112 = getelementptr inbounds %class.SVS_Node, ptr %111, i32 0, i32 2
  %113 = getelementptr inbounds %struct.breakpoint_str, ptr %112, i32 0, i32 1
  %114 = load i32, ptr %113, align 8, !tbaa !25
  %115 = sub nsw i32 %110, %114
  store i32 %115, ptr %8, align 4, !tbaa !31
  %116 = load i32, ptr %8, align 4, !tbaa !31
  %117 = icmp eq i32 %116, 0
  br i1 %117, label %118, label %119

118:                                              ; preds = %108
  store i64 1, ptr %4, align 8
  store i32 1, ptr %9, align 4
  br label %122

119:                                              ; preds = %108
  %120 = load i32, ptr %8, align 4, !tbaa !31
  %121 = sext i32 %120 to i64
  store i64 %121, ptr %4, align 8
  store i32 1, ptr %9, align 4
  br label %122

122:                                              ; preds = %119, %118
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %123

123:                                              ; preds = %122, %106, %81, %53
  %124 = load i64, ptr %4, align 8
  ret i64 %124
}

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN9Parameter8InstanceEv() #4 align 2

attributes #0 = { nounwind willreturn memory(read) "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 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { inlinehint 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 }
attributes #7 = { nounwind willreturn memory(read) }

!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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS8SVS_Node", !11, i64 0, !12, i64 8, !12, i64 48, !17, i64 88, !13, i64 112, !21, i64 144, !22, i64 152, !13, i64 160, !7, i64 192, !7, i64 197}
!11 = !{!"short", !7, i64 0}
!12 = !{!"_ZTS14breakpoint_str", !13, i64 0, !16, i64 32}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !14, i64 0, !15, i64 8, !7, i64 16}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = !{!"_ZTSSt6vectorIP12Support_NodeSaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIP12Support_NodeSaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIP12Support_NodeSaIS1_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIP12Support_NodeSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSSt4pairIiiE", !16, i64 0, !16, i64 4}
!22 = !{!"_ZTSSt4pairIbbE", !23, i64 0, !23, i64 1}
!23 = !{!"bool", !7, i64 0}
!24 = !{!12, !16, i64 32}
!25 = !{!10, !16, i64 40}
!26 = !{!10, !16, i64 80}
!27 = !{!28, !29, i64 32}
!28 = !{!"_ZTS9Parameter", !13, i64 0, !29, i64 32, !16, i64 40, !23, i64 44, !23, i64 45, !23, i64 46, !16, i64 48, !30, i64 52, !16, i64 56}
!29 = !{!"double", !7, i64 0}
!30 = !{!"float", !7, i64 0}
!31 = !{!16, !16, 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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #2

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i64 -2147483648, 2147483648) i64 @_ZN13IntervallTree11overlap_SNPE14breakpoint_strP8SVS_Node(ptr nocapture noundef nonnull readnone align 1 dereferenceable(1) %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #3 align 2 {
  %4 = load i16, ptr %2, align 8, !tbaa !5
  switch i16 %4, label %22 [
    i16 0, label %5
    i16 1, label %5
    i16 6, label %5
  ]

5:                                                ; preds = %3, %3, %3
  %6 = getelementptr inbounds i8, ptr %2, i64 8
  %7 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  %8 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  %9 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %7, ptr noundef nonnull dereferenceable(1) %8) #6
  %10 = icmp eq i32 %9, 0
  br i1 %10, label %11, label %22

11:                                               ; preds = %5
  %12 = getelementptr inbounds i8, ptr %1, i64 32
  %13 = load i32, ptr %12, align 8, !tbaa !23
  %14 = getelementptr inbounds i8, ptr %2, i64 40
  %15 = load i32, ptr %14, align 8, !tbaa !24
  %.not = icmp slt i32 %13, %15
  br i1 %.not, label %22, label %16

16:                                               ; preds = %11
  %17 = getelementptr inbounds i8, ptr %2, i64 80
  %18 = load i32, ptr %17, align 8, !tbaa !25
  %.not17 = icmp sgt i32 %13, %18
  br i1 %.not17, label %22, label %19

19:                                               ; preds = %16
  %20 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
  %21 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %65

22:                                               ; preds = %3, %5, %16, %11
  %23 = getelementptr inbounds i8, ptr %2, i64 8
  %24 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %23) #5
  %25 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  %26 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %24, ptr noundef nonnull dereferenceable(1) %25) #6
  %27 = icmp eq i32 %26, 0
  br i1 %27, label %28, label %40

28:                                               ; preds = %22
  %29 = getelementptr inbounds i8, ptr %1, i64 32
  %30 = load i32, ptr %29, align 8, !tbaa !23
  %31 = getelementptr inbounds i8, ptr %2, i64 40
  %32 = load i32, ptr %31, align 8, !tbaa !24
  %33 = sub nsw i32 %30, %32
  %34 = tail call i32 @llvm.abs.i32(i32 %33, i1 true)
  %35 = uitofp nneg i32 %34 to double
  %36 = tail call noundef ptr @_ZN9Parameter8InstanceEv()
  %37 = getelementptr inbounds i8, ptr %36, i64 32
  %38 = load double, ptr %37, align 8, !tbaa !26
  %39 = fcmp ult double %38, %35
  br i1 %39, label %40, label %65

40:                                               ; preds = %28, %22
  %41 = getelementptr inbounds i8, ptr %2, i64 48
  %42 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %41) #5
  %43 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  %44 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %42, ptr noundef nonnull dereferenceable(1) %43) #6
  %45 = icmp eq i32 %44, 0
  br i1 %45, label %46, label %58

46:                                               ; preds = %40
  %47 = getelementptr inbounds i8, ptr %1, i64 32
  %48 = load i32, ptr %47, align 8, !tbaa !23
  %49 = getelementptr inbounds i8, ptr %2, i64 80
  %50 = load i32, ptr %49, align 8, !tbaa !25
  %51 = sub nsw i32 %48, %50
  %52 = tail call i32 @llvm.abs.i32(i32 %51, i1 true)
  %53 = uitofp nneg i32 %52 to double
  %54 = tail call noundef ptr @_ZN9Parameter8InstanceEv()
  %55 = getelementptr inbounds i8, ptr %54, i64 32
  %56 = load double, ptr %55, align 8, !tbaa !26
  %57 = fcmp ult double %56, %53
  br i1 %57, label %58, label %65

58:                                               ; preds = %46, %40
  %59 = getelementptr inbounds i8, ptr %1, i64 32
  %60 = load i32, ptr %59, align 8, !tbaa !23
  %61 = getelementptr inbounds i8, ptr %2, i64 40
  %62 = load i32, ptr %61, align 8, !tbaa !24
  %63 = icmp eq i32 %60, %62
  %64 = sub nsw i32 %60, %62
  %narrow = select i1 %63, i32 1, i32 %64
  %.0 = sext i32 %narrow to i64
  br label %65

65:                                               ; preds = %46, %28, %58, %19
  %.1 = phi i64 [ 0, %19 ], [ %.0, %58 ], [ 0, %28 ], [ 0, %46 ]
  ret i64 %.1
}

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN9Parameter8InstanceEv() local_unnamed_addr #3 align 2

attributes #0 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { inlinehint 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 #5 = { nounwind }
attributes #6 = { nounwind willreturn memory(read) }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTS8SVS_Node", !7, i64 0, !10, i64 8, !10, i64 48, !16, i64 88, !11, i64 112, !20, i64 144, !21, i64 152, !11, i64 160, !8, i64 192, !8, i64 197}
!7 = !{!"short", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS14breakpoint_str", !11, i64 0, !15, i64 32}
!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 = !{!"int", !8, i64 0}
!16 = !{!"_ZTSSt6vectorIP12Support_NodeSaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIP12Support_NodeSaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIP12Support_NodeSaIS1_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIP12Support_NodeSaIS1_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!20 = !{!"_ZTSSt4pairIiiE", !15, i64 0, !15, i64 4}
!21 = !{!"_ZTSSt4pairIbbE", !22, i64 0, !22, i64 1}
!22 = !{!"bool", !8, i64 0}
!23 = !{!10, !15, i64 32}
!24 = !{!6, !15, i64 40}
!25 = !{!6, !15, i64 80}
!26 = !{!27, !28, i64 32}
!27 = !{!"_ZTS9Parameter", !11, i64 0, !28, i64 32, !15, i64 40, !22, i64 44, !22, i64 45, !22, i64 46, !15, i64 48, !29, i64 52, !15, i64 56}
!28 = !{!"double", !8, i64 0}
!29 = !{!"float", !8, i64 0}


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