; LLVM IR from thepowersgang/mrustc :: src/parse/expr.ll (Z21Parse_ExprVal_ClosureR11TokenStream)

; 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.AST::ExprNodeP" = type { ptr }
%class.Token = type { ptr, i32, %"class.Token::Data", %class.Position, %"class.Ident::Hygiene" }
%"class.Token::Data" = type { i32, %"union.Token::Data::DataUnion" }
%"union.Token::Data::DataUnion" = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%class.Position = type { %struct.Span, %class.RcString, i32, i32 }
%struct.Span = type { ptr }
%class.RcString = type { ptr }
%"class.Ident::Hygiene" = type { %"class.std::unique_ptr" }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"class.AST::Pattern" = type { ptr, %struct.Span, %"class.std::vector.66", %"class.AST::Pattern::Data" }
%"class.std::vector.66" = type { %"struct.std::_Vector_base.67" }
%"struct.std::_Vector_base.67" = type { %"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::Pattern::Data" = type { i32, %"union.AST::Pattern::Data::DataUnion" }
%"union.AST::Pattern::Data::DataUnion" = type { %"struct.AST::Pattern::Data::Data_Value" }
%"struct.AST::Pattern::Data::Data_Value" = type { %"class.AST::Pattern::Value", %"class.AST::Pattern::Value" }
%"class.AST::Pattern::Value" = type { i32, %"union.AST::Pattern::Value::DataUnion" }
%"union.AST::Pattern::Value::DataUnion" = type { %"class.AST::Path" }
%"class.AST::Path" = type { ptr, %"class.AST::Path::Class", %"struct.AST::Path::Bindings" }
%"class.AST::Path::Class" = type { i32, %"union.AST::Path::Class::DataUnion" }
%"union.AST::Path::Class::DataUnion" = type { %"struct.AST::Path::Class::Data_UFCS" }
%"struct.AST::Path::Class::Data_UFCS" = type { %"class.std::unique_ptr.92", %"class.std::unique_ptr.100", %"class.std::vector.87" }
%"class.std::unique_ptr.92" = type { %"struct.std::__uniq_ptr_data.93" }
%"struct.std::__uniq_ptr_data.93" = type { %"class.std::__uniq_ptr_impl.94" }
%"class.std::__uniq_ptr_impl.94" = type { %"class.std::tuple.95" }
%"class.std::tuple.95" = type { %"struct.std::_Tuple_impl.96" }
%"struct.std::_Tuple_impl.96" = type { %"struct.std::_Head_base.99" }
%"struct.std::_Head_base.99" = type { ptr }
%"class.std::unique_ptr.100" = type { %"struct.std::__uniq_ptr_data.101" }
%"struct.std::__uniq_ptr_data.101" = type { %"class.std::__uniq_ptr_impl.102" }
%"class.std::__uniq_ptr_impl.102" = type { %"class.std::tuple.103" }
%"class.std::tuple.103" = type { %"struct.std::_Tuple_impl.104" }
%"struct.std::_Tuple_impl.104" = type { %"struct.std::_Head_base.107" }
%"struct.std::_Head_base.107" = type { ptr }
%"class.std::vector.87" = type { %"struct.std::_Vector_base.88" }
%"struct.std::_Vector_base.88" = type { %"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::Path::Bindings" = type { %"struct.AST::PathBinding", %"struct.AST::PathBinding.108", %"struct.AST::PathBinding.109" }
%"struct.AST::PathBinding" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Value" }
%"struct.AST::AbsolutePath" = type { %class.RcString, %"class.std::vector.26" }
%"class.std::vector.26" = type { %"struct.std::_Vector_base.27" }
%"struct.std::_Vector_base.27" = type { %"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl" }
%"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl" = type { %"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl_data" }
%"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::PathBinding_Value" = type { i32, %"union.AST::PathBinding_Value::DataUnion" }
%"union.AST::PathBinding_Value::DataUnion" = type { %"struct.AST::PathBinding_Value::Data_EnumVar" }
%"struct.AST::PathBinding_Value::Data_EnumVar" = type { ptr, i32, ptr }
%"struct.AST::PathBinding.108" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Type" }
%"class.AST::PathBinding_Type" = type { i32, %"union.AST::PathBinding_Type::DataUnion" }
%"union.AST::PathBinding_Type::DataUnion" = type { %"struct.AST::PathBinding_Type::Data_Module" }
%"struct.AST::PathBinding_Type::Data_Module" = type { ptr, %"struct.AST::PathBinding_Type::(anonymous struct)::Hir" }
%"struct.AST::PathBinding_Type::(anonymous struct)::Hir" = type { ptr, ptr }
%"struct.AST::PathBinding.109" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Macro" }
%"class.AST::PathBinding_Macro" = type { i32, %"union.AST::PathBinding_Macro::DataUnion" }
%"union.AST::PathBinding_Macro::DataUnion" = type { %"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" }
%"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" = type { ptr, %class.RcString }
%class.TypeRef = type { %struct.Span, %class.TypeData }
%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.146", %"class.std::vector.146", %"class.std::vector.151" }
%"class.std::vector.146" = type { %"struct.std::_Vector_base.147" }
%"struct.std::_Vector_base.147" = 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.151" = type { %"struct.std::_Vector_base.152" }
%"struct.std::_Vector_base.152" = 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.TraceLog = type { ptr, %"class.std::function" }
%"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.std::vector.177" = type { %"struct.std::_Vector_base.178" }
%"struct.std::_Vector_base.178" = type { %"struct.std::_Vector_base<std::pair<AST::Pattern, TypeRef>, std::allocator<std::pair<AST::Pattern, TypeRef>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<AST::Pattern, TypeRef>, std::allocator<std::pair<AST::Pattern, TypeRef>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<AST::Pattern, TypeRef>, std::allocator<std::pair<AST::Pattern, TypeRef>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<AST::Pattern, TypeRef>, std::allocator<std::pair<AST::Pattern, TypeRef>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.182" = type { %"class.AST::Pattern", %class.TypeRef }
%"class.std::vector.184" = type { %"struct.std::_Vector_base.185" }
%"struct.std::_Vector_base.185" = type { %"struct.std::_Vector_base<eTokenType, std::allocator<eTokenType>>::_Vector_impl" }
%"struct.std::_Vector_base<eTokenType, std::allocator<eTokenType>>::_Vector_impl" = type { %"struct.std::_Vector_base<eTokenType, std::allocator<eTokenType>>::_Vector_impl_data" }
%"struct.std::_Vector_base<eTokenType, std::allocator<eTokenType>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list.189" = type { ptr, i64 }
%"class.std::allocator.186" = type { i8 }
%"struct.TypeRef::TagInvalid" = type { i8 }

@g_debug_indent_level = external global i32, align 4
@.str.1 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZTIN10ParseError10UnexpectedE = external constant ptr
@.str.10 = external hidden unnamed_addr constant [11 x i8], align 1
@__func__._Z21Parse_ExprVal_ClosureR11TokenStream = external hidden unnamed_addr constant [22 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11Parse_Expr0R11TokenStream(ptr dead_on_unwind noalias writable sret(%"class.AST::ExprNodeP") align 8, ptr noundef nonnull align 8 dereferenceable(176)) #0

declare i32 @__gxx_personality_v0(...)

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

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

declare noundef zeroext i1 @_Z13debug_enabledv() #3

declare void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) unnamed_addr #3

declare void @_ZN5TokenC1Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #3

declare void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8, ptr noundef nonnull align 8 dereferenceable(176)) #3

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

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

; Function Attrs: nounwind
declare void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt3decRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef) unnamed_addr #3

declare void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(176), ptr noundef nonnull align 8 dereferenceable(88), ptr noundef) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN10ParseError10UnexpectedD1Ev(ptr noundef nonnull align 8 dereferenceable(96)) unnamed_addr #1

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @__cxa_free_exception(ptr)

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #6

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #7

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

declare void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176), ptr noundef) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL12mk_exprnodepRK11TokenStreamPN3AST8ExprNodeE(ptr dead_on_unwind noalias writable sret(%"class.AST::ExprNodeP") align 8, ptr noundef nonnull align 8 dereferenceable(176), ptr noundef) #5

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

declare void @_Z13Parse_PatternR11TokenStream14AllowOrPattern(ptr dead_on_unwind writable sret(%"class.AST::Pattern") align 8, ptr noundef nonnull align 8 dereferenceable(176), i32 noundef) #3

; Function Attrs: nounwind
declare void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544)) unnamed_addr #1

declare void @_ZNK11TokenStream10point_spanEv(ptr dead_on_unwind writable sret(%struct.Span) align 8, ptr noundef nonnull align 8 dereferenceable(176)) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7TypeRefC2E4Span(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef) unnamed_addr #0 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) #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7TypeRefC2EOS_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z21Parse_ExprVal_ClosureR11TokenStream(ptr dead_on_unwind noalias writable sret(%"class.AST::ExprNodeP") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %class.TraceLog, align 8
  %6 = alloca %class.Token, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %class.Token, align 8
  %10 = alloca i8, align 1
  %11 = alloca %class.Token, align 8
  %12 = alloca i8, align 1
  %13 = alloca %class.Token, align 8
  %14 = alloca %"class.std::vector.177", align 8
  %15 = alloca %class.Token, align 8
  %16 = alloca %class.Token, align 8
  %17 = alloca %"class.AST::Pattern", align 8
  %18 = alloca %class.TypeRef, align 8
  %19 = alloca %struct.Span, align 8
  %20 = alloca %class.Token, align 8
  %21 = alloca %class.TypeRef, align 8
  %22 = alloca %class.Token, align 8
  %23 = alloca %"struct.std::pair.182", align 8
  %24 = alloca %class.Token, align 8
  %25 = alloca i32, align 4
  %26 = alloca %class.Token, align 8
  %27 = alloca i1, align 1
  %28 = alloca %"class.std::vector.184", align 8
  %29 = alloca %"class.std::initializer_list.189", align 8
  %30 = alloca [4 x i32], align 4
  %31 = alloca %"class.std::allocator.186", align 1
  %32 = alloca i1, align 1
  %33 = alloca %class.TypeRef, align 8
  %34 = alloca %struct.Span, align 8
  %35 = alloca %class.Token, align 8
  %36 = alloca %struct.Span, align 8
  %37 = alloca %class.Token, align 8
  %38 = alloca %class.TypeRef, align 8
  %39 = alloca %"struct.TypeRef::TagInvalid", align 1
  %40 = alloca %struct.Span, align 8
  %41 = alloca %class.Token, align 8
  %42 = alloca %class.TypeRef, align 8
  %43 = alloca %class.Token, align 8
  %44 = alloca %"class.AST::ExprNodeP", align 8
  %45 = alloca %"class.std::vector.177", align 8
  %46 = alloca %class.TypeRef, align 8
  %47 = alloca %"class.AST::ExprNodeP", align 8
  %48 = alloca i1, align 1
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %5) #9
  %49 = call noundef zeroext i1 @_Z13debug_enabledv()
  %50 = zext i1 %49 to i64
  %51 = select i1 %49, ptr @__func__._Z21Parse_ExprVal_ClosureR11TokenStream, ptr null
  call void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef %51)
  call void @llvm.lifetime.start.p0(i64 88, ptr %6) #9
  invoke void @_ZN5TokenC1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %52 unwind label %68

52:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 88, ptr %9) #9
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %9, ptr noundef nonnull align 8 dereferenceable(176) %53)
          to label %54 unwind label %72

54:                                               ; preds = %52
  %55 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %9)
          to label %56 unwind label %76

56:                                               ; preds = %54
  %57 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %55)
          to label %58 unwind label %76

58:                                               ; preds = %56
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %9) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %9) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #9
  store i8 0, ptr %10, align 1, !tbaa !9
  %59 = invoke noundef zeroext i1 @_ZNK5TokeneqE10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %6, i32 noundef 80)
          to label %60 unwind label %81

60:                                               ; preds = %58
  br i1 %59, label %61, label %94

61:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 88, ptr %11) #9
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %11, ptr noundef nonnull align 8 dereferenceable(176) %62)
          to label %63 unwind label %85

63:                                               ; preds = %61
  %64 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %65 unwind label %89

65:                                               ; preds = %63
  %66 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %64)
          to label %67 unwind label %89

67:                                               ; preds = %65
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %11) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #9
  store i8 1, ptr %10, align 1, !tbaa !9
  br label %94

68:                                               ; preds = %2
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %7, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %8, align 4
  br label %480

72:                                               ; preds = %52
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %7, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %8, align 4
  br label %80

76:                                               ; preds = %56, %54
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %7, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %9) #9
  br label %80

80:                                               ; preds = %76, %72
  call void @llvm.lifetime.end.p0(i64 88, ptr %9) #9
  br label %479

81:                                               ; preds = %58
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %7, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %8, align 4
  br label %478

85:                                               ; preds = %61
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %7, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %8, align 4
  br label %93

89:                                               ; preds = %65, %63
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %7, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %11) #9
  br label %93

93:                                               ; preds = %89, %85
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #9
  br label %478

94:                                               ; preds = %67, %60
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #9
  store i8 0, ptr %12, align 1, !tbaa !9
  %95 = invoke noundef zeroext i1 @_ZNK5TokeneqE10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %6, i32 noundef 113)
          to label %96 unwind label %104

96:                                               ; preds = %94
  br i1 %95, label %97, label %117

97:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 88, ptr %13) #9
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %13, ptr noundef nonnull align 8 dereferenceable(176) %98)
          to label %99 unwind label %108

99:                                               ; preds = %97
  %100 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %13)
          to label %101 unwind label %112

101:                                              ; preds = %99
  %102 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %100)
          to label %103 unwind label %112

103:                                              ; preds = %101
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %13) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %13) #9
  store i8 1, ptr %12, align 1, !tbaa !9
  br label %117

104:                                              ; preds = %94
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %7, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %8, align 4
  br label %477

108:                                              ; preds = %97
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %7, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %8, align 4
  br label %116

112:                                              ; preds = %101, %99
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %7, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %13) #9
  br label %116

116:                                              ; preds = %112, %108
  call void @llvm.lifetime.end.p0(i64 88, ptr %13) #9
  br label %477

117:                                              ; preds = %103, %96
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #9
  call void @_ZNSt6vectorISt4pairIN3AST7PatternE7TypeRefESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  %118 = invoke noundef zeroext i1 @_ZNK5TokeneqE10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %6, i32 noundef 63)
          to label %119 unwind label %121

119:                                              ; preds = %117
  br i1 %118, label %120, label %125

120:                                              ; preds = %119
  br label %323

121:                                              ; preds = %271, %269, %267, %265, %263, %261, %258, %255, %250, %137, %125, %117
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %7, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %8, align 4
  br label %476

125:                                              ; preds = %119
  %126 = invoke noundef zeroext i1 @_ZNK5TokeneqE10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %6, i32 noundef 37)
          to label %127 unwind label %121

127:                                              ; preds = %125
  br i1 %126, label %128, label %296

128:                                              ; preds = %127
  br label %129

129:                                              ; preds = %245, %128
  call void @llvm.lifetime.start.p0(i64 88, ptr %15) #9
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %15, ptr noundef nonnull align 8 dereferenceable(176) %130)
          to label %131 unwind label %158

131:                                              ; preds = %129
  %132 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %15)
          to label %133 unwind label %162

133:                                              ; preds = %131
  %134 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %132)
          to label %135 unwind label %162

135:                                              ; preds = %133
  %136 = icmp ne i32 %134, 37
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %15) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %15) #9
  br i1 %136, label %137, label %249

137:                                              ; preds = %135
  %138 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %16, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %139 unwind label %121

139:                                              ; preds = %137
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %138, ptr noundef %16)
          to label %140 unwind label %167

140:                                              ; preds = %139
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %16) #9
  call void @llvm.lifetime.start.p0(i64 544, ptr %17) #9
  %141 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_Z13Parse_PatternR11TokenStream14AllowOrPattern(ptr dead_on_unwind writable sret(%"class.AST::Pattern") align 8 %17, ptr noundef nonnull align 8 dereferenceable(176) %141, i32 noundef 0)
          to label %142 unwind label %171

142:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 120, ptr %18) #9
  %143 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZNK11TokenStream10point_spanEv(ptr dead_on_unwind writable sret(%struct.Span) align 8 %19, ptr noundef nonnull align 8 dereferenceable(176) %143)
          to label %144 unwind label %175

144:                                              ; preds = %142
  invoke void @_ZN7TypeRefC2E4Span(ptr noundef nonnull align 8 dereferenceable(120) %18, ptr noundef %19)
          to label %145 unwind label %179

145:                                              ; preds = %144
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  call void @llvm.lifetime.start.p0(i64 88, ptr %20) #9
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %20, ptr noundef nonnull align 8 dereferenceable(176) %146)
          to label %147 unwind label %183

147:                                              ; preds = %145
  %148 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %20)
          to label %149 unwind label %187

149:                                              ; preds = %147
  %150 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %148)
          to label %151 unwind label %187

151:                                              ; preds = %149
  %152 = icmp eq i32 %150, 33
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %20) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %20) #9
  br i1 %152, label %153, label %201

153:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 120, ptr %21) #9
  %154 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_Z10Parse_TypeR11TokenStreamb(ptr dead_on_unwind writable sret(%class.TypeRef) align 8 %21, ptr noundef nonnull align 8 dereferenceable(176) %154, i1 noundef zeroext true)
          to label %155 unwind label %192

155:                                              ; preds = %153
  %156 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN7TypeRefaSEOS_(ptr noundef nonnull align 8 dereferenceable(120) %18, ptr noundef nonnull align 8 dereferenceable(120) %21)
          to label %157 unwind label %196

157:                                              ; preds = %155
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %21) #9
  call void @llvm.lifetime.end.p0(i64 120, ptr %21) #9
  br label %213

158:                                              ; preds = %129
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %7, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %8, align 4
  br label %166

162:                                              ; preds = %133, %131
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %7, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %15) #9
  br label %166

166:                                              ; preds = %162, %158
  call void @llvm.lifetime.end.p0(i64 88, ptr %15) #9
  br label %476

167:                                              ; preds = %139
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %7, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %16) #9
  br label %476

171:                                              ; preds = %140
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %7, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %8, align 4
  br label %248

175:                                              ; preds = %142
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %7, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %8, align 4
  br label %247

179:                                              ; preds = %144
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %7, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %8, align 4
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  br label %247

183:                                              ; preds = %145
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %7, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %8, align 4
  br label %191

187:                                              ; preds = %149, %147
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %7, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %20) #9
  br label %191

191:                                              ; preds = %187, %183
  call void @llvm.lifetime.end.p0(i64 88, ptr %20) #9
  br label %246

192:                                              ; preds = %153
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %7, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %8, align 4
  br label %200

196:                                              ; preds = %155
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %7, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %8, align 4
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %21) #9
  br label %200

200:                                              ; preds = %196, %192
  call void @llvm.lifetime.end.p0(i64 120, ptr %21) #9
  br label %246

201:                                              ; preds = %151
  %202 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %22, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %203 unwind label %205

203:                                              ; preds = %201
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %202, ptr noundef %22)
          to label %204 unwind label %209

204:                                              ; preds = %203
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %22) #9
  br label %213

205:                                              ; preds = %201
  %206 = landingpad { ptr, i32 }
          cleanup
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %7, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %8, align 4
  br label %246

209:                                              ; preds = %203
  %210 = landingpad { ptr, i32 }
          cleanup
  %211 = extractvalue { ptr, i32 } %210, 0
  store ptr %211, ptr %7, align 8
  %212 = extractvalue { ptr, i32 } %210, 1
  store i32 %212, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %22) #9
  br label %246

213:                                              ; preds = %204, %157
  call void @llvm.lifetime.start.p0(i64 664, ptr %23) #9
  invoke void @_ZSt9make_pairIN3AST7PatternE7TypeRefESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS4_INS5_IT0_E4typeEE6__typeEEOS6_OSB_(ptr dead_on_unwind writable sret(%"struct.std::pair.182") align 8 %23, ptr noundef nonnull align 8 dereferenceable(544) %17, ptr noundef nonnull align 8 dereferenceable(120) %18)
          to label %214 unwind label %224

214:                                              ; preds = %213
  invoke void @_ZNSt6vectorISt4pairIN3AST7PatternE7TypeRefESaIS4_EE9push_backEOS4_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(664) %23)
          to label %215 unwind label %228

215:                                              ; preds = %214
  call void @_ZNSt4pairIN3AST7PatternE7TypeRefED2Ev(ptr noundef nonnull align 8 dereferenceable(664) %23) #9
  call void @llvm.lifetime.end.p0(i64 664, ptr %23) #9
  call void @llvm.lifetime.start.p0(i64 88, ptr %24) #9
  %216 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %24, ptr noundef nonnull align 8 dereferenceable(176) %216)
          to label %217 unwind label %233

217:                                              ; preds = %215
  %218 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %24)
          to label %219 unwind label %237

219:                                              ; preds = %217
  %220 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %218)
          to label %221 unwind label %237

221:                                              ; preds = %219
  %222 = icmp ne i32 %220, 31
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %24) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %24) #9
  br i1 %222, label %223, label %242

223:                                              ; preds = %221
  store i32 3, ptr %25, align 4
  br label %243

224:                                              ; preds = %213
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %7, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %8, align 4
  br label %232

228:                                              ; preds = %214
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %7, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %8, align 4
  call void @_ZNSt4pairIN3AST7PatternE7TypeRefED2Ev(ptr noundef nonnull align 8 dereferenceable(664) %23) #9
  br label %232

232:                                              ; preds = %228, %224
  call void @llvm.lifetime.end.p0(i64 664, ptr %23) #9
  br label %246

233:                                              ; preds = %215
  %234 = landingpad { ptr, i32 }
          cleanup
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %7, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %8, align 4
  br label %241

237:                                              ; preds = %219, %217
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %7, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %24) #9
  br label %241

241:                                              ; preds = %237, %233
  call void @llvm.lifetime.end.p0(i64 88, ptr %24) #9
  br label %246

242:                                              ; preds = %221
  store i32 0, ptr %25, align 4
  br label %243

243:                                              ; preds = %242, %223
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %18) #9
  call void @llvm.lifetime.end.p0(i64 120, ptr %18) #9
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %17) #9
  call void @llvm.lifetime.end.p0(i64 544, ptr %17) #9
  %244 = load i32, ptr %25, align 4
  switch i32 %244, label %486 [
    i32 0, label %245
    i32 3, label %249
  ]

245:                                              ; preds = %243
  br label %129, !llvm.loop !11

246:                                              ; preds = %241, %232, %209, %205, %200, %191
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %18) #9
  br label %247

247:                                              ; preds = %246, %179, %175
  call void @llvm.lifetime.end.p0(i64 120, ptr %18) #9
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %17) #9
  br label %248

248:                                              ; preds = %247, %171
  call void @llvm.lifetime.end.p0(i64 544, ptr %17) #9
  br label %476

249:                                              ; preds = %243, %135
  br label %250

250:                                              ; preds = %249
  %251 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %252 unwind label %121

252:                                              ; preds = %250
  %253 = icmp ne i32 %251, 37
  br i1 %253, label %254, label %293

254:                                              ; preds = %252
  br label %255

255:                                              ; preds = %254
  %256 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %257 unwind label %121

257:                                              ; preds = %255
  br i1 %256, label %258, label %274

258:                                              ; preds = %257
  %259 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !13
  %260 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %259, ptr noundef @__func__._Z21Parse_ExprVal_ClosureR11TokenStream)
          to label %261 unwind label %121

261:                                              ; preds = %258
  %262 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %260, ptr noundef @.str.10)
          to label %263 unwind label %121

263:                                              ; preds = %261
  %264 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %262, ptr noundef @.str.1)
          to label %265 unwind label %121

265:                                              ; preds = %263
  %266 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %264, ptr noundef @.str.2)
          to label %267 unwind label %121

267:                                              ; preds = %265
  %268 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %266, i32 noundef 1310)
          to label %269 unwind label %121

269:                                              ; preds = %267
  %270 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %268, ptr noundef @_ZSt3decRSt8ios_base)
          to label %271 unwind label %121

271:                                              ; preds = %269
  %272 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %270, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %273 unwind label %121

273:                                              ; preds = %271
  br label %274

274:                                              ; preds = %273, %257
  br label %275

275:                                              ; preds = %274
  br label %276

276:                                              ; preds = %275
  store i1 true, ptr %27, align 1
  %277 = call ptr @__cxa_allocate_exception(i64 96) #9
  %278 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %26, i32 noundef 37)
          to label %279 unwind label %281

279:                                              ; preds = %276
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %277, ptr noundef nonnull align 8 dereferenceable(176) %278, ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef %26)
          to label %280 unwind label %285

280:                                              ; preds = %279
  store i1 false, ptr %27, align 1
  invoke void @__cxa_throw(ptr %277, ptr @_ZTIN10ParseError10UnexpectedE, ptr @_ZN10ParseError10UnexpectedD1Ev) #10
          to label %486 unwind label %285

281:                                              ; preds = %276
  %282 = landingpad { ptr, i32 }
          cleanup
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %7, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %8, align 4
  br label %289

285:                                              ; preds = %280, %279
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %7, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %26) #9
  br label %289

289:                                              ; preds = %285, %281
  %290 = load i1, ptr %27, align 1
  br i1 %290, label %291, label %292

291:                                              ; preds = %289
  call void @__cxa_free_exception(ptr %277) #9
  br label %292

292:                                              ; preds = %291, %289
  br label %476

293:                                              ; preds = %252
  br label %294

294:                                              ; preds = %293
  br label %295

295:                                              ; preds = %294
  br label %322

296:                                              ; preds = %127
  store i1 true, ptr %32, align 1
  %297 = call ptr @__cxa_allocate_exception(i64 96) #9
  %298 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #9
  store i32 37, ptr %30, align 4, !tbaa !15
  %299 = getelementptr inbounds i32, ptr %30, i64 1
  store i32 63, ptr %299, align 4, !tbaa !15
  %300 = getelementptr inbounds i32, ptr %30, i64 2
  store i32 113, ptr %300, align 4, !tbaa !15
  %301 = getelementptr inbounds i32, ptr %30, i64 3
  store i32 80, ptr %301, align 4, !tbaa !15
  %302 = getelementptr inbounds %"class.std::initializer_list.189", ptr %29, i32 0, i32 0
  store ptr %30, ptr %302, align 8, !tbaa !17
  %303 = getelementptr inbounds %"class.std::initializer_list.189", ptr %29, i32 0, i32 1
  store i64 4, ptr %303, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #9
  call void @_ZNSaI10eTokenTypeEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #9
  %304 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 0
  %305 = load ptr, ptr %304, align 8
  %306 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 1
  %307 = load i64, ptr %306, align 8
  invoke void @_ZNSt6vectorI10eTokenTypeSaIS0_EEC2ESt16initializer_listIS0_ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr %305, i64 %307, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %308 unwind label %310

308:                                              ; preds = %296
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenSt6vectorI10eTokenTypeSaIS8_EE(ptr noundef nonnull align 8 dereferenceable(96) %297, ptr noundef nonnull align 8 dereferenceable(176) %298, ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef %28)
          to label %309 unwind label %314

309:                                              ; preds = %308
  store i1 false, ptr %32, align 1
  invoke void @__cxa_throw(ptr %297, ptr @_ZTIN10ParseError10UnexpectedE, ptr @_ZN10ParseError10UnexpectedD1Ev) #10
          to label %486 unwind label %314

310:                                              ; preds = %296
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %7, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %8, align 4
  br label %318

314:                                              ; preds = %309, %308
  %315 = landingpad { ptr, i32 }
          cleanup
  %316 = extractvalue { ptr, i32 } %315, 0
  store ptr %316, ptr %7, align 8
  %317 = extractvalue { ptr, i32 } %315, 1
  store i32 %317, ptr %8, align 4
  call void @_ZNSt6vectorI10eTokenTypeSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #9
  br label %318

318:                                              ; preds = %314, %310
  call void @_ZNSt15__new_allocatorI10eTokenTypeED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #9
  %319 = load i1, ptr %32, align 1
  br i1 %319, label %320, label %321

320:                                              ; preds = %318
  call void @__cxa_free_exception(ptr %297) #9
  br label %321

321:                                              ; preds = %320, %318
  br label %476

322:                                              ; preds = %295
  br label %323

323:                                              ; preds = %322, %120
  call void @llvm.lifetime.start.p0(i64 120, ptr %33) #9
  %324 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZNK11TokenStream10point_spanEv(ptr dead_on_unwind writable sret(%struct.Span) align 8 %34, ptr noundef nonnull align 8 dereferenceable(176) %324)
          to label %325 unwind label %349

325:                                              ; preds = %323
  invoke void @_ZN7TypeRefC2E4Span(ptr noundef nonnull align 8 dereferenceable(120) %33, ptr noundef %34)
          to label %326 unwind label %353

326:                                              ; preds = %325
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %34) #9
  call void @llvm.lifetime.start.p0(i64 88, ptr %35) #9
  %327 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %35, ptr noundef nonnull align 8 dereferenceable(176) %327)
          to label %328 unwind label %357

328:                                              ; preds = %326
  %329 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %35)
          to label %330 unwind label %361

330:                                              ; preds = %328
  %331 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %329)
          to label %332 unwind label %361

332:                                              ; preds = %330
  %333 = icmp eq i32 %331, 39
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %35) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %35) #9
  br i1 %333, label %334, label %421

334:                                              ; preds = %332
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #9
  %335 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZNK11TokenStream10point_spanEv(ptr dead_on_unwind writable sret(%struct.Span) align 8 %36, ptr noundef nonnull align 8 dereferenceable(176) %335)
          to label %336 unwind label %366

336:                                              ; preds = %334
  call void @llvm.lifetime.start.p0(i64 88, ptr %37) #9
  %337 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %37, ptr noundef nonnull align 8 dereferenceable(176) %337)
          to label %338 unwind label %370

338:                                              ; preds = %336
  %339 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %37)
          to label %340 unwind label %374

340:                                              ; preds = %338
  %341 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %339)
          to label %342 unwind label %374

342:                                              ; preds = %340
  %343 = icmp eq i32 %341, 43
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %37) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %37) #9
  br i1 %343, label %344, label %393

344:                                              ; preds = %342
  call void @llvm.lifetime.start.p0(i64 120, ptr %38) #9
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %345 unwind label %379

345:                                              ; preds = %344
  invoke void @_ZN7TypeRefC2ENS_10TagInvalidE4Span(ptr noundef nonnull align 8 dereferenceable(120) %38, ptr noundef %40)
          to label %346 unwind label %383

346:                                              ; preds = %345
  %347 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN7TypeRefaSEOS_(ptr noundef nonnull align 8 dereferenceable(120) %33, ptr noundef nonnull align 8 dereferenceable(120) %38)
          to label %348 unwind label %387

348:                                              ; preds = %346
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %38) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %40) #9
  call void @llvm.lifetime.end.p0(i64 120, ptr %38) #9
  br label %418

349:                                              ; preds = %323
  %350 = landingpad { ptr, i32 }
          cleanup
  %351 = extractvalue { ptr, i32 } %350, 0
  store ptr %351, ptr %7, align 8
  %352 = extractvalue { ptr, i32 } %350, 1
  store i32 %352, ptr %8, align 4
  br label %475

353:                                              ; preds = %325
  %354 = landingpad { ptr, i32 }
          cleanup
  %355 = extractvalue { ptr, i32 } %354, 0
  store ptr %355, ptr %7, align 8
  %356 = extractvalue { ptr, i32 } %354, 1
  store i32 %356, ptr %8, align 4
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %34) #9
  br label %475

357:                                              ; preds = %326
  %358 = landingpad { ptr, i32 }
          cleanup
  %359 = extractvalue { ptr, i32 } %358, 0
  store ptr %359, ptr %7, align 8
  %360 = extractvalue { ptr, i32 } %358, 1
  store i32 %360, ptr %8, align 4
  br label %365

361:                                              ; preds = %330, %328
  %362 = landingpad { ptr, i32 }
          cleanup
  %363 = extractvalue { ptr, i32 } %362, 0
  store ptr %363, ptr %7, align 8
  %364 = extractvalue { ptr, i32 } %362, 1
  store i32 %364, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %35) #9
  br label %365

365:                                              ; preds = %361, %357
  call void @llvm.lifetime.end.p0(i64 88, ptr %35) #9
  br label %474

366:                                              ; preds = %334
  %367 = landingpad { ptr, i32 }
          cleanup
  %368 = extractvalue { ptr, i32 } %367, 0
  store ptr %368, ptr %7, align 8
  %369 = extractvalue { ptr, i32 } %367, 1
  store i32 %369, ptr %8, align 4
  br label %420

370:                                              ; preds = %336
  %371 = landingpad { ptr, i32 }
          cleanup
  %372 = extractvalue { ptr, i32 } %371, 0
  store ptr %372, ptr %7, align 8
  %373 = extractvalue { ptr, i32 } %371, 1
  store i32 %373, ptr %8, align 4
  br label %378

374:                                              ; preds = %340, %338
  %375 = landingpad { ptr, i32 }
          cleanup
  %376 = extractvalue { ptr, i32 } %375, 0
  store ptr %376, ptr %7, align 8
  %377 = extractvalue { ptr, i32 } %375, 1
  store i32 %377, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %37) #9
  br label %378

378:                                              ; preds = %374, %370
  call void @llvm.lifetime.end.p0(i64 88, ptr %37) #9
  br label %419

379:                                              ; preds = %344
  %380 = landingpad { ptr, i32 }
          cleanup
  %381 = extractvalue { ptr, i32 } %380, 0
  store ptr %381, ptr %7, align 8
  %382 = extractvalue { ptr, i32 } %380, 1
  store i32 %382, ptr %8, align 4
  br label %392

383:                                              ; preds = %345
  %384 = landingpad { ptr, i32 }
          cleanup
  %385 = extractvalue { ptr, i32 } %384, 0
  store ptr %385, ptr %7, align 8
  %386 = extractvalue { ptr, i32 } %384, 1
  store i32 %386, ptr %8, align 4
  br label %391

387:                                              ; preds = %346
  %388 = landingpad { ptr, i32 }
          cleanup
  %389 = extractvalue { ptr, i32 } %388, 0
  store ptr %389, ptr %7, align 8
  %390 = extractvalue { ptr, i32 } %388, 1
  store i32 %390, ptr %8, align 4
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %38) #9
  br label %391

391:                                              ; preds = %387, %383
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %40) #9
  br label %392

392:                                              ; preds = %391, %379
  call void @llvm.lifetime.end.p0(i64 120, ptr %38) #9
  br label %419

393:                                              ; preds = %342
  %394 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %41, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %395 unwind label %401

395:                                              ; preds = %393
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %394, ptr noundef %41)
          to label %396 unwind label %405

396:                                              ; preds = %395
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %41) #9
  call void @llvm.lifetime.start.p0(i64 120, ptr %42) #9
  %397 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_Z10Parse_TypeR11TokenStreamb(ptr dead_on_unwind writable sret(%class.TypeRef) align 8 %42, ptr noundef nonnull align 8 dereferenceable(176) %397, i1 noundef zeroext true)
          to label %398 unwind label %409

398:                                              ; preds = %396
  %399 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN7TypeRefaSEOS_(ptr noundef nonnull align 8 dereferenceable(120) %33, ptr noundef nonnull align 8 dereferenceable(120) %42)
          to label %400 unwind label %413

400:                                              ; preds = %398
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %42) #9
  call void @llvm.lifetime.end.p0(i64 120, ptr %42) #9
  br label %418

401:                                              ; preds = %393
  %402 = landingpad { ptr, i32 }
          cleanup
  %403 = extractvalue { ptr, i32 } %402, 0
  store ptr %403, ptr %7, align 8
  %404 = extractvalue { ptr, i32 } %402, 1
  store i32 %404, ptr %8, align 4
  br label %419

405:                                              ; preds = %395
  %406 = landingpad { ptr, i32 }
          cleanup
  %407 = extractvalue { ptr, i32 } %406, 0
  store ptr %407, ptr %7, align 8
  %408 = extractvalue { ptr, i32 } %406, 1
  store i32 %408, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %41) #9
  br label %419

409:                                              ; preds = %396
  %410 = landingpad { ptr, i32 }
          cleanup
  %411 = extractvalue { ptr, i32 } %410, 0
  store ptr %411, ptr %7, align 8
  %412 = extractvalue { ptr, i32 } %410, 1
  store i32 %412, ptr %8, align 4
  br label %417

413:                                              ; preds = %398
  %414 = landingpad { ptr, i32 }
          cleanup
  %415 = extractvalue { ptr, i32 } %414, 0
  store ptr %415, ptr %7, align 8
  %416 = extractvalue { ptr, i32 } %414, 1
  store i32 %416, ptr %8, align 4
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %42) #9
  br label %417

417:                                              ; preds = %413, %409
  call void @llvm.lifetime.end.p0(i64 120, ptr %42) #9
  br label %419

418:                                              ; preds = %400, %348
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %36) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  br label %433

419:                                              ; preds = %417, %405, %401, %392, %378
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %36) #9
  br label %420

420:                                              ; preds = %419, %366
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  br label %474

421:                                              ; preds = %332
  %422 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %43, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %423 unwind label %425

423:                                              ; preds = %421
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %422, ptr noundef %43)
          to label %424 unwind label %429

424:                                              ; preds = %423
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %43) #9
  br label %433

425:                                              ; preds = %421
  %426 = landingpad { ptr, i32 }
          cleanup
  %427 = extractvalue { ptr, i32 } %426, 0
  store ptr %427, ptr %7, align 8
  %428 = extractvalue { ptr, i32 } %426, 1
  store i32 %428, ptr %8, align 4
  br label %474

429:                                              ; preds = %423
  %430 = landingpad { ptr, i32 }
          cleanup
  %431 = extractvalue { ptr, i32 } %430, 0
  store ptr %431, ptr %7, align 8
  %432 = extractvalue { ptr, i32 } %430, 1
  store i32 %432, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %43) #9
  br label %474

433:                                              ; preds = %424, %418
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #9
  %434 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_Z11Parse_Expr0R11TokenStream(ptr dead_on_unwind writable sret(%"class.AST::ExprNodeP") align 8 %44, ptr noundef nonnull align 8 dereferenceable(176) %434)
          to label %435 unwind label %447

435:                                              ; preds = %433
  %436 = load ptr, ptr %4, align 8, !tbaa !5
  %437 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 200) #11
          to label %438 unwind label %451

438:                                              ; preds = %435
  store i1 true, ptr %48, align 1
  call void @_ZNSt6vectorISt4pairIN3AST7PatternE7TypeRefESaIS4_EEC2EOS6_(ptr noundef nonnull align 8 dereferenceable(24) %45, ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  invoke void @_ZN7TypeRefC2EOS_(ptr noundef nonnull align 8 dereferenceable(120) %46, ptr noundef nonnull align 8 dereferenceable(120) %33)
          to label %439 unwind label %455

439:                                              ; preds = %438
  invoke void @_ZN3AST9ExprNodePC2EOS0_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(8) %44)
          to label %440 unwind label %459

440:                                              ; preds = %439
  %441 = load i8, ptr %12, align 1, !tbaa !9, !range !21, !noundef !22
  %442 = trunc i8 %441 to i1
  %443 = load i8, ptr %10, align 1, !tbaa !9, !range !21, !noundef !22
  %444 = trunc i8 %443 to i1
  invoke void @_ZN3AST16ExprNode_ClosureC2ESt6vectorISt4pairINS_7PatternE7TypeRefESaIS5_EES4_NS_9ExprNodePEbb(ptr noundef nonnull align 8 dereferenceable(194) %437, ptr noundef %45, ptr noundef %46, ptr noundef %47, i1 noundef zeroext %442, i1 noundef zeroext %444)
          to label %445 unwind label %463

445:                                              ; preds = %440
  store i1 false, ptr %48, align 1
  invoke void @_ZL12mk_exprnodepRK11TokenStreamPN3AST8ExprNodeE(ptr dead_on_unwind writable sret(%"class.AST::ExprNodeP") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %436, ptr noundef %437)
          to label %446 unwind label %463

446:                                              ; preds = %445
  call void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %47) #9
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %46) #9
  call void @_ZNSt6vectorISt4pairIN3AST7PatternE7TypeRefESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #9
  store i32 1, ptr %25, align 4
  call void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %44) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #9
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %33) #9
  call void @llvm.lifetime.end.p0(i64 120, ptr %33) #9
  call void @_ZNSt6vectorISt4pairIN3AST7PatternE7TypeRefESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #9
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr %6) #9
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %5) #9
  ret void

447:                                              ; preds = %433
  %448 = landingpad { ptr, i32 }
          cleanup
  %449 = extractvalue { ptr, i32 } %448, 0
  store ptr %449, ptr %7, align 8
  %450 = extractvalue { ptr, i32 } %448, 1
  store i32 %450, ptr %8, align 4
  br label %473

451:                                              ; preds = %435
  %452 = landingpad { ptr, i32 }
          cleanup
  %453 = extractvalue { ptr, i32 } %452, 0
  store ptr %453, ptr %7, align 8
  %454 = extractvalue { ptr, i32 } %452, 1
  store i32 %454, ptr %8, align 4
  br label %472

455:                                              ; preds = %438
  %456 = landingpad { ptr, i32 }
          cleanup
  %457 = extractvalue { ptr, i32 } %456, 0
  store ptr %457, ptr %7, align 8
  %458 = extractvalue { ptr, i32 } %456, 1
  store i32 %458, ptr %8, align 4
  br label %468

459:                                              ; preds = %439
  %460 = landingpad { ptr, i32 }
          cleanup
  %461 = extractvalue { ptr, i32 } %460, 0
  store ptr %461, ptr %7, align 8
  %462 = extractvalue { ptr, i32 } %460, 1
  store i32 %462, ptr %8, align 4
  br label %467

463:                                              ; preds = %445, %440
  %464 = landingpad { ptr, i32 }
          cleanup
  %465 = extractvalue { ptr, i32 } %464, 0
  store ptr %465, ptr %7, align 8
  %466 = extractvalue { ptr, i32 } %464, 1
  store i32 %466, ptr %8, align 4
  call void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %47) #9
  br label %467

467:                                              ; preds = %463, %459
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %46) #9
  br label %468

468:                                              ; preds = %467, %455
  call void @_ZNSt6vectorISt4pairIN3AST7PatternE7TypeRefESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #9
  %469 = load i1, ptr %48, align 1
  br i1 %469, label %470, label %471

470:                                              ; preds = %468
  call void @_ZdlPvm(ptr noundef %437, i64 noundef 200) #12
  br label %471

471:                                              ; preds = %470, %468
  br label %472

472:                                              ; preds = %471, %451
  call void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %44) #9
  br label %473

473:                                              ; preds = %472, %447
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #9
  br label %474

474:                                              ; preds = %473, %429, %425, %420, %365
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %33) #9
  br label %475

475:                                              ; preds = %474, %353, %349
  call void @llvm.lifetime.end.p0(i64 120, ptr %33) #9
  br label %476

476:                                              ; preds = %475, %321, %292, %248, %167, %166, %121
  call void @_ZNSt6vectorISt4pairIN3AST7PatternE7TypeRefESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #9
  br label %477

477:                                              ; preds = %476, %116, %104
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #9
  br label %478

478:                                              ; preds = %477, %93, %81
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #9
  br label %479

479:                                              ; preds = %478, %80
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #9
  br label %480

480:                                              ; preds = %479, %68
  call void @llvm.lifetime.end.p0(i64 88, ptr %6) #9
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %5) #9
  br label %481

481:                                              ; preds = %480
  %482 = load ptr, ptr %7, align 8
  %483 = load i32, ptr %8, align 4
  %484 = insertvalue { ptr, i32 } poison, ptr %482, 0
  %485 = insertvalue { ptr, i32 } %484, i32 %483, 1
  resume { ptr, i32 } %485

486:                                              ; preds = %309, %280, %243
  unreachable
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt4pairIN3AST7PatternE7TypeRefESaIS4_EE9push_backEOS4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(664)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairIN3AST7PatternE7TypeRefESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS4_INS5_IT0_E4typeEE6__typeEEOS6_OSB_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.182") align 8, ptr noundef nonnull align 8 dereferenceable(544), ptr noundef nonnull align 8 dereferenceable(120)) #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI10eTokenTypeSaIS0_EEC2ESt16initializer_listIS0_ERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

declare void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenSt6vectorI10eTokenTypeSaIS8_EE(ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(176), ptr noundef nonnull align 8 dereferenceable(88), ptr noundef) unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7TypeRefC2ENS_10TagInvalidE4Span(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST16ExprNode_ClosureC2ESt6vectorISt4pairINS_7PatternE7TypeRefESaIS5_EES4_NS_9ExprNodePEbb(ptr noundef nonnull align 8 dereferenceable(194), ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext, i1 noundef zeroext) unnamed_addr #0 align 2

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

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

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

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

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


; 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.AST::ExprNodeP" = type { ptr }
%class.Token = type { ptr, i32, %"class.Token::Data", %class.Position, %"class.Ident::Hygiene" }
%"class.Token::Data" = type { i32, %"union.Token::Data::DataUnion" }
%"union.Token::Data::DataUnion" = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%class.Position = type { %struct.Span, %class.RcString, i32, i32 }
%struct.Span = type { ptr }
%class.RcString = type { ptr }
%"class.Ident::Hygiene" = type { %"class.std::unique_ptr" }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"class.AST::Pattern" = type { ptr, %struct.Span, %"class.std::vector.66", %"class.AST::Pattern::Data" }
%"class.std::vector.66" = type { %"struct.std::_Vector_base.67" }
%"struct.std::_Vector_base.67" = type { %"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::Pattern::Data" = type { i32, %"union.AST::Pattern::Data::DataUnion" }
%"union.AST::Pattern::Data::DataUnion" = type { %"struct.AST::Pattern::Data::Data_Value" }
%"struct.AST::Pattern::Data::Data_Value" = type { %"class.AST::Pattern::Value", %"class.AST::Pattern::Value" }
%"class.AST::Pattern::Value" = type { i32, %"union.AST::Pattern::Value::DataUnion" }
%"union.AST::Pattern::Value::DataUnion" = type { %"class.AST::Path" }
%"class.AST::Path" = type { ptr, %"class.AST::Path::Class", %"struct.AST::Path::Bindings" }
%"class.AST::Path::Class" = type { i32, %"union.AST::Path::Class::DataUnion" }
%"union.AST::Path::Class::DataUnion" = type { %"struct.AST::Path::Class::Data_UFCS" }
%"struct.AST::Path::Class::Data_UFCS" = type { %"class.std::unique_ptr.92", %"class.std::unique_ptr.100", %"class.std::vector.87" }
%"class.std::unique_ptr.92" = type { %"struct.std::__uniq_ptr_data.93" }
%"struct.std::__uniq_ptr_data.93" = type { %"class.std::__uniq_ptr_impl.94" }
%"class.std::__uniq_ptr_impl.94" = type { %"class.std::tuple.95" }
%"class.std::tuple.95" = type { %"struct.std::_Tuple_impl.96" }
%"struct.std::_Tuple_impl.96" = type { %"struct.std::_Head_base.99" }
%"struct.std::_Head_base.99" = type { ptr }
%"class.std::unique_ptr.100" = type { %"struct.std::__uniq_ptr_data.101" }
%"struct.std::__uniq_ptr_data.101" = type { %"class.std::__uniq_ptr_impl.102" }
%"class.std::__uniq_ptr_impl.102" = type { %"class.std::tuple.103" }
%"class.std::tuple.103" = type { %"struct.std::_Tuple_impl.104" }
%"struct.std::_Tuple_impl.104" = type { %"struct.std::_Head_base.107" }
%"struct.std::_Head_base.107" = type { ptr }
%"class.std::vector.87" = type { %"struct.std::_Vector_base.88" }
%"struct.std::_Vector_base.88" = type { %"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::Path::Bindings" = type { %"struct.AST::PathBinding", %"struct.AST::PathBinding.108", %"struct.AST::PathBinding.109" }
%"struct.AST::PathBinding" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Value" }
%"struct.AST::AbsolutePath" = type { %class.RcString, %"class.std::vector.26" }
%"class.std::vector.26" = type { %"struct.std::_Vector_base.27" }
%"struct.std::_Vector_base.27" = type { %"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl" }
%"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl" = type { %"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl_data" }
%"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::PathBinding_Value" = type { i32, %"union.AST::PathBinding_Value::DataUnion" }
%"union.AST::PathBinding_Value::DataUnion" = type { %"struct.AST::PathBinding_Value::Data_EnumVar" }
%"struct.AST::PathBinding_Value::Data_EnumVar" = type { ptr, i32, ptr }
%"struct.AST::PathBinding.108" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Type" }
%"class.AST::PathBinding_Type" = type { i32, %"union.AST::PathBinding_Type::DataUnion" }
%"union.AST::PathBinding_Type::DataUnion" = type { %"struct.AST::PathBinding_Type::Data_Module" }
%"struct.AST::PathBinding_Type::Data_Module" = type { ptr, %"struct.AST::PathBinding_Type::(anonymous struct)::Hir" }
%"struct.AST::PathBinding_Type::(anonymous struct)::Hir" = type { ptr, ptr }
%"struct.AST::PathBinding.109" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Macro" }
%"class.AST::PathBinding_Macro" = type { i32, %"union.AST::PathBinding_Macro::DataUnion" }
%"union.AST::PathBinding_Macro::DataUnion" = type { %"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" }
%"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" = type { ptr, %class.RcString }
%class.TypeRef = type { %struct.Span, %class.TypeData }
%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.146", %"class.std::vector.146", %"class.std::vector.151" }
%"class.std::vector.146" = type { %"struct.std::_Vector_base.147" }
%"struct.std::_Vector_base.147" = 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.151" = type { %"struct.std::_Vector_base.152" }
%"struct.std::_Vector_base.152" = 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.TraceLog = type { ptr, %"class.std::function" }
%"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.std::vector.177" = type { %"struct.std::_Vector_base.178" }
%"struct.std::_Vector_base.178" = type { %"struct.std::_Vector_base<std::pair<AST::Pattern, TypeRef>, std::allocator<std::pair<AST::Pattern, TypeRef>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<AST::Pattern, TypeRef>, std::allocator<std::pair<AST::Pattern, TypeRef>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<AST::Pattern, TypeRef>, std::allocator<std::pair<AST::Pattern, TypeRef>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<AST::Pattern, TypeRef>, std::allocator<std::pair<AST::Pattern, TypeRef>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.182" = type { %"class.AST::Pattern", %class.TypeRef }
%"class.std::vector.184" = type { %"struct.std::_Vector_base.185" }
%"struct.std::_Vector_base.185" = type { %"struct.std::_Vector_base<eTokenType, std::allocator<eTokenType>>::_Vector_impl" }
%"struct.std::_Vector_base<eTokenType, std::allocator<eTokenType>>::_Vector_impl" = type { %"struct.std::_Vector_base<eTokenType, std::allocator<eTokenType>>::_Vector_impl_data" }
%"struct.std::_Vector_base<eTokenType, std::allocator<eTokenType>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.186" = type { i8 }

@g_debug_indent_level = external local_unnamed_addr global i32, align 4
@.str.1 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZTIN10ParseError10UnexpectedE = external constant ptr
@.str.10 = external hidden unnamed_addr constant [11 x i8], align 1
@__func__._Z21Parse_ExprVal_ClosureR11TokenStream = external hidden unnamed_addr constant [22 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11Parse_Expr0R11TokenStream(ptr dead_on_unwind noalias writable sret(%"class.AST::ExprNodeP") align 8, ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #0

declare i32 @__gxx_personality_v0(...)

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

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

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #3

declare void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) unnamed_addr #3

declare void @_ZN5TokenC1Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #3

declare void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8, ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #3

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

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

; Function Attrs: nounwind
declare void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #5

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt3decRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef) unnamed_addr #3

declare void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(176), ptr noundef nonnull align 8 dereferenceable(88), ptr noundef) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN10ParseError10UnexpectedD1Ev(ptr noundef nonnull align 8 dereferenceable(96)) unnamed_addr #1

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #6

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #7

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

declare void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176), ptr noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL12mk_exprnodepRK11TokenStreamPN3AST8ExprNodeE(ptr dead_on_unwind noalias writable sret(%"class.AST::ExprNodeP") align 8, ptr noundef nonnull align 8 dereferenceable(176), ptr noundef) local_unnamed_addr #5

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

declare void @_Z13Parse_PatternR11TokenStream14AllowOrPattern(ptr dead_on_unwind writable sret(%"class.AST::Pattern") align 8, ptr noundef nonnull align 8 dereferenceable(176), i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544)) unnamed_addr #1

declare void @_ZNK11TokenStream10point_spanEv(ptr dead_on_unwind writable sret(%struct.Span) align 8, ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7TypeRefC2E4Span(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef) unnamed_addr #0 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 #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7TypeRefC2EOS_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z21Parse_ExprVal_ClosureR11TokenStream(ptr dead_on_unwind noalias writable sret(%"class.AST::ExprNodeP") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %class.TraceLog, align 8
  %4 = alloca %class.Token, align 8
  %5 = alloca %class.Token, align 8
  %6 = alloca %class.Token, align 8
  %7 = alloca %class.Token, align 8
  %8 = alloca %"class.std::vector.177", align 8
  %9 = alloca %class.Token, align 8
  %10 = alloca %class.Token, align 8
  %11 = alloca %"class.AST::Pattern", align 8
  %12 = alloca %class.TypeRef, align 8
  %13 = alloca %struct.Span, align 8
  %14 = alloca %class.Token, align 8
  %15 = alloca %class.TypeRef, align 8
  %16 = alloca %class.Token, align 8
  %17 = alloca %"struct.std::pair.182", align 8
  %18 = alloca %class.Token, align 8
  %19 = alloca %class.Token, align 8
  %20 = alloca %"class.std::vector.184", align 8
  %21 = alloca [4 x i32], align 16
  %22 = alloca %"class.std::allocator.186", align 1
  %23 = alloca %class.TypeRef, align 8
  %24 = alloca %struct.Span, align 8
  %25 = alloca %class.Token, align 8
  %26 = alloca %struct.Span, align 8
  %27 = alloca %class.Token, align 8
  %28 = alloca %class.TypeRef, align 8
  %29 = alloca %struct.Span, align 8
  %30 = alloca %class.Token, align 8
  %31 = alloca %class.TypeRef, align 8
  %32 = alloca %class.Token, align 8
  %33 = alloca %"class.AST::ExprNodeP", align 8
  %34 = alloca %"class.std::vector.177", align 8
  %35 = alloca %class.TypeRef, align 8
  %36 = alloca %"class.AST::ExprNodeP", align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #9
  %37 = tail call noundef zeroext i1 @_Z13debug_enabledv()
  %38 = select i1 %37, ptr @__func__._Z21Parse_ExprVal_ClosureR11TokenStream, ptr null
  call void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef %38)
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %4) #9
  invoke void @_ZN5TokenC1Ev(ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %39 unwind label %50

39:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %5) #9
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %5, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %40 unwind label %52

40:                                               ; preds = %39
  %41 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %5)
          to label %42 unwind label %54

42:                                               ; preds = %40
  %43 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %41)
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %5) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %5) #9
  %44 = call noundef zeroext i1 @_ZNK5TokeneqE10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %4, i32 noundef 80)
  br i1 %44, label %45, label %62

45:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %6) #9
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %6, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %46 unwind label %57

46:                                               ; preds = %45
  %47 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %48 unwind label %59

48:                                               ; preds = %46
  %49 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %47)
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %6) #9
  br label %62

50:                                               ; preds = %2
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %274

52:                                               ; preds = %39
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %56

54:                                               ; preds = %40
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %5) #9
  br label %56

56:                                               ; preds = %54, %52
  %.pn = phi { ptr, i32 } [ %55, %54 ], [ %53, %52 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %5) #9
  br label %273

57:                                               ; preds = %45
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %61

59:                                               ; preds = %46
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #9
  br label %61

61:                                               ; preds = %59, %57
  %.pn69 = phi { ptr, i32 } [ %60, %59 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %6) #9
  br label %273

62:                                               ; preds = %48, %42
  %63 = call noundef zeroext i1 @_ZNK5TokeneqE10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %4, i32 noundef 113)
  br i1 %63, label %64, label %74

64:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %7) #9
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %7, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %65 unwind label %69

65:                                               ; preds = %64
  %66 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %7)
          to label %67 unwind label %71

67:                                               ; preds = %65
  %68 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %66)
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %7) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %7) #9
  br label %74

69:                                               ; preds = %64
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %73

71:                                               ; preds = %65
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %7) #9
  br label %73

73:                                               ; preds = %71, %69
  %.pn71 = phi { ptr, i32 } [ %72, %71 ], [ %70, %69 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %7) #9
  br label %273

74:                                               ; preds = %67, %62
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #9
  call void @_ZNSt6vectorISt4pairIN3AST7PatternE7TypeRefESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  %75 = call noundef zeroext i1 @_ZNK5TokeneqE10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %4, i32 noundef 63)
  br i1 %75, label %184, label %76

.loopexit:                                        ; preds = %82
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %272

.loopexit.split-lp:                               ; preds = %149, %152, %155, %157, %159, %161, %163, %165
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %272

76:                                               ; preds = %74
  %77 = call noundef zeroext i1 @_ZNK5TokeneqE10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %4, i32 noundef 37)
  br i1 %77, label %.preheader, label %176

.preheader:                                       ; preds = %76, %132
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %9) #9
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %9, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %78 unwind label %97

78:                                               ; preds = %.preheader
  %79 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %9)
          to label %80 unwind label %99

80:                                               ; preds = %78
  %81 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %79)
  %.not = icmp eq i32 %81, 37
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %9) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %9) #9
  br i1 %.not, label %147, label %82

82:                                               ; preds = %80
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %83 unwind label %.loopexit

83:                                               ; preds = %82
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %10)
          to label %84 unwind label %102

84:                                               ; preds = %83
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %10) #9
  call void @llvm.lifetime.start.p0(i64 544, ptr nonnull %11) #9
  invoke void @_Z13Parse_PatternR11TokenStream14AllowOrPattern(ptr dead_on_unwind nonnull writable sret(%"class.AST::Pattern") align 8 %11, ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 0)
          to label %85 unwind label %104

85:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %12) #9
  invoke void @_ZNK11TokenStream10point_spanEv(ptr dead_on_unwind nonnull writable sret(%struct.Span) align 8 %13, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %86 unwind label %106

86:                                               ; preds = %85
  invoke void @_ZN7TypeRefC2E4Span(ptr noundef nonnull align 8 dereferenceable(120) %12, ptr noundef nonnull %13)
          to label %87 unwind label %108

87:                                               ; preds = %86
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %14) #9
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %14, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %88 unwind label %110

88:                                               ; preds = %87
  %89 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %14)
          to label %90 unwind label %112

90:                                               ; preds = %88
  %91 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %89)
  %92 = icmp eq i32 %91, 33
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %14) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %14) #9
  br i1 %92, label %93, label %120

93:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %15) #9
  invoke void @_Z10Parse_TypeR11TokenStreamb(ptr dead_on_unwind nonnull writable sret(%class.TypeRef) align 8 %15, ptr noundef nonnull align 8 dereferenceable(176) %1, i1 noundef zeroext true)
          to label %94 unwind label %115

94:                                               ; preds = %93
  %95 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN7TypeRefaSEOS_(ptr noundef nonnull align 8 dereferenceable(120) %12, ptr noundef nonnull align 8 dereferenceable(120) %15)
          to label %96 unwind label %117

96:                                               ; preds = %94
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %15) #9
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %15) #9
  br label %127

97:                                               ; preds = %.preheader
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %101

99:                                               ; preds = %78
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %9) #9
  br label %101

101:                                              ; preds = %99, %97
  %.pn75 = phi { ptr, i32 } [ %100, %99 ], [ %98, %97 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %9) #9
  br label %272

102:                                              ; preds = %83
  %103 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %10) #9
  br label %272

104:                                              ; preds = %84
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %146

106:                                              ; preds = %85
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %145

108:                                              ; preds = %86
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  br label %145

110:                                              ; preds = %87
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %114

112:                                              ; preds = %88
  %113 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %14) #9
  br label %114

114:                                              ; preds = %112, %110
  %.pn77 = phi { ptr, i32 } [ %113, %112 ], [ %111, %110 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %14) #9
  br label %144

115:                                              ; preds = %93
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %119

117:                                              ; preds = %94
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %15) #9
  br label %119

119:                                              ; preds = %117, %115
  %.pn79 = phi { ptr, i32 } [ %118, %117 ], [ %116, %115 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %15) #9
  br label %144

120:                                              ; preds = %90
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %16, ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %121 unwind label %123

121:                                              ; preds = %120
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %16)
          to label %122 unwind label %125

122:                                              ; preds = %121
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %16) #9
  br label %127

123:                                              ; preds = %120
  %124 = landingpad { ptr, i32 }
          cleanup
  br label %144

125:                                              ; preds = %121
  %126 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %16) #9
  br label %144

127:                                              ; preds = %122, %96
  call void @llvm.lifetime.start.p0(i64 664, ptr nonnull %17) #9
  invoke void @_ZSt9make_pairIN3AST7PatternE7TypeRefESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS4_INS5_IT0_E4typeEE6__typeEEOS6_OSB_(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.182") align 8 %17, ptr noundef nonnull align 8 dereferenceable(544) %11, ptr noundef nonnull align 8 dereferenceable(120) %12)
          to label %128 unwind label %134

128:                                              ; preds = %127
  invoke void @_ZNSt6vectorISt4pairIN3AST7PatternE7TypeRefESaIS4_EE9push_backEOS4_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(664) %17)
          to label %129 unwind label %136

129:                                              ; preds = %128
  call void @_ZNSt4pairIN3AST7PatternE7TypeRefED2Ev(ptr noundef nonnull align 8 dereferenceable(664) %17) #9
  call void @llvm.lifetime.end.p0(i64 664, ptr nonnull %17) #9
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %18) #9
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %18, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %130 unwind label %139

130:                                              ; preds = %129
  %131 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %18)
          to label %132 unwind label %141

132:                                              ; preds = %130
  %133 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %131)
  %.not88 = icmp eq i32 %133, 31
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %18) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %18) #9
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %12) #9
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %12) #9
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %11) #9
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %11) #9
  br i1 %.not88, label %.preheader, label %147

134:                                              ; preds = %127
  %135 = landingpad { ptr, i32 }
          cleanup
  br label %138

136:                                              ; preds = %128
  %137 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt4pairIN3AST7PatternE7TypeRefED2Ev(ptr noundef nonnull align 8 dereferenceable(664) %17) #9
  br label %138

138:                                              ; preds = %136, %134
  %.pn81 = phi { ptr, i32 } [ %137, %136 ], [ %135, %134 ]
  call void @llvm.lifetime.end.p0(i64 664, ptr nonnull %17) #9
  br label %144

139:                                              ; preds = %129
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %143

141:                                              ; preds = %130
  %142 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %18) #9
  br label %143

143:                                              ; preds = %141, %139
  %.pn83 = phi { ptr, i32 } [ %142, %141 ], [ %140, %139 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %18) #9
  br label %144

144:                                              ; preds = %143, %138, %125, %123, %119, %114
  %.pn83.pn = phi { ptr, i32 } [ %.pn83, %143 ], [ %.pn81, %138 ], [ %.pn79, %119 ], [ %126, %125 ], [ %124, %123 ], [ %.pn77, %114 ]
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %12) #9
  br label %145

145:                                              ; preds = %144, %108, %106
  %.pn83.pn.pn = phi { ptr, i32 } [ %.pn83.pn, %144 ], [ %109, %108 ], [ %107, %106 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %12) #9
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %11) #9
  br label %146

146:                                              ; preds = %145, %104
  %.pn83.pn.pn.pn = phi { ptr, i32 } [ %.pn83.pn.pn, %145 ], [ %105, %104 ]
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %11) #9
  br label %272

147:                                              ; preds = %132, %80
  %148 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
  %.not89 = icmp eq i32 %148, 37
  br i1 %.not89, label %184, label %149

149:                                              ; preds = %147
  %150 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %151 unwind label %.loopexit.split-lp

151:                                              ; preds = %149
  br i1 %150, label %152, label %167

152:                                              ; preds = %151
  %153 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !5
  %154 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %153, ptr noundef nonnull @__func__._Z21Parse_ExprVal_ClosureR11TokenStream)
          to label %155 unwind label %.loopexit.split-lp

155:                                              ; preds = %152
  %156 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %154, ptr noundef nonnull @.str.10)
          to label %157 unwind label %.loopexit.split-lp

157:                                              ; preds = %155
  %158 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %156, ptr noundef nonnull @.str.1)
          to label %159 unwind label %.loopexit.split-lp

159:                                              ; preds = %157
  %160 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %158, ptr noundef nonnull @.str.2)
          to label %161 unwind label %.loopexit.split-lp

161:                                              ; preds = %159
  %162 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %160, i32 noundef 1310)
          to label %163 unwind label %.loopexit.split-lp

163:                                              ; preds = %161
  %164 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %162, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %165 unwind label %.loopexit.split-lp

165:                                              ; preds = %163
  %166 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %164, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %167 unwind label %.loopexit.split-lp

167:                                              ; preds = %165, %151
  %168 = call ptr @__cxa_allocate_exception(i64 96) #9
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %19, i32 noundef 37)
          to label %169 unwind label %.thread

169:                                              ; preds = %167
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %168, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull %19)
          to label %171 unwind label %.thread117

.thread117:                                       ; preds = %169
  %170 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %19) #9
  br label %175

171:                                              ; preds = %169
  invoke void @__cxa_throw(ptr nonnull %168, ptr nonnull @_ZTIN10ParseError10UnexpectedE, ptr nonnull @_ZN10ParseError10UnexpectedD1Ev) #10
          to label %275 unwind label %173

.thread:                                          ; preds = %167
  %172 = landingpad { ptr, i32 }
          cleanup
  br label %175

173:                                              ; preds = %171
  %174 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %19) #9
  br label %272

175:                                              ; preds = %.thread117, %.thread
  %.pn90116 = phi { ptr, i32 } [ %172, %.thread ], [ %170, %.thread117 ]
  call void @__cxa_free_exception(ptr %168) #9
  br label %272

176:                                              ; preds = %76
  %177 = call ptr @__cxa_allocate_exception(i64 96) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #9
  store <4 x i32> <i32 37, i32 63, i32 113, i32 80>, ptr %21, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #9
  call void @_ZNSaI10eTokenTypeEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #9
  invoke void @_ZNSt6vectorI10eTokenTypeSaIS0_EEC2ESt16initializer_listIS0_ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr nonnull %21, i64 4, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %178 unwind label %.thread119

178:                                              ; preds = %176
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenSt6vectorI10eTokenTypeSaIS8_EE(ptr noundef nonnull align 8 dereferenceable(96) %177, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull %20)
          to label %179 unwind label %181

179:                                              ; preds = %178
  invoke void @__cxa_throw(ptr nonnull %177, ptr nonnull @_ZTIN10ParseError10UnexpectedE, ptr nonnull @_ZN10ParseError10UnexpectedD1Ev) #10
          to label %275 unwind label %181

.thread119:                                       ; preds = %176
  %180 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI10eTokenTypeED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #9
  br label %183

181:                                              ; preds = %178, %179
  %.029 = phi i1 [ false, %179 ], [ true, %178 ]
  %182 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorI10eTokenTypeSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  call void @_ZNSt15__new_allocatorI10eTokenTypeED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #9
  br i1 %.029, label %183, label %272

183:                                              ; preds = %.thread119, %181
  %.pn73122 = phi { ptr, i32 } [ %180, %.thread119 ], [ %182, %181 ]
  call void @__cxa_free_exception(ptr %177) #9
  br label %272

184:                                              ; preds = %147, %74
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %23) #9
  invoke void @_ZNK11TokenStream10point_spanEv(ptr dead_on_unwind nonnull writable sret(%struct.Span) align 8 %24, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %185 unwind label %204

185:                                              ; preds = %184
  invoke void @_ZN7TypeRefC2E4Span(ptr noundef nonnull align 8 dereferenceable(120) %23, ptr noundef nonnull %24)
          to label %186 unwind label %206

186:                                              ; preds = %185
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %25) #9
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %25, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %187 unwind label %208

187:                                              ; preds = %186
  %188 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %25)
          to label %189 unwind label %210

189:                                              ; preds = %187
  %190 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %188)
  %191 = icmp eq i32 %190, 39
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %25) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %25) #9
  br i1 %191, label %192, label %246

192:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #9
  invoke void @_ZNK11TokenStream10point_spanEv(ptr dead_on_unwind nonnull writable sret(%struct.Span) align 8 %26, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %193 unwind label %213

193:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %27) #9
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %27, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %194 unwind label %215

194:                                              ; preds = %193
  %195 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %27)
          to label %196 unwind label %217

196:                                              ; preds = %194
  %197 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %195)
  %198 = icmp eq i32 %197, 43
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %27) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %27) #9
  br i1 %198, label %199, label %228

199:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %28) #9
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %200 unwind label %220

200:                                              ; preds = %199
  invoke void @_ZN7TypeRefC2ENS_10TagInvalidE4Span(ptr noundef nonnull align 8 dereferenceable(120) %28, ptr noundef nonnull %29)
          to label %201 unwind label %222

201:                                              ; preds = %200
  %202 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN7TypeRefaSEOS_(ptr noundef nonnull align 8 dereferenceable(120) %23, ptr noundef nonnull align 8 dereferenceable(120) %28)
          to label %203 unwind label %224

203:                                              ; preds = %201
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %28) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #9
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %28) #9
  br label %243

204:                                              ; preds = %184
  %205 = landingpad { ptr, i32 }
          cleanup
  br label %271

206:                                              ; preds = %185
  %207 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  br label %271

208:                                              ; preds = %186
  %209 = landingpad { ptr, i32 }
          cleanup
  br label %212

210:                                              ; preds = %187
  %211 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %25) #9
  br label %212

212:                                              ; preds = %210, %208
  %.pn92 = phi { ptr, i32 } [ %211, %210 ], [ %209, %208 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %25) #9
  br label %270

213:                                              ; preds = %192
  %214 = landingpad { ptr, i32 }
          cleanup
  br label %245

215:                                              ; preds = %193
  %216 = landingpad { ptr, i32 }
          cleanup
  br label %219

217:                                              ; preds = %194
  %218 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %27) #9
  br label %219

219:                                              ; preds = %217, %215
  %.pn94 = phi { ptr, i32 } [ %218, %217 ], [ %216, %215 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %27) #9
  br label %244

220:                                              ; preds = %199
  %221 = landingpad { ptr, i32 }
          cleanup
  br label %227

222:                                              ; preds = %200
  %223 = landingpad { ptr, i32 }
          cleanup
  br label %226

224:                                              ; preds = %201
  %225 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %28) #9
  br label %226

226:                                              ; preds = %224, %222
  %.pn98 = phi { ptr, i32 } [ %225, %224 ], [ %223, %222 ]
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #9
  br label %227

227:                                              ; preds = %226, %220
  %.pn98.pn = phi { ptr, i32 } [ %.pn98, %226 ], [ %221, %220 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %28) #9
  br label %244

228:                                              ; preds = %196
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %30, ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %229 unwind label %234

229:                                              ; preds = %228
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %30)
          to label %230 unwind label %236

230:                                              ; preds = %229
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %30) #9
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %31) #9
  invoke void @_Z10Parse_TypeR11TokenStreamb(ptr dead_on_unwind nonnull writable sret(%class.TypeRef) align 8 %31, ptr noundef nonnull align 8 dereferenceable(176) %1, i1 noundef zeroext true)
          to label %231 unwind label %238

231:                                              ; preds = %230
  %232 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN7TypeRefaSEOS_(ptr noundef nonnull align 8 dereferenceable(120) %23, ptr noundef nonnull align 8 dereferenceable(120) %31)
          to label %233 unwind label %240

233:                                              ; preds = %231
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %31) #9
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %31) #9
  br label %243

234:                                              ; preds = %228
  %235 = landingpad { ptr, i32 }
          cleanup
  br label %244

236:                                              ; preds = %229
  %237 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %30) #9
  br label %244

238:                                              ; preds = %230
  %239 = landingpad { ptr, i32 }
          cleanup
  br label %242

240:                                              ; preds = %231
  %241 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %31) #9
  br label %242

242:                                              ; preds = %240, %238
  %.pn96 = phi { ptr, i32 } [ %241, %240 ], [ %239, %238 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %31) #9
  br label %244

243:                                              ; preds = %233, %203
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #9
  br label %253

244:                                              ; preds = %242, %236, %234, %227, %219
  %.pn98.pn.pn = phi { ptr, i32 } [ %.pn98.pn, %227 ], [ %.pn96, %242 ], [ %237, %236 ], [ %235, %234 ], [ %.pn94, %219 ]
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #9
  br label %245

245:                                              ; preds = %244, %213
  %.pn98.pn.pn.pn = phi { ptr, i32 } [ %.pn98.pn.pn, %244 ], [ %214, %213 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #9
  br label %270

246:                                              ; preds = %189
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %32, ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %247 unwind label %249

247:                                              ; preds = %246
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %32)
          to label %248 unwind label %251

248:                                              ; preds = %247
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %32) #9
  br label %253

249:                                              ; preds = %246
  %250 = landingpad { ptr, i32 }
          cleanup
  br label %270

251:                                              ; preds = %247
  %252 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %32) #9
  br label %270

253:                                              ; preds = %248, %243
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #9
  invoke void @_Z11Parse_Expr0R11TokenStream(ptr dead_on_unwind nonnull writable sret(%"class.AST::ExprNodeP") align 8 %33, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %254 unwind label %260

254:                                              ; preds = %253
  %255 = invoke noalias noundef nonnull dereferenceable(200) ptr @_Znwm(i64 noundef 200) #11
          to label %256 unwind label %262

256:                                              ; preds = %254
  call void @_ZNSt6vectorISt4pairIN3AST7PatternE7TypeRefESaIS4_EEC2EOS6_(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  invoke void @_ZN7TypeRefC2EOS_(ptr noundef nonnull align 8 dereferenceable(120) %35, ptr noundef nonnull align 8 dereferenceable(120) %23)
          to label %257 unwind label %.thread123

257:                                              ; preds = %256
  call void @_ZN3AST9ExprNodePC2EOS0_(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(8) %33)
  invoke void @_ZN3AST16ExprNode_ClosureC2ESt6vectorISt4pairINS_7PatternE7TypeRefESaIS5_EES4_NS_9ExprNodePEbb(ptr noundef nonnull align 8 dereferenceable(194) %255, ptr noundef nonnull %34, ptr noundef nonnull %35, ptr noundef nonnull %36, i1 noundef zeroext %63, i1 noundef zeroext %44)
          to label %258 unwind label %265

258:                                              ; preds = %257
  invoke void @_ZL12mk_exprnodepRK11TokenStreamPN3AST8ExprNodeE(ptr dead_on_unwind writable sret(%"class.AST::ExprNodeP") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %255)
          to label %259 unwind label %265

259:                                              ; preds = %258
  call void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %36) #9
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %35) #9
  call void @_ZNSt6vectorISt4pairIN3AST7PatternE7TypeRefESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #9
  call void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #9
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %23) #9
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %23) #9
  call void @_ZNSt6vectorISt4pairIN3AST7PatternE7TypeRefESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #9
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %4) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %4) #9
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #9
  ret void

260:                                              ; preds = %253
  %261 = landingpad { ptr, i32 }
          cleanup
  br label %269

262:                                              ; preds = %254
  %263 = landingpad { ptr, i32 }
          cleanup
  br label %268

.thread123:                                       ; preds = %256
  %264 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorISt4pairIN3AST7PatternE7TypeRefESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #9
  br label %267

265:                                              ; preds = %257, %258
  %.0 = phi i1 [ false, %258 ], [ true, %257 ]
  %266 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %36) #9
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %35) #9
  call void @_ZNSt6vectorISt4pairIN3AST7PatternE7TypeRefESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #9
  br i1 %.0, label %267, label %268

267:                                              ; preds = %.thread123, %265
  %.pn103126 = phi { ptr, i32 } [ %264, %.thread123 ], [ %266, %265 ]
  call void @_ZdlPvm(ptr noundef nonnull %255, i64 noundef 200) #12
  br label %268

268:                                              ; preds = %265, %267, %262
  %.pn103.pn = phi { ptr, i32 } [ %.pn103126, %267 ], [ %266, %265 ], [ %263, %262 ]
  call void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #9
  br label %269

269:                                              ; preds = %268, %260
  %.pn103.pn.pn = phi { ptr, i32 } [ %.pn103.pn, %268 ], [ %261, %260 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #9
  br label %270

270:                                              ; preds = %269, %251, %249, %245, %212
  %.pn103.pn.pn.pn = phi { ptr, i32 } [ %.pn103.pn.pn, %269 ], [ %.pn98.pn.pn.pn, %245 ], [ %252, %251 ], [ %250, %249 ], [ %.pn92, %212 ]
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %23) #9
  br label %271

271:                                              ; preds = %270, %206, %204
  %.pn103.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn103.pn.pn.pn, %270 ], [ %207, %206 ], [ %205, %204 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %23) #9
  br label %272

272:                                              ; preds = %.loopexit, %.loopexit.split-lp, %173, %181, %183, %175, %271, %146, %102, %101
  %.pn103.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn103.pn.pn.pn.pn, %271 ], [ %.pn90116, %175 ], [ %174, %173 ], [ %.pn83.pn.pn.pn, %146 ], [ %103, %102 ], [ %.pn75, %101 ], [ %.pn73122, %183 ], [ %182, %181 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt6vectorISt4pairIN3AST7PatternE7TypeRefESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #9
  br label %273

273:                                              ; preds = %61, %272, %73, %56
  %.pn103.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn, %56 ], [ %.pn69, %61 ], [ %.pn103.pn.pn.pn.pn.pn, %272 ], [ %.pn71, %73 ]
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %4) #9
  br label %274

274:                                              ; preds = %273, %50
  %.pn103.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn103.pn.pn.pn.pn.pn.pn.pn.pn, %273 ], [ %51, %50 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %4) #9
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #9
  resume { ptr, i32 } %.pn103.pn.pn.pn.pn.pn.pn.pn.pn.pn

275:                                              ; preds = %179, %171
  unreachable
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt4pairIN3AST7PatternE7TypeRefESaIS4_EE9push_backEOS4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(664)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairIN3AST7PatternE7TypeRefESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS4_INS5_IT0_E4typeEE6__typeEEOS6_OSB_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.182") align 8, ptr noundef nonnull align 8 dereferenceable(544), ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI10eTokenTypeSaIS0_EEC2ESt16initializer_listIS0_ERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

declare void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenSt6vectorI10eTokenTypeSaIS8_EE(ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(176), ptr noundef nonnull align 8 dereferenceable(88), ptr noundef) unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7TypeRefC2ENS_10TagInvalidE4Span(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST16ExprNode_ClosureC2ESt6vectorISt4pairINS_7PatternE7TypeRefESaIS5_EES4_NS_9ExprNodePEbb(ptr noundef nonnull align 8 dereferenceable(194), ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext, i1 noundef zeroext) unnamed_addr #0 align 2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTS10eTokenType", !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,LoopUnrollPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass