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

; 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.std::pair" = type { i8, i8 }
%struct.meta_data_str = type { i32, i16, %"class.std::__cxx11::basic_string", i32, %"class.std::__cxx11::basic_string", i32, %"struct.std::pair.3", %"class.std::__cxx11::basic_string", %"struct.std::pair.5" }
%"struct.std::pair.3" = type { i32, i32 }
%"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] }
%"struct.std::pair.5" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%struct.breakpoint_str = type <{ %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%class.TNode = type { ptr, i32, ptr, ptr, ptr }

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN13IntervallTree7overlapE14breakpoint_strS0_sSt4pairIbbEP8SVS_Node(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, i16 noundef signext, i16, ptr noundef) #0 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN14breakpoint_strC2ERKS_(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN14breakpoint_strD2Ev(ptr noundef nonnull align 8 dereferenceable(36)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13IntervallTree17careful_screeningER14breakpoint_strS1_sSt4pairIbbE13meta_data_strRP5TNode(ptr noundef nonnull align 1 dereferenceable(1) %0, ptr noundef nonnull align 8 dereferenceable(36) %1, ptr noundef nonnull align 8 dereferenceable(36) %2, i16 noundef signext %3, i16 %4, ptr noundef %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #0 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"struct.std::pair", align 1
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i16, align 2
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"struct.std::pair", align 1
  %16 = alloca %struct.meta_data_str, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca %struct.breakpoint_str, align 8
  %20 = alloca %struct.breakpoint_str, align 8
  %21 = alloca %"struct.std::pair", align 1
  %22 = alloca %struct.breakpoint_str, align 8
  %23 = alloca %struct.breakpoint_str, align 8
  %24 = alloca %"struct.std::pair", align 1
  %25 = alloca %struct.meta_data_str, align 8
  %26 = alloca %"struct.std::pair", align 1
  %27 = alloca %struct.meta_data_str, align 8
  store i16 %4, ptr %8, align 1
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store i16 %3, ptr %12, align 2, !tbaa !9
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  %28 = load ptr, ptr %9, align 8
  %29 = load ptr, ptr %14, align 8, !tbaa !5
  %30 = load ptr, ptr %29, align 8, !tbaa !5
  %31 = icmp ne ptr %30, null
  br i1 %31, label %32, label %117

32:                                               ; preds = %7
  %33 = load ptr, ptr %10, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.breakpoint_str, ptr %33, i32 0, i32 1
  %35 = load i32, ptr %34, align 8, !tbaa !11
  %36 = icmp eq i32 %35, -1
  br i1 %36, label %37, label %42

37:                                               ; preds = %32
  %38 = load ptr, ptr %11, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.breakpoint_str, ptr %38, i32 0, i32 1
  %40 = load i32, ptr %39, align 8, !tbaa !11
  %41 = icmp eq i32 %40, -1
  br i1 %41, label %117, label %42

42:                                               ; preds = %37, %32
  %43 = load ptr, ptr %10, align 8, !tbaa !5
  %44 = load ptr, ptr %11, align 8, !tbaa !5
  %45 = load i16, ptr %12, align 2, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %15, ptr align 1 %8, i64 2, i1 false)
  call void @_ZN13meta_data_strC2ERKS_(ptr noundef nonnull align 8 dereferenceable(192) %16, ptr noundef nonnull align 8 dereferenceable(192) %5)
  %46 = load ptr, ptr %14, align 8, !tbaa !5
  %47 = load ptr, ptr %46, align 8, !tbaa !5
  %48 = getelementptr inbounds %class.TNode, ptr %47, i32 0, i32 3
  %49 = load i16, ptr %15, align 1
  invoke void @_ZN13IntervallTree17careful_screeningER14breakpoint_strS1_sSt4pairIbbE13meta_data_strRP5TNode(ptr noundef nonnull align 1 dereferenceable(1) %28, ptr noundef nonnull align 8 dereferenceable(36) %43, ptr noundef nonnull align 8 dereferenceable(36) %44, i16 noundef signext %45, i16 %49, ptr noundef %16, ptr noundef nonnull align 8 dereferenceable(8) %48)
          to label %50 unwind label %77

50:                                               ; preds = %42
  call void @_ZN13meta_data_strD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %16) #5
  %51 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN14breakpoint_strC2ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %19, ptr noundef nonnull align 8 dereferenceable(36) %51)
  %52 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZN14breakpoint_strC2ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %20, ptr noundef nonnull align 8 dereferenceable(36) %52)
          to label %53 unwind label %81

53:                                               ; preds = %50
  %54 = load i16, ptr %12, align 2, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %21, ptr align 1 %8, i64 2, i1 false)
  %55 = load ptr, ptr %14, align 8, !tbaa !5
  %56 = load ptr, ptr %55, align 8, !tbaa !5
  %57 = invoke noundef ptr @_ZN5TNode8get_dataEv(ptr noundef nonnull align 8 dereferenceable(40) %56)
          to label %58 unwind label %85

58:                                               ; preds = %53
  %59 = load i16, ptr %21, align 1
  %60 = invoke noundef i32 @_ZN13IntervallTree7overlapE14breakpoint_strS0_sSt4pairIbbEP8SVS_Node(ptr noundef nonnull align 1 dereferenceable(1) %28, ptr noundef %19, ptr noundef %20, i16 noundef signext %54, i16 %59, ptr noundef %57)
          to label %61 unwind label %85

61:                                               ; preds = %58
  %62 = icmp eq i32 %60, 0
  call void @_ZN14breakpoint_strD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %20) #5
  call void @_ZN14breakpoint_strD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %19) #5
  br i1 %62, label %63, label %104

63:                                               ; preds = %61
  %64 = load ptr, ptr %14, align 8, !tbaa !5
  %65 = load ptr, ptr %64, align 8, !tbaa !5
  %66 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN14breakpoint_strC2ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %22, ptr noundef nonnull align 8 dereferenceable(36) %66)
  %67 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZN14breakpoint_strC2ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %23, ptr noundef nonnull align 8 dereferenceable(36) %67)
          to label %68 unwind label %90

68:                                               ; preds = %63
  %69 = load i16, ptr %12, align 2, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %24, ptr align 1 %8, i64 2, i1 false)
  invoke void @_ZN13meta_data_strC2ERKS_(ptr noundef nonnull align 8 dereferenceable(192) %25, ptr noundef nonnull align 8 dereferenceable(192) %5)
          to label %70 unwind label %94

70:                                               ; preds = %68
  %71 = load i16, ptr %24, align 1
  invoke void @_ZN5TNode3addE14breakpoint_strS0_sSt4pairIbbE13meta_data_str(ptr noundef nonnull align 8 dereferenceable(40) %65, ptr noundef %22, ptr noundef %23, i16 noundef signext %69, i16 %71, ptr noundef %25)
          to label %72 unwind label %98

72:                                               ; preds = %70
  call void @_ZN13meta_data_strD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %25) #5
  call void @_ZN14breakpoint_strD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %23) #5
  call void @_ZN14breakpoint_strD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %22) #5
  %73 = load ptr, ptr %10, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.breakpoint_str, ptr %73, i32 0, i32 1
  store i32 -1, ptr %74, align 8, !tbaa !11
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.breakpoint_str, ptr %75, i32 0, i32 1
  store i32 -1, ptr %76, align 8, !tbaa !11
  br label %117

77:                                               ; preds = %42
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %17, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %18, align 4
  call void @_ZN13meta_data_strD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %16) #5
  br label %118

81:                                               ; preds = %50
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %17, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %18, align 4
  br label %89

85:                                               ; preds = %58, %53
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %17, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %18, align 4
  call void @_ZN14breakpoint_strD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %20) #5
  br label %89

89:                                               ; preds = %85, %81
  call void @_ZN14breakpoint_strD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %19) #5
  br label %118

90:                                               ; preds = %63
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %17, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %18, align 4
  br label %103

94:                                               ; preds = %68
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %17, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %18, align 4
  br label %102

98:                                               ; preds = %70
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %17, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %18, align 4
  call void @_ZN13meta_data_strD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %25) #5
  br label %102

102:                                              ; preds = %98, %94
  call void @_ZN14breakpoint_strD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %23) #5
  br label %103

103:                                              ; preds = %102, %90
  call void @_ZN14breakpoint_strD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %22) #5
  br label %118

104:                                              ; preds = %61
  %105 = load ptr, ptr %10, align 8, !tbaa !5
  %106 = load ptr, ptr %11, align 8, !tbaa !5
  %107 = load i16, ptr %12, align 2, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %26, ptr align 1 %8, i64 2, i1 false)
  call void @_ZN13meta_data_strC2ERKS_(ptr noundef nonnull align 8 dereferenceable(192) %27, ptr noundef nonnull align 8 dereferenceable(192) %5)
  %108 = load ptr, ptr %14, align 8, !tbaa !5
  %109 = load ptr, ptr %108, align 8, !tbaa !5
  %110 = getelementptr inbounds %class.TNode, ptr %109, i32 0, i32 4
  %111 = load i16, ptr %26, align 1
  invoke void @_ZN13IntervallTree17careful_screeningER14breakpoint_strS1_sSt4pairIbbE13meta_data_strRP5TNode(ptr noundef nonnull align 1 dereferenceable(1) %28, ptr noundef nonnull align 8 dereferenceable(36) %105, ptr noundef nonnull align 8 dereferenceable(36) %106, i16 noundef signext %107, i16 %111, ptr noundef %27, ptr noundef nonnull align 8 dereferenceable(8) %110)
          to label %112 unwind label %113

112:                                              ; preds = %104
  call void @_ZN13meta_data_strD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %27) #5
  br label %117

113:                                              ; preds = %104
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %17, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %18, align 4
  call void @_ZN13meta_data_strD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %27) #5
  br label %118

117:                                              ; preds = %112, %72, %37, %7
  ret void

118:                                              ; preds = %113, %103, %89, %77
  %119 = load ptr, ptr %17, align 8
  %120 = load i32, ptr %18, align 4
  %121 = insertvalue { ptr, i32 } poison, ptr %119, 0
  %122 = insertvalue { ptr, i32 } %121, i32 %120, 1
  resume { ptr, i32 } %122
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN13meta_data_strC2ERKS_(ptr noundef nonnull align 8 dereferenceable(192), ptr noundef nonnull align 8 dereferenceable(192)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN13meta_data_strD2Ev(ptr noundef nonnull align 8 dereferenceable(192)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5TNode8get_dataEv(ptr noundef nonnull align 8 dereferenceable(40)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5TNode3addE14breakpoint_strS0_sSt4pairIbbE13meta_data_str(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef, i16 noundef signext, i16, ptr noundef) #0 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { 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 #5 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"short", !7, i64 0}
!11 = !{!12, !16, i64 32}
!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}


; 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.meta_data_str = type { i32, i16, %"class.std::__cxx11::basic_string", i32, %"class.std::__cxx11::basic_string", i32, %"struct.std::pair.3", %"class.std::__cxx11::basic_string", %"struct.std::pair.5" }
%"struct.std::pair.3" = type { i32, i32 }
%"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] }
%"struct.std::pair.5" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%struct.breakpoint_str = type <{ %"class.std::__cxx11::basic_string", i32, [4 x i8] }>

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN13IntervallTree7overlapE14breakpoint_strS0_sSt4pairIbbEP8SVS_Node(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, i16 noundef signext, i16, ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN14breakpoint_strC2ERKS_(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13IntervallTree17careful_screeningER14breakpoint_strS1_sSt4pairIbbE13meta_data_strRP5TNode(ptr noundef nonnull align 1 dereferenceable(1) %0, ptr noundef nonnull align 8 dereferenceable(36) %1, ptr noundef nonnull align 8 dereferenceable(36) %2, i16 noundef signext %3, i16 %4, ptr noundef %5, ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %6) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca %struct.meta_data_str, align 8
  %9 = alloca %struct.breakpoint_str, align 8
  %10 = alloca %struct.breakpoint_str, align 8
  %11 = alloca %struct.breakpoint_str, align 8
  %12 = alloca %struct.breakpoint_str, align 8
  %13 = alloca %struct.meta_data_str, align 8
  %14 = alloca %struct.meta_data_str, align 8
  %15 = load ptr, ptr %6, align 8, !tbaa !5
  %.not = icmp eq ptr %15, null
  br i1 %.not, label %59, label %16

16:                                               ; preds = %7
  %17 = getelementptr inbounds i8, ptr %1, i64 32
  %18 = load i32, ptr %17, align 8, !tbaa !9
  %19 = icmp eq i32 %18, -1
  %20 = getelementptr inbounds i8, ptr %2, i64 32
  %21 = load i32, ptr %20, align 8
  %22 = icmp eq i32 %21, -1
  %or.cond = select i1 %19, i1 %22, i1 false
  br i1 %or.cond, label %59, label %23

23:                                               ; preds = %16
  call void @_ZN13meta_data_strC2ERKS_(ptr noundef nonnull align 8 dereferenceable(192) %8, ptr noundef nonnull align 8 dereferenceable(192) %5)
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %24, i64 24
  invoke void @_ZN13IntervallTree17careful_screeningER14breakpoint_strS1_sSt4pairIbbE13meta_data_strRP5TNode(ptr noundef nonnull align 1 dereferenceable(1) %0, ptr noundef nonnull align 8 dereferenceable(36) %1, ptr noundef nonnull align 8 dereferenceable(36) %2, i16 noundef signext %3, i16 %4, ptr noundef nonnull %8, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %26 unwind label %38

26:                                               ; preds = %23
  call void @_ZN13meta_data_strD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %8) #4
  call void @_ZN14breakpoint_strC2ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %9, ptr noundef nonnull align 8 dereferenceable(36) %1)
  invoke void @_ZN14breakpoint_strC2ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %10, ptr noundef nonnull align 8 dereferenceable(36) %2)
          to label %27 unwind label %40

27:                                               ; preds = %26
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = call noundef ptr @_ZN5TNode8get_dataEv(ptr noundef nonnull align 8 dereferenceable(40) %28)
  %30 = invoke noundef i32 @_ZN13IntervallTree7overlapE14breakpoint_strS0_sSt4pairIbbEP8SVS_Node(ptr noundef nonnull align 1 dereferenceable(1) %0, ptr noundef nonnull %9, ptr noundef nonnull %10, i16 noundef signext %3, i16 %4, ptr noundef %29)
          to label %31 unwind label %42

31:                                               ; preds = %27
  %32 = icmp eq i32 %30, 0
  call void @_ZN14breakpoint_strD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %10) #4
  call void @_ZN14breakpoint_strD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %9) #4
  br i1 %32, label %33, label %53

33:                                               ; preds = %31
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN14breakpoint_strC2ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %11, ptr noundef nonnull align 8 dereferenceable(36) %1)
  invoke void @_ZN14breakpoint_strC2ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %12, ptr noundef nonnull align 8 dereferenceable(36) %2)
          to label %35 unwind label %45

35:                                               ; preds = %33
  invoke void @_ZN13meta_data_strC2ERKS_(ptr noundef nonnull align 8 dereferenceable(192) %13, ptr noundef nonnull align 8 dereferenceable(192) %5)
          to label %36 unwind label %47

36:                                               ; preds = %35
  invoke void @_ZN5TNode3addE14breakpoint_strS0_sSt4pairIbbE13meta_data_str(ptr noundef nonnull align 8 dereferenceable(40) %34, ptr noundef nonnull %11, ptr noundef nonnull %12, i16 noundef signext %3, i16 %4, ptr noundef nonnull %13)
          to label %37 unwind label %49

37:                                               ; preds = %36
  call void @_ZN13meta_data_strD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %13) #4
  call void @_ZN14breakpoint_strD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %12) #4
  call void @_ZN14breakpoint_strD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %11) #4
  store i32 -1, ptr %17, align 8, !tbaa !9
  store i32 -1, ptr %20, align 8, !tbaa !9
  br label %59

38:                                               ; preds = %23
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN13meta_data_strD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %8) #4
  br label %60

40:                                               ; preds = %26
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %44

42:                                               ; preds = %27
  %43 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN14breakpoint_strD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %10) #4
  br label %44

44:                                               ; preds = %42, %40
  %.pn = phi { ptr, i32 } [ %43, %42 ], [ %41, %40 ]
  call void @_ZN14breakpoint_strD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %9) #4
  br label %60

45:                                               ; preds = %33
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %52

47:                                               ; preds = %35
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %51

49:                                               ; preds = %36
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN13meta_data_strD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %13) #4
  br label %51

51:                                               ; preds = %49, %47
  %.pn35 = phi { ptr, i32 } [ %50, %49 ], [ %48, %47 ]
  call void @_ZN14breakpoint_strD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %12) #4
  br label %52

52:                                               ; preds = %51, %45
  %.pn35.pn = phi { ptr, i32 } [ %.pn35, %51 ], [ %46, %45 ]
  call void @_ZN14breakpoint_strD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %11) #4
  br label %60

53:                                               ; preds = %31
  call void @_ZN13meta_data_strC2ERKS_(ptr noundef nonnull align 8 dereferenceable(192) %14, ptr noundef nonnull align 8 dereferenceable(192) %5)
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %54, i64 32
  invoke void @_ZN13IntervallTree17careful_screeningER14breakpoint_strS1_sSt4pairIbbE13meta_data_strRP5TNode(ptr noundef nonnull align 1 dereferenceable(1) %0, ptr noundef nonnull align 8 dereferenceable(36) %1, ptr noundef nonnull align 8 dereferenceable(36) %2, i16 noundef signext %3, i16 %4, ptr noundef nonnull %14, ptr noundef nonnull align 8 dereferenceable(8) %55)
          to label %56 unwind label %57

56:                                               ; preds = %53
  call void @_ZN13meta_data_strD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %14) #4
  br label %59

57:                                               ; preds = %53
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN13meta_data_strD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %14) #4
  br label %60

59:                                               ; preds = %16, %56, %37, %7
  ret void

60:                                               ; preds = %57, %52, %44, %38
  %.pn35.pn.pn = phi { ptr, i32 } [ %.pn35.pn, %52 ], [ %58, %57 ], [ %.pn, %44 ], [ %39, %38 ]
  resume { ptr, i32 } %.pn35.pn.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN13meta_data_strC2ERKS_(ptr noundef nonnull align 8 dereferenceable(192), ptr noundef nonnull align 8 dereferenceable(192)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5TNode8get_dataEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5TNode3addE14breakpoint_strS0_sSt4pairIbbE13meta_data_str(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef, i16 noundef signext, i16, ptr noundef) local_unnamed_addr #0 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { 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 #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 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !14, i64 32}
!10 = !{!"_ZTS14breakpoint_str", !11, i64 0, !14, i64 32}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !13, i64 8, !7, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!"int", !7, i64 0}


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