; 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.36" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::rc_ptr.21" = type { ptr, ptr }
%"struct.langcc::rc_ptr.519" = type { ptr, ptr }
%"struct.langcc::rc_ptr.37" = 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::TokenBounds" = type { i32, i32 }
%"struct.lang::cc::Node::Decl::UsingAlias::tmpl::item::_T" = type { %"struct.lang::cc::Node::_T", %"struct.langcc::rc_ptr.519" }
%"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_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4lang2cc4Node4Decl10UsingAlias4tmpl4item4makeElN6langcc11TokenBoundsEblNS6_14ParserAttrMaskENS6_15ParserLookaheadENS6_6rc_ptrINS6_3VecINSA_INS5_4args4item2_TEEEEEEE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.36") 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) #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_IN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_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_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64), i64 noundef) #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEC2ERKSB_(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_4Decl10UsingAlias4tmpl4item2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISD_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 @_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
define dso_local void @_Z19xformT_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_TEEESt8functionIFNS0_INS3_2_TEEESC_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.519", align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"struct.langcc::rc_ptr.37", align 8
  %12 = alloca %"struct.langcc::rc_ptr.37", align 8
  %13 = alloca %"class.std::function.555", align 8
  %14 = alloca %"struct.langcc::rc_ptr.36", align 8
  %15 = alloca %"struct.langcc::TokenBounds", align 4
  %16 = alloca %"struct.langcc::ParserAttrMask", align 8
  %17 = alloca %"struct.langcc::ParserLookahead", align 8
  %18 = alloca %"struct.langcc::rc_ptr.519", align 8
  %19 = 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_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEEEJEEENS2_IT_EEDpT0_(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.519") 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 %20

20:                                               ; preds = %45, %3
  %21 = load i64, ptr %8, align 8, !tbaa !9
  %22 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %23 unwind label %48

23:                                               ; preds = %20
  %24 = getelementptr inbounds %"struct.lang::cc::Node::Decl::UsingAlias::tmpl::item::_T", ptr %22, i32 0, i32 1
  %25 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %24)
          to label %26 unwind label %48

26:                                               ; preds = %23
  %27 = invoke noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %25)
          to label %28 unwind label %48

28:                                               ; preds = %26
  %29 = icmp slt i64 %21, %27
  br i1 %29, label %30, label %70

30:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #8
  %31 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %32 unwind label %52

32:                                               ; preds = %30
  %33 = getelementptr inbounds %"struct.lang::cc::Node::Decl::UsingAlias::tmpl::item::_T", ptr %31, i32 0, i32 1
  %34 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %33)
          to label %35 unwind label %52

35:                                               ; preds = %32
  %36 = load i64, ptr %8, align 8, !tbaa !9
  %37 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %34, i64 noundef %36)
          to label %38 unwind label %52

38:                                               ; preds = %35
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEC2ERKSB_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %37)
          to label %39 unwind label %52

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

40:                                               ; preds = %39
  invoke void @_Z18xform_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEESt8functionIFNS0_INS3_2_TEEESE_EE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.37") align 8 %11, ptr noundef %12, ptr noundef %13)
          to label %41 unwind label %60

41:                                               ; preds = %40
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #8
  %42 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %43 unwind label %65

43:                                               ; preds = %41
  invoke void @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEE9push_backERKSC_(ptr noundef nonnull align 8 dereferenceable(64) %42, ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %44 unwind label %65

44:                                               ; preds = %43
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #8
  br label %45

45:                                               ; preds = %44
  %46 = load i64, ptr %8, align 8, !tbaa !9
  %47 = add nsw i64 %46, 1
  store i64 %47, ptr %8, align 8, !tbaa !9
  br label %20, !llvm.loop !11

48:                                               ; preds = %26, %23, %20
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %9, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %10, align 4
  br label %116

52:                                               ; preds = %38, %35, %32, %30
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %9, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %10, align 4
  br label %69

56:                                               ; preds = %39
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %9, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %10, align 4
  br label %64

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

64:                                               ; preds = %60, %56
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #8
  br label %69

65:                                               ; preds = %43, %41
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %9, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %10, align 4
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #8
  br label %69

69:                                               ; preds = %65, %64, %52
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #8
  br label %116

70:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #8
  %71 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %72 unwind label %98

72:                                               ; preds = %70
  %73 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %71, i32 0, i32 4
  %74 = load i64, ptr %73, align 8, !tbaa !13
  %75 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %76 unwind label %98

76:                                               ; preds = %72
  %77 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %75, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 8 %77, i64 8, i1 false), !tbaa.struct !25
  %78 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %79 unwind label %98

79:                                               ; preds = %76
  %80 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %78, i32 0, i32 6
  %81 = load i8, ptr %80, align 8, !tbaa !27, !range !28, !noundef !29
  %82 = trunc i8 %81 to i1
  %83 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %84 unwind label %98

84:                                               ; preds = %79
  %85 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %83, i32 0, i32 7
  %86 = load i64, ptr %85, align 8, !tbaa !30
  %87 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %88 unwind label %98

88:                                               ; preds = %84
  %89 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %87, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %16, ptr align 8 %89, i64 16, i1 false), !tbaa.struct !31
  %90 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %91 unwind label %98

91:                                               ; preds = %88
  %92 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %90, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %17, ptr align 8 %92, i64 16, i1 false), !tbaa.struct !31
  invoke void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEEEEC2ERKSE_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %93 unwind label %98

93:                                               ; preds = %91
  %94 = load i64, ptr %15, align 4
  invoke void @_ZN4lang2cc4Node4Decl10UsingAlias4tmpl4item4makeElN6langcc11TokenBoundsEblNS6_14ParserAttrMaskENS6_15ParserLookaheadENS6_6rc_ptrINS6_3VecINSA_INS5_4args4item2_TEEEEEEE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.36") align 8 %14, i64 noundef %74, i64 %94, i1 noundef zeroext %82, i64 noundef %86, ptr noundef byval(%"struct.langcc::ParserAttrMask") align 8 %16, ptr noundef byval(%"struct.langcc::ParserLookahead") align 8 %17, ptr noundef %18)
          to label %95 unwind label %102

95:                                               ; preds = %93
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #8
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEEC2INS3_4Decl10UsingAlias4tmpl4item2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISD_EE(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %96 unwind label %106

96:                                               ; preds = %95
  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 %19)
          to label %97 unwind label %110

97:                                               ; preds = %96
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_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_IN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #8
  ret void

98:                                               ; preds = %91, %88, %84, %79, %76, %72, %70
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %9, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %10, align 4
  br label %115

102:                                              ; preds = %93
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %9, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %10, align 4
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #8
  br label %115

106:                                              ; preds = %95
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %9, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %10, align 4
  br label %114

110:                                              ; preds = %96
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %9, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %10, align 4
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  br label %114

114:                                              ; preds = %110, %106
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  br label %115

115:                                              ; preds = %114, %102, %98
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  br label %116

116:                                              ; preds = %115, %69, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #8
  br label %117

117:                                              ; preds = %116
  %118 = load ptr, ptr %9, align 8
  %119 = load i32, ptr %10, align 4
  %120 = insertvalue { ptr, i32 } poison, ptr %118, 0
  %121 = insertvalue { ptr, i32 } %120, i32 %119, 1
  resume { ptr, i32 } %121
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEE9push_backERKSC_(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_IN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEEEEC2ERKSE_(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_IN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_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 = !{!14, !10, i64 72}
!14 = !{!"_ZTSN4lang2cc4Node2_TE", !15, i64 8, !18, i64 48, !19, i64 64, !10, i64 72, !20, i64 80, !22, i64 88, !10, i64 96, !23, i64 104, !24, i64 120}
!15 = !{!"_ZTSN6langcc8hash_objE", !16, i64 0}
!16 = !{!"_ZTSN6langcc6Option2_TINS_7HashValEEE", !17, i64 0, !7, i64 4}
!17 = !{!"_ZTSN6langcc6Option2_WE", !7, i64 0}
!18 = !{!"_ZTSN6langcc24enable_rc_from_this_polyE", !6, i64 0, !6, i64 8}
!19 = !{!"_ZTSN4lang2cc4Node2_WE", !7, i64 0}
!20 = !{!"_ZTSN6langcc11TokenBoundsE", !21, i64 0, !21, i64 4}
!21 = !{!"int", !7, i64 0}
!22 = !{!"bool", !7, i64 0}
!23 = !{!"_ZTSN6langcc14ParserAttrMaskE", !7, i64 0}
!24 = !{!"_ZTSN6langcc15ParserLookaheadE", !7, i64 0}
!25 = !{i64 0, i64 4, !26, i64 4, i64 4, !26}
!26 = !{!21, !21, i64 0}
!27 = !{!14, !22, i64 88}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = !{!14, !10, i64 96}
!31 = !{i64 0, i64 16, !32}
!32 = !{!7, !7, i64 0}


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

%"struct.langcc::rc_ptr.36" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::rc_ptr.21" = type { ptr, ptr }
%"struct.langcc::rc_ptr.519" = type { ptr, ptr }
%"struct.langcc::rc_ptr.37" = 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 } }

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4lang2cc4Node4Decl10UsingAlias4tmpl4item4makeElN6langcc11TokenBoundsEblNS6_14ParserAttrMaskENS6_15ParserLookaheadENS6_6rc_ptrINS6_3VecINSA_INS5_4args4item2_TEEEEEEE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.36") 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) 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_IN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_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_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_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_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_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_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEC2ERKSB_(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_4Decl10UsingAlias4tmpl4item2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISD_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 @_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
define dso_local void @_Z19xformT_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_TEEESt8functionIFNS0_INS3_2_TEEESC_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.519", align 8
  %5 = alloca %"struct.langcc::rc_ptr.37", align 8
  %6 = alloca %"struct.langcc::rc_ptr.37", align 8
  %7 = alloca %"class.std::function.555", align 8
  %8 = alloca %"struct.langcc::rc_ptr.36", align 8
  %9 = alloca %"struct.langcc::ParserAttrMask", align 8
  %10 = alloca %"struct.langcc::ParserLookahead", align 8
  %11 = alloca %"struct.langcc::rc_ptr.519", align 8
  %12 = 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_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEEEJEEENS2_IT_EEDpT0_(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.519") align 8 %4)
  %13 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %14 = getelementptr inbounds i8, ptr %13, i64 136
  %15 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %14)
  %16 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %15)
  %17 = icmp sgt i64 %16, 0
  br i1 %17, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %3, %26
  %.015 = phi i64 [ %27, %26 ], [ 0, %3 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  %18 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %19 = getelementptr inbounds i8, ptr %18, i64 136
  %20 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %19)
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %20, i64 noundef %.015)
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEC2ERKSB_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %22 unwind label %33

22:                                               ; preds = %.lr.ph
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %23 unwind label %35

23:                                               ; preds = %22
  invoke void @_Z18xform_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEESt8functionIFNS0_INS3_2_TEEESE_EE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.37") align 8 %5, ptr noundef nonnull %6, ptr noundef nonnull %7)
          to label %24 unwind label %37

24:                                               ; preds = %23
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  %25 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  invoke void @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEE9push_backERKSC_(ptr noundef nonnull align 8 dereferenceable(64) %25, ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %26 unwind label %40

26:                                               ; preds = %24
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  %27 = add nuw nsw i64 %.015, 1
  %28 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %29 = getelementptr inbounds i8, ptr %28, i64 136
  %30 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %29)
  %31 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %30)
  %32 = icmp slt i64 %27, %31
  br i1 %32, label %.lr.ph, label %._crit_edge, !llvm.loop !5

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

35:                                               ; preds = %22
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %39

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

39:                                               ; preds = %37, %35
  %.pn10 = phi { ptr, i32 } [ %38, %37 ], [ %36, %35 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  br label %42

40:                                               ; preds = %24
  %41 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  br label %42

42:                                               ; preds = %40, %39, %33
  %.pn12 = phi { ptr, i32 } [ %41, %40 ], [ %.pn10, %39 ], [ %34, %33 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  br label %66

._crit_edge:                                      ; preds = %26, %3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #8
  %43 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %44 = getelementptr inbounds i8, ptr %43, i64 72
  %45 = load i64, ptr %44, align 8, !tbaa !7
  %46 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %47 = getelementptr inbounds i8, ptr %46, i64 80
  %.sroa.0.0.copyload = load i64, ptr %47, align 8
  %48 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %49 = getelementptr inbounds i8, ptr %48, i64 88
  %50 = load i8, ptr %49, align 8, !tbaa !23, !range !24, !noundef !25
  %51 = trunc nuw i8 %50 to i1
  %52 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %53 = getelementptr inbounds i8, ptr %52, i64 96
  %54 = load i64, ptr %53, align 8, !tbaa !26
  %55 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %56 = getelementptr inbounds i8, ptr %55, i64 104
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %56, i64 16, i1 false), !tbaa.struct !27
  %57 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %58 = getelementptr inbounds i8, ptr %57, i64 120
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %58, i64 16, i1 false), !tbaa.struct !27
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEEEEC2ERKSE_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %4)
  invoke void @_ZN4lang2cc4Node4Decl10UsingAlias4tmpl4item4makeElN6langcc11TokenBoundsEblNS6_14ParserAttrMaskENS6_15ParserLookaheadENS6_6rc_ptrINS6_3VecINSA_INS5_4args4item2_TEEEEEEE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.36") align 8 %8, i64 noundef %45, i64 %.sroa.0.0.copyload, i1 noundef zeroext %51, i64 noundef %54, ptr noundef nonnull byval(%"struct.langcc::ParserAttrMask") align 8 %9, ptr noundef nonnull byval(%"struct.langcc::ParserLookahead") align 8 %10, ptr noundef nonnull %11)
          to label %59 unwind label %61

59:                                               ; preds = %._crit_edge
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEEC2INS3_4Decl10UsingAlias4tmpl4item2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISD_EE(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %8)
  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 %12)
          to label %60 unwind label %63

60:                                               ; preds = %59
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_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_IN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  ret void

61:                                               ; preds = %._crit_edge
  %62 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #8
  br label %65

63:                                               ; preds = %59
  %64 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #8
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10UsingAlias4tmpl4item2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  br label %65

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

66:                                               ; preds = %65, %42
  %.pn12.pn = phi { ptr, i32 } [ %.pn12, %42 ], [ %.pn, %65 ]
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Decl10UsingAlias4tmpl4item4args4item2_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 } %.pn12.pn
}

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

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

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


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