; 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.40" = 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.200" = type { ptr, ptr }
%"struct.langcc::rc_ptr.35" = 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::rc_ptr.287" = type { ptr, ptr }
%"struct.langcc::rc_ptr.41" = type { ptr, ptr }
%"struct.langcc::TokenBounds" = type { i32, i32 }
%"struct.lang::cc::Node::TypedDecl::_T" = type { %"struct.lang::cc::Node::_T", %"struct.langcc::rc_ptr.200", %"struct.langcc::rc_ptr.45", %"struct.langcc::rc_ptr.287" }
%"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_ptrIN4lang2cc4Node3Mod2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

; 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_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_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEED2Ev(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_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEEC2INS3_9TypedDecl2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISA_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #6 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 #6 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
declare dso_local void @_ZN6langcc7make_rcINS_3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEEEJEEENS2_IT_EEDpT0_(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.200") align 8) #3

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z19xformT_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEESt8functionIFNS0_INS3_2_TEEES9_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.200", align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"struct.langcc::rc_ptr.35", align 8
  %12 = alloca %"struct.langcc::rc_ptr.35", align 8
  %13 = alloca %"class.std::function.555", align 8
  %14 = alloca %"struct.langcc::rc_ptr.45", align 8
  %15 = alloca %"struct.langcc::rc_ptr.45", align 8
  %16 = alloca %"class.std::function.555", align 8
  %17 = alloca %"struct.langcc::rc_ptr.287", align 8
  %18 = alloca i64, align 8
  %19 = alloca %"struct.langcc::rc_ptr.41", align 8
  %20 = alloca %"struct.langcc::rc_ptr.41", align 8
  %21 = alloca %"class.std::function.555", align 8
  %22 = alloca %"struct.langcc::rc_ptr.40", align 8
  %23 = alloca %"struct.langcc::TokenBounds", align 4
  %24 = alloca %"struct.langcc::ParserAttrMask", align 8
  %25 = alloca %"struct.langcc::ParserLookahead", align 8
  %26 = alloca %"struct.langcc::rc_ptr.200", align 8
  %27 = alloca %"struct.langcc::rc_ptr.45", align 8
  %28 = alloca %"struct.langcc::rc_ptr.287", align 8
  %29 = 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
  call void @_ZN6langcc7make_rcINS_3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEEEJEEENS2_IT_EEDpT0_(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.200") align 8 %7)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  store i64 0, ptr %8, align 8, !tbaa !9
  store i64 0, ptr %8, align 8, !tbaa !9
  br label %30

30:                                               ; preds = %55, %3
  %31 = load i64, ptr %8, align 8, !tbaa !9
  %32 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %33 unwind label %58

33:                                               ; preds = %30
  %34 = getelementptr inbounds %"struct.lang::cc::Node::TypedDecl::_T", ptr %32, i32 0, i32 1
  %35 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %34)
          to label %36 unwind label %58

36:                                               ; preds = %33
  %37 = invoke noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %35)
          to label %38 unwind label %58

38:                                               ; preds = %36
  %39 = icmp slt i64 %31, %37
  br i1 %39, label %40, label %80

40:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #8
  %41 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %42 unwind label %62

42:                                               ; preds = %40
  %43 = getelementptr inbounds %"struct.lang::cc::Node::TypedDecl::_T", ptr %41, i32 0, i32 1
  %44 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %43)
          to label %45 unwind label %62

45:                                               ; preds = %42
  %46 = load i64, ptr %8, align 8, !tbaa !9
  %47 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %44, i64 noundef %46)
          to label %48 unwind label %62

48:                                               ; preds = %45
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %47)
          to label %49 unwind label %62

49:                                               ; preds = %48
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %50 unwind label %66

50:                                               ; preds = %49
  invoke void @_Z18xform_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEEESt8functionIFNS0_INS3_2_TEEES9_EE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.35") align 8 %11, ptr noundef %12, ptr noundef %13)
          to label %51 unwind label %70

51:                                               ; preds = %50
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #8
  %52 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %53 unwind label %75

53:                                               ; preds = %51
  invoke void @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE9push_backERKS7_(ptr noundef nonnull align 8 dereferenceable(64) %52, ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %54 unwind label %75

54:                                               ; preds = %53
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #8
  br label %55

55:                                               ; preds = %54
  %56 = load i64, ptr %8, align 8, !tbaa !9
  %57 = add nsw i64 %56, 1
  store i64 %57, ptr %8, align 8, !tbaa !9
  br label %30, !llvm.loop !11

58:                                               ; preds = %36, %33, %30
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %9, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %10, align 4
  br label %216

62:                                               ; preds = %48, %45, %42, %40
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %9, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %10, align 4
  br label %79

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

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

74:                                               ; preds = %70, %66
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #8
  br label %79

75:                                               ; preds = %53, %51
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %9, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %10, align 4
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #8
  br label %79

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

80:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #8
  %81 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %82 unwind label %116

82:                                               ; preds = %80
  %83 = getelementptr inbounds %"struct.lang::cc::Node::TypedDecl::_T", ptr %81, i32 0, i32 2
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %83)
          to label %84 unwind label %116

84:                                               ; preds = %82
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %85 unwind label %120

85:                                               ; preds = %84
  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 %14, ptr noundef %15, ptr noundef %16)
          to label %86 unwind label %124

86:                                               ; preds = %85
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #8
  invoke void @_ZN6langcc7make_rcINS_3VecINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEEEEJEEENS2_IT_EEDpT0_(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.287") align 8 %17)
          to label %87 unwind label %129

87:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  store i64 0, ptr %18, align 8, !tbaa !9
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %88

88:                                               ; preds = %113, %87
  %89 = load i64, ptr %18, align 8, !tbaa !9
  %90 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %91 unwind label %133

91:                                               ; preds = %88
  %92 = getelementptr inbounds %"struct.lang::cc::Node::TypedDecl::_T", ptr %90, i32 0, i32 3
  %93 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node9TypedDecl4vars4item2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %92)
          to label %94 unwind label %133

94:                                               ; preds = %91
  %95 = invoke noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %93)
          to label %96 unwind label %133

96:                                               ; preds = %94
  %97 = icmp slt i64 %89, %95
  br i1 %97, label %98, label %155

98:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #8
  %99 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %100 unwind label %137

100:                                              ; preds = %98
  %101 = getelementptr inbounds %"struct.lang::cc::Node::TypedDecl::_T", ptr %99, i32 0, i32 3
  %102 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node9TypedDecl4vars4item2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %101)
          to label %103 unwind label %137

103:                                              ; preds = %100
  %104 = load i64, ptr %18, align 8, !tbaa !9
  %105 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %102, i64 noundef %104)
          to label %106 unwind label %137

106:                                              ; preds = %103
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(16) %105)
          to label %107 unwind label %137

107:                                              ; preds = %106
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %108 unwind label %141

108:                                              ; preds = %107
  invoke void @_Z18xform_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEESt8functionIFNS0_INS3_2_TEEESB_EE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.41") align 8 %19, ptr noundef %20, ptr noundef %21)
          to label %109 unwind label %145

109:                                              ; preds = %108
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #8
  %110 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node9TypedDecl4vars4item2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %111 unwind label %150

111:                                              ; preds = %109
  invoke void @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEEE9push_backERKS9_(ptr noundef nonnull align 8 dereferenceable(64) %110, ptr noundef nonnull align 8 dereferenceable(16) %19)
          to label %112 unwind label %150

112:                                              ; preds = %111
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  br label %113

113:                                              ; preds = %112
  %114 = load i64, ptr %18, align 8, !tbaa !9
  %115 = add nsw i64 %114, 1
  store i64 %115, ptr %18, align 8, !tbaa !9
  br label %88, !llvm.loop !13

116:                                              ; preds = %82, %80
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %9, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %10, align 4
  br label %215

120:                                              ; preds = %84
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %9, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %10, align 4
  br label %128

124:                                              ; preds = %85
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %9, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %10, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #8
  br label %128

128:                                              ; preds = %124, %120
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #8
  br label %215

129:                                              ; preds = %86
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %9, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %10, align 4
  br label %214

133:                                              ; preds = %94, %91, %88
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %9, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %10, align 4
  br label %213

137:                                              ; preds = %106, %103, %100, %98
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %9, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %10, align 4
  br label %154

141:                                              ; preds = %107
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %9, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %10, align 4
  br label %149

145:                                              ; preds = %108
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %9, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %10, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  br label %149

149:                                              ; preds = %145, %141
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #8
  br label %154

150:                                              ; preds = %111, %109
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %9, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %10, align 4
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  br label %154

154:                                              ; preds = %150, %149, %137
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  br label %213

155:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #8
  %156 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %157 unwind label %185

157:                                              ; preds = %155
  %158 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %156, i32 0, i32 4
  %159 = load i64, ptr %158, align 8, !tbaa !14
  %160 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %161 unwind label %185

161:                                              ; preds = %157
  %162 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %160, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 8 %162, i64 8, i1 false), !tbaa.struct !26
  %163 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %164 unwind label %185

164:                                              ; preds = %161
  %165 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %163, i32 0, i32 6
  %166 = load i8, ptr %165, align 8, !tbaa !28, !range !29, !noundef !30
  %167 = trunc i8 %166 to i1
  %168 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %169 unwind label %185

169:                                              ; preds = %164
  %170 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %168, i32 0, i32 7
  %171 = load i64, ptr %170, align 8, !tbaa !31
  %172 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %173 unwind label %185

173:                                              ; preds = %169
  %174 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %172, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %24, ptr align 8 %174, i64 16, i1 false), !tbaa.struct !32
  %175 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %176 unwind label %185

176:                                              ; preds = %173
  %177 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %175, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %25, ptr align 8 %177, i64 16, i1 false), !tbaa.struct !32
  invoke void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %178 unwind label %185

178:                                              ; preds = %176
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %179 unwind label %189

179:                                              ; preds = %178
  invoke void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node9TypedDecl4vars4item2_TEEEEEEC2ERKSB_(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %180 unwind label %193

180:                                              ; preds = %179
  %181 = load i64, ptr %23, align 4
  invoke void @_ZN4lang2cc4Node9TypedDecl4makeElN6langcc11TokenBoundsEblNS3_14ParserAttrMaskENS3_15ParserLookaheadENS3_6rc_ptrINS3_3VecINS7_INS1_3Mod2_TEEEEEEENS7_INS1_4Expr2_TEEENS7_INS8_INS7_INS2_4vars4item2_TEEEEEEE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.40") align 8 %22, i64 noundef %159, i64 %181, i1 noundef zeroext %167, i64 noundef %171, ptr noundef byval(%"struct.langcc::ParserAttrMask") align 8 %24, ptr noundef byval(%"struct.langcc::ParserLookahead") align 8 %25, ptr noundef %26, ptr noundef %27, ptr noundef %28)
          to label %182 unwind label %197

182:                                              ; preds = %180
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node9TypedDecl4vars4item2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %28) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #8
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #8
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEEC2INS3_9TypedDecl2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISA_EE(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %183 unwind label %203

183:                                              ; preds = %182
  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 %29)
          to label %184 unwind label %207

184:                                              ; preds = %183
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node9TypedDecl4vars4item2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #8
  ret void

185:                                              ; preds = %176, %173, %169, %164, %161, %157, %155
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %9, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %10, align 4
  br label %212

189:                                              ; preds = %178
  %190 = landingpad { ptr, i32 }
          cleanup
  %191 = extractvalue { ptr, i32 } %190, 0
  store ptr %191, ptr %9, align 8
  %192 = extractvalue { ptr, i32 } %190, 1
  store i32 %192, ptr %10, align 4
  br label %202

193:                                              ; preds = %179
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %9, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %10, align 4
  br label %201

197:                                              ; preds = %180
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %9, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %10, align 4
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node9TypedDecl4vars4item2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %28) #8
  br label %201

201:                                              ; preds = %197, %193
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #8
  br label %202

202:                                              ; preds = %201, %189
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #8
  br label %212

203:                                              ; preds = %182
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %9, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %10, align 4
  br label %211

207:                                              ; preds = %183
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %9, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %10, align 4
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #8
  br label %211

211:                                              ; preds = %207, %203
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #8
  br label %212

212:                                              ; preds = %211, %202, %185
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #8
  br label %213

213:                                              ; preds = %212, %154, %133
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node9TypedDecl4vars4item2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  br label %214

214:                                              ; preds = %213, %129
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  br label %215

215:                                              ; preds = %214, %128, %116
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  br label %216

216:                                              ; preds = %215, %79, %58
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #8
  br label %217

217:                                              ; preds = %216
  %218 = load ptr, ptr %9, align 8
  %219 = load i32, ptr %10, align 4
  %220 = insertvalue { ptr, i32 } poison, ptr %218, 0
  %221 = insertvalue { ptr, i32 } %220, i32 %219, 1
  resume { ptr, i32 } %221
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEEE9push_backERKS9_(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_IN4lang2cc4Node9TypedDecl4vars4item2_TEEEEEEC2ERKSB_(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_ptrINS_3VecINS0_IN4lang2cc4Node9TypedDecl4vars4item2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 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 = { 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 = { 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 = distinct !{!13, !12}
!14 = !{!15, !10, i64 72}
!15 = !{!"_ZTSN4lang2cc4Node2_TE", !16, i64 8, !19, i64 48, !20, i64 64, !10, i64 72, !21, i64 80, !23, i64 88, !10, i64 96, !24, i64 104, !25, i64 120}
!16 = !{!"_ZTSN6langcc8hash_objE", !17, i64 0}
!17 = !{!"_ZTSN6langcc6Option2_TINS_7HashValEEE", !18, i64 0, !7, i64 4}
!18 = !{!"_ZTSN6langcc6Option2_WE", !7, i64 0}
!19 = !{!"_ZTSN6langcc24enable_rc_from_this_polyE", !6, i64 0, !6, i64 8}
!20 = !{!"_ZTSN4lang2cc4Node2_WE", !7, i64 0}
!21 = !{!"_ZTSN6langcc11TokenBoundsE", !22, i64 0, !22, i64 4}
!22 = !{!"int", !7, i64 0}
!23 = !{!"bool", !7, i64 0}
!24 = !{!"_ZTSN6langcc14ParserAttrMaskE", !7, i64 0}
!25 = !{!"_ZTSN6langcc15ParserLookaheadE", !7, i64 0}
!26 = !{i64 0, i64 4, !27, i64 4, i64 4, !27}
!27 = !{!22, !22, i64 0}
!28 = !{!15, !23, i64 88}
!29 = !{i8 0, i8 2}
!30 = !{}
!31 = !{!15, !10, i64 96}
!32 = !{i64 0, i64 16, !33}
!33 = !{!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.40" = 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.200" = type { ptr, ptr }
%"struct.langcc::rc_ptr.35" = 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::rc_ptr.287" = type { ptr, ptr }
%"struct.langcc::rc_ptr.41" = 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_ptrIN4lang2cc4Node3Mod2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

; 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_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_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEED2Ev(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_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

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

; 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_IN4lang2cc4Node3Mod2_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_ptrIN4lang2cc4Node3Mod2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #4 align 2

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_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_ptrINS_3VecINS0_IN4lang2cc4Node9TypedDecl4vars4item2_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_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEEC2INS3_9TypedDecl2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISA_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #6 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 #6 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
declare dso_local void @_ZN6langcc7make_rcINS_3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEEEJEEENS2_IT_EEDpT0_(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.200") align 8) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z19xformT_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEESt8functionIFNS0_INS3_2_TEEES9_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 #3 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"struct.langcc::rc_ptr.200", align 8
  %5 = alloca %"struct.langcc::rc_ptr.35", align 8
  %6 = alloca %"struct.langcc::rc_ptr.35", align 8
  %7 = alloca %"class.std::function.555", align 8
  %8 = alloca %"struct.langcc::rc_ptr.45", align 8
  %9 = alloca %"struct.langcc::rc_ptr.45", align 8
  %10 = alloca %"class.std::function.555", align 8
  %11 = alloca %"struct.langcc::rc_ptr.287", align 8
  %12 = alloca %"struct.langcc::rc_ptr.41", align 8
  %13 = alloca %"struct.langcc::rc_ptr.41", align 8
  %14 = alloca %"class.std::function.555", align 8
  %15 = alloca %"struct.langcc::rc_ptr.40", align 8
  %16 = alloca %"struct.langcc::ParserAttrMask", align 8
  %17 = alloca %"struct.langcc::ParserLookahead", align 8
  %18 = alloca %"struct.langcc::rc_ptr.200", align 8
  %19 = alloca %"struct.langcc::rc_ptr.45", align 8
  %20 = alloca %"struct.langcc::rc_ptr.287", align 8
  %21 = alloca %"struct.langcc::rc_ptr.21", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  call void @_ZN6langcc7make_rcINS_3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEEEJEEENS2_IT_EEDpT0_(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.200") align 8 %4)
  %22 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %23 = getelementptr inbounds i8, ptr %22, i64 136
  %24 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %23)
  %25 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %24)
  %26 = icmp sgt i64 %25, 0
  br i1 %26, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %3, %34
  %.034 = phi i64 [ %35, %34 ], [ 0, %3 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  %27 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %28 = getelementptr inbounds i8, ptr %27, i64 136
  %29 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %28)
  %30 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %29, i64 noundef %.034)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %30)
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %31 unwind label %41

31:                                               ; preds = %.lr.ph
  invoke void @_Z18xform_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEEESt8functionIFNS0_INS3_2_TEEES9_EE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.35") align 8 %5, ptr noundef nonnull %6, ptr noundef nonnull %7)
          to label %32 unwind label %43

32:                                               ; preds = %31
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  %33 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  invoke void @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE9push_backERKS7_(ptr noundef nonnull align 8 dereferenceable(64) %33, ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %34 unwind label %45

34:                                               ; preds = %32
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  %35 = add nuw nsw i64 %.034, 1
  %36 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %37 = getelementptr inbounds i8, ptr %36, i64 136
  %38 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %37)
  %39 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node3Mod2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %38)
  %40 = icmp slt i64 %35, %39
  br i1 %40, label %.lr.ph, label %._crit_edge, !llvm.loop !5

41:                                               ; preds = %.lr.ph
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %47

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

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

47:                                               ; preds = %41, %43, %45
  %.sink = phi ptr [ %5, %45 ], [ %6, %43 ], [ %6, %41 ]
  %.pn31 = phi { ptr, i32 } [ %46, %45 ], [ %44, %43 ], [ %42, %41 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node3Mod2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %.sink) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  br label %114

._crit_edge:                                      ; preds = %34, %3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #8
  %48 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %49 = getelementptr inbounds i8, ptr %48, i64 152
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %49)
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %50 unwind label %72

50:                                               ; preds = %._crit_edge
  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 %8, ptr noundef nonnull %9, ptr noundef nonnull %10)
          to label %51 unwind label %74

51:                                               ; preds = %50
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #8
  invoke void @_ZN6langcc7make_rcINS_3VecINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEEEEJEEENS2_IT_EEDpT0_(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.287") align 8 %11)
          to label %.preheader unwind label %76

.preheader:                                       ; preds = %51
  %52 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %53 = getelementptr inbounds i8, ptr %52, i64 168
  %54 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node9TypedDecl4vars4item2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %53)
  %55 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %54)
  %56 = icmp sgt i64 %55, 0
  br i1 %56, label %.lr.ph36, label %._crit_edge37

.lr.ph36:                                         ; preds = %.preheader, %65
  %.0735 = phi i64 [ %66, %65 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #8
  %57 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %58 = getelementptr inbounds i8, ptr %57, i64 168
  %59 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node9TypedDecl4vars4item2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %58)
  %60 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %59, i64 noundef %.0735)
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %60)
          to label %61 unwind label %78

61:                                               ; preds = %.lr.ph36
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %62 unwind label %80

62:                                               ; preds = %61
  invoke void @_Z18xform_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEESt8functionIFNS0_INS3_2_TEEESB_EE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.41") align 8 %12, ptr noundef nonnull %13, ptr noundef nonnull %14)
          to label %63 unwind label %82

63:                                               ; preds = %62
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #8
  %64 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node9TypedDecl4vars4item2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
  invoke void @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEEE9push_backERKS9_(ptr noundef nonnull align 8 dereferenceable(64) %64, ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %65 unwind label %85

65:                                               ; preds = %63
  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
  %66 = add nuw nsw i64 %.0735, 1
  %67 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %68 = getelementptr inbounds i8, ptr %67, i64 168
  %69 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node9TypedDecl4vars4item2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %68)
  %70 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %69)
  %71 = icmp slt i64 %66, %70
  br i1 %71, label %.lr.ph36, label %._crit_edge37, !llvm.loop !7

72:                                               ; preds = %._crit_edge
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %113

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

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

78:                                               ; preds = %.lr.ph36
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %87

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

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

84:                                               ; preds = %82, %80
  %.pn22 = phi { ptr, i32 } [ %83, %82 ], [ %81, %80 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #8
  br label %87

85:                                               ; preds = %63
  %86 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl4vars4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #8
  br label %87

87:                                               ; preds = %85, %84, %78
  %.pn24 = phi { ptr, i32 } [ %86, %85 ], [ %.pn22, %84 ], [ %79, %78 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #8
  br label %111

._crit_edge37:                                    ; preds = %65, %.preheader
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #8
  %88 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %89 = getelementptr inbounds i8, ptr %88, i64 72
  %90 = load i64, ptr %89, align 8, !tbaa !8
  %91 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %92 = getelementptr inbounds i8, ptr %91, i64 80
  %.sroa.0.0.copyload = load i64, ptr %92, align 8
  %93 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %94 = getelementptr inbounds i8, ptr %93, i64 88
  %95 = load i8, ptr %94, align 8, !tbaa !24, !range !25, !noundef !26
  %96 = trunc nuw i8 %95 to i1
  %97 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %98 = getelementptr inbounds i8, ptr %97, i64 96
  %99 = load i64, ptr %98, align 8, !tbaa !27
  %100 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %101 = getelementptr inbounds i8, ptr %100, i64 104
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %101, i64 16, i1 false), !tbaa.struct !28
  %102 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %103 = getelementptr inbounds i8, ptr %102, i64 120
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %103, i64 16, i1 false), !tbaa.struct !28
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %8)
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node9TypedDecl4vars4item2_TEEEEEEC2ERKSB_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(16) %11)
  invoke void @_ZN4lang2cc4Node9TypedDecl4makeElN6langcc11TokenBoundsEblNS3_14ParserAttrMaskENS3_15ParserLookaheadENS3_6rc_ptrINS3_3VecINS7_INS1_3Mod2_TEEEEEEENS7_INS1_4Expr2_TEEENS7_INS8_INS7_INS2_4vars4item2_TEEEEEEE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.40") align 8 %15, i64 noundef %90, i64 %.sroa.0.0.copyload, i1 noundef zeroext %96, i64 noundef %99, ptr noundef nonnull byval(%"struct.langcc::ParserAttrMask") align 8 %16, ptr noundef nonnull byval(%"struct.langcc::ParserLookahead") align 8 %17, ptr noundef nonnull %18, ptr noundef nonnull %19, ptr noundef nonnull %20)
          to label %104 unwind label %106

104:                                              ; preds = %._crit_edge37
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node9TypedDecl4vars4item2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEEC2INS3_9TypedDecl2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISA_EE(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(16) %15)
  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 %21)
          to label %105 unwind label %108

105:                                              ; preds = %104
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #8
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node9TypedDecl4vars4item2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  ret void

106:                                              ; preds = %._crit_edge37
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node9TypedDecl4vars4item2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #8
  br label %110

108:                                              ; preds = %104
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node9TypedDecl2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #8
  br label %110

110:                                              ; preds = %108, %106
  %.pn20 = phi { ptr, i32 } [ %109, %108 ], [ %107, %106 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #8
  br label %111

111:                                              ; preds = %110, %87
  %.pn24.pn = phi { ptr, i32 } [ %.pn24, %87 ], [ %.pn20, %110 ]
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node9TypedDecl4vars4item2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #8
  br label %112

112:                                              ; preds = %111, %76
  %.pn24.pn.pn = phi { ptr, i32 } [ %.pn24.pn, %111 ], [ %77, %76 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  br label %113

113:                                              ; preds = %72, %74, %112
  %.sink38 = phi ptr [ %8, %112 ], [ %9, %74 ], [ %9, %72 ]
  %.pn24.pn.pn.pn = phi { ptr, i32 } [ %.pn24.pn.pn, %112 ], [ %75, %74 ], [ %73, %72 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %.sink38) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  br label %114

114:                                              ; preds = %113, %47
  %.pn31.pn = phi { ptr, i32 } [ %.pn31, %47 ], [ %.pn24.pn.pn.pn, %113 ]
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  resume { ptr, i32 } %.pn31.pn
}

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

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

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


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