; LLVM IR from jzimmerman/langcc :: gen/cc (gen)

; 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"

%"struct.langcc::rc_ptr.203" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::rc_ptr.45" = type { ptr, ptr }
%"struct.langcc::rc_ptr.21" = type { ptr, ptr }
%"struct.langcc::rc_ptr.419" = type { ptr, ptr }
%"struct.langcc::rc_ptr.38" = type { ptr, ptr }
%"struct.langcc::Option::_T.413" = type { i32, [16 x i8] }
%"class.std::function.555" = 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.langcc::TokenBounds" = type { i32, i32 }
%"struct.lang::cc::Node::FunDeclDef::Def::_T" = type { %"struct.lang::cc::Node::FunDeclDef::_T.base", %"struct.langcc::Option::_T.413", %"struct.langcc::rc_ptr.38" }
%"struct.lang::cc::Node::FunDeclDef::_T.base" = type <{ %"struct.lang::cc::Node::_T", i32 }>
%"struct.lang::cc::Node::_T" = type { ptr, %"struct.langcc::hash_obj", %"struct.langcc::enable_rc_from_this_poly", i32, i64, %"struct.langcc::TokenBounds", i8, i64, %"struct.langcc::ParserAttrMask", %"struct.langcc::ParserLookahead" }
%"struct.langcc::hash_obj" = type { %"struct.langcc::Option::_T" }
%"struct.langcc::Option::_T" = type { i32, [32 x i8] }
%"struct.langcc::enable_rc_from_this_poly" = type { ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

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

; 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) #1

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(20) ptr @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEEaSERKSC_(ptr noundef nonnull align 4 dereferenceable(20), ptr noundef nonnull align 4 dereferenceable(20)) #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4lang2cc4Node10FunDeclDef3Def4makeElN6langcc11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_6Option2_TINS4_6rc_ptrINS4_3VecINSA_INS1_4Expr2_TEEEEEEEEENSA_INS1_5Block2_TEEE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.203") align 8, i64 noundef, i64, i1 noundef zeroext, i64 noundef, ptr noundef byval(%"struct.langcc::ParserAttrMask") align 8, ptr noundef byval(%"struct.langcc::ParserLookahead") align 8, ptr noundef, ptr noundef) #4

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64)) #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64), i64 noundef) #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEE7is_someEv(ptr noundef nonnull align 4 dereferenceable(20)) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(20)) #7 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18xform_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEESt8functionIFNS0_INS3_2_TEEES9_EE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.45") align 8, ptr noundef, ptr noundef) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNKSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEclES6_(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.21") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc7make_rcINS_3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEEEJEEENS2_IT_EEDpT0_(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.419") align 8) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE9push_backERKS7_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(16)) #7 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18xform_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEEESt8functionIFNS0_INS3_2_TEEES9_EE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.38") align 8, ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_Z19xformT_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEEESt8functionIFNS0_INS3_2_TEEESA_EE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.21") align 8 %0, ptr noundef %1, ptr noundef %2) #4 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"struct.langcc::Option::_T.413", align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"struct.langcc::rc_ptr.419", align 8
  %11 = alloca i64, align 8
  %12 = alloca %"struct.langcc::rc_ptr.45", align 8
  %13 = alloca %"struct.langcc::rc_ptr.45", align 8
  %14 = alloca %"class.std::function.555", align 8
  %15 = alloca %"struct.langcc::Option::_T.413", align 4
  %16 = alloca %"struct.langcc::rc_ptr.38", align 8
  %17 = alloca %"struct.langcc::rc_ptr.38", align 8
  %18 = alloca %"class.std::function.555", align 8
  %19 = alloca %"struct.langcc::rc_ptr.203", align 8
  %20 = alloca %"struct.langcc::TokenBounds", align 4
  %21 = alloca %"struct.langcc::ParserAttrMask", align 8
  %22 = alloca %"struct.langcc::ParserLookahead", align 8
  %23 = alloca %"struct.langcc::Option::_T.413", align 4
  %24 = alloca %"struct.langcc::rc_ptr.38", align 8
  %25 = alloca %"struct.langcc::rc_ptr.21", align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 20, ptr %7) #8
  call void @_ZN6langcc4NoneINS_6rc_ptrINS_3VecINS1_IN4lang2cc4Node4Expr2_TEEEEEEEEENS_6Option2_TIT_EEv(ptr dead_on_unwind writable sret(%"struct.langcc::Option::_T.413") align 4 %7)
  %26 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %27 unwind label %65

27:                                               ; preds = %3
  %28 = getelementptr inbounds %"struct.lang::cc::Node::FunDeclDef::Def::_T", ptr %26, i32 0, i32 1
  %29 = invoke noundef zeroext i1 @_ZNK6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEE7is_someEv(ptr noundef nonnull align 4 dereferenceable(20) %28)
          to label %30 unwind label %65

30:                                               ; preds = %27
  br i1 %29, label %31, label %110

31:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #8
  invoke void @_ZN6langcc7make_rcINS_3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEEEJEEENS2_IT_EEDpT0_(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.419") align 8 %10)
          to label %32 unwind label %69

32:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  store i64 0, ptr %11, align 8, !tbaa !9
  store i64 0, ptr %11, align 8, !tbaa !9
  br label %33

33:                                               ; preds = %62, %32
  %34 = load i64, ptr %11, align 8, !tbaa !9
  %35 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %36 unwind label %73

36:                                               ; preds = %33
  %37 = getelementptr inbounds %"struct.lang::cc::Node::FunDeclDef::Def::_T", ptr %35, i32 0, i32 1
  %38 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(20) %37)
          to label %39 unwind label %73

39:                                               ; preds = %36
  %40 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %38)
          to label %41 unwind label %73

41:                                               ; preds = %39
  %42 = invoke noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %40)
          to label %43 unwind label %73

43:                                               ; preds = %41
  %44 = icmp slt i64 %34, %42
  br i1 %44, label %45, label %95

45:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #8
  %46 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %47 unwind label %77

47:                                               ; preds = %45
  %48 = getelementptr inbounds %"struct.lang::cc::Node::FunDeclDef::Def::_T", ptr %46, i32 0, i32 1
  %49 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(20) %48)
          to label %50 unwind label %77

50:                                               ; preds = %47
  %51 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %49)
          to label %52 unwind label %77

52:                                               ; preds = %50
  %53 = load i64, ptr %11, align 8, !tbaa !9
  %54 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %51, i64 noundef %53)
          to label %55 unwind label %77

55:                                               ; preds = %52
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %54)
          to label %56 unwind label %77

56:                                               ; preds = %55
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %57 unwind label %81

57:                                               ; preds = %56
  invoke void @_Z18xform_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEESt8functionIFNS0_INS3_2_TEEES9_EE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.45") align 8 %12, ptr noundef %13, ptr noundef %14)
          to label %58 unwind label %85

58:                                               ; preds = %57
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #8
  %59 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %60 unwind label %90

60:                                               ; preds = %58
  invoke void @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE9push_backERKS7_(ptr noundef nonnull align 8 dereferenceable(64) %59, ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %61 unwind label %90

61:                                               ; preds = %60
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  br label %62

62:                                               ; preds = %61
  %63 = load i64, ptr %11, align 8, !tbaa !9
  %64 = add nsw i64 %63, 1
  store i64 %64, ptr %11, align 8, !tbaa !9
  br label %33, !llvm.loop !11

65:                                               ; preds = %27, %3
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %8, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %9, align 4
  br label %182

69:                                               ; preds = %31
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %8, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %9, align 4
  br label %109

73:                                               ; preds = %41, %39, %36, %33
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %8, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %9, align 4
  br label %108

77:                                               ; preds = %55, %52, %50, %47, %45
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %8, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %9, align 4
  br label %94

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

85:                                               ; preds = %57
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %8, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %9, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  br label %89

89:                                               ; preds = %85, %81
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #8
  br label %94

90:                                               ; preds = %60, %58
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %8, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %9, align 4
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #8
  br label %94

94:                                               ; preds = %90, %89, %77
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  br label %108

95:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 20, ptr %15) #8
  invoke void @_ZN6langcc4SomeINS_6rc_ptrINS_3VecINS1_IN4lang2cc4Node4Expr2_TEEEEEEEEENS_6Option2_TIT_EERKSD_(ptr dead_on_unwind writable sret(%"struct.langcc::Option::_T.413") align 4 %15, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %96 unwind label %99

96:                                               ; preds = %95
  %97 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEEaSERKSC_(ptr noundef nonnull align 4 dereferenceable(20) %7, ptr noundef nonnull align 4 dereferenceable(20) %15)
          to label %98 unwind label %103

98:                                               ; preds = %96
  call void @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %15) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  br label %110

99:                                               ; preds = %95
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %8, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %9, align 4
  br label %107

103:                                              ; preds = %96
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %8, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %9, align 4
  call void @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %15) #8
  br label %107

107:                                              ; preds = %103, %99
  call void @llvm.lifetime.end.p0(i64 20, ptr %15) #8
  br label %108

108:                                              ; preds = %107, %94, %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  br label %109

109:                                              ; preds = %108, %69
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  br label %182

110:                                              ; preds = %98, %30
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #8
  %111 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %112 unwind label %145

112:                                              ; preds = %110
  %113 = getelementptr inbounds %"struct.lang::cc::Node::FunDeclDef::Def::_T", ptr %111, i32 0, i32 2
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %113)
          to label %114 unwind label %145

114:                                              ; preds = %112
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %115 unwind label %149

115:                                              ; preds = %114
  invoke void @_Z18xform_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEEESt8functionIFNS0_INS3_2_TEEES9_EE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.38") align 8 %16, ptr noundef %17, ptr noundef %18)
          to label %116 unwind label %153

116:                                              ; preds = %115
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #8
  %117 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %118 unwind label %158

118:                                              ; preds = %116
  %119 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %117, i32 0, i32 4
  %120 = load i64, ptr %119, align 8, !tbaa !13
  %121 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %122 unwind label %158

122:                                              ; preds = %118
  %123 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %121, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 8 %123, i64 8, i1 false), !tbaa.struct !25
  %124 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %125 unwind label %158

125:                                              ; preds = %122
  %126 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %124, i32 0, i32 6
  %127 = load i8, ptr %126, align 8, !tbaa !27, !range !28, !noundef !29
  %128 = trunc i8 %127 to i1
  %129 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %130 unwind label %158

130:                                              ; preds = %125
  %131 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %129, i32 0, i32 7
  %132 = load i64, ptr %131, align 8, !tbaa !30
  %133 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %134 unwind label %158

134:                                              ; preds = %130
  %135 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %133, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %21, ptr align 8 %135, i64 16, i1 false), !tbaa.struct !31
  %136 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %137 unwind label %158

137:                                              ; preds = %134
  %138 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %136, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %22, ptr align 8 %138, i64 16, i1 false), !tbaa.struct !31
  invoke void @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEEC2ERKSC_(ptr noundef nonnull align 4 dereferenceable(20) %23, ptr noundef nonnull align 4 dereferenceable(20) %7)
          to label %139 unwind label %158

139:                                              ; preds = %137
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %140 unwind label %162

140:                                              ; preds = %139
  %141 = load i64, ptr %20, align 4
  invoke void @_ZN4lang2cc4Node10FunDeclDef3Def4makeElN6langcc11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_6Option2_TINS4_6rc_ptrINS4_3VecINSA_INS1_4Expr2_TEEEEEEEEENSA_INS1_5Block2_TEEE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.203") align 8 %19, i64 noundef %120, i64 %141, i1 noundef zeroext %128, i64 noundef %132, ptr noundef byval(%"struct.langcc::ParserAttrMask") align 8 %21, ptr noundef byval(%"struct.langcc::ParserLookahead") align 8 %22, ptr noundef %23, ptr noundef %24)
          to label %142 unwind label %166

142:                                              ; preds = %140
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #8
  call void @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %23) #8
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEEC2INS3_10FunDeclDef3Def2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISB_EE(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %19)
          to label %143 unwind label %171

143:                                              ; preds = %142
  invoke void @_ZNKSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEclES6_(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.21") align 8 %0, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef %25)
          to label %144 unwind label %175

144:                                              ; preds = %143
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  call void @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %7) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr %7) #8
  ret void

145:                                              ; preds = %112, %110
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %8, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %9, align 4
  br label %181

149:                                              ; preds = %114
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %8, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %9, align 4
  br label %157

153:                                              ; preds = %115
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %8, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %9, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  br label %157

157:                                              ; preds = %153, %149
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  br label %181

158:                                              ; preds = %137, %134, %130, %125, %122, %118, %116
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %8, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %9, align 4
  br label %180

162:                                              ; preds = %139
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %8, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %9, align 4
  br label %170

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

170:                                              ; preds = %166, %162
  call void @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %23) #8
  br label %180

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

175:                                              ; preds = %143
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %8, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %9, align 4
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #8
  br label %179

179:                                              ; preds = %175, %171
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  br label %180

180:                                              ; preds = %179, %170, %158
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #8
  br label %181

181:                                              ; preds = %180, %157, %145
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  br label %182

182:                                              ; preds = %181, %109, %65
  call void @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %7) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr %7) #8
  br label %183

183:                                              ; preds = %182
  %184 = load ptr, ptr %8, align 8
  %185 = load i32, ptr %9, align 4
  %186 = insertvalue { ptr, i32 } poison, ptr %184, 0
  %187 = insertvalue { ptr, i32 } %186, i32 %185, 1
  resume { ptr, i32 } %187
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc4NoneINS_6rc_ptrINS_3VecINS1_IN4lang2cc4Node4Expr2_TEEEEEEEEENS_6Option2_TIT_EEv(ptr dead_on_unwind noalias writable sret(%"struct.langcc::Option::_T.413") align 4) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc4SomeINS_6rc_ptrINS_3VecINS1_IN4lang2cc4Node4Expr2_TEEEEEEEEENS_6Option2_TIT_EERKSD_(ptr dead_on_unwind noalias writable sret(%"struct.langcc::Option::_T.413") align 4, ptr noundef nonnull align 8 dereferenceable(16)) #4

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

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

!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 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !10, i64 72}
!14 = !{!"_ZTSN4lang2cc4Node2_TE", !15, i64 8, !18, i64 48, !19, i64 64, !10, i64 72, !20, i64 80, !22, i64 88, !10, i64 96, !23, i64 104, !24, i64 120}
!15 = !{!"_ZTSN6langcc8hash_objE", !16, i64 0}
!16 = !{!"_ZTSN6langcc6Option2_TINS_7HashValEEE", !17, i64 0, !7, i64 4}
!17 = !{!"_ZTSN6langcc6Option2_WE", !7, i64 0}
!18 = !{!"_ZTSN6langcc24enable_rc_from_this_polyE", !6, i64 0, !6, i64 8}
!19 = !{!"_ZTSN4lang2cc4Node2_WE", !7, i64 0}
!20 = !{!"_ZTSN6langcc11TokenBoundsE", !21, i64 0, !21, i64 4}
!21 = !{!"int", !7, i64 0}
!22 = !{!"bool", !7, i64 0}
!23 = !{!"_ZTSN6langcc14ParserAttrMaskE", !7, i64 0}
!24 = !{!"_ZTSN6langcc15ParserLookaheadE", !7, i64 0}
!25 = !{i64 0, i64 4, !26, i64 4, i64 4, !26}
!26 = !{!21, !21, i64 0}
!27 = !{!14, !22, i64 88}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = !{!14, !10, i64 96}
!31 = !{i64 0, i64 16, !32}
!32 = !{!7, !7, i64 0}


; 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"

%"struct.langcc::rc_ptr.203" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::rc_ptr.45" = type { ptr, ptr }
%"struct.langcc::rc_ptr.21" = type { ptr, ptr }
%"struct.langcc::rc_ptr.419" = type { ptr, ptr }
%"struct.langcc::rc_ptr.38" = type { ptr, ptr }
%"struct.langcc::Option::_T.413" = type { i32, [16 x i8] }
%"class.std::function.555" = 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 } }

declare i32 @__gxx_personality_v0(...)

; 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; 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) #1

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(20) ptr @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEEaSERKSC_(ptr noundef nonnull align 4 dereferenceable(20), ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4lang2cc4Node10FunDeclDef3Def4makeElN6langcc11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_6Option2_TINS4_6rc_ptrINS4_3VecINSA_INS1_4Expr2_TEEEEEEEEENSA_INS1_5Block2_TEEE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.203") align 8, i64 noundef, i64, i1 noundef zeroext, i64 noundef, ptr noundef byval(%"struct.langcc::ParserAttrMask") align 8, ptr noundef byval(%"struct.langcc::ParserLookahead") align 8, ptr noundef, ptr noundef) local_unnamed_addr #4

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64), i64 noundef) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEE7is_someEv(ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #7 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18xform_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEESt8functionIFNS0_INS3_2_TEEES9_EE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.45") align 8, ptr noundef, ptr noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNKSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEclES6_(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.21") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc7make_rcINS_3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEEEJEEENS2_IT_EEDpT0_(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.419") align 8) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE9push_backERKS7_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #7 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18xform_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEEESt8functionIFNS0_INS3_2_TEEES9_EE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.38") align 8, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_Z19xformT_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEEESt8functionIFNS0_INS3_2_TEEESA_EE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.21") align 8 %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"struct.langcc::Option::_T.413", align 4
  %5 = alloca %"struct.langcc::rc_ptr.419", align 8
  %6 = alloca %"struct.langcc::rc_ptr.45", align 8
  %7 = alloca %"struct.langcc::rc_ptr.45", align 8
  %8 = alloca %"class.std::function.555", align 8
  %9 = alloca %"struct.langcc::Option::_T.413", align 4
  %10 = alloca %"struct.langcc::rc_ptr.38", align 8
  %11 = alloca %"struct.langcc::rc_ptr.38", align 8
  %12 = alloca %"class.std::function.555", align 8
  %13 = alloca %"struct.langcc::rc_ptr.203", align 8
  %14 = alloca %"struct.langcc::ParserAttrMask", align 8
  %15 = alloca %"struct.langcc::ParserLookahead", align 8
  %16 = alloca %"struct.langcc::Option::_T.413", align 4
  %17 = alloca %"struct.langcc::rc_ptr.38", align 8
  %18 = alloca %"struct.langcc::rc_ptr.21", align 8
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %4) #8
  call void @_ZN6langcc4NoneINS_6rc_ptrINS_3VecINS1_IN4lang2cc4Node4Expr2_TEEEEEEEEENS_6Option2_TIT_EEv(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::Option::_T.413") align 4 %4)
  %19 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %20 = getelementptr inbounds i8, ptr %19, i64 140
  %21 = call noundef zeroext i1 @_ZNK6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEE7is_someEv(ptr noundef nonnull align 4 dereferenceable(20) %20)
  br i1 %21, label %22, label %67

22:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  invoke void @_ZN6langcc7make_rcINS_3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEEEJEEENS2_IT_EEDpT0_(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.419") align 8 %5)
          to label %.preheader unwind label %42

.preheader:                                       ; preds = %22, %40
  %.04 = phi i64 [ %41, %40 ], [ 0, %22 ]
  %23 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %24 = getelementptr inbounds i8, ptr %23, i64 140
  %25 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(20) %24)
          to label %26 unwind label %44

26:                                               ; preds = %.preheader
  %27 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %25)
  %28 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %27)
  %29 = icmp slt i64 %.04, %28
  br i1 %29, label %30, label %56

30:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #8
  %31 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %32 = getelementptr inbounds i8, ptr %31, i64 140
  %33 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(20) %32)
          to label %34 unwind label %46

34:                                               ; preds = %30
  %35 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %33)
  %36 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %35, i64 noundef %.04)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %36)
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %37 unwind label %48

37:                                               ; preds = %34
  invoke void @_Z18xform_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEESt8functionIFNS0_INS3_2_TEEES9_EE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.45") align 8 %6, ptr noundef nonnull %7, ptr noundef nonnull %8)
          to label %38 unwind label %50

38:                                               ; preds = %37
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  %39 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
  invoke void @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE9push_backERKS7_(ptr noundef nonnull align 8 dereferenceable(64) %39, ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %40 unwind label %53

40:                                               ; preds = %38
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  %41 = add nuw nsw i64 %.04, 1
  br label %.preheader, !llvm.loop !5

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

44:                                               ; preds = %.preheader
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %65

46:                                               ; preds = %30
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %55

48:                                               ; preds = %34
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %52

50:                                               ; preds = %37
  %51 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  br label %52

52:                                               ; preds = %50, %48
  %.pn23 = phi { ptr, i32 } [ %51, %50 ], [ %49, %48 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  br label %55

53:                                               ; preds = %38
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  br label %55

55:                                               ; preds = %53, %52, %46
  %.pn25 = phi { ptr, i32 } [ %54, %53 ], [ %.pn23, %52 ], [ %47, %46 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  br label %65

56:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %9) #8
  invoke void @_ZN6langcc4SomeINS_6rc_ptrINS_3VecINS1_IN4lang2cc4Node4Expr2_TEEEEEEEEENS_6Option2_TIT_EERKSD_(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::Option::_T.413") align 4 %9, ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %57 unwind label %60

57:                                               ; preds = %56
  %58 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEEaSERKSC_(ptr noundef nonnull align 4 dereferenceable(20) %4, ptr noundef nonnull align 4 dereferenceable(20) %9)
          to label %59 unwind label %62

59:                                               ; preds = %57
  call void @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %9) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %9) #8
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  br label %67

60:                                               ; preds = %56
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %64

62:                                               ; preds = %57
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %9) #8
  br label %64

64:                                               ; preds = %62, %60
  %.pn = phi { ptr, i32 } [ %63, %62 ], [ %61, %60 ]
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %9) #8
  br label %65

65:                                               ; preds = %64, %55, %44
  %.pn25.pn = phi { ptr, i32 } [ %.pn25, %55 ], [ %.pn, %64 ], [ %45, %44 ]
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  br label %66

66:                                               ; preds = %65, %42
  %.pn25.pn.pn = phi { ptr, i32 } [ %.pn25.pn, %65 ], [ %43, %42 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  br label %111

67:                                               ; preds = %59, %3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #8
  %68 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %69 = getelementptr inbounds i8, ptr %68, i64 160
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %69)
          to label %70 unwind label %93

70:                                               ; preds = %67
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %71 unwind label %95

71:                                               ; preds = %70
  invoke void @_Z18xform_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEEESt8functionIFNS0_INS3_2_TEEES9_EE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.38") align 8 %10, ptr noundef nonnull %11, ptr noundef nonnull %12)
          to label %72 unwind label %97

72:                                               ; preds = %71
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #8
  %73 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %74 = getelementptr inbounds i8, ptr %73, i64 72
  %75 = load i64, ptr %74, align 8, !tbaa !7
  %76 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %77 = getelementptr inbounds i8, ptr %76, i64 80
  %.sroa.0.0.copyload = load i64, ptr %77, align 8
  %78 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %79 = getelementptr inbounds i8, ptr %78, i64 88
  %80 = load i8, ptr %79, align 8, !tbaa !23, !range !24, !noundef !25
  %81 = trunc nuw i8 %80 to i1
  %82 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %83 = getelementptr inbounds i8, ptr %82, i64 96
  %84 = load i64, ptr %83, align 8, !tbaa !26
  %85 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %86 = getelementptr inbounds i8, ptr %85, i64 104
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %86, i64 16, i1 false), !tbaa.struct !27
  %87 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %88 = getelementptr inbounds i8, ptr %87, i64 120
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %88, i64 16, i1 false), !tbaa.struct !27
  invoke void @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEEC2ERKSC_(ptr noundef nonnull align 4 dereferenceable(20) %16, ptr noundef nonnull align 4 dereferenceable(20) %4)
          to label %89 unwind label %100

89:                                               ; preds = %72
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %90 unwind label %102

90:                                               ; preds = %89
  invoke void @_ZN4lang2cc4Node10FunDeclDef3Def4makeElN6langcc11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_6Option2_TINS4_6rc_ptrINS4_3VecINSA_INS1_4Expr2_TEEEEEEEEENSA_INS1_5Block2_TEEE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.203") align 8 %13, i64 noundef %75, i64 %.sroa.0.0.copyload, i1 noundef zeroext %81, i64 noundef %84, ptr noundef nonnull byval(%"struct.langcc::ParserAttrMask") align 8 %14, ptr noundef nonnull byval(%"struct.langcc::ParserLookahead") align 8 %15, ptr noundef nonnull %16, ptr noundef nonnull %17)
          to label %91 unwind label %104

91:                                               ; preds = %90
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  call void @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %16) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEEC2INS3_10FunDeclDef3Def2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISB_EE(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %13)
  invoke void @_ZNKSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEclES6_(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.21") align 8 %0, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull %18)
          to label %92 unwind label %107

92:                                               ; preds = %91
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  call void @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %4) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %4) #8
  ret void

93:                                               ; preds = %67
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %110

95:                                               ; preds = %70
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %99

97:                                               ; preds = %71
  %98 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #8
  br label %99

99:                                               ; preds = %97, %95
  %.pn16 = phi { ptr, i32 } [ %98, %97 ], [ %96, %95 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #8
  br label %110

100:                                              ; preds = %72
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %109

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

104:                                              ; preds = %90
  %105 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  br label %106

106:                                              ; preds = %104, %102
  %.pn18 = phi { ptr, i32 } [ %105, %104 ], [ %103, %102 ]
  call void @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %16) #8
  br label %109

107:                                              ; preds = %91
  %108 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef3Def2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #8
  br label %109

109:                                              ; preds = %107, %106, %100
  %.pn20 = phi { ptr, i32 } [ %108, %107 ], [ %.pn18, %106 ], [ %101, %100 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  br label %110

110:                                              ; preds = %109, %99, %93
  %.pn20.pn = phi { ptr, i32 } [ %.pn20, %109 ], [ %.pn16, %99 ], [ %94, %93 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  br label %111

111:                                              ; preds = %110, %66
  %.pn25.pn.pn.pn = phi { ptr, i32 } [ %.pn25.pn.pn, %66 ], [ %.pn20.pn, %110 ]
  call void @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang2cc4Node4Expr2_TEEEEEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %4) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %4) #8
  resume { ptr, i32 } %.pn25.pn.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc4NoneINS_6rc_ptrINS_3VecINS1_IN4lang2cc4Node4Expr2_TEEEEEEEEENS_6Option2_TIT_EEv(ptr dead_on_unwind noalias writable sret(%"struct.langcc::Option::_T.413") align 4) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc4SomeINS_6rc_ptrINS_3VecINS1_IN4lang2cc4Node4Expr2_TEEEEEEEEENS_6Option2_TIT_EERKSD_(ptr dead_on_unwind noalias writable sret(%"struct.langcc::Option::_T.413") align 4, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !17, i64 72}
!8 = !{!"_ZTSN4lang2cc4Node2_TE", !9, i64 8, !14, i64 48, !16, i64 64, !17, i64 72, !18, i64 80, !20, i64 88, !17, i64 96, !21, i64 104, !22, i64 120}
!9 = !{!"_ZTSN6langcc8hash_objE", !10, i64 0}
!10 = !{!"_ZTSN6langcc6Option2_TINS_7HashValEEE", !11, i64 0, !12, i64 4}
!11 = !{!"_ZTSN6langcc6Option2_WE", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"_ZTSN6langcc24enable_rc_from_this_polyE", !15, i64 0, !15, i64 8}
!15 = !{!"any pointer", !12, i64 0}
!16 = !{!"_ZTSN4lang2cc4Node2_WE", !12, i64 0}
!17 = !{!"long", !12, i64 0}
!18 = !{!"_ZTSN6langcc11TokenBoundsE", !19, i64 0, !19, i64 4}
!19 = !{!"int", !12, i64 0}
!20 = !{!"bool", !12, i64 0}
!21 = !{!"_ZTSN6langcc14ParserAttrMaskE", !12, i64 0}
!22 = !{!"_ZTSN6langcc15ParserLookaheadE", !12, i64 0}
!23 = !{!8, !20, i64 88}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = !{!8, !17, i64 96}
!27 = !{i64 0, i64 16, !28}
!28 = !{!12, !12, i64 0}


; Effective O3 passes: GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass