; LLVM IR from thepowersgang/mrustc :: src/hir (hir_ops)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.std::_Rb_tree_const_iterator.288" = type { ptr }
%"class.std::function.285" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.HIR::Crate" = type { %class.RcString, i32, %"class.HIR::Module", %"class.std::vector.123", %"class.std::vector.128", %"struct.HIR::Crate::ImplGroup", %"class.HIR::InherentCache", %"class.std::map.149", %"class.std::map.154", %"class.std::vector.159", %"struct.HIR::Crate::ImplGroup.164", %"class.std::map.175", %"class.std::map.180", %"class.std::vector.185", %"class.std::unordered_map.190", %"class.std::vector.185", %"class.std::unordered_map.209", %"class.std::vector.223", %"class.std::vector.228" }
%class.RcString = type { ptr }
%"class.HIR::Module" = type { %"class.std::vector.80", %"class.std::unordered_map", %"class.std::unordered_map.90", %"class.std::unordered_map.104", %"class.std::vector.118" }
%"class.std::vector.80" = type { %"struct.std::_Vector_base.81" }
%"struct.std::_Vector_base.81" = type { %"struct.std::_Vector_base<HIR::SimplePath, std::allocator<HIR::SimplePath>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::SimplePath, std::allocator<HIR::SimplePath>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::SimplePath, std::allocator<HIR::SimplePath>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::SimplePath, std::allocator<HIR::SimplePath>>::_Vector_impl_data" = type { 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.90" = type { %"class.std::_Hashtable.91" }
%"class.std::_Hashtable.91" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.104" = type { %"class.std::_Hashtable.105" }
%"class.std::_Hashtable.105" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.118" = type { %"struct.std::_Vector_base.119" }
%"struct.std::_Vector_base.119" = type { %"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::Static>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::Static>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::Static>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::Static>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::Static>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::Static>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::Static>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::Static>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.123" = type { %"struct.std::_Vector_base.124" }
%"struct.std::_Vector_base.124" = type { %"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::TypeItem>>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::TypeItem>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::TypeItem>>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::TypeItem>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::TypeItem>>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::TypeItem>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::TypeItem>>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::TypeItem>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.128" = type { %"struct.std::_Vector_base.129" }
%"struct.std::_Vector_base.129" = type { %"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::ValueItem>>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::ValueItem>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::ValueItem>>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::ValueItem>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::ValueItem>>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::ValueItem>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::ValueItem>>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::ValueItem>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.HIR::Crate::ImplGroup" = type { %"class.std::map.133", %"class.std::vector.139", %"class.std::vector.139" }
%"class.std::map.133" = type { %"class.std::_Rb_tree.134" }
%"class.std::_Rb_tree.134" = type { %"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, std::vector<std::unique_ptr<HIR::TypeImpl>>>, std::_Select1st<std::pair<const HIR::SimplePath, std::vector<std::unique_ptr<HIR::TypeImpl>>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, std::vector<std::unique_ptr<HIR::TypeImpl>>>, std::_Select1st<std::pair<const HIR::SimplePath, std::vector<std::unique_ptr<HIR::TypeImpl>>>>, std::less<HIR::SimplePath>>::_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::vector.139" = type { %"struct.std::_Vector_base.140" }
%"struct.std::_Vector_base.140" = type { %"struct.std::_Vector_base<std::unique_ptr<HIR::TypeImpl>, std::allocator<std::unique_ptr<HIR::TypeImpl>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<HIR::TypeImpl>, std::allocator<std::unique_ptr<HIR::TypeImpl>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<HIR::TypeImpl>, std::allocator<std::unique_ptr<HIR::TypeImpl>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<HIR::TypeImpl>, std::allocator<std::unique_ptr<HIR::TypeImpl>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.HIR::InherentCache" = type { %"class.std::map.144" }
%"class.std::map.144" = type { %"class.std::_Rb_tree.145" }
%"class.std::_Rb_tree.145" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::InherentCache::Inner>, std::_Select1st<std::pair<const RcString, HIR::InherentCache::Inner>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::InherentCache::Inner>, std::_Select1st<std::pair<const RcString, HIR::InherentCache::Inner>>, std::less<RcString>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.149" = type { %"class.std::_Rb_tree.150" }
%"class.std::_Rb_tree.150" = type { %"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<std::unique_ptr<HIR::TraitImpl>>>, std::_Select1st<std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<std::unique_ptr<HIR::TraitImpl>>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<std::unique_ptr<HIR::TraitImpl>>>, std::_Select1st<std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<std::unique_ptr<HIR::TraitImpl>>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.154" = type { %"class.std::_Rb_tree.155" }
%"class.std::_Rb_tree.155" = type { %"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<std::unique_ptr<HIR::MarkerImpl>>>, std::_Select1st<std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<std::unique_ptr<HIR::MarkerImpl>>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<std::unique_ptr<HIR::MarkerImpl>>>, std::_Select1st<std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<std::unique_ptr<HIR::MarkerImpl>>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.159" = type { %"struct.std::_Vector_base.160" }
%"struct.std::_Vector_base.160" = type { %"struct.std::_Vector_base<HIR::GlobalAssembly, std::allocator<HIR::GlobalAssembly>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::GlobalAssembly, std::allocator<HIR::GlobalAssembly>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::GlobalAssembly, std::allocator<HIR::GlobalAssembly>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::GlobalAssembly, std::allocator<HIR::GlobalAssembly>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.HIR::Crate::ImplGroup.164" = type { %"class.std::map.165", %"class.std::vector.170", %"class.std::vector.170" }
%"class.std::map.165" = type { %"class.std::_Rb_tree.166" }
%"class.std::_Rb_tree.166" = type { %"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, std::vector<const HIR::TypeImpl *>>, std::_Select1st<std::pair<const HIR::SimplePath, std::vector<const HIR::TypeImpl *>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, std::vector<const HIR::TypeImpl *>>, std::_Select1st<std::pair<const HIR::SimplePath, std::vector<const HIR::TypeImpl *>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.170" = type { %"struct.std::_Vector_base.171" }
%"struct.std::_Vector_base.171" = type { %"struct.std::_Vector_base<const HIR::TypeImpl *, std::allocator<const HIR::TypeImpl *>>::_Vector_impl" }
%"struct.std::_Vector_base<const HIR::TypeImpl *, std::allocator<const HIR::TypeImpl *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const HIR::TypeImpl *, std::allocator<const HIR::TypeImpl *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const HIR::TypeImpl *, std::allocator<const HIR::TypeImpl *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.175" = type { %"class.std::_Rb_tree.176" }
%"class.std::_Rb_tree.176" = type { %"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<const HIR::TraitImpl *>>, std::_Select1st<std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<const HIR::TraitImpl *>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<const HIR::TraitImpl *>>, std::_Select1st<std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<const HIR::TraitImpl *>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.180" = type { %"class.std::_Rb_tree.181" }
%"class.std::_Rb_tree.181" = type { %"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<const HIR::MarkerImpl *>>, std::_Select1st<std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<const HIR::MarkerImpl *>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<const HIR::MarkerImpl *>>, std::_Select1st<std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<const HIR::MarkerImpl *>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::unordered_map.190" = type { %"class.std::_Hashtable.191" }
%"class.std::_Hashtable.191" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.185" = type { %"struct.std::_Vector_base.186" }
%"struct.std::_Vector_base.186" = type { %"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl" }
%"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl" = type { %"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl_data" }
%"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map.209" = type { %"class.std::_Hashtable.210" }
%"class.std::_Hashtable.210" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.223" = type { %"struct.std::_Vector_base.224" }
%"struct.std::_Vector_base.224" = type { %"struct.std::_Vector_base<HIR::ExternLibrary, std::allocator<HIR::ExternLibrary>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::ExternLibrary, std::allocator<HIR::ExternLibrary>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::ExternLibrary, std::allocator<HIR::ExternLibrary>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::ExternLibrary, std::allocator<HIR::ExternLibrary>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.228" = type { %"struct.std::_Vector_base.229" }
%"struct.std::_Vector_base.229" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.289" = type { %"struct.HIR::SimplePath", %"struct.HIR::Crate::ImplGroup.291" }
%"struct.HIR::SimplePath" = type { %class.ThinVector.35 }
%class.ThinVector.35 = type { ptr }
%"struct.HIR::Crate::ImplGroup.291" = type { %"class.std::map.292", %"class.std::vector.297", %"class.std::vector.297" }
%"class.std::map.292" = type { %"class.std::_Rb_tree.293" }
%"class.std::_Rb_tree.293" = type { %"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, std::vector<const HIR::MarkerImpl *>>, std::_Select1st<std::pair<const HIR::SimplePath, std::vector<const HIR::MarkerImpl *>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, std::vector<const HIR::MarkerImpl *>>, std::_Select1st<std::pair<const HIR::SimplePath, std::vector<const HIR::MarkerImpl *>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.297" = type { %"struct.std::_Vector_base.298" }
%"struct.std::_Vector_base.298" = type { %"struct.std::_Vector_base<const HIR::MarkerImpl *, std::allocator<const HIR::MarkerImpl *>>::_Vector_impl" }
%"struct.std::_Vector_base<const HIR::MarkerImpl *, std::allocator<const HIR::MarkerImpl *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const HIR::MarkerImpl *, std::allocator<const HIR::MarkerImpl *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const HIR::MarkerImpl *, std::allocator<const HIR::MarkerImpl *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.279" = type { %class.RcString, %"class.HIR::ExternCrate" }
%"class.HIR::ExternCrate" = type { %"class.HIR::CratePtr", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%"class.HIR::CratePtr" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.284 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.284 = type { i64, [8 x i8] }

declare i32 @__gxx_personality_v0(...)

; 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 nounwind uwtable
declare dso_local ptr @_ZNKSt13unordered_mapI8RcStringN3HIR11ExternCrateESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56)) #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(944) ptr @_ZNK3HIR8CratePtrdeEv(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 @_ZNSt8__detail20_Node_const_iteratorISt4pairIK8RcStringN3HIR11ExternCrateEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3HIR5Crate21find_auto_trait_implsERKNS_10SimplePathERKNS_7TypeRefERKNS_19ResolvePlaceholdersESt8functionIFbRKNS_10MarkerImplEEE(ptr noundef nonnull align 8 dereferenceable(944) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %4) #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca i1, align 1
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"struct.std::_Rb_tree_const_iterator.288", align 8
  %13 = alloca %"struct.std::_Rb_tree_const_iterator.288", align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"class.std::function.285", align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %"class.std::function.285", align 8
  %20 = alloca %"class.std::function.285", align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %23 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %24 = alloca ptr, align 8
  %25 = alloca %"class.std::function.285", align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  %26 = load ptr, ptr %7, align 8
  %27 = getelementptr inbounds %"class.HIR::Crate", ptr %26, i32 0, i32 12
  %28 = call noundef i64 @_ZNKSt3mapIN3HIR10SimplePathENS0_5Crate9ImplGroupIPKNS0_10MarkerImplEEESt4lessIS1_ESaISt4pairIKS1_S7_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %27) #3
  %29 = icmp ugt i64 %28, 0
  br i1 %29, label %30, label %78

30:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %31 = getelementptr inbounds %"class.HIR::Crate", ptr %26, i32 0, i32 12
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = call ptr @_ZNKSt3mapIN3HIR10SimplePathENS0_5Crate9ImplGroupIPKNS0_10MarkerImplEEESt4lessIS1_ESaISt4pairIKS1_S7_EEE4findERSB_(ptr noundef nonnull align 8 dereferenceable(48) %31, ptr noundef nonnull align 8 dereferenceable(8) %32)
  %34 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.288", ptr %12, i32 0, i32 0
  store ptr %33, ptr %34, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %35 = getelementptr inbounds %"class.HIR::Crate", ptr %26, i32 0, i32 12
  %36 = call ptr @_ZNKSt3mapIN3HIR10SimplePathENS0_5Crate9ImplGroupIPKNS0_10MarkerImplEEESt4lessIS1_ESaISt4pairIKS1_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %35) #3
  %37 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.288", ptr %13, i32 0, i32 0
  store ptr %36, ptr %37, align 8
  %38 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupIPKNS1_10MarkerImplEEEEESD_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  br i1 %38, label %39, label %75

39:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  %40 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupIPKNS1_10MarkerImplEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #3
  %41 = getelementptr inbounds %"struct.std::pair.289", ptr %40, i32 0, i32 1
  %42 = load ptr, ptr %9, align 8, !tbaa !5
  %43 = call noundef ptr @_ZNK3HIR5Crate9ImplGroupIPKNS_10MarkerImplEE17get_list_for_typeERKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(96) %41, ptr noundef nonnull align 8 dereferenceable(8) %42)
  store ptr %43, ptr %14, align 8, !tbaa !5
  %44 = load ptr, ptr %14, align 8, !tbaa !5
  %45 = icmp ne ptr %44, null
  br i1 %45, label %46, label %58

46:                                               ; preds = %39
  %47 = load ptr, ptr %14, align 8, !tbaa !5
  %48 = load ptr, ptr %9, align 8, !tbaa !5
  %49 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZNSt8functionIFbRKN3HIR10MarkerImplEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %4)
  %50 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115find_impls_listIN3HIR10MarkerImplEEEbRKNS1_5Crate9ImplGroupIPKT_E6list_tERKNS1_7TypeRefERKNS1_19ResolvePlaceholdersESt8functionIFbRS6_EE(ptr noundef nonnull align 8 dereferenceable(24) %47, ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef %15)
          to label %51 unwind label %53

51:                                               ; preds = %46
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #3
  br i1 %50, label %52, label %57

52:                                               ; preds = %51
  store i1 true, ptr %6, align 1
  store i32 1, ptr %18, align 4
  br label %59

53:                                               ; preds = %46
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %16, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %17, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  br label %77

57:                                               ; preds = %51
  br label %58

58:                                               ; preds = %57, %39
  store i32 0, ptr %18, align 4
  br label %59

59:                                               ; preds = %58, %52
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  %60 = load i32, ptr %18, align 4
  switch i32 %60, label %76 [
    i32 0, label %61
  ]

61:                                               ; preds = %59
  %62 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupIPKNS1_10MarkerImplEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #3
  %63 = getelementptr inbounds %"struct.std::pair.289", ptr %62, i32 0, i32 1
  %64 = getelementptr inbounds %"struct.HIR::Crate::ImplGroup.291", ptr %63, i32 0, i32 2
  %65 = load ptr, ptr %9, align 8, !tbaa !5
  %66 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZNSt8functionIFbRKN3HIR10MarkerImplEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %4)
  %67 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115find_impls_listIN3HIR10MarkerImplEEEbRKNS1_5Crate9ImplGroupIPKT_E6list_tERKNS1_7TypeRefERKNS1_19ResolvePlaceholdersESt8functionIFbRS6_EE(ptr noundef nonnull align 8 dereferenceable(24) %64, ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef %19)
          to label %68 unwind label %70

68:                                               ; preds = %61
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #3
  br i1 %67, label %69, label %74

69:                                               ; preds = %68
  store i1 true, ptr %6, align 1
  store i32 1, ptr %18, align 4
  br label %76

70:                                               ; preds = %61
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %16, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %17, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #3
  br label %77

74:                                               ; preds = %68
  br label %75

75:                                               ; preds = %74, %30
  store i1 false, ptr %6, align 1
  store i32 1, ptr %18, align 4
  br label %76

76:                                               ; preds = %75, %69, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  br label %127

77:                                               ; preds = %70, %53
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  br label %129

78:                                               ; preds = %5
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  %80 = load ptr, ptr %9, align 8, !tbaa !5
  %81 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZNSt8functionIFbRKN3HIR10MarkerImplEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %4)
  %82 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_125find_auto_trait_impls_intERKN3HIR5CrateERKNS0_10SimplePathERKNS0_7TypeRefERKNS0_19ResolvePlaceholdersESt8functionIFbRKNS0_10MarkerImplEEE(ptr noundef nonnull align 8 dereferenceable(944) %26, ptr noundef nonnull align 8 dereferenceable(8) %79, ptr noundef nonnull align 8 dereferenceable(8) %80, ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef %20)
          to label %83 unwind label %85

83:                                               ; preds = %78
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #3
  br i1 %82, label %84, label %89

84:                                               ; preds = %83
  store i1 true, ptr %6, align 1
  br label %127

85:                                               ; preds = %78
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %16, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %17, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #3
  br label %129

89:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  %90 = getelementptr inbounds %"class.HIR::Crate", ptr %26, i32 0, i32 16
  store ptr %90, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  %91 = load ptr, ptr %21, align 8, !tbaa !5
  %92 = call ptr @_ZNKSt13unordered_mapI8RcStringN3HIR11ExternCrateESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %91) #3
  %93 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %22, i32 0, i32 0
  %94 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %93, i32 0, i32 0
  store ptr %92, ptr %94, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  %95 = load ptr, ptr %21, align 8, !tbaa !5
  %96 = call ptr @_ZNKSt13unordered_mapI8RcStringN3HIR11ExternCrateESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %95) #3
  %97 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %23, i32 0, i32 0
  %98 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %97, i32 0, i32 0
  store ptr %96, ptr %98, align 8
  br label %99

99:                                               ; preds = %122, %89
  %100 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringN3HIR11ExternCrateEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #3
  br i1 %100, label %102, label %101

101:                                              ; preds = %99
  store i32 2, ptr %18, align 4
  br label %124

102:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  %103 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIK8RcStringN3HIR11ExternCrateEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #3
  store ptr %103, ptr %24, align 8, !tbaa !5
  %104 = load ptr, ptr %24, align 8, !tbaa !5
  %105 = getelementptr inbounds %"struct.std::pair.279", ptr %104, i32 0, i32 1
  %106 = getelementptr inbounds %"class.HIR::ExternCrate", ptr %105, i32 0, i32 0
  %107 = call noundef nonnull align 8 dereferenceable(944) ptr @_ZNK3HIR8CratePtrdeEv(ptr noundef nonnull align 8 dereferenceable(8) %106)
  %108 = load ptr, ptr %8, align 8, !tbaa !5
  %109 = load ptr, ptr %9, align 8, !tbaa !5
  %110 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZNSt8functionIFbRKN3HIR10MarkerImplEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %4)
  %111 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_125find_auto_trait_impls_intERKN3HIR5CrateERKNS0_10SimplePathERKNS0_7TypeRefERKNS0_19ResolvePlaceholdersESt8functionIFbRKNS0_10MarkerImplEEE(ptr noundef nonnull align 8 dereferenceable(944) %107, ptr noundef nonnull align 8 dereferenceable(8) %108, ptr noundef nonnull align 8 dereferenceable(8) %109, ptr noundef nonnull align 8 dereferenceable(8) %110, ptr noundef %25)
          to label %112 unwind label %114

112:                                              ; preds = %102
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #3
  br i1 %111, label %113, label %118

113:                                              ; preds = %112
  store i1 true, ptr %6, align 1
  store i32 1, ptr %18, align 4
  br label %119

114:                                              ; preds = %102
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %16, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %17, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  br label %129

118:                                              ; preds = %112
  store i32 0, ptr %18, align 4
  br label %119

119:                                              ; preds = %118, %113
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  %120 = load i32, ptr %18, align 4
  switch i32 %120, label %124 [
    i32 0, label %121
  ]

121:                                              ; preds = %119
  br label %122

122:                                              ; preds = %121
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorISt4pairIK8RcStringN3HIR11ExternCrateEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #3
  br label %99

124:                                              ; preds = %119, %101
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  %125 = load i32, ptr %18, align 4
  switch i32 %125, label %134 [
    i32 2, label %126
    i32 1, label %127
  ]

126:                                              ; preds = %124
  store i1 false, ptr %6, align 1
  br label %127

127:                                              ; preds = %126, %124, %84, %76
  %128 = load i1, ptr %6, align 1
  ret i1 %128

129:                                              ; preds = %114, %85, %77
  %130 = load ptr, ptr %16, align 8
  %131 = load i32, ptr %17, align 4
  %132 = insertvalue { ptr, i32 } poison, ptr %130, 0
  %133 = insertvalue { ptr, i32 } %132, i32 %131, 1
  resume { ptr, i32 } %133

134:                                              ; preds = %124
  unreachable
}

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_115find_impls_listIN3HIR10MarkerImplEEEbRKNS1_5Crate9ImplGroupIPKT_E6list_tERKNS1_7TypeRefERKNS1_19ResolvePlaceholdersESt8functionIFbRS6_EE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #2

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_125find_auto_trait_impls_intERKN3HIR5CrateERKNS0_10SimplePathERKNS0_7TypeRefERKNS0_19ResolvePlaceholdersESt8functionIFbRKNS0_10MarkerImplEEE(ptr noundef nonnull align 8 dereferenceable(944), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 = { 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"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.std::_Rb_tree_const_iterator.288" = type { ptr }
%"class.std::function.285" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }

declare i32 @__gxx_personality_v0(...)

; 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 nounwind uwtable
declare dso_local ptr @_ZNKSt13unordered_mapI8RcStringN3HIR11ExternCrateESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIK8RcStringN3HIR11ExternCrateEELb0ELb0EEdeEv(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(944) ptr @_ZNK3HIR8CratePtrdeEv(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 @_ZNSt8__detail20_Node_const_iteratorISt4pairIK8RcStringN3HIR11ExternCrateEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3HIR5Crate21find_auto_trait_implsERKNS_10SimplePathERKNS_7TypeRefERKNS_19ResolvePlaceholdersESt8functionIFbRKNS_10MarkerImplEEE(ptr noundef nonnull align 8 dereferenceable(944) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %4) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"struct.std::_Rb_tree_const_iterator.288", align 8
  %7 = alloca %"struct.std::_Rb_tree_const_iterator.288", align 8
  %8 = alloca %"class.std::function.285", align 8
  %9 = alloca %"class.std::function.285", align 8
  %10 = alloca %"class.std::function.285", align 8
  %11 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %12 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %13 = alloca %"class.std::function.285", align 8
  %14 = getelementptr inbounds i8, ptr %0, i64 688
  %15 = tail call noundef i64 @_ZNKSt3mapIN3HIR10SimplePathENS0_5Crate9ImplGroupIPKNS0_10MarkerImplEEESt4lessIS1_ESaISt4pairIKS1_S7_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %14) #3
  %.not = icmp eq i64 %15, 0
  br i1 %.not, label %38, label %16

16:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  %17 = tail call ptr @_ZNKSt3mapIN3HIR10SimplePathENS0_5Crate9ImplGroupIPKNS0_10MarkerImplEEESt4lessIS1_ESaISt4pairIKS1_S7_EEE4findERSB_(ptr noundef nonnull align 8 dereferenceable(48) %14, ptr noundef nonnull align 8 dereferenceable(8) %1)
  store ptr %17, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  %18 = tail call ptr @_ZNKSt3mapIN3HIR10SimplePathENS0_5Crate9ImplGroupIPKNS0_10MarkerImplEEESt4lessIS1_ESaISt4pairIKS1_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %14) #3
  store ptr %18, ptr %7, align 8
  %19 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupIPKNS1_10MarkerImplEEEEESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  br i1 %19, label %20, label %35

20:                                               ; preds = %16
  %21 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupIPKNS1_10MarkerImplEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #3
  %22 = getelementptr inbounds i8, ptr %21, i64 8
  %23 = call noundef ptr @_ZNK3HIR5Crate9ImplGroupIPKNS_10MarkerImplEE17get_list_for_typeERKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(96) %22, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %.not31 = icmp eq ptr %23, null
  br i1 %.not31, label %.critedge, label %24

24:                                               ; preds = %20
  call void @_ZNSt8functionIFbRKN3HIR10MarkerImplEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %4)
  %25 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115find_impls_listIN3HIR10MarkerImplEEEbRKNS1_5Crate9ImplGroupIPKT_E6list_tERKNS1_7TypeRefERKNS1_19ResolvePlaceholdersESt8functionIFbRS6_EE(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull %8)
          to label %26 unwind label %27

26:                                               ; preds = %24
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #3
  br i1 %25, label %36, label %.critedge

27:                                               ; preds = %24
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %37

.critedge:                                        ; preds = %26, %20
  %29 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupIPKNS1_10MarkerImplEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #3
  %30 = getelementptr inbounds i8, ptr %29, i64 80
  call void @_ZNSt8functionIFbRKN3HIR10MarkerImplEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %4)
  %31 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115find_impls_listIN3HIR10MarkerImplEEEbRKNS1_5Crate9ImplGroupIPKT_E6list_tERKNS1_7TypeRefERKNS1_19ResolvePlaceholdersESt8functionIFbRS6_EE(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull %9)
          to label %32 unwind label %33

32:                                               ; preds = %.critedge
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #3
  br i1 %31, label %36, label %35

33:                                               ; preds = %.critedge
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %37

35:                                               ; preds = %32, %16
  br label %36

36:                                               ; preds = %32, %26, %35
  %.1 = phi i1 [ false, %35 ], [ true, %26 ], [ true, %32 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  br label %58

37:                                               ; preds = %33, %27
  %.sink = phi ptr [ %9, %33 ], [ %8, %27 ]
  %.pn = phi { ptr, i32 } [ %34, %33 ], [ %28, %27 ]
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %.sink) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  br label %59

38:                                               ; preds = %5
  call void @_ZNSt8functionIFbRKN3HIR10MarkerImplEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %4)
  %39 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_125find_auto_trait_impls_intERKN3HIR5CrateERKNS0_10SimplePathERKNS0_7TypeRefERKNS0_19ResolvePlaceholdersESt8functionIFbRKNS0_10MarkerImplEEE(ptr noundef nonnull align 8 dereferenceable(944) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull %10)
          to label %40 unwind label %41

40:                                               ; preds = %38
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #3
  br i1 %39, label %58, label %43

41:                                               ; preds = %38
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #3
  br label %59

43:                                               ; preds = %40
  %44 = getelementptr inbounds i8, ptr %0, i64 840
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
  %45 = call ptr @_ZNKSt13unordered_mapI8RcStringN3HIR11ExternCrateESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %44) #3
  store ptr %45, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #3
  %46 = call ptr @_ZNKSt13unordered_mapI8RcStringN3HIR11ExternCrateESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %44) #3
  store ptr %46, ptr %12, align 8
  %47 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringN3HIR11ExternCrateEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #3
  br i1 %47, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %43, %55
  %48 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIK8RcStringN3HIR11ExternCrateEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #3
  %49 = getelementptr inbounds i8, ptr %48, i64 8
  %50 = call noundef nonnull align 8 dereferenceable(944) ptr @_ZNK3HIR8CratePtrdeEv(ptr noundef nonnull align 8 dereferenceable(8) %49)
  call void @_ZNSt8functionIFbRKN3HIR10MarkerImplEEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %4)
  %51 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_125find_auto_trait_impls_intERKN3HIR5CrateERKNS0_10SimplePathERKNS0_7TypeRefERKNS0_19ResolvePlaceholdersESt8functionIFbRKNS0_10MarkerImplEEE(ptr noundef nonnull align 8 dereferenceable(944) %50, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull %13)
          to label %52 unwind label %53

52:                                               ; preds = %.lr.ph
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #3
  br i1 %51, label %._crit_edge, label %55

53:                                               ; preds = %.lr.ph
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
  br label %59

55:                                               ; preds = %52
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorISt4pairIK8RcStringN3HIR11ExternCrateEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #3
  %57 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringN3HIR11ExternCrateEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #3
  br i1 %57, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %52, %55, %43
  %.lcssa = phi i1 [ false, %43 ], [ %51, %55 ], [ %51, %52 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
  br label %58

58:                                               ; preds = %._crit_edge, %40, %36
  %.5 = phi i1 [ %.1, %36 ], [ true, %40 ], [ %.lcssa, %._crit_edge ]
  ret i1 %.5

59:                                               ; preds = %53, %41, %37
  %.pn.pn = phi { ptr, i32 } [ %.pn, %37 ], [ %54, %53 ], [ %42, %41 ]
  resume { ptr, i32 } %.pn.pn
}

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_115find_impls_listIN3HIR10MarkerImplEEEbRKNS1_5Crate9ImplGroupIPKT_E6list_tERKNS1_7TypeRefERKNS1_19ResolvePlaceholdersESt8functionIFbRS6_EE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_125find_auto_trait_impls_intERKN3HIR5CrateERKNS0_10SimplePathERKNS0_7TypeRefERKNS0_19ResolvePlaceholdersESt8functionIFbRKNS0_10MarkerImplEEE(ptr noundef nonnull align 8 dereferenceable(944), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 = { 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)"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass