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

; 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.182 = type { ptr }
%class.anon.183 = type { ptr }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%class.anon.293 = type { ptr }
%class.anon.294 = type { ptr }
%class.anon.295 = type { ptr }
%class.anon.296 = type { ptr }
%class.anon.297 = type { ptr }
%class.anon.298 = type { ptr }
%class.anon.299 = type { ptr }
%class.anon.300 = type { ptr }
%"struct.std::__detail::_Node_iterator.301" = type { %"struct.std::__detail::_Node_iterator_base.302" }
%"struct.std::__detail::_Node_iterator_base.302" = type { ptr }
%"class.HIR::Module" = type { %"class.std::vector", %"class.std::unordered_map", %"class.std::unordered_map.5", %"class.std::unordered_map.19", %"class.std::vector.33" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<HIR::SimplePath, std::allocator<HIR::SimplePath>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::SimplePath, std::allocator<HIR::SimplePath>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::SimplePath, std::allocator<HIR::SimplePath>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::SimplePath, std::allocator<HIR::SimplePath>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::unordered_map.5" = type { %"class.std::_Hashtable.6" }
%"class.std::_Hashtable.6" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.19" = type { %"class.std::_Hashtable.20" }
%"class.std::_Hashtable.20" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::Static>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::Static>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::Static>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::Static>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::Static>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::Static>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::Static>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::Static>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.184" = type { %class.RcString, %"class.std::unique_ptr" }
%class.RcString = type { ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.187" }
%"struct.std::_Head_base.187" = type { ptr }
%"struct.HIR::VisEnt" = type { %"class.HIR::Publicity", %"class.HIR::TypeItem" }
%"class.HIR::Publicity" = type { %"class.std::shared_ptr" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.HIR::TypeItem" = type { i32, %"union.HIR::TypeItem::DataUnion" }
%"union.HIR::TypeItem::DataUnion" = type { %"class.HIR::Trait" }
%"class.HIR::Trait" = type { %"class.HIR::GenericParams", %"struct.HIR::LifetimeRef", %"class.std::vector.208", i8, %"class.std::unordered_map.238", %"class.std::unordered_map.252", %"class.std::unordered_multimap", %"class.std::unordered_map.279", i32, %"class.std::vector.208", %"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 }
%"struct.HIR::LifetimeRef" = type { i32 }
%"class.std::unordered_map.238" = type { %"class.std::_Hashtable.239" }
%"class.std::_Hashtable.239" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.252" = type { %"class.std::_Hashtable.253" }
%"class.std::_Hashtable.253" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_multimap" = type { %"class.std::_Hashtable.266" }
%"class.std::_Hashtable.266" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.279" = type { %"class.std::_Hashtable.280" }
%"class.std::_Hashtable.280" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.208" = type { %"struct.std::_Vector_base.209" }
%"struct.std::_Vector_base.209" = type { %"struct.std::_Vector_base<HIR::TraitPath, std::allocator<HIR::TraitPath>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::TraitPath, std::allocator<HIR::TraitPath>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::TraitPath, std::allocator<HIR::TraitPath>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::TraitPath, std::allocator<HIR::TraitPath>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%"struct.std::pair.303" = type { %class.RcString, %"class.std::unique_ptr.305" }
%"class.std::unique_ptr.305" = type { %"struct.std::__uniq_ptr_data.306" }
%"struct.std::__uniq_ptr_data.306" = type { %"class.std::__uniq_ptr_impl.307" }
%"class.std::__uniq_ptr_impl.307" = type { %"class.std::tuple.308" }
%"class.std::tuple.308" = type { %"struct.std::_Tuple_impl.309" }
%"struct.std::_Tuple_impl.309" = type { %"struct.std::_Head_base.312" }
%"struct.std::_Head_base.312" = type { ptr }
%"struct.HIR::VisEnt.313" = type { %"class.HIR::Publicity", %"class.HIR::ValueItem" }
%"class.HIR::ValueItem" = type { i32, %"union.HIR::ValueItem::DataUnion" }
%"union.HIR::ValueItem::DataUnion" = type { %"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.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.HIR::TypeRef" = type { 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.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::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }

@__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE = external hidden unnamed_addr constant [13 x i8], align 1
@.str = external hidden unnamed_addr constant [39 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [74 x i8], align 1
@__PRETTY_FUNCTION__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE = external hidden unnamed_addr constant [74 x i8], align 1
@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.4 = external hidden unnamed_addr constant [4 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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef byval(%"class.HIR::ItemPath") align 8 %1, ptr noundef nonnull align 8 dereferenceable(216) %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %class.TraceLog, align 8
  %7 = alloca %"class.std::function.179", align 8
  %8 = alloca %class.anon.182, align 8
  %9 = alloca %"class.std::function.179", align 8
  %10 = alloca %class.anon.183, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %15 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i8, align 1
  %21 = alloca ptr, align 8
  %22 = alloca i8, align 1
  %23 = alloca ptr, align 8
  %24 = alloca i8, align 1
  %25 = alloca ptr, align 8
  %26 = alloca %class.TraceLog, align 8
  %27 = alloca %"class.std::function.179", align 8
  %28 = alloca %class.anon.293, align 8
  %29 = alloca %"class.HIR::ItemPath", align 8
  %30 = alloca i8, align 1
  %31 = alloca ptr, align 8
  %32 = alloca %class.TraceLog, align 8
  %33 = alloca %"class.std::function.179", align 8
  %34 = alloca %class.anon.294, align 8
  %35 = alloca %"class.HIR::ItemPath", align 8
  %36 = alloca i8, align 1
  %37 = alloca ptr, align 8
  %38 = alloca %class.TraceLog, align 8
  %39 = alloca %"class.std::function.179", align 8
  %40 = alloca %class.anon.295, align 8
  %41 = alloca %"class.HIR::ItemPath", align 8
  %42 = alloca i8, align 1
  %43 = alloca ptr, align 8
  %44 = alloca %class.TraceLog, align 8
  %45 = alloca %"class.std::function.179", align 8
  %46 = alloca %class.anon.296, align 8
  %47 = alloca i8, align 1
  %48 = alloca ptr, align 8
  %49 = alloca %class.TraceLog, align 8
  %50 = alloca %"class.std::function.179", align 8
  %51 = alloca %class.anon.297, align 8
  %52 = alloca %"class.HIR::ItemPath", align 8
  %53 = alloca i8, align 1
  %54 = alloca ptr, align 8
  %55 = alloca %class.TraceLog, align 8
  %56 = alloca %"class.std::function.179", align 8
  %57 = alloca %class.anon.298, align 8
  %58 = alloca %"class.HIR::ItemPath", align 8
  %59 = alloca i8, align 1
  %60 = alloca ptr, align 8
  %61 = alloca %class.TraceLog, align 8
  %62 = alloca %"class.std::function.179", align 8
  %63 = alloca %class.anon.299, align 8
  %64 = alloca %"class.HIR::ItemPath", align 8
  %65 = alloca i8, align 1
  %66 = alloca ptr, align 8
  %67 = alloca %class.TraceLog, align 8
  %68 = alloca %"class.std::function.179", align 8
  %69 = alloca %class.anon.300, align 8
  %70 = alloca %"class.HIR::ItemPath", align 8
  %71 = alloca ptr, align 8
  %72 = alloca %"struct.std::__detail::_Node_iterator.301", align 8
  %73 = alloca %"struct.std::__detail::_Node_iterator.301", align 8
  %74 = alloca ptr, align 8
  %75 = alloca ptr, align 8
  %76 = alloca ptr, align 8
  %77 = alloca i8, align 1
  %78 = alloca ptr, align 8
  %79 = alloca i8, align 1
  %80 = alloca ptr, align 8
  %81 = alloca i8, align 1
  %82 = alloca ptr, align 8
  %83 = alloca %"class.HIR::ItemPath", align 8
  %84 = alloca i8, align 1
  %85 = alloca ptr, align 8
  %86 = alloca %"class.HIR::ItemPath", align 8
  %87 = alloca i8, align 1
  %88 = alloca ptr, align 8
  %89 = alloca i8, align 1
  %90 = alloca ptr, align 8
  %91 = alloca %"class.HIR::ItemPath", align 8
  %92 = alloca i8, align 1
  %93 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %2, ptr %5, align 8, !tbaa !5
  %94 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr %6) #7
  %95 = call noundef zeroext i1 @_Z13debug_enabledv()
  %96 = zext i1 %95 to i64
  %97 = select i1 %95, ptr @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %98 = getelementptr inbounds %class.anon.182, ptr %8, i32 0, i32 0
  store ptr %1, ptr %98, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor12visit_moduleENS4_8ItemPathERNS4_6ModuleEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %99 = getelementptr inbounds %class.anon.183, ptr %10, i32 0, i32 0
  store ptr %1, ptr %99, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor12visit_moduleENS4_8ItemPathERNS4_6ModuleEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEES5_(ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef %97, ptr noundef %7, ptr noundef %9)
          to label %100 unwind label %114

100:                                              ; preds = %3
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %101 = load ptr, ptr %5, align 8, !tbaa !5
  %102 = getelementptr inbounds %"class.HIR::Module", ptr %101, i32 0, i32 2
  store ptr %102, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %103 = load ptr, ptr %13, align 8, !tbaa !5
  %104 = call ptr @_ZNSt13unordered_mapI8RcStringSt10unique_ptrIN3HIR6VisEntINS2_8TypeItemEEESt14default_deleteIS5_EESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %103) #7
  %105 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %14, i32 0, i32 0
  %106 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %105, i32 0, i32 0
  store ptr %104, ptr %106, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %107 = load ptr, ptr %13, align 8, !tbaa !5
  %108 = call ptr @_ZNSt13unordered_mapI8RcStringSt10unique_ptrIN3HIR6VisEntINS2_8TypeItemEEESt14default_deleteIS5_EESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %107) #7
  %109 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %15, i32 0, i32 0
  %110 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %109, i32 0, i32 0
  store ptr %108, ptr %110, align 8
  br label %111

111:                                              ; preds = %571, %100
  %112 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringSt10unique_ptrIN3HIR6VisEntINS5_8TypeItemEEESt14default_deleteIS8_EEELb0EEESF_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  br i1 %112, label %118, label %113

113:                                              ; preds = %111
  store i32 2, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %573

114:                                              ; preds = %3
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %11, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, 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 8, ptr %10) #7
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %840

118:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %119 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIK8RcStringSt10unique_ptrIN3HIR6VisEntINS5_8TypeItemEEESt14default_deleteIS8_EEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  store ptr %119, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %120 = load ptr, ptr %17, align 8, !tbaa !5
  %121 = getelementptr inbounds %"struct.std::pair.184", ptr %120, i32 0, i32 0
  store ptr %121, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %122 = load ptr, ptr %17, align 8, !tbaa !5
  %123 = getelementptr inbounds %"struct.std::pair.184", ptr %122, i32 0, i32 1
  %124 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR6VisEntINS0_8TypeItemEEESt14default_deleteIS3_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %123) #7
  %125 = getelementptr inbounds %"struct.HIR::VisEnt", ptr %124, i32 0, i32 1
  store ptr %125, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #7
  store i8 1, ptr %20, align 1, !tbaa !9
  br label %126

126:                                              ; preds = %569, %118
  %127 = load i8, ptr %20, align 1, !tbaa !9, !range !11, !noundef !12
  %128 = trunc i8 %127 to i1
  br i1 %128, label %130, label %129

129:                                              ; preds = %126
  store i32 4, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #7
  br label %570

130:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %131 = load ptr, ptr %19, align 8, !tbaa !5
  store ptr %131, ptr %21, align 8, !tbaa !5
  br label %132

132:                                              ; preds = %566, %130
  %133 = load i8, ptr %20, align 1, !tbaa !9, !range !11, !noundef !12
  %134 = trunc i8 %133 to i1
  br i1 %134, label %136, label %135

135:                                              ; preds = %132
  store i32 7, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %568

136:                                              ; preds = %132
  %137 = load ptr, ptr %21, align 8, !tbaa !5
  %138 = invoke noundef i32 @_ZNK3HIR8TypeItem3tagEv(ptr noundef nonnull align 8 dereferenceable(408) %137)
          to label %139 unwind label %140

139:                                              ; preds = %136
  switch i32 %138, label %565 [
    i32 0, label %144
    i32 1, label %145
    i32 2, label %168
    i32 3, label %219
    i32 4, label %270
    i32 5, label %321
    i32 6, label %361
    i32 7, label %412
    i32 8, label %463
    i32 9, label %514
  ]

140:                                              ; preds = %136
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %11, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %12, align 4
  br label %567

144:                                              ; preds = %139
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 59, ptr noundef @__PRETTY_FUNCTION__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE) #8
  unreachable

145:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #7
  store i8 1, ptr %22, align 1, !tbaa !9
  br label %146

146:                                              ; preds = %166, %145
  %147 = load i8, ptr %22, align 1, !tbaa !9, !range !11, !noundef !12
  %148 = trunc i8 %147 to i1
  br i1 %148, label %150, label %149

149:                                              ; preds = %146
  store i32 11, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #7
  br label %167

150:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %151 = load ptr, ptr %21, align 8, !tbaa !5
  %152 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN3HIR8TypeItem9as_ImportEv(ptr noundef nonnull align 8 dereferenceable(408) %151)
          to label %153 unwind label %159

153:                                              ; preds = %150
  store ptr %152, ptr %23, align 8, !tbaa !5
  br label %154

154:                                              ; preds = %164, %153
  %155 = load ptr, ptr %23, align 8, !tbaa !5
  %156 = load i8, ptr %22, align 1, !tbaa !9, !range !11, !noundef !12
  %157 = trunc i8 %156 to i1
  br i1 %157, label %163, label %158

158:                                              ; preds = %154
  store i32 14, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %165

159:                                              ; preds = %150
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %11, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #7
  br label %567

163:                                              ; preds = %154
  br label %164

164:                                              ; preds = %163
  store i8 0, ptr %22, align 1, !tbaa !9
  br label %154, !llvm.loop !13

165:                                              ; preds = %158
  br label %166

166:                                              ; preds = %165
  store i8 0, ptr %22, align 1, !tbaa !9
  br label %146, !llvm.loop !15

167:                                              ; preds = %149
  br label %565

168:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #7
  store i8 1, ptr %24, align 1, !tbaa !9
  br label %169

169:                                              ; preds = %217, %168
  %170 = load i8, ptr %24, align 1, !tbaa !9, !range !11, !noundef !12
  %171 = trunc i8 %170 to i1
  br i1 %171, label %173, label %172

172:                                              ; preds = %169
  store i32 17, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  br label %218

173:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %174 = load ptr, ptr %21, align 8, !tbaa !5
  %175 = invoke noundef nonnull align 8 dereferenceable(216) ptr @_ZN3HIR8TypeItem9as_ModuleEv(ptr noundef nonnull align 8 dereferenceable(408) %174)
          to label %176 unwind label %182

176:                                              ; preds = %173
  store ptr %175, ptr %25, align 8, !tbaa !5
  br label %177

177:                                              ; preds = %201, %176
  %178 = load ptr, ptr %25, align 8, !tbaa !5
  %179 = load i8, ptr %24, align 1, !tbaa !9, !range !11, !noundef !12
  %180 = trunc i8 %179 to i1
  br i1 %180, label %186, label %181

181:                                              ; preds = %177
  store i32 20, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %216

182:                                              ; preds = %173
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %11, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %12, align 4
  br label %215

186:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 40, ptr %26) #7
  %187 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %188 unwind label %202

188:                                              ; preds = %186
  %189 = zext i1 %187 to i64
  %190 = select i1 %187, ptr @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %191 = getelementptr inbounds %class.anon.293, ptr %28, i32 0, i32 0
  %192 = load ptr, ptr %18, align 8, !tbaa !5
  store ptr %192, ptr %191, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor12visit_moduleENS4_8ItemPathERNS4_6ModuleEE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef %190, ptr noundef %27)
          to label %193 unwind label %206

193:                                              ; preds = %188
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  %194 = load ptr, ptr %18, align 8, !tbaa !5
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind writable sret(%"class.HIR::ItemPath") align 8 %29, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %194)
          to label %195 unwind label %210

195:                                              ; preds = %193
  %196 = load ptr, ptr %25, align 8, !tbaa !5
  %197 = load ptr, ptr %94, align 8, !tbaa !16
  %198 = getelementptr inbounds ptr, ptr %197, i64 3
  %199 = load ptr, ptr %198, align 8
  invoke void %199(ptr noundef nonnull align 8 dereferenceable(16) %94, ptr noundef byval(%"class.HIR::ItemPath") align 8 %29, ptr noundef nonnull align 8 dereferenceable(216) %196)
          to label %200 unwind label %210

200:                                              ; preds = %195
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %26) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #7
  br label %201

201:                                              ; preds = %200
  store i8 0, ptr %24, align 1, !tbaa !9
  br label %177, !llvm.loop !18

202:                                              ; preds = %186
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %11, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %12, align 4
  br label %214

206:                                              ; preds = %188
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %11, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br label %214

210:                                              ; preds = %195, %193
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %11, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %12, align 4
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %26) #7
  br label %214

214:                                              ; preds = %210, %206, %202
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #7
  br label %215

215:                                              ; preds = %214, %182
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  br label %567

216:                                              ; preds = %181
  br label %217

217:                                              ; preds = %216
  store i8 0, ptr %24, align 1, !tbaa !9
  br label %169, !llvm.loop !19

218:                                              ; preds = %172
  br label %565

219:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #7
  store i8 1, ptr %30, align 1, !tbaa !9
  br label %220

220:                                              ; preds = %268, %219
  %221 = load i8, ptr %30, align 1, !tbaa !9, !range !11, !noundef !12
  %222 = trunc i8 %221 to i1
  br i1 %222, label %224, label %223

223:                                              ; preds = %220
  store i32 23, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #7
  br label %269

224:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %225 = load ptr, ptr %21, align 8, !tbaa !5
  %226 = invoke noundef nonnull align 8 dereferenceable(104) ptr @_ZN3HIR8TypeItem12as_TypeAliasEv(ptr noundef nonnull align 8 dereferenceable(408) %225)
          to label %227 unwind label %233

227:                                              ; preds = %224
  store ptr %226, ptr %31, align 8, !tbaa !5
  br label %228

228:                                              ; preds = %252, %227
  %229 = load ptr, ptr %31, align 8, !tbaa !5
  %230 = load i8, ptr %30, align 1, !tbaa !9, !range !11, !noundef !12
  %231 = trunc i8 %230 to i1
  br i1 %231, label %237, label %232

232:                                              ; preds = %228
  store i32 26, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  br label %267

233:                                              ; preds = %224
  %234 = landingpad { ptr, i32 }
          cleanup
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %11, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %12, align 4
  br label %266

237:                                              ; preds = %228
  call void @llvm.lifetime.start.p0(i64 40, ptr %32) #7
  %238 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %239 unwind label %253

239:                                              ; preds = %237
  %240 = zext i1 %238 to i64
  %241 = select i1 %238, ptr @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %242 = getelementptr inbounds %class.anon.294, ptr %34, i32 0, i32 0
  %243 = load ptr, ptr %18, align 8, !tbaa !5
  store ptr %243, ptr %242, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor12visit_moduleENS4_8ItemPathERNS4_6ModuleEE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %32, ptr noundef %241, ptr noundef %33)
          to label %244 unwind label %257

244:                                              ; preds = %239
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  %245 = load ptr, ptr %18, align 8, !tbaa !5
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind writable sret(%"class.HIR::ItemPath") align 8 %35, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %245)
          to label %246 unwind label %261

246:                                              ; preds = %244
  %247 = load ptr, ptr %31, align 8, !tbaa !5
  %248 = load ptr, ptr %94, align 8, !tbaa !16
  %249 = getelementptr inbounds ptr, ptr %248, i64 7
  %250 = load ptr, ptr %249, align 8
  invoke void %250(ptr noundef nonnull align 8 dereferenceable(16) %94, ptr noundef byval(%"class.HIR::ItemPath") align 8 %35, ptr noundef nonnull align 8 dereferenceable(104) %247)
          to label %251 unwind label %261

251:                                              ; preds = %246
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %32) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %32) #7
  br label %252

252:                                              ; preds = %251
  store i8 0, ptr %30, align 1, !tbaa !9
  br label %228, !llvm.loop !20

253:                                              ; preds = %237
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %11, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %12, align 4
  br label %265

257:                                              ; preds = %239
  %258 = landingpad { ptr, i32 }
          cleanup
  %259 = extractvalue { ptr, i32 } %258, 0
  store ptr %259, ptr %11, align 8
  %260 = extractvalue { ptr, i32 } %258, 1
  store i32 %260, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  br label %265

261:                                              ; preds = %246, %244
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %11, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %12, align 4
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %32) #7
  br label %265

265:                                              ; preds = %261, %257, %253
  call void @llvm.lifetime.end.p0(i64 40, ptr %32) #7
  br label %266

266:                                              ; preds = %265, %233
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #7
  br label %567

267:                                              ; preds = %232
  br label %268

268:                                              ; preds = %267
  store i8 0, ptr %30, align 1, !tbaa !9
  br label %220, !llvm.loop !21

269:                                              ; preds = %223
  br label %565

270:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #7
  store i8 1, ptr %36, align 1, !tbaa !9
  br label %271

271:                                              ; preds = %319, %270
  %272 = load i8, ptr %36, align 1, !tbaa !9, !range !11, !noundef !12
  %273 = trunc i8 %272 to i1
  br i1 %273, label %275, label %274

274:                                              ; preds = %271
  store i32 29, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #7
  br label %320

275:                                              ; preds = %271
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  %276 = load ptr, ptr %21, align 8, !tbaa !5
  %277 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3HIR8TypeItem13as_TraitAliasEv(ptr noundef nonnull align 8 dereferenceable(408) %276)
          to label %278 unwind label %284

278:                                              ; preds = %275
  store ptr %277, ptr %37, align 8, !tbaa !5
  br label %279

279:                                              ; preds = %303, %278
  %280 = load ptr, ptr %37, align 8, !tbaa !5
  %281 = load i8, ptr %36, align 1, !tbaa !9, !range !11, !noundef !12
  %282 = trunc i8 %281 to i1
  br i1 %282, label %288, label %283

283:                                              ; preds = %279
  store i32 32, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  br label %318

284:                                              ; preds = %275
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %11, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %12, align 4
  br label %317

288:                                              ; preds = %279
  call void @llvm.lifetime.start.p0(i64 40, ptr %38) #7
  %289 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %290 unwind label %304

290:                                              ; preds = %288
  %291 = zext i1 %289 to i64
  %292 = select i1 %289, ptr @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #7
  %293 = getelementptr inbounds %class.anon.295, ptr %40, i32 0, i32 0
  %294 = load ptr, ptr %18, align 8, !tbaa !5
  store ptr %294, ptr %293, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor12visit_moduleENS4_8ItemPathERNS4_6ModuleEE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull align 8 dereferenceable(8) %40) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %38, ptr noundef %292, ptr noundef %39)
          to label %295 unwind label %308

295:                                              ; preds = %290
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  %296 = load ptr, ptr %18, align 8, !tbaa !5
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind writable sret(%"class.HIR::ItemPath") align 8 %41, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %296)
          to label %297 unwind label %312

297:                                              ; preds = %295
  %298 = load ptr, ptr %37, align 8, !tbaa !5
  %299 = load ptr, ptr %94, align 8, !tbaa !16
  %300 = getelementptr inbounds ptr, ptr %299, i64 8
  %301 = load ptr, ptr %300, align 8
  invoke void %301(ptr noundef nonnull align 8 dereferenceable(16) %94, ptr noundef byval(%"class.HIR::ItemPath") align 8 %41, ptr noundef nonnull align 8 dereferenceable(120) %298)
          to label %302 unwind label %312

302:                                              ; preds = %297
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %38) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %38) #7
  br label %303

303:                                              ; preds = %302
  store i8 0, ptr %36, align 1, !tbaa !9
  br label %279, !llvm.loop !22

304:                                              ; preds = %288
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %11, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %12, align 4
  br label %316

308:                                              ; preds = %290
  %309 = landingpad { ptr, i32 }
          cleanup
  %310 = extractvalue { ptr, i32 } %309, 0
  store ptr %310, ptr %11, align 8
  %311 = extractvalue { ptr, i32 } %309, 1
  store i32 %311, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  br label %316

312:                                              ; preds = %297, %295
  %313 = landingpad { ptr, i32 }
          cleanup
  %314 = extractvalue { ptr, i32 } %313, 0
  store ptr %314, ptr %11, align 8
  %315 = extractvalue { ptr, i32 } %313, 1
  store i32 %315, ptr %12, align 4
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %38) #7
  br label %316

316:                                              ; preds = %312, %308, %304
  call void @llvm.lifetime.end.p0(i64 40, ptr %38) #7
  br label %317

317:                                              ; preds = %316, %284
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #7
  br label %567

318:                                              ; preds = %283
  br label %319

319:                                              ; preds = %318
  store i8 0, ptr %36, align 1, !tbaa !9
  br label %271, !llvm.loop !23

320:                                              ; preds = %274
  br label %565

321:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #7
  store i8 1, ptr %42, align 1, !tbaa !9
  br label %322

322:                                              ; preds = %359, %321
  %323 = load i8, ptr %42, align 1, !tbaa !9, !range !11, !noundef !12
  %324 = trunc i8 %323 to i1
  br i1 %324, label %326, label %325

325:                                              ; preds = %322
  store i32 35, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #7
  br label %360

326:                                              ; preds = %322
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #7
  %327 = load ptr, ptr %21, align 8, !tbaa !5
  %328 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN3HIR8TypeItem13as_ExternTypeEv(ptr noundef nonnull align 8 dereferenceable(408) %327)
          to label %329 unwind label %335

329:                                              ; preds = %326
  store ptr %328, ptr %43, align 8, !tbaa !5
  br label %330

330:                                              ; preds = %347, %329
  %331 = load ptr, ptr %43, align 8, !tbaa !5
  %332 = load i8, ptr %42, align 1, !tbaa !9, !range !11, !noundef !12
  %333 = trunc i8 %332 to i1
  br i1 %333, label %339, label %334

334:                                              ; preds = %330
  store i32 38, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  br label %358

335:                                              ; preds = %326
  %336 = landingpad { ptr, i32 }
          cleanup
  %337 = extractvalue { ptr, i32 } %336, 0
  store ptr %337, ptr %11, align 8
  %338 = extractvalue { ptr, i32 } %336, 1
  store i32 %338, ptr %12, align 4
  br label %357

339:                                              ; preds = %330
  call void @llvm.lifetime.start.p0(i64 40, ptr %44) #7
  %340 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %341 unwind label %348

341:                                              ; preds = %339
  %342 = zext i1 %340 to i64
  %343 = select i1 %340, ptr @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #7
  %344 = getelementptr inbounds %class.anon.296, ptr %46, i32 0, i32 0
  %345 = load ptr, ptr %18, align 8, !tbaa !5
  store ptr %345, ptr %344, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor12visit_moduleENS4_8ItemPathERNS4_6ModuleEE3$_5vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(8) %46) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %44, ptr noundef %343, ptr noundef %45)
          to label %346 unwind label %352

346:                                              ; preds = %341
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #7
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %44) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %44) #7
  br label %347

347:                                              ; preds = %346
  store i8 0, ptr %42, align 1, !tbaa !9
  br label %330, !llvm.loop !24

348:                                              ; preds = %339
  %349 = landingpad { ptr, i32 }
          cleanup
  %350 = extractvalue { ptr, i32 } %349, 0
  store ptr %350, ptr %11, align 8
  %351 = extractvalue { ptr, i32 } %349, 1
  store i32 %351, ptr %12, align 4
  br label %356

352:                                              ; preds = %341
  %353 = landingpad { ptr, i32 }
          cleanup
  %354 = extractvalue { ptr, i32 } %353, 0
  store ptr %354, ptr %11, align 8
  %355 = extractvalue { ptr, i32 } %353, 1
  store i32 %355, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #7
  br label %356

356:                                              ; preds = %352, %348
  call void @llvm.lifetime.end.p0(i64 40, ptr %44) #7
  br label %357

357:                                              ; preds = %356, %335
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #7
  br label %567

358:                                              ; preds = %334
  br label %359

359:                                              ; preds = %358
  store i8 0, ptr %42, align 1, !tbaa !9
  br label %322, !llvm.loop !25

360:                                              ; preds = %325
  br label %565

361:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 1, ptr %47) #7
  store i8 1, ptr %47, align 1, !tbaa !9
  br label %362

362:                                              ; preds = %410, %361
  %363 = load i8, ptr %47, align 1, !tbaa !9, !range !11, !noundef !12
  %364 = trunc i8 %363 to i1
  br i1 %364, label %366, label %365

365:                                              ; preds = %362
  store i32 41, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #7
  br label %411

366:                                              ; preds = %362
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #7
  %367 = load ptr, ptr %21, align 8, !tbaa !5
  %368 = invoke noundef nonnull align 8 dereferenceable(200) ptr @_ZN3HIR8TypeItem7as_EnumEv(ptr noundef nonnull align 8 dereferenceable(408) %367)
          to label %369 unwind label %375

369:                                              ; preds = %366
  store ptr %368, ptr %48, align 8, !tbaa !5
  br label %370

370:                                              ; preds = %394, %369
  %371 = load ptr, ptr %48, align 8, !tbaa !5
  %372 = load i8, ptr %47, align 1, !tbaa !9, !range !11, !noundef !12
  %373 = trunc i8 %372 to i1
  br i1 %373, label %379, label %374

374:                                              ; preds = %370
  store i32 44, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #7
  br label %409

375:                                              ; preds = %366
  %376 = landingpad { ptr, i32 }
          cleanup
  %377 = extractvalue { ptr, i32 } %376, 0
  store ptr %377, ptr %11, align 8
  %378 = extractvalue { ptr, i32 } %376, 1
  store i32 %378, ptr %12, align 4
  br label %408

379:                                              ; preds = %370
  call void @llvm.lifetime.start.p0(i64 40, ptr %49) #7
  %380 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %381 unwind label %395

381:                                              ; preds = %379
  %382 = zext i1 %380 to i64
  %383 = select i1 %380, ptr @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #7
  %384 = getelementptr inbounds %class.anon.297, ptr %51, i32 0, i32 0
  %385 = load ptr, ptr %18, align 8, !tbaa !5
  store ptr %385, ptr %384, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor12visit_moduleENS4_8ItemPathERNS4_6ModuleEE3$_6vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %50, ptr noundef nonnull align 8 dereferenceable(8) %51) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %49, ptr noundef %383, ptr noundef %50)
          to label %386 unwind label %399

386:                                              ; preds = %381
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #7
  %387 = load ptr, ptr %18, align 8, !tbaa !5
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind writable sret(%"class.HIR::ItemPath") align 8 %52, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %387)
          to label %388 unwind label %403

388:                                              ; preds = %386
  %389 = load ptr, ptr %48, align 8, !tbaa !5
  %390 = load ptr, ptr %94, align 8, !tbaa !16
  %391 = getelementptr inbounds ptr, ptr %390, i64 11
  %392 = load ptr, ptr %391, align 8
  invoke void %392(ptr noundef nonnull align 8 dereferenceable(16) %94, ptr noundef byval(%"class.HIR::ItemPath") align 8 %52, ptr noundef nonnull align 8 dereferenceable(200) %389)
          to label %393 unwind label %403

393:                                              ; preds = %388
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %49) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %49) #7
  br label %394

394:                                              ; preds = %393
  store i8 0, ptr %47, align 1, !tbaa !9
  br label %370, !llvm.loop !26

395:                                              ; preds = %379
  %396 = landingpad { ptr, i32 }
          cleanup
  %397 = extractvalue { ptr, i32 } %396, 0
  store ptr %397, ptr %11, align 8
  %398 = extractvalue { ptr, i32 } %396, 1
  store i32 %398, ptr %12, align 4
  br label %407

399:                                              ; preds = %381
  %400 = landingpad { ptr, i32 }
          cleanup
  %401 = extractvalue { ptr, i32 } %400, 0
  store ptr %401, ptr %11, align 8
  %402 = extractvalue { ptr, i32 } %400, 1
  store i32 %402, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #7
  br label %407

403:                                              ; preds = %388, %386
  %404 = landingpad { ptr, i32 }
          cleanup
  %405 = extractvalue { ptr, i32 } %404, 0
  store ptr %405, ptr %11, align 8
  %406 = extractvalue { ptr, i32 } %404, 1
  store i32 %406, ptr %12, align 4
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %49) #7
  br label %407

407:                                              ; preds = %403, %399, %395
  call void @llvm.lifetime.end.p0(i64 40, ptr %49) #7
  br label %408

408:                                              ; preds = %407, %375
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #7
  br label %567

409:                                              ; preds = %374
  br label %410

410:                                              ; preds = %409
  store i8 0, ptr %47, align 1, !tbaa !9
  br label %362, !llvm.loop !27

411:                                              ; preds = %365
  br label %565

412:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 1, ptr %53) #7
  store i8 1, ptr %53, align 1, !tbaa !9
  br label %413

413:                                              ; preds = %461, %412
  %414 = load i8, ptr %53, align 1, !tbaa !9, !range !11, !noundef !12
  %415 = trunc i8 %414 to i1
  br i1 %415, label %417, label %416

416:                                              ; preds = %413
  store i32 47, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #7
  br label %462

417:                                              ; preds = %413
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #7
  %418 = load ptr, ptr %21, align 8, !tbaa !5
  %419 = invoke noundef nonnull align 8 dereferenceable(252) ptr @_ZN3HIR8TypeItem9as_StructEv(ptr noundef nonnull align 8 dereferenceable(408) %418)
          to label %420 unwind label %426

420:                                              ; preds = %417
  store ptr %419, ptr %54, align 8, !tbaa !5
  br label %421

421:                                              ; preds = %445, %420
  %422 = load ptr, ptr %54, align 8, !tbaa !5
  %423 = load i8, ptr %53, align 1, !tbaa !9, !range !11, !noundef !12
  %424 = trunc i8 %423 to i1
  br i1 %424, label %430, label %425

425:                                              ; preds = %421
  store i32 50, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #7
  br label %460

426:                                              ; preds = %417
  %427 = landingpad { ptr, i32 }
          cleanup
  %428 = extractvalue { ptr, i32 } %427, 0
  store ptr %428, ptr %11, align 8
  %429 = extractvalue { ptr, i32 } %427, 1
  store i32 %429, ptr %12, align 4
  br label %459

430:                                              ; preds = %421
  call void @llvm.lifetime.start.p0(i64 40, ptr %55) #7
  %431 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %432 unwind label %446

432:                                              ; preds = %430
  %433 = zext i1 %431 to i64
  %434 = select i1 %431, ptr @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #7
  %435 = getelementptr inbounds %class.anon.298, ptr %57, i32 0, i32 0
  %436 = load ptr, ptr %18, align 8, !tbaa !5
  store ptr %436, ptr %435, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor12visit_moduleENS4_8ItemPathERNS4_6ModuleEE3$_7vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %56, ptr noundef nonnull align 8 dereferenceable(8) %57) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %55, ptr noundef %434, ptr noundef %56)
          to label %437 unwind label %450

437:                                              ; preds = %432
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #7
  %438 = load ptr, ptr %18, align 8, !tbaa !5
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind writable sret(%"class.HIR::ItemPath") align 8 %58, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %438)
          to label %439 unwind label %454

439:                                              ; preds = %437
  %440 = load ptr, ptr %54, align 8, !tbaa !5
  %441 = load ptr, ptr %94, align 8, !tbaa !16
  %442 = getelementptr inbounds ptr, ptr %441, i64 10
  %443 = load ptr, ptr %442, align 8
  invoke void %443(ptr noundef nonnull align 8 dereferenceable(16) %94, ptr noundef byval(%"class.HIR::ItemPath") align 8 %58, ptr noundef nonnull align 8 dereferenceable(252) %440)
          to label %444 unwind label %454

444:                                              ; preds = %439
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %55) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %55) #7
  br label %445

445:                                              ; preds = %444
  store i8 0, ptr %53, align 1, !tbaa !9
  br label %421, !llvm.loop !28

446:                                              ; preds = %430
  %447 = landingpad { ptr, i32 }
          cleanup
  %448 = extractvalue { ptr, i32 } %447, 0
  store ptr %448, ptr %11, align 8
  %449 = extractvalue { ptr, i32 } %447, 1
  store i32 %449, ptr %12, align 4
  br label %458

450:                                              ; preds = %432
  %451 = landingpad { ptr, i32 }
          cleanup
  %452 = extractvalue { ptr, i32 } %451, 0
  store ptr %452, ptr %11, align 8
  %453 = extractvalue { ptr, i32 } %451, 1
  store i32 %453, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #7
  br label %458

454:                                              ; preds = %439, %437
  %455 = landingpad { ptr, i32 }
          cleanup
  %456 = extractvalue { ptr, i32 } %455, 0
  store ptr %456, ptr %11, align 8
  %457 = extractvalue { ptr, i32 } %455, 1
  store i32 %457, ptr %12, align 4
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %55) #7
  br label %458

458:                                              ; preds = %454, %450, %446
  call void @llvm.lifetime.end.p0(i64 40, ptr %55) #7
  br label %459

459:                                              ; preds = %458, %426
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #7
  br label %567

460:                                              ; preds = %425
  br label %461

461:                                              ; preds = %460
  store i8 0, ptr %53, align 1, !tbaa !9
  br label %413, !llvm.loop !29

462:                                              ; preds = %416
  br label %565

463:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 1, ptr %59) #7
  store i8 1, ptr %59, align 1, !tbaa !9
  br label %464

464:                                              ; preds = %512, %463
  %465 = load i8, ptr %59, align 1, !tbaa !9, !range !11, !noundef !12
  %466 = trunc i8 %465 to i1
  br i1 %466, label %468, label %467

467:                                              ; preds = %464
  store i32 53, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %59) #7
  br label %513

468:                                              ; preds = %464
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #7
  %469 = load ptr, ptr %21, align 8, !tbaa !5
  %470 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZN3HIR8TypeItem8as_UnionEv(ptr noundef nonnull align 8 dereferenceable(408) %469)
          to label %471 unwind label %477

471:                                              ; preds = %468
  store ptr %470, ptr %60, align 8, !tbaa !5
  br label %472

472:                                              ; preds = %496, %471
  %473 = load ptr, ptr %60, align 8, !tbaa !5
  %474 = load i8, ptr %59, align 1, !tbaa !9, !range !11, !noundef !12
  %475 = trunc i8 %474 to i1
  br i1 %475, label %481, label %476

476:                                              ; preds = %472
  store i32 56, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #7
  br label %511

477:                                              ; preds = %468
  %478 = landingpad { ptr, i32 }
          cleanup
  %479 = extractvalue { ptr, i32 } %478, 0
  store ptr %479, ptr %11, align 8
  %480 = extractvalue { ptr, i32 } %478, 1
  store i32 %480, ptr %12, align 4
  br label %510

481:                                              ; preds = %472
  call void @llvm.lifetime.start.p0(i64 40, ptr %61) #7
  %482 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %483 unwind label %497

483:                                              ; preds = %481
  %484 = zext i1 %482 to i64
  %485 = select i1 %482, ptr @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #7
  %486 = getelementptr inbounds %class.anon.299, ptr %63, i32 0, i32 0
  %487 = load ptr, ptr %18, align 8, !tbaa !5
  store ptr %487, ptr %486, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor12visit_moduleENS4_8ItemPathERNS4_6ModuleEE3$_8vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %62, ptr noundef nonnull align 8 dereferenceable(8) %63) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %61, ptr noundef %485, ptr noundef %62)
          to label %488 unwind label %501

488:                                              ; preds = %483
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #7
  %489 = load ptr, ptr %18, align 8, !tbaa !5
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind writable sret(%"class.HIR::ItemPath") align 8 %64, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %489)
          to label %490 unwind label %505

490:                                              ; preds = %488
  %491 = load ptr, ptr %60, align 8, !tbaa !5
  %492 = load ptr, ptr %94, align 8, !tbaa !16
  %493 = getelementptr inbounds ptr, ptr %492, i64 12
  %494 = load ptr, ptr %493, align 8
  invoke void %494(ptr noundef nonnull align 8 dereferenceable(16) %94, ptr noundef byval(%"class.HIR::ItemPath") align 8 %64, ptr noundef nonnull align 8 dereferenceable(184) %491)
          to label %495 unwind label %505

495:                                              ; preds = %490
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %61) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %61) #7
  br label %496

496:                                              ; preds = %495
  store i8 0, ptr %59, align 1, !tbaa !9
  br label %472, !llvm.loop !30

497:                                              ; preds = %481
  %498 = landingpad { ptr, i32 }
          cleanup
  %499 = extractvalue { ptr, i32 } %498, 0
  store ptr %499, ptr %11, align 8
  %500 = extractvalue { ptr, i32 } %498, 1
  store i32 %500, ptr %12, align 4
  br label %509

501:                                              ; preds = %483
  %502 = landingpad { ptr, i32 }
          cleanup
  %503 = extractvalue { ptr, i32 } %502, 0
  store ptr %503, ptr %11, align 8
  %504 = extractvalue { ptr, i32 } %502, 1
  store i32 %504, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #7
  br label %509

505:                                              ; preds = %490, %488
  %506 = landingpad { ptr, i32 }
          cleanup
  %507 = extractvalue { ptr, i32 } %506, 0
  store ptr %507, ptr %11, align 8
  %508 = extractvalue { ptr, i32 } %506, 1
  store i32 %508, ptr %12, align 4
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %61) #7
  br label %509

509:                                              ; preds = %505, %501, %497
  call void @llvm.lifetime.end.p0(i64 40, ptr %61) #7
  br label %510

510:                                              ; preds = %509, %477
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %59) #7
  br label %567

511:                                              ; preds = %476
  br label %512

512:                                              ; preds = %511
  store i8 0, ptr %59, align 1, !tbaa !9
  br label %464, !llvm.loop !31

513:                                              ; preds = %467
  br label %565

514:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 1, ptr %65) #7
  store i8 1, ptr %65, align 1, !tbaa !9
  br label %515

515:                                              ; preds = %563, %514
  %516 = load i8, ptr %65, align 1, !tbaa !9, !range !11, !noundef !12
  %517 = trunc i8 %516 to i1
  br i1 %517, label %519, label %518

518:                                              ; preds = %515
  store i32 59, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %65) #7
  br label %564

519:                                              ; preds = %515
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #7
  %520 = load ptr, ptr %21, align 8, !tbaa !5
  %521 = invoke noundef nonnull align 8 dereferenceable(400) ptr @_ZN3HIR8TypeItem8as_TraitEv(ptr noundef nonnull align 8 dereferenceable(408) %520)
          to label %522 unwind label %528

522:                                              ; preds = %519
  store ptr %521, ptr %66, align 8, !tbaa !5
  br label %523

523:                                              ; preds = %547, %522
  %524 = load ptr, ptr %66, align 8, !tbaa !5
  %525 = load i8, ptr %65, align 1, !tbaa !9, !range !11, !noundef !12
  %526 = trunc i8 %525 to i1
  br i1 %526, label %532, label %527

527:                                              ; preds = %523
  store i32 62, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #7
  br label %562

528:                                              ; preds = %519
  %529 = landingpad { ptr, i32 }
          cleanup
  %530 = extractvalue { ptr, i32 } %529, 0
  store ptr %530, ptr %11, align 8
  %531 = extractvalue { ptr, i32 } %529, 1
  store i32 %531, ptr %12, align 4
  br label %561

532:                                              ; preds = %523
  call void @llvm.lifetime.start.p0(i64 40, ptr %67) #7
  %533 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %534 unwind label %548

534:                                              ; preds = %532
  %535 = zext i1 %533 to i64
  %536 = select i1 %533, ptr @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #7
  %537 = getelementptr inbounds %class.anon.300, ptr %69, i32 0, i32 0
  %538 = load ptr, ptr %18, align 8, !tbaa !5
  store ptr %538, ptr %537, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor12visit_moduleENS4_8ItemPathERNS4_6ModuleEE3$_9vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %68, ptr noundef nonnull align 8 dereferenceable(8) %69) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %67, ptr noundef %536, ptr noundef %68)
          to label %539 unwind label %552

539:                                              ; preds = %534
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #7
  %540 = load ptr, ptr %18, align 8, !tbaa !5
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind writable sret(%"class.HIR::ItemPath") align 8 %70, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %540)
          to label %541 unwind label %556

541:                                              ; preds = %539
  %542 = load ptr, ptr %66, align 8, !tbaa !5
  %543 = load ptr, ptr %94, align 8, !tbaa !16
  %544 = getelementptr inbounds ptr, ptr %543, i64 9
  %545 = load ptr, ptr %544, align 8
  invoke void %545(ptr noundef nonnull align 8 dereferenceable(16) %94, ptr noundef byval(%"class.HIR::ItemPath") align 8 %70, ptr noundef nonnull align 8 dereferenceable(400) %542)
          to label %546 unwind label %556

546:                                              ; preds = %541
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %67) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %67) #7
  br label %547

547:                                              ; preds = %546
  store i8 0, ptr %65, align 1, !tbaa !9
  br label %523, !llvm.loop !32

548:                                              ; preds = %532
  %549 = landingpad { ptr, i32 }
          cleanup
  %550 = extractvalue { ptr, i32 } %549, 0
  store ptr %550, ptr %11, align 8
  %551 = extractvalue { ptr, i32 } %549, 1
  store i32 %551, ptr %12, align 4
  br label %560

552:                                              ; preds = %534
  %553 = landingpad { ptr, i32 }
          cleanup
  %554 = extractvalue { ptr, i32 } %553, 0
  store ptr %554, ptr %11, align 8
  %555 = extractvalue { ptr, i32 } %553, 1
  store i32 %555, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #7
  br label %560

556:                                              ; preds = %541, %539
  %557 = landingpad { ptr, i32 }
          cleanup
  %558 = extractvalue { ptr, i32 } %557, 0
  store ptr %558, ptr %11, align 8
  %559 = extractvalue { ptr, i32 } %557, 1
  store i32 %559, ptr %12, align 4
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %67) #7
  br label %560

560:                                              ; preds = %556, %552, %548
  call void @llvm.lifetime.end.p0(i64 40, ptr %67) #7
  br label %561

561:                                              ; preds = %560, %528
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %65) #7
  br label %567

562:                                              ; preds = %527
  br label %563

563:                                              ; preds = %562
  store i8 0, ptr %65, align 1, !tbaa !9
  br label %515, !llvm.loop !33

564:                                              ; preds = %518
  br label %565

565:                                              ; preds = %564, %513, %462, %411, %360, %320, %269, %218, %167, %139
  br label %566

566:                                              ; preds = %565
  store i8 0, ptr %20, align 1, !tbaa !9
  br label %132, !llvm.loop !34

567:                                              ; preds = %561, %510, %459, %408, %357, %317, %266, %215, %159, %140
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #7
  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 %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %839

568:                                              ; preds = %135
  br label %569

569:                                              ; preds = %568
  store i8 0, ptr %20, align 1, !tbaa !9
  br label %126, !llvm.loop !35

570:                                              ; preds = %129
  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
  br label %571

571:                                              ; preds = %570
  %572 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIK8RcStringSt10unique_ptrIN3HIR6VisEntINS5_8TypeItemEEESt14default_deleteIS8_EEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  br label %111

573:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #7
  %574 = load ptr, ptr %5, align 8, !tbaa !5
  %575 = getelementptr inbounds %"class.HIR::Module", ptr %574, i32 0, i32 1
  store ptr %575, ptr %71, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #7
  %576 = load ptr, ptr %71, align 8, !tbaa !5
  %577 = call ptr @_ZNSt13unordered_mapI8RcStringSt10unique_ptrIN3HIR6VisEntINS2_9ValueItemEEESt14default_deleteIS5_EESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %576) #7
  %578 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.301", ptr %72, i32 0, i32 0
  %579 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.302", ptr %578, i32 0, i32 0
  store ptr %577, ptr %579, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #7
  %580 = load ptr, ptr %71, align 8, !tbaa !5
  %581 = call ptr @_ZNSt13unordered_mapI8RcStringSt10unique_ptrIN3HIR6VisEntINS2_9ValueItemEEESt14default_deleteIS5_EESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %580) #7
  %582 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.301", ptr %73, i32 0, i32 0
  %583 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.302", ptr %582, i32 0, i32 0
  store ptr %581, ptr %583, align 8
  br label %584

584:                                              ; preds = %836, %573
  %585 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringSt10unique_ptrIN3HIR6VisEntINS5_9ValueItemEEESt14default_deleteIS8_EEELb0EEESF_(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef nonnull align 8 dereferenceable(8) %73) #7
  br i1 %585, label %587, label %586

586:                                              ; preds = %584
  store i32 65, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #7
  br label %838

587:                                              ; preds = %584
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #7
  %588 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIK8RcStringSt10unique_ptrIN3HIR6VisEntINS5_9ValueItemEEESt14default_deleteIS8_EEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %72) #7
  store ptr %588, ptr %74, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #7
  %589 = load ptr, ptr %74, align 8, !tbaa !5
  %590 = getelementptr inbounds %"struct.std::pair.303", ptr %589, i32 0, i32 0
  store ptr %590, ptr %75, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #7
  %591 = load ptr, ptr %74, align 8, !tbaa !5
  %592 = getelementptr inbounds %"struct.std::pair.303", ptr %591, i32 0, i32 1
  %593 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR6VisEntINS0_9ValueItemEEESt14default_deleteIS3_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %592) #7
  %594 = getelementptr inbounds %"struct.HIR::VisEnt.313", ptr %593, i32 0, i32 1
  store ptr %594, ptr %76, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %77) #7
  store i8 1, ptr %77, align 1, !tbaa !9
  br label %595

595:                                              ; preds = %834, %587
  %596 = load i8, ptr %77, align 1, !tbaa !9, !range !11, !noundef !12
  %597 = trunc i8 %596 to i1
  br i1 %597, label %599, label %598

598:                                              ; preds = %595
  store i32 67, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %77) #7
  br label %835

599:                                              ; preds = %595
  call void @llvm.lifetime.start.p0(i64 8, ptr %78) #7
  %600 = load ptr, ptr %76, align 8, !tbaa !5
  store ptr %600, ptr %78, align 8, !tbaa !5
  br label %601

601:                                              ; preds = %831, %599
  %602 = load i8, ptr %77, align 1, !tbaa !9, !range !11, !noundef !12
  %603 = trunc i8 %602 to i1
  br i1 %603, label %605, label %604

604:                                              ; preds = %601
  store i32 70, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #7
  br label %833

605:                                              ; preds = %601
  %606 = load ptr, ptr %78, align 8, !tbaa !5
  %607 = invoke noundef i32 @_ZNK3HIR9ValueItem3tagEv(ptr noundef nonnull align 8 dereferenceable(368) %606)
          to label %608 unwind label %609

608:                                              ; preds = %605
  switch i32 %607, label %830 [
    i32 0, label %613
    i32 1, label %614
    i32 2, label %637
    i32 3, label %686
    i32 4, label %735
    i32 5, label %758
    i32 6, label %807
  ]

609:                                              ; preds = %605
  %610 = landingpad { ptr, i32 }
          cleanup
  %611 = extractvalue { ptr, i32 } %610, 0
  store ptr %611, ptr %11, align 8
  %612 = extractvalue { ptr, i32 } %610, 1
  store i32 %612, ptr %12, align 4
  br label %832

613:                                              ; preds = %608
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 98, ptr noundef @__PRETTY_FUNCTION__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE) #8
  unreachable

614:                                              ; preds = %608
  call void @llvm.lifetime.start.p0(i64 1, ptr %79) #7
  store i8 1, ptr %79, align 1, !tbaa !9
  br label %615

615:                                              ; preds = %635, %614
  %616 = load i8, ptr %79, align 1, !tbaa !9, !range !11, !noundef !12
  %617 = trunc i8 %616 to i1
  br i1 %617, label %619, label %618

618:                                              ; preds = %615
  store i32 74, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %79) #7
  br label %636

619:                                              ; preds = %615
  call void @llvm.lifetime.start.p0(i64 8, ptr %80) #7
  %620 = load ptr, ptr %78, align 8, !tbaa !5
  %621 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN3HIR9ValueItem9as_ImportEv(ptr noundef nonnull align 8 dereferenceable(368) %620)
          to label %622 unwind label %628

622:                                              ; preds = %619
  store ptr %621, ptr %80, align 8, !tbaa !5
  br label %623

623:                                              ; preds = %633, %622
  %624 = load ptr, ptr %80, align 8, !tbaa !5
  %625 = load i8, ptr %79, align 1, !tbaa !9, !range !11, !noundef !12
  %626 = trunc i8 %625 to i1
  br i1 %626, label %632, label %627

627:                                              ; preds = %623
  store i32 77, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %80) #7
  br label %634

628:                                              ; preds = %619
  %629 = landingpad { ptr, i32 }
          cleanup
  %630 = extractvalue { ptr, i32 } %629, 0
  store ptr %630, ptr %11, align 8
  %631 = extractvalue { ptr, i32 } %629, 1
  store i32 %631, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %80) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %79) #7
  br label %832

632:                                              ; preds = %623
  br label %633

633:                                              ; preds = %632
  store i8 0, ptr %79, align 1, !tbaa !9
  br label %623, !llvm.loop !36

634:                                              ; preds = %627
  br label %635

635:                                              ; preds = %634
  store i8 0, ptr %79, align 1, !tbaa !9
  br label %615, !llvm.loop !37

636:                                              ; preds = %618
  br label %830

637:                                              ; preds = %608
  call void @llvm.lifetime.start.p0(i64 1, ptr %81) #7
  store i8 1, ptr %81, align 1, !tbaa !9
  br label %638

638:                                              ; preds = %684, %637
  %639 = load i8, ptr %81, align 1, !tbaa !9, !range !11, !noundef !12
  %640 = trunc i8 %639 to i1
  br i1 %640, label %642, label %641

641:                                              ; preds = %638
  store i32 80, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %81) #7
  br label %685

642:                                              ; preds = %638
  call void @llvm.lifetime.start.p0(i64 8, ptr %82) #7
  %643 = load ptr, ptr %78, align 8, !tbaa !5
  %644 = invoke noundef nonnull align 8 dereferenceable(280) ptr @_ZN3HIR9ValueItem11as_ConstantEv(ptr noundef nonnull align 8 dereferenceable(368) %643)
          to label %645 unwind label %651

645:                                              ; preds = %642
  store ptr %644, ptr %82, align 8, !tbaa !5
  br label %646

646:                                              ; preds = %682, %645
  %647 = load ptr, ptr %82, align 8, !tbaa !5
  %648 = load i8, ptr %81, align 1, !tbaa !9, !range !11, !noundef !12
  %649 = trunc i8 %648 to i1
  br i1 %649, label %655, label %650

650:                                              ; preds = %646
  store i32 83, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #7
  br label %683

651:                                              ; preds = %676, %674, %669, %667, %664, %662, %659, %656, %642
  %652 = landingpad { ptr, i32 }
          cleanup
  %653 = extractvalue { ptr, i32 } %652, 0
  store ptr %653, ptr %11, align 8
  %654 = extractvalue { ptr, i32 } %652, 1
  store i32 %654, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %81) #7
  br label %832

655:                                              ; preds = %646
  br label %656

656:                                              ; preds = %655
  %657 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %658 unwind label %651

658:                                              ; preds = %656
  br i1 %657, label %659, label %672

659:                                              ; preds = %658
  %660 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !38
  %661 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %660, ptr noundef @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE)
          to label %662 unwind label %651

662:                                              ; preds = %659
  %663 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %661, ptr noundef @.str.2)
          to label %664 unwind label %651

664:                                              ; preds = %662
  %665 = load ptr, ptr %75, align 8, !tbaa !5
  %666 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %663, ptr noundef nonnull align 8 dereferenceable(8) %665)
          to label %667 unwind label %651

667:                                              ; preds = %664
  %668 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %666, ptr noundef @_ZSt3decRSt8ios_base)
          to label %669 unwind label %651

669:                                              ; preds = %667
  %670 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %668, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %671 unwind label %651

671:                                              ; preds = %669
  br label %672

672:                                              ; preds = %671, %658
  br label %673

673:                                              ; preds = %672
  br label %674

674:                                              ; preds = %673
  %675 = load ptr, ptr %75, align 8, !tbaa !5
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind writable sret(%"class.HIR::ItemPath") align 8 %83, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %675)
          to label %676 unwind label %651

676:                                              ; preds = %674
  %677 = load ptr, ptr %82, align 8, !tbaa !5
  %678 = load ptr, ptr %94, align 8, !tbaa !16
  %679 = getelementptr inbounds ptr, ptr %678, i64 16
  %680 = load ptr, ptr %679, align 8
  invoke void %680(ptr noundef nonnull align 8 dereferenceable(16) %94, ptr noundef byval(%"class.HIR::ItemPath") align 8 %83, ptr noundef nonnull align 8 dereferenceable(280) %677)
          to label %681 unwind label %651

681:                                              ; preds = %676
  br label %682

682:                                              ; preds = %681
  store i8 0, ptr %81, align 1, !tbaa !9
  br label %646, !llvm.loop !40

683:                                              ; preds = %650
  br label %684

684:                                              ; preds = %683
  store i8 0, ptr %81, align 1, !tbaa !9
  br label %638, !llvm.loop !41

685:                                              ; preds = %641
  br label %830

686:                                              ; preds = %608
  call void @llvm.lifetime.start.p0(i64 1, ptr %84) #7
  store i8 1, ptr %84, align 1, !tbaa !9
  br label %687

687:                                              ; preds = %733, %686
  %688 = load i8, ptr %84, align 1, !tbaa !9, !range !11, !noundef !12
  %689 = trunc i8 %688 to i1
  br i1 %689, label %691, label %690

690:                                              ; preds = %687
  store i32 88, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %84) #7
  br label %734

691:                                              ; preds = %687
  call void @llvm.lifetime.start.p0(i64 8, ptr %85) #7
  %692 = load ptr, ptr %78, align 8, !tbaa !5
  %693 = invoke noundef nonnull align 8 dereferenceable(360) ptr @_ZN3HIR9ValueItem9as_StaticEv(ptr noundef nonnull align 8 dereferenceable(368) %692)
          to label %694 unwind label %700

694:                                              ; preds = %691
  store ptr %693, ptr %85, align 8, !tbaa !5
  br label %695

695:                                              ; preds = %731, %694
  %696 = load ptr, ptr %85, align 8, !tbaa !5
  %697 = load i8, ptr %84, align 1, !tbaa !9, !range !11, !noundef !12
  %698 = trunc i8 %697 to i1
  br i1 %698, label %704, label %699

699:                                              ; preds = %695
  store i32 91, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %85) #7
  br label %732

700:                                              ; preds = %725, %723, %718, %716, %713, %711, %708, %705, %691
  %701 = landingpad { ptr, i32 }
          cleanup
  %702 = extractvalue { ptr, i32 } %701, 0
  store ptr %702, ptr %11, align 8
  %703 = extractvalue { ptr, i32 } %701, 1
  store i32 %703, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %85) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %84) #7
  br label %832

704:                                              ; preds = %695
  br label %705

705:                                              ; preds = %704
  %706 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %707 unwind label %700

707:                                              ; preds = %705
  br i1 %706, label %708, label %721

708:                                              ; preds = %707
  %709 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !38
  %710 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %709, ptr noundef @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE)
          to label %711 unwind label %700

711:                                              ; preds = %708
  %712 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %710, ptr noundef @.str.3)
          to label %713 unwind label %700

713:                                              ; preds = %711
  %714 = load ptr, ptr %75, align 8, !tbaa !5
  %715 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %712, ptr noundef nonnull align 8 dereferenceable(8) %714)
          to label %716 unwind label %700

716:                                              ; preds = %713
  %717 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %715, ptr noundef @_ZSt3decRSt8ios_base)
          to label %718 unwind label %700

718:                                              ; preds = %716
  %719 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %717, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %720 unwind label %700

720:                                              ; preds = %718
  br label %721

721:                                              ; preds = %720, %707
  br label %722

722:                                              ; preds = %721
  br label %723

723:                                              ; preds = %722
  %724 = load ptr, ptr %75, align 8, !tbaa !5
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind writable sret(%"class.HIR::ItemPath") align 8 %86, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %724)
          to label %725 unwind label %700

725:                                              ; preds = %723
  %726 = load ptr, ptr %85, align 8, !tbaa !5
  %727 = load ptr, ptr %94, align 8, !tbaa !16
  %728 = getelementptr inbounds ptr, ptr %727, i64 15
  %729 = load ptr, ptr %728, align 8
  invoke void %729(ptr noundef nonnull align 8 dereferenceable(16) %94, ptr noundef byval(%"class.HIR::ItemPath") align 8 %86, ptr noundef nonnull align 8 dereferenceable(360) %726)
          to label %730 unwind label %700

730:                                              ; preds = %725
  br label %731

731:                                              ; preds = %730
  store i8 0, ptr %84, align 1, !tbaa !9
  br label %695, !llvm.loop !42

732:                                              ; preds = %699
  br label %733

733:                                              ; preds = %732
  store i8 0, ptr %84, align 1, !tbaa !9
  br label %687, !llvm.loop !43

734:                                              ; preds = %690
  br label %830

735:                                              ; preds = %608
  call void @llvm.lifetime.start.p0(i64 1, ptr %87) #7
  store i8 1, ptr %87, align 1, !tbaa !9
  br label %736

736:                                              ; preds = %756, %735
  %737 = load i8, ptr %87, align 1, !tbaa !9, !range !11, !noundef !12
  %738 = trunc i8 %737 to i1
  br i1 %738, label %740, label %739

739:                                              ; preds = %736
  store i32 96, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %87) #7
  br label %757

740:                                              ; preds = %736
  call void @llvm.lifetime.start.p0(i64 8, ptr %88) #7
  %741 = load ptr, ptr %78, align 8, !tbaa !5
  %742 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR9ValueItem17as_StructConstantEv(ptr noundef nonnull align 8 dereferenceable(368) %741)
          to label %743 unwind label %749

743:                                              ; preds = %740
  store ptr %742, ptr %88, align 8, !tbaa !5
  br label %744

744:                                              ; preds = %754, %743
  %745 = load ptr, ptr %88, align 8, !tbaa !5
  %746 = load i8, ptr %87, align 1, !tbaa !9, !range !11, !noundef !12
  %747 = trunc i8 %746 to i1
  br i1 %747, label %753, label %748

748:                                              ; preds = %744
  store i32 99, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %88) #7
  br label %755

749:                                              ; preds = %740
  %750 = landingpad { ptr, i32 }
          cleanup
  %751 = extractvalue { ptr, i32 } %750, 0
  store ptr %751, ptr %11, align 8
  %752 = extractvalue { ptr, i32 } %750, 1
  store i32 %752, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %88) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %87) #7
  br label %832

753:                                              ; preds = %744
  br label %754

754:                                              ; preds = %753
  store i8 0, ptr %87, align 1, !tbaa !9
  br label %744, !llvm.loop !44

755:                                              ; preds = %748
  br label %756

756:                                              ; preds = %755
  store i8 0, ptr %87, align 1, !tbaa !9
  br label %736, !llvm.loop !45

757:                                              ; preds = %739
  br label %830

758:                                              ; preds = %608
  call void @llvm.lifetime.start.p0(i64 1, ptr %89) #7
  store i8 1, ptr %89, align 1, !tbaa !9
  br label %759

759:                                              ; preds = %805, %758
  %760 = load i8, ptr %89, align 1, !tbaa !9, !range !11, !noundef !12
  %761 = trunc i8 %760 to i1
  br i1 %761, label %763, label %762

762:                                              ; preds = %759
  store i32 102, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %89) #7
  br label %806

763:                                              ; preds = %759
  call void @llvm.lifetime.start.p0(i64 8, ptr %90) #7
  %764 = load ptr, ptr %78, align 8, !tbaa !5
  %765 = invoke noundef nonnull align 8 dereferenceable(352) ptr @_ZN3HIR9ValueItem11as_FunctionEv(ptr noundef nonnull align 8 dereferenceable(368) %764)
          to label %766 unwind label %772

766:                                              ; preds = %763
  store ptr %765, ptr %90, align 8, !tbaa !5
  br label %767

767:                                              ; preds = %803, %766
  %768 = load ptr, ptr %90, align 8, !tbaa !5
  %769 = load i8, ptr %89, align 1, !tbaa !9, !range !11, !noundef !12
  %770 = trunc i8 %769 to i1
  br i1 %770, label %776, label %771

771:                                              ; preds = %767
  store i32 105, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %90) #7
  br label %804

772:                                              ; preds = %797, %795, %790, %788, %785, %783, %780, %777, %763
  %773 = landingpad { ptr, i32 }
          cleanup
  %774 = extractvalue { ptr, i32 } %773, 0
  store ptr %774, ptr %11, align 8
  %775 = extractvalue { ptr, i32 } %773, 1
  store i32 %775, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %90) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %89) #7
  br label %832

776:                                              ; preds = %767
  br label %777

777:                                              ; preds = %776
  %778 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %779 unwind label %772

779:                                              ; preds = %777
  br i1 %778, label %780, label %793

780:                                              ; preds = %779
  %781 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !38
  %782 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %781, ptr noundef @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE)
          to label %783 unwind label %772

783:                                              ; preds = %780
  %784 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %782, ptr noundef @.str.4)
          to label %785 unwind label %772

785:                                              ; preds = %783
  %786 = load ptr, ptr %75, align 8, !tbaa !5
  %787 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %784, ptr noundef nonnull align 8 dereferenceable(8) %786)
          to label %788 unwind label %772

788:                                              ; preds = %785
  %789 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %787, ptr noundef @_ZSt3decRSt8ios_base)
          to label %790 unwind label %772

790:                                              ; preds = %788
  %791 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %789, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %792 unwind label %772

792:                                              ; preds = %790
  br label %793

793:                                              ; preds = %792, %779
  br label %794

794:                                              ; preds = %793
  br label %795

795:                                              ; preds = %794
  %796 = load ptr, ptr %75, align 8, !tbaa !5
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind writable sret(%"class.HIR::ItemPath") align 8 %91, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %796)
          to label %797 unwind label %772

797:                                              ; preds = %795
  %798 = load ptr, ptr %90, align 8, !tbaa !5
  %799 = load ptr, ptr %94, align 8, !tbaa !16
  %800 = getelementptr inbounds ptr, ptr %799, i64 14
  %801 = load ptr, ptr %800, align 8
  invoke void %801(ptr noundef nonnull align 8 dereferenceable(16) %94, ptr noundef byval(%"class.HIR::ItemPath") align 8 %91, ptr noundef nonnull align 8 dereferenceable(352) %798)
          to label %802 unwind label %772

802:                                              ; preds = %797
  br label %803

803:                                              ; preds = %802
  store i8 0, ptr %89, align 1, !tbaa !9
  br label %767, !llvm.loop !46

804:                                              ; preds = %771
  br label %805

805:                                              ; preds = %804
  store i8 0, ptr %89, align 1, !tbaa !9
  br label %759, !llvm.loop !47

806:                                              ; preds = %762
  br label %830

807:                                              ; preds = %608
  call void @llvm.lifetime.start.p0(i64 1, ptr %92) #7
  store i8 1, ptr %92, align 1, !tbaa !9
  br label %808

808:                                              ; preds = %828, %807
  %809 = load i8, ptr %92, align 1, !tbaa !9, !range !11, !noundef !12
  %810 = trunc i8 %809 to i1
  br i1 %810, label %812, label %811

811:                                              ; preds = %808
  store i32 110, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %92) #7
  br label %829

812:                                              ; preds = %808
  call void @llvm.lifetime.start.p0(i64 8, ptr %93) #7
  %813 = load ptr, ptr %78, align 8, !tbaa !5
  %814 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR9ValueItem20as_StructConstructorEv(ptr noundef nonnull align 8 dereferenceable(368) %813)
          to label %815 unwind label %821

815:                                              ; preds = %812
  store ptr %814, ptr %93, align 8, !tbaa !5
  br label %816

816:                                              ; preds = %826, %815
  %817 = load ptr, ptr %93, align 8, !tbaa !5
  %818 = load i8, ptr %92, align 1, !tbaa !9, !range !11, !noundef !12
  %819 = trunc i8 %818 to i1
  br i1 %819, label %825, label %820

820:                                              ; preds = %816
  store i32 113, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %93) #7
  br label %827

821:                                              ; preds = %812
  %822 = landingpad { ptr, i32 }
          cleanup
  %823 = extractvalue { ptr, i32 } %822, 0
  store ptr %823, ptr %11, align 8
  %824 = extractvalue { ptr, i32 } %822, 1
  store i32 %824, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %93) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %92) #7
  br label %832

825:                                              ; preds = %816
  br label %826

826:                                              ; preds = %825
  store i8 0, ptr %92, align 1, !tbaa !9
  br label %816, !llvm.loop !48

827:                                              ; preds = %820
  br label %828

828:                                              ; preds = %827
  store i8 0, ptr %92, align 1, !tbaa !9
  br label %808, !llvm.loop !49

829:                                              ; preds = %811
  br label %830

830:                                              ; preds = %829, %806, %757, %734, %685, %636, %608
  br label %831

831:                                              ; preds = %830
  store i8 0, ptr %77, align 1, !tbaa !9
  br label %601, !llvm.loop !50

832:                                              ; preds = %821, %772, %749, %700, %651, %628, %609
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %77) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #7
  br label %839

833:                                              ; preds = %604
  br label %834

834:                                              ; preds = %833
  store i8 0, ptr %77, align 1, !tbaa !9
  br label %595, !llvm.loop !51

835:                                              ; preds = %598
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #7
  br label %836

836:                                              ; preds = %835
  %837 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIK8RcStringSt10unique_ptrIN3HIR6VisEntINS5_9ValueItemEEESt14default_deleteIS8_EEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %72) #7
  br label %584

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

839:                                              ; preds = %832, %567
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #7
  br label %840

840:                                              ; preds = %839, %114
  call void @llvm.lifetime.end.p0(i64 40, ptr %6) #7
  br label %841

841:                                              ; preds = %840
  %842 = load ptr, ptr %11, align 8
  %843 = load i32, ptr %12, align 4
  %844 = insertvalue { ptr, i32 } poison, ptr %842, 0
  %845 = insertvalue { ptr, i32 } %844, i32 %843, 1
  resume { ptr, i32 } %845
}

declare noundef zeroext i1 @_Z13debug_enabledv() #2

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

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

declare void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEES5_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef, ptr noundef) unnamed_addr #2

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

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

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

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

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

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

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

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

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

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

; 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)) #1 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; 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) #6

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1 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)) #6

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1 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)) #6

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

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

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

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

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!17, !17, i64 0}
!17 = !{!"vtable pointer", !8, i64 0}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14}
!24 = distinct !{!24, !14}
!25 = distinct !{!25, !14}
!26 = distinct !{!26, !14}
!27 = distinct !{!27, !14}
!28 = distinct !{!28, !14}
!29 = distinct !{!29, !14}
!30 = distinct !{!30, !14}
!31 = distinct !{!31, !14}
!32 = distinct !{!32, !14}
!33 = distinct !{!33, !14}
!34 = distinct !{!34, !14}
!35 = distinct !{!35, !14}
!36 = distinct !{!36, !14}
!37 = distinct !{!37, !14}
!38 = !{!39, !39, i64 0}
!39 = !{!"int", !7, i64 0}
!40 = distinct !{!40, !14}
!41 = distinct !{!41, !14}
!42 = distinct !{!42, !14}
!43 = distinct !{!43, !14}
!44 = distinct !{!44, !14}
!45 = distinct !{!45, !14}
!46 = distinct !{!46, !14}
!47 = distinct !{!47, !14}
!48 = distinct !{!48, !14}
!49 = distinct !{!49, !14}
!50 = distinct !{!50, !14}
!51 = distinct !{!51, !14}


; 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.182 = type { ptr }
%class.anon.183 = type { ptr }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%class.anon.293 = type { ptr }
%class.anon.294 = type { ptr }
%class.anon.295 = type { ptr }
%class.anon.296 = type { ptr }
%class.anon.297 = type { ptr }
%class.anon.298 = type { ptr }
%class.anon.299 = type { ptr }
%class.anon.300 = type { ptr }
%"struct.std::__detail::_Node_iterator.301" = type { %"struct.std::__detail::_Node_iterator_base.302" }
%"struct.std::__detail::_Node_iterator_base.302" = type { ptr }

@__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE = external hidden unnamed_addr constant [13 x i8], align 1
@.str = external hidden unnamed_addr constant [39 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [74 x i8], align 1
@__PRETTY_FUNCTION__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE = external hidden unnamed_addr constant [74 x i8], align 1
@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.4 = external hidden unnamed_addr constant [4 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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef byval(%"class.HIR::ItemPath") align 8 %1, ptr noundef nonnull align 8 dereferenceable(216) %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %class.TraceLog, align 8
  %5 = alloca %"class.std::function.179", align 8
  %6 = alloca %class.anon.182, align 8
  %7 = alloca %"class.std::function.179", align 8
  %8 = alloca %class.anon.183, align 8
  %9 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %10 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %11 = alloca %class.TraceLog, align 8
  %12 = alloca %"class.std::function.179", align 8
  %13 = alloca %class.anon.293, align 8
  %14 = alloca %"class.HIR::ItemPath", align 8
  %15 = alloca %class.TraceLog, align 8
  %16 = alloca %"class.std::function.179", align 8
  %17 = alloca %class.anon.294, align 8
  %18 = alloca %"class.HIR::ItemPath", align 8
  %19 = alloca %class.TraceLog, align 8
  %20 = alloca %"class.std::function.179", align 8
  %21 = alloca %class.anon.295, align 8
  %22 = alloca %"class.HIR::ItemPath", align 8
  %23 = alloca %class.TraceLog, align 8
  %24 = alloca %"class.std::function.179", align 8
  %25 = alloca %class.anon.296, align 8
  %26 = alloca %class.TraceLog, align 8
  %27 = alloca %"class.std::function.179", align 8
  %28 = alloca %class.anon.297, align 8
  %29 = alloca %"class.HIR::ItemPath", align 8
  %30 = alloca %class.TraceLog, align 8
  %31 = alloca %"class.std::function.179", align 8
  %32 = alloca %class.anon.298, align 8
  %33 = alloca %"class.HIR::ItemPath", align 8
  %34 = alloca %class.TraceLog, align 8
  %35 = alloca %"class.std::function.179", align 8
  %36 = alloca %class.anon.299, align 8
  %37 = alloca %"class.HIR::ItemPath", align 8
  %38 = alloca %class.TraceLog, align 8
  %39 = alloca %"class.std::function.179", align 8
  %40 = alloca %class.anon.300, align 8
  %41 = alloca %"class.HIR::ItemPath", align 8
  %42 = alloca %"struct.std::__detail::_Node_iterator.301", align 8
  %43 = alloca %"struct.std::__detail::_Node_iterator.301", align 8
  %44 = alloca %"class.HIR::ItemPath", align 8
  %45 = alloca %"class.HIR::ItemPath", align 8
  %46 = alloca %"class.HIR::ItemPath", align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #7
  %47 = tail call noundef zeroext i1 @_Z13debug_enabledv()
  %48 = select i1 %47, ptr @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  store ptr %1, ptr %6, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor12visit_moduleENS4_8ItemPathERNS4_6ModuleEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  store ptr %1, ptr %8, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor12visit_moduleENS4_8ItemPathERNS4_6ModuleEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEES5_(ptr noundef nonnull align 8 dereferenceable(40) %4, ptr noundef %48, ptr noundef nonnull %5, ptr noundef nonnull %7)
          to label %.split1175 unwind label %57

.split1175:                                       ; preds = %3
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  %49 = getelementptr inbounds i8, ptr %2, i64 80
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %50 = call ptr @_ZNSt13unordered_mapI8RcStringSt10unique_ptrIN3HIR6VisEntINS2_8TypeItemEEESt14default_deleteIS5_EESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %49) #7
  store ptr %50, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  %51 = call ptr @_ZNSt13unordered_mapI8RcStringSt10unique_ptrIN3HIR6VisEntINS2_8TypeItemEEESt14default_deleteIS5_EESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %49) #7
  store ptr %51, ptr %10, align 8
  %52 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringSt10unique_ptrIN3HIR6VisEntINS5_8TypeItemEEESt14default_deleteIS8_EEELb0EEESF_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br i1 %52, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.loopexit223, %.split1175
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  %53 = getelementptr inbounds i8, ptr %2, i64 24
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %42) #7
  %54 = call ptr @_ZNSt13unordered_mapI8RcStringSt10unique_ptrIN3HIR6VisEntINS2_9ValueItemEEESt14default_deleteIS5_EESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %53) #7
  store ptr %54, ptr %42, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %43) #7
  %55 = call ptr @_ZNSt13unordered_mapI8RcStringSt10unique_ptrIN3HIR6VisEntINS2_9ValueItemEEESt14default_deleteIS5_EESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %53) #7
  store ptr %55, ptr %43, align 8
  %56 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringSt10unique_ptrIN3HIR6VisEntINS5_9ValueItemEEESt14default_deleteIS8_EEELb0EEESF_(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %43) #7
  br i1 %56, label %.lr.ph1258, label %._crit_edge1262

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

.loopexit223:                                     ; preds = %.preheader204, %.lr.ph, %..loopexit196_crit_edge, %..loopexit197_crit_edge, %..loopexit198_crit_edge, %..loopexit199_crit_edge, %..loopexit200_crit_edge, %..loopexit201_crit_edge, %..loopexit202_crit_edge, %..loopexit203_crit_edge
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIK8RcStringSt10unique_ptrIN3HIR6VisEntINS5_8TypeItemEEESt14default_deleteIS8_EEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %60 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringSt10unique_ptrIN3HIR6VisEntINS5_8TypeItemEEESt14default_deleteIS8_EEELb0EEESF_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br i1 %60, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.split1175, %.loopexit223
  %61 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIK8RcStringSt10unique_ptrIN3HIR6VisEntINS5_8TypeItemEEESt14default_deleteIS8_EEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %62 = getelementptr inbounds i8, ptr %61, i64 8
  %63 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR6VisEntINS0_8TypeItemEEESt14default_deleteIS3_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %62) #7
  %64 = getelementptr inbounds i8, ptr %63, i64 16
  %65 = call noundef i32 @_ZNK3HIR8TypeItem3tagEv(ptr noundef nonnull align 8 dereferenceable(408) %64)
  switch i32 %65, label %.loopexit223 [
    i32 0, label %83
    i32 1, label %.preheader204
    i32 2, label %.preheader206
    i32 3, label %.preheader208
    i32 4, label %.preheader210
    i32 5, label %.preheader212
    i32 6, label %.preheader214
    i32 7, label %.preheader216
    i32 8, label %.preheader218
    i32 9, label %.preheader220
  ]

.preheader220:                                    ; preds = %.lr.ph
  %66 = call noundef nonnull align 8 dereferenceable(400) ptr @_ZN3HIR8TypeItem8as_TraitEv(ptr noundef nonnull align 8 dereferenceable(408) %64)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %38) #7
  %67 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %155 unwind label %.split.split

.preheader218:                                    ; preds = %.lr.ph
  %68 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZN3HIR8TypeItem8as_UnionEv(ptr noundef nonnull align 8 dereferenceable(408) %64)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %34) #7
  %69 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %144 unwind label %.split314.split

.preheader216:                                    ; preds = %.lr.ph
  %70 = call noundef nonnull align 8 dereferenceable(252) ptr @_ZN3HIR8TypeItem9as_StructEv(ptr noundef nonnull align 8 dereferenceable(408) %64)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %30) #7
  %71 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %133 unwind label %.split414.split

.preheader214:                                    ; preds = %.lr.ph
  %72 = call noundef nonnull align 8 dereferenceable(200) ptr @_ZN3HIR8TypeItem7as_EnumEv(ptr noundef nonnull align 8 dereferenceable(408) %64)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %26) #7
  %73 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %122 unwind label %.split520.split

.preheader212:                                    ; preds = %.lr.ph
  %74 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN3HIR8TypeItem13as_ExternTypeEv(ptr noundef nonnull align 8 dereferenceable(408) %64)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %23) #7
  %75 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %117 unwind label %.split632.split

.preheader210:                                    ; preds = %.lr.ph
  %76 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZN3HIR8TypeItem13as_TraitAliasEv(ptr noundef nonnull align 8 dereferenceable(408) %64)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %19) #7
  %77 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %106 unwind label %.split743.split

.preheader208:                                    ; preds = %.lr.ph
  %78 = call noundef nonnull align 8 dereferenceable(104) ptr @_ZN3HIR8TypeItem12as_TypeAliasEv(ptr noundef nonnull align 8 dereferenceable(408) %64)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %15) #7
  %79 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %95 unwind label %.split867.split

.preheader206:                                    ; preds = %.lr.ph
  %80 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZN3HIR8TypeItem9as_ModuleEv(ptr noundef nonnull align 8 dereferenceable(408) %64)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #7
  %81 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %84 unwind label %.split997.split

.preheader204:                                    ; preds = %.lr.ph
  %82 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3HIR8TypeItem9as_ImportEv(ptr noundef nonnull align 8 dereferenceable(408) %64)
  br label %.loopexit223

83:                                               ; preds = %.lr.ph
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 59, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE) #8
  unreachable

84:                                               ; preds = %.preheader206
  %85 = select i1 %81, ptr @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  store ptr %61, ptr %13, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor12visit_moduleENS4_8ItemPathERNS4_6ModuleEE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %11, ptr noundef %85, ptr noundef nonnull %12)
          to label %86 unwind label %.split1000.split

86:                                               ; preds = %84
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind nonnull writable sret(%"class.HIR::ItemPath") align 8 %14, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %61)
          to label %87 unwind label %.split1003.split

87:                                               ; preds = %86
  %88 = load ptr, ptr %0, align 8, !tbaa !9
  %89 = getelementptr inbounds i8, ptr %88, i64 24
  %90 = load ptr, ptr %89, align 8
  invoke void %90(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull byval(%"class.HIR::ItemPath") align 8 %14, ptr noundef nonnull align 8 dereferenceable(216) %80)
          to label %..loopexit196_crit_edge unwind label %.split1003.split

..loopexit196_crit_edge:                          ; preds = %87
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #7
  br label %.loopexit223

.split997.split:                                  ; preds = %.preheader206
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %94

.split1000.split:                                 ; preds = %84
  %92 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br label %94

.split1003.split:                                 ; preds = %87, %86
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #7
  br label %94

94:                                               ; preds = %.split1003.split, %.split1000.split, %.split997.split
  %.pn172 = phi { ptr, i32 } [ %93, %.split1003.split ], [ %92, %.split1000.split ], [ %91, %.split997.split ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #7
  br label %166

95:                                               ; preds = %.preheader208
  %96 = select i1 %79, ptr @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  store ptr %61, ptr %17, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor12visit_moduleENS4_8ItemPathERNS4_6ModuleEE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %15, ptr noundef %96, ptr noundef nonnull %16)
          to label %97 unwind label %.split870.split

97:                                               ; preds = %95
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind nonnull writable sret(%"class.HIR::ItemPath") align 8 %18, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %61)
          to label %98 unwind label %.split873.split

98:                                               ; preds = %97
  %99 = load ptr, ptr %0, align 8, !tbaa !9
  %100 = getelementptr inbounds i8, ptr %99, i64 56
  %101 = load ptr, ptr %100, align 8
  invoke void %101(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull byval(%"class.HIR::ItemPath") align 8 %18, ptr noundef nonnull align 8 dereferenceable(104) %78)
          to label %..loopexit197_crit_edge unwind label %.split873.split

..loopexit197_crit_edge:                          ; preds = %98
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #7
  br label %.loopexit223

.split867.split:                                  ; preds = %.preheader208
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %105

.split870.split:                                  ; preds = %95
  %103 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  br label %105

.split873.split:                                  ; preds = %98, %97
  %104 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #7
  br label %105

105:                                              ; preds = %.split873.split, %.split870.split, %.split867.split
  %.pn170 = phi { ptr, i32 } [ %104, %.split873.split ], [ %103, %.split870.split ], [ %102, %.split867.split ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #7
  br label %166

106:                                              ; preds = %.preheader210
  %107 = select i1 %77, ptr @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  store ptr %61, ptr %21, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor12visit_moduleENS4_8ItemPathERNS4_6ModuleEE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %19, ptr noundef %107, ptr noundef nonnull %20)
          to label %108 unwind label %.split746.split

108:                                              ; preds = %106
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind nonnull writable sret(%"class.HIR::ItemPath") align 8 %22, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %61)
          to label %109 unwind label %.split749.split

109:                                              ; preds = %108
  %110 = load ptr, ptr %0, align 8, !tbaa !9
  %111 = getelementptr inbounds i8, ptr %110, i64 64
  %112 = load ptr, ptr %111, align 8
  invoke void %112(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull byval(%"class.HIR::ItemPath") align 8 %22, ptr noundef nonnull align 8 dereferenceable(120) %76)
          to label %..loopexit198_crit_edge unwind label %.split749.split

..loopexit198_crit_edge:                          ; preds = %109
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %19) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #7
  br label %.loopexit223

.split743.split:                                  ; preds = %.preheader210
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %116

.split746.split:                                  ; preds = %106
  %114 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  br label %116

.split749.split:                                  ; preds = %109, %108
  %115 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %19) #7
  br label %116

116:                                              ; preds = %.split749.split, %.split746.split, %.split743.split
  %.pn168 = phi { ptr, i32 } [ %115, %.split749.split ], [ %114, %.split746.split ], [ %113, %.split743.split ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #7
  br label %166

117:                                              ; preds = %.preheader212
  %118 = select i1 %75, ptr @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #7
  store ptr %61, ptr %25, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor12visit_moduleENS4_8ItemPathERNS4_6ModuleEE3$_5vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %23, ptr noundef %118, ptr noundef nonnull %24)
          to label %..loopexit199_crit_edge unwind label %.split635.split

..loopexit199_crit_edge:                          ; preds = %117
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %23) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %23) #7
  br label %.loopexit223

.split632.split:                                  ; preds = %.preheader212
  %119 = landingpad { ptr, i32 }
          cleanup
  br label %121

.split635.split:                                  ; preds = %117
  %120 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  br label %121

121:                                              ; preds = %.split635.split, %.split632.split
  %.pn166 = phi { ptr, i32 } [ %120, %.split635.split ], [ %119, %.split632.split ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %23) #7
  br label %166

122:                                              ; preds = %.preheader214
  %123 = select i1 %73, ptr @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #7
  store ptr %61, ptr %28, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor12visit_moduleENS4_8ItemPathERNS4_6ModuleEE3$_6vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef %123, ptr noundef nonnull %27)
          to label %124 unwind label %.split523.split

124:                                              ; preds = %122
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind nonnull writable sret(%"class.HIR::ItemPath") align 8 %29, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %61)
          to label %125 unwind label %.split526.split

125:                                              ; preds = %124
  %126 = load ptr, ptr %0, align 8, !tbaa !9
  %127 = getelementptr inbounds i8, ptr %126, i64 88
  %128 = load ptr, ptr %127, align 8
  invoke void %128(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull byval(%"class.HIR::ItemPath") align 8 %29, ptr noundef nonnull align 8 dereferenceable(200) %72)
          to label %..loopexit200_crit_edge unwind label %.split526.split

..loopexit200_crit_edge:                          ; preds = %125
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %26) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %26) #7
  br label %.loopexit223

.split520.split:                                  ; preds = %.preheader214
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %132

.split523.split:                                  ; preds = %122
  %130 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  br label %132

.split526.split:                                  ; preds = %125, %124
  %131 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %26) #7
  br label %132

132:                                              ; preds = %.split526.split, %.split523.split, %.split520.split
  %.pn164 = phi { ptr, i32 } [ %131, %.split526.split ], [ %130, %.split523.split ], [ %129, %.split520.split ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %26) #7
  br label %166

133:                                              ; preds = %.preheader216
  %134 = select i1 %71, ptr @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #7
  store ptr %61, ptr %32, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor12visit_moduleENS4_8ItemPathERNS4_6ModuleEE3$_7vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %30, ptr noundef %134, ptr noundef nonnull %31)
          to label %135 unwind label %.split417.split

135:                                              ; preds = %133
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #7
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind nonnull writable sret(%"class.HIR::ItemPath") align 8 %33, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %61)
          to label %136 unwind label %.split420.split

136:                                              ; preds = %135
  %137 = load ptr, ptr %0, align 8, !tbaa !9
  %138 = getelementptr inbounds i8, ptr %137, i64 80
  %139 = load ptr, ptr %138, align 8
  invoke void %139(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull byval(%"class.HIR::ItemPath") align 8 %33, ptr noundef nonnull align 8 dereferenceable(252) %70)
          to label %..loopexit201_crit_edge unwind label %.split420.split

..loopexit201_crit_edge:                          ; preds = %136
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %30) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %30) #7
  br label %.loopexit223

.split414.split:                                  ; preds = %.preheader216
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %143

.split417.split:                                  ; preds = %133
  %141 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #7
  br label %143

.split420.split:                                  ; preds = %136, %135
  %142 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %30) #7
  br label %143

143:                                              ; preds = %.split420.split, %.split417.split, %.split414.split
  %.pn162 = phi { ptr, i32 } [ %142, %.split420.split ], [ %141, %.split417.split ], [ %140, %.split414.split ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %30) #7
  br label %166

144:                                              ; preds = %.preheader218
  %145 = select i1 %69, ptr @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #7
  store ptr %61, ptr %36, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor12visit_moduleENS4_8ItemPathERNS4_6ModuleEE3$_8vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(8) %36) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %34, ptr noundef %145, ptr noundef nonnull %35)
          to label %146 unwind label %.split317.split

146:                                              ; preds = %144
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #7
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind nonnull writable sret(%"class.HIR::ItemPath") align 8 %37, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %61)
          to label %147 unwind label %.split320.split

147:                                              ; preds = %146
  %148 = load ptr, ptr %0, align 8, !tbaa !9
  %149 = getelementptr inbounds i8, ptr %148, i64 96
  %150 = load ptr, ptr %149, align 8
  invoke void %150(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull byval(%"class.HIR::ItemPath") align 8 %37, ptr noundef nonnull align 8 dereferenceable(184) %68)
          to label %..loopexit202_crit_edge unwind label %.split320.split

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

.split314.split:                                  ; preds = %.preheader218
  %151 = landingpad { ptr, i32 }
          cleanup
  br label %154

.split317.split:                                  ; preds = %144
  %152 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #7
  br label %154

.split320.split:                                  ; preds = %147, %146
  %153 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %34) #7
  br label %154

154:                                              ; preds = %.split320.split, %.split317.split, %.split314.split
  %.pn160 = phi { ptr, i32 } [ %153, %.split320.split ], [ %152, %.split317.split ], [ %151, %.split314.split ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %34) #7
  br label %166

155:                                              ; preds = %.preheader220
  %156 = select i1 %67, ptr @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %40) #7
  store ptr %61, ptr %40, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR7Visitor12visit_moduleENS4_8ItemPathERNS4_6ModuleEE3$_9vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull align 8 dereferenceable(8) %40) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %38, ptr noundef %156, ptr noundef nonnull %39)
          to label %157 unwind label %.split225.split

157:                                              ; preds = %155
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #7
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind nonnull writable sret(%"class.HIR::ItemPath") align 8 %41, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %61)
          to label %158 unwind label %.split228.split

158:                                              ; preds = %157
  %159 = load ptr, ptr %0, align 8, !tbaa !9
  %160 = getelementptr inbounds i8, ptr %159, i64 72
  %161 = load ptr, ptr %160, align 8
  invoke void %161(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull byval(%"class.HIR::ItemPath") align 8 %41, ptr noundef nonnull align 8 dereferenceable(400) %66)
          to label %..loopexit203_crit_edge unwind label %.split228.split

..loopexit203_crit_edge:                          ; preds = %158
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %38) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %38) #7
  br label %.loopexit223

.split.split:                                     ; preds = %.preheader220
  %162 = landingpad { ptr, i32 }
          cleanup
  br label %165

.split225.split:                                  ; preds = %155
  %163 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #7
  br label %165

.split228.split:                                  ; preds = %158, %157
  %164 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %38) #7
  br label %165

165:                                              ; preds = %.split228.split, %.split225.split, %.split.split
  %.pn158 = phi { ptr, i32 } [ %164, %.split228.split ], [ %163, %.split225.split ], [ %162, %.split.split ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %38) #7
  br label %166

166:                                              ; preds = %165, %154, %143, %132, %121, %116, %105, %94
  %.pn158.pn = phi { ptr, i32 } [ %.pn158, %165 ], [ %.pn160, %154 ], [ %.pn162, %143 ], [ %.pn164, %132 ], [ %.pn166, %121 ], [ %.pn168, %116 ], [ %.pn170, %105 ], [ %.pn172, %94 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br label %239

._crit_edge1262:                                  ; preds = %.loopexit194, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %43) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %42) #7
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #7
  ret void

.loopexit194:                                     ; preds = %234, %216, %198, %.preheader191.split, %.preheader187.split, %.preheader.split, %.lr.ph1258
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIK8RcStringSt10unique_ptrIN3HIR6VisEntINS5_9ValueItemEEESt14default_deleteIS8_EEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #7
  %168 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringSt10unique_ptrIN3HIR6VisEntINS5_9ValueItemEEESt14default_deleteIS8_EEELb0EEESF_(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %43) #7
  br i1 %168, label %.lr.ph1258, label %._crit_edge1262

.lr.ph1258:                                       ; preds = %._crit_edge, %.loopexit194
  %169 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIK8RcStringSt10unique_ptrIN3HIR6VisEntINS5_9ValueItemEEESt14default_deleteIS8_EEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #7
  %170 = getelementptr inbounds i8, ptr %169, i64 8
  %171 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR6VisEntINS0_9ValueItemEEESt14default_deleteIS3_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %170) #7
  %172 = getelementptr inbounds i8, ptr %171, i64 16
  %173 = call noundef i32 @_ZNK3HIR9ValueItem3tagEv(ptr noundef nonnull align 8 dereferenceable(368) %172)
  switch i32 %173, label %.loopexit194 [
    i32 0, label %183
    i32 1, label %.preheader.split
    i32 2, label %.preheader183.split
    i32 3, label %.preheader185.split
    i32 4, label %.preheader187.split
    i32 5, label %.preheader189.split
    i32 6, label %.preheader191.split
  ]

.preheader191.split:                              ; preds = %.lr.ph1258
  %174 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR9ValueItem20as_StructConstructorEv(ptr noundef nonnull align 8 dereferenceable(368) %172)
  br label %.loopexit194

.preheader189.split:                              ; preds = %.lr.ph1258
  %175 = call noundef nonnull align 8 dereferenceable(352) ptr @_ZN3HIR9ValueItem11as_FunctionEv(ptr noundef nonnull align 8 dereferenceable(368) %172)
  %176 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %221 unwind label %.split1183

.preheader187.split:                              ; preds = %.lr.ph1258
  %177 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR9ValueItem17as_StructConstantEv(ptr noundef nonnull align 8 dereferenceable(368) %172)
  br label %.loopexit194

.preheader185.split:                              ; preds = %.lr.ph1258
  %178 = call noundef nonnull align 8 dereferenceable(360) ptr @_ZN3HIR9ValueItem9as_StaticEv(ptr noundef nonnull align 8 dereferenceable(368) %172)
  %179 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %203 unwind label %.split1207

.preheader183.split:                              ; preds = %.lr.ph1258
  %180 = call noundef nonnull align 8 dereferenceable(280) ptr @_ZN3HIR9ValueItem11as_ConstantEv(ptr noundef nonnull align 8 dereferenceable(368) %172)
  %181 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %185 unwind label %.split1227

.preheader.split:                                 ; preds = %.lr.ph1258
  %182 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3HIR9ValueItem9as_ImportEv(ptr noundef nonnull align 8 dereferenceable(368) %172)
  br label %.loopexit194

183:                                              ; preds = %.lr.ph1258
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 98, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE) #8
  unreachable

.split1227:                                       ; preds = %198, %197, %195, %193, %191, %189, %186, %.preheader183.split
  %184 = landingpad { ptr, i32 }
          cleanup
  br label %238

185:                                              ; preds = %.preheader183.split
  br i1 %181, label %186, label %197

186:                                              ; preds = %185
  %187 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !11
  %188 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %187, ptr noundef nonnull @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE)
          to label %189 unwind label %.split1227

189:                                              ; preds = %186
  %190 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %188, ptr noundef nonnull @.str.2)
          to label %191 unwind label %.split1227

191:                                              ; preds = %189
  %192 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %190, ptr noundef nonnull align 8 dereferenceable(8) %169)
          to label %193 unwind label %.split1227

193:                                              ; preds = %191
  %194 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %192, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %195 unwind label %.split1227

195:                                              ; preds = %193
  %196 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %194, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %197 unwind label %.split1227

197:                                              ; preds = %195, %185
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind nonnull writable sret(%"class.HIR::ItemPath") align 8 %44, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %169)
          to label %198 unwind label %.split1227

198:                                              ; preds = %197
  %199 = load ptr, ptr %0, align 8, !tbaa !9
  %200 = getelementptr inbounds i8, ptr %199, i64 128
  %201 = load ptr, ptr %200, align 8
  invoke void %201(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull byval(%"class.HIR::ItemPath") align 8 %44, ptr noundef nonnull align 8 dereferenceable(280) %180)
          to label %.loopexit194 unwind label %.split1227, !llvm.loop !13

.split1207:                                       ; preds = %216, %215, %213, %211, %209, %207, %204, %.preheader185.split
  %202 = landingpad { ptr, i32 }
          cleanup
  br label %238

203:                                              ; preds = %.preheader185.split
  br i1 %179, label %204, label %215

204:                                              ; preds = %203
  %205 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !11
  %206 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %205, ptr noundef nonnull @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE)
          to label %207 unwind label %.split1207

207:                                              ; preds = %204
  %208 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %206, ptr noundef nonnull @.str.3)
          to label %209 unwind label %.split1207

209:                                              ; preds = %207
  %210 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %208, ptr noundef nonnull align 8 dereferenceable(8) %169)
          to label %211 unwind label %.split1207

211:                                              ; preds = %209
  %212 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %210, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %213 unwind label %.split1207

213:                                              ; preds = %211
  %214 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %212, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %215 unwind label %.split1207

215:                                              ; preds = %213, %203
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind nonnull writable sret(%"class.HIR::ItemPath") align 8 %45, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %169)
          to label %216 unwind label %.split1207

216:                                              ; preds = %215
  %217 = load ptr, ptr %0, align 8, !tbaa !9
  %218 = getelementptr inbounds i8, ptr %217, i64 120
  %219 = load ptr, ptr %218, align 8
  invoke void %219(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull byval(%"class.HIR::ItemPath") align 8 %45, ptr noundef nonnull align 8 dereferenceable(360) %178)
          to label %.loopexit194 unwind label %.split1207, !llvm.loop !15

.split1183:                                       ; preds = %234, %233, %231, %229, %227, %225, %222, %.preheader189.split
  %220 = landingpad { ptr, i32 }
          cleanup
  br label %238

221:                                              ; preds = %.preheader189.split
  br i1 %176, label %222, label %233

222:                                              ; preds = %221
  %223 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !11
  %224 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %223, ptr noundef nonnull @__func__._ZN3HIR7Visitor12visit_moduleENS_8ItemPathERNS_6ModuleE)
          to label %225 unwind label %.split1183

225:                                              ; preds = %222
  %226 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %224, ptr noundef nonnull @.str.4)
          to label %227 unwind label %.split1183

227:                                              ; preds = %225
  %228 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %226, ptr noundef nonnull align 8 dereferenceable(8) %169)
          to label %229 unwind label %.split1183

229:                                              ; preds = %227
  %230 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %228, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %231 unwind label %.split1183

231:                                              ; preds = %229
  %232 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %230, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %233 unwind label %.split1183

233:                                              ; preds = %231, %221
  invoke void @_ZNK3HIR8ItemPathplERK8RcString(ptr dead_on_unwind nonnull writable sret(%"class.HIR::ItemPath") align 8 %46, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %169)
          to label %234 unwind label %.split1183

234:                                              ; preds = %233
  %235 = load ptr, ptr %0, align 8, !tbaa !9
  %236 = getelementptr inbounds i8, ptr %235, i64 112
  %237 = load ptr, ptr %236, align 8
  invoke void %237(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull byval(%"class.HIR::ItemPath") align 8 %46, ptr noundef nonnull align 8 dereferenceable(352) %175)
          to label %.loopexit194 unwind label %.split1183, !llvm.loop !16

238:                                              ; preds = %.split1183, %.split1207, %.split1227
  %.pn = phi { ptr, i32 } [ %220, %.split1183 ], [ %202, %.split1207 ], [ %184, %.split1227 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %43) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %42) #7
  br label %239

239:                                              ; preds = %238, %166
  %.pn158.pn.pn = phi { ptr, i32 } [ %.pn158.pn, %166 ], [ %.pn, %238 ]
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #7
  br label %240

240:                                              ; preds = %239, %57
  %.pn158.pn.pn.pn = phi { ptr, i32 } [ %.pn158.pn.pn, %239 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #7
  resume { ptr, i32 } %.pn158.pn.pn.pn
}

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #2

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

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

declare void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEES5_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef, ptr noundef) unnamed_addr #2

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

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

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

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

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

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

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

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

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

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

; 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 #1 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 #2

; 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 #6

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

; 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 #1 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)) #6

; 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 #1 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)) #6

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

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

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

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

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass