; LLVM IR from thepowersgang/mrustc :: src/hir/from_ast.ll (Z13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClass)

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

%"class.HIR::TypeRef" = type { ptr }
%"class.HIR::GenericPath" = type { %"struct.HIR::SimplePath", %"struct.HIR::PathParams" }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%"struct.HIR::PathParams" = type { %class.ThinVector.114, %class.ThinVector.115, %class.ThinVector.116 }
%class.ThinVector.114 = type { ptr }
%class.ThinVector.115 = type { ptr }
%class.ThinVector.116 = type { 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.106" }
%class.RcString = type { ptr }
%"class.std::unique_ptr.106" = type { %"struct.std::__uniq_ptr_data.107" }
%"struct.std::__uniq_ptr_data.107" = type { %"class.std::__uniq_ptr_impl.108" }
%"class.std::__uniq_ptr_impl.108" = type { %"class.std::tuple.109" }
%"class.std::tuple.109" = type { %"struct.std::_Tuple_impl.110" }
%"struct.std::_Tuple_impl.110" = type { %"struct.std::_Head_base.113" }
%"struct.std::_Head_base.113" = type { ptr }
%struct.Span = type { ptr }
%"class.std::function" = 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.276 = type { i8 }
%class.anon.278 = type { ptr, ptr }
%class.anon.279 = type { ptr }
%class.anon.280 = type { ptr }
%class.anon.281 = type { ptr }
%class.anon.282 = type { ptr, ptr }
%class.anon.283 = type { ptr }
%class.anon.284 = type { ptr, ptr }
%"struct.HIR::Path::Data::Data_UfcsUnknown" = type { %"class.HIR::TypeRef", %class.RcString, %"struct.HIR::PathParams" }
%"class.AST::Path" = type { ptr, %"class.AST::Path::Class", %"struct.AST::Path::Bindings" }
%"class.AST::Path::Class" = type { i32, %"union.AST::Path::Class::DataUnion" }
%"union.AST::Path::Class::DataUnion" = type { %"struct.AST::Path::Class::Data_UFCS" }
%"struct.AST::Path::Class::Data_UFCS" = type { %"class.std::unique_ptr.59", %"class.std::unique_ptr.75", %"class.std::vector.99" }
%"class.std::unique_ptr.59" = type { %"struct.std::__uniq_ptr_data.60" }
%"struct.std::__uniq_ptr_data.60" = type { %"class.std::__uniq_ptr_impl.61" }
%"class.std::__uniq_ptr_impl.61" = type { %"class.std::tuple.62" }
%"class.std::tuple.62" = type { %"struct.std::_Tuple_impl.63" }
%"struct.std::_Tuple_impl.63" = type { %"struct.std::_Head_base.66" }
%"struct.std::_Head_base.66" = type { ptr }
%"class.std::unique_ptr.75" = type { %"struct.std::__uniq_ptr_data.76" }
%"struct.std::__uniq_ptr_data.76" = type { %"class.std::__uniq_ptr_impl.77" }
%"class.std::__uniq_ptr_impl.77" = type { %"class.std::tuple.78" }
%"class.std::tuple.78" = type { %"struct.std::_Tuple_impl.79" }
%"struct.std::_Tuple_impl.79" = type { %"struct.std::_Head_base.82" }
%"struct.std::_Head_base.82" = type { ptr }
%"class.std::vector.99" = type { %"struct.std::_Vector_base.100" }
%"struct.std::_Vector_base.100" = type { %"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::Path::Bindings" = type { %"struct.AST::PathBinding", %"struct.AST::PathBinding.104", %"struct.AST::PathBinding.105" }
%"struct.AST::PathBinding" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Value" }
%"struct.AST::AbsolutePath" = type { %class.RcString, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl" }
%"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl" = type { %"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl_data" }
%"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::PathBinding_Value" = type { i32, %"union.AST::PathBinding_Value::DataUnion" }
%"union.AST::PathBinding_Value::DataUnion" = type { %"struct.AST::PathBinding_Value::Data_EnumVar" }
%"struct.AST::PathBinding_Value::Data_EnumVar" = type { ptr, i32, ptr }
%"struct.AST::PathBinding.104" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Type" }
%"class.AST::PathBinding_Type" = type { i32, %"union.AST::PathBinding_Type::DataUnion" }
%"union.AST::PathBinding_Type::DataUnion" = type { %"struct.AST::PathBinding_Type::Data_Module" }
%"struct.AST::PathBinding_Type::Data_Module" = type { ptr, %"struct.AST::PathBinding_Type::(anonymous struct)::Hir" }
%"struct.AST::PathBinding_Type::(anonymous struct)::Hir" = type { ptr, ptr }
%"struct.AST::PathBinding.105" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Macro" }
%"class.AST::PathBinding_Macro" = type { i32, %"union.AST::PathBinding_Macro::DataUnion" }
%"union.AST::PathBinding_Macro::DataUnion" = type { %"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" }
%"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" = type { ptr, %class.RcString }
%"struct.HIR::TypeData_Path" = type { %"class.HIR::Path", %"class.HIR::TypePathBinding", %"class.std::unique_ptr.106" }
%"class.HIR::TypePathBinding" = type { i32, %"union.HIR::TypePathBinding::DataUnion" }
%"union.HIR::TypePathBinding::DataUnion" = type { ptr }

@.str.5 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [24 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@.str.9 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTIPKc = external constant ptr
@__PRETTY_FUNCTION__._Z13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClass = external hidden unnamed_addr constant [80 x i8], align 1
@__func__._Z13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClass = external hidden unnamed_addr constant [14 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [39 x i8], align 1

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13LowerHIR_TypeRK7TypeRef(ptr dead_on_unwind noalias writable sret(%"class.HIR::TypeRef") align 8, ptr noundef nonnull align 8 dereferenceable(120)) #5

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

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

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

declare ptr @__cxa_allocate_exception(i64)

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

declare void @__cxa_free_exception(ptr)

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

declare void @__cxa_throw(ptr, ptr, ptr)

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

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

; 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 uwtable
declare dso_local void @_Z20LowerHIR_GenericPathRK4SpanRKN3AST4PathE17FromAST_PathClassb(ptr dead_on_unwind noalias writable sret(%"class.HIR::GenericPath") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(240), i32 noundef, i1 noundef zeroext) #5

; Function Attrs: mustprogress uwtable
define dso_local void @_Z13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClass(ptr dead_on_unwind noalias writable sret(%"class.HIR::Path") align 8 %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(240) %2, i32 noundef %3) #5 personality ptr @__gxx_personality_v0 {
  %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 %struct.Span, align 8
  %15 = alloca %"class.std::function", align 8
  %16 = alloca %class.anon.276, align 1
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i8, align 1
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca %struct.Span, align 8
  %23 = alloca %"class.std::function", align 8
  %24 = alloca %class.anon.278, align 8
  %25 = alloca i8, align 1
  %26 = alloca ptr, align 8
  %27 = alloca %struct.Span, align 8
  %28 = alloca %"class.std::function", align 8
  %29 = alloca %class.anon.279, align 8
  %30 = alloca i8, align 1
  %31 = alloca ptr, align 8
  %32 = alloca %struct.Span, align 8
  %33 = alloca %"class.std::function", align 8
  %34 = alloca %class.anon.280, align 8
  %35 = alloca i8, align 1
  %36 = alloca ptr, align 8
  %37 = alloca %struct.Span, align 8
  %38 = alloca %"class.std::function", align 8
  %39 = alloca %class.anon.281, align 8
  %40 = alloca i8, align 1
  %41 = alloca ptr, align 8
  %42 = alloca %"class.HIR::GenericPath", align 8
  %43 = alloca i8, align 1
  %44 = alloca ptr, align 8
  %45 = alloca ptr, align 8
  %46 = alloca %struct.Span, align 8
  %47 = alloca %"class.std::function", align 8
  %48 = alloca %class.anon.282, align 8
  %49 = alloca %"class.HIR::TypeRef", align 8
  %50 = alloca %struct.Span, align 8
  %51 = alloca %"class.std::function", align 8
  %52 = alloca %class.anon.283, align 8
  %53 = alloca ptr, align 8
  %54 = alloca %struct.Span, align 8
  %55 = alloca %"class.std::function", align 8
  %56 = alloca %class.anon.284, align 8
  %57 = alloca %"struct.HIR::PathParams", align 8
  %58 = alloca %"class.HIR::Path::Data", align 8
  %59 = alloca %"struct.HIR::Path::Data::Data_UfcsUnknown", align 8
  %60 = alloca %"class.HIR::Path::Data", align 8
  %61 = alloca %"struct.HIR::Path::Data::Data_UfcsKnown", align 8
  store ptr %0, ptr %5, align 8
  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
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #8
  store i8 1, ptr %9, align 1, !tbaa !11
  br label %62

62:                                               ; preds = %519, %4
  %63 = load i8, ptr %9, align 1, !tbaa !11, !range !13, !noundef !14
  %64 = trunc i8 %63 to i1
  br i1 %64, label %66, label %65

65:                                               ; preds = %62
  store i32 2, ptr %10, align 4
  br label %520

66:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %67 = load ptr, ptr %7, align 8, !tbaa !5
  %68 = getelementptr inbounds %"class.AST::Path", ptr %67, i32 0, i32 1
  store ptr %68, ptr %11, align 8, !tbaa !5
  br label %69

69:                                               ; preds = %514, %66
  %70 = load i8, ptr %9, align 1, !tbaa !11, !range !13, !noundef !14
  %71 = trunc i8 %70 to i1
  br i1 %71, label %73, label %72

72:                                               ; preds = %69
  store i32 5, ptr %10, align 4
  br label %515

73:                                               ; preds = %69
  %74 = load ptr, ptr %11, align 8, !tbaa !5
  %75 = call noundef i32 @_ZNK3AST4Path5Class3tagEv(ptr noundef nonnull align 8 dereferenceable(48) %74)
  switch i32 %75, label %513 [
    i32 0, label %76
    i32 1, label %77
    i32 2, label %111
    i32 3, label %148
    i32 4, label %184
    i32 5, label %220
    i32 6, label %256
    i32 7, label %286
  ]

76:                                               ; preds = %73
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.5, i32 noundef 771, ptr noundef @__PRETTY_FUNCTION__._Z13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClass) #9
  unreachable

77:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #8
  store i8 1, ptr %12, align 1, !tbaa !11
  br label %78

78:                                               ; preds = %109, %77
  %79 = load i8, ptr %12, align 1, !tbaa !11, !range !13, !noundef !14
  %80 = trunc i8 %79 to i1
  br i1 %80, label %82, label %81

81:                                               ; preds = %78
  store i32 9, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #8
  br label %110

82:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %83 = load ptr, ptr %11, align 8, !tbaa !5
  %84 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3AST4Path5Class10as_InvalidEv(ptr noundef nonnull align 8 dereferenceable(48) %83)
  store ptr %84, ptr %13, align 8, !tbaa !5
  br label %85

85:                                               ; preds = %106, %82
  %86 = load ptr, ptr %13, align 8, !tbaa !5
  %87 = load i8, ptr %12, align 1, !tbaa !11, !range !13, !noundef !14
  %88 = trunc i8 %87 to i1
  br i1 %88, label %90, label %89

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

90:                                               ; preds = %85
  br label %91

91:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %92 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %92)
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #8
  call void @"_ZNSt8functionIFvRSoEEC2IZ13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClassE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef %15)
          to label %93 unwind label %96

93:                                               ; preds = %91
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  %94 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %94, ptr noundef @.str.9)
          to label %95 unwind label %100

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

96:                                               ; preds = %91
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %17, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %18, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %107

100:                                              ; preds = %93
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %17, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %18, align 4
  call void @__cxa_free_exception(ptr %94) #8
  br label %107

104:                                              ; No predecessors!
  br label %105

105:                                              ; preds = %104
  br label %106

106:                                              ; preds = %105
  store i8 0, ptr %12, align 1, !tbaa !11
  br label %85, !llvm.loop !15

107:                                              ; preds = %100, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #8
  br label %517

108:                                              ; preds = %89
  br label %109

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

110:                                              ; preds = %81
  br label %513

111:                                              ; preds = %73
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #8
  store i8 1, ptr %19, align 1, !tbaa !11
  br label %112

112:                                              ; preds = %146, %111
  %113 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %114 = trunc i8 %113 to i1
  br i1 %114, label %116, label %115

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

116:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %117 = load ptr, ptr %11, align 8, !tbaa !5
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST4Path5Class8as_LocalEv(ptr noundef nonnull align 8 dereferenceable(48) %117)
  store ptr %118, ptr %20, align 8, !tbaa !5
  br label %119

119:                                              ; preds = %144, %116
  %120 = load ptr, ptr %20, align 8, !tbaa !5
  %121 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %122 = trunc i8 %121 to i1
  br i1 %122, label %124, label %123

123:                                              ; preds = %119
  store i32 20, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %145

124:                                              ; preds = %119
  br label %125

125:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  store ptr @__func__._Z13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClass, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %126 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %126)
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #8
  %127 = getelementptr inbounds %class.anon.278, ptr %24, i32 0, i32 0
  store ptr %21, ptr %127, align 8, !tbaa !5
  %128 = getelementptr inbounds %class.anon.278, ptr %24, i32 0, i32 1
  %129 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %129, ptr %128, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClassE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(16) %24) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef %23)
          to label %130 unwind label %133

130:                                              ; preds = %125
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  %131 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %131, ptr noundef @.str.8)
          to label %132 unwind label %137

132:                                              ; preds = %130
  call void @__cxa_throw(ptr %131, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #10
  unreachable

133:                                              ; preds = %125
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %17, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %18, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %141

137:                                              ; preds = %130
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %17, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %18, align 4
  call void @__cxa_free_exception(ptr %131) #8
  br label %141

141:                                              ; preds = %137, %133
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #8
  br label %517

142:                                              ; No predecessors!
  br label %143

143:                                              ; preds = %142
  br label %144

144:                                              ; preds = %143
  store i8 0, ptr %19, align 1, !tbaa !11
  br label %119, !llvm.loop !18

145:                                              ; preds = %123
  br label %146

146:                                              ; preds = %145
  store i8 0, ptr %19, align 1, !tbaa !11
  br label %112, !llvm.loop !19

147:                                              ; preds = %115
  br label %513

148:                                              ; preds = %73
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #8
  store i8 1, ptr %25, align 1, !tbaa !11
  br label %149

149:                                              ; preds = %182, %148
  %150 = load i8, ptr %25, align 1, !tbaa !11, !range !13, !noundef !14
  %151 = trunc i8 %150 to i1
  br i1 %151, label %153, label %152

152:                                              ; preds = %149
  store i32 25, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  br label %183

153:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %154 = load ptr, ptr %11, align 8, !tbaa !5
  %155 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3AST4Path5Class11as_RelativeEv(ptr noundef nonnull align 8 dereferenceable(48) %154)
  store ptr %155, ptr %26, align 8, !tbaa !5
  br label %156

156:                                              ; preds = %179, %153
  %157 = load ptr, ptr %26, align 8, !tbaa !5
  %158 = load i8, ptr %25, align 1, !tbaa !11, !range !13, !noundef !14
  %159 = trunc i8 %158 to i1
  br i1 %159, label %161, label %160

160:                                              ; preds = %156
  store i32 28, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br label %181

161:                                              ; preds = %156
  br label %162

162:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %163 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %163)
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %164 = getelementptr inbounds %class.anon.279, ptr %29, i32 0, i32 0
  %165 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %165, ptr %164, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClassE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef %28)
          to label %166 unwind label %169

166:                                              ; preds = %162
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  %167 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %167, ptr noundef @.str.9)
          to label %168 unwind label %173

168:                                              ; preds = %166
  call void @__cxa_throw(ptr %167, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #10
  unreachable

169:                                              ; preds = %162
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %17, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %18, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %180

173:                                              ; preds = %166
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %17, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %18, align 4
  call void @__cxa_free_exception(ptr %167) #8
  br label %180

177:                                              ; No predecessors!
  br label %178

178:                                              ; preds = %177
  br label %179

179:                                              ; preds = %178
  store i8 0, ptr %25, align 1, !tbaa !11
  br label %156, !llvm.loop !20

180:                                              ; preds = %173, %169
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  br label %517

181:                                              ; preds = %160
  br label %182

182:                                              ; preds = %181
  store i8 0, ptr %25, align 1, !tbaa !11
  br label %149, !llvm.loop !21

183:                                              ; preds = %152
  br label %513

184:                                              ; preds = %73
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #8
  store i8 1, ptr %30, align 1, !tbaa !11
  br label %185

185:                                              ; preds = %218, %184
  %186 = load i8, ptr %30, align 1, !tbaa !11, !range !13, !noundef !14
  %187 = trunc i8 %186 to i1
  br i1 %187, label %189, label %188

188:                                              ; preds = %185
  store i32 33, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #8
  br label %219

189:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %190 = load ptr, ptr %11, align 8, !tbaa !5
  %191 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3AST4Path5Class7as_SelfEv(ptr noundef nonnull align 8 dereferenceable(48) %190)
  store ptr %191, ptr %31, align 8, !tbaa !5
  br label %192

192:                                              ; preds = %215, %189
  %193 = load ptr, ptr %31, align 8, !tbaa !5
  %194 = load i8, ptr %30, align 1, !tbaa !11, !range !13, !noundef !14
  %195 = trunc i8 %194 to i1
  br i1 %195, label %197, label %196

196:                                              ; preds = %192
  store i32 36, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %217

197:                                              ; preds = %192
  br label %198

198:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %199 = 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) %199)
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %200 = getelementptr inbounds %class.anon.280, ptr %34, i32 0, i32 0
  %201 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %201, ptr %200, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClassE3$_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 %202 unwind label %205

202:                                              ; preds = %198
  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
  %203 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %203, ptr noundef @.str.9)
          to label %204 unwind label %209

204:                                              ; preds = %202
  call void @__cxa_throw(ptr %203, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #10
  unreachable

205:                                              ; preds = %198
  %206 = landingpad { ptr, i32 }
          cleanup
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %17, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %18, 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 %216

209:                                              ; preds = %202
  %210 = landingpad { ptr, i32 }
          cleanup
  %211 = extractvalue { ptr, i32 } %210, 0
  store ptr %211, ptr %17, align 8
  %212 = extractvalue { ptr, i32 } %210, 1
  store i32 %212, ptr %18, align 4
  call void @__cxa_free_exception(ptr %203) #8
  br label %216

213:                                              ; No predecessors!
  br label %214

214:                                              ; preds = %213
  br label %215

215:                                              ; preds = %214
  store i8 0, ptr %30, align 1, !tbaa !11
  br label %192, !llvm.loop !22

216:                                              ; preds = %209, %205
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #8
  br label %517

217:                                              ; preds = %196
  br label %218

218:                                              ; preds = %217
  store i8 0, ptr %30, align 1, !tbaa !11
  br label %185, !llvm.loop !23

219:                                              ; preds = %188
  br label %513

220:                                              ; preds = %73
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #8
  store i8 1, ptr %35, align 1, !tbaa !11
  br label %221

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

224:                                              ; preds = %221
  store i32 41, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #8
  br label %255

225:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %226 = load ptr, ptr %11, align 8, !tbaa !5
  %227 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3AST4Path5Class8as_SuperEv(ptr noundef nonnull align 8 dereferenceable(48) %226)
  store ptr %227, ptr %36, align 8, !tbaa !5
  br label %228

228:                                              ; preds = %251, %225
  %229 = load ptr, ptr %36, align 8, !tbaa !5
  %230 = load i8, ptr %35, align 1, !tbaa !11, !range !13, !noundef !14
  %231 = trunc i8 %230 to i1
  br i1 %231, label %233, label %232

232:                                              ; preds = %228
  store i32 44, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %253

233:                                              ; preds = %228
  br label %234

234:                                              ; preds = %233
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %235 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %235)
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %236 = getelementptr inbounds %class.anon.281, ptr %39, i32 0, i32 0
  %237 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %237, ptr %236, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClassE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef nonnull align 8 dereferenceable(8) %39) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef %38)
          to label %238 unwind label %241

238:                                              ; preds = %234
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  %239 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %239, ptr noundef @.str.9)
          to label %240 unwind label %245

240:                                              ; preds = %238
  call void @__cxa_throw(ptr %239, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #10
  unreachable

241:                                              ; preds = %234
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %17, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %18, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %252

245:                                              ; preds = %238
  %246 = landingpad { ptr, i32 }
          cleanup
  %247 = extractvalue { ptr, i32 } %246, 0
  store ptr %247, ptr %17, align 8
  %248 = extractvalue { ptr, i32 } %246, 1
  store i32 %248, ptr %18, align 4
  call void @__cxa_free_exception(ptr %239) #8
  br label %252

249:                                              ; No predecessors!
  br label %250

250:                                              ; preds = %249
  br label %251

251:                                              ; preds = %250
  store i8 0, ptr %35, align 1, !tbaa !11
  br label %228, !llvm.loop !24

252:                                              ; preds = %245, %241
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #8
  br label %517

253:                                              ; preds = %232
  br label %254

254:                                              ; preds = %253
  store i8 0, ptr %35, align 1, !tbaa !11
  br label %221, !llvm.loop !25

255:                                              ; preds = %224
  br label %513

256:                                              ; preds = %73
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #8
  store i8 1, ptr %40, align 1, !tbaa !11
  br label %257

257:                                              ; preds = %282, %256
  %258 = load i8, ptr %40, align 1, !tbaa !11, !range !13, !noundef !14
  %259 = trunc i8 %258 to i1
  br i1 %259, label %261, label %260

260:                                              ; preds = %257
  store i32 49, ptr %10, align 4
  br label %283

261:                                              ; preds = %257
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  %262 = load ptr, ptr %11, align 8, !tbaa !5
  %263 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3AST4Path5Class11as_AbsoluteEv(ptr noundef nonnull align 8 dereferenceable(48) %262)
  store ptr %263, ptr %41, align 8, !tbaa !5
  br label %264

264:                                              ; preds = %278, %261
  %265 = load ptr, ptr %41, align 8, !tbaa !5
  %266 = load i8, ptr %40, align 1, !tbaa !11, !range !13, !noundef !14
  %267 = trunc i8 %266 to i1
  br i1 %267, label %269, label %268

268:                                              ; preds = %264
  store i32 52, ptr %10, align 4
  br label %279

269:                                              ; preds = %264
  %270 = load ptr, ptr %6, align 8, !tbaa !5
  %271 = load ptr, ptr %7, align 8, !tbaa !5
  %272 = load i32, ptr %8, align 4, !tbaa !9
  call void @_Z20LowerHIR_GenericPathRK4SpanRKN3AST4PathE17FromAST_PathClassb(ptr dead_on_unwind writable sret(%"class.HIR::GenericPath") align 8 %42, ptr noundef nonnull align 8 dereferenceable(8) %270, ptr noundef nonnull align 8 dereferenceable(240) %271, i32 noundef %272, i1 noundef zeroext false)
  invoke void @_ZN3HIR4PathC1ENS_11GenericPathE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef %42)
          to label %273 unwind label %274

273:                                              ; preds = %269
  call void @_ZN3HIR11GenericPathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #8
  store i32 1, ptr %10, align 4
  br label %279

274:                                              ; preds = %269
  %275 = landingpad { ptr, i32 }
          cleanup
  %276 = extractvalue { ptr, i32 } %275, 0
  store ptr %276, ptr %17, align 8
  %277 = extractvalue { ptr, i32 } %275, 1
  store i32 %277, ptr %18, align 4
  call void @_ZN3HIR11GenericPathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #8
  br label %517

278:                                              ; No predecessors!
  store i8 0, ptr %40, align 1, !tbaa !11
  br label %264, !llvm.loop !26

279:                                              ; preds = %273, %268
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  %280 = load i32, ptr %10, align 4
  switch i32 %280, label %283 [
    i32 52, label %281
  ]

281:                                              ; preds = %279
  br label %282

282:                                              ; preds = %281
  store i8 0, ptr %40, align 1, !tbaa !11
  br label %257, !llvm.loop !27

283:                                              ; preds = %279, %260
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #8
  %284 = load i32, ptr %10, align 4
  switch i32 %284, label %515 [
    i32 49, label %285
  ]

285:                                              ; preds = %283
  br label %513

286:                                              ; preds = %73
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #8
  store i8 1, ptr %43, align 1, !tbaa !11
  br label %287

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

290:                                              ; preds = %287
  store i32 55, ptr %10, align 4
  br label %510

291:                                              ; preds = %287
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #8
  %292 = load ptr, ptr %11, align 8, !tbaa !5
  %293 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK3AST4Path5Class7as_UFCSEv(ptr noundef nonnull align 8 dereferenceable(48) %292)
  store ptr %293, ptr %44, align 8, !tbaa !5
  br label %294

294:                                              ; preds = %504, %291
  %295 = load ptr, ptr %44, align 8, !tbaa !5
  %296 = load i8, ptr %43, align 1, !tbaa !11, !range !13, !noundef !14
  %297 = trunc i8 %296 to i1
  br i1 %297, label %299, label %298

298:                                              ; preds = %294
  store i32 58, ptr %10, align 4
  br label %505

299:                                              ; preds = %294
  %300 = load ptr, ptr %44, align 8, !tbaa !5
  %301 = getelementptr inbounds %"struct.AST::Path::Class::Data_UFCS", ptr %300, i32 0, i32 2
  %302 = call noundef i64 @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %301) #8
  %303 = icmp eq i64 %302, 0
  br i1 %303, label %304, label %376

304:                                              ; preds = %299
  %305 = load ptr, ptr %44, align 8, !tbaa !5
  %306 = getelementptr inbounds %"struct.AST::Path::Class::Data_UFCS", ptr %305, i32 0, i32 1
  %307 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3AST4PathESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %306) #8
  br i1 %307, label %308, label %333

308:                                              ; preds = %304
  %309 = load ptr, ptr %44, align 8, !tbaa !5
  %310 = getelementptr inbounds %"struct.AST::Path::Class::Data_UFCS", ptr %309, i32 0, i32 1
  %311 = call noundef ptr @_ZNKSt10unique_ptrIN3AST4PathESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %310) #8
  %312 = call noundef zeroext i1 @_ZNK3AST4Path8is_validEv(ptr noundef nonnull align 8 dereferenceable(240) %311)
  br i1 %312, label %333, label %313

313:                                              ; preds = %308
  br label %314

314:                                              ; preds = %313
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  store ptr @__func__._Z13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClass, ptr %45, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #8
  %315 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull align 8 dereferenceable(8) %315)
  call void @llvm.lifetime.start.p0(i64 16, ptr %48) #8
  %316 = getelementptr inbounds %class.anon.282, ptr %48, i32 0, i32 0
  store ptr %45, ptr %316, align 8, !tbaa !5
  %317 = getelementptr inbounds %class.anon.282, ptr %48, i32 0, i32 1
  %318 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %318, ptr %317, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClassE3$_5vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull align 8 dereferenceable(16) %48) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef %47)
          to label %319 unwind label %322

319:                                              ; preds = %314
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %46) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  %320 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %320, ptr noundef @.str.8)
          to label %321 unwind label %326

321:                                              ; preds = %319
  call void @__cxa_throw(ptr %320, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #10
  unreachable

322:                                              ; preds = %314
  %323 = landingpad { ptr, i32 }
          cleanup
  %324 = extractvalue { ptr, i32 } %323, 0
  store ptr %324, ptr %17, align 8
  %325 = extractvalue { ptr, i32 } %323, 1
  store i32 %325, ptr %18, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %46) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  br label %330

326:                                              ; preds = %319
  %327 = landingpad { ptr, i32 }
          cleanup
  %328 = extractvalue { ptr, i32 } %327, 0
  store ptr %328, ptr %17, align 8
  %329 = extractvalue { ptr, i32 } %327, 1
  store i32 %329, ptr %18, align 4
  call void @__cxa_free_exception(ptr %320) #8
  br label %330

330:                                              ; preds = %326, %322
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  br label %507

331:                                              ; No predecessors!
  br label %332

332:                                              ; preds = %331
  br label %333

333:                                              ; preds = %332, %308, %304
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #8
  %334 = load ptr, ptr %44, align 8, !tbaa !5
  %335 = getelementptr inbounds %"struct.AST::Path::Class::Data_UFCS", ptr %334, i32 0, i32 0
  %336 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt10unique_ptrI7TypeRefSt14default_deleteIS0_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %335) #8
  call void @_Z13LowerHIR_TypeRK7TypeRef(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %49, ptr noundef nonnull align 8 dereferenceable(120) %336)
  br label %337

337:                                              ; preds = %333
  %338 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %49)
          to label %339 unwind label %350

339:                                              ; preds = %337
  %340 = invoke noundef zeroext i1 @_ZNK3HIR8TypeData7is_PathEv(ptr noundef nonnull align 8 dereferenceable(184) %338)
          to label %341 unwind label %350

341:                                              ; preds = %339
  br i1 %340, label %367, label %342

342:                                              ; preds = %341
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #8
  %343 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull align 8 dereferenceable(8) %343)
          to label %344 unwind label %354

344:                                              ; preds = %342
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #8
  %345 = getelementptr inbounds %class.anon.283, ptr %52, i32 0, i32 0
  %346 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %346, ptr %345, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClassE3$_6vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef nonnull align 8 dereferenceable(8) %52) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef %51)
          to label %347 unwind label %358

347:                                              ; preds = %344
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  %348 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %348, ptr noundef @.str.9)
          to label %349 unwind label %363

349:                                              ; preds = %347
  invoke void @__cxa_throw(ptr %348, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #10
          to label %530 unwind label %350

350:                                              ; preds = %371, %369, %349, %339, %337
  %351 = landingpad { ptr, i32 }
          cleanup
  %352 = extractvalue { ptr, i32 } %351, 0
  store ptr %352, ptr %17, align 8
  %353 = extractvalue { ptr, i32 } %351, 1
  store i32 %353, ptr %18, align 4
  br label %375

354:                                              ; preds = %342
  %355 = landingpad { ptr, i32 }
          cleanup
  %356 = extractvalue { ptr, i32 } %355, 0
  store ptr %356, ptr %17, align 8
  %357 = extractvalue { ptr, i32 } %355, 1
  store i32 %357, ptr %18, align 4
  br label %362

358:                                              ; preds = %344
  %359 = landingpad { ptr, i32 }
          cleanup
  %360 = extractvalue { ptr, i32 } %359, 0
  store ptr %360, ptr %17, align 8
  %361 = extractvalue { ptr, i32 } %359, 1
  store i32 %361, ptr %18, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %50) #8
  br label %362

362:                                              ; preds = %358, %354
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  br label %375

363:                                              ; preds = %347
  %364 = landingpad { ptr, i32 }
          cleanup
  %365 = extractvalue { ptr, i32 } %364, 0
  store ptr %365, ptr %17, align 8
  %366 = extractvalue { ptr, i32 } %364, 1
  store i32 %366, ptr %18, align 4
  call void @__cxa_free_exception(ptr %348) #8
  br label %375

367:                                              ; preds = %341
  br label %368

368:                                              ; preds = %367
  br label %369

369:                                              ; preds = %368
  %370 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZN3HIR7TypeRef10get_uniqueEv(ptr noundef nonnull align 8 dereferenceable(8) %49)
          to label %371 unwind label %350

371:                                              ; preds = %369
  %372 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZN3HIR8TypeData7as_PathEv(ptr noundef nonnull align 8 dereferenceable(184) %370)
          to label %373 unwind label %350

373:                                              ; preds = %371
  %374 = getelementptr inbounds %"struct.HIR::TypeData_Path", ptr %372, i32 0, i32 0
  call void @_ZN3HIR4PathC2EOS0_(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(88) %374) #8
  store i32 1, ptr %10, align 4
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %49) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  br label %505

375:                                              ; preds = %363, %362, %350
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %49) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  br label %507

376:                                              ; preds = %299
  %377 = load ptr, ptr %44, align 8, !tbaa !5
  %378 = getelementptr inbounds %"struct.AST::Path::Class::Data_UFCS", ptr %377, i32 0, i32 2
  %379 = call noundef i64 @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %378) #8
  %380 = icmp ugt i64 %379, 1
  br i1 %380, label %381, label %401

381:                                              ; preds = %376
  br label %382

382:                                              ; preds = %381
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #8
  store ptr @__func__._Z13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClass, ptr %53, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #8
  %383 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef nonnull align 8 dereferenceable(8) %383)
  call void @llvm.lifetime.start.p0(i64 16, ptr %56) #8
  %384 = getelementptr inbounds %class.anon.284, ptr %56, i32 0, i32 0
  store ptr %53, ptr %384, align 8, !tbaa !5
  %385 = getelementptr inbounds %class.anon.284, ptr %56, i32 0, i32 1
  %386 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %386, ptr %385, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClassE3$_7vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull align 8 dereferenceable(16) %56) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef %55)
          to label %387 unwind label %390

387:                                              ; preds = %382
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %56) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %54) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #8
  %388 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %388, ptr noundef @.str.8)
          to label %389 unwind label %394

389:                                              ; preds = %387
  call void @__cxa_throw(ptr %388, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #10
  unreachable

390:                                              ; preds = %382
  %391 = landingpad { ptr, i32 }
          cleanup
  %392 = extractvalue { ptr, i32 } %391, 0
  store ptr %392, ptr %17, align 8
  %393 = extractvalue { ptr, i32 } %391, 1
  store i32 %393, ptr %18, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %56) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %54) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #8
  br label %398

394:                                              ; preds = %387
  %395 = landingpad { ptr, i32 }
          cleanup
  %396 = extractvalue { ptr, i32 } %395, 0
  store ptr %396, ptr %17, align 8
  %397 = extractvalue { ptr, i32 } %395, 1
  store i32 %397, ptr %18, align 4
  call void @__cxa_free_exception(ptr %388) #8
  br label %398

398:                                              ; preds = %394, %390
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #8
  br label %507

399:                                              ; No predecessors!
  br label %400

400:                                              ; preds = %399
  br label %401

401:                                              ; preds = %400, %376
  call void @llvm.lifetime.start.p0(i64 24, ptr %57) #8
  %402 = load ptr, ptr %6, align 8, !tbaa !5
  %403 = load ptr, ptr %44, align 8, !tbaa !5
  %404 = getelementptr inbounds %"struct.AST::Path::Class::Data_UFCS", ptr %403, i32 0, i32 2
  %405 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %404) #8
  %406 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNK3AST8PathNode4argsEv(ptr noundef nonnull align 8 dereferenceable(40) %405)
  call void @_Z19LowerHIR_PathParamsRK4SpanRKN3AST10PathParamsEb(ptr dead_on_unwind writable sret(%"struct.HIR::PathParams") align 8 %57, ptr noundef nonnull align 8 dereferenceable(8) %402, ptr noundef nonnull align 8 dereferenceable(25) %406, i1 noundef zeroext false)
  %407 = load ptr, ptr %44, align 8, !tbaa !5
  %408 = getelementptr inbounds %"struct.AST::Path::Class::Data_UFCS", ptr %407, i32 0, i32 1
  %409 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3AST4PathESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %408) #8
  br i1 %409, label %410, label %416

410:                                              ; preds = %401
  %411 = load ptr, ptr %44, align 8, !tbaa !5
  %412 = getelementptr inbounds %"struct.AST::Path::Class::Data_UFCS", ptr %411, i32 0, i32 1
  %413 = call noundef ptr @_ZNKSt10unique_ptrIN3AST4PathESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %412) #8
  %414 = invoke noundef zeroext i1 @_ZNK3AST4Path8is_validEv(ptr noundef nonnull align 8 dereferenceable(240) %413)
          to label %415 unwind label %433

415:                                              ; preds = %410
  br i1 %414, label %455, label %416

416:                                              ; preds = %415, %401
  %417 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsUnknown", ptr %59, i32 0, i32 0
  %418 = load ptr, ptr %44, align 8, !tbaa !5
  %419 = getelementptr inbounds %"struct.AST::Path::Class::Data_UFCS", ptr %418, i32 0, i32 0
  %420 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt10unique_ptrI7TypeRefSt14default_deleteIS0_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %419) #8
  invoke void @_Z13LowerHIR_TypeRK7TypeRef(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %417, ptr noundef nonnull align 8 dereferenceable(120) %420)
          to label %421 unwind label %433

421:                                              ; preds = %416
  %422 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsUnknown", ptr %59, i32 0, i32 1
  %423 = load ptr, ptr %44, align 8, !tbaa !5
  %424 = getelementptr inbounds %"struct.AST::Path::Class::Data_UFCS", ptr %423, i32 0, i32 2
  %425 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %424, i64 noundef 0) #8
  %426 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST8PathNode4nameEv(ptr noundef nonnull align 8 dereferenceable(40) %425)
          to label %427 unwind label %437

427:                                              ; preds = %421
  invoke void @_ZN8RcStringC2ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %422, ptr noundef nonnull align 8 dereferenceable(8) %426)
          to label %428 unwind label %437

428:                                              ; preds = %427
  %429 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsUnknown", ptr %59, i32 0, i32 2
  invoke void @_ZN3HIR10PathParamsC2EOS0_(ptr noundef nonnull align 8 dereferenceable(24) %429, ptr noundef nonnull align 8 dereferenceable(24) %57)
          to label %430 unwind label %441

430:                                              ; preds = %428
  invoke void @_ZN3HIR4Path4Data16make_UfcsUnknownENS1_16Data_UfcsUnknownE(ptr dead_on_unwind writable sret(%"class.HIR::Path::Data") align 8 %58, ptr noundef %59)
          to label %431 unwind label %446

431:                                              ; preds = %430
  invoke void @_ZN3HIR4PathC2ENS0_4DataE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef %58)
          to label %432 unwind label %450

432:                                              ; preds = %431
  call void @_ZN3HIR4Path4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %58) #8
  call void @_ZN3HIR4Path4Data16Data_UfcsUnknownD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %59) #8
  store i32 1, ptr %10, align 4
  br label %502

433:                                              ; preds = %455, %416, %410
  %434 = landingpad { ptr, i32 }
          cleanup
  %435 = extractvalue { ptr, i32 } %434, 0
  store ptr %435, ptr %17, align 8
  %436 = extractvalue { ptr, i32 } %434, 1
  store i32 %436, ptr %18, align 4
  br label %503

437:                                              ; preds = %427, %421
  %438 = landingpad { ptr, i32 }
          cleanup
  %439 = extractvalue { ptr, i32 } %438, 0
  store ptr %439, ptr %17, align 8
  %440 = extractvalue { ptr, i32 } %438, 1
  store i32 %440, ptr %18, align 4
  br label %445

441:                                              ; preds = %428
  %442 = landingpad { ptr, i32 }
          cleanup
  %443 = extractvalue { ptr, i32 } %442, 0
  store ptr %443, ptr %17, align 8
  %444 = extractvalue { ptr, i32 } %442, 1
  store i32 %444, ptr %18, align 4
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %422) #8
  br label %445

445:                                              ; preds = %441, %437
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %417) #8
  br label %503

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

450:                                              ; preds = %431
  %451 = landingpad { ptr, i32 }
          cleanup
  %452 = extractvalue { ptr, i32 } %451, 0
  store ptr %452, ptr %17, align 8
  %453 = extractvalue { ptr, i32 } %451, 1
  store i32 %453, ptr %18, align 4
  call void @_ZN3HIR4Path4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %58) #8
  br label %454

454:                                              ; preds = %450, %446
  call void @_ZN3HIR4Path4Data16Data_UfcsUnknownD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %59) #8
  br label %503

455:                                              ; preds = %415
  %456 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %61, i32 0, i32 0
  %457 = load ptr, ptr %44, align 8, !tbaa !5
  %458 = getelementptr inbounds %"struct.AST::Path::Class::Data_UFCS", ptr %457, i32 0, i32 0
  %459 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt10unique_ptrI7TypeRefSt14default_deleteIS0_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %458) #8
  invoke void @_Z13LowerHIR_TypeRK7TypeRef(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %456, ptr noundef nonnull align 8 dereferenceable(120) %459)
          to label %460 unwind label %433

460:                                              ; preds = %455
  %461 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %61, i32 0, i32 1
  %462 = load ptr, ptr %6, align 8, !tbaa !5
  %463 = load ptr, ptr %44, align 8, !tbaa !5
  %464 = getelementptr inbounds %"struct.AST::Path::Class::Data_UFCS", ptr %463, i32 0, i32 1
  %465 = call noundef nonnull align 8 dereferenceable(240) ptr @_ZNKSt10unique_ptrIN3AST4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %464) #8
  invoke void @_Z20LowerHIR_GenericPathRK4SpanRKN3AST4PathE17FromAST_PathClassb(ptr dead_on_unwind writable sret(%"class.HIR::GenericPath") align 8 %461, ptr noundef nonnull align 8 dereferenceable(8) %462, ptr noundef nonnull align 8 dereferenceable(240) %465, i32 noundef 0, i1 noundef zeroext false)
          to label %466 unwind label %479

466:                                              ; preds = %460
  %467 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %61, i32 0, i32 2
  %468 = load ptr, ptr %44, align 8, !tbaa !5
  %469 = getelementptr inbounds %"struct.AST::Path::Class::Data_UFCS", ptr %468, i32 0, i32 2
  %470 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %469, i64 noundef 0) #8
  %471 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST8PathNode4nameEv(ptr noundef nonnull align 8 dereferenceable(40) %470)
          to label %472 unwind label %483

472:                                              ; preds = %466
  invoke void @_ZN8RcStringC2ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %467, ptr noundef nonnull align 8 dereferenceable(8) %471)
          to label %473 unwind label %483

473:                                              ; preds = %472
  %474 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %61, i32 0, i32 3
  invoke void @_ZN3HIR10PathParamsC2EOS0_(ptr noundef nonnull align 8 dereferenceable(24) %474, ptr noundef nonnull align 8 dereferenceable(24) %57)
          to label %475 unwind label %487

475:                                              ; preds = %473
  %476 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %61, i32 0, i32 4
  call void @_ZNSt10unique_ptrIN3HIR13GenericParamsESt14default_deleteIS1_EEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %476) #8
  invoke void @_ZN3HIR4Path4Data14make_UfcsKnownENS1_14Data_UfcsKnownE(ptr dead_on_unwind writable sret(%"class.HIR::Path::Data") align 8 %60, ptr noundef %61)
          to label %477 unwind label %493

477:                                              ; preds = %475
  invoke void @_ZN3HIR4PathC2ENS0_4DataE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef %60)
          to label %478 unwind label %497

478:                                              ; preds = %477
  call void @_ZN3HIR4Path4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %60) #8
  call void @_ZN3HIR4Path4Data14Data_UfcsKnownD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %61) #8
  store i32 1, ptr %10, align 4
  br label %502

479:                                              ; preds = %460
  %480 = landingpad { ptr, i32 }
          cleanup
  %481 = extractvalue { ptr, i32 } %480, 0
  store ptr %481, ptr %17, align 8
  %482 = extractvalue { ptr, i32 } %480, 1
  store i32 %482, ptr %18, align 4
  br label %492

483:                                              ; preds = %472, %466
  %484 = landingpad { ptr, i32 }
          cleanup
  %485 = extractvalue { ptr, i32 } %484, 0
  store ptr %485, ptr %17, align 8
  %486 = extractvalue { ptr, i32 } %484, 1
  store i32 %486, ptr %18, align 4
  br label %491

487:                                              ; preds = %473
  %488 = landingpad { ptr, i32 }
          cleanup
  %489 = extractvalue { ptr, i32 } %488, 0
  store ptr %489, ptr %17, align 8
  %490 = extractvalue { ptr, i32 } %488, 1
  store i32 %490, ptr %18, align 4
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %467) #8
  br label %491

491:                                              ; preds = %487, %483
  call void @_ZN3HIR11GenericPathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %461) #8
  br label %492

492:                                              ; preds = %491, %479
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %456) #8
  br label %503

493:                                              ; preds = %475
  %494 = landingpad { ptr, i32 }
          cleanup
  %495 = extractvalue { ptr, i32 } %494, 0
  store ptr %495, ptr %17, align 8
  %496 = extractvalue { ptr, i32 } %494, 1
  store i32 %496, ptr %18, align 4
  br label %501

497:                                              ; preds = %477
  %498 = landingpad { ptr, i32 }
          cleanup
  %499 = extractvalue { ptr, i32 } %498, 0
  store ptr %499, ptr %17, align 8
  %500 = extractvalue { ptr, i32 } %498, 1
  store i32 %500, ptr %18, align 4
  call void @_ZN3HIR4Path4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %60) #8
  br label %501

501:                                              ; preds = %497, %493
  call void @_ZN3HIR4Path4Data14Data_UfcsKnownD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %61) #8
  br label %503

502:                                              ; preds = %478, %432
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %57) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %57) #8
  br label %505

503:                                              ; preds = %501, %492, %454, %445, %433
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %57) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %57) #8
  br label %507

504:                                              ; No predecessors!
  store i8 0, ptr %43, align 1, !tbaa !11
  br label %294, !llvm.loop !28

505:                                              ; preds = %502, %373, %298
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  %506 = load i32, ptr %10, align 4
  switch i32 %506, label %510 [
    i32 58, label %508
  ]

507:                                              ; preds = %503, %398, %375, %330
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #8
  br label %517

508:                                              ; preds = %505
  br label %509

509:                                              ; preds = %508
  store i8 0, ptr %43, align 1, !tbaa !11
  br label %287, !llvm.loop !29

510:                                              ; preds = %505, %290
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #8
  %511 = load i32, ptr %10, align 4
  switch i32 %511, label %515 [
    i32 55, label %512
  ]

512:                                              ; preds = %510
  br label %513

513:                                              ; preds = %512, %285, %255, %219, %183, %147, %110, %73
  br label %514

514:                                              ; preds = %513
  store i8 0, ptr %9, align 1, !tbaa !11
  br label %69, !llvm.loop !30

515:                                              ; preds = %510, %283, %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  %516 = load i32, ptr %10, align 4
  switch i32 %516, label %520 [
    i32 5, label %518
  ]

517:                                              ; preds = %507, %274, %252, %216, %180, %141, %107
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #8
  br label %525

518:                                              ; preds = %515
  br label %519

519:                                              ; preds = %518
  store i8 0, ptr %9, align 1, !tbaa !11
  br label %62, !llvm.loop !31

520:                                              ; preds = %515, %65
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #8
  %521 = load i32, ptr %10, align 4
  switch i32 %521, label %530 [
    i32 2, label %522
    i32 1, label %524
  ]

522:                                              ; preds = %520
  %523 = call ptr @__cxa_allocate_exception(i64 8) #8
  store ptr @.str.23, ptr %523, align 16, !tbaa !5
  call void @__cxa_throw(ptr %523, ptr @_ZTIPKc, ptr null) #10
  unreachable

524:                                              ; preds = %520
  ret void

525:                                              ; preds = %517
  %526 = load ptr, ptr %17, align 8
  %527 = load i32, ptr %18, align 4
  %528 = insertvalue { ptr, i32 } poison, ptr %526, 0
  %529 = insertvalue { ptr, i32 } %528, i32 %527, 1
  resume { ptr, i32 } %529

530:                                              ; preds = %520, %349
  unreachable
}

declare void @_ZN3HIR4PathC1ENS_11GenericPathE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef) unnamed_addr #6

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z19LowerHIR_PathParamsRK4SpanRKN3AST10PathParamsEb(ptr dead_on_unwind noalias writable sret(%"struct.HIR::PathParams") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(25), i1 noundef zeroext) #5

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3HIR4PathC2EOS0_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR4Path4Data16make_UfcsUnknownENS1_16Data_UfcsUnknownE(ptr dead_on_unwind noalias writable sret(%"class.HIR::Path::Data") align 8, ptr noundef) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3HIR4PathC2ENS0_4DataE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef) unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR4Path4Data14make_UfcsKnownENS1_14Data_UfcsKnownE(ptr dead_on_unwind noalias writable sret(%"class.HIR::Path::Data") align 8, ptr noundef) #5 align 2

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

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

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

attributes #0 = { 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 #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 = { 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 #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { "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 = !{!"_ZTS17FromAST_PathClass", !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 = distinct !{!30, !16}
!31 = distinct !{!31, !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.HIR::TypeRef" = type { ptr }
%"class.HIR::GenericPath" = type { %"struct.HIR::SimplePath", %"struct.HIR::PathParams" }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%"struct.HIR::PathParams" = type { %class.ThinVector.114, %class.ThinVector.115, %class.ThinVector.116 }
%class.ThinVector.114 = type { ptr }
%class.ThinVector.115 = type { ptr }
%class.ThinVector.116 = type { 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.106" }
%class.RcString = type { ptr }
%"class.std::unique_ptr.106" = type { %"struct.std::__uniq_ptr_data.107" }
%"struct.std::__uniq_ptr_data.107" = type { %"class.std::__uniq_ptr_impl.108" }
%"class.std::__uniq_ptr_impl.108" = type { %"class.std::tuple.109" }
%"class.std::tuple.109" = type { %"struct.std::_Tuple_impl.110" }
%"struct.std::_Tuple_impl.110" = type { %"struct.std::_Head_base.113" }
%"struct.std::_Head_base.113" = type { ptr }
%struct.Span = type { ptr }
%"class.std::function" = 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.276 = type { i8 }
%class.anon.278 = type { ptr, ptr }
%class.anon.279 = type { ptr }
%class.anon.280 = type { ptr }
%class.anon.281 = type { ptr }
%class.anon.282 = type { ptr, ptr }
%class.anon.283 = type { ptr }
%class.anon.284 = type { ptr, ptr }
%"struct.HIR::Path::Data::Data_UfcsUnknown" = type { %"class.HIR::TypeRef", %class.RcString, %"struct.HIR::PathParams" }

@.str.5 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [24 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@.str.9 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTIPKc = external constant ptr
@__PRETTY_FUNCTION__._Z13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClass = external hidden unnamed_addr constant [80 x i8], align 1
@__func__._Z13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClass = external hidden unnamed_addr constant [14 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [39 x i8], align 1

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13LowerHIR_TypeRK7TypeRef(ptr dead_on_unwind noalias writable sret(%"class.HIR::TypeRef") align 8, ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #5

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

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

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

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

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

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

; 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 uwtable
declare dso_local void @_Z20LowerHIR_GenericPathRK4SpanRKN3AST4PathE17FromAST_PathClassb(ptr dead_on_unwind noalias writable sret(%"class.HIR::GenericPath") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(240), i32 noundef, i1 noundef zeroext) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
define dso_local void @_Z13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClass(ptr dead_on_unwind noalias writable sret(%"class.HIR::Path") align 8 %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(240) %2, i32 noundef %3) local_unnamed_addr #5 personality ptr @__gxx_personality_v0 {
.split.preheader:
  %4 = alloca %struct.Span, align 8
  %5 = alloca %"class.std::function", align 8
  %6 = alloca %class.anon.276, align 1
  %7 = alloca ptr, align 8
  %8 = alloca %struct.Span, align 8
  %9 = alloca %"class.std::function", align 8
  %10 = alloca %class.anon.278, align 8
  %11 = alloca %struct.Span, align 8
  %12 = alloca %"class.std::function", align 8
  %13 = alloca %class.anon.279, align 8
  %14 = alloca %struct.Span, align 8
  %15 = alloca %"class.std::function", align 8
  %16 = alloca %class.anon.280, align 8
  %17 = alloca %struct.Span, align 8
  %18 = alloca %"class.std::function", align 8
  %19 = alloca %class.anon.281, align 8
  %20 = alloca %"class.HIR::GenericPath", align 8
  %21 = alloca ptr, align 8
  %22 = alloca %struct.Span, align 8
  %23 = alloca %"class.std::function", align 8
  %24 = alloca %class.anon.282, align 8
  %25 = alloca %"class.HIR::TypeRef", align 8
  %26 = alloca %struct.Span, align 8
  %27 = alloca %"class.std::function", align 8
  %28 = alloca %class.anon.283, align 8
  %29 = alloca ptr, align 8
  %30 = alloca %struct.Span, align 8
  %31 = alloca %"class.std::function", align 8
  %32 = alloca %class.anon.284, align 8
  %33 = alloca %"struct.HIR::PathParams", align 8
  %34 = alloca %"class.HIR::Path::Data", align 8
  %35 = alloca %"struct.HIR::Path::Data::Data_UfcsUnknown", align 8
  %36 = alloca %"class.HIR::Path::Data", align 8
  %37 = alloca %"struct.HIR::Path::Data::Data_UfcsKnown", align 8
  %38 = getelementptr inbounds i8, ptr %2, i64 8
  %39 = tail call noundef i32 @_ZNK3AST4Path5Class3tagEv(ptr noundef nonnull align 8 dereferenceable(48) %38)
  switch i32 %39, label %.loopexit [
    i32 0, label %.split142.us
    i32 1, label %.split144.us
    i32 2, label %.split146.us
    i32 3, label %.split149.us
    i32 4, label %.split152.us
    i32 5, label %.split155.us
    i32 6, label %.split158.us
    i32 7, label %.split161.us
  ], !llvm.loop !5

.split142.us:                                     ; preds = %.split.preheader
  tail call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.5, i32 noundef 771, ptr noundef nonnull @__PRETTY_FUNCTION__._Z13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClass) #8
  unreachable

.split144.us:                                     ; preds = %.split.preheader
  %40 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3AST4Path5Class10as_InvalidEv(ptr noundef nonnull align 8 dereferenceable(48) %38)
  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 1, ptr nonnull %6) #9
  call void @"_ZNSt8functionIFvRSoEEC2IZ13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClassE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 1 dereferenceable(1) %6) #9
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull %5)
          to label %41 unwind label %44

41:                                               ; preds = %.split144.us
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  call void @llvm.lifetime.end.p0(i64 1, 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
  %42 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef nonnull @.str.9)
          to label %43 unwind label %46

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

44:                                               ; preds = %.split144.us
  %45 = 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 1, 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 %187

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

.split146.us:                                     ; preds = %.split.preheader
  %48 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST4Path5Class8as_LocalEv(ptr noundef nonnull align 8 dereferenceable(48) %38)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  store ptr @__func__._Z13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClass, ptr %7, align 8, !tbaa !7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #9
  store ptr %7, ptr %10, align 8, !tbaa !7
  %49 = getelementptr inbounds i8, ptr %10, i64 8
  store ptr %2, ptr %49, align 8, !tbaa !7
  call void @"_ZNSt8functionIFvRSoEEC2IZ13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClassE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(16) %10) #9
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull %9)
          to label %50 unwind label %53

50:                                               ; preds = %.split146.us
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  %51 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %51, ptr noundef nonnull @.str.8)
          to label %52 unwind label %55

52:                                               ; preds = %50
  call void @__cxa_throw(ptr nonnull %51, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #10
  unreachable

53:                                               ; preds = %.split146.us
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  br label %57

55:                                               ; preds = %50
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %51) #9
  br label %57

57:                                               ; preds = %55, %53
  %.pn123 = phi { ptr, i32 } [ %56, %55 ], [ %54, %53 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  br label %187

.split149.us:                                     ; preds = %.split.preheader
  %58 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3AST4Path5Class11as_RelativeEv(ptr noundef nonnull align 8 dereferenceable(48) %38)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  store ptr %2, ptr %13, align 8, !tbaa !7
  call void @"_ZNSt8functionIFvRSoEEC2IZ13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClassE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull %12)
          to label %59 unwind label %62

59:                                               ; preds = %.split149.us
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  %60 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %60, ptr noundef nonnull @.str.9)
          to label %61 unwind label %64

61:                                               ; preds = %59
  call void @__cxa_throw(ptr nonnull %60, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #10
  unreachable

62:                                               ; preds = %.split149.us
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %187

64:                                               ; preds = %59
  %65 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %60) #9
  br label %187

.split152.us:                                     ; preds = %.split.preheader
  %66 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3AST4Path5Class7as_SelfEv(ptr noundef nonnull align 8 dereferenceable(48) %38)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #9
  store ptr %2, ptr %16, align 8, !tbaa !7
  call void @"_ZNSt8functionIFvRSoEEC2IZ13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClassE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #9
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull %15)
          to label %67 unwind label %70

67:                                               ; preds = %.split152.us
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  %68 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %68, ptr noundef nonnull @.str.9)
          to label %69 unwind label %72

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

70:                                               ; preds = %.split152.us
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  br label %187

72:                                               ; preds = %67
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %68) #9
  br label %187

.split155.us:                                     ; preds = %.split.preheader
  %74 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3AST4Path5Class8as_SuperEv(ptr noundef nonnull align 8 dereferenceable(48) %38)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #9
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  store ptr %2, ptr %19, align 8, !tbaa !7
  call void @"_ZNSt8functionIFvRSoEEC2IZ13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClassE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull %18)
          to label %75 unwind label %78

75:                                               ; preds = %.split155.us
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  %76 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %76, ptr noundef nonnull @.str.9)
          to label %77 unwind label %80

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

78:                                               ; preds = %.split155.us
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  br label %187

80:                                               ; preds = %75
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %76) #9
  br label %187

.split158.us:                                     ; preds = %.split.preheader
  %82 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3AST4Path5Class11as_AbsoluteEv(ptr noundef nonnull align 8 dereferenceable(48) %38)
  call void @_Z20LowerHIR_GenericPathRK4SpanRKN3AST4PathE17FromAST_PathClassb(ptr dead_on_unwind nonnull writable sret(%"class.HIR::GenericPath") align 8 %20, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(240) %2, i32 noundef %3, i1 noundef zeroext false)
  invoke void @_ZN3HIR4PathC1ENS_11GenericPathE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull %20)
          to label %83 unwind label %84

83:                                               ; preds = %.split158.us
  call void @_ZN3HIR11GenericPathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #9
  br label %189

84:                                               ; preds = %.split158.us
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR11GenericPathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #9
  br label %187

.split161.us:                                     ; preds = %.split.preheader
  %86 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK3AST4Path5Class7as_UFCSEv(ptr noundef nonnull align 8 dereferenceable(48) %38)
  %87 = getelementptr inbounds i8, ptr %86, i64 16
  %88 = tail call noundef i64 @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %87) #9
  %89 = icmp eq i64 %88, 0
  br i1 %89, label %90, label %129

90:                                               ; preds = %.split161.us
  %91 = getelementptr inbounds i8, ptr %86, i64 8
  %92 = tail call noundef zeroext i1 @_ZNKSt10unique_ptrIN3AST4PathESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %91) #9
  br i1 %92, label %93, label %106

93:                                               ; preds = %90
  %94 = tail call noundef ptr @_ZNKSt10unique_ptrIN3AST4PathESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %91) #9
  %95 = tail call noundef zeroext i1 @_ZNK3AST4Path8is_validEv(ptr noundef nonnull align 8 dereferenceable(240) %94)
  br i1 %95, label %106, label %96

96:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #9
  store ptr @__func__._Z13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClass, ptr %21, align 8, !tbaa !7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #9
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #9
  store ptr %21, ptr %24, align 8, !tbaa !7
  %97 = getelementptr inbounds i8, ptr %24, i64 8
  store ptr %2, ptr %97, align 8, !tbaa !7
  call void @"_ZNSt8functionIFvRSoEEC2IZ13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClassE3$_5vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(16) %24) #9
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull %23)
          to label %98 unwind label %101

98:                                               ; preds = %96
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #9
  %99 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %99, ptr noundef nonnull @.str.8)
          to label %100 unwind label %103

100:                                              ; preds = %98
  call void @__cxa_throw(ptr nonnull %99, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #10
  unreachable

101:                                              ; preds = %96
  %102 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #9
  br label %105

103:                                              ; preds = %98
  %104 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %99) #9
  br label %105

105:                                              ; preds = %103, %101
  %.pn110 = phi { ptr, i32 } [ %104, %103 ], [ %102, %101 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  br label %187

106:                                              ; preds = %93, %90
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #9
  %107 = tail call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt10unique_ptrI7TypeRefSt14default_deleteIS0_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %86) #9
  call void @_Z13LowerHIR_TypeRK7TypeRef(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %25, ptr noundef nonnull align 8 dereferenceable(120) %107)
  %108 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %25)
  %109 = call noundef zeroext i1 @_ZNK3HIR8TypeData7is_PathEv(ptr noundef nonnull align 8 dereferenceable(184) %108)
  br i1 %109, label %124, label %110

110:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #9
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %111 unwind label %117

111:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #9
  store ptr %2, ptr %28, align 8, !tbaa !7
  call void @"_ZNSt8functionIFvRSoEEC2IZ13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClassE3$_6vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #9
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull %27)
          to label %112 unwind label %119

112:                                              ; preds = %111
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #9
  %113 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %113, ptr noundef nonnull @.str.9)
          to label %114 unwind label %122

114:                                              ; preds = %112
  invoke void @__cxa_throw(ptr nonnull %113, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #10
          to label %190 unwind label %115

115:                                              ; preds = %124, %114
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %128

117:                                              ; preds = %110
  %118 = landingpad { ptr, i32 }
          cleanup
  br label %121

119:                                              ; preds = %111
  %120 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #9
  br label %121

121:                                              ; preds = %119, %117
  %.pn112 = phi { ptr, i32 } [ %120, %119 ], [ %118, %117 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #9
  br label %128

122:                                              ; preds = %112
  %123 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %113) #9
  br label %128

124:                                              ; preds = %106
  %125 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZN3HIR7TypeRef10get_uniqueEv(ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %126 unwind label %115

126:                                              ; preds = %124
  %127 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZN3HIR8TypeData7as_PathEv(ptr noundef nonnull align 8 dereferenceable(184) %125)
  call void @_ZN3HIR4PathC2EOS0_(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(88) %127) #9
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  br label %189

128:                                              ; preds = %122, %121, %115
  %.pn114 = phi { ptr, i32 } [ %116, %115 ], [ %123, %122 ], [ %.pn112, %121 ]
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  br label %187

129:                                              ; preds = %.split161.us
  %130 = tail call noundef i64 @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %87) #9
  %131 = icmp ugt i64 %130, 1
  br i1 %131, label %132, label %142

132:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #9
  store ptr @__func__._Z13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClass, ptr %29, align 8, !tbaa !7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #9
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %32) #9
  store ptr %29, ptr %32, align 8, !tbaa !7
  %133 = getelementptr inbounds i8, ptr %32, i64 8
  store ptr %2, ptr %133, align 8, !tbaa !7
  call void @"_ZNSt8functionIFvRSoEEC2IZ13LowerHIR_PathRK4SpanRKN3AST4PathE17FromAST_PathClassE3$_7vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(16) %32) #9
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull %31)
          to label %134 unwind label %137

134:                                              ; preds = %132
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #9
  %135 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %135, ptr noundef nonnull @.str.8)
          to label %136 unwind label %139

136:                                              ; preds = %134
  call void @__cxa_throw(ptr nonnull %135, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #10
  unreachable

137:                                              ; preds = %132
  %138 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #9
  br label %141

139:                                              ; preds = %134
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %135) #9
  br label %141

141:                                              ; preds = %139, %137
  %.pn108 = phi { ptr, i32 } [ %140, %139 ], [ %138, %137 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #9
  br label %187

142:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %33) #9
  %143 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %87) #9
  %144 = tail call noundef nonnull align 8 dereferenceable(25) ptr @_ZNK3AST8PathNode4argsEv(ptr noundef nonnull align 8 dereferenceable(40) %143)
  call void @_Z19LowerHIR_PathParamsRK4SpanRKN3AST10PathParamsEb(ptr dead_on_unwind nonnull writable sret(%"struct.HIR::PathParams") align 8 %33, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(25) %144, i1 noundef zeroext false)
  %145 = getelementptr inbounds i8, ptr %86, i64 8
  %146 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3AST4PathESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %145) #9
  br i1 %146, label %147, label %150

147:                                              ; preds = %142
  %148 = call noundef ptr @_ZNKSt10unique_ptrIN3AST4PathESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %145) #9
  %149 = call noundef zeroext i1 @_ZNK3AST4Path8is_validEv(ptr noundef nonnull align 8 dereferenceable(240) %148)
  br i1 %149, label %165, label %150

150:                                              ; preds = %147, %142
  %151 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt10unique_ptrI7TypeRefSt14default_deleteIS0_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %86) #9
  invoke void @_Z13LowerHIR_TypeRK7TypeRef(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %35, ptr noundef nonnull align 8 dereferenceable(120) %151)
          to label %152 unwind label %159

152:                                              ; preds = %150
  %153 = getelementptr inbounds i8, ptr %35, i64 8
  %154 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %87, i64 noundef 0) #9
  %155 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST8PathNode4nameEv(ptr noundef nonnull align 8 dereferenceable(40) %154)
  call void @_ZN8RcStringC2ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %153, ptr noundef nonnull align 8 dereferenceable(8) %155)
  %156 = getelementptr inbounds i8, ptr %35, i64 16
  invoke void @_ZN3HIR10PathParamsC2EOS0_(ptr noundef nonnull align 8 dereferenceable(24) %156, ptr noundef nonnull align 8 dereferenceable(24) %33)
          to label %157 unwind label %161

157:                                              ; preds = %152
  invoke void @_ZN3HIR4Path4Data16make_UfcsUnknownENS1_16Data_UfcsUnknownE(ptr dead_on_unwind nonnull writable sret(%"class.HIR::Path::Data") align 8 %34, ptr noundef nonnull %35)
          to label %158 unwind label %163

158:                                              ; preds = %157
  call void @_ZN3HIR4PathC2ENS0_4DataE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull %34)
  call void @_ZN3HIR4Path4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %34) #9
  call void @_ZN3HIR4Path4Data16Data_UfcsUnknownD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %35) #9
  br label %185

159:                                              ; preds = %165, %150
  %160 = landingpad { ptr, i32 }
          cleanup
  br label %186

161:                                              ; preds = %152
  %162 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %153) #9
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #9
  br label %186

163:                                              ; preds = %157
  %164 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR4Path4Data16Data_UfcsUnknownD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %35) #9
  br label %186

165:                                              ; preds = %147
  %166 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt10unique_ptrI7TypeRefSt14default_deleteIS0_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %86) #9
  invoke void @_Z13LowerHIR_TypeRK7TypeRef(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %37, ptr noundef nonnull align 8 dereferenceable(120) %166)
          to label %167 unwind label %159

167:                                              ; preds = %165
  %168 = getelementptr inbounds i8, ptr %37, i64 8
  %169 = call noundef nonnull align 8 dereferenceable(240) ptr @_ZNKSt10unique_ptrIN3AST4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %145) #9
  invoke void @_Z20LowerHIR_GenericPathRK4SpanRKN3AST4PathE17FromAST_PathClassb(ptr dead_on_unwind nonnull writable sret(%"class.HIR::GenericPath") align 8 %168, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(240) %169, i32 noundef 0, i1 noundef zeroext false)
          to label %170 unwind label %178

170:                                              ; preds = %167
  %171 = getelementptr inbounds i8, ptr %37, i64 40
  %172 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %87, i64 noundef 0) #9
  %173 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST8PathNode4nameEv(ptr noundef nonnull align 8 dereferenceable(40) %172)
  call void @_ZN8RcStringC2ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %171, ptr noundef nonnull align 8 dereferenceable(8) %173)
  %174 = getelementptr inbounds i8, ptr %37, i64 48
  invoke void @_ZN3HIR10PathParamsC2EOS0_(ptr noundef nonnull align 8 dereferenceable(24) %174, ptr noundef nonnull align 8 dereferenceable(24) %33)
          to label %175 unwind label %180

175:                                              ; preds = %170
  %176 = getelementptr inbounds i8, ptr %37, i64 72
  call void @_ZNSt10unique_ptrIN3HIR13GenericParamsESt14default_deleteIS1_EEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %176) #9
  invoke void @_ZN3HIR4Path4Data14make_UfcsKnownENS1_14Data_UfcsKnownE(ptr dead_on_unwind nonnull writable sret(%"class.HIR::Path::Data") align 8 %36, ptr noundef nonnull %37)
          to label %177 unwind label %183

177:                                              ; preds = %175
  call void @_ZN3HIR4PathC2ENS0_4DataE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull %36)
  call void @_ZN3HIR4Path4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %36) #9
  call void @_ZN3HIR4Path4Data14Data_UfcsKnownD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %37) #9
  br label %185

178:                                              ; preds = %167
  %179 = landingpad { ptr, i32 }
          cleanup
  br label %182

180:                                              ; preds = %170
  %181 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %171) #9
  call void @_ZN3HIR11GenericPathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %168) #9
  br label %182

182:                                              ; preds = %180, %178
  %.pn = phi { ptr, i32 } [ %181, %180 ], [ %179, %178 ]
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #9
  br label %186

183:                                              ; preds = %175
  %184 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR4Path4Data14Data_UfcsKnownD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %37) #9
  br label %186

185:                                              ; preds = %177, %158
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #9
  br label %189

186:                                              ; preds = %183, %182, %163, %161, %159
  %.pn106 = phi { ptr, i32 } [ %184, %183 ], [ %.pn, %182 ], [ %160, %159 ], [ %164, %163 ], [ %162, %161 ]
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #9
  br label %187

187:                                              ; preds = %105, %128, %141, %186, %78, %80, %70, %72, %62, %64, %44, %46, %84, %57
  %.pn114.pn.pn = phi { ptr, i32 } [ %85, %84 ], [ %.pn123, %57 ], [ %47, %46 ], [ %45, %44 ], [ %65, %64 ], [ %63, %62 ], [ %73, %72 ], [ %71, %70 ], [ %81, %80 ], [ %79, %78 ], [ %.pn114, %128 ], [ %.pn110, %105 ], [ %.pn108, %141 ], [ %.pn106, %186 ]
  resume { ptr, i32 } %.pn114.pn.pn

.loopexit:                                        ; preds = %.split.preheader
  %188 = tail call ptr @__cxa_allocate_exception(i64 8) #9
  store ptr @.str.23, ptr %188, align 16, !tbaa !7
  tail call void @__cxa_throw(ptr nonnull %188, ptr nonnull @_ZTIPKc, ptr null) #10
  unreachable

189:                                              ; preds = %83, %126, %185
  ret void

190:                                              ; preds = %114
  unreachable
}

declare void @_ZN3HIR4PathC1ENS_11GenericPathE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef) unnamed_addr #6

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z19LowerHIR_PathParamsRK4SpanRKN3AST10PathParamsEb(ptr dead_on_unwind noalias writable sret(%"struct.HIR::PathParams") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(25), i1 noundef zeroext) local_unnamed_addr #5

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3HIR4PathC2EOS0_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR4Path4Data16make_UfcsUnknownENS1_16Data_UfcsUnknownE(ptr dead_on_unwind noalias writable sret(%"class.HIR::Path::Data") align 8, ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3HIR4PathC2ENS0_4DataE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef) unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3HIR4Path4Data14make_UfcsKnownENS1_14Data_UfcsKnownE(ptr dead_on_unwind noalias writable sret(%"class.HIR::Path::Data") align 8, ptr noundef) local_unnamed_addr #5 align 2

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

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

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

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


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