; LLVM IR from opset/openset :: src (attributes)

; 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.robin_hood::detail::unordered_map<true, 80, openset::db::attr_key_s, openset::db::Attr_s *, robin_hood::hash<openset::db::attr_key_s>, std::equal_to<openset::db::attr_key_s>>::Iter" = type { ptr, ptr }
%"struct.openset::db::attr_key_s" = type <{ i32, i64 }>
%"struct.robin_hood::pair" = type { %"struct.openset::db::attr_key_s", ptr }
%"struct.std::pair.312" = type <{ %"class.robin_hood::detail::unordered_map<true, 80, openset::db::attr_key_s, openset::db::Attr_s *, robin_hood::hash<openset::db::attr_key_s>, std::equal_to<openset::db::attr_key_s>>::Iter", i8, [7 x i8] }>
%"class.openset::db::Attributes" = type <{ %"class.robin_hood::detail::unordered_map", %"class.robin_hood::detail::unordered_map.292", ptr, ptr, ptr, i32, [4 x i8] }>
%"class.robin_hood::detail::unordered_map" = type { ptr, ptr, i64, i64, i64, i32, i32 }
%"class.robin_hood::detail::unordered_map.292" = type { ptr, ptr, i64, i64, i64, i32, i32 }
%"struct.openset::db::Attr_s" = type <{ ptr, i32, i32, i32, i32, i32, [1 x i8] }>

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { ptr, ptr } @_ZN10robin_hood6detail13unordered_mapILb1ELm80EN7openset2db10attr_key_sEPNS3_6Attr_sENS_4hashIS4_EESt8equal_toIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7openset2db10attr_key_sC2Eil(ptr noundef nonnull align 1 dereferenceable(12), i32 noundef, i64 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, ptr } @_ZN10robin_hood6detail13unordered_mapILb1ELm80EN7openset2db10attr_key_sEPNS3_6Attr_sENS_4hashIS4_EESt8equal_toIS4_EE4findERKS4_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 1 dereferenceable(12)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK10robin_hood6detail13unordered_mapILb1ELm80EN7openset2db10attr_key_sEPNS3_6Attr_sENS_4hashIS4_EESt8equal_toIS4_EE4IterILb0EEeqILb0EEEbRKNSC_IXT_EEE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

declare noundef ptr @_ZN7PoolMem6getPtrEl(ptr noundef nonnull align 8 dereferenceable(48), i64 noundef) #4

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN7openset2db10Attributes7getMakeEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(124) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %2) #3 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca %"class.robin_hood::detail::unordered_map<true, 80, openset::db::attr_key_s, openset::db::Attr_s *, robin_hood::hash<openset::db::attr_key_s>, std::equal_to<openset::db::attr_key_s>>::Iter", align 8
  %10 = alloca %"struct.openset::db::attr_key_s", align 1
  %11 = alloca %"class.robin_hood::detail::unordered_map<true, 80, openset::db::attr_key_s, openset::db::Attr_s *, robin_hood::hash<openset::db::attr_key_s>, std::equal_to<openset::db::attr_key_s>>::Iter", align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"struct.robin_hood::pair", align 8
  %14 = alloca %"struct.openset::db::attr_key_s", align 1
  %15 = alloca %"struct.std::pair.312", align 8
  %16 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  %17 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %18 = load ptr, ptr %7, align 8, !tbaa !5
  %19 = call noundef i64 @_Z8MakeHashRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %18)
  store i64 %19, ptr %8, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #5
  %20 = getelementptr inbounds %"class.openset::db::Attributes", ptr %17, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 12, ptr %10) #5
  %21 = load i32, ptr %6, align 4, !tbaa !9
  %22 = load i64, ptr %8, align 8, !tbaa !11
  call void @_ZN7openset2db10attr_key_sC2Eil(ptr noundef nonnull align 1 dereferenceable(12) %10, i32 noundef %21, i64 noundef %22)
  %23 = call { ptr, ptr } @_ZN10robin_hood6detail13unordered_mapILb1ELm80EN7openset2db10attr_key_sEPNS3_6Attr_sENS_4hashIS4_EESt8equal_toIS4_EE4findERKS4_(ptr noundef nonnull align 8 dereferenceable(48) %20, ptr noundef nonnull align 1 dereferenceable(12) %10)
  %24 = getelementptr inbounds { ptr, ptr }, ptr %9, i32 0, i32 0
  %25 = extractvalue { ptr, ptr } %23, 0
  store ptr %25, ptr %24, align 8
  %26 = getelementptr inbounds { ptr, ptr }, ptr %9, i32 0, i32 1
  %27 = extractvalue { ptr, ptr } %23, 1
  store ptr %27, ptr %26, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  %28 = getelementptr inbounds %"class.openset::db::Attributes", ptr %17, i32 0, i32 0
  %29 = call { ptr, ptr } @_ZN10robin_hood6detail13unordered_mapILb1ELm80EN7openset2db10attr_key_sEPNS3_6Attr_sENS_4hashIS4_EESt8equal_toIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %28)
  %30 = getelementptr inbounds { ptr, ptr }, ptr %11, i32 0, i32 0
  %31 = extractvalue { ptr, ptr } %29, 0
  store ptr %31, ptr %30, align 8
  %32 = getelementptr inbounds { ptr, ptr }, ptr %11, i32 0, i32 1
  %33 = extractvalue { ptr, ptr } %29, 1
  store ptr %33, ptr %32, align 8
  %34 = call noundef zeroext i1 @_ZNK10robin_hood6detail13unordered_mapILb1ELm80EN7openset2db10attr_key_sEPNS3_6Attr_sENS_4hashIS4_EESt8equal_toIS4_EE4IterILb0EEeqILb0EEEbRKNSC_IXT_EEE(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  br i1 %34, label %35, label %49

35:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %36 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN7PoolMem7getPoolEv()
  %37 = call noundef ptr @_ZN7PoolMem6getPtrEl(ptr noundef nonnull align 8 dereferenceable(48) %36, i64 noundef 29)
  call void @llvm.memset.p0.i64(ptr align 1 %37, i8 0, i64 29, i1 false)
  call void @_ZN7openset2db6Attr_sC2Ev(ptr noundef nonnull align 1 dereferenceable(29) %37) #5
  store ptr %37, ptr %12, align 8, !tbaa !5
  %38 = getelementptr inbounds %"class.openset::db::Attributes", ptr %17, i32 0, i32 3
  %39 = load ptr, ptr %38, align 8, !tbaa !13
  %40 = load i32, ptr %6, align 4, !tbaa !9
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  %42 = call noundef ptr @_ZN7openset2db13AttributeBlob10storeValueEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(105) %39, i32 noundef %40, ptr noundef nonnull align 8 dereferenceable(32) %41)
  %43 = load ptr, ptr %12, align 8, !tbaa !5
  %44 = getelementptr inbounds %"struct.openset::db::Attr_s", ptr %43, i32 0, i32 0
  store ptr %42, ptr %44, align 1, !tbaa !17
  %45 = getelementptr inbounds %"class.openset::db::Attributes", ptr %17, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %14) #5
  %46 = load i32, ptr %6, align 4, !tbaa !9
  %47 = load i64, ptr %8, align 8, !tbaa !11
  call void @_ZN7openset2db10attr_key_sC2Eil(ptr noundef nonnull align 1 dereferenceable(12) %14, i32 noundef %46, i64 noundef %47)
  call void @_ZN10robin_hood4pairIN7openset2db10attr_key_sEPNS2_6Attr_sEEC2IS3_RKS5_EEOT_OT0_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 1 dereferenceable(12) %14, ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #5
  call void @_ZN10robin_hood6detail13unordered_mapILb1ELm80EN7openset2db10attr_key_sEPNS3_6Attr_sENS_4hashIS4_EESt8equal_toIS4_EE6insertEONS_4pairIS4_S6_EE(ptr dead_on_unwind writable sret(%"struct.std::pair.312") align 8 %15, ptr noundef nonnull align 8 dereferenceable(48) %45, ptr noundef nonnull align 8 dereferenceable(24) %13)
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #5
  %48 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %48, ptr %4, align 8
  store i32 1, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %53

49:                                               ; preds = %3
  %50 = call noundef ptr @_ZNK10robin_hood6detail13unordered_mapILb1ELm80EN7openset2db10attr_key_sEPNS3_6Attr_sENS_4hashIS4_EESt8equal_toIS4_EE4IterILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %51 = getelementptr inbounds %"struct.robin_hood::pair", ptr %50, i32 0, i32 1
  %52 = load ptr, ptr %51, align 8, !tbaa !19
  store ptr %52, ptr %4, align 8
  store i32 1, ptr %16, align 4
  br label %53

53:                                               ; preds = %49, %35
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  %54 = load ptr, ptr %4, align 8
  ret ptr %54
}

declare noundef i64 @_Z8MakeHashRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32)) #4

declare noundef ptr @_ZN7openset2db13AttributeBlob10storeValueEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(105), i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10robin_hood6detail13unordered_mapILb1ELm80EN7openset2db10attr_key_sEPNS3_6Attr_sENS_4hashIS4_EESt8equal_toIS4_EE6insertEONS_4pairIS4_S6_EE(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.312") align 8, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !6, i64 104}
!14 = !{!"_ZTSN7openset2db10AttributesE", !15, i64 0, !16, i64 48, !6, i64 96, !6, i64 104, !6, i64 112, !10, i64 120}
!15 = !{!"_ZTSN10robin_hood6detail13unordered_mapILb1ELm80EN7openset2db10attr_key_sEPNS3_6Attr_sENS_4hashIS4_EESt8equal_toIS4_EEE", !6, i64 0, !6, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !10, i64 40, !10, i64 44}
!16 = !{!"_ZTSN10robin_hood6detail13unordered_mapILb1ELm80EN7openset2db10attr_key_sESt6vectorINS3_14Attr_changes_sESaIS6_EENS_4hashIS4_EESt8equal_toIS4_EEE", !6, i64 0, !6, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !10, i64 40, !10, i64 44}
!17 = !{!18, !6, i64 0}
!18 = !{!"_ZTSN7openset2db6Attr_sE", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !7, i64 28}
!19 = !{!20, !6, i64 16}
!20 = !{!"_ZTSN10robin_hood4pairIN7openset2db10attr_key_sEPNS2_6Attr_sEEE", !21, i64 0, !6, i64 16}
!21 = !{!"_ZTSN7openset2db10attr_key_sE", !10, i64 0, !12, i64 4}


; 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.robin_hood::detail::unordered_map<true, 80, openset::db::attr_key_s, openset::db::Attr_s *, robin_hood::hash<openset::db::attr_key_s>, std::equal_to<openset::db::attr_key_s>>::Iter" = type { ptr, ptr }
%"struct.openset::db::attr_key_s" = type <{ i32, i64 }>
%"struct.robin_hood::pair" = type { %"struct.openset::db::attr_key_s", ptr }
%"struct.std::pair.312" = type <{ %"class.robin_hood::detail::unordered_map<true, 80, openset::db::attr_key_s, openset::db::Attr_s *, robin_hood::hash<openset::db::attr_key_s>, std::equal_to<openset::db::attr_key_s>>::Iter", i8, [7 x i8] }>

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { ptr, ptr } @_ZN10robin_hood6detail13unordered_mapILb1ELm80EN7openset2db10attr_key_sEPNS3_6Attr_sENS_4hashIS4_EESt8equal_toIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7openset2db10attr_key_sC2Eil(ptr noundef nonnull align 1 dereferenceable(12), i32 noundef, i64 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, ptr } @_ZN10robin_hood6detail13unordered_mapILb1ELm80EN7openset2db10attr_key_sEPNS3_6Attr_sENS_4hashIS4_EESt8equal_toIS4_EE4findERKS4_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 1 dereferenceable(12)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK10robin_hood6detail13unordered_mapILb1ELm80EN7openset2db10attr_key_sEPNS3_6Attr_sENS_4hashIS4_EESt8equal_toIS4_EE4IterILb0EEeqILb0EEEbRKNSC_IXT_EEE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

declare noundef ptr @_ZN7PoolMem6getPtrEl(ptr noundef nonnull align 8 dereferenceable(48), i64 noundef) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN7openset2db10Attributes7getMakeEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(124) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %2) local_unnamed_addr #3 align 2 {
  %4 = alloca %"class.robin_hood::detail::unordered_map<true, 80, openset::db::attr_key_s, openset::db::Attr_s *, robin_hood::hash<openset::db::attr_key_s>, std::equal_to<openset::db::attr_key_s>>::Iter", align 8
  %5 = alloca %"struct.openset::db::attr_key_s", align 1
  %6 = alloca %"class.robin_hood::detail::unordered_map<true, 80, openset::db::attr_key_s, openset::db::Attr_s *, robin_hood::hash<openset::db::attr_key_s>, std::equal_to<openset::db::attr_key_s>>::Iter", align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"struct.robin_hood::pair", align 8
  %9 = alloca %"struct.openset::db::attr_key_s", align 1
  %10 = alloca %"struct.std::pair.312", align 8
  %11 = tail call noundef i64 @_Z8MakeHashRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %2)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #5
  call void @_ZN7openset2db10attr_key_sC2Eil(ptr noundef nonnull align 1 dereferenceable(12) %5, i32 noundef %1, i64 noundef %11)
  %12 = call { ptr, ptr } @_ZN10robin_hood6detail13unordered_mapILb1ELm80EN7openset2db10attr_key_sEPNS3_6Attr_sENS_4hashIS4_EESt8equal_toIS4_EE4findERKS4_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 1 dereferenceable(12) %5)
  %13 = extractvalue { ptr, ptr } %12, 0
  store ptr %13, ptr %4, align 8
  %14 = getelementptr inbounds i8, ptr %4, i64 8
  %15 = extractvalue { ptr, ptr } %12, 1
  store ptr %15, ptr %14, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  %16 = call { ptr, ptr } @_ZN10robin_hood6detail13unordered_mapILb1ELm80EN7openset2db10attr_key_sEPNS3_6Attr_sENS_4hashIS4_EESt8equal_toIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %0)
  %17 = extractvalue { ptr, ptr } %16, 0
  store ptr %17, ptr %6, align 8
  %18 = getelementptr inbounds i8, ptr %6, i64 8
  %19 = extractvalue { ptr, ptr } %16, 1
  store ptr %19, ptr %18, align 8
  %20 = call noundef zeroext i1 @_ZNK10robin_hood6detail13unordered_mapILb1ELm80EN7openset2db10attr_key_sEPNS3_6Attr_sENS_4hashIS4_EESt8equal_toIS4_EE4IterILb0EEeqILb0EEEbRKNSC_IXT_EEE(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  br i1 %20, label %21, label %28

21:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %22 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN7PoolMem7getPoolEv()
  %23 = call noundef ptr @_ZN7PoolMem6getPtrEl(ptr noundef nonnull align 8 dereferenceable(48) %22, i64 noundef 29)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(29) %23, i8 0, i64 29, i1 false)
  call void @_ZN7openset2db6Attr_sC2Ev(ptr noundef nonnull align 1 dereferenceable(29) %23) #5
  store ptr %23, ptr %7, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %0, i64 104
  %25 = load ptr, ptr %24, align 8, !tbaa !9
  %26 = call noundef ptr @_ZN7openset2db13AttributeBlob10storeValueEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(105) %25, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %2)
  store ptr %26, ptr %23, align 1, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #5
  call void @_ZN7openset2db10attr_key_sC2Eil(ptr noundef nonnull align 1 dereferenceable(12) %9, i32 noundef %1, i64 noundef %11)
  call void @_ZN10robin_hood4pairIN7openset2db10attr_key_sEPNS2_6Attr_sEEC2IS3_RKS5_EEOT_OT0_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 1 dereferenceable(12) %9, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #5
  call void @_ZN10robin_hood6detail13unordered_mapILb1ELm80EN7openset2db10attr_key_sEPNS3_6Attr_sENS_4hashIS4_EESt8equal_toIS4_EE6insertEONS_4pairIS4_S6_EE(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.312") align 8 %10, ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(24) %8)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %32

28:                                               ; preds = %3
  %29 = call noundef ptr @_ZNK10robin_hood6detail13unordered_mapILb1ELm80EN7openset2db10attr_key_sEPNS3_6Attr_sENS_4hashIS4_EESt8equal_toIS4_EE4IterILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %30 = getelementptr inbounds i8, ptr %29, i64 16
  %31 = load ptr, ptr %30, align 8, !tbaa !17
  br label %32

32:                                               ; preds = %28, %21
  %.0 = phi ptr [ %27, %21 ], [ %31, %28 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  ret ptr %.0
}

declare noundef i64 @_Z8MakeHashRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

declare noundef ptr @_ZN7openset2db13AttributeBlob10storeValueEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(105), i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10robin_hood6detail13unordered_mapILb1ELm80EN7openset2db10attr_key_sEPNS3_6Attr_sENS_4hashIS4_EESt8equal_toIS4_EE6insertEONS_4pairIS4_S6_EE(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.312") align 8, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !6, i64 104}
!10 = !{!"_ZTSN7openset2db10AttributesE", !11, i64 0, !14, i64 48, !6, i64 96, !6, i64 104, !6, i64 112, !13, i64 120}
!11 = !{!"_ZTSN10robin_hood6detail13unordered_mapILb1ELm80EN7openset2db10attr_key_sEPNS3_6Attr_sENS_4hashIS4_EESt8equal_toIS4_EEE", !6, i64 0, !6, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !13, i64 40, !13, i64 44}
!12 = !{!"long", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTSN10robin_hood6detail13unordered_mapILb1ELm80EN7openset2db10attr_key_sESt6vectorINS3_14Attr_changes_sESaIS6_EENS_4hashIS4_EESt8equal_toIS4_EEE", !6, i64 0, !6, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !13, i64 40, !13, i64 44}
!15 = !{!16, !6, i64 0}
!16 = !{!"_ZTSN7openset2db6Attr_sE", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !7, i64 28}
!17 = !{!18, !6, i64 16}
!18 = !{!"_ZTSN10robin_hood4pairIN7openset2db10attr_key_sEPNS2_6Attr_sEEE", !19, i64 0, !6, i64 16}
!19 = !{!"_ZTSN7openset2db10attr_key_sE", !13, i64 0, !12, i64 4}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,TailCallElimPass