; LLVM IR from opset/openset :: src/result.ll (Z16mergeResultTypesRSt6vectorIPN7openset6result9ResultSetESaIS3_EE)

; 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::vector.302" = type { %"struct.std::_Vector_base.303" }
%"struct.std::_Vector_base.303" = type { %"struct.std::_Vector_base<openset::result::ResultTypes_e, std::allocator<openset::result::ResultTypes_e>>::_Vector_impl" }
%"struct.std::_Vector_base<openset::result::ResultTypes_e, std::allocator<openset::result::ResultTypes_e>>::_Vector_impl" = type { %"struct.std::_Vector_base<openset::result::ResultTypes_e, std::allocator<openset::result::ResultTypes_e>>::_Vector_impl_data" }
%"struct.std::_Vector_base<openset::result::ResultTypes_e, std::allocator<openset::result::ResultTypes_e>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.304" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.375" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.376" = type { ptr }
%"class.openset::result::ResultSet" = type { %"class.robin_hood::detail::unordered_map", %"class.std::vector", %class.HeapStack, i64, %class.CriticalSection, i8, %"class.robin_hood::detail::unordered_map.295", %"class.std::vector.302", %"class.std::vector.307" }
%"class.robin_hood::detail::unordered_map" = type { %"struct.robin_hood::detail::NodeAllocator", ptr, ptr, i64, i64, i64, i32, i32 }
%"struct.robin_hood::detail::NodeAllocator" = type { %"class.robin_hood::detail::BulkPoolAllocator" }
%"class.robin_hood::detail::BulkPoolAllocator" = type { ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<openset::result::RowKey, openset::result::Accumulator *>, std::allocator<std::pair<openset::result::RowKey, openset::result::Accumulator *>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<openset::result::RowKey, openset::result::Accumulator *>, std::allocator<std::pair<openset::result::RowKey, openset::result::Accumulator *>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<openset::result::RowKey, openset::result::Accumulator *>, std::allocator<std::pair<openset::result::RowKey, openset::result::Accumulator *>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<openset::result::RowKey, openset::result::Accumulator *>, std::allocator<std::pair<openset::result::RowKey, openset::result::Accumulator *>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.HeapStack = type { i64, i64, i64, i64, i64, ptr, ptr }
%class.CriticalSection = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i8 }
%"class.robin_hood::detail::unordered_map.295" = type { ptr, ptr, i64, i64, i64, i32, i32 }
%"class.std::vector.307" = type { %"struct.std::_Vector_base.308" }
%"struct.std::_Vector_base.308" = type { %"struct.std::_Vector_base<openset::query::Modifiers_e, std::allocator<openset::query::Modifiers_e>>::_Vector_impl" }
%"struct.std::_Vector_base<openset::query::Modifiers_e, std::allocator<openset::query::Modifiers_e>>::_Vector_impl" = type { %"struct.std::_Vector_base<openset::query::Modifiers_e, std::allocator<openset::query::Modifiers_e>>::_Vector_impl_data" }
%"struct.std::_Vector_base<openset::query::Modifiers_e, std::allocator<openset::query::Modifiers_e>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z16mergeResultTypesRSt6vectorIPN7openset6result9ResultSetESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(24) %0) #2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca %"class.std::vector.302", align 8
  %5 = alloca %"class.std::allocator.304", align 1
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.375", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.375", align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.376", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.376", align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.375", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.375", align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.376", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.376", align 8
  %25 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  %26 = load ptr, ptr %2, align 8, !tbaa !5
  %27 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7openset6result9ResultSetESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef 0) #4
  %28 = load ptr, ptr %27, align 8, !tbaa !5
  %29 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %28, i32 0, i32 3
  %30 = load i64, ptr %29, align 8, !tbaa !9
  store i64 %30, ptr %3, align 8, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #4
  %31 = load i64, ptr %3, align 8, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #4
  call void @_ZNSaIN7openset6result13ResultTypes_eEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #4
  invoke void @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %31, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %32 unwind label %42

32:                                               ; preds = %1
  call void @_ZNSt15__new_allocatorIN7openset6result13ResultTypes_eEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  store ptr %4, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %33 = load ptr, ptr %8, align 8, !tbaa !5
  %34 = call ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #4
  %35 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.375", ptr %9, i32 0, i32 0
  store ptr %34, ptr %35, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  %37 = call ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #4
  %38 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.375", ptr %10, i32 0, i32 0
  store ptr %37, ptr %38, align 8
  br label %39

39:                                               ; preds = %49, %32
  %40 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7openset6result13ResultTypes_eESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #4
  br i1 %40, label %46, label %41

41:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br label %51

42:                                               ; preds = %1
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %6, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %7, align 4
  call void @_ZNSt15__new_allocatorIN7openset6result13ResultTypes_eEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #4
  br label %120

46:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %47 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7openset6result13ResultTypes_eESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #4
  store ptr %47, ptr %11, align 8, !tbaa !5
  %48 = load ptr, ptr %11, align 8, !tbaa !5
  store i32 0, ptr %48, align 4, !tbaa !35
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  br label %49

49:                                               ; preds = %46
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7openset6result13ResultTypes_eESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #4
  br label %39

51:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  store ptr %52, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %53 = load ptr, ptr %12, align 8, !tbaa !5
  %54 = call ptr @_ZNSt6vectorIPN7openset6result9ResultSetESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #4
  %55 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.376", ptr %13, i32 0, i32 0
  store ptr %54, ptr %55, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %56 = load ptr, ptr %12, align 8, !tbaa !5
  %57 = call ptr @_ZNSt6vectorIPN7openset6result9ResultSetESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #4
  %58 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.376", ptr %14, i32 0, i32 0
  store ptr %57, ptr %58, align 8
  br label %59

59:                                               ; preds = %93, %51
  %60 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN7openset6result9ResultSetESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #4
  br i1 %60, label %62, label %61

61:                                               ; preds = %59
  store i32 4, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br label %95

62:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN7openset6result9ResultSetESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #4
  %64 = load ptr, ptr %63, align 8, !tbaa !5
  store ptr %64, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 -1, ptr %17, align 4, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %65 = load ptr, ptr %16, align 8, !tbaa !5
  %66 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %65, i32 0, i32 7
  store ptr %66, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %67 = load ptr, ptr %18, align 8, !tbaa !5
  %68 = call ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %67) #4
  %69 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.375", ptr %19, i32 0, i32 0
  store ptr %68, ptr %69, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %70 = load ptr, ptr %18, align 8, !tbaa !5
  %71 = call ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %70) #4
  %72 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.375", ptr %20, i32 0, i32 0
  store ptr %71, ptr %72, align 8
  br label %73

73:                                               ; preds = %90, %62
  %74 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7openset6result13ResultTypes_eESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #4
  br i1 %74, label %76, label %75

75:                                               ; preds = %73
  store i32 6, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  br label %92

76:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7openset6result13ResultTypes_eESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #4
  store ptr %77, ptr %21, align 8, !tbaa !5
  %78 = load i32, ptr %17, align 4, !tbaa !37
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %17, align 4, !tbaa !37
  %80 = load ptr, ptr %21, align 8, !tbaa !5
  %81 = load i32, ptr %80, align 4, !tbaa !35
  %82 = icmp ne i32 %81, 0
  br i1 %82, label %83, label %89

83:                                               ; preds = %76
  %84 = load ptr, ptr %21, align 8, !tbaa !5
  %85 = load i32, ptr %84, align 4, !tbaa !35
  %86 = load i32, ptr %17, align 4, !tbaa !37
  %87 = sext i32 %86 to i64
  %88 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %87) #4
  store i32 %85, ptr %88, align 4, !tbaa !35
  br label %89

89:                                               ; preds = %83, %76
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  br label %90

90:                                               ; preds = %89
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7openset6result13ResultTypes_eESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #4
  br label %73

92:                                               ; preds = %75
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  br label %93

93:                                               ; preds = %92
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN7openset6result9ResultSetESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #4
  br label %59

95:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  %96 = load ptr, ptr %2, align 8, !tbaa !5
  store ptr %96, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  %97 = load ptr, ptr %22, align 8, !tbaa !5
  %98 = call ptr @_ZNSt6vectorIPN7openset6result9ResultSetESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %97) #4
  %99 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.376", ptr %23, i32 0, i32 0
  store ptr %98, ptr %99, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  %100 = load ptr, ptr %22, align 8, !tbaa !5
  %101 = call ptr @_ZNSt6vectorIPN7openset6result9ResultSetESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %100) #4
  %102 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.376", ptr %24, i32 0, i32 0
  store ptr %101, ptr %102, align 8
  br label %103

103:                                              ; preds = %113, %95
  %104 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN7openset6result9ResultSetESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #4
  br i1 %104, label %106, label %105

105:                                              ; preds = %103
  store i32 8, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  br label %119

106:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN7openset6result9ResultSetESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #4
  %108 = load ptr, ptr %107, align 8, !tbaa !5
  store ptr %108, ptr %25, align 8, !tbaa !5
  %109 = load ptr, ptr %25, align 8, !tbaa !5
  %110 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %109, i32 0, i32 7
  %111 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %110, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %112 unwind label %115

112:                                              ; preds = %106
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  br label %113

113:                                              ; preds = %112
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN7openset6result9ResultSetESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #4
  br label %103

115:                                              ; preds = %106
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %6, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  br label %120

119:                                              ; preds = %105
  call void @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  ret void

120:                                              ; preds = %115, %42
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  br label %121

121:                                              ; preds = %120
  %122 = load ptr, ptr %6, align 8
  %123 = load i32, ptr %7, align 4
  %124 = insertvalue { ptr, i32 } poison, ptr %122, 0
  %125 = insertvalue { ptr, i32 } %124, i32 %123, 1
  resume { ptr, i32 } %125
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7openset6result9ResultSetESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN7openset6result13ResultTypes_eESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPPN7openset6result9ResultSetESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIN7openset6result13ResultTypes_eEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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 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 = { 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 144}
!10 = !{!"_ZTSN7openset6result9ResultSetE", !11, i64 0, !16, i64 64, !20, i64 88, !14, i64 144, !21, i64 152, !24, i64 153, !25, i64 160, !26, i64 208, !30, i64 232}
!11 = !{!"_ZTSN10robin_hood6detail13unordered_mapILb0ELm80EN7openset6result6RowKeyEPNS3_11AccumulatorENS_4hashIS4_EESt8equal_toIS4_EEE", !12, i64 0, !6, i64 16, !6, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !15, i64 60}
!12 = !{!"_ZTSN10robin_hood6detail13NodeAllocatorINS_4pairIKN7openset6result6RowKeyEPNS4_11AccumulatorEEELm4ELm16384ELb0EEE", !13, i64 0}
!13 = !{!"_ZTSN10robin_hood6detail17BulkPoolAllocatorINS_4pairIKN7openset6result6RowKeyEPNS4_11AccumulatorEEELm4ELm16384EEE", !6, i64 0, !6, i64 8}
!14 = !{!"long", !7, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTSSt6vectorISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTS9HeapStack", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !6, i64 40, !6, i64 48}
!21 = !{!"_ZTS15CriticalSection", !22, i64 0}
!22 = !{!"_ZTSSt6atomicIbE", !23, i64 0}
!23 = !{!"_ZTSSt13__atomic_baseIbE", !24, i64 0}
!24 = !{!"bool", !7, i64 0}
!25 = !{!"_ZTSN10robin_hood6detail13unordered_mapILb1ELm80ElPcNS_4hashIlEESt8equal_toIlEEE", !6, i64 0, !6, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !15, i64 44}
!26 = !{!"_ZTSSt6vectorIN7openset6result13ResultTypes_eESaIS2_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIN7openset6result13ResultTypes_eESaIS2_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN7openset6result13ResultTypes_eESaIS2_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN7openset6result13ResultTypes_eESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!"_ZTSSt6vectorIN7openset5query11Modifiers_eESaIS2_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIN7openset5query11Modifiers_eESaIS2_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN7openset5query11Modifiers_eESaIS2_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN7openset5query11Modifiers_eESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!14, !14, i64 0}
!35 = !{!36, !36, i64 0}
!36 = !{!"_ZTSN7openset6result13ResultTypes_eE", !7, i64 0}
!37 = !{!15, !15, 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::vector.302" = type { %"struct.std::_Vector_base.303" }
%"struct.std::_Vector_base.303" = type { %"struct.std::_Vector_base<openset::result::ResultTypes_e, std::allocator<openset::result::ResultTypes_e>>::_Vector_impl" }
%"struct.std::_Vector_base<openset::result::ResultTypes_e, std::allocator<openset::result::ResultTypes_e>>::_Vector_impl" = type { %"struct.std::_Vector_base<openset::result::ResultTypes_e, std::allocator<openset::result::ResultTypes_e>>::_Vector_impl_data" }
%"struct.std::_Vector_base<openset::result::ResultTypes_e, std::allocator<openset::result::ResultTypes_e>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.304" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.375" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.376" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z16mergeResultTypesRSt6vectorIPN7openset6result9ResultSetESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(24) %0) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::vector.302", align 8
  %3 = alloca %"class.std::allocator.304", align 1
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.375", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.375", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.376", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.376", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.375", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.375", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.376", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.376", align 8
  %12 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7openset6result9ResultSetESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef 0) #4
  %13 = load ptr, ptr %12, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %13, i64 144
  %15 = load i64, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #4
  call void @_ZNSaIN7openset6result13ResultTypes_eEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #4
  invoke void @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %15, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %16 unwind label %23

16:                                               ; preds = %1
  call void @_ZNSt15__new_allocatorIN7openset6result13ResultTypes_eEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  %17 = call ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #4
  store ptr %17, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %18 = call ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #4
  store ptr %18, ptr %5, align 8
  %19 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7openset6result13ResultTypes_eESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  br i1 %19, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %16
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  %20 = call ptr @_ZNSt6vectorIPN7openset6result9ResultSetESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  store ptr %20, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  %21 = call ptr @_ZNSt6vectorIPN7openset6result9ResultSetESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  store ptr %21, ptr %7, align 8
  %22 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN7openset6result9ResultSetESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  br i1 %22, label %.lr.ph29, label %._crit_edge30

23:                                               ; preds = %1
  %24 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIN7openset6result13ResultTypes_eEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #4
  br label %55

.lr.ph:                                           ; preds = %16, %.lr.ph
  %25 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7openset6result13ResultTypes_eESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  store i32 0, ptr %25, align 4, !tbaa !34
  %26 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7openset6result13ResultTypes_eESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %27 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7openset6result13ResultTypes_eESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  br i1 %27, label %.lr.ph, label %._crit_edge

._crit_edge30:                                    ; preds = %._crit_edge27, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  %28 = call ptr @_ZNSt6vectorIPN7openset6result9ResultSetESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  store ptr %28, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  %29 = call ptr @_ZNSt6vectorIPN7openset6result9ResultSetESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  store ptr %29, ptr %11, align 8
  %30 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN7openset6result9ResultSetESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #4
  br i1 %30, label %.lr.ph32, label %._crit_edge33

.lr.ph29:                                         ; preds = %._crit_edge, %._crit_edge27
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN7openset6result9ResultSetESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #4
  %32 = load ptr, ptr %31, align 8, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %32, i64 208
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  %34 = call ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #4
  store ptr %34, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  %35 = call ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #4
  store ptr %35, ptr %9, align 8
  %36 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7openset6result13ResultTypes_eESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #4
  br i1 %36, label %.lr.ph26, label %._crit_edge27

._crit_edge27:                                    ; preds = %43, %.lr.ph29
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  %37 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN7openset6result9ResultSetESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #4
  %38 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN7openset6result9ResultSetESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  br i1 %38, label %.lr.ph29, label %._crit_edge30

.lr.ph26:                                         ; preds = %.lr.ph29, %43
  %indvars.iv = phi i64 [ %indvars.iv.next, %43 ], [ -1, %.lr.ph29 ]
  %39 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7openset6result13ResultTypes_eESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #4
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %40 = load i32, ptr %39, align 4, !tbaa !34
  %.not = icmp eq i32 %40, 0
  br i1 %.not, label %43, label %41

41:                                               ; preds = %.lr.ph26
  %42 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv.next) #4
  store i32 %40, ptr %42, align 4, !tbaa !34
  br label %43

43:                                               ; preds = %41, %.lr.ph26
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7openset6result13ResultTypes_eESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #4
  %45 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7openset6result13ResultTypes_eESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #4
  br i1 %45, label %.lr.ph26, label %._crit_edge27

._crit_edge33:                                    ; preds = %50, %._crit_edge30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  call void @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #4
  ret void

.lr.ph32:                                         ; preds = %._crit_edge30, %50
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN7openset6result9ResultSetESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #4
  %47 = load ptr, ptr %46, align 8, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %47, i64 208
  %49 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %48, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %50 unwind label %53

50:                                               ; preds = %.lr.ph32
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN7openset6result9ResultSetESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #4
  %52 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN7openset6result9ResultSetESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #4
  br i1 %52, label %.lr.ph32, label %._crit_edge33

53:                                               ; preds = %.lr.ph32
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  call void @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #4
  br label %55

55:                                               ; preds = %53, %23
  %.pn = phi { ptr, i32 } [ %54, %53 ], [ %24, %23 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #4
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7openset6result9ResultSetESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN7openset6result13ResultTypes_eESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPPN7openset6result9ResultSetESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIN7openset6result13ResultTypes_eEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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 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 = { 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 144}
!10 = !{!"_ZTSN7openset6result9ResultSetE", !11, i64 0, !16, i64 64, !20, i64 88, !14, i64 144, !21, i64 152, !24, i64 153, !25, i64 160, !26, i64 208, !30, i64 232}
!11 = !{!"_ZTSN10robin_hood6detail13unordered_mapILb0ELm80EN7openset6result6RowKeyEPNS3_11AccumulatorENS_4hashIS4_EESt8equal_toIS4_EEE", !12, i64 0, !6, i64 16, !6, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !15, i64 60}
!12 = !{!"_ZTSN10robin_hood6detail13NodeAllocatorINS_4pairIKN7openset6result6RowKeyEPNS4_11AccumulatorEEELm4ELm16384ELb0EEE", !13, i64 0}
!13 = !{!"_ZTSN10robin_hood6detail17BulkPoolAllocatorINS_4pairIKN7openset6result6RowKeyEPNS4_11AccumulatorEEELm4ELm16384EEE", !6, i64 0, !6, i64 8}
!14 = !{!"long", !7, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTSSt6vectorISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTS9HeapStack", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !6, i64 40, !6, i64 48}
!21 = !{!"_ZTS15CriticalSection", !22, i64 0}
!22 = !{!"_ZTSSt6atomicIbE", !23, i64 0}
!23 = !{!"_ZTSSt13__atomic_baseIbE", !24, i64 0}
!24 = !{!"bool", !7, i64 0}
!25 = !{!"_ZTSN10robin_hood6detail13unordered_mapILb1ELm80ElPcNS_4hashIlEESt8equal_toIlEEE", !6, i64 0, !6, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !15, i64 44}
!26 = !{!"_ZTSSt6vectorIN7openset6result13ResultTypes_eESaIS2_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIN7openset6result13ResultTypes_eESaIS2_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN7openset6result13ResultTypes_eESaIS2_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN7openset6result13ResultTypes_eESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!"_ZTSSt6vectorIN7openset5query11Modifiers_eESaIS2_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIN7openset5query11Modifiers_eESaIS2_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN7openset5query11Modifiers_eESaIS2_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN7openset5query11Modifiers_eESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!35, !35, i64 0}
!35 = !{!"_ZTSN7openset6result13ResultTypes_eE", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass