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

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

%struct.Span = type { ptr }
%"class.std::function.77" = 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.79 = type { ptr }
%class.anon.93 = type { ptr }
%class.anon.94 = type { ptr }
%class.anon.95 = type { ptr }
%"struct.HIR::GenericParams::PrintArgs" = type { ptr }
%"struct.HIR::InherentCache::Inner" = type { %"struct.HIR::InherentCache::Lowest", %"class.std::unique_ptr.80", %"class.std::unique_ptr.80", %"class.std::unique_ptr.80", %"class.std::unique_ptr.80", %"class.std::unique_ptr.80", %"class.std::unique_ptr.80", %"class.std::map.88" }
%"struct.HIR::InherentCache::Lowest" = type { %"class.std::map.23", %"class.std::vector.29", %"class.std::vector.29" }
%"class.std::map.23" = type { %"class.std::_Rb_tree.24" }
%"class.std::_Rb_tree.24" = type { %"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, std::vector<const HIR::TypeImpl *>>, std::_Select1st<std::pair<const HIR::SimplePath, std::vector<const HIR::TypeImpl *>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, std::vector<const HIR::TypeImpl *>>, std::_Select1st<std::pair<const HIR::SimplePath, std::vector<const HIR::TypeImpl *>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::vector.29" = type { %"struct.std::_Vector_base.30" }
%"struct.std::_Vector_base.30" = type { %"struct.std::_Vector_base<const HIR::TypeImpl *, std::allocator<const HIR::TypeImpl *>>::_Vector_impl" }
%"struct.std::_Vector_base<const HIR::TypeImpl *, std::allocator<const HIR::TypeImpl *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const HIR::TypeImpl *, std::allocator<const HIR::TypeImpl *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const HIR::TypeImpl *, std::allocator<const HIR::TypeImpl *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_ptr.80" = type { %"struct.std::__uniq_ptr_data.81" }
%"struct.std::__uniq_ptr_data.81" = type { %"class.std::__uniq_ptr_impl.82" }
%"class.std::__uniq_ptr_impl.82" = type { %"class.std::tuple.83" }
%"class.std::tuple.83" = type { %"struct.std::_Tuple_impl.84" }
%"struct.std::_Tuple_impl.84" = type { %"struct.std::_Head_base.87" }
%"struct.std::_Head_base.87" = type { ptr }
%"class.std::map.88" = type { %"class.std::_Rb_tree.89" }
%"class.std::_Rb_tree.89" = type { %"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, HIR::InherentCache::Inner>, std::_Select1st<std::pair<const HIR::SimplePath, HIR::InherentCache::Inner>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, HIR::InherentCache::Inner>, std::_Select1st<std::pair<const HIR::SimplePath, HIR::InherentCache::Inner>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.HIR::TypeData::Data_Borrow" = type { %"struct.HIR::LifetimeRef", i32, %"class.HIR::TypeRef" }
%"struct.HIR::LifetimeRef" = type { i32 }
%"class.HIR::TypeRef" = type { ptr }
%"struct.HIR::TypeData::Data_Pointer" = type { i32, %"class.HIR::TypeRef" }
%"struct.HIR::TypeData_Path" = type { %"class.HIR::Path", %"class.HIR::TypePathBinding", %"class.std::unique_ptr" }
%"class.HIR::Path" = type { %"class.HIR::Path::Data" }
%"class.HIR::Path::Data" = type { i32, %"union.HIR::Path::Data::DataUnion" }
%"union.HIR::Path::Data::DataUnion" = type { %"struct.HIR::Path::Data::Data_UfcsKnown" }
%"struct.HIR::Path::Data::Data_UfcsKnown" = type { %"class.HIR::TypeRef", %"class.HIR::GenericPath", %class.RcString, %"struct.HIR::PathParams", %"class.std::unique_ptr" }
%"class.HIR::GenericPath" = type { %"struct.HIR::SimplePath", %"struct.HIR::PathParams" }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%class.RcString = type { ptr }
%"struct.HIR::PathParams" = type { %class.ThinVector.34, %class.ThinVector.35, %class.ThinVector.36 }
%class.ThinVector.34 = type { ptr }
%class.ThinVector.35 = type { ptr }
%class.ThinVector.36 = type { ptr }
%"class.HIR::TypePathBinding" = type { i32, %"union.HIR::TypePathBinding::DataUnion" }
%"union.HIR::TypePathBinding::DataUnion" = 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.38" }
%"struct.std::_Head_base.38" = type { ptr }
%"class.HIR::TypeImpl" = type { %"class.HIR::GenericParams", %"class.HIR::TypeRef", %"class.std::map", %"class.std::map.18", %"struct.HIR::SimplePath" }
%"class.HIR::GenericParams" = type { %"class.std::vector", %"class.std::vector.0", %"class.std::vector.5", %"class.std::vector.10" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TypeImpl::VisImplEnt<HIR::Function>>, std::_Select1st<std::pair<const RcString, HIR::TypeImpl::VisImplEnt<HIR::Function>>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TypeImpl::VisImplEnt<HIR::Function>>, std::_Select1st<std::pair<const RcString, HIR::TypeImpl::VisImplEnt<HIR::Function>>>, std::less<RcString>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.18" = type { %"class.std::_Rb_tree.19" }
%"class.std::_Rb_tree.19" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TypeImpl::VisImplEnt<HIR::Constant>>, std::_Select1st<std::pair<const RcString, HIR::TypeImpl::VisImplEnt<HIR::Constant>>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TypeImpl::VisImplEnt<HIR::Constant>>, std::_Select1st<std::pair<const RcString, HIR::TypeImpl::VisImplEnt<HIR::Constant>>>, std::less<RcString>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }

@.str = external hidden unnamed_addr constant [39 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [81 x i8], align 1
@__PRETTY_FUNCTION__._ZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplE = external hidden unnamed_addr constant [98 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@g_debug_indent_level = external global i32, align 4
@__FUNCTION__._ZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplE = 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 [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplE(ptr noundef nonnull align 8 dereferenceable(192) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(208) %3) #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i8, align 1
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca %struct.Span, align 8
  %13 = alloca %"class.std::function.77", align 8
  %14 = alloca %class.anon.79, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i8, align 1
  %18 = alloca ptr, align 8
  %19 = alloca %struct.Span, align 8
  %20 = alloca %"class.std::function.77", align 8
  %21 = alloca %class.anon.93, align 8
  %22 = alloca i8, align 1
  %23 = alloca ptr, align 8
  %24 = alloca i8, align 1
  %25 = alloca ptr, align 8
  %26 = alloca i8, align 1
  %27 = alloca ptr, align 8
  %28 = alloca %struct.Span, align 8
  %29 = alloca %"class.std::function.77", align 8
  %30 = alloca %class.anon.94, align 8
  %31 = alloca ptr, align 8
  %32 = alloca %struct.Span, align 8
  %33 = alloca %"class.std::function.77", align 8
  %34 = alloca %class.anon.95, align 8
  %35 = alloca %"struct.HIR::GenericParams::PrintArgs", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %36 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #8
  store i8 1, ptr %9, align 1, !tbaa !9
  br label %37

37:                                               ; preds = %309, %4
  %38 = load i8, ptr %9, align 1, !tbaa !9, !range !11, !noundef !12
  %39 = trunc i8 %38 to i1
  br i1 %39, label %41, label %40

40:                                               ; preds = %37
  store i32 2, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #8
  br label %310

41:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %42)
  store ptr %43, ptr %11, align 8, !tbaa !5
  br label %44

44:                                               ; preds = %306, %41
  %45 = load i8, ptr %9, align 1, !tbaa !9, !range !11, !noundef !12
  %46 = trunc i8 %45 to i1
  br i1 %46, label %48, label %47

47:                                               ; preds = %44
  store i32 5, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br label %308

48:                                               ; preds = %44
  %49 = load ptr, ptr %11, align 8, !tbaa !5
  %50 = call noundef i32 @_ZNK3HIR8TypeData3tagEv(ptr noundef nonnull align 8 dereferenceable(184) %49)
  switch i32 %50, label %52 [
    i32 0, label %51
    i32 5, label %70
    i32 11, label %114
    i32 12, label %154
    i32 4, label %194
  ]

51:                                               ; preds = %48
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 69, ptr noundef @__PRETTY_FUNCTION__._ZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplE) #9
  unreachable

52:                                               ; preds = %48
  br label %53

53:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %54)
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %55 = getelementptr inbounds %class.anon.79, ptr %14, i32 0, i32 0
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %56, ptr %55, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR13InherentCache5Inner6insertERK4SpanRKNS4_7TypeRefERKNS4_8TypeImplEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef %13)
          to label %57 unwind label %60

57:                                               ; preds = %53
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  %58 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %58, ptr noundef @.str.2)
          to label %59 unwind label %64

59:                                               ; preds = %57
  call void @__cxa_throw(ptr %58, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #10
  unreachable

60:                                               ; preds = %53
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %15, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %16, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %307

64:                                               ; preds = %57
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %15, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %16, align 4
  call void @__cxa_free_exception(ptr %58) #8
  br label %307

68:                                               ; No predecessors!
  br label %69

69:                                               ; preds = %68
  br label %305

70:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #8
  store i8 1, ptr %17, align 1, !tbaa !9
  br label %71

71:                                               ; preds = %112, %70
  %72 = load i8, ptr %17, align 1, !tbaa !9, !range !11, !noundef !12
  %73 = trunc i8 %72 to i1
  br i1 %73, label %75, label %74

74:                                               ; preds = %71
  store i32 11, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #8
  br label %113

75:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %76 = load ptr, ptr %11, align 8, !tbaa !5
  %77 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNK3HIR8TypeData10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(184) %76)
  store ptr %77, ptr %18, align 8, !tbaa !5
  br label %78

78:                                               ; preds = %109, %75
  %79 = load ptr, ptr %18, align 8, !tbaa !5
  %80 = load i8, ptr %17, align 1, !tbaa !9, !range !11, !noundef !12
  %81 = trunc i8 %80 to i1
  br i1 %81, label %83, label %82

82:                                               ; preds = %78
  store i32 14, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %111

83:                                               ; preds = %78
  %84 = load ptr, ptr %18, align 8, !tbaa !5
  %85 = call noundef zeroext i1 @_ZNK3HIR10GenericRef7is_selfEv(ptr noundef nonnull align 8 dereferenceable(12) %84)
  br i1 %85, label %86, label %90

86:                                               ; preds = %83
  %87 = getelementptr inbounds %"struct.HIR::InherentCache::Inner", ptr %36, i32 0, i32 0
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN3HIR13InherentCache6Lowest6insertERK4SpanRKNS_8TypeImplE(ptr noundef nonnull align 8 dereferenceable(96) %87, ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull align 8 dereferenceable(208) %89)
  br label %108

90:                                               ; preds = %83
  br label %91

91:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %92 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %92)
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %93 = getelementptr inbounds %class.anon.93, ptr %21, i32 0, i32 0
  %94 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %94, ptr %93, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR13InherentCache5Inner6insertERK4SpanRKNS4_7TypeRefERKNS4_8TypeImplEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef %20)
          to label %95 unwind label %98

95:                                               ; preds = %91
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  %96 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %96, ptr noundef @.str.2)
          to label %97 unwind label %102

97:                                               ; preds = %95
  call void @__cxa_throw(ptr %96, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #10
  unreachable

98:                                               ; preds = %91
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %15, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %16, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %110

102:                                              ; preds = %95
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %15, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %16, align 4
  call void @__cxa_free_exception(ptr %96) #8
  br label %110

106:                                              ; No predecessors!
  br label %107

107:                                              ; preds = %106
  br label %108

108:                                              ; preds = %107, %86
  br label %109

109:                                              ; preds = %108
  store i8 0, ptr %17, align 1, !tbaa !9
  br label %78, !llvm.loop !13

110:                                              ; preds = %102, %98
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #8
  br label %307

111:                                              ; preds = %82
  br label %112

112:                                              ; preds = %111
  store i8 0, ptr %17, align 1, !tbaa !9
  br label %71, !llvm.loop !15

113:                                              ; preds = %74
  br label %305

114:                                              ; preds = %48
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #8
  store i8 1, ptr %22, align 1, !tbaa !9
  br label %115

115:                                              ; preds = %152, %114
  %116 = load i8, ptr %22, align 1, !tbaa !9, !range !11, !noundef !12
  %117 = trunc i8 %116 to i1
  br i1 %117, label %119, label %118

118:                                              ; preds = %115
  store i32 19, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #8
  br label %153

119:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %120 = load ptr, ptr %11, align 8, !tbaa !5
  %121 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3HIR8TypeData9as_BorrowEv(ptr noundef nonnull align 8 dereferenceable(184) %120)
  store ptr %121, ptr %23, align 8, !tbaa !5
  br label %122

122:                                              ; preds = %150, %119
  %123 = load ptr, ptr %23, align 8, !tbaa !5
  %124 = load i8, ptr %22, align 1, !tbaa !9, !range !11, !noundef !12
  %125 = trunc i8 %124 to i1
  br i1 %125, label %127, label %126

126:                                              ; preds = %122
  store i32 22, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %151

127:                                              ; preds = %122
  %128 = load ptr, ptr %23, align 8, !tbaa !5
  %129 = getelementptr inbounds %"struct.HIR::TypeData::Data_Borrow", ptr %128, i32 0, i32 1
  %130 = load i32, ptr %129, align 4, !tbaa !16
  switch i32 %130, label %149 [
    i32 0, label %131
    i32 1, label %137
    i32 2, label %143
  ]

131:                                              ; preds = %127
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = load ptr, ptr %23, align 8, !tbaa !5
  %134 = getelementptr inbounds %"struct.HIR::TypeData::Data_Borrow", ptr %133, i32 0, i32 2
  %135 = load ptr, ptr %8, align 8, !tbaa !5
  %136 = getelementptr inbounds %"struct.HIR::InherentCache::Inner", ptr %36, i32 0, i32 1
  call void @_ZZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplEEN1H12insert_innerES4_S7_SA_RSt10unique_ptrIS1_St14default_deleteIS1_EE(ptr noundef nonnull align 8 dereferenceable(8) %132, ptr noundef nonnull align 8 dereferenceable(8) %134, ptr noundef nonnull align 8 dereferenceable(208) %135, ptr noundef nonnull align 8 dereferenceable(8) %136)
  br label %149

137:                                              ; preds = %127
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = load ptr, ptr %23, align 8, !tbaa !5
  %140 = getelementptr inbounds %"struct.HIR::TypeData::Data_Borrow", ptr %139, i32 0, i32 2
  %141 = load ptr, ptr %8, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.HIR::InherentCache::Inner", ptr %36, i32 0, i32 2
  call void @_ZZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplEEN1H12insert_innerES4_S7_SA_RSt10unique_ptrIS1_St14default_deleteIS1_EE(ptr noundef nonnull align 8 dereferenceable(8) %138, ptr noundef nonnull align 8 dereferenceable(8) %140, ptr noundef nonnull align 8 dereferenceable(208) %141, ptr noundef nonnull align 8 dereferenceable(8) %142)
  br label %149

143:                                              ; preds = %127
  %144 = load ptr, ptr %6, align 8, !tbaa !5
  %145 = load ptr, ptr %23, align 8, !tbaa !5
  %146 = getelementptr inbounds %"struct.HIR::TypeData::Data_Borrow", ptr %145, i32 0, i32 2
  %147 = load ptr, ptr %8, align 8, !tbaa !5
  %148 = getelementptr inbounds %"struct.HIR::InherentCache::Inner", ptr %36, i32 0, i32 3
  call void @_ZZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplEEN1H12insert_innerES4_S7_SA_RSt10unique_ptrIS1_St14default_deleteIS1_EE(ptr noundef nonnull align 8 dereferenceable(8) %144, ptr noundef nonnull align 8 dereferenceable(8) %146, ptr noundef nonnull align 8 dereferenceable(208) %147, ptr noundef nonnull align 8 dereferenceable(8) %148)
  br label %149

149:                                              ; preds = %143, %137, %131, %127
  br label %150

150:                                              ; preds = %149
  store i8 0, ptr %22, align 1, !tbaa !9
  br label %122, !llvm.loop !22

151:                                              ; preds = %126
  br label %152

152:                                              ; preds = %151
  store i8 0, ptr %22, align 1, !tbaa !9
  br label %115, !llvm.loop !23

153:                                              ; preds = %118
  br label %305

154:                                              ; preds = %48
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #8
  store i8 1, ptr %24, align 1, !tbaa !9
  br label %155

155:                                              ; preds = %192, %154
  %156 = load i8, ptr %24, align 1, !tbaa !9, !range !11, !noundef !12
  %157 = trunc i8 %156 to i1
  br i1 %157, label %159, label %158

158:                                              ; preds = %155
  store i32 26, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #8
  br label %193

159:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %160 = load ptr, ptr %11, align 8, !tbaa !5
  %161 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3HIR8TypeData10as_PointerEv(ptr noundef nonnull align 8 dereferenceable(184) %160)
  store ptr %161, ptr %25, align 8, !tbaa !5
  br label %162

162:                                              ; preds = %190, %159
  %163 = load ptr, ptr %25, align 8, !tbaa !5
  %164 = load i8, ptr %24, align 1, !tbaa !9, !range !11, !noundef !12
  %165 = trunc i8 %164 to i1
  br i1 %165, label %167, label %166

166:                                              ; preds = %162
  store i32 29, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %191

167:                                              ; preds = %162
  %168 = load ptr, ptr %25, align 8, !tbaa !5
  %169 = getelementptr inbounds %"struct.HIR::TypeData::Data_Pointer", ptr %168, i32 0, i32 0
  %170 = load i32, ptr %169, align 8, !tbaa !24
  switch i32 %170, label %189 [
    i32 0, label %171
    i32 1, label %177
    i32 2, label %183
  ]

171:                                              ; preds = %167
  %172 = load ptr, ptr %6, align 8, !tbaa !5
  %173 = load ptr, ptr %25, align 8, !tbaa !5
  %174 = getelementptr inbounds %"struct.HIR::TypeData::Data_Pointer", ptr %173, i32 0, i32 1
  %175 = load ptr, ptr %8, align 8, !tbaa !5
  %176 = getelementptr inbounds %"struct.HIR::InherentCache::Inner", ptr %36, i32 0, i32 4
  call void @_ZZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplEEN1H12insert_innerES4_S7_SA_RSt10unique_ptrIS1_St14default_deleteIS1_EE(ptr noundef nonnull align 8 dereferenceable(8) %172, ptr noundef nonnull align 8 dereferenceable(8) %174, ptr noundef nonnull align 8 dereferenceable(208) %175, ptr noundef nonnull align 8 dereferenceable(8) %176)
  br label %189

177:                                              ; preds = %167
  %178 = load ptr, ptr %6, align 8, !tbaa !5
  %179 = load ptr, ptr %25, align 8, !tbaa !5
  %180 = getelementptr inbounds %"struct.HIR::TypeData::Data_Pointer", ptr %179, i32 0, i32 1
  %181 = load ptr, ptr %8, align 8, !tbaa !5
  %182 = getelementptr inbounds %"struct.HIR::InherentCache::Inner", ptr %36, i32 0, i32 5
  call void @_ZZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplEEN1H12insert_innerES4_S7_SA_RSt10unique_ptrIS1_St14default_deleteIS1_EE(ptr noundef nonnull align 8 dereferenceable(8) %178, ptr noundef nonnull align 8 dereferenceable(8) %180, ptr noundef nonnull align 8 dereferenceable(208) %181, ptr noundef nonnull align 8 dereferenceable(8) %182)
  br label %189

183:                                              ; preds = %167
  %184 = load ptr, ptr %6, align 8, !tbaa !5
  %185 = load ptr, ptr %25, align 8, !tbaa !5
  %186 = getelementptr inbounds %"struct.HIR::TypeData::Data_Pointer", ptr %185, i32 0, i32 1
  %187 = load ptr, ptr %8, align 8, !tbaa !5
  %188 = getelementptr inbounds %"struct.HIR::InherentCache::Inner", ptr %36, i32 0, i32 6
  call void @_ZZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplEEN1H12insert_innerES4_S7_SA_RSt10unique_ptrIS1_St14default_deleteIS1_EE(ptr noundef nonnull align 8 dereferenceable(8) %184, ptr noundef nonnull align 8 dereferenceable(8) %186, ptr noundef nonnull align 8 dereferenceable(208) %187, ptr noundef nonnull align 8 dereferenceable(8) %188)
  br label %189

189:                                              ; preds = %183, %177, %171, %167
  br label %190

190:                                              ; preds = %189
  store i8 0, ptr %24, align 1, !tbaa !9
  br label %162, !llvm.loop !26

191:                                              ; preds = %166
  br label %192

192:                                              ; preds = %191
  store i8 0, ptr %24, align 1, !tbaa !9
  br label %155, !llvm.loop !27

193:                                              ; preds = %158
  br label %305

194:                                              ; preds = %48
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #8
  store i8 1, ptr %26, align 1, !tbaa !9
  br label %195

195:                                              ; preds = %303, %194
  %196 = load i8, ptr %26, align 1, !tbaa !9, !range !11, !noundef !12
  %197 = trunc i8 %196 to i1
  br i1 %197, label %199, label %198

198:                                              ; preds = %195
  store i32 33, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #8
  br label %304

199:                                              ; preds = %195
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %200 = load ptr, ptr %11, align 8, !tbaa !5
  %201 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNK3HIR8TypeData7as_PathEv(ptr noundef nonnull align 8 dereferenceable(184) %200)
  store ptr %201, ptr %27, align 8, !tbaa !5
  br label %202

202:                                              ; preds = %299, %199
  %203 = load ptr, ptr %27, align 8, !tbaa !5
  %204 = load i8, ptr %26, align 1, !tbaa !9, !range !11, !noundef !12
  %205 = trunc i8 %204 to i1
  br i1 %205, label %207, label %206

206:                                              ; preds = %202
  store i32 36, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %302

207:                                              ; preds = %202
  br label %208

208:                                              ; preds = %207
  %209 = load ptr, ptr %27, align 8, !tbaa !5
  %210 = getelementptr inbounds %"struct.HIR::TypeData_Path", ptr %209, i32 0, i32 0
  %211 = getelementptr inbounds %"class.HIR::Path", ptr %210, i32 0, i32 0
  %212 = call noundef zeroext i1 @_ZNK3HIR4Path4Data10is_GenericEv(ptr noundef nonnull align 8 dereferenceable(88) %211)
  br i1 %212, label %228, label %213

213:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %214 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %214)
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %215 = getelementptr inbounds %class.anon.94, ptr %30, i32 0, i32 0
  %216 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %216, ptr %215, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR13InherentCache5Inner6insertERK4SpanRKNS4_7TypeRefERKNS4_8TypeImplEE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef %29)
          to label %217 unwind label %220

217:                                              ; preds = %213
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  %218 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %218, ptr noundef @.str.2)
          to label %219 unwind label %224

219:                                              ; preds = %217
  call void @__cxa_throw(ptr %218, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #10
  unreachable

220:                                              ; preds = %213
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %15, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %16, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  br label %301

224:                                              ; preds = %217
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %15, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %16, align 4
  call void @__cxa_free_exception(ptr %218) #8
  br label %301

228:                                              ; preds = %208
  br label %229

229:                                              ; preds = %228
  br label %230

230:                                              ; preds = %229
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %231 = load ptr, ptr %27, align 8, !tbaa !5
  %232 = getelementptr inbounds %"struct.HIR::TypeData_Path", ptr %231, i32 0, i32 0
  %233 = getelementptr inbounds %"class.HIR::Path", ptr %232, i32 0, i32 0
  %234 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3HIR4Path4Data10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(88) %233)
  store ptr %234, ptr %31, align 8, !tbaa !5
  br label %235

235:                                              ; preds = %230
  %236 = load ptr, ptr %31, align 8, !tbaa !5
  %237 = getelementptr inbounds %"class.HIR::GenericPath", ptr %236, i32 0, i32 1
  %238 = getelementptr inbounds %"struct.HIR::PathParams", ptr %237, i32 0, i32 1
  %239 = call noundef i64 @_ZNK10ThinVectorIN3HIR7TypeRefEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(8) %238)
  %240 = icmp ugt i64 %239, 0
  br i1 %240, label %256, label %241

241:                                              ; preds = %235
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %242 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %242)
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %243 = getelementptr inbounds %class.anon.95, ptr %34, i32 0, i32 0
  %244 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %244, ptr %243, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR13InherentCache5Inner6insertERK4SpanRKNS4_7TypeRefERKNS4_8TypeImplEE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef %33)
          to label %245 unwind label %248

245:                                              ; preds = %241
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  %246 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %246, ptr noundef @.str.2)
          to label %247 unwind label %252

247:                                              ; preds = %245
  call void @__cxa_throw(ptr %246, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #10
  unreachable

248:                                              ; preds = %241
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %15, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %16, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %300

252:                                              ; preds = %245
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %15, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %16, align 4
  call void @__cxa_free_exception(ptr %246) #8
  br label %300

256:                                              ; preds = %235
  br label %257

257:                                              ; preds = %256
  br label %258

258:                                              ; preds = %257
  br label %259

259:                                              ; preds = %258
  %260 = call noundef zeroext i1 @_Z13debug_enabledv()
  br i1 %260, label %261, label %286

261:                                              ; preds = %259
  %262 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !28
  %263 = call noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %262, ptr noundef @__FUNCTION__._ZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplE)
  %264 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %263, ptr noundef @.str.3)
  %265 = load ptr, ptr %31, align 8, !tbaa !5
  %266 = getelementptr inbounds %"class.HIR::GenericPath", ptr %265, i32 0, i32 0
  %267 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(8) %264, ptr noundef nonnull align 8 dereferenceable(8) %266)
  %268 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %267, ptr noundef @.str.4)
  %269 = load ptr, ptr %31, align 8, !tbaa !5
  %270 = getelementptr inbounds %"class.HIR::GenericPath", ptr %269, i32 0, i32 1
  %271 = getelementptr inbounds %"struct.HIR::PathParams", ptr %270, i32 0, i32 1
  %272 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK10ThinVectorIN3HIR7TypeRefEE2atEm(ptr noundef nonnull align 8 dereferenceable(8) %271, i64 noundef 0)
  %273 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %268, ptr noundef nonnull align 8 dereferenceable(8) %272)
  %274 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %273, ptr noundef @.str.5)
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %275 = load ptr, ptr %8, align 8, !tbaa !5
  %276 = getelementptr inbounds %"class.HIR::TypeImpl", ptr %275, i32 0, i32 0
  %277 = call ptr @_ZNK3HIR13GenericParams8fmt_argsEv(ptr noundef nonnull align 8 dereferenceable(96) %276)
  %278 = getelementptr inbounds %"struct.HIR::GenericParams::PrintArgs", ptr %35, i32 0, i32 0
  store ptr %277, ptr %278, align 8
  %279 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_13GenericParams9PrintArgsE(ptr noundef nonnull align 8 dereferenceable(8) %274, ptr noundef nonnull align 8 dereferenceable(8) %35)
  %280 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %279, ptr noundef @.str.6)
  %281 = load ptr, ptr %8, align 8, !tbaa !5
  %282 = getelementptr inbounds %"class.HIR::TypeImpl", ptr %281, i32 0, i32 1
  %283 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %280, ptr noundef nonnull align 8 dereferenceable(8) %282)
  %284 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %283, ptr noundef @_ZSt3decRSt8ios_base)
  %285 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %284, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  br label %286

286:                                              ; preds = %261, %259
  br label %287

287:                                              ; preds = %286
  br label %288

288:                                              ; preds = %287
  %289 = getelementptr inbounds %"struct.HIR::InherentCache::Inner", ptr %36, i32 0, i32 7
  %290 = load ptr, ptr %31, align 8, !tbaa !5
  %291 = getelementptr inbounds %"class.HIR::GenericPath", ptr %290, i32 0, i32 0
  %292 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNSt3mapIN3HIR10SimplePathENS0_13InherentCache5InnerESt4lessIS1_ESaISt4pairIKS1_S3_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48) %289, ptr noundef nonnull align 8 dereferenceable(8) %291)
  %293 = load ptr, ptr %6, align 8, !tbaa !5
  %294 = load ptr, ptr %31, align 8, !tbaa !5
  %295 = getelementptr inbounds %"class.HIR::GenericPath", ptr %294, i32 0, i32 1
  %296 = getelementptr inbounds %"struct.HIR::PathParams", ptr %295, i32 0, i32 1
  %297 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK10ThinVectorIN3HIR7TypeRefEE2atEm(ptr noundef nonnull align 8 dereferenceable(8) %296, i64 noundef 0)
  %298 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplE(ptr noundef nonnull align 8 dereferenceable(192) %292, ptr noundef nonnull align 8 dereferenceable(8) %293, ptr noundef nonnull align 8 dereferenceable(8) %297, ptr noundef nonnull align 8 dereferenceable(208) %298)
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %299

299:                                              ; preds = %288
  store i8 0, ptr %26, align 1, !tbaa !9
  br label %202, !llvm.loop !29

300:                                              ; preds = %252, %248
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %301

301:                                              ; preds = %300, %224, %220
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #8
  br label %307

302:                                              ; preds = %206
  br label %303

303:                                              ; preds = %302
  store i8 0, ptr %26, align 1, !tbaa !9
  br label %195, !llvm.loop !30

304:                                              ; preds = %198
  br label %305

305:                                              ; preds = %304, %193, %153, %113, %69
  br label %306

306:                                              ; preds = %305
  store i8 0, ptr %9, align 1, !tbaa !9
  br label %44, !llvm.loop !31

307:                                              ; preds = %301, %110, %64, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #8
  br label %311

308:                                              ; preds = %47
  br label %309

309:                                              ; preds = %308
  store i8 0, ptr %9, align 1, !tbaa !9
  br label %37, !llvm.loop !32

310:                                              ; preds = %40
  ret void

311:                                              ; preds = %307
  %312 = load ptr, ptr %15, align 8
  %313 = load i32, ptr %16, align 4
  %314 = insertvalue { ptr, i32 } poison, ptr %312, 0
  %315 = insertvalue { ptr, i32 } %314, i32 %313, 1
  resume { ptr, i32 } %315
}

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

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

declare void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5

declare void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #6

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #5

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #6

declare void @__cxa_throw(ptr, ptr, ptr)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZN3HIR13InherentCache5Inner6insertERK4SpanRKNS4_7TypeRefERKNS4_8TypeImplEE3$_1vEEOT_"(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(16) ptr @_ZNK3HIR8TypeData9as_BorrowEv(ptr noundef nonnull align 8 dereferenceable(184)) #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplEEN1H12insert_innerES4_S7_SA_RSt10unique_ptrIS1_St14default_deleteIS1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(208), ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZN3HIR13InherentCache5Inner6insertERK4SpanRKNS4_7TypeRefERKNS4_8TypeImplEE3$_2vEEOT_"(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(32) ptr @_ZNK3HIR4Path4Data10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(88)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK10ThinVectorIN3HIR7TypeRefEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

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

declare noundef zeroext i1 @_Z13debug_enabledv() #5

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_13GenericParams9PrintArgsE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNK3HIR13GenericParams8fmt_argsEv(ptr noundef nonnull align 8 dereferenceable(96)) #0 align 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) #0 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)) #7

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(192) ptr @_ZNSt3mapIN3HIR10SimplePathENS0_13InherentCache5InnerESt4lessIS1_ESaISt4pairIKS1_S3_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8)) #0 align 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

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

!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, !20, i64 4}
!17 = !{!"_ZTSN3HIR8TypeData11Data_BorrowE", !18, i64 0, !20, i64 4, !21, i64 8}
!18 = !{!"_ZTSN3HIR11LifetimeRefE", !19, i64 0}
!19 = !{!"int", !7, i64 0}
!20 = !{!"_ZTSN3HIR10BorrowTypeE", !7, i64 0}
!21 = !{!"_ZTSN3HIR7TypeRefE", !6, i64 0}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14}
!24 = !{!25, !20, i64 0}
!25 = !{!"_ZTSN3HIR8TypeData12Data_PointerE", !20, i64 0, !21, i64 8}
!26 = distinct !{!26, !14}
!27 = distinct !{!27, !14}
!28 = !{!19, !19, i64 0}
!29 = distinct !{!29, !14}
!30 = distinct !{!30, !14}
!31 = distinct !{!31, !14}
!32 = distinct !{!32, !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"

%struct.Span = type { ptr }
%"class.std::function.77" = 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.79 = type { ptr }
%class.anon.93 = type { ptr }
%class.anon.94 = type { ptr }
%class.anon.95 = type { ptr }
%"struct.HIR::GenericParams::PrintArgs" = type { ptr }

@.str = external hidden unnamed_addr constant [39 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [81 x i8], align 1
@__PRETTY_FUNCTION__._ZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplE = external hidden unnamed_addr constant [98 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@g_debug_indent_level = external local_unnamed_addr global i32, align 4
@__FUNCTION__._ZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplE = 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 [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplE(ptr noundef nonnull align 8 dereferenceable(192) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(208) %3) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
.lr.ph154:
  %4 = alloca %struct.Span, align 8
  %5 = alloca %"class.std::function.77", align 8
  %6 = alloca %class.anon.79, align 8
  %7 = alloca %struct.Span, align 8
  %8 = alloca %"class.std::function.77", align 8
  %9 = alloca %class.anon.93, align 8
  %10 = alloca %struct.Span, align 8
  %11 = alloca %"class.std::function.77", align 8
  %12 = alloca %class.anon.94, align 8
  %13 = alloca %struct.Span, align 8
  %14 = alloca %"class.std::function.77", align 8
  %15 = alloca %class.anon.95, align 8
  %16 = alloca %"struct.HIR::GenericParams::PrintArgs", align 8
  %17 = getelementptr inbounds i8, ptr %3, i64 96
  %18 = getelementptr inbounds i8, ptr %0, i64 144
  %19 = getelementptr inbounds i8, ptr %0, i64 136
  %20 = getelementptr inbounds i8, ptr %0, i64 128
  %21 = getelementptr inbounds i8, ptr %0, i64 120
  %22 = getelementptr inbounds i8, ptr %0, i64 112
  %23 = getelementptr inbounds i8, ptr %0, i64 104
  %24 = getelementptr inbounds i8, ptr %0, i64 96
  %25 = tail call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %26 = tail call noundef i32 @_ZNK3HIR8TypeData3tagEv(ptr noundef nonnull align 8 dereferenceable(184) %25)
  switch i32 %26, label %35 [
    i32 0, label %34
    i32 5, label %.preheader
    i32 11, label %.preheader88
    i32 12, label %.preheader90
    i32 4, label %.lr.ph
  ]

.loopexit94:                                      ; preds = %..loopexit_crit_edge, %.preheader88, %50, %52, %54, %.preheader90, %56, %58, %60, %..loopexit86_crit_edge
  ret void

.preheader90:                                     ; preds = %.lr.ph154
  %27 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3HIR8TypeData10as_PointerEv(ptr noundef nonnull align 8 dereferenceable(184) %25)
  %28 = load i32, ptr %27, align 8, !tbaa !5
  switch i32 %28, label %.loopexit94 [
    i32 0, label %56
    i32 1, label %58
    i32 2, label %60
  ]

.preheader88:                                     ; preds = %.lr.ph154
  %29 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3HIR8TypeData9as_BorrowEv(ptr noundef nonnull align 8 dereferenceable(184) %25)
  %30 = getelementptr inbounds i8, ptr %29, i64 4
  %31 = load i32, ptr %30, align 4, !tbaa !12
  switch i32 %31, label %.loopexit94 [
    i32 0, label %50
    i32 1, label %52
    i32 2, label %54
  ]

.preheader:                                       ; preds = %.lr.ph154
  %32 = tail call noundef nonnull align 8 dereferenceable(12) ptr @_ZNK3HIR8TypeData10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(184) %25)
  %33 = tail call noundef zeroext i1 @_ZNK3HIR10GenericRef7is_selfEv(ptr noundef nonnull align 8 dereferenceable(12) %32)
  br i1 %33, label %..loopexit_crit_edge, label %.split

34:                                               ; preds = %.lr.ph154
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 69, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplE) #8
  unreachable

35:                                               ; preds = %.lr.ph154
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #9
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  store ptr %2, ptr %6, align 8, !tbaa !16
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR13InherentCache5Inner6insertERK4SpanRKNS4_7TypeRefERKNS4_8TypeImplEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull %5)
          to label %36 unwind label %39

36:                                               ; preds = %35
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  %37 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %37, ptr noundef nonnull @.str.2)
          to label %38 unwind label %41

38:                                               ; preds = %36
  call void @__cxa_throw(ptr nonnull %37, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #10
  unreachable

39:                                               ; preds = %35
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  br label %103

41:                                               ; preds = %36
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %37) #9
  br label %103

..loopexit_crit_edge:                             ; preds = %.preheader
  tail call void @_ZN3HIR13InherentCache6Lowest6insertERK4SpanRKNS_8TypeImplE(ptr noundef nonnull align 8 dereferenceable(96) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(208) %3)
  br label %.loopexit94

.split:                                           ; preds = %.preheader
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  store ptr %2, ptr %9, align 8, !tbaa !16
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR13InherentCache5Inner6insertERK4SpanRKNS4_7TypeRefERKNS4_8TypeImplEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #9
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull %8)
          to label %43 unwind label %46

43:                                               ; preds = %.split
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  %44 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull @.str.2)
          to label %45 unwind label %48

45:                                               ; preds = %43
  call void @__cxa_throw(ptr nonnull %44, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #10
  unreachable

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

48:                                               ; preds = %43
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %44) #9
  br label %103

50:                                               ; preds = %.preheader88
  %51 = getelementptr inbounds i8, ptr %29, i64 8
  tail call void @_ZZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplEEN1H12insert_innerES4_S7_SA_RSt10unique_ptrIS1_St14default_deleteIS1_EE(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull align 8 dereferenceable(208) %3, ptr noundef nonnull align 8 dereferenceable(8) %24)
  br label %.loopexit94

52:                                               ; preds = %.preheader88
  %53 = getelementptr inbounds i8, ptr %29, i64 8
  tail call void @_ZZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplEEN1H12insert_innerES4_S7_SA_RSt10unique_ptrIS1_St14default_deleteIS1_EE(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull align 8 dereferenceable(208) %3, ptr noundef nonnull align 8 dereferenceable(8) %23)
  br label %.loopexit94

54:                                               ; preds = %.preheader88
  %55 = getelementptr inbounds i8, ptr %29, i64 8
  tail call void @_ZZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplEEN1H12insert_innerES4_S7_SA_RSt10unique_ptrIS1_St14default_deleteIS1_EE(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef nonnull align 8 dereferenceable(208) %3, ptr noundef nonnull align 8 dereferenceable(8) %22)
  br label %.loopexit94

56:                                               ; preds = %.preheader90
  %57 = getelementptr inbounds i8, ptr %27, i64 8
  tail call void @_ZZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplEEN1H12insert_innerES4_S7_SA_RSt10unique_ptrIS1_St14default_deleteIS1_EE(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef nonnull align 8 dereferenceable(208) %3, ptr noundef nonnull align 8 dereferenceable(8) %21)
  br label %.loopexit94

58:                                               ; preds = %.preheader90
  %59 = getelementptr inbounds i8, ptr %27, i64 8
  tail call void @_ZZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplEEN1H12insert_innerES4_S7_SA_RSt10unique_ptrIS1_St14default_deleteIS1_EE(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %59, ptr noundef nonnull align 8 dereferenceable(208) %3, ptr noundef nonnull align 8 dereferenceable(8) %20)
  br label %.loopexit94

60:                                               ; preds = %.preheader90
  %61 = getelementptr inbounds i8, ptr %27, i64 8
  tail call void @_ZZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplEEN1H12insert_innerES4_S7_SA_RSt10unique_ptrIS1_St14default_deleteIS1_EE(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef nonnull align 8 dereferenceable(208) %3, ptr noundef nonnull align 8 dereferenceable(8) %19)
  br label %.loopexit94

.lr.ph:                                           ; preds = %.lr.ph154
  %62 = tail call noundef nonnull align 8 dereferenceable(112) ptr @_ZNK3HIR8TypeData7as_PathEv(ptr noundef nonnull align 8 dereferenceable(184) %25)
  %63 = tail call noundef zeroext i1 @_ZNK3HIR4Path4Data10is_GenericEv(ptr noundef nonnull align 8 dereferenceable(88) %62)
  br i1 %63, label %72, label %64

64:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #9
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  store ptr %2, ptr %12, align 8, !tbaa !16
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR13InherentCache5Inner6insertERK4SpanRKNS4_7TypeRefERKNS4_8TypeImplEE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull %11)
          to label %65 unwind label %68

65:                                               ; preds = %64
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  %66 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %66, ptr noundef nonnull @.str.2)
          to label %67 unwind label %70

67:                                               ; preds = %65
  call void @__cxa_throw(ptr nonnull %66, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #10
  unreachable

68:                                               ; preds = %64
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  br label %103

70:                                               ; preds = %65
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %66) #9
  br label %103

72:                                               ; preds = %.lr.ph
  %73 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3HIR4Path4Data10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(88) %62)
  %74 = getelementptr inbounds i8, ptr %73, i64 16
  %75 = tail call noundef i64 @_ZNK10ThinVectorIN3HIR7TypeRefEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(8) %74)
  %.not = icmp eq i64 %75, 0
  br i1 %.not, label %76, label %84

76:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #9
  store ptr %2, ptr %15, align 8, !tbaa !16
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR13InherentCache5Inner6insertERK4SpanRKNS4_7TypeRefERKNS4_8TypeImplEE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #9
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull %14)
          to label %77 unwind label %80

77:                                               ; preds = %76
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  %78 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %78, ptr noundef nonnull @.str.2)
          to label %79 unwind label %82

79:                                               ; preds = %77
  call void @__cxa_throw(ptr nonnull %78, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #10
  unreachable

80:                                               ; preds = %76
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  br label %103

82:                                               ; preds = %77
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %78) #9
  br label %103

84:                                               ; preds = %72
  %85 = tail call noundef zeroext i1 @_Z13debug_enabledv()
  br i1 %85, label %86, label %..loopexit86_crit_edge

86:                                               ; preds = %84
  %87 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !17
  %88 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %87, ptr noundef nonnull @__FUNCTION__._ZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplE)
  %89 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull @.str.3)
  %90 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(8) %89, ptr noundef nonnull align 8 dereferenceable(8) %73)
  %91 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef nonnull @.str.4)
  %92 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK10ThinVectorIN3HIR7TypeRefEE2atEm(ptr noundef nonnull align 8 dereferenceable(8) %74, i64 noundef 0)
  %93 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %91, ptr noundef nonnull align 8 dereferenceable(8) %92)
  %94 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %93, ptr noundef nonnull @.str.5)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #9
  %95 = tail call ptr @_ZNK3HIR13GenericParams8fmt_argsEv(ptr noundef nonnull align 8 dereferenceable(96) %3)
  store ptr %95, ptr %16, align 8
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_13GenericParams9PrintArgsE(ptr noundef nonnull align 8 dereferenceable(8) %94, ptr noundef nonnull align 8 dereferenceable(8) %16)
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %96, ptr noundef nonnull @.str.6)
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %97, ptr noundef nonnull align 8 dereferenceable(8) %17)
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %98, ptr noundef nonnull @_ZSt3decRSt8ios_base)
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %99, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  br label %..loopexit86_crit_edge

..loopexit86_crit_edge:                           ; preds = %86, %84
  %101 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNSt3mapIN3HIR10SimplePathENS0_13InherentCache5InnerESt4lessIS1_ESaISt4pairIKS1_S3_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48) %18, ptr noundef nonnull align 8 dereferenceable(8) %73)
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK10ThinVectorIN3HIR7TypeRefEE2atEm(ptr noundef nonnull align 8 dereferenceable(8) %74, i64 noundef 0)
  call void @_ZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplE(ptr noundef nonnull align 8 dereferenceable(192) %101, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %102, ptr noundef nonnull align 8 dereferenceable(208) %3)
  br label %.loopexit94

103:                                              ; preds = %68, %70, %82, %80, %46, %48, %41, %39
  %.pn82 = phi { ptr, i32 } [ %42, %41 ], [ %40, %39 ], [ %49, %48 ], [ %47, %46 ], [ %71, %70 ], [ %69, %68 ], [ %83, %82 ], [ %81, %80 ]
  resume { ptr, i32 } %.pn82
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3HIR8TypeData3tagEv(ptr noundef nonnull align 8 dereferenceable(184)) 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

declare void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5

declare void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #5

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #6

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #5

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #6

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZN3HIR13InherentCache5Inner6insertERK4SpanRKNS4_7TypeRefERKNS4_8TypeImplEE3$_1vEEOT_"(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(16) ptr @_ZNK3HIR8TypeData9as_BorrowEv(ptr noundef nonnull align 8 dereferenceable(184)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZZN3HIR13InherentCache5Inner6insertERK4SpanRKNS_7TypeRefERKNS_8TypeImplEEN1H12insert_innerES4_S7_SA_RSt10unique_ptrIS1_St14default_deleteIS1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(208), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZN3HIR13InherentCache5Inner6insertERK4SpanRKNS4_7TypeRefERKNS4_8TypeImplEE3$_2vEEOT_"(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(32) ptr @_ZNK3HIR4Path4Data10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #3 align 2

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

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

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #5

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_13GenericParams9PrintArgsE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNK3HIR13GenericParams8fmt_argsEv(ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #0 align 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 #0 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)) #7

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(192) ptr @_ZNSt3mapIN3HIR10SimplePathENS0_13InherentCache5InnerESt4lessIS1_ESaISt4pairIKS1_S3_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 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

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

!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, !7, i64 0}
!6 = !{!"_ZTSN3HIR8TypeData12Data_PointerE", !7, i64 0, !10, i64 8}
!7 = !{!"_ZTSN3HIR10BorrowTypeE", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN3HIR7TypeRefE", !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 4}
!13 = !{!"_ZTSN3HIR8TypeData11Data_BorrowE", !14, i64 0, !7, i64 4, !10, i64 8}
!14 = !{!"_ZTSN3HIR11LifetimeRefE", !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!11, !11, i64 0}
!17 = !{!15, !15, i64 0}


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