; 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.153" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::rc_ptr.45" = type { ptr, ptr }
%"struct.langcc::rc_ptr.21" = type { ptr, ptr }
%"struct.langcc::rc_ptr.419" = type { ptr, ptr }
%"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::EnumStruct::_T" = type { %"struct.lang::cc::Node::Decl::_T.base", %"struct.langcc::rc_ptr.45", %"struct.langcc::rc_ptr.419" }
%"struct.lang::cc::Node::Decl::_T.base" = type <{ %"struct.lang::cc::Node::_T", i32 }>
%"struct.lang::cc::Node::_T" = type { ptr, %"struct.langcc::hash_obj", %"struct.langcc::enable_rc_from_this_poly", i32, i64, %"struct.langcc::TokenBounds", i8, i64, %"struct.langcc::ParserAttrMask", %"struct.langcc::ParserLookahead" }
%"struct.langcc::hash_obj" = type { %"struct.langcc::Option::_T" }
%"struct.langcc::Option::_T" = type { i32, [32 x i8] }
%"struct.langcc::enable_rc_from_this_poly" = type { ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEEC2INS3_4Decl10EnumStruct2_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 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 #5 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_ptrIN4lang2cc4Node4Expr2_TEEEEEJEEENS2_IT_EEDpT0_(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.419") align 8) #3

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z19xformT_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEEESt8functionIFNS0_INS3_2_TEEESA_EE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.21") align 8 %0, ptr noundef %1, ptr noundef %2) #3 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"struct.langcc::rc_ptr.45", align 8
  %8 = alloca %"struct.langcc::rc_ptr.45", align 8
  %9 = alloca %"class.std::function.555", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"struct.langcc::rc_ptr.419", align 8
  %13 = alloca i64, 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.153", align 8
  %18 = alloca %"struct.langcc::TokenBounds", align 4
  %19 = alloca %"struct.langcc::ParserAttrMask", align 8
  %20 = alloca %"struct.langcc::ParserLookahead", align 8
  %21 = alloca %"struct.langcc::rc_ptr.45", align 8
  %22 = alloca %"struct.langcc::rc_ptr.419", align 8
  %23 = alloca %"struct.langcc::rc_ptr.21", align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #7
  %24 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %25 = getelementptr inbounds %"struct.lang::cc::Node::Decl::EnumStruct::_T", ptr %24, i32 0, i32 1
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %25)
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %26 unwind label %57

26:                                               ; preds = %3
  invoke void @_Z18xform_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEESt8functionIFNS0_INS3_2_TEEES9_EE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.45") align 8 %7, ptr noundef %8, ptr noundef %9)
          to label %27 unwind label %61

27:                                               ; preds = %26
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  invoke void @_ZN6langcc7make_rcINS_3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEEEJEEENS2_IT_EEDpT0_(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.419") align 8 %12)
          to label %28 unwind label %66

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

29:                                               ; preds = %54, %28
  %30 = load i64, ptr %13, align 8, !tbaa !9
  %31 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %32 unwind label %70

32:                                               ; preds = %29
  %33 = getelementptr inbounds %"struct.lang::cc::Node::Decl::EnumStruct::_T", ptr %31, i32 0, i32 2
  %34 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %33)
          to label %35 unwind label %70

35:                                               ; preds = %32
  %36 = invoke noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %34)
          to label %37 unwind label %70

37:                                               ; preds = %35
  %38 = icmp slt i64 %30, %36
  br i1 %38, label %39, label %92

39:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #7
  %40 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %41 unwind label %74

41:                                               ; preds = %39
  %42 = getelementptr inbounds %"struct.lang::cc::Node::Decl::EnumStruct::_T", ptr %40, i32 0, i32 2
  %43 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %42)
          to label %44 unwind label %74

44:                                               ; preds = %41
  %45 = load i64, ptr %13, align 8, !tbaa !9
  %46 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %43, i64 noundef %45)
          to label %47 unwind label %74

47:                                               ; preds = %44
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %46)
          to label %48 unwind label %74

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

49:                                               ; preds = %48
  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 %50 unwind label %82

50:                                               ; preds = %49
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  %51 = invoke noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %52 unwind label %87

52:                                               ; preds = %50
  invoke void @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE9push_backERKS7_(ptr noundef nonnull align 8 dereferenceable(64) %51, ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %53 unwind label %87

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

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

57:                                               ; preds = %3
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %10, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %11, align 4
  br label %65

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

65:                                               ; preds = %61, %57
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  br label %146

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

70:                                               ; preds = %35, %32, %29
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %10, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %11, align 4
  br label %144

74:                                               ; preds = %47, %44, %41, %39
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %10, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %11, align 4
  br label %91

78:                                               ; preds = %48
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %10, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %11, align 4
  br label %86

82:                                               ; preds = %49
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %10, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %11, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  br label %86

86:                                               ; preds = %82, %78
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  br label %91

87:                                               ; preds = %52, %50
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %10, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %11, align 4
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #7
  br label %91

91:                                               ; preds = %87, %86, %74
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #7
  br label %144

92:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #7
  %93 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %94 unwind label %121

94:                                               ; preds = %92
  %95 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %93, i32 0, i32 4
  %96 = load i64, ptr %95, align 8, !tbaa !13
  %97 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %98 unwind label %121

98:                                               ; preds = %94
  %99 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %97, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 8 %99, i64 8, i1 false), !tbaa.struct !25
  %100 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %101 unwind label %121

101:                                              ; preds = %98
  %102 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %100, i32 0, i32 6
  %103 = load i8, ptr %102, align 8, !tbaa !27, !range !28, !noundef !29
  %104 = trunc i8 %103 to i1
  %105 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %106 unwind label %121

106:                                              ; preds = %101
  %107 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %105, i32 0, i32 7
  %108 = load i64, ptr %107, align 8, !tbaa !30
  %109 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %110 unwind label %121

110:                                              ; preds = %106
  %111 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %109, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %19, ptr align 8 %111, i64 16, i1 false), !tbaa.struct !31
  %112 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %113 unwind label %121

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

115:                                              ; preds = %113
  invoke void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %116 unwind label %125

116:                                              ; preds = %115
  %117 = load i64, ptr %18, align 4
  invoke void @_ZN4lang2cc4Node4Decl10EnumStruct4makeElN6langcc11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_6rc_ptrINS1_4Expr2_TEEENS8_INS4_3VecISB_EEEE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.153") align 8 %17, i64 noundef %96, i64 %117, i1 noundef zeroext %104, i64 noundef %108, ptr noundef byval(%"struct.langcc::ParserAttrMask") align 8 %19, ptr noundef byval(%"struct.langcc::ParserLookahead") align 8 %20, ptr noundef %21, ptr noundef %22)
          to label %118 unwind label %129

118:                                              ; preds = %116
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #7
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEEC2INS3_4Decl10EnumStruct2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISB_EE(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %119 unwind label %134

119:                                              ; preds = %118
  invoke void @_ZNKSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEclES6_(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.21") align 8 %0, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef %23)
          to label %120 unwind label %138

120:                                              ; preds = %119
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #7
  ret void

121:                                              ; preds = %113, %110, %106, %101, %98, %94, %92
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %10, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %11, align 4
  br label %143

125:                                              ; preds = %115
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %10, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %11, align 4
  br label %133

129:                                              ; preds = %116
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %10, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %11, align 4
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #7
  br label %133

133:                                              ; preds = %129, %125
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #7
  br label %143

134:                                              ; preds = %118
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %10, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %11, align 4
  br label %142

138:                                              ; preds = %119
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %10, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %11, align 4
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #7
  br label %142

142:                                              ; preds = %138, %134
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  br label %143

143:                                              ; preds = %142, %133, %121
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  br label %144

144:                                              ; preds = %143, %91, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  br label %145

145:                                              ; preds = %144, %66
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  br label %146

146:                                              ; preds = %145, %65
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #7
  br label %147

147:                                              ; preds = %146
  %148 = load ptr, ptr %10, align 8
  %149 = load i32, ptr %11, align 4
  %150 = insertvalue { ptr, i32 } poison, ptr %148, 0
  %151 = insertvalue { ptr, i32 } %150, i32 %149, 1
  resume { ptr, i32 } %151
}

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 = { 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 = { 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 #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"}
!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.153" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::rc_ptr.45" = type { ptr, ptr }
%"struct.langcc::rc_ptr.21" = type { ptr, ptr }
%"struct.langcc::rc_ptr.419" = type { ptr, ptr }
%"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_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_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEEC2INS3_4Decl10EnumStruct2_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 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 #5 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_ptrIN4lang2cc4Node4Expr2_TEEEEEJEEENS2_IT_EEDpT0_(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.419") align 8) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z19xformT_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEEESt8functionIFNS0_INS3_2_TEEESA_EE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.21") align 8 %0, ptr noundef nonnull %1, ptr noundef %2) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"struct.langcc::rc_ptr.45", align 8
  %5 = alloca %"struct.langcc::rc_ptr.45", align 8
  %6 = alloca %"class.std::function.555", align 8
  %7 = alloca %"struct.langcc::rc_ptr.419", 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.153", align 8
  %12 = alloca %"struct.langcc::ParserAttrMask", align 8
  %13 = alloca %"struct.langcc::ParserLookahead", align 8
  %14 = alloca %"struct.langcc::rc_ptr.45", align 8
  %15 = alloca %"struct.langcc::rc_ptr.419", align 8
  %16 = alloca %"struct.langcc::rc_ptr.21", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  %17 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %18 = getelementptr inbounds i8, ptr %17, i64 144
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %18)
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %19 unwind label %40

19:                                               ; preds = %3
  invoke void @_Z18xform_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEESt8functionIFNS0_INS3_2_TEEES9_EE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.45") align 8 %4, ptr noundef nonnull %5, ptr noundef nonnull %6)
          to label %20 unwind label %42

20:                                               ; preds = %19
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  invoke void @_ZN6langcc7make_rcINS_3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEEEJEEENS2_IT_EEDpT0_(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.419") align 8 %7)
          to label %.preheader unwind label %44

.preheader:                                       ; preds = %20
  %21 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %22 = getelementptr inbounds i8, ptr %21, i64 160
  %23 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %22)
  %24 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %23)
  %25 = icmp sgt i64 %24, 0
  br i1 %25, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader, %33
  %.0422 = phi i64 [ %34, %33 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  %26 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %27 = getelementptr inbounds i8, ptr %26, i64 160
  %28 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %27)
  %29 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE12at_uncheckedEl(ptr noundef nonnull align 8 dereferenceable(64) %28, i64 noundef %.0422)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %29)
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %30 unwind label %46

30:                                               ; preds = %.lr.ph
  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 %31 unwind label %48

31:                                               ; preds = %30
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  %32 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  invoke void @_ZN6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE9push_backERKS7_(ptr noundef nonnull align 8 dereferenceable(64) %32, ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %33 unwind label %50

33:                                               ; preds = %31
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  %34 = add nuw nsw i64 %.0422, 1
  %35 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %36 = getelementptr inbounds i8, ptr %35, i64 160
  %37 = call noundef ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %36)
  %38 = call noundef i64 @_ZNK6langcc3VecINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(64) %37)
  %39 = icmp slt i64 %34, %38
  br i1 %39, label %.lr.ph, label %._crit_edge, !llvm.loop !5

40:                                               ; preds = %3
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %78

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

44:                                               ; preds = %20
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %77

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

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

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

52:                                               ; preds = %46, %48, %50
  %.sink = phi ptr [ %8, %50 ], [ %9, %48 ], [ %9, %46 ]
  %.pn17 = phi { ptr, i32 } [ %51, %50 ], [ %49, %48 ], [ %47, %46 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %.sink) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  br label %76

._crit_edge:                                      ; preds = %33, %.preheader
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #7
  %53 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %54 = getelementptr inbounds i8, ptr %53, i64 72
  %55 = load i64, ptr %54, align 8, !tbaa !7
  %56 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %57 = getelementptr inbounds i8, ptr %56, i64 80
  %.sroa.0.0.copyload = load i64, ptr %57, align 8
  %58 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %59 = getelementptr inbounds i8, ptr %58, i64 88
  %60 = load i8, ptr %59, align 8, !tbaa !23, !range !24, !noundef !25
  %61 = trunc nuw i8 %60 to i1
  %62 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %63 = getelementptr inbounds i8, ptr %62, i64 96
  %64 = load i64, ptr %63, align 8, !tbaa !26
  %65 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %66 = getelementptr inbounds i8, ptr %65, i64 104
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %66, i64 16, i1 false), !tbaa.struct !27
  %67 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %68 = getelementptr inbounds i8, ptr %67, i64 120
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %68, i64 16, i1 false), !tbaa.struct !27
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %7)
  invoke void @_ZN4lang2cc4Node4Decl10EnumStruct4makeElN6langcc11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_6rc_ptrINS1_4Expr2_TEEENS8_INS4_3VecISB_EEEE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.153") align 8 %11, i64 noundef %55, i64 %.sroa.0.0.copyload, i1 noundef zeroext %61, i64 noundef %64, ptr noundef nonnull byval(%"struct.langcc::ParserAttrMask") align 8 %12, ptr noundef nonnull byval(%"struct.langcc::ParserLookahead") align 8 %13, ptr noundef nonnull %14, ptr noundef nonnull %15)
          to label %69 unwind label %71

69:                                               ; preds = %._crit_edge
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEEC2INS3_4Decl10EnumStruct2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISB_EE(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %11)
  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 %16)
          to label %70 unwind label %73

70:                                               ; preds = %69
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  ret void

71:                                               ; preds = %._crit_edge
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #7
  br label %75

73:                                               ; preds = %69
  %74 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl10EnumStruct2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  br label %75

75:                                               ; preds = %73, %71
  %.pn13 = phi { ptr, i32 } [ %74, %73 ], [ %72, %71 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  br label %76

76:                                               ; preds = %75, %52
  %.pn17.pn = phi { ptr, i32 } [ %.pn17, %52 ], [ %.pn13, %75 ]
  call void @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Expr2_TEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  br label %77

77:                                               ; preds = %76, %44
  %.pn17.pn.pn = phi { ptr, i32 } [ %.pn17.pn, %76 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  br label %78

78:                                               ; preds = %40, %42, %77
  %.sink23 = phi ptr [ %4, %77 ], [ %5, %42 ], [ %5, %40 ]
  %.pn17.pn.pn.pn = phi { ptr, i32 } [ %.pn17.pn.pn, %77 ], [ %43, %42 ], [ %41, %40 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %.sink23) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  resume { ptr, i32 } %.pn17.pn.pn.pn
}

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 = { 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 = { 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 #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 = 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,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass