; LLVM IR from Aeternum-Veritas/Merry :: legacy/MerryAssembler/src/parser.ll (ZN5merry9front_end6Parser13get_next_nodeEv)

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

%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<std::pair<merry::front_end::AstNodeInst, std::__cxx11::basic_string<char>>, std::allocator<std::pair<merry::front_end::AstNodeInst, std::__cxx11::basic_string<char>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<merry::front_end::AstNodeInst, std::__cxx11::basic_string<char>>, std::allocator<std::pair<merry::front_end::AstNodeInst, std::__cxx11::basic_string<char>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<merry::front_end::AstNodeInst, std::__cxx11::basic_string<char>>, std::allocator<std::pair<merry::front_end::AstNodeInst, std::__cxx11::basic_string<char>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<merry::front_end::AstNodeInst, std::__cxx11::basic_string<char>>, std::allocator<std::pair<merry::front_end::AstNodeInst, std::__cxx11::basic_string<char>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::variant" = type { %"struct.std::__detail::__variant::_Variant_base.base", [7 x i8] }
%"struct.std::__detail::__variant::_Variant_base.base" = type { %"struct.std::__detail::__variant::_Move_assign_base.base" }
%"struct.std::__detail::__variant::_Move_assign_base.base" = type { %"struct.std::__detail::__variant::_Copy_assign_base.base" }
%"struct.std::__detail::__variant::_Copy_assign_base.base" = type { %"struct.std::__detail::__variant::_Move_ctor_base.base" }
%"struct.std::__detail::__variant::_Move_ctor_base.base" = type { %"struct.std::__detail::__variant::_Copy_ctor_base.base" }
%"struct.std::__detail::__variant::_Copy_ctor_base.base" = type { %"struct.std::__detail::__variant::_Variant_storage.base" }
%"struct.std::__detail::__variant::_Variant_storage.base" = type { %"union.std::__detail::__variant::_Variadic_union", i8 }
%"union.std::__detail::__variant::_Variadic_union" = type { %"struct.std::__detail::__variant::_Uninitialized" }
%"struct.std::__detail::__variant::_Uninitialized" = type { %"struct.__gnu_cxx::__aligned_membuf" }
%"struct.__gnu_cxx::__aligned_membuf" = type { [40 x i8] }
%"class.merry::front_end::Token" = type { %"class.merry::core::Loc", i32, %"class.std::__cxx11::basic_string" }
%"class.merry::core::Loc" = type { i64, i64, %"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.merry::front_end::AstNodeLabel" = type { %"class.std::__cxx11::basic_string", i64 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.std::pair" = type { %"class.merry::front_end::AstNodeInst", %"class.std::__cxx11::basic_string" }
%"class.merry::front_end::AstNodeInst" = type <{ i32, [4 x i8], %"class.std::vector.12", i8, [7 x i8] }>
%"class.__gnu_cxx::__normal_iterator.18" = type { ptr }
%"class.std::allocator.4" = type { i8 }
%"class.merry::front_end::Parser" = type { %"class.merry::front_end::Lexer" }
%"class.merry::front_end::Lexer" = type <{ %"class.merry::core::Loc", %"class.std::__cxx11::basic_string", i64, i8, [7 x i8] }>

@.str = external hidden unnamed_addr constant [14 x i8], align 1
@_Z12instructionsB5cxx11 = external dso_local global %"class.std::vector.7", align 8
@_Z14insts_with_opsB5cxx11 = external dso_local global %"class.std::vector.12", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.15 = external hidden unnamed_addr constant [20 x i8], align 1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5merry9front_end6Parser13get_next_nodeEv(ptr dead_on_unwind noalias writable sret(%"class.std::variant") align 8 %0, ptr noundef nonnull align 8 dereferenceable(96) %1) #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.merry::front_end::Token", align 8
  %6 = alloca %"class.merry::front_end::Token", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.merry::front_end::Token", align 8
  %11 = alloca %"class.merry::front_end::AstNodeLabel", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca %"struct.std::pair", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %23 = alloca %"class.merry::front_end::Token", align 8
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.merry::front_end::Token", align 8
  %26 = alloca %"class.merry::front_end::Token", align 8
  %27 = alloca %"class.merry::front_end::Token", align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.merry::front_end::Token", align 8
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.std::allocator.4", align 1
  %33 = alloca %"class.merry::front_end::AstNodeLabel", align 8
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %35 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 88, ptr %5) #7
  %36 = getelementptr inbounds %"class.merry::front_end::Parser", ptr %35, i32 0, i32 0
  call void @_ZN5merry9front_end5Lexer10next_tokenEv(ptr dead_on_unwind writable sret(%"class.merry::front_end::Token") align 8 %5, ptr noundef nonnull align 8 dereferenceable(89) %36)
  call void @llvm.lifetime.start.p0(i64 88, ptr %6) #7
  %37 = getelementptr inbounds %"class.merry::front_end::Parser", ptr %35, i32 0, i32 0
  invoke void @_ZN5merry9front_end5Lexer4peekEv(ptr dead_on_unwind writable sret(%"class.merry::front_end::Token") align 8 %6, ptr noundef nonnull align 8 dereferenceable(89) %37)
          to label %38 unwind label %49

38:                                               ; preds = %2
  %39 = invoke noundef i32 @_ZN5merry9front_end5Token8get_typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %40 unwind label %53

40:                                               ; preds = %38
  %41 = icmp eq i32 %39, 58
  call void @_ZN5merry9front_end5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %6) #7
  br i1 %41, label %42, label %77

42:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #7
  invoke void @_ZN5merry9front_end5Token8get_dataB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %9, ptr noundef nonnull align 8 dereferenceable(88) %5)
          to label %43 unwind label %58

43:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 88, ptr %10) #7
  %44 = getelementptr inbounds %"class.merry::front_end::Parser", ptr %35, i32 0, i32 0
  invoke void @_ZN5merry9front_end5Lexer10next_tokenEv(ptr dead_on_unwind writable sret(%"class.merry::front_end::Token") align 8 %10, ptr noundef nonnull align 8 dereferenceable(89) %44)
          to label %45 unwind label %62

45:                                               ; preds = %43
  %46 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN5merry9front_end5TokenaSEOS1_(ptr noundef nonnull align 8 dereferenceable(88) %5, ptr noundef nonnull align 8 dereferenceable(88) %10) #7
  call void @_ZN5merry9front_end5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %10) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr %11) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %47 unwind label %66

47:                                               ; preds = %45
  invoke void @_ZN5merry9front_end12AstNodeLabelC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(40) %11, ptr noundef %12)
          to label %48 unwind label %70

48:                                               ; preds = %47
  call void @_ZNSt7variantIJN5merry9front_end11AstNodeInstENS1_12AstNodeLabelEEEC2IS3_vvS3_vEEOT_(ptr noundef nonnull align 8 dereferenceable(41) %0, ptr noundef nonnull align 8 dereferenceable(40) %11) #7
  call void @_ZN5merry9front_end12AstNodeLabelD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #7
  store i32 1, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #7
  br label %242

49:                                               ; preds = %2
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %7, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %8, align 4
  br label %57

53:                                               ; preds = %38
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %7, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %8, align 4
  call void @_ZN5merry9front_end5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #7
  br label %57

57:                                               ; preds = %53, %49
  call void @llvm.lifetime.end.p0(i64 88, ptr %6) #7
  br label %243

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

62:                                               ; preds = %43
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %7, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 88, ptr %10) #7
  br label %75

66:                                               ; preds = %45
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %7, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %8, align 4
  br label %74

70:                                               ; preds = %47
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %7, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  br label %74

74:                                               ; preds = %70, %66
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #7
  br label %75

75:                                               ; preds = %74, %62
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  br label %76

76:                                               ; preds = %75, %58
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #7
  br label %243

77:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  store ptr @_Z12instructionsB5cxx11, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %78 = call ptr @_ZNSt6vectorISt4pairIN5merry9front_end11AstNodeInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaISA_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @_Z12instructionsB5cxx11) #7
  %79 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %78, ptr %79, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %80 = call ptr @_ZNSt6vectorISt4pairIN5merry9front_end11AstNodeInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaISA_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @_Z12instructionsB5cxx11) #7
  %81 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %80, ptr %81, align 8
  br label %82

82:                                               ; preds = %206, %77
  %83 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIN5merry9front_end11AstNodeInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt6vectorISB_SaISB_EEEEbRKNS_17__normal_iteratorIT_T0_EESL_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  br i1 %83, label %85, label %84

84:                                               ; preds = %82
  store i32 2, ptr %13, align 4
  br label %210

85:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 72, ptr %17) #7
  %86 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIN5merry9front_end11AstNodeInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt6vectorISB_SaISB_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  invoke void @_ZNSt4pairIN5merry9front_end11AstNodeInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(72) %17, ptr noundef nonnull align 8 dereferenceable(72) %86)
          to label %87 unwind label %110

87:                                               ; preds = %85
  %88 = getelementptr inbounds %"struct.std::pair", ptr %17, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #7
  invoke void @_ZN5merry9front_end5Token8get_dataB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %18, ptr noundef nonnull align 8 dereferenceable(88) %5)
          to label %89 unwind label %114

89:                                               ; preds = %87
  %90 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %88, ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #7
  br i1 %90, label %91, label %202

91:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %92 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @_Z14insts_with_opsB5cxx11) #7
  %93 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %20, i32 0, i32 0
  store ptr %92, ptr %93, align 8
  %94 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @_Z14insts_with_opsB5cxx11) #7
  %95 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %21, i32 0, i32 0
  store ptr %94, ptr %95, align 8
  %96 = getelementptr inbounds %"struct.std::pair", ptr %17, i32 0, i32 1
  %97 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %20, i32 0, i32 0
  %98 = load ptr, ptr %97, align 8
  %99 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %21, i32 0, i32 0
  %100 = load ptr, ptr %99, align 8
  %101 = invoke ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS7_SaIS7_EEEES7_ET_SD_SD_RKT0_(ptr %98, ptr %100, ptr noundef nonnull align 8 dereferenceable(32) %96)
          to label %102 unwind label %118

102:                                              ; preds = %91
  %103 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %19, i32 0, i32 0
  store ptr %101, ptr %103, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %104 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @_Z14insts_with_opsB5cxx11) #7
  %105 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %22, i32 0, i32 0
  store ptr %104, ptr %105, align 8
  %106 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br i1 %106, label %107, label %126

107:                                              ; preds = %102
  %108 = getelementptr inbounds %"struct.std::pair", ptr %17, i32 0, i32 0
  invoke void @_ZNSt7variantIJN5merry9front_end11AstNodeInstENS1_12AstNodeLabelEEEC2IRS2_vvS2_vEEOT_(ptr noundef nonnull align 8 dereferenceable(41) %0, ptr noundef nonnull align 8 dereferenceable(33) %108)
          to label %109 unwind label %122

109:                                              ; preds = %107
  store i32 1, ptr %13, align 4
  br label %203

110:                                              ; preds = %85
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %7, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %8, align 4
  br label %209

114:                                              ; preds = %87
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %7, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #7
  br label %208

118:                                              ; preds = %91
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %7, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %208

122:                                              ; preds = %199, %138, %128, %107
  %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 %208

126:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 88, ptr %23) #7
  %127 = getelementptr inbounds %"class.merry::front_end::Parser", ptr %35, i32 0, i32 0
  invoke void @_ZN5merry9front_end5Lexer10next_tokenEv(ptr dead_on_unwind writable sret(%"class.merry::front_end::Token") align 8 %23, ptr noundef nonnull align 8 dereferenceable(89) %127)
          to label %128 unwind label %151

128:                                              ; preds = %126
  %129 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN5merry9front_end5TokenaSEOS1_(ptr noundef nonnull align 8 dereferenceable(88) %5, ptr noundef nonnull align 8 dereferenceable(88) %23) #7
  call void @_ZN5merry9front_end5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %23) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %23) #7
  %130 = getelementptr inbounds %"struct.std::pair", ptr %17, i32 0, i32 0
  invoke void @_ZN5merry9front_end5Token8get_dataB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %24, ptr noundef nonnull align 8 dereferenceable(88) %5)
          to label %131 unwind label %122

131:                                              ; preds = %128
  invoke void @_ZN5merry9front_end11AstNodeInst11add_operandENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(33) %130, ptr noundef %24)
          to label %132 unwind label %155

132:                                              ; preds = %131
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  call void @llvm.lifetime.start.p0(i64 88, ptr %25) #7
  %133 = getelementptr inbounds %"class.merry::front_end::Parser", ptr %35, i32 0, i32 0
  invoke void @_ZN5merry9front_end5Lexer4peekEv(ptr dead_on_unwind writable sret(%"class.merry::front_end::Token") align 8 %25, ptr noundef nonnull align 8 dereferenceable(89) %133)
          to label %134 unwind label %159

134:                                              ; preds = %132
  %135 = invoke noundef i32 @_ZN5merry9front_end5Token8get_typeEv(ptr noundef nonnull align 8 dereferenceable(88) %25)
          to label %136 unwind label %163

136:                                              ; preds = %134
  %137 = icmp eq i32 %135, 44
  call void @_ZN5merry9front_end5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %25) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %25) #7
  br i1 %137, label %138, label %199

138:                                              ; preds = %136
  %139 = getelementptr inbounds %"class.merry::front_end::Parser", ptr %35, i32 0, i32 0
  invoke void @_ZN5merry9front_end5Lexer10next_tokenEv(ptr dead_on_unwind writable sret(%"class.merry::front_end::Token") align 8 %26, ptr noundef nonnull align 8 dereferenceable(89) %139)
          to label %140 unwind label %122

140:                                              ; preds = %138
  call void @_ZN5merry9front_end5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %26) #7
  call void @llvm.lifetime.start.p0(i64 88, ptr %27) #7
  %141 = getelementptr inbounds %"class.merry::front_end::Parser", ptr %35, i32 0, i32 0
  invoke void @_ZN5merry9front_end5Lexer10next_tokenEv(ptr dead_on_unwind writable sret(%"class.merry::front_end::Token") align 8 %27, ptr noundef nonnull align 8 dereferenceable(89) %141)
          to label %142 unwind label %168

142:                                              ; preds = %140
  %143 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN5merry9front_end5TokenaSEOS1_(ptr noundef nonnull align 8 dereferenceable(88) %5, ptr noundef nonnull align 8 dereferenceable(88) %27) #7
  call void @_ZN5merry9front_end5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %27) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %27) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #7
  invoke void @_ZN5merry9front_end5Token8get_dataB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %28, ptr noundef nonnull align 8 dereferenceable(88) %5)
          to label %144 unwind label %172

144:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 88, ptr %29) #7
  %145 = getelementptr inbounds %"class.merry::front_end::Parser", ptr %35, i32 0, i32 0
  invoke void @_ZN5merry9front_end5Lexer4peekEv(ptr dead_on_unwind writable sret(%"class.merry::front_end::Token") align 8 %29, ptr noundef nonnull align 8 dereferenceable(89) %145)
          to label %146 unwind label %176

146:                                              ; preds = %144
  %147 = invoke noundef i32 @_ZN5merry9front_end5Token8get_typeEv(ptr noundef nonnull align 8 dereferenceable(88) %29)
          to label %148 unwind label %180

148:                                              ; preds = %146
  %149 = icmp eq i32 %147, 0
  call void @_ZN5merry9front_end5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %29) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %29) #7
  br i1 %149, label %150, label %185

150:                                              ; preds = %148
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  br label %185

151:                                              ; preds = %126
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %7, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 88, ptr %23) #7
  br label %208

155:                                              ; preds = %131
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %7, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  br label %208

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

163:                                              ; preds = %134
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %7, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %8, align 4
  call void @_ZN5merry9front_end5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %25) #7
  br label %167

167:                                              ; preds = %163, %159
  call void @llvm.lifetime.end.p0(i64 88, ptr %25) #7
  br label %208

168:                                              ; preds = %140
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %7, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 88, ptr %27) #7
  br label %208

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

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

180:                                              ; preds = %146
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %7, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %8, align 4
  call void @_ZN5merry9front_end5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %29) #7
  br label %184

184:                                              ; preds = %180, %176
  call void @llvm.lifetime.end.p0(i64 88, ptr %29) #7
  br label %197

185:                                              ; preds = %150, %148
  %186 = getelementptr inbounds %"struct.std::pair", ptr %17, i32 0, i32 0
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(32) %28)
          to label %187 unwind label %189

187:                                              ; preds = %185
  invoke void @_ZN5merry9front_end11AstNodeInst11add_operandENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(33) %186, ptr noundef %30)
          to label %188 unwind label %193

188:                                              ; preds = %187
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #7
  br label %199

189:                                              ; preds = %185
  %190 = landingpad { ptr, i32 }
          cleanup
  %191 = extractvalue { ptr, i32 } %190, 0
  store ptr %191, ptr %7, align 8
  %192 = extractvalue { ptr, i32 } %190, 1
  store i32 %192, ptr %8, align 4
  br label %197

193:                                              ; preds = %187
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %7, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #7
  br label %197

197:                                              ; preds = %193, %189, %184
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  br label %198

198:                                              ; preds = %197, %172
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #7
  br label %208

199:                                              ; preds = %188, %136
  %200 = getelementptr inbounds %"struct.std::pair", ptr %17, i32 0, i32 0
  invoke void @_ZNSt7variantIJN5merry9front_end11AstNodeInstENS1_12AstNodeLabelEEEC2IRS2_vvS2_vEEOT_(ptr noundef nonnull align 8 dereferenceable(41) %0, ptr noundef nonnull align 8 dereferenceable(33) %200)
          to label %201 unwind label %122

201:                                              ; preds = %199
  store i32 1, ptr %13, align 4
  br label %203

202:                                              ; preds = %89
  store i32 0, ptr %13, align 4
  br label %203

203:                                              ; preds = %202, %201, %109
  call void @_ZNSt4pairIN5merry9front_end11AstNodeInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(72) %17) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr %17) #7
  %204 = load i32, ptr %13, align 4
  switch i32 %204, label %210 [
    i32 0, label %205
  ]

205:                                              ; preds = %203
  br label %206

206:                                              ; preds = %205
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIN5merry9front_end11AstNodeInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt6vectorISB_SaISB_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  br label %82

208:                                              ; preds = %198, %168, %167, %155, %151, %122, %118, %114
  call void @_ZNSt4pairIN5merry9front_end11AstNodeInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(72) %17) #7
  br label %209

209:                                              ; preds = %208, %110
  call void @llvm.lifetime.end.p0(i64 72, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %243

210:                                              ; preds = %203, %84
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  %211 = load i32, ptr %13, align 4
  switch i32 %211, label %242 [
    i32 2, label %212
  ]

212:                                              ; preds = %210
  %213 = invoke noundef i32 @_ZN5merry9front_end5Token8get_typeEv(ptr noundef nonnull align 8 dereferenceable(88) %5)
          to label %214 unwind label %220

214:                                              ; preds = %212
  %215 = icmp eq i32 %213, 0
  br i1 %215, label %216, label %238

216:                                              ; preds = %214
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %217 unwind label %224

217:                                              ; preds = %216
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr %33) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(32) %31)
          to label %218 unwind label %228

218:                                              ; preds = %217
  invoke void @_ZN5merry9front_end12AstNodeLabelC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(40) %33, ptr noundef %34)
          to label %219 unwind label %232

219:                                              ; preds = %218
  call void @_ZNSt7variantIJN5merry9front_end11AstNodeInstENS1_12AstNodeLabelEEEC2IS3_vvS3_vEEOT_(ptr noundef nonnull align 8 dereferenceable(41) %0, ptr noundef nonnull align 8 dereferenceable(40) %33) #7
  call void @_ZN5merry9front_end12AstNodeLabelD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %33) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %33) #7
  store i32 1, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #7
  br label %242

220:                                              ; preds = %239, %238, %212
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %7, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %8, align 4
  br label %243

224:                                              ; preds = %216
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %7, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %8, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #7
  br label %237

228:                                              ; preds = %217
  %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
  br label %236

232:                                              ; preds = %218
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %7, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #7
  br label %236

236:                                              ; preds = %232, %228
  call void @llvm.lifetime.end.p0(i64 40, ptr %33) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #7
  br label %237

237:                                              ; preds = %236, %224
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #7
  br label %243

238:                                              ; preds = %214
  invoke void @_ZN5merry9front_end5Token5printEv(ptr noundef nonnull align 8 dereferenceable(88) %5)
          to label %239 unwind label %220

239:                                              ; preds = %238
  %240 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.15)
          to label %241 unwind label %220

241:                                              ; preds = %239
  call void @exit(i32 noundef 1) #8
  unreachable

242:                                              ; preds = %219, %210, %48
  call void @_ZN5merry9front_end5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %5) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %5) #7
  ret void

243:                                              ; preds = %237, %220, %209, %76, %57
  call void @_ZN5merry9front_end5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %5) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %5) #7
  br label %244

244:                                              ; preds = %243
  %245 = load ptr, ptr %7, align 8
  %246 = load i32, ptr %8, align 4
  %247 = insertvalue { ptr, i32 } poison, ptr %245, 0
  %248 = insertvalue { ptr, i32 } %247, i32 %246, 1
  resume { ptr, i32 } %248
}

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

declare void @_ZN5merry9front_end5Lexer10next_tokenEv(ptr dead_on_unwind writable sret(%"class.merry::front_end::Token") align 8, ptr noundef nonnull align 8 dereferenceable(89)) #4

declare void @_ZN5merry9front_end5Lexer4peekEv(ptr dead_on_unwind writable sret(%"class.merry::front_end::Token") align 8, ptr noundef nonnull align 8 dereferenceable(89)) #4

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5merry9front_end5Token8get_dataB5cxx11Ev(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(88)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZN5merry9front_end5TokenaSEOS1_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) #3 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIN5merry9front_end11AstNodeInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #1 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7variantIJN5merry9front_end11AstNodeInstENS1_12AstNodeLabelEEEC2IRS2_vvS2_vEEOT_(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(33)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5merry9front_end11AstNodeInst11add_operandENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef) #1 align 2

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

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

declare void @_ZN5merry9front_end5Token5printEv(ptr noundef nonnull align 8 dereferenceable(88)) #4

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #6

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

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

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<std::pair<merry::front_end::AstNodeInst, std::__cxx11::basic_string<char>>, std::allocator<std::pair<merry::front_end::AstNodeInst, std::__cxx11::basic_string<char>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<merry::front_end::AstNodeInst, std::__cxx11::basic_string<char>>, std::allocator<std::pair<merry::front_end::AstNodeInst, std::__cxx11::basic_string<char>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<merry::front_end::AstNodeInst, std::__cxx11::basic_string<char>>, std::allocator<std::pair<merry::front_end::AstNodeInst, std::__cxx11::basic_string<char>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<merry::front_end::AstNodeInst, std::__cxx11::basic_string<char>>, std::allocator<std::pair<merry::front_end::AstNodeInst, std::__cxx11::basic_string<char>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::variant" = type { %"struct.std::__detail::__variant::_Variant_base.base", [7 x i8] }
%"struct.std::__detail::__variant::_Variant_base.base" = type { %"struct.std::__detail::__variant::_Move_assign_base.base" }
%"struct.std::__detail::__variant::_Move_assign_base.base" = type { %"struct.std::__detail::__variant::_Copy_assign_base.base" }
%"struct.std::__detail::__variant::_Copy_assign_base.base" = type { %"struct.std::__detail::__variant::_Move_ctor_base.base" }
%"struct.std::__detail::__variant::_Move_ctor_base.base" = type { %"struct.std::__detail::__variant::_Copy_ctor_base.base" }
%"struct.std::__detail::__variant::_Copy_ctor_base.base" = type { %"struct.std::__detail::__variant::_Variant_storage.base" }
%"struct.std::__detail::__variant::_Variant_storage.base" = type { %"union.std::__detail::__variant::_Variadic_union", i8 }
%"union.std::__detail::__variant::_Variadic_union" = type { %"struct.std::__detail::__variant::_Uninitialized" }
%"struct.std::__detail::__variant::_Uninitialized" = type { %"struct.__gnu_cxx::__aligned_membuf" }
%"struct.__gnu_cxx::__aligned_membuf" = type { [40 x i8] }
%"class.merry::front_end::Token" = type { %"class.merry::core::Loc", i32, %"class.std::__cxx11::basic_string" }
%"class.merry::core::Loc" = type { i64, i64, %"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.merry::front_end::AstNodeLabel" = type { %"class.std::__cxx11::basic_string", i64 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.std::pair" = type { %"class.merry::front_end::AstNodeInst", %"class.std::__cxx11::basic_string" }
%"class.merry::front_end::AstNodeInst" = type <{ i32, [4 x i8], %"class.std::vector.12", i8, [7 x i8] }>
%"class.__gnu_cxx::__normal_iterator.18" = type { ptr }
%"class.std::allocator.4" = type { i8 }

@.str = external hidden unnamed_addr constant [14 x i8], align 1
@_Z12instructionsB5cxx11 = external dso_local global %"class.std::vector.7", align 8
@_Z14insts_with_opsB5cxx11 = external dso_local global %"class.std::vector.12", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.15 = external hidden unnamed_addr constant [20 x i8], align 1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5merry9front_end6Parser13get_next_nodeEv(ptr dead_on_unwind noalias writable sret(%"class.std::variant") align 8 %0, ptr noundef nonnull align 8 dereferenceable(96) %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.merry::front_end::Token", align 8
  %4 = alloca %"class.merry::front_end::Token", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.merry::front_end::Token", align 8
  %7 = alloca %"class.merry::front_end::AstNodeLabel", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"struct.std::pair", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %15 = alloca %"class.merry::front_end::Token", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.merry::front_end::Token", align 8
  %18 = alloca %"class.merry::front_end::Token", align 8
  %19 = alloca %"class.merry::front_end::Token", align 8
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.merry::front_end::Token", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator.4", align 1
  %25 = alloca %"class.merry::front_end::AstNodeLabel", align 8
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %3) #7
  call void @_ZN5merry9front_end5Lexer10next_tokenEv(ptr dead_on_unwind nonnull writable sret(%"class.merry::front_end::Token") align 8 %3, ptr noundef nonnull align 8 dereferenceable(89) %1)
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %4) #7
  invoke void @_ZN5merry9front_end5Lexer4peekEv(ptr dead_on_unwind nonnull writable sret(%"class.merry::front_end::Token") align 8 %4, ptr noundef nonnull align 8 dereferenceable(89) %1)
          to label %27 unwind label %36

27:                                               ; preds = %2
  %28 = call noundef i32 @_ZN5merry9front_end5Token8get_typeEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
  %29 = icmp eq i32 %28, 58
  call void @_ZN5merry9front_end5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %4) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %4) #7
  br i1 %29, label %30, label %49

30:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #7
  invoke void @_ZN5merry9front_end5Token8get_dataB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef nonnull align 8 dereferenceable(88) %3)
          to label %31 unwind label %38

31:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %6) #7
  invoke void @_ZN5merry9front_end5Lexer10next_tokenEv(ptr dead_on_unwind nonnull writable sret(%"class.merry::front_end::Token") align 8 %6, ptr noundef nonnull align 8 dereferenceable(89) %1)
          to label %32 unwind label %40

32:                                               ; preds = %31
  %33 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN5merry9front_end5TokenaSEOS1_(ptr noundef nonnull align 8 dereferenceable(88) %3, ptr noundef nonnull align 8 dereferenceable(88) %6) #7
  call void @_ZN5merry9front_end5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %34 unwind label %42

34:                                               ; preds = %32
  invoke void @_ZN5merry9front_end12AstNodeLabelC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull %8)
          to label %35 unwind label %44

35:                                               ; preds = %34
  call void @_ZNSt7variantIJN5merry9front_end11AstNodeInstENS1_12AstNodeLabelEEEC2IS3_vvS3_vEEOT_(ptr noundef nonnull align 8 dereferenceable(41) %0, ptr noundef nonnull align 8 dereferenceable(40) %7) #7
  call void @_ZN5merry9front_end12AstNodeLabelD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  br label %138

36:                                               ; preds = %2
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %4) #7
  br label %139

38:                                               ; preds = %30
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %48

40:                                               ; preds = %31
  %41 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %6) #7
  br label %47

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

44:                                               ; preds = %34
  %45 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  br label %46

46:                                               ; preds = %44, %42
  %.pn26 = phi { ptr, i32 } [ %45, %44 ], [ %43, %42 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #7
  br label %47

47:                                               ; preds = %46, %40
  %.pn26.pn = phi { ptr, i32 } [ %.pn26, %46 ], [ %41, %40 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  br label %48

48:                                               ; preds = %47, %38
  %.pn26.pn.pn = phi { ptr, i32 } [ %.pn26.pn, %47 ], [ %39, %38 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  br label %139

49:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %50 = call ptr @_ZNSt6vectorISt4pairIN5merry9front_end11AstNodeInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaISA_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @_Z12instructionsB5cxx11) #7
  store ptr %50, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  %51 = call ptr @_ZNSt6vectorISt4pairIN5merry9front_end11AstNodeInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaISA_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @_Z12instructionsB5cxx11) #7
  store ptr %51, ptr %10, align 8
  %52 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIN5merry9front_end11AstNodeInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt6vectorISB_SaISB_EEEEbRKNS_17__normal_iteratorIT_T0_EESL_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br i1 %52, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %49
  %53 = getelementptr inbounds i8, ptr %11, i64 40
  br label %54

54:                                               ; preds = %.lr.ph, %112
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %11) #7
  %55 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIN5merry9front_end11AstNodeInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt6vectorISB_SaISB_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  invoke void @_ZNSt4pairIN5merry9front_end11AstNodeInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(72) %11, ptr noundef nonnull align 8 dereferenceable(72) %55)
          to label %56 unwind label %66

56:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #7
  invoke void @_ZN5merry9front_end5Token8get_dataB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef nonnull align 8 dereferenceable(88) %3)
          to label %57 unwind label %68

57:                                               ; preds = %56
  %58 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #7
  br i1 %58, label %59, label %112

59:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %60 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @_Z14insts_with_opsB5cxx11) #7
  %61 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @_Z14insts_with_opsB5cxx11) #7
  %62 = invoke ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS7_SaIS7_EEEES7_ET_SD_SD_RKT0_(ptr %60, ptr %61, ptr noundef nonnull align 8 dereferenceable(32) %53)
          to label %63 unwind label %70

63:                                               ; preds = %59
  store ptr %62, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %64 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @_Z14insts_with_opsB5cxx11) #7
  store ptr %64, ptr %14, align 8
  %65 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br i1 %65, label %.invoke, label %74

66:                                               ; preds = %54
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %116

68:                                               ; preds = %56
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #7
  br label %115

70:                                               ; preds = %59
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br label %115

72:                                               ; preds = %.invoke, %82, %75
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %115

74:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %15) #7
  invoke void @_ZN5merry9front_end5Lexer10next_tokenEv(ptr dead_on_unwind nonnull writable sret(%"class.merry::front_end::Token") align 8 %15, ptr noundef nonnull align 8 dereferenceable(89) %1)
          to label %75 unwind label %91

75:                                               ; preds = %74
  %76 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN5merry9front_end5TokenaSEOS1_(ptr noundef nonnull align 8 dereferenceable(88) %3, ptr noundef nonnull align 8 dereferenceable(88) %15) #7
  call void @_ZN5merry9front_end5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %15) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %15) #7
  invoke void @_ZN5merry9front_end5Token8get_dataB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %16, ptr noundef nonnull align 8 dereferenceable(88) %3)
          to label %77 unwind label %72

77:                                               ; preds = %75
  invoke void @_ZN5merry9front_end11AstNodeInst11add_operandENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(33) %11, ptr noundef nonnull %16)
          to label %78 unwind label %93

78:                                               ; preds = %77
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %17) #7
  invoke void @_ZN5merry9front_end5Lexer4peekEv(ptr dead_on_unwind nonnull writable sret(%"class.merry::front_end::Token") align 8 %17, ptr noundef nonnull align 8 dereferenceable(89) %1)
          to label %79 unwind label %95

79:                                               ; preds = %78
  %80 = call noundef i32 @_ZN5merry9front_end5Token8get_typeEv(ptr noundef nonnull align 8 dereferenceable(88) %17)
  %81 = icmp eq i32 %80, 44
  call void @_ZN5merry9front_end5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %17) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %17) #7
  br i1 %81, label %82, label %.invoke

82:                                               ; preds = %79
  invoke void @_ZN5merry9front_end5Lexer10next_tokenEv(ptr dead_on_unwind nonnull writable sret(%"class.merry::front_end::Token") align 8 %18, ptr noundef nonnull align 8 dereferenceable(89) %1)
          to label %83 unwind label %72

83:                                               ; preds = %82
  call void @_ZN5merry9front_end5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %18) #7
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %19) #7
  invoke void @_ZN5merry9front_end5Lexer10next_tokenEv(ptr dead_on_unwind nonnull writable sret(%"class.merry::front_end::Token") align 8 %19, ptr noundef nonnull align 8 dereferenceable(89) %1)
          to label %84 unwind label %97

84:                                               ; preds = %83
  %85 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN5merry9front_end5TokenaSEOS1_(ptr noundef nonnull align 8 dereferenceable(88) %3, ptr noundef nonnull align 8 dereferenceable(88) %19) #7
  call void @_ZN5merry9front_end5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %19) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #7
  invoke void @_ZN5merry9front_end5Token8get_dataB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %20, ptr noundef nonnull align 8 dereferenceable(88) %3)
          to label %86 unwind label %99

86:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %21) #7
  invoke void @_ZN5merry9front_end5Lexer4peekEv(ptr dead_on_unwind nonnull writable sret(%"class.merry::front_end::Token") align 8 %21, ptr noundef nonnull align 8 dereferenceable(89) %1)
          to label %87 unwind label %101

87:                                               ; preds = %86
  %88 = call noundef i32 @_ZN5merry9front_end5Token8get_typeEv(ptr noundef nonnull align 8 dereferenceable(88) %21)
  %89 = icmp eq i32 %88, 0
  call void @_ZN5merry9front_end5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %21) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %21) #7
  br i1 %89, label %90, label %103

90:                                               ; preds = %87
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  br label %103

91:                                               ; preds = %74
  %92 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %15) #7
  br label %115

93:                                               ; preds = %77
  %94 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  br label %115

95:                                               ; preds = %78
  %96 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %17) #7
  br label %115

97:                                               ; preds = %83
  %98 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %19) #7
  br label %115

99:                                               ; preds = %84
  %100 = landingpad { ptr, i32 }
          cleanup
  br label %111

101:                                              ; preds = %86
  %102 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %21) #7
  br label %110

103:                                              ; preds = %90, %87
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %104 unwind label %106

104:                                              ; preds = %103
  invoke void @_ZN5merry9front_end11AstNodeInst11add_operandENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(33) %11, ptr noundef nonnull %22)
          to label %105 unwind label %108

105:                                              ; preds = %104
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #7
  br label %.invoke

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

108:                                              ; preds = %104
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #7
  br label %110

110:                                              ; preds = %108, %106, %101
  %.pn = phi { ptr, i32 } [ %109, %108 ], [ %107, %106 ], [ %102, %101 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  br label %111

111:                                              ; preds = %110, %99
  %.pn.pn = phi { ptr, i32 } [ %.pn, %110 ], [ %100, %99 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #7
  br label %115

.invoke:                                          ; preds = %63, %79, %105
  invoke void @_ZNSt7variantIJN5merry9front_end11AstNodeInstENS1_12AstNodeLabelEEEC2IRS2_vvS2_vEEOT_(ptr noundef nonnull align 8 dereferenceable(41) %0, ptr noundef nonnull align 8 dereferenceable(33) %11)
          to label %117 unwind label %72

112:                                              ; preds = %57
  call void @_ZNSt4pairIN5merry9front_end11AstNodeInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(72) %11) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %11) #7
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIN5merry9front_end11AstNodeInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt6vectorISB_SaISB_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %114 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIN5merry9front_end11AstNodeInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt6vectorISB_SaISB_EEEEbRKNS_17__normal_iteratorIT_T0_EESL_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br i1 %114, label %54, label %._crit_edge

115:                                              ; preds = %111, %97, %95, %93, %91, %72, %70, %68
  %.pn20 = phi { ptr, i32 } [ %73, %72 ], [ %.pn.pn, %111 ], [ %98, %97 ], [ %96, %95 ], [ %94, %93 ], [ %92, %91 ], [ %71, %70 ], [ %69, %68 ]
  call void @_ZNSt4pairIN5merry9front_end11AstNodeInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(72) %11) #7
  br label %116

116:                                              ; preds = %115, %66
  %.pn20.pn = phi { ptr, i32 } [ %.pn20, %115 ], [ %67, %66 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br label %139

117:                                              ; preds = %.invoke
  call void @_ZNSt4pairIN5merry9front_end11AstNodeInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(72) %11) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br label %138

._crit_edge:                                      ; preds = %112, %49
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  %118 = call noundef i32 @_ZN5merry9front_end5Token8get_typeEv(ptr noundef nonnull align 8 dereferenceable(88) %3)
  %119 = icmp eq i32 %118, 0
  br i1 %119, label %120, label %134

120:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %24) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %121 unwind label %126

121:                                              ; preds = %120
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %25) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %122 unwind label %128

122:                                              ; preds = %121
  invoke void @_ZN5merry9front_end12AstNodeLabelC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(40) %25, ptr noundef nonnull %26)
          to label %123 unwind label %130

123:                                              ; preds = %122
  call void @_ZNSt7variantIJN5merry9front_end11AstNodeInstENS1_12AstNodeLabelEEEC2IS3_vvS3_vEEOT_(ptr noundef nonnull align 8 dereferenceable(41) %0, ptr noundef nonnull align 8 dereferenceable(40) %25) #7
  call void @_ZN5merry9front_end12AstNodeLabelD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %25) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %25) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #7
  br label %138

124:                                              ; preds = %135, %134
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %139

126:                                              ; preds = %120
  %127 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #7
  br label %133

128:                                              ; preds = %121
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %132

130:                                              ; preds = %122
  %131 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #7
  br label %132

132:                                              ; preds = %130, %128
  %.pn23 = phi { ptr, i32 } [ %131, %130 ], [ %129, %128 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %25) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  br label %133

133:                                              ; preds = %132, %126
  %.pn23.pn = phi { ptr, i32 } [ %.pn23, %132 ], [ %127, %126 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #7
  br label %139

134:                                              ; preds = %._crit_edge
  invoke void @_ZN5merry9front_end5Token5printEv(ptr noundef nonnull align 8 dereferenceable(88) %3)
          to label %135 unwind label %124

135:                                              ; preds = %134
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.15)
          to label %137 unwind label %124

137:                                              ; preds = %135
  call void @exit(i32 noundef 1) #8
  unreachable

138:                                              ; preds = %117, %123, %35
  call void @_ZN5merry9front_end5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %3) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %3) #7
  ret void

139:                                              ; preds = %133, %124, %116, %48, %36
  %.pn26.pn.pn.pn = phi { ptr, i32 } [ %.pn26.pn.pn, %48 ], [ %.pn23.pn, %133 ], [ %125, %124 ], [ %.pn20.pn, %116 ], [ %37, %36 ]
  call void @_ZN5merry9front_end5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %3) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn26.pn.pn.pn
}

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5merry9front_end12AstNodeLabelD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #3 align 2

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

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

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

declare void @_ZN5merry9front_end5Lexer10next_tokenEv(ptr dead_on_unwind writable sret(%"class.merry::front_end::Token") align 8, ptr noundef nonnull align 8 dereferenceable(89)) local_unnamed_addr #4

declare void @_ZN5merry9front_end5Lexer4peekEv(ptr dead_on_unwind writable sret(%"class.merry::front_end::Token") align 8, ptr noundef nonnull align 8 dereferenceable(89)) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5merry9front_end5Token8get_dataB5cxx11Ev(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZN5merry9front_end5TokenaSEOS1_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #3 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIN5merry9front_end11AstNodeInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #1 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7variantIJN5merry9front_end11AstNodeInstENS1_12AstNodeLabelEEEC2IRS2_vvS2_vEEOT_(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(33)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5merry9front_end11AstNodeInst11add_operandENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef) local_unnamed_addr #1 align 2

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

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

declare void @_ZN5merry9front_end5Token5printEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #4

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #6

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass