; LLVM IR from EricZinda/InductorHtn :: src/FXPlatform/Prolog (HtnTermFactory)

; 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::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"struct.std::pair.66" = type { ptr, %"class.std::weak_ptr.30" }
%"class.std::weak_ptr.30" = type { %"class.std::__weak_ptr.31" }
%"class.std::__weak_ptr.31" = type { ptr, %"class.std::__weak_count" }
%"class.std::__weak_count" = type { ptr }
%"struct.std::pair.63" = type <{ %"struct.std::__detail::_Node_iterator", i8, [7 x i8] }>
%class.HtnTermFactory = type { %"class.std::enable_shared_from_this", %"class.std::map", %"class.std::shared_ptr", %"class.std::shared_ptr", %"class.std::unordered_map", %"class.std::unordered_map.5", i64, i8, i64, %"class.std::map.21", i32, %"class.std::shared_ptr", [4096 x ptr], ptr, i64 }
%"class.std::enable_shared_from_this" = type { %"class.std::weak_ptr" }
%"class.std::weak_ptr" = type { %"class.std::__weak_ptr" }
%"class.std::__weak_ptr" = type { ptr, %"class.std::__weak_count" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::shared_ptr<HtnCustomData>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::shared_ptr<HtnCustomData>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::shared_ptr<HtnCustomData>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::shared_ptr<HtnCustomData>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = 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 }
%"class.std::unordered_map.5" = type { %"class.std::_Hashtable.6" }
%"class.std::_Hashtable.6" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::map.21" = type { %"class.std::_Rb_tree.22" }
%"class.std::_Rb_tree.22" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::pair<int, int>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::pair<int, int>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::pair<int, int>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::pair<int, int>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::pair.48" = type { ptr, %"class.std::weak_ptr.30" }

@.str.3 = external hidden unnamed_addr constant [96 x i8], align 1

; 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14HtnTermFactory15GetInternedTermERSt10shared_ptrI7HtnTermE(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8 %0, ptr noundef nonnull align 8 dereferenceable(33088) %1, ptr noundef nonnull align 8 dereferenceable(16) %2) #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"struct.std::pair.66", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca %"struct.std::pair.63", align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %17 = load ptr, ptr %5, align 8
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = call noundef ptr @_ZNKSt19__shared_ptr_accessI7HtnTermLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  %20 = getelementptr inbounds %class.HtnTermFactory, ptr %17, i32 0, i32 12
  %21 = getelementptr inbounds [4096 x ptr], ptr %20, i64 0, i64 0
  %22 = getelementptr inbounds %class.HtnTermFactory, ptr %17, i32 0, i32 13
  %23 = load ptr, ptr %22, align 8, !tbaa !9
  call void @_ZNK7HtnTerm11GetUniqueIDEPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_(ptr noundef nonnull align 8 dereferenceable(72) %19, ptr noundef %21, ptr noundef %23)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %24 = getelementptr inbounds %class.HtnTermFactory, ptr %17, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %25 = getelementptr inbounds %class.HtnTermFactory, ptr %17, i32 0, i32 12
  %26 = getelementptr inbounds [4096 x ptr], ptr %25, i64 0, i64 0
  store ptr %26, ptr %8, align 8, !tbaa !5
  %27 = call ptr @_ZNSt13unordered_mapIPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8weak_ptrI7HtnTermEN14HtnTermFactory15uniqueIDPtrHashENSC_16uniqueIDPtrEqualESaISt4pairIKS8_SB_EEE4findERSG_(ptr noundef nonnull align 8 dereferenceable(56) %24, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %28 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %7, i32 0, i32 0
  %29 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %28, i32 0, i32 0
  store ptr %27, ptr %29, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %30 = getelementptr inbounds %class.HtnTermFactory, ptr %17, i32 0, i32 5
  %31 = call ptr @_ZNSt13unordered_mapIPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8weak_ptrI7HtnTermEN14HtnTermFactory15uniqueIDPtrHashENSC_16uniqueIDPtrEqualESaISt4pairIKS8_SB_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %30) #8
  %32 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %9, i32 0, i32 0
  %33 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %32, i32 0, i32 0
  store ptr %31, ptr %33, align 8
  %34 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8weak_ptrI7HtnTermEELb1EEESI_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  br i1 %34, label %35, label %42

35:                                               ; preds = %3
  %36 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8weak_ptrI7HtnTermEELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  %37 = getelementptr inbounds %"struct.std::pair.48", ptr %36, i32 0, i32 1
  %38 = call noundef zeroext i1 @_ZNKSt10__weak_ptrI7HtnTermLN9__gnu_cxx12_Lock_policyE2EE7expiredEv(ptr noundef nonnull align 8 dereferenceable(16) %37) #8
  %39 = xor i1 %38, true
  call void @_Z39failfastThis_uncaught_exception_handlerPvbPKcl(ptr noundef %17, i1 noundef zeroext %39, ptr noundef @.str.3, i64 noundef 152)
  %40 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8weak_ptrI7HtnTermEELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  %41 = getelementptr inbounds %"struct.std::pair.48", ptr %40, i32 0, i32 1
  call void @_ZNKSt8weak_ptrI7HtnTermE4lockEv(ptr dead_on_unwind writable sret(%"class.std::shared_ptr") align 8 %0, ptr noundef nonnull align 8 dereferenceable(16) %41) #8
  store i32 1, ptr %10, align 4
  br label %79

42:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %43 = getelementptr inbounds %class.HtnTermFactory, ptr %17, i32 0, i32 12
  %44 = getelementptr inbounds [4096 x ptr], ptr %43, i64 0, i64 0
  %45 = load ptr, ptr %44, align 8, !tbaa !5
  %46 = ptrtoint ptr %45 to i64
  store i64 %46, ptr %11, align 8, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %47 = load i64, ptr %11, align 8, !tbaa !39
  %48 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %47, i64 8)
  %49 = extractvalue { i64, i1 } %48, 1
  %50 = extractvalue { i64, i1 } %48, 0
  %51 = select i1 %49, i64 -1, i64 %50
  %52 = call noalias noundef nonnull ptr @_Znam(i64 noundef %51) #9
  store ptr %52, ptr %12, align 8, !tbaa !5
  %53 = load ptr, ptr %12, align 8, !tbaa !5
  %54 = getelementptr inbounds %class.HtnTermFactory, ptr %17, i32 0, i32 12
  %55 = getelementptr inbounds [4096 x ptr], ptr %54, i64 0, i64 0
  %56 = load i64, ptr %11, align 8, !tbaa !39
  %57 = mul i64 %56, 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %53, ptr align 8 %55, i64 %57, i1 false)
  %58 = getelementptr inbounds %class.HtnTermFactory, ptr %17, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #8
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZNSt4pairIPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8weak_ptrI7HtnTermEEC2IRS8_RSt10shared_ptrISA_ETnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISJ_SK_EEEbE4typeELb1EEEOSJ_OSK_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(16) %59)
  %60 = invoke { ptr, i8 } @_ZNSt13unordered_mapIPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8weak_ptrI7HtnTermEN14HtnTermFactory15uniqueIDPtrHashENSC_16uniqueIDPtrEqualESaISt4pairIKS8_SB_EEE6insertISF_IS8_SB_EEENSt9enable_ifIXsr16is_constructibleISH_OT_EE5valueESF_INSt8__detail14_Node_iteratorISH_Lb0ELb1EEEbEE4typeESO_(ptr noundef nonnull align 8 dereferenceable(56) %58, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %61 unwind label %75

61:                                               ; preds = %42
  %62 = getelementptr inbounds { ptr, i8 }, ptr %16, i32 0, i32 0
  %63 = extractvalue { ptr, i8 } %60, 0
  store ptr %63, ptr %62, align 8
  %64 = getelementptr inbounds { ptr, i8 }, ptr %16, i32 0, i32 1
  %65 = extractvalue { ptr, i8 } %60, 1
  store i8 %65, ptr %64, align 8
  call void @_ZNSt4pairIPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8weak_ptrI7HtnTermEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #8
  %66 = load i64, ptr %11, align 8, !tbaa !39
  %67 = mul i64 %66, 8
  %68 = add i64 24, %67
  %69 = getelementptr inbounds %class.HtnTermFactory, ptr %17, i32 0, i32 6
  %70 = load i64, ptr %69, align 8, !tbaa !40
  %71 = add i64 %70, %68
  store i64 %71, ptr %69, align 8, !tbaa !40
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = call noundef ptr @_ZNKSt19__shared_ptr_accessI7HtnTermLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %72) #8
  call void @_ZN7HtnTerm11SetInternedEv(ptr noundef nonnull align 8 dereferenceable(72) %73)
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZNSt10shared_ptrI7HtnTermEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %74) #8
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br label %79

75:                                               ; preds = %42
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %14, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %15, align 4
  call void @_ZNSt4pairIPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8weak_ptrI7HtnTermEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  br label %80

79:                                               ; preds = %61, %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  ret void

80:                                               ; preds = %75
  %81 = load ptr, ptr %14, align 8
  %82 = load i32, ptr %15, align 4
  %83 = insertvalue { ptr, i32 } poison, ptr %81, 0
  %84 = insertvalue { ptr, i32 } %83, i32 %82, 1
  resume { ptr, i32 } %84
}

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

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

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

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

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

declare void @_ZNK7HtnTerm11GetUniqueIDEPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef, ptr noundef) #4

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

declare void @_Z39failfastThis_uncaught_exception_handlerPvbPKcl(ptr noundef, i1 noundef zeroext, ptr noundef, i64 noundef) #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNKSt8weak_ptrI7HtnTermE4lockEv(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #5

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_mapIPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8weak_ptrI7HtnTermEN14HtnTermFactory15uniqueIDPtrHashENSC_16uniqueIDPtrEqualESaISt4pairIKS8_SB_EEE6insertISF_IS8_SB_EEENSt9enable_ifIXsr16is_constructibleISH_OT_EE5valueESF_INSt8__detail14_Node_iteratorISH_Lb0ELb1EEEbEE4typeESO_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7HtnTerm11SetInternedEv(ptr noundef nonnull align 8 dereferenceable(72)) #2 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 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nobuiltin allocsize(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 #7 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }

!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 33072}
!10 = !{!"_ZTS14HtnTermFactory", !11, i64 0, !15, i64 16, !24, i64 64, !24, i64 80, !27, i64 96, !32, i64 152, !23, i64 208, !34, i64 216, !23, i64 224, !35, i64 232, !38, i64 280, !24, i64 288, !7, i64 304, !6, i64 33072, !23, i64 33080}
!11 = !{!"_ZTSSt23enable_shared_from_thisI14HtnTermFactoryE", !12, i64 0}
!12 = !{!"_ZTSSt8weak_ptrI14HtnTermFactoryE", !13, i64 0}
!13 = !{!"_ZTSSt10__weak_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !14, i64 8}
!14 = !{!"_ZTSSt12__weak_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!15 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrI13HtnCustomDataESt4lessIS5_ESaISt4pairIKS5_S8_EEE", !16, i64 0}
!16 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrI13HtnCustomDataEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE", !17, i64 0}
!17 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrI13HtnCustomDataEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !18, i64 0, !20, i64 8}
!18 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !19, i64 0}
!19 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!20 = !{!"_ZTSSt15_Rb_tree_header", !21, i64 0, !23, i64 32}
!21 = !{!"_ZTSSt18_Rb_tree_node_base", !22, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!22 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = !{!"_ZTSSt10shared_ptrI7HtnTermE", !25, i64 0}
!25 = !{!"_ZTSSt12__shared_ptrI7HtnTermLN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !26, i64 8}
!26 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!27 = !{!"_ZTSSt13unordered_mapIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiN14HtnTermFactory13stringPtrHashENS8_14stringPtrEqualESaISt4pairIKS7_iEEE", !28, i64 0}
!28 = !{!"_ZTSSt10_HashtableIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS7_iESaISA_ENSt8__detail10_Select1stEN14HtnTermFactory14stringPtrEqualENSE_13stringPtrHashENSC_18_Mod_range_hashingENSC_20_Default_ranged_hashENSC_20_Prime_rehash_policyENSC_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !23, i64 8, !29, i64 16, !23, i64 24, !30, i64 32, !6, i64 48}
!29 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!30 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !31, i64 0, !23, i64 8}
!31 = !{!"float", !7, i64 0}
!32 = !{!"_ZTSSt13unordered_mapIPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8weak_ptrI7HtnTermEN14HtnTermFactory15uniqueIDPtrHashENSC_16uniqueIDPtrEqualESaISt4pairIKS8_SB_EEE", !33, i64 0}
!33 = !{!"_ZTSSt10_HashtableIPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS8_St8weak_ptrI7HtnTermEESaISE_ENSt8__detail10_Select1stEN14HtnTermFactory16uniqueIDPtrEqualENSI_15uniqueIDPtrHashENSG_18_Mod_range_hashingENSG_20_Default_ranged_hashENSG_20_Prime_rehash_policyENSG_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !23, i64 8, !29, i64 16, !23, i64 24, !30, i64 32, !6, i64 48}
!34 = !{!"bool", !7, i64 0}
!35 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIiiESt4lessIS5_ESaIS6_IKS5_S7_EEE", !36, i64 0}
!36 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S6_IiiEESt10_Select1stIS9_ESt4lessIS5_ESaIS9_EE", !37, i64 0}
!37 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S6_IiiEESt10_Select1stIS9_ESt4lessIS5_ESaIS9_EE13_Rb_tree_implISD_Lb1EEE", !18, i64 0, !20, i64 8}
!38 = !{!"int", !7, i64 0}
!39 = !{!23, !23, i64 0}
!40 = !{!10, !23, i64 208}


; 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::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"struct.std::pair.66" = type { ptr, %"class.std::weak_ptr.30" }
%"class.std::weak_ptr.30" = type { %"class.std::__weak_ptr.31" }
%"class.std::__weak_ptr.31" = type { ptr, %"class.std::__weak_count" }
%"class.std::__weak_count" = type { ptr }

@.str.3 = external hidden unnamed_addr constant [96 x i8], align 1

; 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14HtnTermFactory15GetInternedTermERSt10shared_ptrI7HtnTermE(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8 %0, ptr noundef nonnull align 8 dereferenceable(33088) %1, ptr noundef nonnull align 8 dereferenceable(16) %2) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"struct.std::pair.66", align 8
  %9 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessI7HtnTermLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #7
  %10 = getelementptr inbounds i8, ptr %1, i64 304
  %11 = getelementptr inbounds i8, ptr %1, i64 33072
  %12 = load ptr, ptr %11, align 8, !tbaa !5
  tail call void @_ZNK7HtnTerm11GetUniqueIDEPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_(ptr noundef nonnull align 8 dereferenceable(72) %9, ptr noundef nonnull %10, ptr noundef %12)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %13 = getelementptr inbounds i8, ptr %1, i64 152
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  store ptr %10, ptr %5, align 8, !tbaa !38
  %14 = call ptr @_ZNSt13unordered_mapIPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8weak_ptrI7HtnTermEN14HtnTermFactory15uniqueIDPtrHashENSC_16uniqueIDPtrEqualESaISt4pairIKS8_SB_EEE4findERSG_(ptr noundef nonnull align 8 dereferenceable(56) %13, ptr noundef nonnull align 8 dereferenceable(8) %5)
  store ptr %14, ptr %4, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %15 = call ptr @_ZNSt13unordered_mapIPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8weak_ptrI7HtnTermEN14HtnTermFactory15uniqueIDPtrHashENSC_16uniqueIDPtrEqualESaISt4pairIKS8_SB_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %13) #7
  store ptr %15, ptr %6, align 8
  %16 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8weak_ptrI7HtnTermEELb1EEESI_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br i1 %16, label %17, label %24

17:                                               ; preds = %3
  %18 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8weak_ptrI7HtnTermEELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %19 = getelementptr inbounds i8, ptr %18, i64 8
  %20 = call noundef zeroext i1 @_ZNKSt10__weak_ptrI7HtnTermLN9__gnu_cxx12_Lock_policyE2EE7expiredEv(ptr noundef nonnull align 8 dereferenceable(16) %19) #7
  %21 = xor i1 %20, true
  call void @_Z39failfastThis_uncaught_exception_handlerPvbPKcl(ptr noundef nonnull %1, i1 noundef zeroext %21, ptr noundef nonnull @.str.3, i64 noundef 152)
  %22 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8weak_ptrI7HtnTermEELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %23 = getelementptr inbounds i8, ptr %22, i64 8
  call void @_ZNKSt8weak_ptrI7HtnTermE4lockEv(ptr dead_on_unwind writable sret(%"class.std::shared_ptr") align 8 %0, ptr noundef nonnull align 8 dereferenceable(16) %23) #7
  br label %40

24:                                               ; preds = %3
  %25 = load ptr, ptr %10, align 8, !tbaa !38
  %26 = ptrtoint ptr %25 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %27 = icmp ugt ptr %25, inttoptr (i64 2305843009213693951 to ptr)
  %28 = shl i64 %26, 3
  %29 = select i1 %27, i64 -1, i64 %28
  %30 = call noalias noundef nonnull ptr @_Znam(i64 noundef %29) #8
  store ptr %30, ptr %7, align 8, !tbaa !38
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %30, ptr nonnull align 8 %10, i64 %28, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #7
  call void @_ZNSt4pairIPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8weak_ptrI7HtnTermEEC2IRS8_RSt10shared_ptrISA_ETnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISJ_SK_EEEbE4typeELb1EEEOSJ_OSK_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(16) %2)
  %31 = invoke { ptr, i8 } @_ZNSt13unordered_mapIPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8weak_ptrI7HtnTermEN14HtnTermFactory15uniqueIDPtrHashENSC_16uniqueIDPtrEqualESaISt4pairIKS8_SB_EEE6insertISF_IS8_SB_EEENSt9enable_ifIXsr16is_constructibleISH_OT_EE5valueESF_INSt8__detail14_Node_iteratorISH_Lb0ELb1EEEbEE4typeESO_(ptr noundef nonnull align 8 dereferenceable(56) %13, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %32 unwind label %38

32:                                               ; preds = %24
  call void @_ZNSt4pairIPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8weak_ptrI7HtnTermEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  %33 = add i64 %28, 24
  %34 = getelementptr inbounds i8, ptr %1, i64 208
  %35 = load i64, ptr %34, align 8, !tbaa !39
  %36 = add i64 %33, %35
  store i64 %36, ptr %34, align 8, !tbaa !39
  %37 = call noundef ptr @_ZNKSt19__shared_ptr_accessI7HtnTermLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #7
  call void @_ZN7HtnTerm11SetInternedEv(ptr noundef nonnull align 8 dereferenceable(72) %37)
  call void @_ZNSt10shared_ptrI7HtnTermEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  br label %40

38:                                               ; preds = %24
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt4pairIPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8weak_ptrI7HtnTermEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  resume { ptr, i32 } %39

40:                                               ; preds = %32, %17
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  ret void
}

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

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

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

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

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

declare void @_ZNK7HtnTerm11GetUniqueIDEPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef, ptr noundef) local_unnamed_addr #4

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

declare void @_Z39failfastThis_uncaught_exception_handlerPvbPKcl(ptr noundef, i1 noundef zeroext, ptr noundef, i64 noundef) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNKSt8weak_ptrI7HtnTermE4lockEv(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_mapIPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8weak_ptrI7HtnTermEN14HtnTermFactory15uniqueIDPtrHashENSC_16uniqueIDPtrEqualESaISt4pairIKS8_SB_EEE6insertISF_IS8_SB_EEENSt9enable_ifIXsr16is_constructibleISH_OT_EE5valueESF_INSt8__detail14_Node_iteratorISH_Lb0ELb1EEEbEE4typeESO_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7HtnTerm11SetInternedEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #2 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 = { 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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }

!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, !10, i64 33072}
!6 = !{!"_ZTS14HtnTermFactory", !7, i64 0, !14, i64 16, !23, i64 64, !23, i64 80, !26, i64 96, !31, i64 152, !22, i64 208, !33, i64 216, !22, i64 224, !34, i64 232, !37, i64 280, !23, i64 288, !11, i64 304, !10, i64 33072, !22, i64 33080}
!7 = !{!"_ZTSSt23enable_shared_from_thisI14HtnTermFactoryE", !8, i64 0}
!8 = !{!"_ZTSSt8weak_ptrI14HtnTermFactoryE", !9, i64 0}
!9 = !{!"_ZTSSt10__weak_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0, !13, i64 8}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"_ZTSSt12__weak_countILN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0}
!14 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrI13HtnCustomDataESt4lessIS5_ESaISt4pairIKS5_S8_EEE", !15, i64 0}
!15 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrI13HtnCustomDataEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE", !16, i64 0}
!16 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrI13HtnCustomDataEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !17, i64 0, !19, i64 8}
!17 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !18, i64 0}
!18 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!19 = !{!"_ZTSSt15_Rb_tree_header", !20, i64 0, !22, i64 32}
!20 = !{!"_ZTSSt18_Rb_tree_node_base", !21, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!21 = !{!"_ZTSSt14_Rb_tree_color", !11, i64 0}
!22 = !{!"long", !11, i64 0}
!23 = !{!"_ZTSSt10shared_ptrI7HtnTermE", !24, i64 0}
!24 = !{!"_ZTSSt12__shared_ptrI7HtnTermLN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0, !25, i64 8}
!25 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0}
!26 = !{!"_ZTSSt13unordered_mapIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiN14HtnTermFactory13stringPtrHashENS8_14stringPtrEqualESaISt4pairIKS7_iEEE", !27, i64 0}
!27 = !{!"_ZTSSt10_HashtableIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS7_iESaISA_ENSt8__detail10_Select1stEN14HtnTermFactory14stringPtrEqualENSE_13stringPtrHashENSC_18_Mod_range_hashingENSC_20_Default_ranged_hashENSC_20_Prime_rehash_policyENSC_17_Hashtable_traitsILb1ELb0ELb1EEEE", !10, i64 0, !22, i64 8, !28, i64 16, !22, i64 24, !29, i64 32, !10, i64 48}
!28 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !10, i64 0}
!29 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !30, i64 0, !22, i64 8}
!30 = !{!"float", !11, i64 0}
!31 = !{!"_ZTSSt13unordered_mapIPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8weak_ptrI7HtnTermEN14HtnTermFactory15uniqueIDPtrHashENSC_16uniqueIDPtrEqualESaISt4pairIKS8_SB_EEE", !32, i64 0}
!32 = !{!"_ZTSSt10_HashtableIPPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS8_St8weak_ptrI7HtnTermEESaISE_ENSt8__detail10_Select1stEN14HtnTermFactory16uniqueIDPtrEqualENSI_15uniqueIDPtrHashENSG_18_Mod_range_hashingENSG_20_Default_ranged_hashENSG_20_Prime_rehash_policyENSG_17_Hashtable_traitsILb1ELb0ELb1EEEE", !10, i64 0, !22, i64 8, !28, i64 16, !22, i64 24, !29, i64 32, !10, i64 48}
!33 = !{!"bool", !11, i64 0}
!34 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIiiESt4lessIS5_ESaIS6_IKS5_S7_EEE", !35, i64 0}
!35 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S6_IiiEESt10_Select1stIS9_ESt4lessIS5_ESaIS9_EE", !36, i64 0}
!36 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S6_IiiEESt10_Select1stIS9_ESt4lessIS5_ESaIS9_EE13_Rb_tree_implISD_Lb1EEE", !17, i64 0, !19, i64 8}
!37 = !{!"int", !11, i64 0}
!38 = !{!10, !10, i64 0}
!39 = !{!6, !22, i64 208}


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