; LLVM IR from thepowersgang/mrustc :: src/hir_typeck (expr_cs)

; 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.__gnu_cxx::__normal_iterator.476" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.497" = type { ptr }
%"struct.HIR::TypeData_Path" = type { %"class.HIR::Path", %"class.HIR::TypePathBinding", %"class.std::unique_ptr.91" }
%"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.91" }
%"class.HIR::TypeRef" = type { 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.69, %class.ThinVector.70, %class.ThinVector.71 }
%class.ThinVector.69 = type { ptr }
%class.ThinVector.70 = type { ptr }
%class.ThinVector.71 = type { ptr }
%"class.HIR::TypePathBinding" = type { i32, %"union.HIR::TypePathBinding::DataUnion" }
%"union.HIR::TypePathBinding::DataUnion" = type { ptr }
%"class.std::unique_ptr.91" = type { %"struct.std::__uniq_ptr_data.92" }
%"struct.std::__uniq_ptr_data.92" = type { %"class.std::__uniq_ptr_impl.93" }
%"class.std::__uniq_ptr_impl.93" = type { %"class.std::tuple.94" }
%"class.std::tuple.94" = type { %"struct.std::_Tuple_impl.95" }
%"struct.std::_Tuple_impl.95" = type { %"struct.std::_Head_base.98" }
%"struct.std::_Head_base.98" = type { ptr }
%"struct.HIR::TypeData::Data_Borrow" = type { %"struct.HIR::LifetimeRef", i32, %"class.HIR::TypeRef" }
%"struct.HIR::LifetimeRef" = type { i32 }
%"struct.HIR::TypeData::Data_Array" = type { %"class.HIR::TypeRef", %"class.HIR::ArraySize" }
%"class.HIR::ArraySize" = type { i32, %"union.HIR::ArraySize::DataUnion" }
%"union.HIR::ArraySize::DataUnion" = type { %"class.HIR::ConstGeneric" }
%"class.HIR::ConstGeneric" = type { i32, %"union.HIR::ConstGeneric::DataUnion" }
%"union.HIR::ConstGeneric::DataUnion" = type { %"class.std::unique_ptr.125", [8 x i8] }
%"class.std::unique_ptr.125" = type { %"struct.std::__uniq_ptr_data.126" }
%"struct.std::__uniq_ptr_data.126" = type { %"class.std::__uniq_ptr_impl.127" }
%"class.std::__uniq_ptr_impl.127" = type { %"class.std::tuple.128" }
%"class.std::tuple.128" = type { %"struct.std::_Tuple_impl.129" }
%"struct.std::_Tuple_impl.129" = type { %"struct.std::_Head_base.132" }
%"struct.std::_Head_base.132" = type { ptr }
%"struct.HIR::TypeData::Data_Slice" = type { %"class.HIR::TypeRef" }
%"struct.HIR::TypeData::Data_Closure" = type { ptr }
%"struct.HIR::ExprNode_Closure" = type { %"class.HIR::ExprNode.base", %"class.std::vector.477", %"class.HIR::TypeRef", %"class.std::unique_ptr.60", i8, i32, i8, %"struct.HIR::ExprNode_Closure::AvuCache", %"struct.HIR::LifetimeRef", ptr, %"class.HIR::GenericPath", %"class.HIR::GenericPath", %"class.std::vector.492" }
%"class.HIR::ExprNode.base" = type <{ ptr, %struct.Span, %"class.HIR::TypeRef", i32 }>
%struct.Span = type { ptr }
%"class.std::vector.477" = type { %"struct.std::_Vector_base.478" }
%"struct.std::_Vector_base.478" = type { %"struct.std::_Vector_base<std::pair<HIR::Pattern, HIR::TypeRef>, std::allocator<std::pair<HIR::Pattern, HIR::TypeRef>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<HIR::Pattern, HIR::TypeRef>, std::allocator<std::pair<HIR::Pattern, HIR::TypeRef>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<HIR::Pattern, HIR::TypeRef>, std::allocator<std::pair<HIR::Pattern, HIR::TypeRef>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<HIR::Pattern, HIR::TypeRef>, std::allocator<std::pair<HIR::Pattern, HIR::TypeRef>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_ptr.60" = type { %"struct.std::__uniq_ptr_data.61" }
%"struct.std::__uniq_ptr_data.61" = type { %"class.std::__uniq_ptr_impl.62" }
%"class.std::__uniq_ptr_impl.62" = type { %"class.std::tuple.63" }
%"class.std::tuple.63" = type { %"struct.std::_Tuple_impl.64" }
%"struct.std::_Tuple_impl.64" = type { %"struct.std::_Head_base.67" }
%"struct.std::_Head_base.67" = type { ptr }
%"struct.HIR::ExprNode_Closure::AvuCache" = type { %"class.std::vector.482", %"class.std::vector.487" }
%"class.std::vector.482" = type { %"struct.std::_Vector_base.483" }
%"struct.std::_Vector_base.483" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.487" = type { %"struct.std::_Vector_base.488" }
%"struct.std::_Vector_base.488" = type { %"struct.std::_Vector_base<HIR::ExprNode_Closure::AvuCache::Capture, std::allocator<HIR::ExprNode_Closure::AvuCache::Capture>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::ExprNode_Closure::AvuCache::Capture, std::allocator<HIR::ExprNode_Closure::AvuCache::Capture>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::ExprNode_Closure::AvuCache::Capture, std::allocator<HIR::ExprNode_Closure::AvuCache::Capture>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::ExprNode_Closure::AvuCache::Capture, std::allocator<HIR::ExprNode_Closure::AvuCache::Capture>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.492" = type { %"struct.std::_Vector_base.493" }
%"struct.std::_Vector_base.493" = type { %"struct.std::_Vector_base<std::unique_ptr<HIR::ExprNode>, std::allocator<std::unique_ptr<HIR::ExprNode>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<HIR::ExprNode>, std::allocator<std::unique_ptr<HIR::ExprNode>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<HIR::ExprNode>, std::allocator<std::unique_ptr<HIR::ExprNode>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<HIR::ExprNode>, std::allocator<std::unique_ptr<HIR::ExprNode>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.498" = type { %"struct.HIR::Pattern", %"class.HIR::TypeRef" }
%"struct.HIR::Pattern" = type <{ %"class.std::vector.198", %"class.HIR::Pattern::Data", i32, [4 x i8] }>
%"class.std::vector.198" = type { %"struct.std::_Vector_base.199" }
%"struct.std::_Vector_base.199" = type { %"struct.std::_Vector_base<HIR::PatternBinding, std::allocator<HIR::PatternBinding>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::PatternBinding, std::allocator<HIR::PatternBinding>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::PatternBinding, std::allocator<HIR::PatternBinding>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::PatternBinding, std::allocator<HIR::PatternBinding>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.HIR::Pattern::Data" = type { i32, %"union.HIR::Pattern::Data::DataUnion" }
%"union.HIR::Pattern::Data::DataUnion" = type { %"struct.HIR::Pattern::Data::Data_PathValue", [64 x i8] }
%"struct.HIR::Pattern::Data::Data_PathValue" = type { %"class.HIR::Path", %"class.HIR::Pattern::PathBinding" }
%"class.HIR::Pattern::PathBinding" = type { i32, %"union.HIR::Pattern::PathBinding::DataUnion" }
%"union.HIR::Pattern::PathBinding::DataUnion" = type { %"struct.HIR::Pattern::PathBinding::Data_Enum" }
%"struct.HIR::Pattern::PathBinding::Data_Enum" = type { ptr, i32 }
%"struct.HIR::TypeData::Data_Infer" = type { i32, i32 }

@.str.20 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [81 x i8], align 1
@__PRETTY_FUNCTION__._ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE = external hidden unnamed_addr constant [107 x i8], align 1

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7Context8get_typeERKN3HIR7TypeRefE(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(8)) #4 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)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE(ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, i32 noundef %3) #4 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i8, align 1
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i8, align 1
  %13 = alloca ptr, align 8
  %14 = alloca i8, align 1
  %15 = alloca ptr, align 8
  %16 = alloca i8, align 1
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i8, align 1
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.476", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.476", align 8
  %27 = alloca ptr, align 8
  %28 = alloca i8, align 1
  %29 = alloca ptr, align 8
  %30 = alloca i8, align 1
  %31 = alloca ptr, align 8
  %32 = alloca i8, align 1
  %33 = alloca ptr, align 8
  %34 = alloca i8, align 1
  %35 = alloca ptr, align 8
  %36 = alloca ptr, align 8
  %37 = alloca %"class.__gnu_cxx::__normal_iterator.497", align 8
  %38 = alloca %"class.__gnu_cxx::__normal_iterator.497", align 8
  %39 = alloca ptr, align 8
  %40 = alloca i8, align 1
  %41 = alloca ptr, 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 i32 %3, ptr %8, align 4, !tbaa !9
  %42 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #5
  store i8 1, ptr %9, align 1, !tbaa !11
  br label %43

43:                                               ; preds = %313, %4
  %44 = load i8, ptr %9, align 1, !tbaa !11, !range !13, !noundef !14
  %45 = trunc i8 %44 to i1
  br i1 %45, label %47, label %46

46:                                               ; preds = %43
  store i32 2, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #5
  br label %314

47:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7Context8get_typeERKN3HIR7TypeRefE(ptr noundef nonnull align 8 dereferenceable(592) %42, ptr noundef nonnull align 8 dereferenceable(8) %48)
  %50 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %49)
  store ptr %50, ptr %11, align 8, !tbaa !5
  br label %51

51:                                               ; preds = %311, %47
  %52 = load i8, ptr %9, align 1, !tbaa !11, !range !13, !noundef !14
  %53 = trunc i8 %52 to i1
  br i1 %53, label %55, label %54

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

55:                                               ; preds = %51
  %56 = load ptr, ptr %11, align 8, !tbaa !5
  %57 = call noundef i32 @_ZNK3HIR8TypeData3tagEv(ptr noundef nonnull align 8 dereferenceable(184) %56)
  switch i32 %57, label %59 [
    i32 0, label %58
    i32 4, label %60
    i32 10, label %139
    i32 11, label %175
    i32 8, label %197
    i32 9, label %219
    i32 15, label %241
    i32 1, label %287
  ]

58:                                               ; preds = %55
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.21, i32 noundef 3674, ptr noundef @__PRETTY_FUNCTION__._ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE) #6
  unreachable

59:                                               ; preds = %55
  br label %310

60:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #5
  store i8 1, ptr %12, align 1, !tbaa !11
  br label %61

61:                                               ; preds = %137, %60
  %62 = load i8, ptr %12, align 1, !tbaa !11, !range !13, !noundef !14
  %63 = trunc i8 %62 to i1
  br i1 %63, label %65, label %64

64:                                               ; preds = %61
  store i32 9, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  br label %138

65:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %66 = load ptr, ptr %11, align 8, !tbaa !5
  %67 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNK3HIR8TypeData7as_PathEv(ptr noundef nonnull align 8 dereferenceable(184) %66)
  store ptr %67, ptr %13, align 8, !tbaa !5
  br label %68

68:                                               ; preds = %135, %65
  %69 = load ptr, ptr %13, align 8, !tbaa !5
  %70 = load i8, ptr %12, align 1, !tbaa !11, !range !13, !noundef !14
  %71 = trunc i8 %70 to i1
  br i1 %71, label %73, label %72

72:                                               ; preds = %68
  store i32 12, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %136

73:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #5
  store i8 1, ptr %14, align 1, !tbaa !11
  br label %74

74:                                               ; preds = %133, %73
  %75 = load i8, ptr %14, align 1, !tbaa !11, !range !13, !noundef !14
  %76 = trunc i8 %75 to i1
  br i1 %76, label %78, label %77

77:                                               ; preds = %74
  store i32 15, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #5
  br label %134

78:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %79 = load ptr, ptr %13, align 8, !tbaa !5
  %80 = getelementptr inbounds %"struct.HIR::TypeData_Path", ptr %79, i32 0, i32 0
  %81 = getelementptr inbounds %"class.HIR::Path", ptr %80, i32 0, i32 0
  store ptr %81, ptr %15, align 8, !tbaa !5
  br label %82

82:                                               ; preds = %131, %78
  %83 = load i8, ptr %14, align 1, !tbaa !11, !range !13, !noundef !14
  %84 = trunc i8 %83 to i1
  br i1 %84, label %86, label %85

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

86:                                               ; preds = %82
  %87 = load ptr, ptr %15, align 8, !tbaa !5
  %88 = call noundef i32 @_ZNK3HIR4Path4Data3tagEv(ptr noundef nonnull align 8 dereferenceable(88) %87)
  switch i32 %88, label %90 [
    i32 0, label %89
    i32 1, label %91
  ]

89:                                               ; preds = %86
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.21, i32 noundef 3678, ptr noundef @__PRETTY_FUNCTION__._ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE) #6
  unreachable

90:                                               ; preds = %86
  br label %130

91:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #5
  store i8 1, ptr %16, align 1, !tbaa !11
  br label %92

92:                                               ; preds = %128, %91
  %93 = load i8, ptr %16, align 1, !tbaa !11, !range !13, !noundef !14
  %94 = trunc i8 %93 to i1
  br i1 %94, label %96, label %95

95:                                               ; preds = %92
  store i32 22, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  br label %129

96:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %97 = load ptr, ptr %15, align 8, !tbaa !5
  %98 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3HIR4Path4Data10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(88) %97)
  store ptr %98, ptr %17, align 8, !tbaa !5
  br label %99

99:                                               ; preds = %126, %96
  %100 = load ptr, ptr %17, align 8, !tbaa !5
  %101 = load i8, ptr %16, align 1, !tbaa !11, !range !13, !noundef !14
  %102 = trunc i8 %101 to i1
  br i1 %102, label %104, label %103

103:                                              ; preds = %99
  store i32 25, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br label %127

104:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %105 = load ptr, ptr %17, align 8, !tbaa !5
  %106 = getelementptr inbounds %"class.HIR::GenericPath", ptr %105, i32 0, i32 1
  %107 = getelementptr inbounds %"struct.HIR::PathParams", ptr %106, i32 0, i32 1
  store ptr %107, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %108 = load ptr, ptr %18, align 8, !tbaa !5
  %109 = call noundef ptr @_ZNK10ThinVectorIN3HIR7TypeRefEE5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %108)
  store ptr %109, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %110 = load ptr, ptr %18, align 8, !tbaa !5
  %111 = call noundef ptr @_ZNK10ThinVectorIN3HIR7TypeRefEE3endEv(ptr noundef nonnull align 8 dereferenceable(8) %110)
  store ptr %111, ptr %20, align 8, !tbaa !5
  br label %112

112:                                              ; preds = %122, %104
  %113 = load ptr, ptr %19, align 8, !tbaa !5
  %114 = load ptr, ptr %20, align 8, !tbaa !5
  %115 = icmp ne ptr %113, %114
  br i1 %115, label %117, label %116

116:                                              ; preds = %112
  store i32 28, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %125

117:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %118 = load ptr, ptr %19, align 8, !tbaa !5
  store ptr %118, ptr %21, align 8, !tbaa !5
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  %120 = load ptr, ptr %21, align 8, !tbaa !5
  %121 = load i32, ptr %8, align 4, !tbaa !9
  call void @_ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE(ptr noundef nonnull align 8 dereferenceable(592) %42, ptr noundef nonnull align 8 dereferenceable(8) %119, ptr noundef nonnull align 8 dereferenceable(8) %120, i32 noundef %121)
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br label %122

122:                                              ; preds = %117
  %123 = load ptr, ptr %19, align 8, !tbaa !5
  %124 = getelementptr inbounds %"class.HIR::TypeRef", ptr %123, i32 1
  store ptr %124, ptr %19, align 8, !tbaa !5
  br label %112

125:                                              ; preds = %116
  br label %126

126:                                              ; preds = %125
  store i8 0, ptr %16, align 1, !tbaa !11
  br label %99, !llvm.loop !15

127:                                              ; preds = %103
  br label %128

128:                                              ; preds = %127
  store i8 0, ptr %16, align 1, !tbaa !11
  br label %92, !llvm.loop !17

129:                                              ; preds = %95
  br label %130

130:                                              ; preds = %129, %90
  br label %131

131:                                              ; preds = %130
  store i8 0, ptr %14, align 1, !tbaa !11
  br label %82, !llvm.loop !18

132:                                              ; preds = %85
  br label %133

133:                                              ; preds = %132
  store i8 0, ptr %14, align 1, !tbaa !11
  br label %74, !llvm.loop !19

134:                                              ; preds = %77
  br label %135

135:                                              ; preds = %134
  store i8 0, ptr %12, align 1, !tbaa !11
  br label %68, !llvm.loop !20

136:                                              ; preds = %72
  br label %137

137:                                              ; preds = %136
  store i8 0, ptr %12, align 1, !tbaa !11
  br label %61, !llvm.loop !21

138:                                              ; preds = %64
  br label %310

139:                                              ; preds = %55
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #5
  store i8 1, ptr %22, align 1, !tbaa !11
  br label %140

140:                                              ; preds = %173, %139
  %141 = load i8, ptr %22, align 1, !tbaa !11, !range !13, !noundef !14
  %142 = trunc i8 %141 to i1
  br i1 %142, label %144, label %143

143:                                              ; preds = %140
  store i32 30, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #5
  br label %174

144:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %145 = load ptr, ptr %11, align 8, !tbaa !5
  %146 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3HIR8TypeData8as_TupleEv(ptr noundef nonnull align 8 dereferenceable(184) %145)
  store ptr %146, ptr %23, align 8, !tbaa !5
  br label %147

147:                                              ; preds = %171, %144
  %148 = load ptr, ptr %23, align 8, !tbaa !5
  %149 = load i8, ptr %22, align 1, !tbaa !11, !range !13, !noundef !14
  %150 = trunc i8 %149 to i1
  br i1 %150, label %152, label %151

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

152:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %153 = load ptr, ptr %23, align 8, !tbaa !5
  store ptr %153, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %154 = load ptr, ptr %24, align 8, !tbaa !5
  %155 = call ptr @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %154) #5
  %156 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.476", ptr %25, i32 0, i32 0
  store ptr %155, ptr %156, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %157 = load ptr, ptr %24, align 8, !tbaa !5
  %158 = call ptr @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %157) #5
  %159 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.476", ptr %26, i32 0, i32 0
  store ptr %158, ptr %159, align 8
  br label %160

160:                                              ; preds = %168, %152
  %161 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #5
  br i1 %161, label %163, label %162

162:                                              ; preds = %160
  store i32 36, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %170

163:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %164 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #5
  store ptr %164, ptr %27, align 8, !tbaa !5
  %165 = load ptr, ptr %6, align 8, !tbaa !5
  %166 = load ptr, ptr %27, align 8, !tbaa !5
  %167 = load i32, ptr %8, align 4, !tbaa !9
  call void @_ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE(ptr noundef nonnull align 8 dereferenceable(592) %42, ptr noundef nonnull align 8 dereferenceable(8) %165, ptr noundef nonnull align 8 dereferenceable(8) %166, i32 noundef %167)
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  br label %168

168:                                              ; preds = %163
  %169 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #5
  br label %160

170:                                              ; preds = %162
  br label %171

171:                                              ; preds = %170
  store i8 0, ptr %22, align 1, !tbaa !11
  br label %147, !llvm.loop !22

172:                                              ; preds = %151
  br label %173

173:                                              ; preds = %172
  store i8 0, ptr %22, align 1, !tbaa !11
  br label %140, !llvm.loop !23

174:                                              ; preds = %143
  br label %310

175:                                              ; preds = %55
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #5
  store i8 1, ptr %28, align 1, !tbaa !11
  br label %176

176:                                              ; preds = %195, %175
  %177 = load i8, ptr %28, align 1, !tbaa !11, !range !13, !noundef !14
  %178 = trunc i8 %177 to i1
  br i1 %178, label %180, label %179

179:                                              ; preds = %176
  store i32 38, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #5
  br label %196

180:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %181 = load ptr, ptr %11, align 8, !tbaa !5
  %182 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3HIR8TypeData9as_BorrowEv(ptr noundef nonnull align 8 dereferenceable(184) %181)
  store ptr %182, ptr %29, align 8, !tbaa !5
  br label %183

183:                                              ; preds = %193, %180
  %184 = load ptr, ptr %29, align 8, !tbaa !5
  %185 = load i8, ptr %28, align 1, !tbaa !11, !range !13, !noundef !14
  %186 = trunc i8 %185 to i1
  br i1 %186, label %188, label %187

187:                                              ; preds = %183
  store i32 41, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  br label %194

188:                                              ; preds = %183
  %189 = load ptr, ptr %6, align 8, !tbaa !5
  %190 = load ptr, ptr %29, align 8, !tbaa !5
  %191 = getelementptr inbounds %"struct.HIR::TypeData::Data_Borrow", ptr %190, i32 0, i32 2
  %192 = load i32, ptr %8, align 4, !tbaa !9
  call void @_ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE(ptr noundef nonnull align 8 dereferenceable(592) %42, ptr noundef nonnull align 8 dereferenceable(8) %189, ptr noundef nonnull align 8 dereferenceable(8) %191, i32 noundef %192)
  br label %193

193:                                              ; preds = %188
  store i8 0, ptr %28, align 1, !tbaa !11
  br label %183, !llvm.loop !24

194:                                              ; preds = %187
  br label %195

195:                                              ; preds = %194
  store i8 0, ptr %28, align 1, !tbaa !11
  br label %176, !llvm.loop !25

196:                                              ; preds = %179
  br label %310

197:                                              ; preds = %55
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #5
  store i8 1, ptr %30, align 1, !tbaa !11
  br label %198

198:                                              ; preds = %217, %197
  %199 = load i8, ptr %30, align 1, !tbaa !11, !range !13, !noundef !14
  %200 = trunc i8 %199 to i1
  br i1 %200, label %202, label %201

201:                                              ; preds = %198
  store i32 44, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #5
  br label %218

202:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  %203 = load ptr, ptr %11, align 8, !tbaa !5
  %204 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK3HIR8TypeData8as_ArrayEv(ptr noundef nonnull align 8 dereferenceable(184) %203)
  store ptr %204, ptr %31, align 8, !tbaa !5
  br label %205

205:                                              ; preds = %215, %202
  %206 = load ptr, ptr %31, align 8, !tbaa !5
  %207 = load i8, ptr %30, align 1, !tbaa !11, !range !13, !noundef !14
  %208 = trunc i8 %207 to i1
  br i1 %208, label %210, label %209

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

210:                                              ; preds = %205
  %211 = load ptr, ptr %6, align 8, !tbaa !5
  %212 = load ptr, ptr %31, align 8, !tbaa !5
  %213 = getelementptr inbounds %"struct.HIR::TypeData::Data_Array", ptr %212, i32 0, i32 0
  %214 = load i32, ptr %8, align 4, !tbaa !9
  call void @_ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE(ptr noundef nonnull align 8 dereferenceable(592) %42, ptr noundef nonnull align 8 dereferenceable(8) %211, ptr noundef nonnull align 8 dereferenceable(8) %213, i32 noundef %214)
  br label %215

215:                                              ; preds = %210
  store i8 0, ptr %30, align 1, !tbaa !11
  br label %205, !llvm.loop !26

216:                                              ; preds = %209
  br label %217

217:                                              ; preds = %216
  store i8 0, ptr %30, align 1, !tbaa !11
  br label %198, !llvm.loop !27

218:                                              ; preds = %201
  br label %310

219:                                              ; preds = %55
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #5
  store i8 1, ptr %32, align 1, !tbaa !11
  br label %220

220:                                              ; preds = %239, %219
  %221 = load i8, ptr %32, align 1, !tbaa !11, !range !13, !noundef !14
  %222 = trunc i8 %221 to i1
  br i1 %222, label %224, label %223

223:                                              ; preds = %220
  store i32 50, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #5
  br label %240

224:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %225 = load ptr, ptr %11, align 8, !tbaa !5
  %226 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR8TypeData8as_SliceEv(ptr noundef nonnull align 8 dereferenceable(184) %225)
  store ptr %226, ptr %33, align 8, !tbaa !5
  br label %227

227:                                              ; preds = %237, %224
  %228 = load ptr, ptr %33, align 8, !tbaa !5
  %229 = load i8, ptr %32, align 1, !tbaa !11, !range !13, !noundef !14
  %230 = trunc i8 %229 to i1
  br i1 %230, label %232, label %231

231:                                              ; preds = %227
  store i32 53, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  br label %238

232:                                              ; preds = %227
  %233 = load ptr, ptr %6, align 8, !tbaa !5
  %234 = load ptr, ptr %33, align 8, !tbaa !5
  %235 = getelementptr inbounds %"struct.HIR::TypeData::Data_Slice", ptr %234, i32 0, i32 0
  %236 = load i32, ptr %8, align 4, !tbaa !9
  call void @_ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE(ptr noundef nonnull align 8 dereferenceable(592) %42, ptr noundef nonnull align 8 dereferenceable(8) %233, ptr noundef nonnull align 8 dereferenceable(8) %235, i32 noundef %236)
  br label %237

237:                                              ; preds = %232
  store i8 0, ptr %32, align 1, !tbaa !11
  br label %227, !llvm.loop !28

238:                                              ; preds = %231
  br label %239

239:                                              ; preds = %238
  store i8 0, ptr %32, align 1, !tbaa !11
  br label %220, !llvm.loop !29

240:                                              ; preds = %223
  br label %310

241:                                              ; preds = %55
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #5
  store i8 1, ptr %34, align 1, !tbaa !11
  br label %242

242:                                              ; preds = %285, %241
  %243 = load i8, ptr %34, align 1, !tbaa !11, !range !13, !noundef !14
  %244 = trunc i8 %243 to i1
  br i1 %244, label %246, label %245

245:                                              ; preds = %242
  store i32 56, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #5
  br label %286

246:                                              ; preds = %242
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  %247 = load ptr, ptr %11, align 8, !tbaa !5
  %248 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR8TypeData10as_ClosureEv(ptr noundef nonnull align 8 dereferenceable(184) %247)
  store ptr %248, ptr %35, align 8, !tbaa !5
  br label %249

249:                                              ; preds = %283, %246
  %250 = load ptr, ptr %35, align 8, !tbaa !5
  %251 = load i8, ptr %34, align 1, !tbaa !11, !range !13, !noundef !14
  %252 = trunc i8 %251 to i1
  br i1 %252, label %254, label %253

253:                                              ; preds = %249
  store i32 59, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  br label %284

254:                                              ; preds = %249
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  %255 = load ptr, ptr %35, align 8, !tbaa !5
  %256 = getelementptr inbounds %"struct.HIR::TypeData::Data_Closure", ptr %255, i32 0, i32 0
  %257 = load ptr, ptr %256, align 8, !tbaa !30
  %258 = getelementptr inbounds %"struct.HIR::ExprNode_Closure", ptr %257, i32 0, i32 1
  store ptr %258, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #5
  %259 = load ptr, ptr %36, align 8, !tbaa !5
  %260 = call ptr @_ZNKSt6vectorISt4pairIN3HIR7PatternENS1_7TypeRefEESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %259) #5
  %261 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.497", ptr %37, i32 0, i32 0
  store ptr %260, ptr %261, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #5
  %262 = load ptr, ptr %36, align 8, !tbaa !5
  %263 = call ptr @_ZNKSt6vectorISt4pairIN3HIR7PatternENS1_7TypeRefEESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %262) #5
  %264 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.497", ptr %38, i32 0, i32 0
  store ptr %263, ptr %264, align 8
  br label %265

265:                                              ; preds = %274, %254
  %266 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairIN3HIR7PatternENS2_7TypeRefEESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %38) #5
  br i1 %266, label %268, label %267

267:                                              ; preds = %265
  store i32 62, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  br label %276

268:                                              ; preds = %265
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #5
  %269 = call noundef nonnull align 8 dereferenceable(224) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIN3HIR7PatternENS2_7TypeRefEESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %37) #5
  store ptr %269, ptr %39, align 8, !tbaa !5
  %270 = load ptr, ptr %6, align 8, !tbaa !5
  %271 = load ptr, ptr %39, align 8, !tbaa !5
  %272 = getelementptr inbounds %"struct.std::pair.498", ptr %271, i32 0, i32 1
  %273 = load i32, ptr %8, align 4, !tbaa !9
  call void @_ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE(ptr noundef nonnull align 8 dereferenceable(592) %42, ptr noundef nonnull align 8 dereferenceable(8) %270, ptr noundef nonnull align 8 dereferenceable(8) %272, i32 noundef %273)
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #5
  br label %274

274:                                              ; preds = %268
  %275 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairIN3HIR7PatternENS2_7TypeRefEESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %37) #5
  br label %265

276:                                              ; preds = %267
  %277 = load ptr, ptr %6, align 8, !tbaa !5
  %278 = load ptr, ptr %35, align 8, !tbaa !5
  %279 = getelementptr inbounds %"struct.HIR::TypeData::Data_Closure", ptr %278, i32 0, i32 0
  %280 = load ptr, ptr %279, align 8, !tbaa !30
  %281 = getelementptr inbounds %"struct.HIR::ExprNode_Closure", ptr %280, i32 0, i32 2
  %282 = load i32, ptr %8, align 4, !tbaa !9
  call void @_ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE(ptr noundef nonnull align 8 dereferenceable(592) %42, ptr noundef nonnull align 8 dereferenceable(8) %277, ptr noundef nonnull align 8 dereferenceable(8) %281, i32 noundef %282)
  br label %283

283:                                              ; preds = %276
  store i8 0, ptr %34, align 1, !tbaa !11
  br label %249, !llvm.loop !32

284:                                              ; preds = %253
  br label %285

285:                                              ; preds = %284
  store i8 0, ptr %34, align 1, !tbaa !11
  br label %242, !llvm.loop !33

286:                                              ; preds = %245
  br label %310

287:                                              ; preds = %55
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #5
  store i8 1, ptr %40, align 1, !tbaa !11
  br label %288

288:                                              ; preds = %308, %287
  %289 = load i8, ptr %40, align 1, !tbaa !11, !range !13, !noundef !14
  %290 = trunc i8 %289 to i1
  br i1 %290, label %292, label %291

291:                                              ; preds = %288
  store i32 64, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #5
  br label %309

292:                                              ; preds = %288
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #5
  %293 = load ptr, ptr %11, align 8, !tbaa !5
  %294 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK3HIR8TypeData8as_InferEv(ptr noundef nonnull align 8 dereferenceable(184) %293)
  store ptr %294, ptr %41, align 8, !tbaa !5
  br label %295

295:                                              ; preds = %306, %292
  %296 = load ptr, ptr %41, align 8, !tbaa !5
  %297 = load i8, ptr %40, align 1, !tbaa !11, !range !13, !noundef !14
  %298 = trunc i8 %297 to i1
  br i1 %298, label %300, label %299

299:                                              ; preds = %295
  store i32 67, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #5
  br label %307

300:                                              ; preds = %295
  %301 = load ptr, ptr %6, align 8, !tbaa !5
  %302 = load ptr, ptr %41, align 8, !tbaa !5
  %303 = getelementptr inbounds %"struct.HIR::TypeData::Data_Infer", ptr %302, i32 0, i32 0
  %304 = load i32, ptr %303, align 4, !tbaa !34
  %305 = load i32, ptr %8, align 4, !tbaa !9
  call void @_ZN7Context28possible_equate_ivar_unknownERK4SpanjNS_15IvarUnknownTypeE(ptr noundef nonnull align 8 dereferenceable(592) %42, ptr noundef nonnull align 8 dereferenceable(8) %301, i32 noundef %304, i32 noundef %305)
  br label %306

306:                                              ; preds = %300
  store i8 0, ptr %40, align 1, !tbaa !11
  br label %295, !llvm.loop !38

307:                                              ; preds = %299
  br label %308

308:                                              ; preds = %307
  store i8 0, ptr %40, align 1, !tbaa !11
  br label %288, !llvm.loop !39

309:                                              ; preds = %291
  br label %310

310:                                              ; preds = %309, %286, %240, %218, %196, %174, %138, %59
  br label %311

311:                                              ; preds = %310
  store i8 0, ptr %9, align 1, !tbaa !11
  br label %51, !llvm.loop !40

312:                                              ; preds = %54
  br label %313

313:                                              ; preds = %312
  store i8 0, ptr %9, align 1, !tbaa !11
  br label %43, !llvm.loop !41

314:                                              ; preds = %46
  ret void
}

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Context28possible_equate_ivar_unknownERK4SpanjNS_15IvarUnknownTypeE(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef) #4 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #5 = { nounwind }
attributes #6 = { 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 = !{!"_ZTSN7Context15IvarUnknownTypeE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}
!20 = distinct !{!20, !16}
!21 = distinct !{!21, !16}
!22 = distinct !{!22, !16}
!23 = distinct !{!23, !16}
!24 = distinct !{!24, !16}
!25 = distinct !{!25, !16}
!26 = distinct !{!26, !16}
!27 = distinct !{!27, !16}
!28 = distinct !{!28, !16}
!29 = distinct !{!29, !16}
!30 = !{!31, !6, i64 0}
!31 = !{!"_ZTSN3HIR8TypeData12Data_ClosureE", !6, i64 0}
!32 = distinct !{!32, !16}
!33 = distinct !{!33, !16}
!34 = !{!35, !36, i64 0}
!35 = !{!"_ZTSN3HIR8TypeData10Data_InferE", !36, i64 0, !37, i64 4}
!36 = !{!"int", !7, i64 0}
!37 = !{!"_ZTSN3HIR10InferClassE", !7, i64 0}
!38 = distinct !{!38, !16}
!39 = distinct !{!39, !16}
!40 = distinct !{!40, !16}
!41 = distinct !{!41, !16}


; 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.__gnu_cxx::__normal_iterator.476" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.497" = type { ptr }

@.str.20 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [81 x i8], align 1
@__PRETTY_FUNCTION__._ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE = external hidden unnamed_addr constant [107 x i8], align 1

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNK3HIR8TypeData8as_InferEv(ptr noundef nonnull align 8 dereferenceable(184)) local_unnamed_addr #2 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 #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3HIR8TypeData8as_TupleEv(ptr noundef nonnull align 8 dereferenceable(184)) local_unnamed_addr #2 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 #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7Context8get_typeERKN3HIR7TypeRefE(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 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 #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE(ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, i32 noundef %3) local_unnamed_addr #4 align 2 {
.lr.ph:
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.476", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.476", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.497", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.497", align 8
  br label %tailrecurse

tailrecurse:                                      ; preds = %.preheader113, %.preheader115, %.preheader117, %.lr.ph
  %.tr295 = phi ptr [ %2, %.lr.ph ], [ %19, %.preheader117 ], [ %20, %.preheader115 ], [ %22, %.preheader113 ]
  %8 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7Context8get_typeERKN3HIR7TypeRefE(ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull align 8 dereferenceable(8) %.tr295)
  %9 = tail call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
  %10 = tail call noundef i32 @_ZNK3HIR8TypeData3tagEv(ptr noundef nonnull align 8 dereferenceable(184) %9)
  switch i32 %10, label %.loopexit123 [
    i32 0, label %29
    i32 4, label %.preheader109
    i32 10, label %.preheader111
    i32 11, label %.preheader113
    i32 8, label %.preheader115
    i32 9, label %.preheader117
    i32 15, label %.preheader119
    i32 1, label %.preheader121
  ]

.loopexit123:                                     ; preds = %.lr.ph209, %tailrecurse, %..loopexit103_crit_edge, %..loopexit107_crit_edge, %.preheader121, %.preheader, %.preheader109
  ret void

.preheader121:                                    ; preds = %tailrecurse
  %11 = tail call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK3HIR8TypeData8as_InferEv(ptr noundef nonnull align 8 dereferenceable(184) %9)
  %12 = load i32, ptr %11, align 4, !tbaa !5
  tail call void @_ZN7Context28possible_equate_ivar_unknownERK4SpanjNS_15IvarUnknownTypeE(ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef %12, i32 noundef %3)
  br label %.loopexit123

.preheader119:                                    ; preds = %tailrecurse
  %13 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR8TypeData10as_ClosureEv(ptr noundef nonnull align 8 dereferenceable(184) %9)
  %14 = load ptr, ptr %13, align 8, !tbaa !11
  %15 = getelementptr inbounds i8, ptr %14, i64 32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %16 = tail call ptr @_ZNKSt6vectorISt4pairIN3HIR7PatternENS1_7TypeRefEESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  store ptr %16, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %17 = tail call ptr @_ZNKSt6vectorISt4pairIN3HIR7PatternENS1_7TypeRefEESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  store ptr %17, ptr %7, align 8
  %18 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairIN3HIR7PatternENS2_7TypeRefEESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %18, label %.lr.ph128, label %..loopexit107_crit_edge

.preheader117:                                    ; preds = %tailrecurse
  %19 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR8TypeData8as_SliceEv(ptr noundef nonnull align 8 dereferenceable(184) %9)
  br label %tailrecurse

.preheader115:                                    ; preds = %tailrecurse
  %20 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK3HIR8TypeData8as_ArrayEv(ptr noundef nonnull align 8 dereferenceable(184) %9)
  br label %tailrecurse

.preheader113:                                    ; preds = %tailrecurse
  %21 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3HIR8TypeData9as_BorrowEv(ptr noundef nonnull align 8 dereferenceable(184) %9)
  %22 = getelementptr inbounds i8, ptr %21, i64 8
  br label %tailrecurse

.preheader111:                                    ; preds = %tailrecurse
  %23 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3HIR8TypeData8as_TupleEv(ptr noundef nonnull align 8 dereferenceable(184) %9)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %24 = tail call ptr @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #5
  store ptr %24, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %25 = tail call ptr @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #5
  store ptr %25, ptr %5, align 8
  %26 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  br i1 %26, label %.lr.ph184, label %..loopexit103_crit_edge

.preheader109:                                    ; preds = %tailrecurse
  %27 = tail call noundef nonnull align 8 dereferenceable(112) ptr @_ZNK3HIR8TypeData7as_PathEv(ptr noundef nonnull align 8 dereferenceable(184) %9)
  %28 = tail call noundef i32 @_ZNK3HIR4Path4Data3tagEv(ptr noundef nonnull align 8 dereferenceable(88) %27)
  switch i32 %28, label %.loopexit123 [
    i32 0, label %.split
    i32 1, label %.preheader
  ]

29:                                               ; preds = %tailrecurse
  tail call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.21, i32 noundef 3674, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE) #6
  unreachable

.preheader:                                       ; preds = %.preheader109
  %30 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3HIR4Path4Data10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(88) %27)
  %31 = getelementptr inbounds i8, ptr %30, i64 16
  %32 = tail call noundef ptr @_ZNK10ThinVectorIN3HIR7TypeRefEE5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %31)
  %33 = tail call noundef ptr @_ZNK10ThinVectorIN3HIR7TypeRefEE3endEv(ptr noundef nonnull align 8 dereferenceable(8) %31)
  %.not206 = icmp eq ptr %32, %33
  br i1 %.not206, label %.loopexit123, label %.lr.ph209

.split:                                           ; preds = %.preheader109
  tail call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.21, i32 noundef 3678, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE) #6
  unreachable

.lr.ph209:                                        ; preds = %.preheader, %.lr.ph209
  %.089207 = phi ptr [ %34, %.lr.ph209 ], [ %32, %.preheader ]
  tail call void @_ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE(ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %.089207, i32 noundef %3)
  %34 = getelementptr inbounds i8, ptr %.089207, i64 8
  %.not = icmp eq ptr %34, %33
  br i1 %.not, label %.loopexit123, label %.lr.ph209

..loopexit103_crit_edge:                          ; preds = %.lr.ph184, %.preheader111
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  br label %.loopexit123

.lr.ph184:                                        ; preds = %.preheader111, %.lr.ph184
  %35 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  call void @_ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE(ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %35, i32 noundef %3)
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %37 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  br i1 %37, label %.lr.ph184, label %..loopexit103_crit_edge

..loopexit107_crit_edge:                          ; preds = %.lr.ph128, %.preheader119
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  %38 = load ptr, ptr %13, align 8, !tbaa !11
  %39 = getelementptr inbounds i8, ptr %38, i64 56
  call void @_ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE(ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %39, i32 noundef %3)
  br label %.loopexit123

.lr.ph128:                                        ; preds = %.preheader119, %.lr.ph128
  %40 = call noundef nonnull align 8 dereferenceable(224) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIN3HIR7PatternENS2_7TypeRefEESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %41 = getelementptr inbounds i8, ptr %40, i64 216
  call void @_ZN7Context28possible_equate_type_unknownERK4SpanRKN3HIR7TypeRefENS_15IvarUnknownTypeE(ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %41, i32 noundef %3)
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairIN3HIR7PatternENS2_7TypeRefEESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %43 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairIN3HIR7PatternENS2_7TypeRefEESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %43, label %.lr.ph128, label %..loopexit107_crit_edge
}

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Context28possible_equate_ivar_unknownERK4SpanjNS_15IvarUnknownTypeE(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef) local_unnamed_addr #4 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #5 = { nounwind }
attributes #6 = { 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, !7, i64 0}
!6 = !{!"_ZTSN3HIR8TypeData10Data_InferE", !7, i64 0, !10, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN3HIR10InferClassE", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTSN3HIR8TypeData12Data_ClosureE", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}


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