; LLVM IR from thepowersgang/mrustc :: src/expand/mod.ll (Z11Expand_TypeRK11ExpandStateRN3AST6ModuleER7TypeRef)

; 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.std::unique_ptr.273" = type { %"struct.std::__uniq_ptr_data.274" }
%"struct.std::__uniq_ptr_data.274" = type { %"class.std::__uniq_ptr_impl.275" }
%"class.std::__uniq_ptr_impl.275" = type { %"class.std::tuple.276" }
%"class.std::tuple.276" = type { %"struct.std::_Tuple_impl.277" }
%"struct.std::_Tuple_impl.277" = type { %"struct.std::_Head_base.280" }
%"struct.std::_Head_base.280" = type { ptr }
%class.TypeRef = type { %struct.Span, %class.TypeData }
%struct.Span = type { ptr }
%class.TypeData = type { i32, %"union.TypeData::DataUnion" }
%"union.TypeData::DataUnion" = type { %"struct.TypeData::Data_ErasedType", [32 x i8] }
%"struct.TypeData::Data_ErasedType" = type { %"class.std::vector.199", %"class.std::vector.199", %"class.std::vector.204" }
%"class.std::vector.199" = type { %"struct.std::_Vector_base.200" }
%"struct.std::_Vector_base.200" = type { %"struct.std::_Vector_base<Type_TraitPath, std::allocator<Type_TraitPath>>::_Vector_impl" }
%"struct.std::_Vector_base<Type_TraitPath, std::allocator<Type_TraitPath>>::_Vector_impl" = type { %"struct.std::_Vector_base<Type_TraitPath, std::allocator<Type_TraitPath>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Type_TraitPath, std::allocator<Type_TraitPath>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.204" = type { %"struct.std::_Vector_base.205" }
%"struct.std::_Vector_base.205" = type { %"struct.std::_Vector_base<AST::LifetimeRef, std::allocator<AST::LifetimeRef>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::LifetimeRef, std::allocator<AST::LifetimeRef>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::LifetimeRef, std::allocator<AST::LifetimeRef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::LifetimeRef, std::allocator<AST::LifetimeRef>>::_Vector_impl_data" = type { ptr, ptr, 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.325 = type { i8 }
%"class.__gnu_cxx::__normal_iterator.327" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.328" = type { ptr }
%"struct.TypeData::Data_Macro" = type { %"class.std::unique_ptr.181" }
%"class.std::unique_ptr.181" = type { %"struct.std::__uniq_ptr_data.182" }
%"struct.std::__uniq_ptr_data.182" = type { %"class.std::__uniq_ptr_impl.183" }
%"class.std::__uniq_ptr_impl.183" = type { %"class.std::tuple.184" }
%"class.std::tuple.184" = type { %"struct.std::_Tuple_impl.185" }
%"struct.std::_Tuple_impl.185" = type { %"struct.std::_Head_base.188" }
%"struct.std::_Head_base.188" = type { ptr }
%"struct.TypeData::Data_Function" = type { %struct.Type_Function }
%struct.Type_Function = type <{ %"class.AST::HigherRankedBounds", i8, [7 x i8], %"class.std::__cxx11::basic_string", %"class.std::unique_ptr.124", %"class.std::vector.194", i8, [7 x i8] }>
%"class.AST::HigherRankedBounds" = type { %"class.std::vector.189" }
%"class.std::vector.189" = type { %"struct.std::_Vector_base.190" }
%"struct.std::_Vector_base.190" = type { %"struct.std::_Vector_base<AST::LifetimeParam, std::allocator<AST::LifetimeParam>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::LifetimeParam, std::allocator<AST::LifetimeParam>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::LifetimeParam, std::allocator<AST::LifetimeParam>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::LifetimeParam, std::allocator<AST::LifetimeParam>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::unique_ptr.124" = type { %"struct.std::__uniq_ptr_data.125" }
%"struct.std::__uniq_ptr_data.125" = type { %"class.std::__uniq_ptr_impl.126" }
%"class.std::__uniq_ptr_impl.126" = type { %"class.std::tuple.127" }
%"class.std::tuple.127" = type { %"struct.std::_Tuple_impl.128" }
%"struct.std::_Tuple_impl.128" = type { %"struct.std::_Head_base.131" }
%"struct.std::_Head_base.131" = type { ptr }
%"class.std::vector.194" = type { %"struct.std::_Vector_base.195" }
%"struct.std::_Vector_base.195" = type { %"struct.std::_Vector_base<TypeRef, std::allocator<TypeRef>>::_Vector_impl" }
%"struct.std::_Vector_base<TypeRef, std::allocator<TypeRef>>::_Vector_impl" = type { %"struct.std::_Vector_base<TypeRef, std::allocator<TypeRef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<TypeRef, std::allocator<TypeRef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.TypeData::Data_Tuple" = type { %"class.std::vector.194" }
%"struct.TypeData::Data_Borrow" = type { %"class.AST::LifetimeRef", i8, %"class.std::unique_ptr.124" }
%"class.AST::LifetimeRef" = type <{ %struct.Ident, i16, [6 x i8] }>
%struct.Ident = type { %"class.Ident::Hygiene", %class.RcString }
%"class.Ident::Hygiene" = type { %"class.std::unique_ptr.29" }
%"class.std::unique_ptr.29" = type { %"struct.std::__uniq_ptr_data.30" }
%"struct.std::__uniq_ptr_data.30" = type { %"class.std::__uniq_ptr_impl.31" }
%"class.std::__uniq_ptr_impl.31" = type { %"class.std::tuple.32" }
%"class.std::tuple.32" = type { %"struct.std::_Tuple_impl.33" }
%"struct.std::_Tuple_impl.33" = type { %"struct.std::_Head_base.36" }
%"struct.std::_Head_base.36" = type { ptr }
%class.RcString = type { ptr }
%"struct.TypeData::Data_Pointer" = type { i8, %"class.std::unique_ptr.124" }
%"struct.TypeData::Data_Array" = type { %"class.std::unique_ptr.124", %"class.std::shared_ptr" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"struct.TypeData::Data_Slice" = type { %"class.std::unique_ptr.124" }
%"struct.TypeData::Data_TraitObject" = type { %"class.std::vector.199", %"class.std::vector.204" }
%struct.Type_TraitPath = type { %"class.AST::HigherRankedBounds", %"class.std::unique_ptr.132" }
%"class.std::unique_ptr.132" = type { %"struct.std::__uniq_ptr_data.133" }
%"struct.std::__uniq_ptr_data.133" = type { %"class.std::__uniq_ptr_impl.134" }
%"class.std::__uniq_ptr_impl.134" = type { %"class.std::tuple.135" }
%"class.std::tuple.135" = type { %"struct.std::_Tuple_impl.136" }
%"struct.std::_Tuple_impl.136" = type { %"struct.std::_Head_base.139" }
%"struct.std::_Head_base.139" = type { ptr }

@_ZTISt13runtime_error = external constant ptr
@.str.20 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [24 x i8], align 1
@__PRETTY_FUNCTION__._Z11Expand_TypeRK11ExpandStateRN3AST6ModuleER7TypeRef = external hidden unnamed_addr constant [68 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

declare ptr @__cxa_allocate_exception(i64)

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

declare void @__cxa_free_exception(ptr)

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

declare void @__cxa_throw(ptr, ptr, ptr)

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12Expand_MacroRK11ExpandStateRN3AST6ModuleERNS2_15MacroInvocationE(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.273") align 8, ptr noundef nonnull align 8 dereferenceable(30), ptr noundef nonnull align 8 dereferenceable(480), ptr noundef nonnull align 8 dereferenceable(393)) #5

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z11Expand_TypeRK11ExpandStateRN3AST6ModuleER7TypeRef(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(120) %2) #5 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i8, align 1
  %11 = alloca ptr, align 8
  %12 = alloca i8, align 1
  %13 = alloca ptr, align 8
  %14 = alloca i8, align 1
  %15 = alloca ptr, align 8
  %16 = alloca i8, align 1
  %17 = alloca ptr, align 8
  %18 = alloca i8, align 1
  %19 = alloca ptr, align 8
  %20 = alloca %"class.std::unique_ptr.273", align 8
  %21 = alloca %class.TypeRef, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca %struct.Span, align 8
  %25 = alloca %"class.std::function", align 8
  %26 = alloca %class.anon.325, align 1
  %27 = alloca i8, align 1
  %28 = alloca ptr, align 8
  %29 = alloca i8, align 1
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator.327", align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.327", align 8
  %35 = alloca ptr, align 8
  %36 = alloca i8, align 1
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca %"class.__gnu_cxx::__normal_iterator.327", align 8
  %40 = alloca %"class.__gnu_cxx::__normal_iterator.327", align 8
  %41 = alloca ptr, align 8
  %42 = alloca i8, align 1
  %43 = alloca ptr, align 8
  %44 = alloca i8, align 1
  %45 = alloca ptr, align 8
  %46 = alloca i8, align 1
  %47 = alloca ptr, align 8
  %48 = alloca i8, align 1
  %49 = alloca ptr, align 8
  %50 = alloca i8, align 1
  %51 = alloca ptr, align 8
  %52 = alloca i8, align 1
  %53 = alloca ptr, align 8
  %54 = alloca i8, align 1
  %55 = alloca ptr, align 8
  %56 = alloca ptr, align 8
  %57 = alloca %"class.__gnu_cxx::__normal_iterator.328", align 8
  %58 = alloca %"class.__gnu_cxx::__normal_iterator.328", align 8
  %59 = alloca ptr, align 8
  %60 = alloca i8, align 1
  %61 = alloca ptr, align 8
  %62 = alloca ptr, align 8
  %63 = alloca %"class.__gnu_cxx::__normal_iterator.328", align 8
  %64 = alloca %"class.__gnu_cxx::__normal_iterator.328", align 8
  %65 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #7
  store i8 1, ptr %7, align 1, !tbaa !9
  br label %66

66:                                               ; preds = %549, %3
  %67 = load i8, ptr %7, align 1, !tbaa !9, !range !11, !noundef !12
  %68 = trunc i8 %67 to i1
  br i1 %68, label %70, label %69

69:                                               ; preds = %66
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  br label %550

70:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = getelementptr inbounds %class.TypeRef, ptr %71, i32 0, i32 1
  store ptr %72, ptr %9, align 8, !tbaa !5
  br label %73

73:                                               ; preds = %547, %70
  %74 = load i8, ptr %7, align 1, !tbaa !9, !range !11, !noundef !12
  %75 = trunc i8 %74 to i1
  br i1 %75, label %77, label %76

76:                                               ; preds = %73
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  br label %548

77:                                               ; preds = %73
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = call noundef i32 @_ZNK8TypeData3tagEv(ptr noundef nonnull align 8 dereferenceable(112) %78)
  switch i32 %79, label %546 [
    i32 0, label %80
    i32 1, label %81
    i32 2, label %99
    i32 4, label %117
    i32 3, label %135
    i32 5, label %153
    i32 6, label %229
    i32 7, label %247
    i32 8, label %291
    i32 9, label %328
    i32 10, label %351
    i32 11, label %374
    i32 12, label %405
    i32 13, label %428
    i32 14, label %446
    i32 15, label %468
    i32 16, label %507
  ]

80:                                               ; preds = %77
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.21, i32 noundef 559, ptr noundef @__PRETTY_FUNCTION__._Z11Expand_TypeRK11ExpandStateRN3AST6ModuleER7TypeRef) #8
  unreachable

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

82:                                               ; preds = %97, %81
  %83 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %84 = trunc i8 %83 to i1
  br i1 %84, label %86, label %85

85:                                               ; preds = %82
  store i32 9, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #7
  br label %98

86:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN8TypeData7as_NoneEv(ptr noundef nonnull align 8 dereferenceable(112) %87)
  store ptr %88, ptr %11, align 8, !tbaa !5
  br label %89

89:                                               ; preds = %95, %86
  %90 = load ptr, ptr %11, align 8, !tbaa !5
  %91 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %92 = trunc i8 %91 to i1
  br i1 %92, label %94, label %93

93:                                               ; preds = %89
  store i32 12, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %96

94:                                               ; preds = %89
  br label %95

95:                                               ; preds = %94
  store i8 0, ptr %10, align 1, !tbaa !9
  br label %89, !llvm.loop !13

96:                                               ; preds = %93
  br label %97

97:                                               ; preds = %96
  store i8 0, ptr %10, align 1, !tbaa !9
  br label %82, !llvm.loop !15

98:                                               ; preds = %85
  br label %546

99:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #7
  store i8 1, ptr %12, align 1, !tbaa !9
  br label %100

100:                                              ; preds = %115, %99
  %101 = load i8, ptr %12, align 1, !tbaa !9, !range !11, !noundef !12
  %102 = trunc i8 %101 to i1
  br i1 %102, label %104, label %103

103:                                              ; preds = %100
  store i32 15, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #7
  br label %116

104:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %105 = load ptr, ptr %9, align 8, !tbaa !5
  %106 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN8TypeData6as_AnyEv(ptr noundef nonnull align 8 dereferenceable(112) %105)
  store ptr %106, ptr %13, align 8, !tbaa !5
  br label %107

107:                                              ; preds = %113, %104
  %108 = load ptr, ptr %13, align 8, !tbaa !5
  %109 = load i8, ptr %12, align 1, !tbaa !9, !range !11, !noundef !12
  %110 = trunc i8 %109 to i1
  br i1 %110, label %112, label %111

111:                                              ; preds = %107
  store i32 18, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %114

112:                                              ; preds = %107
  br label %113

113:                                              ; preds = %112
  store i8 0, ptr %12, align 1, !tbaa !9
  br label %107, !llvm.loop !16

114:                                              ; preds = %111
  br label %115

115:                                              ; preds = %114
  store i8 0, ptr %12, align 1, !tbaa !9
  br label %100, !llvm.loop !17

116:                                              ; preds = %103
  br label %546

117:                                              ; preds = %77
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #7
  store i8 1, ptr %14, align 1, !tbaa !9
  br label %118

118:                                              ; preds = %133, %117
  %119 = load i8, ptr %14, align 1, !tbaa !9, !range !11, !noundef !12
  %120 = trunc i8 %119 to i1
  br i1 %120, label %122, label %121

121:                                              ; preds = %118
  store i32 21, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #7
  br label %134

122:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %123 = load ptr, ptr %9, align 8, !tbaa !5
  %124 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN8TypeData7as_UnitEv(ptr noundef nonnull align 8 dereferenceable(112) %123)
  store ptr %124, ptr %15, align 8, !tbaa !5
  br label %125

125:                                              ; preds = %131, %122
  %126 = load ptr, ptr %15, align 8, !tbaa !5
  %127 = load i8, ptr %14, align 1, !tbaa !9, !range !11, !noundef !12
  %128 = trunc i8 %127 to i1
  br i1 %128, label %130, label %129

129:                                              ; preds = %125
  store i32 24, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %132

130:                                              ; preds = %125
  br label %131

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

132:                                              ; preds = %129
  br label %133

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

134:                                              ; preds = %121
  br label %546

135:                                              ; preds = %77
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #7
  store i8 1, ptr %16, align 1, !tbaa !9
  br label %136

136:                                              ; preds = %151, %135
  %137 = load i8, ptr %16, align 1, !tbaa !9, !range !11, !noundef !12
  %138 = trunc i8 %137 to i1
  br i1 %138, label %140, label %139

139:                                              ; preds = %136
  store i32 27, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  br label %152

140:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %141 = load ptr, ptr %9, align 8, !tbaa !5
  %142 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN8TypeData7as_BangEv(ptr noundef nonnull align 8 dereferenceable(112) %141)
  store ptr %142, ptr %17, align 8, !tbaa !5
  br label %143

143:                                              ; preds = %149, %140
  %144 = load ptr, ptr %17, align 8, !tbaa !5
  %145 = load i8, ptr %16, align 1, !tbaa !9, !range !11, !noundef !12
  %146 = trunc i8 %145 to i1
  br i1 %146, label %148, label %147

147:                                              ; preds = %143
  store i32 30, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %150

148:                                              ; preds = %143
  br label %149

149:                                              ; preds = %148
  store i8 0, ptr %16, align 1, !tbaa !9
  br label %143, !llvm.loop !20

150:                                              ; preds = %147
  br label %151

151:                                              ; preds = %150
  store i8 0, ptr %16, align 1, !tbaa !9
  br label %136, !llvm.loop !21

152:                                              ; preds = %139
  br label %546

153:                                              ; preds = %77
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #7
  store i8 1, ptr %18, align 1, !tbaa !9
  br label %154

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

157:                                              ; preds = %154
  store i32 33, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  br label %228

158:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %159 = load ptr, ptr %9, align 8, !tbaa !5
  %160 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8TypeData8as_MacroEv(ptr noundef nonnull align 8 dereferenceable(112) %159)
  store ptr %160, ptr %19, align 8, !tbaa !5
  br label %161

161:                                              ; preds = %225, %158
  %162 = load ptr, ptr %19, align 8, !tbaa !5
  %163 = load i8, ptr %18, align 1, !tbaa !9, !range !11, !noundef !12
  %164 = trunc i8 %163 to i1
  br i1 %164, label %166, label %165

165:                                              ; preds = %161
  store i32 36, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %226

166:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %167 = load ptr, ptr %4, align 8, !tbaa !5
  %168 = load ptr, ptr %5, align 8, !tbaa !5
  %169 = load ptr, ptr %19, align 8, !tbaa !5
  %170 = getelementptr inbounds %"struct.TypeData::Data_Macro", ptr %169, i32 0, i32 0
  %171 = call noundef nonnull align 8 dereferenceable(393) ptr @_ZNKSt10unique_ptrIN3AST15MacroInvocationESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %170) #7
  call void @_Z12Expand_MacroRK11ExpandStateRN3AST6ModuleERNS2_15MacroInvocationE(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.273") align 8 %20, ptr noundef nonnull align 8 dereferenceable(30) %167, ptr noundef nonnull align 8 dereferenceable(480) %168, ptr noundef nonnull align 8 dereferenceable(393) %171)
  %172 = call noundef zeroext i1 @_ZNKSt10unique_ptrI11TokenStreamSt14default_deleteIS0_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  br i1 %172, label %173, label %224

173:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 120, ptr %21) #7
  %174 = call noundef nonnull align 8 dereferenceable(176) ptr @_ZNKSt10unique_ptrI11TokenStreamSt14default_deleteIS0_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  invoke void @_Z10Parse_TypeR11TokenStreamb(ptr dead_on_unwind writable sret(%class.TypeRef) align 8 %21, ptr noundef nonnull align 8 dereferenceable(176) %174, i1 noundef zeroext true)
          to label %175 unwind label %191

175:                                              ; preds = %173
  %176 = call noundef ptr @_ZNKSt10unique_ptrI11TokenStreamSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  %177 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %176, i32 noundef 0)
          to label %178 unwind label %195

178:                                              ; preds = %175
  %179 = icmp ne i32 %177, 1
  br i1 %179, label %180, label %214

180:                                              ; preds = %178
  br label %181

181:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %182 = load ptr, ptr %19, align 8, !tbaa !5
  %183 = getelementptr inbounds %"struct.TypeData::Data_Macro", ptr %182, i32 0, i32 0
  %184 = call noundef ptr @_ZNKSt10unique_ptrIN3AST15MacroInvocationESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %183) #7
  %185 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST15MacroInvocation4spanEv(ptr noundef nonnull align 8 dereferenceable(393) %184)
          to label %186 unwind label %199

186:                                              ; preds = %181
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %185)
          to label %187 unwind label %199

187:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #7
  call void @"_ZNSt8functionIFvRSoEEC2IZ11Expand_TypeRK11ExpandStateRN3AST6ModuleER7TypeRefE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  invoke void @_ZNK4Span5errorE9ErrorTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %24, i32 noundef 0, ptr noundef %25)
          to label %188 unwind label %203

188:                                              ; preds = %187
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  %189 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %189, ptr noundef @.str.23)
          to label %190 unwind label %208

190:                                              ; preds = %188
  invoke void @__cxa_throw(ptr %189, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %556 unwind label %195

191:                                              ; preds = %173
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %22, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %23, align 4
  br label %223

195:                                              ; preds = %217, %214, %190, %175
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %22, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %23, align 4
  br label %222

199:                                              ; preds = %186, %181
  %200 = landingpad { ptr, i32 }
          cleanup
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %22, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %23, align 4
  br label %207

203:                                              ; preds = %187
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %22, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %23, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  br label %207

207:                                              ; preds = %203, %199
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %222

208:                                              ; preds = %188
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %22, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %23, align 4
  call void @__cxa_free_exception(ptr %189) #7
  br label %222

212:                                              ; No predecessors!
  br label %213

213:                                              ; preds = %212
  br label %214

214:                                              ; preds = %213, %178
  %215 = load ptr, ptr %6, align 8, !tbaa !5
  %216 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN7TypeRefaSEOS_(ptr noundef nonnull align 8 dereferenceable(120) %215, ptr noundef nonnull align 8 dereferenceable(120) %21)
          to label %217 unwind label %195

217:                                              ; preds = %214
  %218 = load ptr, ptr %4, align 8, !tbaa !5
  %219 = load ptr, ptr %5, align 8, !tbaa !5
  %220 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_Z11Expand_TypeRK11ExpandStateRN3AST6ModuleER7TypeRef(ptr noundef nonnull align 8 dereferenceable(30) %218, ptr noundef nonnull align 8 dereferenceable(480) %219, ptr noundef nonnull align 8 dereferenceable(120) %220)
          to label %221 unwind label %195

221:                                              ; preds = %217
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %21) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr %21) #7
  br label %224

222:                                              ; preds = %208, %207, %195
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %21) #7
  br label %223

223:                                              ; preds = %222, %191
  call void @llvm.lifetime.end.p0(i64 120, ptr %21) #7
  call void @_ZNSt10unique_ptrI11TokenStreamSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  br label %551

224:                                              ; preds = %221, %166
  call void @_ZNSt10unique_ptrI11TokenStreamSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %225

225:                                              ; preds = %224
  store i8 0, ptr %18, align 1, !tbaa !9
  br label %161, !llvm.loop !22

226:                                              ; preds = %165
  br label %227

227:                                              ; preds = %226
  store i8 0, ptr %18, align 1, !tbaa !9
  br label %154, !llvm.loop !23

228:                                              ; preds = %157
  br label %546

229:                                              ; preds = %77
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #7
  store i8 1, ptr %27, align 1, !tbaa !9
  br label %230

230:                                              ; preds = %245, %229
  %231 = load i8, ptr %27, align 1, !tbaa !9, !range !11, !noundef !12
  %232 = trunc i8 %231 to i1
  br i1 %232, label %234, label %233

233:                                              ; preds = %230
  store i32 41, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #7
  br label %246

234:                                              ; preds = %230
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %235 = load ptr, ptr %9, align 8, !tbaa !5
  %236 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8TypeData12as_PrimitiveEv(ptr noundef nonnull align 8 dereferenceable(112) %235)
  store ptr %236, ptr %28, align 8, !tbaa !5
  br label %237

237:                                              ; preds = %243, %234
  %238 = load ptr, ptr %28, align 8, !tbaa !5
  %239 = load i8, ptr %27, align 1, !tbaa !9, !range !11, !noundef !12
  %240 = trunc i8 %239 to i1
  br i1 %240, label %242, label %241

241:                                              ; preds = %237
  store i32 44, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br label %244

242:                                              ; preds = %237
  br label %243

243:                                              ; preds = %242
  store i8 0, ptr %27, align 1, !tbaa !9
  br label %237, !llvm.loop !24

244:                                              ; preds = %241
  br label %245

245:                                              ; preds = %244
  store i8 0, ptr %27, align 1, !tbaa !9
  br label %230, !llvm.loop !25

246:                                              ; preds = %233
  br label %546

247:                                              ; preds = %77
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #7
  store i8 1, ptr %29, align 1, !tbaa !9
  br label %248

248:                                              ; preds = %289, %247
  %249 = load i8, ptr %29, align 1, !tbaa !9, !range !11, !noundef !12
  %250 = trunc i8 %249 to i1
  br i1 %250, label %252, label %251

251:                                              ; preds = %248
  store i32 47, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #7
  br label %290

252:                                              ; preds = %248
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %253 = load ptr, ptr %9, align 8, !tbaa !5
  %254 = call noundef nonnull align 8 dereferenceable(104) ptr @_ZN8TypeData11as_FunctionEv(ptr noundef nonnull align 8 dereferenceable(112) %253)
  store ptr %254, ptr %30, align 8, !tbaa !5
  br label %255

255:                                              ; preds = %287, %252
  %256 = load ptr, ptr %30, align 8, !tbaa !5
  %257 = load i8, ptr %29, align 1, !tbaa !9, !range !11, !noundef !12
  %258 = trunc i8 %257 to i1
  br i1 %258, label %260, label %259

259:                                              ; preds = %255
  store i32 50, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br label %288

260:                                              ; preds = %255
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %261 = load ptr, ptr %30, align 8, !tbaa !5
  %262 = getelementptr inbounds %"struct.TypeData::Data_Function", ptr %261, i32 0, i32 0
  store ptr %262, ptr %31, align 8, !tbaa !5
  %263 = load ptr, ptr %4, align 8, !tbaa !5
  %264 = load ptr, ptr %5, align 8, !tbaa !5
  %265 = load ptr, ptr %31, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.Type_Function, ptr %265, i32 0, i32 4
  %267 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt10unique_ptrI7TypeRefSt14default_deleteIS0_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %266) #7
  call void @_Z11Expand_TypeRK11ExpandStateRN3AST6ModuleER7TypeRef(ptr noundef nonnull align 8 dereferenceable(30) %263, ptr noundef nonnull align 8 dereferenceable(480) %264, ptr noundef nonnull align 8 dereferenceable(120) %267)
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %268 = load ptr, ptr %31, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.Type_Function, ptr %268, i32 0, i32 5
  store ptr %269, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  %270 = load ptr, ptr %32, align 8, !tbaa !5
  %271 = call ptr @_ZNSt6vectorI7TypeRefSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %270) #7
  %272 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.327", ptr %33, i32 0, i32 0
  store ptr %271, ptr %272, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %273 = load ptr, ptr %32, align 8, !tbaa !5
  %274 = call ptr @_ZNSt6vectorI7TypeRefSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %273) #7
  %275 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.327", ptr %34, i32 0, i32 0
  store ptr %274, ptr %275, align 8
  br label %276

276:                                              ; preds = %284, %260
  %277 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP7TypeRefSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  br i1 %277, label %279, label %278

278:                                              ; preds = %276
  store i32 53, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  br label %286

279:                                              ; preds = %276
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  %280 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP7TypeRefSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #7
  store ptr %280, ptr %35, align 8, !tbaa !5
  %281 = load ptr, ptr %4, align 8, !tbaa !5
  %282 = load ptr, ptr %5, align 8, !tbaa !5
  %283 = load ptr, ptr %35, align 8, !tbaa !5
  call void @_Z11Expand_TypeRK11ExpandStateRN3AST6ModuleER7TypeRef(ptr noundef nonnull align 8 dereferenceable(30) %281, ptr noundef nonnull align 8 dereferenceable(480) %282, ptr noundef nonnull align 8 dereferenceable(120) %283)
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  br label %284

284:                                              ; preds = %279
  %285 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP7TypeRefSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #7
  br label %276

286:                                              ; preds = %278
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  br label %287

287:                                              ; preds = %286
  store i8 0, ptr %29, align 1, !tbaa !9
  br label %255, !llvm.loop !26

288:                                              ; preds = %259
  br label %289

289:                                              ; preds = %288
  store i8 0, ptr %29, align 1, !tbaa !9
  br label %248, !llvm.loop !27

290:                                              ; preds = %251
  br label %546

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

292:                                              ; preds = %326, %291
  %293 = load i8, ptr %36, align 1, !tbaa !9, !range !11, !noundef !12
  %294 = trunc i8 %293 to i1
  br i1 %294, label %296, label %295

295:                                              ; preds = %292
  store i32 55, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #7
  br label %327

296:                                              ; preds = %292
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  %297 = load ptr, ptr %9, align 8, !tbaa !5
  %298 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN8TypeData8as_TupleEv(ptr noundef nonnull align 8 dereferenceable(112) %297)
  store ptr %298, ptr %37, align 8, !tbaa !5
  br label %299

299:                                              ; preds = %324, %296
  %300 = load ptr, ptr %37, align 8, !tbaa !5
  %301 = load i8, ptr %36, align 1, !tbaa !9, !range !11, !noundef !12
  %302 = trunc i8 %301 to i1
  br i1 %302, label %304, label %303

303:                                              ; preds = %299
  store i32 58, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  br label %325

304:                                              ; preds = %299
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #7
  %305 = load ptr, ptr %37, align 8, !tbaa !5
  %306 = getelementptr inbounds %"struct.TypeData::Data_Tuple", ptr %305, i32 0, i32 0
  store ptr %306, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #7
  %307 = load ptr, ptr %38, align 8, !tbaa !5
  %308 = call ptr @_ZNSt6vectorI7TypeRefSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %307) #7
  %309 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.327", ptr %39, i32 0, i32 0
  store ptr %308, ptr %309, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #7
  %310 = load ptr, ptr %38, align 8, !tbaa !5
  %311 = call ptr @_ZNSt6vectorI7TypeRefSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %310) #7
  %312 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.327", ptr %40, i32 0, i32 0
  store ptr %311, ptr %312, align 8
  br label %313

313:                                              ; preds = %321, %304
  %314 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP7TypeRefSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %40) #7
  br i1 %314, label %316, label %315

315:                                              ; preds = %313
  store i32 61, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  br label %323

316:                                              ; preds = %313
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #7
  %317 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP7TypeRefSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %39) #7
  store ptr %317, ptr %41, align 8, !tbaa !5
  %318 = load ptr, ptr %4, align 8, !tbaa !5
  %319 = load ptr, ptr %5, align 8, !tbaa !5
  %320 = load ptr, ptr %41, align 8, !tbaa !5
  call void @_Z11Expand_TypeRK11ExpandStateRN3AST6ModuleER7TypeRef(ptr noundef nonnull align 8 dereferenceable(30) %318, ptr noundef nonnull align 8 dereferenceable(480) %319, ptr noundef nonnull align 8 dereferenceable(120) %320)
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  br label %321

321:                                              ; preds = %316
  %322 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP7TypeRefSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %39) #7
  br label %313

323:                                              ; preds = %315
  br label %324

324:                                              ; preds = %323
  store i8 0, ptr %36, align 1, !tbaa !9
  br label %299, !llvm.loop !28

325:                                              ; preds = %303
  br label %326

326:                                              ; preds = %325
  store i8 0, ptr %36, align 1, !tbaa !9
  br label %292, !llvm.loop !29

327:                                              ; preds = %295
  br label %546

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

329:                                              ; preds = %349, %328
  %330 = load i8, ptr %42, align 1, !tbaa !9, !range !11, !noundef !12
  %331 = trunc i8 %330 to i1
  br i1 %331, label %333, label %332

332:                                              ; preds = %329
  store i32 63, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #7
  br label %350

333:                                              ; preds = %329
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #7
  %334 = load ptr, ptr %9, align 8, !tbaa !5
  %335 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN8TypeData9as_BorrowEv(ptr noundef nonnull align 8 dereferenceable(112) %334)
  store ptr %335, ptr %43, align 8, !tbaa !5
  br label %336

336:                                              ; preds = %347, %333
  %337 = load ptr, ptr %43, align 8, !tbaa !5
  %338 = load i8, ptr %42, align 1, !tbaa !9, !range !11, !noundef !12
  %339 = trunc i8 %338 to i1
  br i1 %339, label %341, label %340

340:                                              ; preds = %336
  store i32 66, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  br label %348

341:                                              ; preds = %336
  %342 = load ptr, ptr %4, align 8, !tbaa !5
  %343 = load ptr, ptr %5, align 8, !tbaa !5
  %344 = load ptr, ptr %43, align 8, !tbaa !5
  %345 = getelementptr inbounds %"struct.TypeData::Data_Borrow", ptr %344, i32 0, i32 2
  %346 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt10unique_ptrI7TypeRefSt14default_deleteIS0_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %345) #7
  call void @_Z11Expand_TypeRK11ExpandStateRN3AST6ModuleER7TypeRef(ptr noundef nonnull align 8 dereferenceable(30) %342, ptr noundef nonnull align 8 dereferenceable(480) %343, ptr noundef nonnull align 8 dereferenceable(120) %346)
  br label %347

347:                                              ; preds = %341
  store i8 0, ptr %42, align 1, !tbaa !9
  br label %336, !llvm.loop !30

348:                                              ; preds = %340
  br label %349

349:                                              ; preds = %348
  store i8 0, ptr %42, align 1, !tbaa !9
  br label %329, !llvm.loop !31

350:                                              ; preds = %332
  br label %546

351:                                              ; preds = %77
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #7
  store i8 1, ptr %44, align 1, !tbaa !9
  br label %352

352:                                              ; preds = %372, %351
  %353 = load i8, ptr %44, align 1, !tbaa !9, !range !11, !noundef !12
  %354 = trunc i8 %353 to i1
  br i1 %354, label %356, label %355

355:                                              ; preds = %352
  store i32 69, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #7
  br label %373

356:                                              ; preds = %352
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #7
  %357 = load ptr, ptr %9, align 8, !tbaa !5
  %358 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TypeData10as_PointerEv(ptr noundef nonnull align 8 dereferenceable(112) %357)
  store ptr %358, ptr %45, align 8, !tbaa !5
  br label %359

359:                                              ; preds = %370, %356
  %360 = load ptr, ptr %45, align 8, !tbaa !5
  %361 = load i8, ptr %44, align 1, !tbaa !9, !range !11, !noundef !12
  %362 = trunc i8 %361 to i1
  br i1 %362, label %364, label %363

363:                                              ; preds = %359
  store i32 72, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #7
  br label %371

364:                                              ; preds = %359
  %365 = load ptr, ptr %4, align 8, !tbaa !5
  %366 = load ptr, ptr %5, align 8, !tbaa !5
  %367 = load ptr, ptr %45, align 8, !tbaa !5
  %368 = getelementptr inbounds %"struct.TypeData::Data_Pointer", ptr %367, i32 0, i32 1
  %369 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt10unique_ptrI7TypeRefSt14default_deleteIS0_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %368) #7
  call void @_Z11Expand_TypeRK11ExpandStateRN3AST6ModuleER7TypeRef(ptr noundef nonnull align 8 dereferenceable(30) %365, ptr noundef nonnull align 8 dereferenceable(480) %366, ptr noundef nonnull align 8 dereferenceable(120) %369)
  br label %370

370:                                              ; preds = %364
  store i8 0, ptr %44, align 1, !tbaa !9
  br label %359, !llvm.loop !32

371:                                              ; preds = %363
  br label %372

372:                                              ; preds = %371
  store i8 0, ptr %44, align 1, !tbaa !9
  br label %352, !llvm.loop !33

373:                                              ; preds = %355
  br label %546

374:                                              ; preds = %77
  call void @llvm.lifetime.start.p0(i64 1, ptr %46) #7
  store i8 1, ptr %46, align 1, !tbaa !9
  br label %375

375:                                              ; preds = %403, %374
  %376 = load i8, ptr %46, align 1, !tbaa !9, !range !11, !noundef !12
  %377 = trunc i8 %376 to i1
  br i1 %377, label %379, label %378

378:                                              ; preds = %375
  store i32 75, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #7
  br label %404

379:                                              ; preds = %375
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #7
  %380 = load ptr, ptr %9, align 8, !tbaa !5
  %381 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN8TypeData8as_ArrayEv(ptr noundef nonnull align 8 dereferenceable(112) %380)
  store ptr %381, ptr %47, align 8, !tbaa !5
  br label %382

382:                                              ; preds = %401, %379
  %383 = load ptr, ptr %47, align 8, !tbaa !5
  %384 = load i8, ptr %46, align 1, !tbaa !9, !range !11, !noundef !12
  %385 = trunc i8 %384 to i1
  br i1 %385, label %387, label %386

386:                                              ; preds = %382
  store i32 78, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #7
  br label %402

387:                                              ; preds = %382
  %388 = load ptr, ptr %4, align 8, !tbaa !5
  %389 = load ptr, ptr %5, align 8, !tbaa !5
  %390 = load ptr, ptr %47, align 8, !tbaa !5
  %391 = getelementptr inbounds %"struct.TypeData::Data_Array", ptr %390, i32 0, i32 0
  %392 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt10unique_ptrI7TypeRefSt14default_deleteIS0_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %391) #7
  call void @_Z11Expand_TypeRK11ExpandStateRN3AST6ModuleER7TypeRef(ptr noundef nonnull align 8 dereferenceable(30) %388, ptr noundef nonnull align 8 dereferenceable(480) %389, ptr noundef nonnull align 8 dereferenceable(120) %392)
  %393 = load ptr, ptr %47, align 8, !tbaa !5
  %394 = getelementptr inbounds %"struct.TypeData::Data_Array", ptr %393, i32 0, i32 1
  %395 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3AST8ExprNodeELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %394) #7
  br i1 %395, label %396, label %400

396:                                              ; preds = %387
  %397 = load ptr, ptr %4, align 8, !tbaa !5
  %398 = load ptr, ptr %47, align 8, !tbaa !5
  %399 = getelementptr inbounds %"struct.TypeData::Data_Array", ptr %398, i32 0, i32 1
  call void @_Z11Expand_ExprRK11ExpandStateRSt10shared_ptrIN3AST8ExprNodeEE(ptr noundef nonnull align 8 dereferenceable(30) %397, ptr noundef nonnull align 8 dereferenceable(16) %399)
  br label %400

400:                                              ; preds = %396, %387
  br label %401

401:                                              ; preds = %400
  store i8 0, ptr %46, align 1, !tbaa !9
  br label %382, !llvm.loop !34

402:                                              ; preds = %386
  br label %403

403:                                              ; preds = %402
  store i8 0, ptr %46, align 1, !tbaa !9
  br label %375, !llvm.loop !35

404:                                              ; preds = %378
  br label %546

405:                                              ; preds = %77
  call void @llvm.lifetime.start.p0(i64 1, ptr %48) #7
  store i8 1, ptr %48, align 1, !tbaa !9
  br label %406

406:                                              ; preds = %426, %405
  %407 = load i8, ptr %48, align 1, !tbaa !9, !range !11, !noundef !12
  %408 = trunc i8 %407 to i1
  br i1 %408, label %410, label %409

409:                                              ; preds = %406
  store i32 81, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #7
  br label %427

410:                                              ; preds = %406
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #7
  %411 = load ptr, ptr %9, align 8, !tbaa !5
  %412 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8TypeData8as_SliceEv(ptr noundef nonnull align 8 dereferenceable(112) %411)
  store ptr %412, ptr %49, align 8, !tbaa !5
  br label %413

413:                                              ; preds = %424, %410
  %414 = load ptr, ptr %49, align 8, !tbaa !5
  %415 = load i8, ptr %48, align 1, !tbaa !9, !range !11, !noundef !12
  %416 = trunc i8 %415 to i1
  br i1 %416, label %418, label %417

417:                                              ; preds = %413
  store i32 84, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #7
  br label %425

418:                                              ; preds = %413
  %419 = load ptr, ptr %4, align 8, !tbaa !5
  %420 = load ptr, ptr %5, align 8, !tbaa !5
  %421 = load ptr, ptr %49, align 8, !tbaa !5
  %422 = getelementptr inbounds %"struct.TypeData::Data_Slice", ptr %421, i32 0, i32 0
  %423 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt10unique_ptrI7TypeRefSt14default_deleteIS0_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %422) #7
  call void @_Z11Expand_TypeRK11ExpandStateRN3AST6ModuleER7TypeRef(ptr noundef nonnull align 8 dereferenceable(30) %419, ptr noundef nonnull align 8 dereferenceable(480) %420, ptr noundef nonnull align 8 dereferenceable(120) %423)
  br label %424

424:                                              ; preds = %418
  store i8 0, ptr %48, align 1, !tbaa !9
  br label %413, !llvm.loop !36

425:                                              ; preds = %417
  br label %426

426:                                              ; preds = %425
  store i8 0, ptr %48, align 1, !tbaa !9
  br label %406, !llvm.loop !37

427:                                              ; preds = %409
  br label %546

428:                                              ; preds = %77
  call void @llvm.lifetime.start.p0(i64 1, ptr %50) #7
  store i8 1, ptr %50, align 1, !tbaa !9
  br label %429

429:                                              ; preds = %444, %428
  %430 = load i8, ptr %50, align 1, !tbaa !9, !range !11, !noundef !12
  %431 = trunc i8 %430 to i1
  br i1 %431, label %433, label %432

432:                                              ; preds = %429
  store i32 87, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #7
  br label %445

433:                                              ; preds = %429
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #7
  %434 = load ptr, ptr %9, align 8, !tbaa !5
  %435 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN8TypeData10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(112) %434)
  store ptr %435, ptr %51, align 8, !tbaa !5
  br label %436

436:                                              ; preds = %442, %433
  %437 = load ptr, ptr %51, align 8, !tbaa !5
  %438 = load i8, ptr %50, align 1, !tbaa !9, !range !11, !noundef !12
  %439 = trunc i8 %438 to i1
  br i1 %439, label %441, label %440

440:                                              ; preds = %436
  store i32 90, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #7
  br label %443

441:                                              ; preds = %436
  br label %442

442:                                              ; preds = %441
  store i8 0, ptr %50, align 1, !tbaa !9
  br label %436, !llvm.loop !38

443:                                              ; preds = %440
  br label %444

444:                                              ; preds = %443
  store i8 0, ptr %50, align 1, !tbaa !9
  br label %429, !llvm.loop !39

445:                                              ; preds = %432
  br label %546

446:                                              ; preds = %77
  call void @llvm.lifetime.start.p0(i64 1, ptr %52) #7
  store i8 1, ptr %52, align 1, !tbaa !9
  br label %447

447:                                              ; preds = %466, %446
  %448 = load i8, ptr %52, align 1, !tbaa !9, !range !11, !noundef !12
  %449 = trunc i8 %448 to i1
  br i1 %449, label %451, label %450

450:                                              ; preds = %447
  store i32 93, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #7
  br label %467

451:                                              ; preds = %447
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #7
  %452 = load ptr, ptr %9, align 8, !tbaa !5
  %453 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8TypeData7as_PathEv(ptr noundef nonnull align 8 dereferenceable(112) %452)
  store ptr %453, ptr %53, align 8, !tbaa !5
  br label %454

454:                                              ; preds = %464, %451
  %455 = load ptr, ptr %53, align 8, !tbaa !5
  %456 = load i8, ptr %52, align 1, !tbaa !9, !range !11, !noundef !12
  %457 = trunc i8 %456 to i1
  br i1 %457, label %459, label %458

458:                                              ; preds = %454
  store i32 96, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #7
  br label %465

459:                                              ; preds = %454
  %460 = load ptr, ptr %4, align 8, !tbaa !5
  %461 = load ptr, ptr %5, align 8, !tbaa !5
  %462 = load ptr, ptr %53, align 8, !tbaa !5
  %463 = call noundef nonnull align 8 dereferenceable(240) ptr @_ZNKSt10unique_ptrIN3AST4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %462) #7
  call void @_Z11Expand_PathRK11ExpandStateRN3AST6ModuleERNS2_4PathE(ptr noundef nonnull align 8 dereferenceable(30) %460, ptr noundef nonnull align 8 dereferenceable(480) %461, ptr noundef nonnull align 8 dereferenceable(240) %463)
  br label %464

464:                                              ; preds = %459
  store i8 0, ptr %52, align 1, !tbaa !9
  br label %454, !llvm.loop !40

465:                                              ; preds = %458
  br label %466

466:                                              ; preds = %465
  store i8 0, ptr %52, align 1, !tbaa !9
  br label %447, !llvm.loop !41

467:                                              ; preds = %450
  br label %546

468:                                              ; preds = %77
  call void @llvm.lifetime.start.p0(i64 1, ptr %54) #7
  store i8 1, ptr %54, align 1, !tbaa !9
  br label %469

469:                                              ; preds = %505, %468
  %470 = load i8, ptr %54, align 1, !tbaa !9, !range !11, !noundef !12
  %471 = trunc i8 %470 to i1
  br i1 %471, label %473, label %472

472:                                              ; preds = %469
  store i32 99, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %54) #7
  br label %506

473:                                              ; preds = %469
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #7
  %474 = load ptr, ptr %9, align 8, !tbaa !5
  %475 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8TypeData14as_TraitObjectEv(ptr noundef nonnull align 8 dereferenceable(112) %474)
  store ptr %475, ptr %55, align 8, !tbaa !5
  br label %476

476:                                              ; preds = %503, %473
  %477 = load ptr, ptr %55, align 8, !tbaa !5
  %478 = load i8, ptr %54, align 1, !tbaa !9, !range !11, !noundef !12
  %479 = trunc i8 %478 to i1
  br i1 %479, label %481, label %480

480:                                              ; preds = %476
  store i32 102, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #7
  br label %504

481:                                              ; preds = %476
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #7
  %482 = load ptr, ptr %55, align 8, !tbaa !5
  %483 = getelementptr inbounds %"struct.TypeData::Data_TraitObject", ptr %482, i32 0, i32 0
  store ptr %483, ptr %56, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #7
  %484 = load ptr, ptr %56, align 8, !tbaa !5
  %485 = call ptr @_ZNSt6vectorI14Type_TraitPathSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %484) #7
  %486 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.328", ptr %57, i32 0, i32 0
  store ptr %485, ptr %486, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #7
  %487 = load ptr, ptr %56, align 8, !tbaa !5
  %488 = call ptr @_ZNSt6vectorI14Type_TraitPathSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %487) #7
  %489 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.328", ptr %58, i32 0, i32 0
  store ptr %488, ptr %489, align 8
  br label %490

490:                                              ; preds = %500, %481
  %491 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP14Type_TraitPathSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef nonnull align 8 dereferenceable(8) %58) #7
  br i1 %491, label %493, label %492

492:                                              ; preds = %490
  store i32 105, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #7
  br label %502

493:                                              ; preds = %490
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #7
  %494 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP14Type_TraitPathSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %57) #7
  store ptr %494, ptr %59, align 8, !tbaa !5
  %495 = load ptr, ptr %4, align 8, !tbaa !5
  %496 = load ptr, ptr %5, align 8, !tbaa !5
  %497 = load ptr, ptr %59, align 8, !tbaa !5
  %498 = getelementptr inbounds %struct.Type_TraitPath, ptr %497, i32 0, i32 1
  %499 = call noundef nonnull align 8 dereferenceable(240) ptr @_ZNKSt10unique_ptrIN3AST4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %498) #7
  call void @_Z11Expand_PathRK11ExpandStateRN3AST6ModuleERNS2_4PathE(ptr noundef nonnull align 8 dereferenceable(30) %495, ptr noundef nonnull align 8 dereferenceable(480) %496, ptr noundef nonnull align 8 dereferenceable(240) %499)
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #7
  br label %500

500:                                              ; preds = %493
  %501 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP14Type_TraitPathSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %57) #7
  br label %490

502:                                              ; preds = %492
  br label %503

503:                                              ; preds = %502
  store i8 0, ptr %54, align 1, !tbaa !9
  br label %476, !llvm.loop !42

504:                                              ; preds = %480
  br label %505

505:                                              ; preds = %504
  store i8 0, ptr %54, align 1, !tbaa !9
  br label %469, !llvm.loop !43

506:                                              ; preds = %472
  br label %546

507:                                              ; preds = %77
  call void @llvm.lifetime.start.p0(i64 1, ptr %60) #7
  store i8 1, ptr %60, align 1, !tbaa !9
  br label %508

508:                                              ; preds = %544, %507
  %509 = load i8, ptr %60, align 1, !tbaa !9, !range !11, !noundef !12
  %510 = trunc i8 %509 to i1
  br i1 %510, label %512, label %511

511:                                              ; preds = %508
  store i32 107, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #7
  br label %545

512:                                              ; preds = %508
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #7
  %513 = load ptr, ptr %9, align 8, !tbaa !5
  %514 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZN8TypeData13as_ErasedTypeEv(ptr noundef nonnull align 8 dereferenceable(112) %513)
  store ptr %514, ptr %61, align 8, !tbaa !5
  br label %515

515:                                              ; preds = %542, %512
  %516 = load ptr, ptr %61, align 8, !tbaa !5
  %517 = load i8, ptr %60, align 1, !tbaa !9, !range !11, !noundef !12
  %518 = trunc i8 %517 to i1
  br i1 %518, label %520, label %519

519:                                              ; preds = %515
  store i32 110, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #7
  br label %543

520:                                              ; preds = %515
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #7
  %521 = load ptr, ptr %61, align 8, !tbaa !5
  %522 = getelementptr inbounds %"struct.TypeData::Data_ErasedType", ptr %521, i32 0, i32 0
  store ptr %522, ptr %62, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #7
  %523 = load ptr, ptr %62, align 8, !tbaa !5
  %524 = call ptr @_ZNSt6vectorI14Type_TraitPathSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %523) #7
  %525 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.328", ptr %63, i32 0, i32 0
  store ptr %524, ptr %525, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #7
  %526 = load ptr, ptr %62, align 8, !tbaa !5
  %527 = call ptr @_ZNSt6vectorI14Type_TraitPathSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %526) #7
  %528 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.328", ptr %64, i32 0, i32 0
  store ptr %527, ptr %528, align 8
  br label %529

529:                                              ; preds = %539, %520
  %530 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP14Type_TraitPathSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef nonnull align 8 dereferenceable(8) %64) #7
  br i1 %530, label %532, label %531

531:                                              ; preds = %529
  store i32 113, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #7
  br label %541

532:                                              ; preds = %529
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #7
  %533 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP14Type_TraitPathSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %63) #7
  store ptr %533, ptr %65, align 8, !tbaa !5
  %534 = load ptr, ptr %4, align 8, !tbaa !5
  %535 = load ptr, ptr %5, align 8, !tbaa !5
  %536 = load ptr, ptr %65, align 8, !tbaa !5
  %537 = getelementptr inbounds %struct.Type_TraitPath, ptr %536, i32 0, i32 1
  %538 = call noundef nonnull align 8 dereferenceable(240) ptr @_ZNKSt10unique_ptrIN3AST4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %537) #7
  call void @_Z11Expand_PathRK11ExpandStateRN3AST6ModuleERNS2_4PathE(ptr noundef nonnull align 8 dereferenceable(30) %534, ptr noundef nonnull align 8 dereferenceable(480) %535, ptr noundef nonnull align 8 dereferenceable(240) %538)
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #7
  br label %539

539:                                              ; preds = %532
  %540 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP14Type_TraitPathSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %63) #7
  br label %529

541:                                              ; preds = %531
  br label %542

542:                                              ; preds = %541
  store i8 0, ptr %60, align 1, !tbaa !9
  br label %515, !llvm.loop !44

543:                                              ; preds = %519
  br label %544

544:                                              ; preds = %543
  store i8 0, ptr %60, align 1, !tbaa !9
  br label %508, !llvm.loop !45

545:                                              ; preds = %511
  br label %546

546:                                              ; preds = %545, %506, %467, %445, %427, %404, %373, %350, %327, %290, %246, %228, %152, %134, %116, %98, %77
  br label %547

547:                                              ; preds = %546
  store i8 0, ptr %7, align 1, !tbaa !9
  br label %73, !llvm.loop !46

548:                                              ; preds = %76
  br label %549

549:                                              ; preds = %548
  store i8 0, ptr %7, align 1, !tbaa !9
  br label %66, !llvm.loop !47

550:                                              ; preds = %69
  ret void

551:                                              ; preds = %223
  %552 = load ptr, ptr %22, align 8
  %553 = load i32, ptr %23, align 4
  %554 = insertvalue { ptr, i32 } poison, ptr %552, 0
  %555 = insertvalue { ptr, i32 } %554, i32 %553, 1
  resume { ptr, i32 } %555

556:                                              ; preds = %190
  unreachable
}

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

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

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

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

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

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

declare void @_Z10Parse_TypeR11TokenStreamb(ptr dead_on_unwind writable sret(%class.TypeRef) align 8, ptr noundef nonnull align 8 dereferenceable(176), i1 noundef zeroext) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(120) ptr @_ZN7TypeRefaSEOS_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(120)) #5 align 2

; Function Attrs: nounwind
declare void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #2

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11Expand_ExprRK11ExpandStateRSt10shared_ptrIN3AST8ExprNodeEE(ptr noundef nonnull align 8 dereferenceable(30), ptr noundef nonnull align 8 dereferenceable(16)) #5

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11Expand_PathRK11ExpandStateRN3AST6ModuleERNS2_4PathE(ptr noundef nonnull align 8 dereferenceable(30), ptr noundef nonnull align 8 dereferenceable(480), ptr noundef nonnull align 8 dereferenceable(240)) #5

; 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 nonnull align 8 dereferenceable(48) ptr @_ZN8TypeData14as_TraitObjectEv(ptr noundef nonnull align 8 dereferenceable(112)) #4 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZN8TypeData13as_ErasedTypeEv(ptr noundef nonnull align 8 dereferenceable(112)) #4 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { noreturn nounwind }
attributes #9 = { noreturn }

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

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


; 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.std::unique_ptr.273" = type { %"struct.std::__uniq_ptr_data.274" }
%"struct.std::__uniq_ptr_data.274" = type { %"class.std::__uniq_ptr_impl.275" }
%"class.std::__uniq_ptr_impl.275" = type { %"class.std::tuple.276" }
%"class.std::tuple.276" = type { %"struct.std::_Tuple_impl.277" }
%"struct.std::_Tuple_impl.277" = type { %"struct.std::_Head_base.280" }
%"struct.std::_Head_base.280" = type { ptr }
%class.TypeRef = type { %struct.Span, %class.TypeData }
%struct.Span = type { ptr }
%class.TypeData = type { i32, %"union.TypeData::DataUnion" }
%"union.TypeData::DataUnion" = type { %"struct.TypeData::Data_ErasedType", [32 x i8] }
%"struct.TypeData::Data_ErasedType" = type { %"class.std::vector.199", %"class.std::vector.199", %"class.std::vector.204" }
%"class.std::vector.199" = type { %"struct.std::_Vector_base.200" }
%"struct.std::_Vector_base.200" = type { %"struct.std::_Vector_base<Type_TraitPath, std::allocator<Type_TraitPath>>::_Vector_impl" }
%"struct.std::_Vector_base<Type_TraitPath, std::allocator<Type_TraitPath>>::_Vector_impl" = type { %"struct.std::_Vector_base<Type_TraitPath, std::allocator<Type_TraitPath>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Type_TraitPath, std::allocator<Type_TraitPath>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.204" = type { %"struct.std::_Vector_base.205" }
%"struct.std::_Vector_base.205" = type { %"struct.std::_Vector_base<AST::LifetimeRef, std::allocator<AST::LifetimeRef>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::LifetimeRef, std::allocator<AST::LifetimeRef>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::LifetimeRef, std::allocator<AST::LifetimeRef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::LifetimeRef, std::allocator<AST::LifetimeRef>>::_Vector_impl_data" = type { ptr, ptr, 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.325 = type { i8 }
%"class.__gnu_cxx::__normal_iterator.327" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.328" = type { ptr }

@_ZTISt13runtime_error = external constant ptr
@.str.20 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [24 x i8], align 1
@__PRETTY_FUNCTION__._Z11Expand_TypeRK11ExpandStateRN3AST6ModuleER7TypeRef = external hidden unnamed_addr constant [68 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12Expand_MacroRK11ExpandStateRN3AST6ModuleERNS2_15MacroInvocationE(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.273") align 8, ptr noundef nonnull align 8 dereferenceable(30), ptr noundef nonnull align 8 dereferenceable(480), ptr noundef nonnull align 8 dereferenceable(393)) local_unnamed_addr #5

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z11Expand_TypeRK11ExpandStateRN3AST6ModuleER7TypeRef(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(120) %2) local_unnamed_addr #5 personality ptr @__gxx_personality_v0 {
.lr.ph598:
  %3 = alloca %"class.std::unique_ptr.273", align 8
  %4 = alloca %class.TypeRef, align 8
  %5 = alloca %struct.Span, align 8
  %6 = alloca %"class.std::function", align 8
  %7 = alloca %class.anon.325, align 1
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.327", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.327", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.327", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.327", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.328", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.328", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.328", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.328", align 8
  br label %tailrecurse

tailrecurse:                                      ; preds = %.preheader195, %.preheader197, %.preheader201, %.lr.ph598
  %.tr609 = phi ptr [ %2, %.lr.ph598 ], [ %30, %.preheader201 ], [ %37, %.preheader197 ], [ %40, %.preheader195 ]
  %16 = getelementptr inbounds i8, ptr %.tr609, i64 8
  %17 = tail call noundef i32 @_ZNK8TypeData3tagEv(ptr noundef nonnull align 8 dereferenceable(112) %16)
  switch i32 %17, label %.loopexit211 [
    i32 0, label %60
    i32 1, label %.preheader
    i32 2, label %.preheader181
    i32 4, label %.preheader183
    i32 3, label %.preheader185
    i32 5, label %.preheader187
    i32 6, label %.preheader189
    i32 7, label %.preheader191
    i32 8, label %.preheader193
    i32 9, label %.preheader195
    i32 10, label %.preheader197
    i32 11, label %.preheader199
    i32 12, label %.preheader201
    i32 13, label %.preheader203
    i32 14, label %.preheader205
    i32 15, label %.preheader207
    i32 16, label %.preheader209
  ]

.loopexit211:                                     ; preds = %.preheader203, %.preheader189, %.preheader185, %.preheader183, %.preheader181, %.preheader, %tailrecurse, %..loopexit167_crit_edge, %..loopexit170_crit_edge, %..loopexit171_crit_edge, %.preheader205, %..loopexit178_crit_edge, %..loopexit179_crit_edge, %.preheader199, %93
  ret void

.preheader209:                                    ; preds = %tailrecurse
  %18 = tail call noundef nonnull align 8 dereferenceable(72) ptr @_ZN8TypeData13as_ErasedTypeEv(ptr noundef nonnull align 8 dereferenceable(112) %16)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %19 = tail call ptr @_ZNSt6vectorI14Type_TraitPathSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  store ptr %19, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  %20 = tail call ptr @_ZNSt6vectorI14Type_TraitPathSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  store ptr %20, ptr %15, align 8
  %21 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP14Type_TraitPathSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  br i1 %21, label %.lr.ph, label %..loopexit179_crit_edge

.preheader207:                                    ; preds = %tailrecurse
  %22 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8TypeData14as_TraitObjectEv(ptr noundef nonnull align 8 dereferenceable(112) %16)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %23 = tail call ptr @_ZNSt6vectorI14Type_TraitPathSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  store ptr %23, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %24 = tail call ptr @_ZNSt6vectorI14Type_TraitPathSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  store ptr %24, ptr %13, align 8
  %25 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP14Type_TraitPathSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  br i1 %25, label %.lr.ph225, label %..loopexit178_crit_edge

.preheader205:                                    ; preds = %tailrecurse
  %26 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8TypeData7as_PathEv(ptr noundef nonnull align 8 dereferenceable(112) %16)
  %27 = tail call noundef nonnull align 8 dereferenceable(240) ptr @_ZNKSt10unique_ptrIN3AST4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  tail call void @_Z11Expand_PathRK11ExpandStateRN3AST6ModuleERNS2_4PathE(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(240) %27)
  br label %.loopexit211

.preheader203:                                    ; preds = %tailrecurse
  %28 = tail call noundef nonnull align 8 dereferenceable(12) ptr @_ZN8TypeData10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(112) %16)
  br label %.loopexit211

.preheader201:                                    ; preds = %tailrecurse
  %29 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8TypeData8as_SliceEv(ptr noundef nonnull align 8 dereferenceable(112) %16)
  %30 = tail call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt10unique_ptrI7TypeRefSt14default_deleteIS0_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #7
  br label %tailrecurse

.preheader199:                                    ; preds = %tailrecurse
  %31 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZN8TypeData8as_ArrayEv(ptr noundef nonnull align 8 dereferenceable(112) %16)
  %32 = getelementptr inbounds i8, ptr %31, i64 8
  %33 = tail call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt10unique_ptrI7TypeRefSt14default_deleteIS0_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  tail call void @_Z11Expand_TypeRK11ExpandStateRN3AST6ModuleER7TypeRef(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(120) %33)
  %34 = tail call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3AST8ExprNodeELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %32) #7
  br i1 %34, label %93, label %.loopexit211

.preheader197:                                    ; preds = %tailrecurse
  %35 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TypeData10as_PointerEv(ptr noundef nonnull align 8 dereferenceable(112) %16)
  %36 = getelementptr inbounds i8, ptr %35, i64 8
  %37 = tail call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt10unique_ptrI7TypeRefSt14default_deleteIS0_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %36) #7
  br label %tailrecurse

.preheader195:                                    ; preds = %tailrecurse
  %38 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZN8TypeData9as_BorrowEv(ptr noundef nonnull align 8 dereferenceable(112) %16)
  %39 = getelementptr inbounds i8, ptr %38, i64 32
  %40 = tail call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt10unique_ptrI7TypeRefSt14default_deleteIS0_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %39) #7
  br label %tailrecurse

.preheader193:                                    ; preds = %tailrecurse
  %41 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZN8TypeData8as_TupleEv(ptr noundef nonnull align 8 dereferenceable(112) %16)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  %42 = tail call ptr @_ZNSt6vectorI7TypeRefSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %41) #7
  store ptr %42, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  %43 = tail call ptr @_ZNSt6vectorI7TypeRefSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %41) #7
  store ptr %43, ptr %11, align 8
  %44 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP7TypeRefSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  br i1 %44, label %.lr.ph349, label %..loopexit171_crit_edge

.preheader191:                                    ; preds = %tailrecurse
  %45 = tail call noundef nonnull align 8 dereferenceable(104) ptr @_ZN8TypeData11as_FunctionEv(ptr noundef nonnull align 8 dereferenceable(112) %16)
  %46 = getelementptr inbounds i8, ptr %45, i64 64
  %47 = getelementptr inbounds i8, ptr %45, i64 72
  %48 = tail call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt10unique_ptrI7TypeRefSt14default_deleteIS0_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %46) #7
  tail call void @_Z11Expand_TypeRK11ExpandStateRN3AST6ModuleER7TypeRef(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(120) %48)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %49 = tail call ptr @_ZNSt6vectorI7TypeRefSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %47) #7
  store ptr %49, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %50 = tail call ptr @_ZNSt6vectorI7TypeRefSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %47) #7
  store ptr %50, ptr %9, align 8
  %51 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP7TypeRefSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  br i1 %51, label %.lr.ph379, label %..loopexit170_crit_edge

.preheader189:                                    ; preds = %tailrecurse
  %52 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8TypeData12as_PrimitiveEv(ptr noundef nonnull align 8 dereferenceable(112) %16)
  br label %.loopexit211

.preheader187:                                    ; preds = %tailrecurse
  %53 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8TypeData8as_MacroEv(ptr noundef nonnull align 8 dereferenceable(112) %16)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  %54 = tail call noundef nonnull align 8 dereferenceable(393) ptr @_ZNKSt10unique_ptrIN3AST15MacroInvocationESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %53) #7
  call void @_Z12Expand_MacroRK11ExpandStateRN3AST6ModuleERNS2_15MacroInvocationE(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr.273") align 8 %3, ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(393) %54)
  %55 = call noundef zeroext i1 @_ZNKSt10unique_ptrI11TokenStreamSt14default_deleteIS0_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  br i1 %55, label %61, label %..loopexit167_crit_edge

.preheader185:                                    ; preds = %tailrecurse
  %56 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZN8TypeData7as_BangEv(ptr noundef nonnull align 8 dereferenceable(112) %16)
  br label %.loopexit211

.preheader183:                                    ; preds = %tailrecurse
  %57 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZN8TypeData7as_UnitEv(ptr noundef nonnull align 8 dereferenceable(112) %16)
  br label %.loopexit211

.preheader181:                                    ; preds = %tailrecurse
  %58 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZN8TypeData6as_AnyEv(ptr noundef nonnull align 8 dereferenceable(112) %16)
  br label %.loopexit211

.preheader:                                       ; preds = %tailrecurse
  %59 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZN8TypeData7as_NoneEv(ptr noundef nonnull align 8 dereferenceable(112) %16)
  br label %.loopexit211

60:                                               ; preds = %tailrecurse
  tail call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.21, i32 noundef 559, ptr noundef nonnull @__PRETTY_FUNCTION__._Z11Expand_TypeRK11ExpandStateRN3AST6ModuleER7TypeRef) #8
  unreachable

61:                                               ; preds = %.preheader187
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %4) #7
  %62 = call noundef nonnull align 8 dereferenceable(176) ptr @_ZNKSt10unique_ptrI11TokenStreamSt14default_deleteIS0_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  invoke void @_Z10Parse_TypeR11TokenStreamb(ptr dead_on_unwind nonnull writable sret(%class.TypeRef) align 8 %4, ptr noundef nonnull align 8 dereferenceable(176) %62, i1 noundef zeroext true)
          to label %63 unwind label %.split.split

63:                                               ; preds = %61
  %64 = call noundef ptr @_ZNKSt10unique_ptrI11TokenStreamSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  %65 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %64, i32 noundef 0)
          to label %66 unwind label %.loopexit168.split.split

66:                                               ; preds = %63
  %.not = icmp eq i32 %65, 1
  br i1 %.not, label %81, label %.split440

.split440:                                        ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %67 = call noundef ptr @_ZNKSt10unique_ptrIN3AST15MacroInvocationESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %53) #7
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST15MacroInvocation4spanEv(ptr noundef nonnull align 8 dereferenceable(393) %67)
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %68)
          to label %69 unwind label %74

69:                                               ; preds = %.split440
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #7
  call void @"_ZNSt8functionIFvRSoEEC2IZ11Expand_TypeRK11ExpandStateRN3AST6ModuleER7TypeRefE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  invoke void @_ZNK4Span5errorE9ErrorTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %5, i32 noundef 0, ptr noundef nonnull %6)
          to label %70 unwind label %76

70:                                               ; preds = %69
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  %71 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %71, ptr noundef nonnull @.str.23)
          to label %72 unwind label %79

72:                                               ; preds = %70
  invoke void @__cxa_throw(ptr nonnull %71, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %104 unwind label %.loopexit.split-lp

.split.split:                                     ; preds = %61
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %86

.loopexit168.split.split:                         ; preds = %63, %81, %83
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %85

.loopexit.split-lp:                               ; preds = %72
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %85

74:                                               ; preds = %.split440
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %78

76:                                               ; preds = %69
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  br label %78

78:                                               ; preds = %76, %74
  %.pn = phi { ptr, i32 } [ %77, %76 ], [ %75, %74 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br label %85

79:                                               ; preds = %70
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %71) #7
  br label %85

81:                                               ; preds = %66
  %82 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN7TypeRefaSEOS_(ptr noundef nonnull align 8 dereferenceable(120) %.tr609, ptr noundef nonnull align 8 dereferenceable(120) %4)
          to label %83 unwind label %.loopexit168.split.split

83:                                               ; preds = %81
  invoke void @_Z11Expand_TypeRK11ExpandStateRN3AST6ModuleER7TypeRef(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(120) %.tr609)
          to label %84 unwind label %.loopexit168.split.split

84:                                               ; preds = %83
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %4) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %4) #7
  br label %..loopexit167_crit_edge

85:                                               ; preds = %.loopexit168.split.split, %.loopexit.split-lp, %79, %78
  %.pn161 = phi { ptr, i32 } [ %80, %79 ], [ %.pn, %78 ], [ %lpad.loopexit, %.loopexit168.split.split ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %4) #7
  br label %86

86:                                               ; preds = %85, %.split.split
  %.pn161.pn = phi { ptr, i32 } [ %.pn161, %85 ], [ %73, %.split.split ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %4) #7
  call void @_ZNSt10unique_ptrI11TokenStreamSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn161.pn

..loopexit167_crit_edge:                          ; preds = %84, %.preheader187
  call void @_ZNSt10unique_ptrI11TokenStreamSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  br label %.loopexit211

..loopexit170_crit_edge:                          ; preds = %.lr.ph379, %.preheader191
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  br label %.loopexit211

.lr.ph379:                                        ; preds = %.preheader191, %.lr.ph379
  %87 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP7TypeRefSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  call void @_Z11Expand_TypeRK11ExpandStateRN3AST6ModuleER7TypeRef(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(120) %87)
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP7TypeRefSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  %89 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP7TypeRefSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  br i1 %89, label %.lr.ph379, label %..loopexit170_crit_edge

..loopexit171_crit_edge:                          ; preds = %.lr.ph349, %.preheader193
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  br label %.loopexit211

.lr.ph349:                                        ; preds = %.preheader193, %.lr.ph349
  %90 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP7TypeRefSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  call void @_Z11Expand_TypeRK11ExpandStateRN3AST6ModuleER7TypeRef(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(120) %90)
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP7TypeRefSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  %92 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP7TypeRefSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  br i1 %92, label %.lr.ph349, label %..loopexit171_crit_edge

93:                                               ; preds = %.preheader199
  tail call void @_Z11Expand_ExprRK11ExpandStateRSt10shared_ptrIN3AST8ExprNodeEE(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(16) %32)
  br label %.loopexit211

..loopexit178_crit_edge:                          ; preds = %.lr.ph225, %.preheader207
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br label %.loopexit211

.lr.ph225:                                        ; preds = %.preheader207, %.lr.ph225
  %94 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP14Type_TraitPathSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  %95 = getelementptr inbounds i8, ptr %94, i64 24
  %96 = call noundef nonnull align 8 dereferenceable(240) ptr @_ZNKSt10unique_ptrIN3AST4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %95) #7
  call void @_Z11Expand_PathRK11ExpandStateRN3AST6ModuleERNS2_4PathE(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(240) %96)
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP14Type_TraitPathSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  %98 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP14Type_TraitPathSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  br i1 %98, label %.lr.ph225, label %..loopexit178_crit_edge

..loopexit179_crit_edge:                          ; preds = %.lr.ph, %.preheader209
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  br label %.loopexit211

.lr.ph:                                           ; preds = %.preheader209, %.lr.ph
  %99 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP14Type_TraitPathSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %100 = getelementptr inbounds i8, ptr %99, i64 24
  %101 = call noundef nonnull align 8 dereferenceable(240) ptr @_ZNKSt10unique_ptrIN3AST4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %100) #7
  call void @_Z11Expand_PathRK11ExpandStateRN3AST6ModuleERNS2_4PathE(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(240) %101)
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP14Type_TraitPathSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %103 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP14Type_TraitPathSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  br i1 %103, label %.lr.ph, label %..loopexit179_crit_edge

104:                                              ; preds = %72
  unreachable
}

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

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

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

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

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

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

declare void @_Z10Parse_TypeR11TokenStreamb(ptr dead_on_unwind writable sret(%class.TypeRef) align 8, ptr noundef nonnull align 8 dereferenceable(176), i1 noundef zeroext) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(120) ptr @_ZN7TypeRefaSEOS_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #5 align 2

; Function Attrs: nounwind
declare void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(104) ptr @_ZN8TypeData11as_FunctionEv(ptr noundef nonnull align 8 dereferenceable(112)) local_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 ptr @_ZNSt6vectorI7TypeRefSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11Expand_ExprRK11ExpandStateRSt10shared_ptrIN3AST8ExprNodeEE(ptr noundef nonnull align 8 dereferenceable(30), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11Expand_PathRK11ExpandStateRN3AST6ModuleERNS2_4PathE(ptr noundef nonnull align 8 dereferenceable(30), ptr noundef nonnull align 8 dereferenceable(480), ptr noundef nonnull align 8 dereferenceable(240)) local_unnamed_addr #5

; 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 nonnull align 8 dereferenceable(48) ptr @_ZN8TypeData14as_TraitObjectEv(ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #4 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZN8TypeData13as_ErasedTypeEv(ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #4 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { noreturn nounwind }
attributes #9 = { 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)"}


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