; LLVM IR from thepowersgang/mrustc :: src/hir/visitor.ll (ZN3HIR7Visitor16visit_trait_implERKNS_10SimplePathERNS_9TraitImplE)

; 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.HIR::ItemPath" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%class.TraceLog = type { ptr, %"class.std::function.179" }
%"class.std::function.179" = 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 } }
%class.anon.411 = type { ptr, ptr }
%"class.HIR::GenericPath" = type { %"struct.HIR::SimplePath", %"struct.HIR::PathParams" }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%"struct.HIR::PathParams" = type { %class.ThinVector.388, %class.ThinVector.389, %class.ThinVector.390 }
%class.ThinVector.388 = type { ptr }
%class.ThinVector.389 = type { ptr }
%class.ThinVector.390 = type { ptr }
%"struct.std::_Rb_tree_iterator.412" = type { ptr }
%"struct.std::_Rb_tree_iterator.415" = type { ptr }
%"struct.std::_Rb_tree_iterator.419" = type { ptr }
%"struct.std::_Rb_tree_iterator.423" = type { ptr }
%class.anon.427 = type { ptr }
%"class.HIR::TraitImpl" = type { %"class.HIR::GenericParams", %"struct.HIR::PathParams", %"class.HIR::TypeRef", %"class.std::map.391", %"class.std::map.396", %"class.std::map.401", %"class.std::map.406", %"struct.HIR::SimplePath" }
%"class.HIR::GenericParams" = type { %"class.std::vector.188", %"class.std::vector.193", %"class.std::vector.198", %"class.std::vector.203" }
%"class.std::vector.188" = type { %"struct.std::_Vector_base.189" }
%"struct.std::_Vector_base.189" = type { %"struct.std::_Vector_base<HIR::TypeParamDef, std::allocator<HIR::TypeParamDef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::TypeParamDef, std::allocator<HIR::TypeParamDef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::TypeParamDef, std::allocator<HIR::TypeParamDef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::TypeParamDef, std::allocator<HIR::TypeParamDef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.193" = type { %"struct.std::_Vector_base.194" }
%"struct.std::_Vector_base.194" = type { %"struct.std::_Vector_base<HIR::LifetimeDef, std::allocator<HIR::LifetimeDef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::LifetimeDef, std::allocator<HIR::LifetimeDef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::LifetimeDef, std::allocator<HIR::LifetimeDef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::LifetimeDef, std::allocator<HIR::LifetimeDef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.198" = type { %"struct.std::_Vector_base.199" }
%"struct.std::_Vector_base.199" = type { %"struct.std::_Vector_base<HIR::ValueParamDef, std::allocator<HIR::ValueParamDef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::ValueParamDef, std::allocator<HIR::ValueParamDef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::ValueParamDef, std::allocator<HIR::ValueParamDef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::ValueParamDef, std::allocator<HIR::ValueParamDef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.203" = type { %"struct.std::_Vector_base.204" }
%"struct.std::_Vector_base.204" = type { %"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.HIR::TypeRef" = type { ptr }
%"class.std::map.391" = type { %"class.std::_Rb_tree.392" }
%"class.std::_Rb_tree.392" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Function>>, std::_Select1st<std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Function>>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Function>>, std::_Select1st<std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Function>>>, std::less<RcString>>::_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::map.396" = type { %"class.std::_Rb_tree.397" }
%"class.std::_Rb_tree.397" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Constant>>, std::_Select1st<std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Constant>>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Constant>>, std::_Select1st<std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Constant>>>, std::less<RcString>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.401" = type { %"class.std::_Rb_tree.402" }
%"class.std::_Rb_tree.402" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Static>>, std::_Select1st<std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Static>>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Static>>, std::_Select1st<std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Static>>>, std::less<RcString>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.406" = type { %"class.std::_Rb_tree.407" }
%"class.std::_Rb_tree.407" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::TypeRef>>, std::_Select1st<std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::TypeRef>>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::TypeRef>>, std::_Select1st<std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::TypeRef>>>, std::less<RcString>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.HIR::Visitor" = type { ptr, ptr }
%"struct.std::pair.413" = type { %class.RcString, %"struct.HIR::TraitImpl::ImplEnt" }
%class.RcString = type { ptr }
%"struct.HIR::TraitImpl::ImplEnt" = type { i8, %"class.HIR::Function" }
%"class.HIR::Function" = type { i8, %"struct.HIR::Linkage", i32, %"class.HIR::TypeRef", %class.RcString, i8, i8, %"class.HIR::GenericParams", %"class.std::vector.338", i8, %"class.HIR::TypeRef", %"class.HIR::ExprPtr", %"struct.HIR::Function::Markings" }
%"struct.HIR::Linkage" = type { i32, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.338" = type { %"struct.std::_Vector_base.339" }
%"struct.std::_Vector_base.339" = type { %"struct.std::_Vector_base<std::pair<HIR::Pattern, HIR::TypeRef>, std::allocator<std::pair<HIR::Pattern, HIR::TypeRef>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<HIR::Pattern, HIR::TypeRef>, std::allocator<std::pair<HIR::Pattern, HIR::TypeRef>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<HIR::Pattern, HIR::TypeRef>, std::allocator<std::pair<HIR::Pattern, HIR::TypeRef>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<HIR::Pattern, HIR::TypeRef>, std::allocator<std::pair<HIR::Pattern, HIR::TypeRef>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.HIR::ExprPtr" = type { %"class.HIR::ExprPtrInner", %"class.std::vector.314", %"class.std::vector.314", %"class.MIR::FunctionPointer", %"class.HIR::ExprStatePtr" }
%"class.HIR::ExprPtrInner" = type { ptr }
%"class.std::vector.314" = type { %"struct.std::_Vector_base.315" }
%"struct.std::_Vector_base.315" = type { %"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.MIR::FunctionPointer" = type { ptr }
%"class.HIR::ExprStatePtr" = type { ptr }
%"struct.HIR::Function::Markings" = type { %"class.std::vector.343", i8, i32 }
%"class.std::vector.343" = type { %"struct.std::_Vector_base.344" }
%"struct.std::_Vector_base.344" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.416" = type { %class.RcString, %"struct.HIR::TraitImpl::ImplEnt.418" }
%"struct.HIR::TraitImpl::ImplEnt.418" = type { i8, %"class.HIR::Constant" }
%"class.HIR::Constant" = type { %"class.HIR::GenericParams", %"class.HIR::TypeRef", %"class.HIR::ExprPtr", %struct.EncodedLiteral, i32, %"class.std::map.329" }
%struct.EncodedLiteral = type { %"class.std::vector.319", %"class.std::vector.324" }
%"class.std::vector.319" = type { %"struct.std::_Vector_base.320" }
%"struct.std::_Vector_base.320" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.324" = type { %"struct.std::_Vector_base.325" }
%"struct.std::_Vector_base.325" = type { %"struct.std::_Vector_base<Reloc, std::allocator<Reloc>>::_Vector_impl" }
%"struct.std::_Vector_base<Reloc, std::allocator<Reloc>>::_Vector_impl" = type { %"struct.std::_Vector_base<Reloc, std::allocator<Reloc>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Reloc, std::allocator<Reloc>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.329" = type { %"class.std::_Rb_tree.330" }
%"class.std::_Rb_tree.330" = type { %"struct.std::_Rb_tree<HIR::Path, std::pair<const HIR::Path, EncodedLiteral>, std::_Select1st<std::pair<const HIR::Path, EncodedLiteral>>, std::less<HIR::Path>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::Path, std::pair<const HIR::Path, EncodedLiteral>, std::_Select1st<std::pair<const HIR::Path, EncodedLiteral>>, std::less<HIR::Path>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::pair.420" = type { %class.RcString, %"struct.HIR::TraitImpl::ImplEnt.422" }
%"struct.HIR::TraitImpl::ImplEnt.422" = type { i8, %"class.HIR::Static" }
%"class.HIR::Static" = type { %"class.HIR::GenericParams", %"struct.HIR::Linkage", i8, %"class.HIR::TypeRef", %"class.HIR::ExprPtr", %struct.EncodedLiteral, i8, i8, i8, %"class.std::map.329" }
%"struct.std::pair.424" = type { %class.RcString, %"struct.HIR::TraitImpl::ImplEnt.426" }
%"struct.HIR::TraitImpl::ImplEnt.426" = type { i8, %"class.HIR::TypeRef" }

@g_debug_indent_level = external global i32, align 4
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1
@__func__._ZN3HIR7Visitor16visit_trait_implERKNS_10SimplePathERNS_9TraitImplE = external hidden unnamed_addr constant [17 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

declare i32 @__gxx_personality_v0(...)

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

declare noundef zeroext i1 @_Z13debug_enabledv() #1

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

declare void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef) unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind noalias writable sret(%"class.HIR::ItemPath") align 8, ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: nounwind
declare void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5

declare noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt3decRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #5

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN18StaticTraitResolve21set_impl_generics_rawE12MetadataTypeRKN3HIR13GenericParamsE(ptr noundef nonnull align 8 dereferenceable(424), i32 noundef, ptr noundef nonnull align 8 dereferenceable(96)) #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3HIR7Visitor16visit_trait_implERKNS_10SimplePathERNS_9TraitImplE(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(328) %2) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.HIR::ItemPath", align 8
  %8 = alloca %class.TraceLog, align 8
  %9 = alloca %"class.std::function.179", align 8
  %10 = alloca %class.anon.411, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.HIR::GenericPath", align 8
  %14 = alloca %"struct.HIR::SimplePath", align 8
  %15 = alloca %"struct.HIR::PathParams", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"struct.std::_Rb_tree_iterator.412", align 8
  %18 = alloca %"struct.std::_Rb_tree_iterator.412", align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"class.HIR::ItemPath", align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"struct.std::_Rb_tree_iterator.415", align 8
  %23 = alloca %"struct.std::_Rb_tree_iterator.415", align 8
  %24 = alloca ptr, align 8
  %25 = alloca %"class.HIR::ItemPath", align 8
  %26 = alloca ptr, align 8
  %27 = alloca %"struct.std::_Rb_tree_iterator.419", align 8
  %28 = alloca %"struct.std::_Rb_tree_iterator.419", align 8
  %29 = alloca ptr, align 8
  %30 = alloca %"class.HIR::ItemPath", align 8
  %31 = alloca ptr, align 8
  %32 = alloca %"struct.std::_Rb_tree_iterator.423", align 8
  %33 = alloca %"struct.std::_Rb_tree_iterator.423", align 8
  %34 = alloca ptr, align 8
  %35 = alloca %class.TraceLog, align 8
  %36 = alloca %"class.std::function.179", align 8
  %37 = alloca %class.anon.427, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %38 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 56, ptr %7) #7
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %"class.HIR::TraitImpl", ptr %39, i32 0, i32 2
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = getelementptr inbounds %"class.HIR::TraitImpl", ptr %42, i32 0, i32 1
  call void @_ZN3HIR8ItemPathC2ERKNS_7TypeRefERKNS_10SimplePathERKNS_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull align 8 dereferenceable(24) %43)
  call void @llvm.lifetime.start.p0(i64 40, ptr %8) #7
  %44 = call noundef zeroext i1 @_Z13debug_enabledv()
  %45 = zext i1 %44 to i64
  %46 = select i1 %44, ptr @__func__._ZN3HIR7Visitor16visit_trait_implERKNS_10SimplePathERNS_9TraitImplE, ptr null
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #7
  %47 = getelementptr inbounds %class.anon.411, ptr %10, i32 0, i32 0
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %48, ptr %47, align 8, !tbaa !5
  %49 = getelementptr inbounds %class.anon.411, ptr %10, i32 0, i32 1
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %50, ptr %49, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor16visit_trait_implERKNS4_10SimplePathERNS4_9TraitImplEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef %46, ptr noundef %9)
          to label %51 unwind label %61

51:                                               ; preds = %3
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  %52 = getelementptr inbounds %"class.HIR::Visitor", ptr %38, i32 0, i32 1
  %53 = load ptr, ptr %52, align 8, !tbaa !9
  %54 = icmp ne ptr %53, null
  br i1 %54, label %55, label %69

55:                                               ; preds = %51
  %56 = getelementptr inbounds %"class.HIR::Visitor", ptr %38, i32 0, i32 1
  %57 = load ptr, ptr %56, align 8, !tbaa !9
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = getelementptr inbounds %"class.HIR::TraitImpl", ptr %58, i32 0, i32 0
  invoke void @_ZN18StaticTraitResolve21set_impl_generics_rawE12MetadataTypeRKN3HIR13GenericParamsE(ptr noundef nonnull align 8 dereferenceable(424) %57, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(96) %59)
          to label %60 unwind label %65

60:                                               ; preds = %55
  br label %69

61:                                               ; preds = %3
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %11, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  br label %317

65:                                               ; preds = %311, %90, %69, %55
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %11, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %12, align 4
  br label %316

69:                                               ; preds = %60, %51
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = getelementptr inbounds %"class.HIR::TraitImpl", ptr %70, i32 0, i32 0
  %72 = load ptr, ptr %38, align 8, !tbaa !11
  %73 = getelementptr inbounds ptr, ptr %72, i64 17
  %74 = load ptr, ptr %73, align 8
  invoke void %74(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(96) %71)
          to label %75 unwind label %65

75:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #7
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN3HIR10SimplePathC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %76)
          to label %77 unwind label %108

77:                                               ; preds = %75
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = getelementptr inbounds %"class.HIR::TraitImpl", ptr %78, i32 0, i32 1
  invoke void @_ZN3HIR10PathParamsC2EOS0_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %79)
          to label %80 unwind label %112

80:                                               ; preds = %77
  invoke void @_ZN3HIR11GenericPathC1ENS_10SimplePathENS_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef %14, ptr noundef %15)
          to label %81 unwind label %116

81:                                               ; preds = %80
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @_ZN3HIR10SimplePathD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %82 = load ptr, ptr %38, align 8, !tbaa !11
  %83 = getelementptr inbounds ptr, ptr %82, i64 26
  %84 = load ptr, ptr %83, align 8
  invoke void %84(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(32) %13, i32 noundef 1)
          to label %85 unwind label %121

85:                                               ; preds = %81
  %86 = getelementptr inbounds %"class.HIR::GenericPath", ptr %13, i32 0, i32 1
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = getelementptr inbounds %"class.HIR::TraitImpl", ptr %87, i32 0, i32 1
  %89 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3HIR10PathParamsaSEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %88, ptr noundef nonnull align 8 dereferenceable(24) %86)
          to label %90 unwind label %121

90:                                               ; preds = %85
  call void @_ZN3HIR11GenericPathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #7
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = getelementptr inbounds %"class.HIR::TraitImpl", ptr %91, i32 0, i32 2
  %93 = load ptr, ptr %38, align 8, !tbaa !11
  %94 = getelementptr inbounds ptr, ptr %93, i64 21
  %95 = load ptr, ptr %94, align 8
  invoke void %95(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(8) %92)
          to label %96 unwind label %65

96:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %98 = getelementptr inbounds %"class.HIR::TraitImpl", ptr %97, i32 0, i32 3
  store ptr %98, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %99 = load ptr, ptr %16, align 8, !tbaa !5
  %100 = call ptr @_ZNSt3mapI8RcStringN3HIR9TraitImpl7ImplEntINS1_8FunctionEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %99) #7
  %101 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.412", ptr %17, i32 0, i32 0
  store ptr %100, ptr %101, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %102 = load ptr, ptr %16, align 8, !tbaa !5
  %103 = call ptr @_ZNSt3mapI8RcStringN3HIR9TraitImpl7ImplEntINS1_8FunctionEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %102) #7
  %104 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.412", ptr %18, i32 0, i32 0
  store ptr %103, ptr %104, align 8
  br label %105

105:                                              ; preds = %162, %96
  %106 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_8FunctionEEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  br i1 %106, label %126, label %107

107:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %164

108:                                              ; preds = %75
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %11, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %12, align 4
  br label %125

112:                                              ; preds = %77
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %11, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %12, align 4
  br label %120

116:                                              ; preds = %80
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %11, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %12, align 4
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  br label %120

120:                                              ; preds = %116, %112
  call void @_ZN3HIR10SimplePathD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  br label %125

121:                                              ; preds = %85, %81
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %11, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %12, align 4
  call void @_ZN3HIR11GenericPathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  br label %125

125:                                              ; preds = %121, %120, %108
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #7
  br label %316

126:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %127 = call noundef nonnull align 8 dereferenceable(368) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_8FunctionEEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  store ptr %127, ptr %19, align 8, !tbaa !5
  br label %128

128:                                              ; preds = %126
  %129 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %130 unwind label %145

130:                                              ; preds = %128
  br i1 %129, label %131, label %149

131:                                              ; preds = %130
  %132 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !13
  %133 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %132, ptr noundef @__func__._ZN3HIR7Visitor16visit_trait_implERKNS_10SimplePathERNS_9TraitImplE)
          to label %134 unwind label %145

134:                                              ; preds = %131
  %135 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %133, ptr noundef @.str.5)
          to label %136 unwind label %145

136:                                              ; preds = %134
  %137 = load ptr, ptr %19, align 8, !tbaa !5
  %138 = getelementptr inbounds %"struct.std::pair.413", ptr %137, i32 0, i32 0
  %139 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %135, ptr noundef nonnull align 8 dereferenceable(8) %138)
          to label %140 unwind label %145

140:                                              ; preds = %136
  %141 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %139, ptr noundef @_ZSt3decRSt8ios_base)
          to label %142 unwind label %145

142:                                              ; preds = %140
  %143 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %141, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %144 unwind label %145

144:                                              ; preds = %142
  br label %149

145:                                              ; preds = %154, %151, %142, %140, %136, %134, %131, %128
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %11, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %316

149:                                              ; preds = %144, %130
  br label %150

150:                                              ; preds = %149
  br label %151

151:                                              ; preds = %150
  %152 = load ptr, ptr %19, align 8, !tbaa !5
  %153 = getelementptr inbounds %"struct.std::pair.413", ptr %152, i32 0, i32 0
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind writable sret(%"class.HIR::ItemPath") align 8 %20, ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 8 dereferenceable(8) %153)
          to label %154 unwind label %145

154:                                              ; preds = %151
  %155 = load ptr, ptr %19, align 8, !tbaa !5
  %156 = getelementptr inbounds %"struct.std::pair.413", ptr %155, i32 0, i32 1
  %157 = getelementptr inbounds %"struct.HIR::TraitImpl::ImplEnt", ptr %156, i32 0, i32 1
  %158 = load ptr, ptr %38, align 8, !tbaa !11
  %159 = getelementptr inbounds ptr, ptr %158, i64 14
  %160 = load ptr, ptr %159, align 8
  invoke void %160(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef byval(%"class.HIR::ItemPath") align 8 %20, ptr noundef nonnull align 8 dereferenceable(352) %157)
          to label %161 unwind label %145

161:                                              ; preds = %154
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %162

162:                                              ; preds = %161
  %163 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_8FunctionEEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  br label %105

164:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %165 = load ptr, ptr %6, align 8, !tbaa !5
  %166 = getelementptr inbounds %"class.HIR::TraitImpl", ptr %165, i32 0, i32 4
  store ptr %166, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %167 = load ptr, ptr %21, align 8, !tbaa !5
  %168 = call ptr @_ZNSt3mapI8RcStringN3HIR9TraitImpl7ImplEntINS1_8ConstantEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %167) #7
  %169 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.415", ptr %22, i32 0, i32 0
  store ptr %168, ptr %169, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %170 = load ptr, ptr %21, align 8, !tbaa !5
  %171 = call ptr @_ZNSt3mapI8RcStringN3HIR9TraitImpl7ImplEntINS1_8ConstantEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %170) #7
  %172 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.415", ptr %23, i32 0, i32 0
  store ptr %171, ptr %172, align 8
  br label %173

173:                                              ; preds = %212, %164
  %174 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_8ConstantEEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  br i1 %174, label %176, label %175

175:                                              ; preds = %173
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %214

176:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %177 = call noundef nonnull align 8 dereferenceable(296) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_8ConstantEEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  store ptr %177, ptr %24, align 8, !tbaa !5
  br label %178

178:                                              ; preds = %176
  %179 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %180 unwind label %195

180:                                              ; preds = %178
  br i1 %179, label %181, label %199

181:                                              ; preds = %180
  %182 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !13
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %182, ptr noundef @__func__._ZN3HIR7Visitor16visit_trait_implERKNS_10SimplePathERNS_9TraitImplE)
          to label %184 unwind label %195

184:                                              ; preds = %181
  %185 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %183, ptr noundef @.str.2)
          to label %186 unwind label %195

186:                                              ; preds = %184
  %187 = load ptr, ptr %24, align 8, !tbaa !5
  %188 = getelementptr inbounds %"struct.std::pair.416", ptr %187, i32 0, i32 0
  %189 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %185, ptr noundef nonnull align 8 dereferenceable(8) %188)
          to label %190 unwind label %195

190:                                              ; preds = %186
  %191 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %189, ptr noundef @_ZSt3decRSt8ios_base)
          to label %192 unwind label %195

192:                                              ; preds = %190
  %193 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %191, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %194 unwind label %195

194:                                              ; preds = %192
  br label %199

195:                                              ; preds = %204, %201, %192, %190, %186, %184, %181, %178
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %11, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %316

199:                                              ; preds = %194, %180
  br label %200

200:                                              ; preds = %199
  br label %201

201:                                              ; preds = %200
  %202 = load ptr, ptr %24, align 8, !tbaa !5
  %203 = getelementptr inbounds %"struct.std::pair.416", ptr %202, i32 0, i32 0
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind writable sret(%"class.HIR::ItemPath") align 8 %25, ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 8 dereferenceable(8) %203)
          to label %204 unwind label %195

204:                                              ; preds = %201
  %205 = load ptr, ptr %24, align 8, !tbaa !5
  %206 = getelementptr inbounds %"struct.std::pair.416", ptr %205, i32 0, i32 1
  %207 = getelementptr inbounds %"struct.HIR::TraitImpl::ImplEnt.418", ptr %206, i32 0, i32 1
  %208 = load ptr, ptr %38, align 8, !tbaa !11
  %209 = getelementptr inbounds ptr, ptr %208, i64 16
  %210 = load ptr, ptr %209, align 8
  invoke void %210(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef byval(%"class.HIR::ItemPath") align 8 %25, ptr noundef nonnull align 8 dereferenceable(280) %207)
          to label %211 unwind label %195

211:                                              ; preds = %204
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %212

212:                                              ; preds = %211
  %213 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_8ConstantEEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  br label %173

214:                                              ; preds = %175
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %215 = load ptr, ptr %6, align 8, !tbaa !5
  %216 = getelementptr inbounds %"class.HIR::TraitImpl", ptr %215, i32 0, i32 5
  store ptr %216, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %217 = load ptr, ptr %26, align 8, !tbaa !5
  %218 = call ptr @_ZNSt3mapI8RcStringN3HIR9TraitImpl7ImplEntINS1_6StaticEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %217) #7
  %219 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.419", ptr %27, i32 0, i32 0
  store ptr %218, ptr %219, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %220 = load ptr, ptr %26, align 8, !tbaa !5
  %221 = call ptr @_ZNSt3mapI8RcStringN3HIR9TraitImpl7ImplEntINS1_6StaticEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %220) #7
  %222 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.419", ptr %28, i32 0, i32 0
  store ptr %221, ptr %222, align 8
  br label %223

223:                                              ; preds = %262, %214
  %224 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_6StaticEEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  br i1 %224, label %226, label %225

225:                                              ; preds = %223
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %264

226:                                              ; preds = %223
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %227 = call noundef nonnull align 8 dereferenceable(376) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_6StaticEEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  store ptr %227, ptr %29, align 8, !tbaa !5
  br label %228

228:                                              ; preds = %226
  %229 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %230 unwind label %245

230:                                              ; preds = %228
  br i1 %229, label %231, label %249

231:                                              ; preds = %230
  %232 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !13
  %233 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %232, ptr noundef @__func__._ZN3HIR7Visitor16visit_trait_implERKNS_10SimplePathERNS_9TraitImplE)
          to label %234 unwind label %245

234:                                              ; preds = %231
  %235 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %233, ptr noundef @.str.3)
          to label %236 unwind label %245

236:                                              ; preds = %234
  %237 = load ptr, ptr %29, align 8, !tbaa !5
  %238 = getelementptr inbounds %"struct.std::pair.420", ptr %237, i32 0, i32 0
  %239 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %235, ptr noundef nonnull align 8 dereferenceable(8) %238)
          to label %240 unwind label %245

240:                                              ; preds = %236
  %241 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %239, ptr noundef @_ZSt3decRSt8ios_base)
          to label %242 unwind label %245

242:                                              ; preds = %240
  %243 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %241, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %244 unwind label %245

244:                                              ; preds = %242
  br label %249

245:                                              ; preds = %254, %251, %242, %240, %236, %234, %231, %228
  %246 = landingpad { ptr, i32 }
          cleanup
  %247 = extractvalue { ptr, i32 } %246, 0
  store ptr %247, ptr %11, align 8
  %248 = extractvalue { ptr, i32 } %246, 1
  store i32 %248, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %316

249:                                              ; preds = %244, %230
  br label %250

250:                                              ; preds = %249
  br label %251

251:                                              ; preds = %250
  %252 = load ptr, ptr %29, align 8, !tbaa !5
  %253 = getelementptr inbounds %"struct.std::pair.420", ptr %252, i32 0, i32 0
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind writable sret(%"class.HIR::ItemPath") align 8 %30, ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 8 dereferenceable(8) %253)
          to label %254 unwind label %245

254:                                              ; preds = %251
  %255 = load ptr, ptr %29, align 8, !tbaa !5
  %256 = getelementptr inbounds %"struct.std::pair.420", ptr %255, i32 0, i32 1
  %257 = getelementptr inbounds %"struct.HIR::TraitImpl::ImplEnt.422", ptr %256, i32 0, i32 1
  %258 = load ptr, ptr %38, align 8, !tbaa !11
  %259 = getelementptr inbounds ptr, ptr %258, i64 15
  %260 = load ptr, ptr %259, align 8
  invoke void %260(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef byval(%"class.HIR::ItemPath") align 8 %30, ptr noundef nonnull align 8 dereferenceable(360) %257)
          to label %261 unwind label %245

261:                                              ; preds = %254
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  br label %262

262:                                              ; preds = %261
  %263 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_6StaticEEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  br label %223

264:                                              ; preds = %225
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %265 = load ptr, ptr %6, align 8, !tbaa !5
  %266 = getelementptr inbounds %"class.HIR::TraitImpl", ptr %265, i32 0, i32 6
  store ptr %266, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %267 = load ptr, ptr %31, align 8, !tbaa !5
  %268 = call ptr @_ZNSt3mapI8RcStringN3HIR9TraitImpl7ImplEntINS1_7TypeRefEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %267) #7
  %269 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.423", ptr %32, i32 0, i32 0
  store ptr %268, ptr %269, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  %270 = load ptr, ptr %31, align 8, !tbaa !5
  %271 = call ptr @_ZNSt3mapI8RcStringN3HIR9TraitImpl7ImplEntINS1_7TypeRefEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %270) #7
  %272 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.423", ptr %33, i32 0, i32 0
  store ptr %271, ptr %272, align 8
  br label %273

273:                                              ; preds = %292, %264
  %274 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_7TypeRefEEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33) #7
  br i1 %274, label %276, label %275

275:                                              ; preds = %273
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  br label %307

276:                                              ; preds = %273
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %277 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_7TypeRefEEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #7
  store ptr %277, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %35) #7
  %278 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %279 unwind label %294

279:                                              ; preds = %276
  %280 = zext i1 %278 to i64
  %281 = select i1 %278, ptr @__func__._ZN3HIR7Visitor16visit_trait_implERKNS_10SimplePathERNS_9TraitImplE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  %282 = getelementptr inbounds %class.anon.427, ptr %37, i32 0, i32 0
  %283 = load ptr, ptr %34, align 8, !tbaa !5
  store ptr %283, ptr %282, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor16visit_trait_implERKNS4_10SimplePathERNS4_9TraitImplEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 8 dereferenceable(8) %37) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %35, ptr noundef %281, ptr noundef %36)
          to label %284 unwind label %298

284:                                              ; preds = %279
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  %285 = load ptr, ptr %34, align 8, !tbaa !5
  %286 = getelementptr inbounds %"struct.std::pair.424", ptr %285, i32 0, i32 1
  %287 = getelementptr inbounds %"struct.HIR::TraitImpl::ImplEnt.426", ptr %286, i32 0, i32 1
  %288 = load ptr, ptr %38, align 8, !tbaa !11
  %289 = getelementptr inbounds ptr, ptr %288, i64 21
  %290 = load ptr, ptr %289, align 8
  invoke void %290(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(8) %287)
          to label %291 unwind label %302

291:                                              ; preds = %284
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %35) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  br label %292

292:                                              ; preds = %291
  %293 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_7TypeRefEEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #7
  br label %273

294:                                              ; preds = %276
  %295 = landingpad { ptr, i32 }
          cleanup
  %296 = extractvalue { ptr, i32 } %295, 0
  store ptr %296, ptr %11, align 8
  %297 = extractvalue { ptr, i32 } %295, 1
  store i32 %297, ptr %12, align 4
  br label %306

298:                                              ; preds = %279
  %299 = landingpad { ptr, i32 }
          cleanup
  %300 = extractvalue { ptr, i32 } %299, 0
  store ptr %300, ptr %11, align 8
  %301 = extractvalue { ptr, i32 } %299, 1
  store i32 %301, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  br label %306

302:                                              ; preds = %284
  %303 = landingpad { ptr, i32 }
          cleanup
  %304 = extractvalue { ptr, i32 } %303, 0
  store ptr %304, ptr %11, align 8
  %305 = extractvalue { ptr, i32 } %303, 1
  store i32 %305, ptr %12, align 4
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %35) #7
  br label %306

306:                                              ; preds = %302, %298, %294
  call void @llvm.lifetime.end.p0(i64 40, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  br label %316

307:                                              ; preds = %275
  %308 = getelementptr inbounds %"class.HIR::Visitor", ptr %38, i32 0, i32 1
  %309 = load ptr, ptr %308, align 8, !tbaa !9
  %310 = icmp ne ptr %309, null
  br i1 %310, label %311, label %315

311:                                              ; preds = %307
  %312 = getelementptr inbounds %"class.HIR::Visitor", ptr %38, i32 0, i32 1
  %313 = load ptr, ptr %312, align 8, !tbaa !9
  invoke void @_ZN18StaticTraitResolve19clear_impl_genericsEv(ptr noundef nonnull align 8 dereferenceable(424) %313)
          to label %314 unwind label %65

314:                                              ; preds = %311
  br label %315

315:                                              ; preds = %314, %307
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %7) #7
  ret void

316:                                              ; preds = %306, %245, %195, %145, %125, %65
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #7
  br label %317

317:                                              ; preds = %316, %61
  call void @llvm.lifetime.end.p0(i64 40, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %7) #7
  br label %318

318:                                              ; preds = %317
  %319 = load ptr, ptr %11, align 8
  %320 = load i32, ptr %12, align 4
  %321 = insertvalue { ptr, i32 } poison, ptr %319, 0
  %322 = insertvalue { ptr, i32 } %321, i32 %320, 1
  resume { ptr, i32 } %322
}

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor16visit_trait_implERKNS4_10SimplePathERNS4_9TraitImplEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

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

declare void @_ZN3HIR11GenericPathC1ENS_10SimplePathENS_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef) unnamed_addr #1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor16visit_trait_implERKNS4_10SimplePathERNS4_9TraitImplEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "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 = { inlinehint 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 #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 }

!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 8}
!10 = !{!"_ZTSN3HIR7VisitorE", !6, i64 8}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}


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

%"class.HIR::ItemPath" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%class.TraceLog = type { ptr, %"class.std::function.179" }
%"class.std::function.179" = 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 } }
%class.anon.411 = type { ptr, ptr }
%"class.HIR::GenericPath" = type { %"struct.HIR::SimplePath", %"struct.HIR::PathParams" }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%"struct.HIR::PathParams" = type { %class.ThinVector.388, %class.ThinVector.389, %class.ThinVector.390 }
%class.ThinVector.388 = type { ptr }
%class.ThinVector.389 = type { ptr }
%class.ThinVector.390 = type { ptr }
%"struct.std::_Rb_tree_iterator.412" = type { ptr }
%"struct.std::_Rb_tree_iterator.415" = type { ptr }
%"struct.std::_Rb_tree_iterator.419" = type { ptr }
%"struct.std::_Rb_tree_iterator.423" = type { ptr }
%class.anon.427 = type { ptr }

@g_debug_indent_level = external local_unnamed_addr global i32, align 4
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1
@__func__._ZN3HIR7Visitor16visit_trait_implERKNS_10SimplePathERNS_9TraitImplE = external hidden unnamed_addr constant [17 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

declare i32 @__gxx_personality_v0(...)

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

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #1

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

declare void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef) unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind noalias writable sret(%"class.HIR::ItemPath") align 8, ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: nounwind
declare void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #5

declare noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt3decRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN18StaticTraitResolve21set_impl_generics_rawE12MetadataTypeRKN3HIR13GenericParamsE(ptr noundef nonnull align 8 dereferenceable(424), i32 noundef, ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3HIR7Visitor16visit_trait_implERKNS_10SimplePathERNS_9TraitImplE(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(328) %2) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.HIR::ItemPath", align 8
  %5 = alloca %class.TraceLog, align 8
  %6 = alloca %"class.std::function.179", align 8
  %7 = alloca %class.anon.411, align 8
  %8 = alloca %"class.HIR::GenericPath", align 8
  %9 = alloca %"struct.HIR::SimplePath", align 8
  %10 = alloca %"struct.HIR::PathParams", align 8
  %11 = alloca %"struct.std::_Rb_tree_iterator.412", align 8
  %12 = alloca %"struct.std::_Rb_tree_iterator.412", align 8
  %13 = alloca %"class.HIR::ItemPath", align 8
  %14 = alloca %"struct.std::_Rb_tree_iterator.415", align 8
  %15 = alloca %"struct.std::_Rb_tree_iterator.415", align 8
  %16 = alloca %"class.HIR::ItemPath", align 8
  %17 = alloca %"struct.std::_Rb_tree_iterator.419", align 8
  %18 = alloca %"struct.std::_Rb_tree_iterator.419", align 8
  %19 = alloca %"class.HIR::ItemPath", align 8
  %20 = alloca %"struct.std::_Rb_tree_iterator.423", align 8
  %21 = alloca %"struct.std::_Rb_tree_iterator.423", align 8
  %22 = alloca %class.TraceLog, align 8
  %23 = alloca %"class.std::function.179", align 8
  %24 = alloca %class.anon.427, align 8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %4) #7
  %25 = getelementptr inbounds i8, ptr %2, i64 120
  %26 = getelementptr inbounds i8, ptr %2, i64 96
  call void @_ZN3HIR8ItemPathC2ERKNS_7TypeRefERKNS_10SimplePathERKNS_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(24) %26)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #7
  %27 = call noundef zeroext i1 @_Z13debug_enabledv()
  %28 = select i1 %27, ptr @__func__._ZN3HIR7Visitor16visit_trait_implERKNS_10SimplePathERNS_9TraitImplE, ptr null
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  store ptr %2, ptr %7, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %7, i64 8
  store ptr %1, ptr %29, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor16visit_trait_implERKNS4_10SimplePathERNS4_9TraitImplEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef %28, ptr noundef nonnull %6)
          to label %30 unwind label %34

30:                                               ; preds = %3
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  %31 = getelementptr inbounds i8, ptr %0, i64 8
  %32 = load ptr, ptr %31, align 8, !tbaa !9
  %.not = icmp eq ptr %32, null
  br i1 %.not, label %38, label %33

33:                                               ; preds = %30
  invoke void @_ZN18StaticTraitResolve21set_impl_generics_rawE12MetadataTypeRKN3HIR13GenericParamsE(ptr noundef nonnull align 8 dereferenceable(424) %32, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(96) %2)
          to label %38 unwind label %36

34:                                               ; preds = %3
  %35 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  br label %181

36:                                               ; preds = %178, %52, %38, %33
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %180

38:                                               ; preds = %33, %30
  %39 = load ptr, ptr %0, align 8, !tbaa !11
  %40 = getelementptr inbounds i8, ptr %39, i64 136
  %41 = load ptr, ptr %40, align 8
  invoke void %41(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(96) %2)
          to label %42 unwind label %36

42:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #7
  invoke void @_ZN3HIR10SimplePathC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %43 unwind label %65

43:                                               ; preds = %42
  invoke void @_ZN3HIR10PathParamsC2EOS0_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %44 unwind label %67

44:                                               ; preds = %43
  invoke void @_ZN3HIR11GenericPathC1ENS_10SimplePathENS_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull %9, ptr noundef nonnull %10)
          to label %45 unwind label %69

45:                                               ; preds = %44
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @_ZN3HIR10SimplePathD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %46 = load ptr, ptr %0, align 8, !tbaa !11
  %47 = getelementptr inbounds i8, ptr %46, i64 208
  %48 = load ptr, ptr %47, align 8
  invoke void %48(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(32) %8, i32 noundef 1)
          to label %49 unwind label %72

49:                                               ; preds = %45
  %50 = getelementptr inbounds i8, ptr %8, i64 8
  %51 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3HIR10PathParamsaSEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %50)
          to label %52 unwind label %72

52:                                               ; preds = %49
  call void @_ZN3HIR11GenericPathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #7
  %53 = load ptr, ptr %0, align 8, !tbaa !11
  %54 = getelementptr inbounds i8, ptr %53, i64 168
  %55 = load ptr, ptr %54, align 8
  invoke void %55(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %56 unwind label %36

56:                                               ; preds = %52
  %57 = getelementptr inbounds i8, ptr %2, i64 128
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  %58 = call ptr @_ZNSt3mapI8RcStringN3HIR9TraitImpl7ImplEntINS1_8FunctionEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %57) #7
  store ptr %58, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %59 = call ptr @_ZNSt3mapI8RcStringN3HIR9TraitImpl7ImplEntINS1_8FunctionEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %57) #7
  store ptr %59, ptr %12, align 8
  %60 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_8FunctionEEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  br i1 %60, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %97, %56
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  %61 = getelementptr inbounds i8, ptr %2, i64 176
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %62 = call ptr @_ZNSt3mapI8RcStringN3HIR9TraitImpl7ImplEntINS1_8ConstantEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %61) #7
  store ptr %62, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  %63 = call ptr @_ZNSt3mapI8RcStringN3HIR9TraitImpl7ImplEntINS1_8ConstantEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %61) #7
  store ptr %63, ptr %15, align 8
  %64 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_8ConstantEEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  br i1 %64, label %.lr.ph53, label %._crit_edge54

65:                                               ; preds = %42
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %74

67:                                               ; preds = %43
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %71

69:                                               ; preds = %44
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  br label %71

71:                                               ; preds = %69, %67
  %.pn = phi { ptr, i32 } [ %70, %69 ], [ %68, %67 ]
  call void @_ZN3HIR10SimplePathD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  br label %74

72:                                               ; preds = %49, %45
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR11GenericPathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  br label %74

74:                                               ; preds = %72, %71, %65
  %.pn44 = phi { ptr, i32 } [ %73, %72 ], [ %.pn, %71 ], [ %66, %65 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #7
  br label %180

.lr.ph:                                           ; preds = %56, %97
  %75 = call noundef nonnull align 8 dereferenceable(368) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_8FunctionEEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  %76 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %77 unwind label %89

77:                                               ; preds = %.lr.ph
  br i1 %76, label %78, label %91

78:                                               ; preds = %77
  %79 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !13
  %80 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %79, ptr noundef nonnull @__func__._ZN3HIR7Visitor16visit_trait_implERKNS_10SimplePathERNS_9TraitImplE)
          to label %81 unwind label %89

81:                                               ; preds = %78
  %82 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %80, ptr noundef nonnull @.str.5)
          to label %83 unwind label %89

83:                                               ; preds = %81
  %84 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %82, ptr noundef nonnull align 8 dereferenceable(8) %75)
          to label %85 unwind label %89

85:                                               ; preds = %83
  %86 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %84, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %87 unwind label %89

87:                                               ; preds = %85
  %88 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %86, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %91 unwind label %89

89:                                               ; preds = %92, %91, %87, %85, %83, %81, %78, %.lr.ph
  %90 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  br label %180

91:                                               ; preds = %87, %77
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind nonnull writable sret(%"class.HIR::ItemPath") align 8 %13, ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull align 8 dereferenceable(8) %75)
          to label %92 unwind label %89

92:                                               ; preds = %91
  %93 = getelementptr inbounds i8, ptr %75, i64 16
  %94 = load ptr, ptr %0, align 8, !tbaa !11
  %95 = getelementptr inbounds i8, ptr %94, i64 112
  %96 = load ptr, ptr %95, align 8
  invoke void %96(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull byval(%"class.HIR::ItemPath") align 8 %13, ptr noundef nonnull align 8 dereferenceable(352) %93)
          to label %97 unwind label %89

97:                                               ; preds = %92
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_8FunctionEEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  %99 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_8FunctionEEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  br i1 %99, label %.lr.ph, label %._crit_edge

._crit_edge54:                                    ; preds = %126, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  %100 = getelementptr inbounds i8, ptr %2, i64 224
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  %101 = call ptr @_ZNSt3mapI8RcStringN3HIR9TraitImpl7ImplEntINS1_6StaticEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %100) #7
  store ptr %101, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  %102 = call ptr @_ZNSt3mapI8RcStringN3HIR9TraitImpl7ImplEntINS1_6StaticEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %100) #7
  store ptr %102, ptr %18, align 8
  %103 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_6StaticEEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  br i1 %103, label %.lr.ph56, label %._crit_edge57

.lr.ph53:                                         ; preds = %._crit_edge, %126
  %104 = call noundef nonnull align 8 dereferenceable(296) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_8ConstantEEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %105 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %106 unwind label %118

106:                                              ; preds = %.lr.ph53
  br i1 %105, label %107, label %120

107:                                              ; preds = %106
  %108 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !13
  %109 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %108, ptr noundef nonnull @__func__._ZN3HIR7Visitor16visit_trait_implERKNS_10SimplePathERNS_9TraitImplE)
          to label %110 unwind label %118

110:                                              ; preds = %107
  %111 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %109, ptr noundef nonnull @.str.2)
          to label %112 unwind label %118

112:                                              ; preds = %110
  %113 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %111, ptr noundef nonnull align 8 dereferenceable(8) %104)
          to label %114 unwind label %118

114:                                              ; preds = %112
  %115 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %113, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %116 unwind label %118

116:                                              ; preds = %114
  %117 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %115, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %120 unwind label %118

118:                                              ; preds = %121, %120, %116, %114, %112, %110, %107, %.lr.ph53
  %119 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  br label %180

120:                                              ; preds = %116, %106
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind nonnull writable sret(%"class.HIR::ItemPath") align 8 %16, ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull align 8 dereferenceable(8) %104)
          to label %121 unwind label %118

121:                                              ; preds = %120
  %122 = getelementptr inbounds i8, ptr %104, i64 16
  %123 = load ptr, ptr %0, align 8, !tbaa !11
  %124 = getelementptr inbounds i8, ptr %123, i64 128
  %125 = load ptr, ptr %124, align 8
  invoke void %125(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull byval(%"class.HIR::ItemPath") align 8 %16, ptr noundef nonnull align 8 dereferenceable(280) %122)
          to label %126 unwind label %118

126:                                              ; preds = %121
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_8ConstantEEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %128 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_8ConstantEEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  br i1 %128, label %.lr.ph53, label %._crit_edge54

._crit_edge57:                                    ; preds = %155, %._crit_edge54
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  %129 = getelementptr inbounds i8, ptr %2, i64 272
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  %130 = call ptr @_ZNSt3mapI8RcStringN3HIR9TraitImpl7ImplEntINS1_7TypeRefEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %129) #7
  store ptr %130, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  %131 = call ptr @_ZNSt3mapI8RcStringN3HIR9TraitImpl7ImplEntINS1_7TypeRefEEESt4lessIS0_ESaISt4pairIKS0_S5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %129) #7
  store ptr %131, ptr %21, align 8
  %132 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_7TypeRefEEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  br i1 %132, label %.lr.ph59, label %._crit_edge60

.lr.ph56:                                         ; preds = %._crit_edge54, %155
  %133 = call noundef nonnull align 8 dereferenceable(376) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_6StaticEEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  %134 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %135 unwind label %147

135:                                              ; preds = %.lr.ph56
  br i1 %134, label %136, label %149

136:                                              ; preds = %135
  %137 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !13
  %138 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %137, ptr noundef nonnull @__func__._ZN3HIR7Visitor16visit_trait_implERKNS_10SimplePathERNS_9TraitImplE)
          to label %139 unwind label %147

139:                                              ; preds = %136
  %140 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %138, ptr noundef nonnull @.str.3)
          to label %141 unwind label %147

141:                                              ; preds = %139
  %142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %140, ptr noundef nonnull align 8 dereferenceable(8) %133)
          to label %143 unwind label %147

143:                                              ; preds = %141
  %144 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %142, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %145 unwind label %147

145:                                              ; preds = %143
  %146 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %144, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %149 unwind label %147

147:                                              ; preds = %150, %149, %145, %143, %141, %139, %136, %.lr.ph56
  %148 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  br label %180

149:                                              ; preds = %145, %135
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind nonnull writable sret(%"class.HIR::ItemPath") align 8 %19, ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull align 8 dereferenceable(8) %133)
          to label %150 unwind label %147

150:                                              ; preds = %149
  %151 = getelementptr inbounds i8, ptr %133, i64 16
  %152 = load ptr, ptr %0, align 8, !tbaa !11
  %153 = getelementptr inbounds i8, ptr %152, i64 120
  %154 = load ptr, ptr %153, align 8
  invoke void %154(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull byval(%"class.HIR::ItemPath") align 8 %19, ptr noundef nonnull align 8 dereferenceable(360) %151)
          to label %155 unwind label %147

155:                                              ; preds = %150
  %156 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_6StaticEEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  %157 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_6StaticEEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  br i1 %157, label %.lr.ph56, label %._crit_edge57

._crit_edge60:                                    ; preds = %168, %._crit_edge57
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  %158 = load ptr, ptr %31, align 8, !tbaa !9
  %.not46 = icmp eq ptr %158, null
  br i1 %.not46, label %179, label %178

.lr.ph59:                                         ; preds = %._crit_edge57, %168
  %159 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_7TypeRefEEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %22) #7
  %160 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %161 unwind label %171

161:                                              ; preds = %.lr.ph59
  %162 = select i1 %160, ptr @__func__._ZN3HIR7Visitor16visit_trait_implERKNS_10SimplePathERNS_9TraitImplE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #7
  store ptr %159, ptr %24, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor16visit_trait_implERKNS4_10SimplePathERNS4_9TraitImplEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %22, ptr noundef %162, ptr noundef nonnull %23)
          to label %163 unwind label %173

163:                                              ; preds = %161
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #7
  %164 = getelementptr inbounds i8, ptr %159, i64 16
  %165 = load ptr, ptr %0, align 8, !tbaa !11
  %166 = getelementptr inbounds i8, ptr %165, i64 168
  %167 = load ptr, ptr %166, align 8
  invoke void %167(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(8) %164)
          to label %168 unwind label %175

168:                                              ; preds = %163
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %22) #7
  %169 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_7TypeRefEEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  %170 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitImpl7ImplEntINS3_7TypeRefEEEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  br i1 %170, label %.lr.ph59, label %._crit_edge60

171:                                              ; preds = %.lr.ph59
  %172 = landingpad { ptr, i32 }
          cleanup
  br label %177

173:                                              ; preds = %161
  %174 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #7
  br label %177

175:                                              ; preds = %163
  %176 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #7
  br label %177

177:                                              ; preds = %175, %173, %171
  %.pn47 = phi { ptr, i32 } [ %176, %175 ], [ %174, %173 ], [ %172, %171 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  br label %180

178:                                              ; preds = %._crit_edge60
  invoke void @_ZN18StaticTraitResolve19clear_impl_genericsEv(ptr noundef nonnull align 8 dereferenceable(424) %158)
          to label %179 unwind label %36

179:                                              ; preds = %178, %._crit_edge60
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #7
  ret void

180:                                              ; preds = %177, %147, %118, %89, %74, %36
  %.pn49 = phi { ptr, i32 } [ %90, %89 ], [ %119, %118 ], [ %148, %147 ], [ %.pn47, %177 ], [ %37, %36 ], [ %.pn44, %74 ]
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #7
  br label %181

181:                                              ; preds = %180, %34
  %.pn49.pn = phi { ptr, i32 } [ %.pn49, %180 ], [ %35, %34 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #7
  resume { ptr, i32 } %.pn49.pn
}

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor16visit_trait_implERKNS4_10SimplePathERNS4_9TraitImplEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

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

declare void @_ZN3HIR11GenericPathC1ENS_10SimplePathENS_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef) unnamed_addr #1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor16visit_trait_implERKNS4_10SimplePathERNS4_9TraitImplEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "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 = { inlinehint 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 #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 }

!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 8}
!10 = !{!"_ZTSN3HIR7VisitorE", !6, i64 8}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}


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