; LLVM IR from facebook/redex :: service/cse/CommonSubexpressionElimination.ll (ZN8cse_impl5StatspLERKS0_)

; 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.UnorderedMap<unsigned short, unsigned long>::ConstUnorderedIterable" = type { ptr }
%"struct.std::__detail::_Node_const_iterator.894" = type { %"struct.std::__detail::_Node_iterator_base.895" }
%"struct.std::__detail::_Node_iterator_base.895" = type { ptr }
%"struct.cse_impl::Stats" = type { i64, i64, i64, i64, i64, i64, %class.UnorderedMap.309, i64, i64 }
%class.UnorderedMap.309 = type { %"class.std::unordered_map.311" }
%"class.std::unordered_map.311" = type { %"class.std::_Hashtable.312" }
%"class.std::_Hashtable.312" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"struct.std::pair.896" = type { i16, i64 }

; 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: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(120) ptr @_ZN8cse_impl5StatspLERKS0_(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(120) %1) #1 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.UnorderedMap<unsigned short, unsigned long>::ConstUnorderedIterable", align 8
  %7 = alloca %"struct.std::__detail::_Node_const_iterator.894", align 8
  %8 = alloca %"struct.std::__detail::_Node_const_iterator.894", align 8
  %9 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %10 = load ptr, ptr %3, align 8
  %11 = load ptr, ptr %4, align 8, !tbaa !5
  %12 = getelementptr inbounds %"struct.cse_impl::Stats", ptr %11, i32 0, i32 0
  %13 = load i64, ptr %12, align 8, !tbaa !9
  %14 = getelementptr inbounds %"struct.cse_impl::Stats", ptr %10, i32 0, i32 0
  %15 = load i64, ptr %14, align 8, !tbaa !9
  %16 = add i64 %15, %13
  store i64 %16, ptr %14, align 8, !tbaa !9
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %"struct.cse_impl::Stats", ptr %17, i32 0, i32 1
  %19 = load i64, ptr %18, align 8, !tbaa !18
  %20 = getelementptr inbounds %"struct.cse_impl::Stats", ptr %10, i32 0, i32 1
  %21 = load i64, ptr %20, align 8, !tbaa !18
  %22 = add i64 %21, %19
  store i64 %22, ptr %20, align 8, !tbaa !18
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %"struct.cse_impl::Stats", ptr %23, i32 0, i32 2
  %25 = load i64, ptr %24, align 8, !tbaa !19
  %26 = getelementptr inbounds %"struct.cse_impl::Stats", ptr %10, i32 0, i32 2
  %27 = load i64, ptr %26, align 8, !tbaa !19
  %28 = add i64 %27, %25
  store i64 %28, ptr %26, align 8, !tbaa !19
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds %"struct.cse_impl::Stats", ptr %29, i32 0, i32 3
  %31 = load i64, ptr %30, align 8, !tbaa !20
  %32 = getelementptr inbounds %"struct.cse_impl::Stats", ptr %10, i32 0, i32 3
  %33 = load i64, ptr %32, align 8, !tbaa !20
  %34 = add i64 %33, %31
  store i64 %34, ptr %32, align 8, !tbaa !20
  %35 = getelementptr inbounds %"struct.cse_impl::Stats", ptr %10, i32 0, i32 4
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.cse_impl::Stats", ptr %36, i32 0, i32 4
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %37)
  %39 = load i64, ptr %38, align 8, !tbaa !21
  %40 = getelementptr inbounds %"struct.cse_impl::Stats", ptr %10, i32 0, i32 4
  store i64 %39, ptr %40, align 8, !tbaa !22
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds %"struct.cse_impl::Stats", ptr %41, i32 0, i32 5
  %43 = load i64, ptr %42, align 8, !tbaa !23
  %44 = getelementptr inbounds %"struct.cse_impl::Stats", ptr %10, i32 0, i32 5
  %45 = load i64, ptr %44, align 8, !tbaa !23
  %46 = add i64 %45, %43
  store i64 %46, ptr %44, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds %"struct.cse_impl::Stats", ptr %47, i32 0, i32 6
  %49 = call ptr @_Z17UnorderedIterableI12UnorderedMapItmSt4hashItESt8equal_toItEETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ES8_EEbE4typeELb1EEDaRKS8_(ptr noundef nonnull align 8 dereferenceable(56) %48)
  %50 = getelementptr inbounds %"class.UnorderedMap<unsigned short, unsigned long>::ConstUnorderedIterable", ptr %6, i32 0, i32 0
  store ptr %49, ptr %50, align 8
  store ptr %6, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = call ptr @_ZNK12UnorderedMapItmSt4hashItESt8equal_toItEE22ConstUnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %51)
  %53 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.894", ptr %7, i32 0, i32 0
  %54 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.895", ptr %53, i32 0, i32 0
  store ptr %52, ptr %54, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = call ptr @_ZNK12UnorderedMapItmSt4hashItESt8equal_toItEE22ConstUnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %55)
  %57 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.894", ptr %8, i32 0, i32 0
  %58 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.895", ptr %57, i32 0, i32 0
  store ptr %56, ptr %58, align 8
  br label %59

59:                                               ; preds = %73, %2
  %60 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKtmELb0EEES6_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #4
  br i1 %60, label %62, label %61

61:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  br label %75

62:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %63 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKtmELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  store ptr %63, ptr %9, align 8, !tbaa !5
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.std::pair.896", ptr %64, i32 0, i32 1
  %66 = load i64, ptr %65, align 8, !tbaa !24
  %67 = getelementptr inbounds %"struct.cse_impl::Stats", ptr %10, i32 0, i32 6
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  %69 = getelementptr inbounds %"struct.std::pair.896", ptr %68, i32 0, i32 0
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN12UnorderedMapItmSt4hashItESt8equal_toItEEixERKt(ptr noundef nonnull align 8 dereferenceable(56) %67, ptr noundef nonnull align 2 dereferenceable(2) %69)
  %71 = load i64, ptr %70, align 8, !tbaa !21
  %72 = add i64 %71, %66
  store i64 %72, ptr %70, align 8, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %73

73:                                               ; preds = %62
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorISt4pairIKtmELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  br label %59

75:                                               ; preds = %61
  %76 = getelementptr inbounds %"struct.cse_impl::Stats", ptr %10, i32 0, i32 7
  %77 = load ptr, ptr %4, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.cse_impl::Stats", ptr %77, i32 0, i32 7
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef nonnull align 8 dereferenceable(8) %78)
  %80 = load i64, ptr %79, align 8, !tbaa !21
  %81 = getelementptr inbounds %"struct.cse_impl::Stats", ptr %10, i32 0, i32 7
  store i64 %80, ptr %81, align 8, !tbaa !27
  %82 = load ptr, ptr %4, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.cse_impl::Stats", ptr %82, i32 0, i32 8
  %84 = load i64, ptr %83, align 8, !tbaa !28
  %85 = getelementptr inbounds %"struct.cse_impl::Stats", ptr %10, i32 0, i32 8
  %86 = load i64, ptr %85, align 8, !tbaa !28
  %87 = add i64 %86, %84
  store i64 %87, ptr %85, align 8, !tbaa !28
  ret ptr %10
}

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_Z17UnorderedIterableI12UnorderedMapItmSt4hashItESt8equal_toItEETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ES8_EEbE4typeELb1EEDaRKS8_(ptr noundef nonnull align 8 dereferenceable(56)) #1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKtmELb0EEES6_(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(16) ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKtmELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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, !11, i64 0}
!10 = !{!"_ZTSN8cse_impl5StatsE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !12, i64 48, !11, i64 104, !11, i64 112}
!11 = !{!"long", !7, i64 0}
!12 = !{!"_ZTS12UnorderedMapItmSt4hashItESt8equal_toItEE", !13, i64 0}
!13 = !{!"_ZTSSt13unordered_mapItmSt4hashItESt8equal_toItESaISt4pairIKtmEEE", !14, i64 0}
!14 = !{!"_ZTSSt10_HashtableItSt4pairIKtmESaIS2_ENSt8__detail10_Select1stESt8equal_toItESt4hashItENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !11, i64 8, !15, i64 16, !11, i64 24, !16, i64 32, !6, i64 48}
!15 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!16 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !17, i64 0, !11, i64 8}
!17 = !{!"float", !7, i64 0}
!18 = !{!10, !11, i64 8}
!19 = !{!10, !11, i64 16}
!20 = !{!10, !11, i64 24}
!21 = !{!11, !11, i64 0}
!22 = !{!10, !11, i64 32}
!23 = !{!10, !11, i64 40}
!24 = !{!25, !11, i64 8}
!25 = !{!"_ZTSSt4pairIKtmE", !26, i64 0, !11, i64 8}
!26 = !{!"short", !7, i64 0}
!27 = !{!10, !11, i64 104}
!28 = !{!10, !11, i64 112}


; 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.UnorderedMap<unsigned short, unsigned long>::ConstUnorderedIterable" = type { ptr }
%"struct.std::__detail::_Node_const_iterator.894" = type { %"struct.std::__detail::_Node_iterator_base.895" }
%"struct.std::__detail::_Node_iterator_base.895" = type { ptr }

; 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 uwtable
define dso_local noundef nonnull align 8 dereferenceable(120) ptr @_ZN8cse_impl5StatspLERKS0_(ptr noundef nonnull returned align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(120) %1) local_unnamed_addr #1 align 2 {
  %3 = alloca %"class.UnorderedMap<unsigned short, unsigned long>::ConstUnorderedIterable", align 8
  %4 = alloca %"struct.std::__detail::_Node_const_iterator.894", align 8
  %5 = alloca %"struct.std::__detail::_Node_const_iterator.894", align 8
  %6 = load <2 x i64>, ptr %1, align 8, !tbaa !5
  %7 = load <2 x i64>, ptr %0, align 8, !tbaa !5
  %8 = add <2 x i64> %7, %6
  store <2 x i64> %8, ptr %0, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %1, i64 16
  %10 = getelementptr inbounds i8, ptr %0, i64 16
  %11 = load <2 x i64>, ptr %9, align 8, !tbaa !5
  %12 = load <2 x i64>, ptr %10, align 8, !tbaa !5
  %13 = add <2 x i64> %12, %11
  store <2 x i64> %13, ptr %10, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %0, i64 32
  %15 = getelementptr inbounds i8, ptr %1, i64 32
  %16 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15)
  %17 = load i64, ptr %16, align 8, !tbaa !5
  store i64 %17, ptr %14, align 8, !tbaa !9
  %18 = getelementptr inbounds i8, ptr %1, i64 40
  %19 = load i64, ptr %18, align 8, !tbaa !18
  %20 = getelementptr inbounds i8, ptr %0, i64 40
  %21 = load i64, ptr %20, align 8, !tbaa !18
  %22 = add i64 %21, %19
  store i64 %22, ptr %20, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %23 = getelementptr inbounds i8, ptr %1, i64 48
  %24 = tail call ptr @_Z17UnorderedIterableI12UnorderedMapItmSt4hashItESt8equal_toItEETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ES8_EEbE4typeELb1EEDaRKS8_(ptr noundef nonnull align 8 dereferenceable(56) %23)
  store ptr %24, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  %25 = call ptr @_ZNK12UnorderedMapItmSt4hashItESt8equal_toItEE22ConstUnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  store ptr %25, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %26 = call ptr @_ZNK12UnorderedMapItmSt4hashItESt8equal_toItEE22ConstUnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  store ptr %26, ptr %5, align 8
  %27 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKtmELb0EEES6_(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

.lr.ph:                                           ; preds = %2
  %28 = getelementptr inbounds i8, ptr %0, i64 48
  br label %38

._crit_edge:                                      ; preds = %38, %2
  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.end.p0(i64 8, ptr nonnull %3) #4
  %29 = getelementptr inbounds i8, ptr %0, i64 104
  %30 = getelementptr inbounds i8, ptr %1, i64 104
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30)
  %32 = load i64, ptr %31, align 8, !tbaa !5
  store i64 %32, ptr %29, align 8, !tbaa !19
  %33 = getelementptr inbounds i8, ptr %1, i64 112
  %34 = load i64, ptr %33, align 8, !tbaa !20
  %35 = getelementptr inbounds i8, ptr %0, i64 112
  %36 = load i64, ptr %35, align 8, !tbaa !20
  %37 = add i64 %36, %34
  store i64 %37, ptr %35, align 8, !tbaa !20
  ret ptr %0

38:                                               ; preds = %.lr.ph, %38
  %39 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKtmELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %40 = getelementptr inbounds i8, ptr %39, i64 8
  %41 = load i64, ptr %40, align 8, !tbaa !21
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN12UnorderedMapItmSt4hashItESt8equal_toItEEixERKt(ptr noundef nonnull align 8 dereferenceable(56) %28, ptr noundef nonnull align 2 dereferenceable(2) %39)
  %43 = load i64, ptr %42, align 8, !tbaa !5
  %44 = add i64 %43, %41
  store i64 %44, ptr %42, align 8, !tbaa !5
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorISt4pairIKtmELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %46 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKtmELb0EEES6_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  br i1 %46, label %38, label %._crit_edge
}

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKtmELb0EEES6_(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(16) ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKtmELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 32}
!10 = !{!"_ZTSN8cse_impl5StatsE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !11, i64 48, !6, i64 104, !6, i64 112}
!11 = !{!"_ZTS12UnorderedMapItmSt4hashItESt8equal_toItEE", !12, i64 0}
!12 = !{!"_ZTSSt13unordered_mapItmSt4hashItESt8equal_toItESaISt4pairIKtmEEE", !13, i64 0}
!13 = !{!"_ZTSSt10_HashtableItSt4pairIKtmESaIS2_ENSt8__detail10_Select1stESt8equal_toItESt4hashItENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE", !14, i64 0, !6, i64 8, !15, i64 16, !6, i64 24, !16, i64 32, !14, i64 48}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !14, i64 0}
!16 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !17, i64 0, !6, i64 8}
!17 = !{!"float", !7, i64 0}
!18 = !{!10, !6, i64 40}
!19 = !{!10, !6, i64 104}
!20 = !{!10, !6, i64 112}
!21 = !{!22, !6, i64 8}
!22 = !{!"_ZTSSt4pairIKtmE", !23, i64 0, !6, i64 8}
!23 = !{!"short", !7, i64 0}


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