; LLVM IR from jzimmerman/langcc :: gen/meta (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.49" = type { ptr, ptr }
%"class.std::function.495" = 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.46" = type { ptr, ptr }
%"struct.langcc::rc_ptr.33" = type { ptr, ptr }
%"struct.langcc::rc_ptr.44" = type { ptr, ptr }
%"struct.langcc::rc_ptr.21" = type { ptr, ptr }
%"struct.lang::meta::Node::ParserDecl::Rule::_T" = type { %"struct.lang::meta::Node::ParserDecl::_T.base", %"struct.langcc::rc_ptr.49", %"struct.langcc::Option::_T.470", %"struct.langcc::rc_ptr.33", %"struct.langcc::rc_ptr.44" }
%"struct.lang::meta::Node::ParserDecl::_T.base" = type <{ %"struct.lang::meta::Node::_T", i32 }>
%"struct.lang::meta::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 }
%"struct.langcc::TokenBounds" = type { i32, i32 }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::Option::_T.470" = type { i32, [16 x i8] }

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: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2op2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z20visit_lang_meta_NodeN6langcc6rc_ptrIN4lang4meta4Node2Id2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z20visit_lang_meta_NodeN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z20visit_lang_meta_NodeN6langcc6rc_ptrIN4lang4meta4Node7AttrReq2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef, ptr noundef) #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang4meta4Node7AttrReq2_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_ptrIN4lang4meta4Node7AttrReq2_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_ptrIN4lang4meta4Node7AttrReq2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z20visit_lang_meta_NodeN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2op2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_Z20visit_lang_meta_NodeN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef %0, ptr noundef %1) #3 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.langcc::rc_ptr.49", align 8
  %6 = alloca %"class.std::function.495", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca %"struct.langcc::rc_ptr.46", align 8
  %11 = alloca %"class.std::function.495", align 8
  %12 = alloca %"struct.langcc::rc_ptr.33", align 8
  %13 = alloca %"class.std::function.495", align 8
  %14 = alloca %"struct.langcc::rc_ptr.44", align 8
  %15 = alloca %"class.std::function.495", align 8
  %16 = alloca %"struct.langcc::rc_ptr.21", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %17 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %18 = getelementptr inbounds %"struct.lang::meta::Node::ParserDecl::Rule::_T", ptr %17, i32 0, i32 1
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node2Id2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %18)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang4meta4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %19 unwind label %45

19:                                               ; preds = %2
  invoke void @_Z20visit_lang_meta_NodeN6langcc6rc_ptrIN4lang4meta4Node2Id2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef %5, ptr noundef %6)
          to label %20 unwind label %49

20:                                               ; preds = %19
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node2Id2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  %21 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %22 = getelementptr inbounds %"struct.lang::meta::Node::ParserDecl::Rule::_T", ptr %21, i32 0, i32 2
  %23 = call noundef zeroext i1 @_ZNK6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang4meta4Node7AttrReq2_TEEEEEEEE7is_someEv(ptr noundef nonnull align 4 dereferenceable(20) %22)
  br i1 %23, label %24, label %64

24:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  store i64 0, ptr %9, align 8, !tbaa !9
  store i64 0, ptr %9, align 8, !tbaa !9
  br label %25

25:                                               ; preds = %42, %24
  %26 = load i64, ptr %9, align 8, !tbaa !9
  %27 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %28 = getelementptr inbounds %"struct.lang::meta::Node::ParserDecl::Rule::_T", ptr %27, i32 0, i32 2
  %29 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang4meta4Node7AttrReq2_TEEEEEEEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(20) %28)
  %30 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node7AttrReq2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %29)
  %31 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang4meta4Node7AttrReq2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %30)
  %32 = icmp slt i64 %26, %31
  br i1 %32, label %33, label %63

33:                                               ; preds = %25
  %34 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %35 = getelementptr inbounds %"struct.lang::meta::Node::ParserDecl::Rule::_T", ptr %34, i32 0, i32 2
  %36 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang4meta4Node7AttrReq2_TEEEEEEEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(20) %35)
  %37 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node7AttrReq2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %36)
  %38 = load i64, ptr %9, align 8, !tbaa !9
  %39 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang4meta4Node7AttrReq2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %37, i64 noundef %38)
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node7AttrReq2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %39)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang4meta4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %40 unwind label %54

40:                                               ; preds = %33
  invoke void @_Z20visit_lang_meta_NodeN6langcc6rc_ptrIN4lang4meta4Node7AttrReq2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef %10, ptr noundef %11)
          to label %41 unwind label %58

41:                                               ; preds = %40
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node7AttrReq2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  br label %42

42:                                               ; preds = %41
  %43 = load i64, ptr %9, align 8, !tbaa !9
  %44 = add nsw i64 %43, 1
  store i64 %44, ptr %9, align 8, !tbaa !9
  br label %25, !llvm.loop !11

45:                                               ; preds = %2
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %7, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %8, align 4
  br label %53

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

53:                                               ; preds = %49, %45
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node2Id2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  br label %96

54:                                               ; preds = %33
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %7, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %8, align 4
  br label %62

58:                                               ; preds = %40
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %7, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %8, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  br label %62

62:                                               ; preds = %58, %54
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node7AttrReq2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  br label %96

63:                                               ; preds = %25
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  br label %64

64:                                               ; preds = %63, %20
  %65 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %66 = getelementptr inbounds %"struct.lang::meta::Node::ParserDecl::Rule::_T", ptr %65, i32 0, i32 3
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2op2_TEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %66)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang4meta4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %67 unwind label %74

67:                                               ; preds = %64
  invoke void @_Z20visit_lang_meta_NodeN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2op2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef %12, ptr noundef %13)
          to label %68 unwind label %78

68:                                               ; preds = %67
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2op2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  %69 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %70 = getelementptr inbounds %"struct.lang::meta::Node::ParserDecl::Rule::_T", ptr %69, i32 0, i32 4
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %70)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang4meta4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %71 unwind label %83

71:                                               ; preds = %68
  invoke void @_Z20visit_lang_meta_NodeN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef %14, ptr noundef %15)
          to label %72 unwind label %87

72:                                               ; preds = %71
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #7
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node2_TEEC2INS3_10ParserDecl4Rule2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISB_EE(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %0)
  invoke void @_ZNKSt8functionIFvN6langcc6rc_ptrIN4lang4meta4Node2_TEEEEEclES6_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef %16)
          to label %73 unwind label %92

73:                                               ; preds = %72
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  ret void

74:                                               ; preds = %64
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %7, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %8, align 4
  br label %82

78:                                               ; preds = %67
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %7, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %8, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  br label %82

82:                                               ; preds = %78, %74
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2op2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  br label %96

83:                                               ; preds = %68
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %7, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %8, align 4
  br label %91

87:                                               ; preds = %71
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %7, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %8, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  br label %91

91:                                               ; preds = %87, %83
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #7
  br label %96

92:                                               ; preds = %72
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %7, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %8, align 4
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  br label %96

96:                                               ; preds = %92, %91, %82, %62, %53
  %97 = load ptr, ptr %7, align 8
  %98 = load i32, ptr %8, align 4
  %99 = insertvalue { ptr, i32 } poison, ptr %97, 0
  %100 = insertvalue { ptr, i32 } %99, i32 %98, 1
  resume { ptr, i32 } %100
}

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = { 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 = { 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"}


; 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.49" = type { ptr, ptr }
%"class.std::function.495" = 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.46" = type { ptr, ptr }
%"struct.langcc::rc_ptr.33" = type { ptr, ptr }
%"struct.langcc::rc_ptr.44" = type { ptr, ptr }
%"struct.langcc::rc_ptr.21" = type { ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z20visit_lang_meta_NodeN6langcc6rc_ptrIN4lang4meta4Node2Id2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z20visit_lang_meta_NodeN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z20visit_lang_meta_NodeN6langcc6rc_ptrIN4lang4meta4Node7AttrReq2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z20visit_lang_meta_NodeN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2op2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z20visit_lang_meta_NodeN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef nonnull %0, ptr noundef %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.langcc::rc_ptr.49", align 8
  %4 = alloca %"class.std::function.495", align 8
  %5 = alloca %"struct.langcc::rc_ptr.46", align 8
  %6 = alloca %"class.std::function.495", align 8
  %7 = alloca %"struct.langcc::rc_ptr.33", align 8
  %8 = alloca %"class.std::function.495", align 8
  %9 = alloca %"struct.langcc::rc_ptr.44", align 8
  %10 = alloca %"class.std::function.495", align 8
  %11 = alloca %"struct.langcc::rc_ptr.21", align 8
  %12 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %13 = getelementptr inbounds i8, ptr %12, i64 144
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node2Id2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %13)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang4meta4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %14 unwind label %39

14:                                               ; preds = %2
  invoke void @_Z20visit_lang_meta_NodeN6langcc6rc_ptrIN4lang4meta4Node2Id2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef nonnull %3, ptr noundef nonnull %4)
          to label %15 unwind label %41

15:                                               ; preds = %14
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node2Id2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  %16 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %17 = getelementptr inbounds i8, ptr %16, i64 160
  %18 = call noundef zeroext i1 @_ZNK6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang4meta4Node7AttrReq2_TEEEEEEEE7is_someEv(ptr noundef nonnull align 4 dereferenceable(20) %17)
  br i1 %18, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %15
  %19 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %20 = getelementptr inbounds i8, ptr %19, i64 160
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang4meta4Node7AttrReq2_TEEEEEEEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(20) %20)
  %22 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node7AttrReq2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %21)
  %23 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang4meta4Node7AttrReq2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %22)
  %24 = icmp sgt i64 %23, 0
  br i1 %24, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %.preheader, %31
  %.018 = phi i64 [ %32, %31 ], [ 0, %.preheader ]
  %25 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %26 = getelementptr inbounds i8, ptr %25, i64 160
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang4meta4Node7AttrReq2_TEEEEEEEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(20) %26)
  %28 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node7AttrReq2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %27)
  %29 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang4meta4Node7AttrReq2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %28, i64 noundef %.018)
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node7AttrReq2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %29)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang4meta4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %30 unwind label %44

30:                                               ; preds = %.lr.ph
  invoke void @_Z20visit_lang_meta_NodeN6langcc6rc_ptrIN4lang4meta4Node7AttrReq2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef nonnull %5, ptr noundef nonnull %6)
          to label %31 unwind label %46

31:                                               ; preds = %30
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node7AttrReq2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  %32 = add nuw nsw i64 %.018, 1
  %33 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %34 = getelementptr inbounds i8, ptr %33, i64 160
  %35 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6Option2_TINS_6rc_ptrINS_3VecINS2_IN4lang4meta4Node7AttrReq2_TEEEEEEEE7as_someEv(ptr noundef nonnull align 4 dereferenceable(20) %34)
  %36 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node7AttrReq2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %35)
  %37 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang4meta4Node7AttrReq2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %36)
  %38 = icmp slt i64 %32, %37
  br i1 %38, label %.lr.ph, label %.loopexit, !llvm.loop !5

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

41:                                               ; preds = %14
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  br label %43

43:                                               ; preds = %41, %39
  %.pn = phi { ptr, i32 } [ %42, %41 ], [ %40, %39 ]
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node2Id2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  br label %70

44:                                               ; preds = %.lr.ph
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %48

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

48:                                               ; preds = %46, %44
  %.pn15 = phi { ptr, i32 } [ %47, %46 ], [ %45, %44 ]
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node7AttrReq2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  br label %70

.loopexit:                                        ; preds = %31, %.preheader, %15
  %49 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %50 = getelementptr inbounds i8, ptr %49, i64 184
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2op2_TEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %50)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang4meta4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %51 unwind label %58

51:                                               ; preds = %.loopexit
  invoke void @_Z20visit_lang_meta_NodeN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2op2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef nonnull %7, ptr noundef nonnull %8)
          to label %52 unwind label %60

52:                                               ; preds = %51
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2op2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  %53 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %54 = getelementptr inbounds i8, ptr %53, i64 200
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %54)
  invoke void @_ZNSt8functionIFvN6langcc6rc_ptrIN4lang4meta4Node2_TEEEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %55 unwind label %63

55:                                               ; preds = %52
  invoke void @_Z20visit_lang_meta_NodeN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEEESt8functionIFvNS0_INS3_2_TEEEEE(ptr noundef nonnull %9, ptr noundef nonnull %10)
          to label %56 unwind label %65

56:                                               ; preds = %55
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node2_TEEC2INS3_10ParserDecl4Rule2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISB_EE(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %0)
  invoke void @_ZNKSt8functionIFvN6langcc6rc_ptrIN4lang4meta4Node2_TEEEEEclES6_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull %11)
          to label %57 unwind label %68

57:                                               ; preds = %56
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  ret void

58:                                               ; preds = %.loopexit
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %62

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

62:                                               ; preds = %60, %58
  %.pn11 = phi { ptr, i32 } [ %61, %60 ], [ %59, %58 ]
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node10ParserDecl4Rule2op2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  br label %70

63:                                               ; preds = %52
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %67

65:                                               ; preds = %55
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  br label %67

67:                                               ; preds = %65, %63
  %.pn13 = phi { ptr, i32 } [ %66, %65 ], [ %64, %63 ]
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9ParseExpr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  br label %70

68:                                               ; preds = %56
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  br label %70

70:                                               ; preds = %68, %67, %62, %48, %43
  %.pn15.pn = phi { ptr, i32 } [ %.pn15, %48 ], [ %69, %68 ], [ %.pn13, %67 ], [ %.pn11, %62 ], [ %.pn, %43 ]
  resume { ptr, i32 } %.pn15.pn
}

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

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

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

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

!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"}


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