; 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.41" = 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 }
%"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::Option::_T.435" = type { i32, [16 x i8] }
%"struct.langcc::rc_ptr.42" = type { ptr, ptr }
%"struct.langcc::TokenBounds" = type { i32, i32 }
%"struct.lang::cc::Node::TypedDecl::vars::item::_T" = type <{ %"struct.lang::cc::Node::_T", %"struct.langcc::rc_ptr.45", %"struct.langcc::Option::_T.435", [4 x i8] }>
%"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_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_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 noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4lang2cc4Node9TypedDecl4vars4item4makeElN6langcc11TokenBoundsEblNS5_14ParserAttrMaskENS5_15ParserLookaheadENS5_6rc_ptrINS1_4Expr2_TEEENS5_6Option2_TINS9_INS4_3val2_TEEEEE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.41") 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) #3

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

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEE7is_someEv(ptr noundef nonnull align 4 dereferenceable(20)) #4 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z19xformT_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEESt8functionIFNS0_INS3_2_TEEESB_EE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.21") align 8 %0, ptr noundef %1, ptr noundef %2) #3 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"struct.langcc::rc_ptr.45", align 8
  %8 = alloca %"struct.langcc::rc_ptr.45", align 8
  %9 = alloca %"class.std::function.555", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"struct.langcc::Option::_T.435", align 4
  %13 = alloca %"struct.langcc::rc_ptr.42", align 8
  %14 = alloca %"struct.langcc::rc_ptr.42", align 8
  %15 = alloca %"class.std::function.555", align 8
  %16 = alloca %"struct.langcc::Option::_T.435", align 4
  %17 = alloca %"struct.langcc::rc_ptr.41", align 8
  %18 = alloca %"struct.langcc::TokenBounds", align 4
  %19 = alloca %"struct.langcc::ParserAttrMask", align 8
  %20 = alloca %"struct.langcc::ParserLookahead", align 8
  %21 = alloca %"struct.langcc::rc_ptr.45", align 8
  %22 = alloca %"struct.langcc::Option::_T.435", align 4
  %23 = 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 16, ptr %7) #8
  %24 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %25 = getelementptr inbounds %"struct.lang::cc::Node::TypedDecl::vars::item::_T", ptr %24, i32 0, i32 1
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %25)
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %26 unwind label %46

26:                                               ; preds = %3
  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 %7, ptr noundef %8, ptr noundef %9)
          to label %27 unwind label %50

27:                                               ; preds = %26
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  call void @llvm.lifetime.start.p0(i64 20, ptr %12) #8
  invoke void @_ZN6langcc4NoneINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEEENS_6Option2_TIT_EEv(ptr dead_on_unwind writable sret(%"struct.langcc::Option::_T.435") align 4 %12)
          to label %28 unwind label %55

28:                                               ; preds = %27
  %29 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %30 unwind label %59

30:                                               ; preds = %28
  %31 = getelementptr inbounds %"struct.lang::cc::Node::TypedDecl::vars::item::_T", ptr %29, i32 0, i32 2
  %32 = invoke noundef zeroext i1 @_ZNK6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEE7is_someEv(ptr noundef nonnull align 4 dereferenceable(20) %31)
          to label %33 unwind label %59

33:                                               ; preds = %30
  br i1 %32, label %34, label %86

34:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #8
  %35 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %36 unwind label %63

36:                                               ; preds = %34
  %37 = getelementptr inbounds %"struct.lang::cc::Node::TypedDecl::vars::item::_T", ptr %35, i32 0, i32 2
  %38 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(20) %37)
          to label %39 unwind label %63

39:                                               ; preds = %36
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %38)
          to label %40 unwind label %63

40:                                               ; preds = %39
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %41 unwind label %67

41:                                               ; preds = %40
  invoke void @_Z18xform_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEESt8functionIFNS0_INS3_2_TEEESC_EE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.42") align 8 %13, ptr noundef %14, ptr noundef %15)
          to label %42 unwind label %71

42:                                               ; preds = %41
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  call void @llvm.lifetime.start.p0(i64 20, ptr %16) #8
  invoke void @_ZN6langcc4SomeINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEEENS_6Option2_TIT_EERKSD_(ptr dead_on_unwind writable sret(%"struct.langcc::Option::_T.435") align 4 %16, ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %43 unwind label %76

43:                                               ; preds = %42
  %44 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEEaSERKSC_(ptr noundef nonnull align 4 dereferenceable(20) %12, ptr noundef nonnull align 4 dereferenceable(20) %16)
          to label %45 unwind label %80

45:                                               ; preds = %43
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %16) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr %16) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  br label %86

46:                                               ; preds = %3
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %10, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %11, align 4
  br label %54

50:                                               ; preds = %26
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %10, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %11, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  br label %54

54:                                               ; preds = %50, %46
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  br label %140

55:                                               ; preds = %27
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %10, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %11, align 4
  br label %139

59:                                               ; preds = %30, %28
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %10, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %11, align 4
  br label %138

63:                                               ; preds = %39, %36, %34
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %10, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %11, align 4
  br label %85

67:                                               ; preds = %40
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %10, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %11, align 4
  br label %75

71:                                               ; preds = %41
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %10, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %11, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  br label %75

75:                                               ; preds = %71, %67
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  br label %85

76:                                               ; preds = %42
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %10, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %11, align 4
  br label %84

80:                                               ; preds = %43
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %10, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %11, align 4
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %16) #8
  br label %84

84:                                               ; preds = %80, %76
  call void @llvm.lifetime.end.p0(i64 20, ptr %16) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #8
  br label %85

85:                                               ; preds = %84, %75, %63
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  br label %138

86:                                               ; preds = %45, %33
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #8
  %87 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %88 unwind label %115

88:                                               ; preds = %86
  %89 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %87, i32 0, i32 4
  %90 = load i64, ptr %89, align 8, !tbaa !9
  %91 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %92 unwind label %115

92:                                               ; preds = %88
  %93 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %91, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 8 %93, i64 8, i1 false), !tbaa.struct !22
  %94 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %95 unwind label %115

95:                                               ; preds = %92
  %96 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %94, i32 0, i32 6
  %97 = load i8, ptr %96, align 8, !tbaa !24, !range !25, !noundef !26
  %98 = trunc i8 %97 to i1
  %99 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %100 unwind label %115

100:                                              ; preds = %95
  %101 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %99, i32 0, i32 7
  %102 = load i64, ptr %101, align 8, !tbaa !27
  %103 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %104 unwind label %115

104:                                              ; preds = %100
  %105 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %103, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %19, ptr align 8 %105, i64 16, i1 false), !tbaa.struct !28
  %106 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %107 unwind label %115

107:                                              ; preds = %104
  %108 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %106, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %20, ptr align 8 %108, i64 16, i1 false), !tbaa.struct !28
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %109 unwind label %115

109:                                              ; preds = %107
  invoke void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEEC2ERKSC_(ptr noundef nonnull align 4 dereferenceable(20) %22, ptr noundef nonnull align 4 dereferenceable(20) %12)
          to label %110 unwind label %119

110:                                              ; preds = %109
  %111 = load i64, ptr %18, align 4
  invoke void @_ZN4lang2cc4Node9TypedDecl4vars4item4makeElN6langcc11TokenBoundsEblNS5_14ParserAttrMaskENS5_15ParserLookaheadENS5_6rc_ptrINS1_4Expr2_TEEENS5_6Option2_TINS9_INS4_3val2_TEEEEE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.41") align 8 %17, i64 noundef %90, i64 %111, i1 noundef zeroext %98, i64 noundef %102, ptr noundef byval(%"struct.langcc::ParserAttrMask") align 8 %19, ptr noundef byval(%"struct.langcc::ParserLookahead") align 8 %20, ptr noundef %21, ptr noundef %22)
          to label %112 unwind label %123

112:                                              ; preds = %110
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %22) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #8
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEEC2INS3_9TypedDecl4vars4item2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISC_EE(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %113 unwind label %128

113:                                              ; preds = %112
  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 %23)
          to label %114 unwind label %132

114:                                              ; preds = %113
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %12) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr %12) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #8
  ret void

115:                                              ; preds = %107, %104, %100, %95, %92, %88, %86
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %10, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %11, align 4
  br label %137

119:                                              ; preds = %109
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %10, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %11, align 4
  br label %127

123:                                              ; preds = %110
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %10, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %11, align 4
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %22) #8
  br label %127

127:                                              ; preds = %123, %119
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #8
  br label %137

128:                                              ; preds = %112
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %10, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %11, align 4
  br label %136

132:                                              ; preds = %113
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %10, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %11, align 4
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #8
  br label %136

136:                                              ; preds = %132, %128
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  br label %137

137:                                              ; preds = %136, %127, %115
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  br label %138

138:                                              ; preds = %137, %85, %59
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %12) #8
  br label %139

139:                                              ; preds = %138, %55
  call void @llvm.lifetime.end.p0(i64 20, ptr %12) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  br label %140

140:                                              ; preds = %139, %54
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #8
  br label %141

141:                                              ; preds = %140
  %142 = load ptr, ptr %10, align 8
  %143 = load i32, ptr %11, align 4
  %144 = insertvalue { ptr, i32 } poison, ptr %142, 0
  %145 = insertvalue { ptr, i32 } %144, i32 %143, 1
  resume { ptr, i32 } %145
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEEC2ERKSC_(ptr noundef nonnull align 4 dereferenceable(20), ptr noundef nonnull align 4 dereferenceable(20)) unnamed_addr #3 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 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 = { 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 #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 = { 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 #7 = { 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 #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, !16, i64 72}
!10 = !{!"_ZTSN4lang2cc4Node2_TE", !11, i64 8, !14, i64 48, !15, i64 64, !16, i64 72, !17, i64 80, !19, i64 88, !16, i64 96, !20, i64 104, !21, i64 120}
!11 = !{!"_ZTSN6langcc8hash_objE", !12, i64 0}
!12 = !{!"_ZTSN6langcc6Option2_TINS_7HashValEEE", !13, i64 0, !7, i64 4}
!13 = !{!"_ZTSN6langcc6Option2_WE", !7, i64 0}
!14 = !{!"_ZTSN6langcc24enable_rc_from_this_polyE", !6, i64 0, !6, i64 8}
!15 = !{!"_ZTSN4lang2cc4Node2_WE", !7, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!"_ZTSN6langcc11TokenBoundsE", !18, i64 0, !18, i64 4}
!18 = !{!"int", !7, i64 0}
!19 = !{!"bool", !7, i64 0}
!20 = !{!"_ZTSN6langcc14ParserAttrMaskE", !7, i64 0}
!21 = !{!"_ZTSN6langcc15ParserLookaheadE", !7, i64 0}
!22 = !{i64 0, i64 4, !23, i64 4, i64 4, !23}
!23 = !{!18, !18, i64 0}
!24 = !{!10, !19, i64 88}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!10, !16, i64 96}
!28 = !{i64 0, i64 16, !29}
!29 = !{!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.41" = 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 }
%"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::Option::_T.435" = type { i32, [16 x i8] }
%"struct.langcc::rc_ptr.42" = type { ptr, ptr }

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_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_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 noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4lang2cc4Node9TypedDecl4vars4item4makeElN6langcc11TokenBoundsEblNS5_14ParserAttrMaskENS5_15ParserLookaheadENS5_6rc_ptrINS1_4Expr2_TEEENS5_6Option2_TINS9_INS4_3val2_TEEEEE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.41") 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 #3

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

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEE7is_someEv(ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #4 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z19xformT_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEESt8functionIFNS0_INS3_2_TEEESB_EE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.21") align 8 %0, ptr noundef nonnull %1, ptr noundef %2) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"struct.langcc::rc_ptr.45", align 8
  %5 = alloca %"struct.langcc::rc_ptr.45", align 8
  %6 = alloca %"class.std::function.555", align 8
  %7 = alloca %"struct.langcc::Option::_T.435", align 4
  %8 = alloca %"struct.langcc::rc_ptr.42", align 8
  %9 = alloca %"struct.langcc::rc_ptr.42", align 8
  %10 = alloca %"class.std::function.555", align 8
  %11 = alloca %"struct.langcc::Option::_T.435", align 4
  %12 = alloca %"struct.langcc::rc_ptr.41", align 8
  %13 = alloca %"struct.langcc::ParserAttrMask", align 8
  %14 = alloca %"struct.langcc::ParserLookahead", align 8
  %15 = alloca %"struct.langcc::rc_ptr.45", align 8
  %16 = alloca %"struct.langcc::Option::_T.435", align 4
  %17 = alloca %"struct.langcc::rc_ptr.21", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  %18 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %19 = getelementptr inbounds i8, ptr %18, i64 136
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %19)
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %20 unwind label %37

20:                                               ; preds = %3
  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 %4, ptr noundef nonnull %5, ptr noundef nonnull %6)
          to label %21 unwind label %39

21:                                               ; preds = %20
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %7) #8
  invoke void @_ZN6langcc4NoneINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEEENS_6Option2_TIT_EEv(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::Option::_T.435") align 4 %7)
          to label %22 unwind label %41

22:                                               ; preds = %21
  %23 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %24 = getelementptr inbounds i8, ptr %23, i64 152
  %25 = call noundef zeroext i1 @_ZNK6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEE7is_someEv(ptr noundef nonnull align 4 dereferenceable(20) %24)
  br i1 %25, label %26, label %56

26:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #8
  %27 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %28 = getelementptr inbounds i8, ptr %27, i64 152
  %29 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(20) %28)
          to label %30 unwind label %43

30:                                               ; preds = %26
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %29)
          to label %31 unwind label %43

31:                                               ; preds = %30
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %32 unwind label %45

32:                                               ; preds = %31
  invoke void @_Z18xform_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEESt8functionIFNS0_INS3_2_TEEESC_EE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.42") align 8 %8, ptr noundef nonnull %9, ptr noundef nonnull %10)
          to label %33 unwind label %47

33:                                               ; preds = %32
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %11) #8
  invoke void @_ZN6langcc4SomeINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEEENS_6Option2_TIT_EERKSD_(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::Option::_T.435") align 4 %11, ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %34 unwind label %50

34:                                               ; preds = %33
  %35 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEEaSERKSC_(ptr noundef nonnull align 4 dereferenceable(20) %7, ptr noundef nonnull align 4 dereferenceable(20) %11)
          to label %36 unwind label %52

36:                                               ; preds = %34
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %11) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %11) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  br label %56

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

39:                                               ; preds = %20
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  br label %86

41:                                               ; preds = %21
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %85

43:                                               ; preds = %30, %26
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %55

45:                                               ; preds = %31
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %49

47:                                               ; preds = %32
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  br label %49

49:                                               ; preds = %47, %45
  %.pn11 = phi { ptr, i32 } [ %48, %47 ], [ %46, %45 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  br label %55

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

52:                                               ; preds = %34
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %11) #8
  br label %54

54:                                               ; preds = %52, %50
  %.pn13 = phi { ptr, i32 } [ %53, %52 ], [ %51, %50 ]
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %11) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  br label %55

55:                                               ; preds = %54, %49, %43
  %.pn13.pn = phi { ptr, i32 } [ %.pn13, %54 ], [ %.pn11, %49 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  br label %84

56:                                               ; preds = %36, %22
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #8
  %57 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %58 = getelementptr inbounds i8, ptr %57, i64 72
  %59 = load i64, ptr %58, align 8, !tbaa !5
  %60 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %61 = getelementptr inbounds i8, ptr %60, i64 80
  %.sroa.0.0.copyload = load i64, ptr %61, align 8
  %62 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %63 = getelementptr inbounds i8, ptr %62, i64 88
  %64 = load i8, ptr %63, align 8, !tbaa !21, !range !22, !noundef !23
  %65 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %66 = getelementptr inbounds i8, ptr %65, i64 96
  %67 = load i64, ptr %66, align 8, !tbaa !24
  %68 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %69 = getelementptr inbounds i8, ptr %68, i64 104
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %69, i64 16, i1 false), !tbaa.struct !25
  %70 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %71 = getelementptr inbounds i8, ptr %70, i64 120
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %71, i64 16, i1 false), !tbaa.struct !25
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %4)
  invoke void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEEC2ERKSC_(ptr noundef nonnull align 4 dereferenceable(20) %16, ptr noundef nonnull align 4 dereferenceable(20) %7)
          to label %72 unwind label %76

72:                                               ; preds = %56
  %73 = trunc nuw i8 %64 to i1
  invoke void @_ZN4lang2cc4Node9TypedDecl4vars4item4makeElN6langcc11TokenBoundsEblNS5_14ParserAttrMaskENS5_15ParserLookaheadENS5_6rc_ptrINS1_4Expr2_TEEENS5_6Option2_TINS9_INS4_3val2_TEEEEE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.41") align 8 %12, i64 noundef %59, i64 %.sroa.0.0.copyload, i1 noundef zeroext %73, i64 noundef %67, ptr noundef nonnull byval(%"struct.langcc::ParserAttrMask") align 8 %13, ptr noundef nonnull byval(%"struct.langcc::ParserLookahead") align 8 %14, ptr noundef nonnull %15, ptr noundef nonnull %16)
          to label %74 unwind label %78

74:                                               ; preds = %72
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %16) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEEC2INS3_9TypedDecl4vars4item2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISC_EE(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %12)
  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 %17)
          to label %75 unwind label %81

75:                                               ; preds = %74
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #8
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %7) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %7) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  ret void

76:                                               ; preds = %56
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %80

78:                                               ; preds = %72
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %16) #8
  br label %80

80:                                               ; preds = %78, %76
  %.pn16 = phi { ptr, i32 } [ %79, %78 ], [ %77, %76 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #8
  br label %83

81:                                               ; preds = %74
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #8
  br label %83

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

84:                                               ; preds = %83, %55
  %.pn18.pn = phi { ptr, i32 } [ %.pn18, %83 ], [ %.pn13.pn, %55 ]
  call void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEED2Ev(ptr noundef nonnull align 4 dereferenceable(20) %7) #8
  br label %85

85:                                               ; preds = %84, %41
  %.pn18.pn.pn = phi { ptr, i32 } [ %.pn18.pn, %84 ], [ %42, %41 ]
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %7) #8
  br label %86

86:                                               ; preds = %37, %39, %85
  %.sink = phi ptr [ %4, %85 ], [ %5, %39 ], [ %5, %37 ]
  %.pn18.pn.pn.pn = phi { ptr, i32 } [ %.pn18.pn.pn, %85 ], [ %40, %39 ], [ %38, %37 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %.sink) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  resume { ptr, i32 } %.pn18.pn.pn.pn
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item3val2_TEEEEC2ERKSC_(ptr noundef nonnull align 4 dereferenceable(20), ptr noundef nonnull align 4 dereferenceable(20)) unnamed_addr #3 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 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 = { 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 #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 = { 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 #7 = { 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 #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, !15, i64 72}
!6 = !{!"_ZTSN4lang2cc4Node2_TE", !7, i64 8, !12, i64 48, !14, i64 64, !15, i64 72, !16, i64 80, !18, i64 88, !15, i64 96, !19, i64 104, !20, i64 120}
!7 = !{!"_ZTSN6langcc8hash_objE", !8, i64 0}
!8 = !{!"_ZTSN6langcc6Option2_TINS_7HashValEEE", !9, i64 0, !10, i64 4}
!9 = !{!"_ZTSN6langcc6Option2_WE", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSN6langcc24enable_rc_from_this_polyE", !13, i64 0, !13, i64 8}
!13 = !{!"any pointer", !10, i64 0}
!14 = !{!"_ZTSN4lang2cc4Node2_WE", !10, i64 0}
!15 = !{!"long", !10, i64 0}
!16 = !{!"_ZTSN6langcc11TokenBoundsE", !17, i64 0, !17, i64 4}
!17 = !{!"int", !10, i64 0}
!18 = !{!"bool", !10, i64 0}
!19 = !{!"_ZTSN6langcc14ParserAttrMaskE", !10, i64 0}
!20 = !{!"_ZTSN6langcc15ParserLookaheadE", !10, i64 0}
!21 = !{!6, !18, i64 88}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = !{!6, !15, i64 96}
!25 = !{i64 0, i64 16, !26}
!26 = !{!10, !10, i64 0}


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