; LLVM IR from thepowersgang/mrustc :: src/parse/pattern.ll (Z18Parse_PatternValueR11TokenStream)

; 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.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::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.26", %"class.std::unique_ptr.34", %"class.std::vector.21" }
%"class.std::unique_ptr.26" = type { %"struct.std::__uniq_ptr_data.27" }
%"struct.std::__uniq_ptr_data.27" = type { %"class.std::__uniq_ptr_impl.28" }
%"class.std::__uniq_ptr_impl.28" = type { %"class.std::tuple.29" }
%"class.std::tuple.29" = type { %"struct.std::_Tuple_impl.30" }
%"struct.std::_Tuple_impl.30" = type { %"struct.std::_Head_base.33" }
%"struct.std::_Head_base.33" = type { ptr }
%"class.std::unique_ptr.34" = type { %"struct.std::__uniq_ptr_data.35" }
%"struct.std::__uniq_ptr_data.35" = type { %"class.std::__uniq_ptr_impl.36" }
%"class.std::__uniq_ptr_impl.36" = type { %"class.std::tuple.37" }
%"class.std::tuple.37" = type { %"struct.std::_Tuple_impl.38" }
%"struct.std::_Tuple_impl.38" = type { %"struct.std::_Head_base.41" }
%"struct.std::_Head_base.41" = type { ptr }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = 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.47", %"struct.AST::PathBinding.48" }
%"struct.AST::PathBinding" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Value" }
%"struct.AST::AbsolutePath" = type { %class.RcString, %"class.std::vector.42" }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = 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.47" = 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.48" = 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.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 } }
%"struct.AST::Pattern::Value::Data_Integer" = type { i32, %class.U128 }
%class.U128 = type { i64, i64 }
%"struct.AST::Pattern::Value::Data_Float" = type { i32, double }
%"class.std::vector.70" = type { %"struct.std::_Vector_base.71" }
%"struct.std::_Vector_base.71" = 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" = type { ptr, i64 }
%"class.std::allocator.72" = type { i8 }
%"struct.AST::Pattern::Value::Data_ByteString" = type { %"class.std::__cxx11::basic_string" }
%"class.std::unique_ptr.75" = type { %"struct.std::__uniq_ptr_data.76" }
%"struct.std::__uniq_ptr_data.76" = type { %"class.std::__uniq_ptr_impl.77" }
%"class.std::__uniq_ptr_impl.77" = type { %"class.std::tuple.78" }
%"class.std::tuple.78" = type { %"struct.std::_Tuple_impl.79" }
%"struct.std::_Tuple_impl.79" = type { %"struct.std::_Head_base.82" }
%"struct.std::_Head_base.82" = type { ptr }
%class.anon = type { ptr, ptr }
%"struct.AST::Pattern::Value::Data_Invalid" = type { i8 }
%"struct.AST::ExprNode_String" = type { %"class.AST::ExprNode", %"class.std::__cxx11::basic_string", %"class.Ident::Hygiene" }
%"class.AST::ExprNode" = type { ptr, %"class.AST::AttributeList", %struct.Span }
%"class.AST::AttributeList" = type { %"class.std::vector.83" }
%"class.std::vector.83" = type { %"struct.std::_Vector_base.84" }
%"struct.std::_Vector_base.84" = type { %"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::ExprNode_ByteString" = type { %"class.AST::ExprNode", %"class.std::__cxx11::basic_string" }
%"struct.AST::ExprNode_Bool" = type <{ %"class.AST::ExprNode", i8, [7 x i8] }>
%"struct.AST::ExprNode_Integer" = type { %"class.AST::ExprNode", i32, %class.U128 }
%"struct.AST::ExprNode_Float" = type { %"class.AST::ExprNode", i32, double }

@_ZTIN10ParseError10UnexpectedE = external constant ptr
@__func__._Z18Parse_PatternValueR11TokenStream = external hidden unnamed_addr constant [19 x i8], align 1
@_ZTIN3AST8ExprNodeE = external dso_local constant { ptr, ptr }, align 8
@_ZTIN3AST15ExprNode_StringE = external constant ptr
@_ZTIN3AST19ExprNode_ByteStringE = external constant ptr
@_ZTIN3AST13ExprNode_BoolE = external constant ptr
@_ZTIN3AST16ExprNode_IntegerE = external constant ptr
@_ZTIN3AST14ExprNode_FloatE = external constant ptr
@.str.8 = external hidden unnamed_addr constant [24 x i8], align 1
@_ZTISt13runtime_error = external constant ptr

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

declare noundef zeroext i1 @_Z13debug_enabledv() #1

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

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

; 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)) #3 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 @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240)) unnamed_addr #2

declare ptr @__cxa_allocate_exception(i64)

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

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @__cxa_free_exception(ptr)

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z18Parse_PatternValueR11TokenStream(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern::Value") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %1) #3 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 %class.Token, align 8
  %11 = alloca %"class.AST::Path", align 8
  %12 = alloca i32, align 4
  %13 = alloca %class.Token, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"struct.AST::Pattern::Value::Data_Integer", align 8
  %16 = alloca %class.U128, align 8
  %17 = alloca %class.U128, align 8
  %18 = alloca %"struct.AST::Pattern::Value::Data_Float", align 8
  %19 = alloca %"class.std::vector.70", align 8
  %20 = alloca %"class.std::initializer_list", align 8
  %21 = alloca [2 x i32], align 4
  %22 = alloca %"class.std::allocator.72", align 1
  %23 = alloca i1, align 1
  %24 = alloca %"struct.AST::Pattern::Value::Data_Float", align 8
  %25 = alloca %"struct.AST::Pattern::Value::Data_Integer", align 8
  %26 = alloca %"struct.AST::Pattern::Value::Data_Integer", align 8
  %27 = alloca %"struct.AST::Pattern::Value::Data_Integer", align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"struct.AST::Pattern::Value::Data_ByteString", align 8
  %30 = alloca %"class.std::unique_ptr.75", align 8
  %31 = alloca ptr, align 8
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca ptr, align 8
  %34 = alloca %"struct.AST::Pattern::Value::Data_ByteString", align 8
  %35 = alloca ptr, align 8
  %36 = alloca %"struct.AST::Pattern::Value::Data_Integer", align 8
  %37 = alloca ptr, align 8
  %38 = alloca %"struct.AST::Pattern::Value::Data_Integer", align 8
  %39 = alloca ptr, align 8
  %40 = alloca %"struct.AST::Pattern::Value::Data_Float", align 8
  %41 = alloca ptr, align 8
  %42 = alloca %struct.Span, align 8
  %43 = alloca %"class.std::function", align 8
  %44 = alloca %class.anon, align 8
  %45 = alloca %class.Token, align 8
  %46 = alloca %"struct.AST::Pattern::Value::Data_Invalid", 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) #8
  %47 = call noundef zeroext i1 @_Z13debug_enabledv()
  %48 = zext i1 %47 to i64
  %49 = select i1 %47, ptr @__func__._Z18Parse_PatternValueR11TokenStream, ptr null
  call void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef %49)
  call void @llvm.lifetime.start.p0(i64 88, ptr %6) #8
  invoke void @_ZN5TokenC1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %50 unwind label %57

50:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 88, ptr %9) #8
  %51 = 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) %51)
          to label %52 unwind label %61

52:                                               ; preds = %50
  %53 = 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 %54 unwind label %65

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

56:                                               ; preds = %54
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %9) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %9) #8
  switch i32 %55, label %409 [
    i32 83, label %70
    i32 111, label %70
    i32 112, label %70
    i32 14, label %70
    i32 27, label %70
    i32 64, label %70
    i32 5, label %70
    i32 34, label %70
    i32 42, label %89
    i32 18, label %181
    i32 16, label %193
    i32 110, label %205
    i32 109, label %210
    i32 19, label %215
    i32 20, label %223
    i32 8, label %232
  ]

57:                                               ; preds = %2
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %7, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %8, align 4
  br label %421

61:                                               ; preds = %50
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %7, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %8, align 4
  br label %69

65:                                               ; preds = %54, %52
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %7, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %9) #8
  br label %69

69:                                               ; preds = %65, %61
  call void @llvm.lifetime.end.p0(i64 88, ptr %9) #8
  br label %420

70:                                               ; preds = %56, %56, %56, %56, %56, %56, %56, %56
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %72 unwind label %77

72:                                               ; preds = %70
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %71, ptr noundef %10)
          to label %73 unwind label %81

73:                                               ; preds = %72
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %10) #8
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_Z10Parse_PathR11TokenStream21eParsePathGenericMode(ptr dead_on_unwind writable sret(%"class.AST::Path") align 8 %11, ptr noundef nonnull align 8 dereferenceable(176) %74, i32 noundef 1)
          to label %75 unwind label %77

75:                                               ; preds = %73
  invoke void @_ZN3AST7Pattern5Value10make_NamedENS_4PathE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, ptr noundef %11)
          to label %76 unwind label %85

76:                                               ; preds = %75
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %11) #8
  store i32 1, ptr %12, align 4
  br label %419

77:                                               ; preds = %412, %409, %223, %215, %213, %210, %208, %205, %199, %196, %193, %187, %184, %181, %150, %147, %144, %140, %73, %70
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %7, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %8, align 4
  br label %420

81:                                               ; preds = %72
  %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
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %10) #8
  br label %420

85:                                               ; preds = %75
  %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
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %11) #8
  br label %420

89:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 88, ptr %13) #8
  %90 = 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) %90)
          to label %91 unwind label %122

91:                                               ; preds = %89
  %92 = 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 %93 unwind label %126

93:                                               ; preds = %91
  %94 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %92)
          to label %95 unwind label %126

95:                                               ; preds = %93
  %96 = icmp eq i32 %94, 16
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %13) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %13) #8
  br i1 %96, label %97, label %140

97:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  %98 = invoke noundef i32 @_ZNK5Token8datatypeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %99 unwind label %131

99:                                               ; preds = %97
  store i32 %98, ptr %14, align 4, !tbaa !9
  %100 = getelementptr inbounds %"struct.AST::Pattern::Value::Data_Integer", ptr %15, i32 0, i32 0
  %101 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %101, ptr %100, align 8, !tbaa !11
  %102 = getelementptr inbounds %"struct.AST::Pattern::Value::Data_Integer", ptr %15, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #8
  %103 = invoke { i64, i64 } @_ZNK5Token6intvalEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %104 unwind label %135

104:                                              ; preds = %99
  %105 = getelementptr inbounds { i64, i64 }, ptr %17, i32 0, i32 0
  %106 = extractvalue { i64, i64 } %103, 0
  store i64 %106, ptr %105, align 8
  %107 = getelementptr inbounds { i64, i64 }, ptr %17, i32 0, i32 1
  %108 = extractvalue { i64, i64 } %103, 1
  store i64 %108, ptr %107, align 8
  %109 = invoke { i64, i64 } @_ZNK4U128coEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %110 unwind label %135

110:                                              ; preds = %104
  %111 = getelementptr inbounds { i64, i64 }, ptr %16, i32 0, i32 0
  %112 = extractvalue { i64, i64 } %109, 0
  store i64 %112, ptr %111, align 8
  %113 = getelementptr inbounds { i64, i64 }, ptr %16, i32 0, i32 1
  %114 = extractvalue { i64, i64 } %109, 1
  store i64 %114, ptr %113, align 8
  %115 = invoke { i64, i64 } @_ZNK4U128plEj(ptr noundef nonnull align 8 dereferenceable(16) %16, i32 noundef 1)
          to label %116 unwind label %135

116:                                              ; preds = %110
  %117 = getelementptr inbounds { i64, i64 }, ptr %102, i32 0, i32 0
  %118 = extractvalue { i64, i64 } %115, 0
  store i64 %118, ptr %117, align 8
  %119 = getelementptr inbounds { i64, i64 }, ptr %102, i32 0, i32 1
  %120 = extractvalue { i64, i64 } %115, 1
  store i64 %120, ptr %119, align 8
  invoke void @_ZN3AST7Pattern5Value12make_IntegerENS1_12Data_IntegerE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, ptr noundef byval(%"struct.AST::Pattern::Value::Data_Integer") align 8 %15)
          to label %121 unwind label %135

121:                                              ; preds = %116
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %419

122:                                              ; preds = %89
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %7, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %8, align 4
  br label %130

126:                                              ; preds = %93, %91
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %7, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %13) #8
  br label %130

130:                                              ; preds = %126, %122
  call void @llvm.lifetime.end.p0(i64 88, ptr %13) #8
  br label %420

131:                                              ; preds = %97
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %7, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %8, align 4
  br label %139

135:                                              ; preds = %116, %110, %104, %99
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %7, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  br label %139

139:                                              ; preds = %135, %131
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %420

140:                                              ; preds = %95
  %141 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %142 unwind label %77

142:                                              ; preds = %140
  %143 = icmp eq i32 %141, 18
  br i1 %143, label %144, label %157

144:                                              ; preds = %142
  %145 = getelementptr inbounds %"struct.AST::Pattern::Value::Data_Float", ptr %18, i32 0, i32 0
  %146 = invoke noundef i32 @_ZNK5Token8datatypeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %147 unwind label %77

147:                                              ; preds = %144
  store i32 %146, ptr %145, align 8, !tbaa !15
  %148 = getelementptr inbounds %"struct.AST::Pattern::Value::Data_Float", ptr %18, i32 0, i32 1
  %149 = invoke noundef double @_ZNK5Token8floatvalEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %150 unwind label %77

150:                                              ; preds = %147
  %151 = fneg double %149
  store double %151, ptr %148, align 8, !tbaa !18
  %152 = getelementptr inbounds { i32, double }, ptr %18, i32 0, i32 0
  %153 = load i32, ptr %152, align 8
  %154 = getelementptr inbounds { i32, double }, ptr %18, i32 0, i32 1
  %155 = load double, ptr %154, align 8
  invoke void @_ZN3AST7Pattern5Value10make_FloatENS1_10Data_FloatE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, i32 %153, double %155)
          to label %156 unwind label %77

156:                                              ; preds = %150
  store i32 1, ptr %12, align 4
  br label %419

157:                                              ; preds = %142
  store i1 true, ptr %23, align 1
  %158 = call ptr @__cxa_allocate_exception(i64 96) #8
  %159 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  store i32 16, ptr %21, align 4, !tbaa !19
  %160 = getelementptr inbounds i32, ptr %21, i64 1
  store i32 18, ptr %160, align 4, !tbaa !19
  %161 = getelementptr inbounds %"class.std::initializer_list", ptr %20, i32 0, i32 0
  store ptr %21, ptr %161, align 8, !tbaa !21
  %162 = getelementptr inbounds %"class.std::initializer_list", ptr %20, i32 0, i32 1
  store i64 2, ptr %162, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #8
  call void @_ZNSaI10eTokenTypeEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  %163 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 0
  %164 = load ptr, ptr %163, align 8
  %165 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 1
  %166 = load i64, ptr %165, align 8
  invoke void @_ZNSt6vectorI10eTokenTypeSaIS0_EEC2ESt16initializer_listIS0_ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr %164, i64 %166, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %167 unwind label %169

167:                                              ; preds = %157
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenSt6vectorI10eTokenTypeSaIS8_EE(ptr noundef nonnull align 8 dereferenceable(96) %158, ptr noundef nonnull align 8 dereferenceable(176) %159, ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef %19)
          to label %168 unwind label %173

168:                                              ; preds = %167
  store i1 false, ptr %23, align 1
  invoke void @__cxa_throw(ptr %158, ptr @_ZTIN10ParseError10UnexpectedE, ptr @_ZN10ParseError10UnexpectedD1Ev) #9
          to label %427 unwind label %173

169:                                              ; preds = %157
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %7, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %8, align 4
  br label %177

173:                                              ; preds = %168, %167
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %7, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %8, align 4
  call void @_ZNSt6vectorI10eTokenTypeSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  br label %177

177:                                              ; preds = %173, %169
  call void @_ZNSt15__new_allocatorI10eTokenTypeED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  %178 = load i1, ptr %23, align 1
  br i1 %178, label %179, label %180

179:                                              ; preds = %177
  call void @__cxa_free_exception(ptr %158) #8
  br label %180

180:                                              ; preds = %179, %177
  br label %420

181:                                              ; preds = %56
  %182 = getelementptr inbounds %"struct.AST::Pattern::Value::Data_Float", ptr %24, i32 0, i32 0
  %183 = invoke noundef i32 @_ZNK5Token8datatypeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %184 unwind label %77

184:                                              ; preds = %181
  store i32 %183, ptr %182, align 8, !tbaa !15
  %185 = getelementptr inbounds %"struct.AST::Pattern::Value::Data_Float", ptr %24, i32 0, i32 1
  %186 = invoke noundef double @_ZNK5Token8floatvalEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %187 unwind label %77

187:                                              ; preds = %184
  store double %186, ptr %185, align 8, !tbaa !18
  %188 = getelementptr inbounds { i32, double }, ptr %24, i32 0, i32 0
  %189 = load i32, ptr %188, align 8
  %190 = getelementptr inbounds { i32, double }, ptr %24, i32 0, i32 1
  %191 = load double, ptr %190, align 8
  invoke void @_ZN3AST7Pattern5Value10make_FloatENS1_10Data_FloatE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, i32 %189, double %191)
          to label %192 unwind label %77

192:                                              ; preds = %187
  store i32 1, ptr %12, align 4
  br label %419

193:                                              ; preds = %56
  %194 = getelementptr inbounds %"struct.AST::Pattern::Value::Data_Integer", ptr %25, i32 0, i32 0
  %195 = invoke noundef i32 @_ZNK5Token8datatypeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %196 unwind label %77

196:                                              ; preds = %193
  store i32 %195, ptr %194, align 8, !tbaa !11
  %197 = getelementptr inbounds %"struct.AST::Pattern::Value::Data_Integer", ptr %25, i32 0, i32 1
  %198 = invoke { i64, i64 } @_ZNK5Token6intvalEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %199 unwind label %77

199:                                              ; preds = %196
  %200 = getelementptr inbounds { i64, i64 }, ptr %197, i32 0, i32 0
  %201 = extractvalue { i64, i64 } %198, 0
  store i64 %201, ptr %200, align 8
  %202 = getelementptr inbounds { i64, i64 }, ptr %197, i32 0, i32 1
  %203 = extractvalue { i64, i64 } %198, 1
  store i64 %203, ptr %202, align 8
  invoke void @_ZN3AST7Pattern5Value12make_IntegerENS1_12Data_IntegerE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, ptr noundef byval(%"struct.AST::Pattern::Value::Data_Integer") align 8 %25)
          to label %204 unwind label %77

204:                                              ; preds = %199
  store i32 1, ptr %12, align 4
  br label %419

205:                                              ; preds = %56
  %206 = getelementptr inbounds %"struct.AST::Pattern::Value::Data_Integer", ptr %26, i32 0, i32 0
  store i32 2, ptr %206, align 8, !tbaa !11
  %207 = getelementptr inbounds %"struct.AST::Pattern::Value::Data_Integer", ptr %26, i32 0, i32 1
  invoke void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %207, i64 noundef 1, i64 noundef 0)
          to label %208 unwind label %77

208:                                              ; preds = %205
  invoke void @_ZN3AST7Pattern5Value12make_IntegerENS1_12Data_IntegerE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, ptr noundef byval(%"struct.AST::Pattern::Value::Data_Integer") align 8 %26)
          to label %209 unwind label %77

209:                                              ; preds = %208
  store i32 1, ptr %12, align 4
  br label %419

210:                                              ; preds = %56
  %211 = getelementptr inbounds %"struct.AST::Pattern::Value::Data_Integer", ptr %27, i32 0, i32 0
  store i32 2, ptr %211, align 8, !tbaa !11
  %212 = getelementptr inbounds %"struct.AST::Pattern::Value::Data_Integer", ptr %27, i32 0, i32 1
  invoke void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %212, i64 noundef 0, i64 noundef 0)
          to label %213 unwind label %77

213:                                              ; preds = %210
  invoke void @_ZN3AST7Pattern5Value12make_IntegerENS1_12Data_IntegerE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, ptr noundef byval(%"struct.AST::Pattern::Value::Data_Integer") align 8 %27)
          to label %214 unwind label %77

214:                                              ; preds = %213
  store i32 1, ptr %12, align 4
  br label %419

215:                                              ; preds = %56
  %216 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5Token3strB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %217 unwind label %77

217:                                              ; preds = %215
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(32) %216) #8
  invoke void @_ZN3AST7Pattern5Value11make_StringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, ptr noundef %28)
          to label %218 unwind label %219

218:                                              ; preds = %217
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #8
  store i32 1, ptr %12, align 4
  br label %419

219:                                              ; preds = %217
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %7, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #8
  br label %420

223:                                              ; preds = %56
  %224 = getelementptr inbounds %"struct.AST::Pattern::Value::Data_ByteString", ptr %29, i32 0, i32 0
  %225 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5Token3strB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %226 unwind label %77

226:                                              ; preds = %223
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(32) %224, ptr noundef nonnull align 8 dereferenceable(32) %225) #8
  invoke void @_ZN3AST7Pattern5Value15make_ByteStringENS1_15Data_ByteStringE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, ptr noundef %29)
          to label %227 unwind label %228

227:                                              ; preds = %226
  call void @_ZN3AST7Pattern5Value15Data_ByteStringD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #8
  store i32 1, ptr %12, align 4
  br label %419

228:                                              ; preds = %226
  %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 @_ZN3AST7Pattern5Value15Data_ByteStringD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #8
  br label %420

232:                                              ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  invoke void @_ZN5Token14take_frag_nodeEv(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.75") align 8 %30, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %233 unwind label %238

233:                                              ; preds = %232
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %234 = call noundef ptr @_ZNKSt10unique_ptrIN3AST8ExprNodeESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  %235 = icmp eq ptr %234, null
  br i1 %235, label %242, label %236

236:                                              ; preds = %233
  %237 = call ptr @__dynamic_cast(ptr %234, ptr @_ZTIN3AST8ExprNodeE, ptr @_ZTIN3AST15ExprNode_StringE, i64 0) #8
  br label %243

238:                                              ; preds = %232
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %7, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %8, align 4
  br label %408

242:                                              ; preds = %233
  br label %243

243:                                              ; preds = %242, %236
  %244 = phi ptr [ %237, %236 ], [ null, %242 ]
  store ptr %244, ptr %31, align 8, !tbaa !5
  %245 = load ptr, ptr %31, align 8, !tbaa !5
  %246 = icmp ne ptr %245, null
  br i1 %246, label %247, label %255

247:                                              ; preds = %243
  %248 = load ptr, ptr %31, align 8, !tbaa !5
  %249 = getelementptr inbounds %"struct.AST::ExprNode_String", ptr %248, i32 0, i32 1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 8 dereferenceable(32) %249) #8
  invoke void @_ZN3AST7Pattern5Value11make_StringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, ptr noundef %32)
          to label %250 unwind label %251

250:                                              ; preds = %247
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #8
  store i32 1, ptr %12, align 4
  br label %401

251:                                              ; preds = %247
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %7, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #8
  br label %407

255:                                              ; preds = %243
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %256 = call noundef ptr @_ZNKSt10unique_ptrIN3AST8ExprNodeESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  %257 = icmp eq ptr %256, null
  br i1 %257, label %260, label %258

258:                                              ; preds = %255
  %259 = call ptr @__dynamic_cast(ptr %256, ptr @_ZTIN3AST8ExprNodeE, ptr @_ZTIN3AST19ExprNode_ByteStringE, i64 0) #8
  br label %261

260:                                              ; preds = %255
  br label %261

261:                                              ; preds = %260, %258
  %262 = phi ptr [ %259, %258 ], [ null, %260 ]
  store ptr %262, ptr %33, align 8, !tbaa !5
  %263 = load ptr, ptr %33, align 8, !tbaa !5
  %264 = icmp ne ptr %263, null
  br i1 %264, label %265, label %274

265:                                              ; preds = %261
  %266 = getelementptr inbounds %"struct.AST::Pattern::Value::Data_ByteString", ptr %34, i32 0, i32 0
  %267 = load ptr, ptr %33, align 8, !tbaa !5
  %268 = getelementptr inbounds %"struct.AST::ExprNode_ByteString", ptr %267, i32 0, i32 1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(32) %266, ptr noundef nonnull align 8 dereferenceable(32) %268) #8
  invoke void @_ZN3AST7Pattern5Value15make_ByteStringENS1_15Data_ByteStringE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, ptr noundef %34)
          to label %269 unwind label %270

269:                                              ; preds = %265
  call void @_ZN3AST7Pattern5Value15Data_ByteStringD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #8
  store i32 1, ptr %12, align 4
  br label %396

270:                                              ; preds = %265
  %271 = landingpad { ptr, i32 }
          cleanup
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %7, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %8, align 4
  call void @_ZN3AST7Pattern5Value15Data_ByteStringD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #8
  br label %399

274:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %275 = call noundef ptr @_ZNKSt10unique_ptrIN3AST8ExprNodeESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  %276 = icmp eq ptr %275, null
  br i1 %276, label %279, label %277

277:                                              ; preds = %274
  %278 = call ptr @__dynamic_cast(ptr %275, ptr @_ZTIN3AST8ExprNodeE, ptr @_ZTIN3AST13ExprNode_BoolE, i64 0) #8
  br label %280

279:                                              ; preds = %274
  br label %280

280:                                              ; preds = %279, %277
  %281 = phi ptr [ %278, %277 ], [ null, %279 ]
  store ptr %281, ptr %35, align 8, !tbaa !5
  %282 = load ptr, ptr %35, align 8, !tbaa !5
  %283 = icmp ne ptr %282, null
  br i1 %283, label %284, label %300

284:                                              ; preds = %280
  %285 = getelementptr inbounds %"struct.AST::Pattern::Value::Data_Integer", ptr %36, i32 0, i32 0
  store i32 2, ptr %285, align 8, !tbaa !11
  %286 = getelementptr inbounds %"struct.AST::Pattern::Value::Data_Integer", ptr %36, i32 0, i32 1
  %287 = load ptr, ptr %35, align 8, !tbaa !5
  %288 = getelementptr inbounds %"struct.AST::ExprNode_Bool", ptr %287, i32 0, i32 1
  %289 = load i8, ptr %288, align 8, !tbaa !24, !range !34, !noundef !35
  %290 = trunc i8 %289 to i1
  %291 = zext i1 %290 to i64
  %292 = select i1 %290, i32 1, i32 0
  %293 = sext i32 %292 to i64
  invoke void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %286, i64 noundef %293, i64 noundef 0)
          to label %294 unwind label %296

294:                                              ; preds = %284
  invoke void @_ZN3AST7Pattern5Value12make_IntegerENS1_12Data_IntegerE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, ptr noundef byval(%"struct.AST::Pattern::Value::Data_Integer") align 8 %36)
          to label %295 unwind label %296

295:                                              ; preds = %294
  store i32 1, ptr %12, align 4
  br label %391

296:                                              ; preds = %294, %284
  %297 = landingpad { ptr, i32 }
          cleanup
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %7, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %8, align 4
  br label %394

300:                                              ; preds = %280
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %301 = call noundef ptr @_ZNKSt10unique_ptrIN3AST8ExprNodeESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  %302 = icmp eq ptr %301, null
  br i1 %302, label %305, label %303

303:                                              ; preds = %300
  %304 = call ptr @__dynamic_cast(ptr %301, ptr @_ZTIN3AST8ExprNodeE, ptr @_ZTIN3AST16ExprNode_IntegerE, i64 0) #8
  br label %306

305:                                              ; preds = %300
  br label %306

306:                                              ; preds = %305, %303
  %307 = phi ptr [ %304, %303 ], [ null, %305 ]
  store ptr %307, ptr %37, align 8, !tbaa !5
  %308 = load ptr, ptr %37, align 8, !tbaa !5
  %309 = icmp ne ptr %308, null
  br i1 %309, label %310, label %323

310:                                              ; preds = %306
  %311 = getelementptr inbounds %"struct.AST::Pattern::Value::Data_Integer", ptr %38, i32 0, i32 0
  %312 = load ptr, ptr %37, align 8, !tbaa !5
  %313 = getelementptr inbounds %"struct.AST::ExprNode_Integer", ptr %312, i32 0, i32 1
  %314 = load i32, ptr %313, align 8, !tbaa !36
  store i32 %314, ptr %311, align 8, !tbaa !11
  %315 = getelementptr inbounds %"struct.AST::Pattern::Value::Data_Integer", ptr %38, i32 0, i32 1
  %316 = load ptr, ptr %37, align 8, !tbaa !5
  %317 = getelementptr inbounds %"struct.AST::ExprNode_Integer", ptr %316, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %315, ptr align 8 %317, i64 16, i1 false), !tbaa.struct !38
  invoke void @_ZN3AST7Pattern5Value12make_IntegerENS1_12Data_IntegerE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, ptr noundef byval(%"struct.AST::Pattern::Value::Data_Integer") align 8 %38)
          to label %318 unwind label %319

318:                                              ; preds = %310
  store i32 1, ptr %12, align 4
  br label %386

319:                                              ; preds = %310
  %320 = landingpad { ptr, i32 }
          cleanup
  %321 = extractvalue { ptr, i32 } %320, 0
  store ptr %321, ptr %7, align 8
  %322 = extractvalue { ptr, i32 } %320, 1
  store i32 %322, ptr %8, align 4
  br label %389

323:                                              ; preds = %306
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %324 = call noundef ptr @_ZNKSt10unique_ptrIN3AST8ExprNodeESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  %325 = icmp eq ptr %324, null
  br i1 %325, label %328, label %326

326:                                              ; preds = %323
  %327 = call ptr @__dynamic_cast(ptr %324, ptr @_ZTIN3AST8ExprNodeE, ptr @_ZTIN3AST14ExprNode_FloatE, i64 0) #8
  br label %329

328:                                              ; preds = %323
  br label %329

329:                                              ; preds = %328, %326
  %330 = phi ptr [ %327, %326 ], [ null, %328 ]
  store ptr %330, ptr %39, align 8, !tbaa !5
  %331 = load ptr, ptr %39, align 8, !tbaa !5
  %332 = icmp ne ptr %331, null
  br i1 %332, label %333, label %351

333:                                              ; preds = %329
  %334 = getelementptr inbounds %"struct.AST::Pattern::Value::Data_Float", ptr %40, i32 0, i32 0
  %335 = load ptr, ptr %39, align 8, !tbaa !5
  %336 = getelementptr inbounds %"struct.AST::ExprNode_Float", ptr %335, i32 0, i32 1
  %337 = load i32, ptr %336, align 8, !tbaa !40
  store i32 %337, ptr %334, align 8, !tbaa !15
  %338 = getelementptr inbounds %"struct.AST::Pattern::Value::Data_Float", ptr %40, i32 0, i32 1
  %339 = load ptr, ptr %39, align 8, !tbaa !5
  %340 = getelementptr inbounds %"struct.AST::ExprNode_Float", ptr %339, i32 0, i32 2
  %341 = load double, ptr %340, align 8, !tbaa !42
  store double %341, ptr %338, align 8, !tbaa !18
  %342 = getelementptr inbounds { i32, double }, ptr %40, i32 0, i32 0
  %343 = load i32, ptr %342, align 8
  %344 = getelementptr inbounds { i32, double }, ptr %40, i32 0, i32 1
  %345 = load double, ptr %344, align 8
  invoke void @_ZN3AST7Pattern5Value10make_FloatENS1_10Data_FloatE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, i32 %343, double %345)
          to label %346 unwind label %347

346:                                              ; preds = %333
  store i32 1, ptr %12, align 4
  br label %381

347:                                              ; preds = %333
  %348 = landingpad { ptr, i32 }
          cleanup
  %349 = extractvalue { ptr, i32 } %348, 0
  store ptr %349, ptr %7, align 8
  %350 = extractvalue { ptr, i32 } %348, 1
  store i32 %350, ptr %8, align 4
  br label %384

351:                                              ; preds = %329
  br label %352

352:                                              ; preds = %351
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  store ptr @__func__._Z18Parse_PatternValueR11TokenStream, ptr %41, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #8
  %353 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZNK11TokenStream10point_spanEv(ptr dead_on_unwind writable sret(%struct.Span) align 8 %42, ptr noundef nonnull align 8 dereferenceable(176) %353)
          to label %354 unwind label %360

354:                                              ; preds = %352
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #8
  %355 = getelementptr inbounds %class.anon, ptr %44, i32 0, i32 0
  store ptr %41, ptr %355, align 8, !tbaa !5
  %356 = getelementptr inbounds %class.anon, ptr %44, i32 0, i32 1
  store ptr %30, ptr %356, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ18Parse_PatternValueR11TokenStreamE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(16) %44) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef %43)
          to label %357 unwind label %364

357:                                              ; preds = %354
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  %358 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %358, ptr noundef @.str.8)
          to label %359 unwind label %369

359:                                              ; preds = %357
  invoke void @__cxa_throw(ptr %358, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %427 unwind label %373

360:                                              ; preds = %352
  %361 = landingpad { ptr, i32 }
          cleanup
  %362 = extractvalue { ptr, i32 } %361, 0
  store ptr %362, ptr %7, align 8
  %363 = extractvalue { ptr, i32 } %361, 1
  store i32 %363, ptr %8, align 4
  br label %368

364:                                              ; preds = %354
  %365 = landingpad { ptr, i32 }
          cleanup
  %366 = extractvalue { ptr, i32 } %365, 0
  store ptr %366, ptr %7, align 8
  %367 = extractvalue { ptr, i32 } %365, 1
  store i32 %367, ptr %8, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #8
  br label %368

368:                                              ; preds = %364, %360
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  br label %377

369:                                              ; preds = %357
  %370 = landingpad { ptr, i32 }
          cleanup
  %371 = extractvalue { ptr, i32 } %370, 0
  store ptr %371, ptr %7, align 8
  %372 = extractvalue { ptr, i32 } %370, 1
  store i32 %372, ptr %8, align 4
  call void @__cxa_free_exception(ptr %358) #8
  br label %377

373:                                              ; preds = %359
  %374 = landingpad { ptr, i32 }
          cleanup
  %375 = extractvalue { ptr, i32 } %374, 0
  store ptr %375, ptr %7, align 8
  %376 = extractvalue { ptr, i32 } %374, 1
  store i32 %376, ptr %8, align 4
  br label %377

377:                                              ; preds = %373, %369, %368
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  br label %384

378:                                              ; No predecessors!
  br label %379

379:                                              ; preds = %378
  br label %380

380:                                              ; preds = %379
  store i32 0, ptr %12, align 4
  br label %381

381:                                              ; preds = %380, %346
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  %382 = load i32, ptr %12, align 4
  switch i32 %382, label %386 [
    i32 0, label %383
  ]

383:                                              ; preds = %381
  br label %385

384:                                              ; preds = %377, %347
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  br label %389

385:                                              ; preds = %383
  store i32 0, ptr %12, align 4
  br label %386

386:                                              ; preds = %385, %381, %318
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  %387 = load i32, ptr %12, align 4
  switch i32 %387, label %391 [
    i32 0, label %388
  ]

388:                                              ; preds = %386
  br label %390

389:                                              ; preds = %384, %319
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %394

390:                                              ; preds = %388
  store i32 0, ptr %12, align 4
  br label %391

391:                                              ; preds = %390, %386, %295
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  %392 = load i32, ptr %12, align 4
  switch i32 %392, label %396 [
    i32 0, label %393
  ]

393:                                              ; preds = %391
  br label %395

394:                                              ; preds = %389, %296
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  br label %399

395:                                              ; preds = %393
  store i32 0, ptr %12, align 4
  br label %396

396:                                              ; preds = %395, %391, %269
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  %397 = load i32, ptr %12, align 4
  switch i32 %397, label %401 [
    i32 0, label %398
  ]

398:                                              ; preds = %396
  br label %400

399:                                              ; preds = %394, %270
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %407

400:                                              ; preds = %398
  store i32 0, ptr %12, align 4
  br label %401

401:                                              ; preds = %400, %396, %250
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  %402 = load i32, ptr %12, align 4
  switch i32 %402, label %404 [
    i32 0, label %403
  ]

403:                                              ; preds = %401
  store i32 0, ptr %12, align 4
  br label %404

404:                                              ; preds = %403, %401
  call void @_ZNSt10unique_ptrIN3AST8ExprNodeESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  %405 = load i32, ptr %12, align 4
  switch i32 %405, label %419 [
    i32 0, label %406
  ]

406:                                              ; preds = %404
  br label %418

407:                                              ; preds = %399, %251
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @_ZNSt10unique_ptrIN3AST8ExprNodeESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  br label %408

408:                                              ; preds = %407, %238
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  br label %420

409:                                              ; preds = %56
  %410 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %45, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %411 unwind label %77

411:                                              ; preds = %409
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %410, ptr noundef %45)
          to label %412 unwind label %414

412:                                              ; preds = %411
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %45) #8
  invoke void @_ZN3AST7Pattern5Value12make_InvalidENS1_12Data_InvalidE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0)
          to label %413 unwind label %77

413:                                              ; preds = %412
  store i32 1, ptr %12, align 4
  br label %419

414:                                              ; preds = %411
  %415 = landingpad { ptr, i32 }
          cleanup
  %416 = extractvalue { ptr, i32 } %415, 0
  store ptr %416, ptr %7, align 8
  %417 = extractvalue { ptr, i32 } %415, 1
  store i32 %417, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %45) #8
  br label %420

418:                                              ; preds = %406
  unreachable

419:                                              ; preds = %413, %404, %227, %218, %214, %209, %204, %192, %156, %121, %76
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %6) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %5) #8
  ret void

420:                                              ; preds = %414, %408, %228, %219, %180, %139, %130, %85, %81, %77, %69
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #8
  br label %421

421:                                              ; preds = %420, %57
  call void @llvm.lifetime.end.p0(i64 88, ptr %6) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %5) #8
  br label %422

422:                                              ; preds = %421
  %423 = load ptr, ptr %7, align 8
  %424 = load i32, ptr %8, align 4
  %425 = insertvalue { ptr, i32 } poison, ptr %423, 0
  %426 = insertvalue { ptr, i32 } %425, i32 %424, 1
  resume { ptr, i32 } %426

427:                                              ; preds = %359, %168
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST7Pattern5Value10make_NamedENS_4PathE(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern::Value") align 8, ptr noundef) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST7Pattern5Value12make_IntegerENS1_12Data_IntegerE(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern::Value") align 8, ptr noundef byval(%"struct.AST::Pattern::Value::Data_Integer") align 8) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { i64, i64 } @_ZNK5Token6intvalEv(ptr noundef nonnull align 8 dereferenceable(88)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i64 } @_ZNK4U128coEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i64 } @_ZNK4U128plEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST7Pattern5Value10make_FloatENS1_10Data_FloatE(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern::Value") align 8, i32, double) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK5Token8floatvalEv(ptr noundef nonnull align 8 dereferenceable(88)) #4 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 #3 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 #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST7Pattern5Value11make_StringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern::Value") align 8, ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN5Token3strB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(88)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST7Pattern5Value15make_ByteStringENS1_15Data_ByteStringE(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern::Value") align 8, ptr noundef) #3 align 2

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

declare void @_ZN5Token14take_frag_nodeEv(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.75") align 8, ptr noundef nonnull align 8 dereferenceable(88)) #1

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

; Function Attrs: nounwind willreturn memory(read)
declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) #6

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #7

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST7Pattern5Value12make_InvalidENS1_12Data_InvalidE(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern::Value") align 8) #3 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #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 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 #6 = { nounwind willreturn memory(read) }
attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { nounwind }
attributes #9 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTS9eCoreType", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTSN3AST7Pattern5Value12Data_IntegerE", !10, i64 0, !13, i64 8}
!13 = !{!"_ZTS4U128", !14, i64 0, !14, i64 8}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !10, i64 0}
!16 = !{!"_ZTSN3AST7Pattern5Value10Data_FloatE", !10, i64 0, !17, i64 8}
!17 = !{!"double", !7, i64 0}
!18 = !{!16, !17, i64 8}
!19 = !{!20, !20, i64 0}
!20 = !{!"_ZTS10eTokenType", !7, i64 0}
!21 = !{!22, !6, i64 0}
!22 = !{!"_ZTSSt16initializer_listI10eTokenTypeE", !6, i64 0, !14, i64 8}
!23 = !{!22, !14, i64 8}
!24 = !{!25, !33, i64 40}
!25 = !{!"_ZTSN3AST13ExprNode_BoolE", !26, i64 0, !33, i64 40}
!26 = !{!"_ZTSN3AST8ExprNodeE", !27, i64 8, !32, i64 32}
!27 = !{!"_ZTSN3AST13AttributeListE", !28, i64 0}
!28 = !{!"_ZTSSt6vectorIN3AST9AttributeESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIN3AST9AttributeESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN3AST9AttributeESaIS1_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN3AST9AttributeESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!"_ZTS4Span", !6, i64 0}
!33 = !{!"bool", !7, i64 0}
!34 = !{i8 0, i8 2}
!35 = !{}
!36 = !{!37, !10, i64 40}
!37 = !{!"_ZTSN3AST16ExprNode_IntegerE", !26, i64 0, !10, i64 40, !13, i64 48}
!38 = !{i64 0, i64 8, !39, i64 8, i64 8, !39}
!39 = !{!14, !14, i64 0}
!40 = !{!41, !10, i64 40}
!41 = !{!"_ZTSN3AST14ExprNode_FloatE", !26, i64 0, !10, i64 40, !17, i64 48}
!42 = !{!41, !17, i64 48}


; 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.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::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.26", %"class.std::unique_ptr.34", %"class.std::vector.21" }
%"class.std::unique_ptr.26" = type { %"struct.std::__uniq_ptr_data.27" }
%"struct.std::__uniq_ptr_data.27" = type { %"class.std::__uniq_ptr_impl.28" }
%"class.std::__uniq_ptr_impl.28" = type { %"class.std::tuple.29" }
%"class.std::tuple.29" = type { %"struct.std::_Tuple_impl.30" }
%"struct.std::_Tuple_impl.30" = type { %"struct.std::_Head_base.33" }
%"struct.std::_Head_base.33" = type { ptr }
%"class.std::unique_ptr.34" = type { %"struct.std::__uniq_ptr_data.35" }
%"struct.std::__uniq_ptr_data.35" = type { %"class.std::__uniq_ptr_impl.36" }
%"class.std::__uniq_ptr_impl.36" = type { %"class.std::tuple.37" }
%"class.std::tuple.37" = type { %"struct.std::_Tuple_impl.38" }
%"struct.std::_Tuple_impl.38" = type { %"struct.std::_Head_base.41" }
%"struct.std::_Head_base.41" = type { ptr }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = 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.47", %"struct.AST::PathBinding.48" }
%"struct.AST::PathBinding" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Value" }
%"struct.AST::AbsolutePath" = type { %class.RcString, %"class.std::vector.42" }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = 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.47" = 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.48" = 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.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 } }
%"struct.AST::Pattern::Value::Data_Integer" = type { i32, %class.U128 }
%class.U128 = type { i64, i64 }
%"class.std::vector.70" = type { %"struct.std::_Vector_base.71" }
%"struct.std::_Vector_base.71" = 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.72" = type { i8 }
%"struct.AST::Pattern::Value::Data_ByteString" = type { %"class.std::__cxx11::basic_string" }
%"class.std::unique_ptr.75" = type { %"struct.std::__uniq_ptr_data.76" }
%"struct.std::__uniq_ptr_data.76" = type { %"class.std::__uniq_ptr_impl.77" }
%"class.std::__uniq_ptr_impl.77" = type { %"class.std::tuple.78" }
%"class.std::tuple.78" = type { %"struct.std::_Tuple_impl.79" }
%"struct.std::_Tuple_impl.79" = type { %"struct.std::_Head_base.82" }
%"struct.std::_Head_base.82" = type { ptr }
%class.anon = type { ptr, ptr }

@_ZTIN10ParseError10UnexpectedE = external constant ptr
@__func__._Z18Parse_PatternValueR11TokenStream = external hidden unnamed_addr constant [19 x i8], align 1
@_ZTIN3AST8ExprNodeE = external dso_local constant { ptr, ptr }, align 8
@_ZTIN3AST15ExprNode_StringE = external constant ptr
@_ZTIN3AST19ExprNode_ByteStringE = external constant ptr
@_ZTIN3AST13ExprNode_BoolE = external constant ptr
@_ZTIN3AST16ExprNode_IntegerE = external constant ptr
@_ZTIN3AST14ExprNode_FloatE = external constant ptr
@.str.8 = external hidden unnamed_addr constant [24 x i8], align 1
@_ZTISt13runtime_error = external constant ptr

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #1

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

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

; 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 #3 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 @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240)) unnamed_addr #2

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z18Parse_PatternValueR11TokenStream(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern::Value") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %1) local_unnamed_addr #3 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.AST::Path", align 8
  %8 = alloca %class.Token, align 8
  %9 = alloca %"struct.AST::Pattern::Value::Data_Integer", align 8
  %10 = alloca %class.U128, align 8
  %11 = alloca %class.U128, align 8
  %12 = alloca %"class.std::vector.70", align 8
  %13 = alloca [2 x i32], align 4
  %14 = alloca %"class.std::allocator.72", align 1
  %15 = alloca %"struct.AST::Pattern::Value::Data_Integer", align 8
  %16 = alloca %"struct.AST::Pattern::Value::Data_Integer", align 8
  %17 = alloca %"struct.AST::Pattern::Value::Data_Integer", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"struct.AST::Pattern::Value::Data_ByteString", align 8
  %20 = alloca %"class.std::unique_ptr.75", align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"struct.AST::Pattern::Value::Data_ByteString", align 8
  %23 = alloca %"struct.AST::Pattern::Value::Data_Integer", align 8
  %24 = alloca %"struct.AST::Pattern::Value::Data_Integer", align 8
  %25 = alloca ptr, align 8
  %26 = alloca %struct.Span, align 8
  %27 = alloca %"class.std::function", align 8
  %28 = alloca %class.anon, align 8
  %29 = alloca %class.Token, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #8
  %30 = tail call noundef zeroext i1 @_Z13debug_enabledv()
  %31 = select i1 %30, ptr @__func__._Z18Parse_PatternValueR11TokenStream, ptr null
  call void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef %31)
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %4) #8
  invoke void @_ZN5TokenC1Ev(ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %32 unwind label %37

32:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %5) #8
  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 %33 unwind label %39

33:                                               ; preds = %32
  %34 = 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 %35 unwind label %41

35:                                               ; preds = %33
  %36 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %34)
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %5) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %5) #8
  switch i32 %36, label %210 [
    i32 83, label %44
    i32 111, label %44
    i32 112, label %44
    i32 14, label %44
    i32 27, label %44
    i32 64, label %44
    i32 5, label %44
    i32 34, label %44
    i32 42, label %55
    i32 18, label %106
    i32 16, label %112
    i32 110, label %120
    i32 109, label %122
    i32 19, label %125
    i32 20, label %131
    i32 8, label %137
  ]

37:                                               ; preds = %2
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %217

39:                                               ; preds = %32
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %43

41:                                               ; preds = %33
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %5) #8
  br label %43

43:                                               ; preds = %41, %39
  %.pn = phi { ptr, i32 } [ %42, %41 ], [ %40, %39 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %5) #8
  br label %216

44:                                               ; preds = %35, %35, %35, %35, %35, %35, %35, %35
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %45 unwind label %49

45:                                               ; preds = %44
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %6)
          to label %46 unwind label %51

46:                                               ; preds = %45
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #8
  invoke void @_Z10Parse_PathR11TokenStream21eParsePathGenericMode(ptr dead_on_unwind nonnull writable sret(%"class.AST::Path") align 8 %7, ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 1)
          to label %47 unwind label %49

47:                                               ; preds = %46
  invoke void @_ZN3AST7Pattern5Value10make_NamedENS_4PathE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, ptr noundef nonnull %7)
          to label %48 unwind label %53

48:                                               ; preds = %47
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %7) #8
  br label %215

49:                                               ; preds = %.invoke115, %.invoke, %212, %210, %131, %125, %112, %106, %92, %46, %44
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %216

51:                                               ; preds = %45
  %52 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #8
  br label %216

53:                                               ; preds = %47
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %7) #8
  br label %216

55:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %8) #8
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %8, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %56 unwind label %80

56:                                               ; preds = %55
  %57 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %8)
          to label %58 unwind label %82

58:                                               ; preds = %56
  %59 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %57)
  %60 = icmp eq i32 %59, 16
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %8) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %8) #8
  br i1 %60, label %61, label %89

61:                                               ; preds = %58
  %62 = invoke noundef i32 @_ZNK5Token8datatypeEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %63 unwind label %85

63:                                               ; preds = %61
  store i32 %62, ptr %9, align 8, !tbaa !5
  %64 = getelementptr inbounds i8, ptr %9, i64 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #8
  %65 = call { i64, i64 } @_ZNK5Token6intvalEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
  %66 = extractvalue { i64, i64 } %65, 0
  store i64 %66, ptr %11, align 8
  %67 = getelementptr inbounds i8, ptr %11, i64 8
  %68 = extractvalue { i64, i64 } %65, 1
  store i64 %68, ptr %67, align 8
  %69 = invoke { i64, i64 } @_ZNK4U128coEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %70 unwind label %87

70:                                               ; preds = %63
  %71 = extractvalue { i64, i64 } %69, 0
  store i64 %71, ptr %10, align 8
  %72 = getelementptr inbounds i8, ptr %10, i64 8
  %73 = extractvalue { i64, i64 } %69, 1
  store i64 %73, ptr %72, align 8
  %74 = invoke { i64, i64 } @_ZNK4U128plEj(ptr noundef nonnull align 8 dereferenceable(16) %10, i32 noundef 1)
          to label %75 unwind label %87

75:                                               ; preds = %70
  %76 = extractvalue { i64, i64 } %74, 0
  store i64 %76, ptr %64, align 8
  %77 = getelementptr inbounds i8, ptr %9, i64 16
  %78 = extractvalue { i64, i64 } %74, 1
  store i64 %78, ptr %77, align 8
  invoke void @_ZN3AST7Pattern5Value12make_IntegerENS1_12Data_IntegerE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, ptr noundef nonnull byval(%"struct.AST::Pattern::Value::Data_Integer") align 8 %9)
          to label %79 unwind label %87

79:                                               ; preds = %75
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  br label %215

80:                                               ; preds = %55
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %84

82:                                               ; preds = %56
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %8) #8
  br label %84

84:                                               ; preds = %82, %80
  %.pn93 = phi { ptr, i32 } [ %83, %82 ], [ %81, %80 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %8) #8
  br label %216

85:                                               ; preds = %61
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %216

87:                                               ; preds = %75, %70, %63
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  br label %216

89:                                               ; preds = %58
  %90 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
  %91 = icmp eq i32 %90, 18
  br i1 %91, label %92, label %97

92:                                               ; preds = %89
  %93 = invoke noundef i32 @_ZNK5Token8datatypeEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %94 unwind label %49

94:                                               ; preds = %92
  %95 = call noundef double @_ZNK5Token8floatvalEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
  %96 = fneg double %95
  br label %.invoke115

97:                                               ; preds = %89
  %98 = call ptr @__cxa_allocate_exception(i64 96) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  store i32 16, ptr %13, align 4, !tbaa !12
  %99 = getelementptr inbounds i8, ptr %13, i64 4
  store i32 18, ptr %99, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #8
  call void @_ZNSaI10eTokenTypeEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  invoke void @_ZNSt6vectorI10eTokenTypeSaIS0_EEC2ESt16initializer_listIS0_ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr nonnull %13, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %100 unwind label %.thread

100:                                              ; preds = %97
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenSt6vectorI10eTokenTypeSaIS8_EE(ptr noundef nonnull align 8 dereferenceable(96) %98, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull %12)
          to label %101 unwind label %103

101:                                              ; preds = %100
  invoke void @__cxa_throw(ptr nonnull %98, ptr nonnull @_ZTIN10ParseError10UnexpectedE, ptr nonnull @_ZN10ParseError10UnexpectedD1Ev) #9
          to label %218 unwind label %103

.thread:                                          ; preds = %97
  %102 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI10eTokenTypeED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  br label %105

103:                                              ; preds = %100, %101
  %.061 = phi i1 [ false, %101 ], [ true, %100 ]
  %104 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorI10eTokenTypeSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  call void @_ZNSt15__new_allocatorI10eTokenTypeED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  br i1 %.061, label %105, label %216

105:                                              ; preds = %.thread, %103
  %.pn95104 = phi { ptr, i32 } [ %102, %.thread ], [ %104, %103 ]
  call void @__cxa_free_exception(ptr %98) #8
  br label %216

106:                                              ; preds = %35
  %107 = invoke noundef i32 @_ZNK5Token8datatypeEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %108 unwind label %49

108:                                              ; preds = %106
  %109 = call noundef double @_ZNK5Token8floatvalEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
  br label %.invoke115

.invoke115:                                       ; preds = %94, %108
  %110 = phi i32 [ %107, %108 ], [ %93, %94 ]
  %111 = phi double [ %109, %108 ], [ %96, %94 ]
  invoke void @_ZN3AST7Pattern5Value10make_FloatENS1_10Data_FloatE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, i32 %110, double %111)
          to label %215 unwind label %49

112:                                              ; preds = %35
  %113 = invoke noundef i32 @_ZNK5Token8datatypeEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %114 unwind label %49

114:                                              ; preds = %112
  store i32 %113, ptr %15, align 8, !tbaa !5
  %115 = getelementptr inbounds i8, ptr %15, i64 8
  %116 = call { i64, i64 } @_ZNK5Token6intvalEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
  %117 = extractvalue { i64, i64 } %116, 0
  store i64 %117, ptr %115, align 8
  %118 = getelementptr inbounds i8, ptr %15, i64 16
  %119 = extractvalue { i64, i64 } %116, 1
  store i64 %119, ptr %118, align 8
  br label %.invoke

120:                                              ; preds = %35
  store i32 2, ptr %16, align 8, !tbaa !5
  %121 = getelementptr inbounds i8, ptr %16, i64 8
  call void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %121, i64 noundef 1, i64 noundef 0)
  br label %.invoke

122:                                              ; preds = %35
  store i32 2, ptr %17, align 8, !tbaa !5
  %123 = getelementptr inbounds i8, ptr %17, i64 8
  call void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %123, i64 noundef 0, i64 noundef 0)
  br label %.invoke

.invoke:                                          ; preds = %114, %120, %122
  %124 = phi ptr [ %17, %122 ], [ %16, %120 ], [ %15, %114 ]
  invoke void @_ZN3AST7Pattern5Value12make_IntegerENS1_12Data_IntegerE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, ptr noundef nonnull byval(%"struct.AST::Pattern::Value::Data_Integer") align 8 %124)
          to label %215 unwind label %49

125:                                              ; preds = %35
  %126 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5Token3strB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %127 unwind label %49

127:                                              ; preds = %125
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %126) #8
  invoke void @_ZN3AST7Pattern5Value11make_StringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, ptr noundef nonnull %18)
          to label %128 unwind label %129

128:                                              ; preds = %127
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  br label %215

129:                                              ; preds = %127
  %130 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  br label %216

131:                                              ; preds = %35
  %132 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5Token3strB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %133 unwind label %49

133:                                              ; preds = %131
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %132) #8
  invoke void @_ZN3AST7Pattern5Value15make_ByteStringENS1_15Data_ByteStringE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, ptr noundef nonnull %19)
          to label %134 unwind label %135

134:                                              ; preds = %133
  call void @_ZN3AST7Pattern5Value15Data_ByteStringD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  br label %215

135:                                              ; preds = %133
  %136 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST7Pattern5Value15Data_ByteStringD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  br label %216

137:                                              ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #8
  invoke void @_ZN5Token14take_frag_nodeEv(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr.75") align 8 %20, ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %138 unwind label %141

138:                                              ; preds = %137
  %139 = call noundef ptr @_ZNKSt10unique_ptrIN3AST8ExprNodeESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  %140 = icmp eq ptr %139, null
  br i1 %140, label %.thread105, label %143

141:                                              ; preds = %137
  %142 = landingpad { ptr, i32 }
          cleanup
  br label %209

143:                                              ; preds = %138
  %144 = call ptr @__dynamic_cast(ptr nonnull %139, ptr nonnull @_ZTIN3AST8ExprNodeE, ptr nonnull @_ZTIN3AST15ExprNode_StringE, i64 0) #8
  %.not = icmp eq ptr %144, null
  br i1 %.not, label %.thread105, label %145

145:                                              ; preds = %143
  %146 = getelementptr inbounds i8, ptr %144, i64 40
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %146) #8
  invoke void @_ZN3AST7Pattern5Value11make_StringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, ptr noundef nonnull %21)
          to label %147 unwind label %148

147:                                              ; preds = %145
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  br label %207

148:                                              ; preds = %145
  %149 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  br label %208

.thread105:                                       ; preds = %138, %143
  %150 = call noundef ptr @_ZNKSt10unique_ptrIN3AST8ExprNodeESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  %151 = icmp eq ptr %150, null
  br i1 %151, label %.thread107, label %152

152:                                              ; preds = %.thread105
  %153 = call ptr @__dynamic_cast(ptr nonnull %150, ptr nonnull @_ZTIN3AST8ExprNodeE, ptr nonnull @_ZTIN3AST19ExprNode_ByteStringE, i64 0) #8
  %.not74 = icmp eq ptr %153, null
  br i1 %.not74, label %.thread107, label %154

154:                                              ; preds = %152
  %155 = getelementptr inbounds i8, ptr %153, i64 40
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %155) #8
  invoke void @_ZN3AST7Pattern5Value15make_ByteStringENS1_15Data_ByteStringE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, ptr noundef nonnull %22)
          to label %156 unwind label %157

156:                                              ; preds = %154
  call void @_ZN3AST7Pattern5Value15Data_ByteStringD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  br label %207

157:                                              ; preds = %154
  %158 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST7Pattern5Value15Data_ByteStringD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  br label %208

.thread107:                                       ; preds = %.thread105, %152
  %159 = call noundef ptr @_ZNKSt10unique_ptrIN3AST8ExprNodeESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  %160 = icmp eq ptr %159, null
  br i1 %160, label %.thread109, label %161

161:                                              ; preds = %.thread107
  %162 = call ptr @__dynamic_cast(ptr nonnull %159, ptr nonnull @_ZTIN3AST8ExprNodeE, ptr nonnull @_ZTIN3AST13ExprNode_BoolE, i64 0) #8
  %.not75 = icmp eq ptr %162, null
  br i1 %.not75, label %.thread109, label %163

163:                                              ; preds = %161
  store i32 2, ptr %23, align 8, !tbaa !5
  %164 = getelementptr inbounds i8, ptr %23, i64 8
  %165 = getelementptr inbounds i8, ptr %162, i64 40
  %166 = load i8, ptr %165, align 8, !tbaa !14, !range !25, !noundef !26
  %167 = zext nneg i8 %166 to i64
  call void @_ZN4U128C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %164, i64 noundef %167, i64 noundef 0)
  invoke void @_ZN3AST7Pattern5Value12make_IntegerENS1_12Data_IntegerE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, ptr noundef nonnull byval(%"struct.AST::Pattern::Value::Data_Integer") align 8 %23)
          to label %207 unwind label %168

168:                                              ; preds = %163
  %169 = landingpad { ptr, i32 }
          cleanup
  br label %208

.thread109:                                       ; preds = %.thread107, %161
  %170 = call noundef ptr @_ZNKSt10unique_ptrIN3AST8ExprNodeESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  %171 = icmp eq ptr %170, null
  br i1 %171, label %.thread111, label %172

172:                                              ; preds = %.thread109
  %173 = call ptr @__dynamic_cast(ptr nonnull %170, ptr nonnull @_ZTIN3AST8ExprNodeE, ptr nonnull @_ZTIN3AST16ExprNode_IntegerE, i64 0) #8
  %.not76 = icmp eq ptr %173, null
  br i1 %.not76, label %.thread111, label %174

174:                                              ; preds = %172
  %175 = getelementptr inbounds i8, ptr %173, i64 40
  %176 = load i32, ptr %175, align 8, !tbaa !27
  store i32 %176, ptr %24, align 8, !tbaa !5
  %177 = getelementptr inbounds i8, ptr %24, i64 8
  %178 = getelementptr inbounds i8, ptr %173, i64 48
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %177, ptr noundef nonnull align 8 dereferenceable(16) %178, i64 16, i1 false), !tbaa.struct !29
  invoke void @_ZN3AST7Pattern5Value12make_IntegerENS1_12Data_IntegerE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, ptr noundef nonnull byval(%"struct.AST::Pattern::Value::Data_Integer") align 8 %24)
          to label %207 unwind label %179

179:                                              ; preds = %174
  %180 = landingpad { ptr, i32 }
          cleanup
  br label %208

.thread111:                                       ; preds = %.thread109, %172
  %181 = call noundef ptr @_ZNKSt10unique_ptrIN3AST8ExprNodeESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  %182 = icmp eq ptr %181, null
  br i1 %182, label %.thread113, label %183

183:                                              ; preds = %.thread111
  %184 = call ptr @__dynamic_cast(ptr nonnull %181, ptr nonnull @_ZTIN3AST8ExprNodeE, ptr nonnull @_ZTIN3AST14ExprNode_FloatE, i64 0) #8
  %.not77 = icmp eq ptr %184, null
  br i1 %.not77, label %.thread113, label %185

185:                                              ; preds = %183
  %186 = getelementptr inbounds i8, ptr %184, i64 40
  %187 = load i32, ptr %186, align 8, !tbaa !31
  %188 = getelementptr inbounds i8, ptr %184, i64 48
  %189 = load double, ptr %188, align 8, !tbaa !34
  invoke void @_ZN3AST7Pattern5Value10make_FloatENS1_10Data_FloatE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0, i32 %187, double %189)
          to label %207 unwind label %190

190:                                              ; preds = %185
  %191 = landingpad { ptr, i32 }
          cleanup
  br label %208

.thread113:                                       ; preds = %.thread111, %183
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #8
  store ptr @__func__._Z18Parse_PatternValueR11TokenStream, ptr %25, align 8, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #8
  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 %192 unwind label %197

192:                                              ; preds = %.thread113
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #8
  store ptr %25, ptr %28, align 8, !tbaa !35
  %193 = getelementptr inbounds i8, ptr %28, i64 8
  store ptr %20, ptr %193, align 8, !tbaa !35
  call void @"_ZNSt8functionIFvRSoEEC2IZ18Parse_PatternValueR11TokenStreamE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(16) %28) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull %27)
          to label %194 unwind label %199

194:                                              ; preds = %192
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  %195 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %195, ptr noundef nonnull @.str.8)
          to label %196 unwind label %202

196:                                              ; preds = %194
  invoke void @__cxa_throw(ptr nonnull %195, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %218 unwind label %204

197:                                              ; preds = %.thread113
  %198 = landingpad { ptr, i32 }
          cleanup
  br label %201

199:                                              ; preds = %192
  %200 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  br label %201

201:                                              ; preds = %199, %197
  %.pn78 = phi { ptr, i32 } [ %200, %199 ], [ %198, %197 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  br label %206

202:                                              ; preds = %194
  %203 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %195) #8
  br label %206

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

206:                                              ; preds = %204, %202, %201
  %.pn80 = phi { ptr, i32 } [ %205, %204 ], [ %203, %202 ], [ %.pn78, %201 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #8
  br label %208

207:                                              ; preds = %156, %174, %185, %163, %147
  call void @_ZNSt10unique_ptrIN3AST8ExprNodeESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  br label %215

208:                                              ; preds = %157, %179, %206, %190, %168, %148
  %.pn90 = phi { ptr, i32 } [ %149, %148 ], [ %158, %157 ], [ %169, %168 ], [ %180, %179 ], [ %191, %190 ], [ %.pn80, %206 ]
  call void @_ZNSt10unique_ptrIN3AST8ExprNodeESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  br label %209

209:                                              ; preds = %208, %141
  %.pn90.pn = phi { ptr, i32 } [ %.pn90, %208 ], [ %142, %141 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  br label %216

210:                                              ; preds = %35
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %29, ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %211 unwind label %49

211:                                              ; preds = %210
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %29)
          to label %212 unwind label %213

212:                                              ; preds = %211
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %29) #8
  invoke void @_ZN3AST7Pattern5Value12make_InvalidENS1_12Data_InvalidE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %0)
          to label %215 unwind label %49

213:                                              ; preds = %211
  %214 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %29) #8
  br label %216

215:                                              ; preds = %.invoke115, %.invoke, %212, %207, %134, %128, %79, %48
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %4) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %4) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #8
  ret void

216:                                              ; preds = %85, %87, %103, %105, %213, %209, %135, %129, %84, %53, %51, %49, %43
  %.pn99 = phi { ptr, i32 } [ %50, %49 ], [ %214, %213 ], [ %.pn90.pn, %209 ], [ %136, %135 ], [ %130, %129 ], [ %.pn95104, %105 ], [ %104, %103 ], [ %.pn93, %84 ], [ %54, %53 ], [ %52, %51 ], [ %.pn, %43 ], [ %88, %87 ], [ %86, %85 ]
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %4) #8
  br label %217

217:                                              ; preds = %216, %37
  %.pn99.pn = phi { ptr, i32 } [ %.pn99, %216 ], [ %38, %37 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %4) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn99.pn

218:                                              ; preds = %196, %101
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST7Pattern5Value10make_NamedENS_4PathE(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern::Value") align 8, ptr noundef) local_unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST7Pattern5Value12make_IntegerENS1_12Data_IntegerE(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern::Value") align 8, ptr noundef byval(%"struct.AST::Pattern::Value::Data_Integer") align 8) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { i64, i64 } @_ZNK5Token6intvalEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i64 } @_ZNK4U128coEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i64 } @_ZNK4U128plEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST7Pattern5Value10make_FloatENS1_10Data_FloatE(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern::Value") align 8, i32, double) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK5Token8floatvalEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #4 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 #3 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 #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST7Pattern5Value11make_StringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern::Value") align 8, ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN5Token3strB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST7Pattern5Value15make_ByteStringENS1_15Data_ByteStringE(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern::Value") align 8, ptr noundef) local_unnamed_addr #3 align 2

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

declare void @_ZN5Token14take_frag_nodeEv(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.75") align 8, ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #1

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) local_unnamed_addr #6

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #7

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST7Pattern5Value12make_InvalidENS1_12Data_InvalidE(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern::Value") align 8) local_unnamed_addr #3 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #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 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 #6 = { mustprogress nofree nounwind willreturn memory(read) }
attributes #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { nounwind }
attributes #9 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSN3AST7Pattern5Value12Data_IntegerE", !7, i64 0, !10, i64 8}
!7 = !{!"_ZTS9eCoreType", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS4U128", !11, i64 0, !11, i64 8}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"_ZTS10eTokenType", !8, i64 0}
!14 = !{!15, !24, i64 40}
!15 = !{!"_ZTSN3AST13ExprNode_BoolE", !16, i64 0, !24, i64 40}
!16 = !{!"_ZTSN3AST8ExprNodeE", !17, i64 8, !23, i64 32}
!17 = !{!"_ZTSN3AST13AttributeListE", !18, i64 0}
!18 = !{!"_ZTSSt6vectorIN3AST9AttributeESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIN3AST9AttributeESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN3AST9AttributeESaIS1_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN3AST9AttributeESaIS1_EE17_Vector_impl_dataE", !22, i64 0, !22, i64 8, !22, i64 16}
!22 = !{!"any pointer", !8, i64 0}
!23 = !{!"_ZTS4Span", !22, i64 0}
!24 = !{!"bool", !8, i64 0}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!28, !7, i64 40}
!28 = !{!"_ZTSN3AST16ExprNode_IntegerE", !16, i64 0, !7, i64 40, !10, i64 48}
!29 = !{i64 0, i64 8, !30, i64 8, i64 8, !30}
!30 = !{!11, !11, i64 0}
!31 = !{!32, !7, i64 40}
!32 = !{!"_ZTSN3AST14ExprNode_FloatE", !16, i64 0, !7, i64 40, !33, i64 48}
!33 = !{!"double", !8, i64 0}
!34 = !{!32, !33, i64 48}
!35 = !{!22, !22, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass,TailCallElimPass