; 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.248" = 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.38" = type { ptr, ptr }
%"struct.langcc::rc_ptr.43" = 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::Stmt::For::_T" = type { %"struct.lang::cc::Node::Stmt::_T.base", %"struct.langcc::rc_ptr.43", %"struct.langcc::rc_ptr.45", %"struct.langcc::rc_ptr.45", %"struct.langcc::rc_ptr.38" }
%"struct.lang::cc::Node::Stmt::_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_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

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

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

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

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

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

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

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

; 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: mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEEC2INS3_4Stmt3For2_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) #4

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z19xformT_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_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) #4 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.43", align 8
  %8 = alloca %"struct.langcc::rc_ptr.43", 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.45", align 8
  %13 = alloca %"struct.langcc::rc_ptr.45", align 8
  %14 = alloca %"class.std::function.555", align 8
  %15 = alloca %"struct.langcc::rc_ptr.45", align 8
  %16 = alloca %"struct.langcc::rc_ptr.45", align 8
  %17 = alloca %"class.std::function.555", align 8
  %18 = alloca %"struct.langcc::rc_ptr.38", align 8
  %19 = alloca %"struct.langcc::rc_ptr.38", align 8
  %20 = alloca %"class.std::function.555", align 8
  %21 = alloca %"struct.langcc::rc_ptr.248", align 8
  %22 = alloca %"struct.langcc::TokenBounds", align 4
  %23 = alloca %"struct.langcc::ParserAttrMask", align 8
  %24 = alloca %"struct.langcc::ParserLookahead", align 8
  %25 = alloca %"struct.langcc::rc_ptr.43", align 8
  %26 = alloca %"struct.langcc::rc_ptr.45", align 8
  %27 = alloca %"struct.langcc::rc_ptr.45", align 8
  %28 = alloca %"struct.langcc::rc_ptr.38", align 8
  %29 = alloca %"struct.langcc::rc_ptr.21", align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #6
  %30 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %31 = getelementptr inbounds %"struct.lang::cc::Node::Stmt::For::_T", ptr %30, i32 0, i32 1
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node7ExprExt2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %31)
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %32 unwind label %82

32:                                               ; preds = %3
  invoke void @_Z18xform_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node7ExprExt2_TEEESt8functionIFNS0_INS3_2_TEEES9_EE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.43") align 8 %7, ptr noundef %8, ptr noundef %9)
          to label %33 unwind label %86

33:                                               ; preds = %32
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node7ExprExt2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #6
  %34 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %35 unwind label %91

35:                                               ; preds = %33
  %36 = getelementptr inbounds %"struct.lang::cc::Node::Stmt::For::_T", ptr %34, i32 0, i32 2
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %36)
          to label %37 unwind label %91

37:                                               ; preds = %35
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %38 unwind label %95

38:                                               ; preds = %37
  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 %12, ptr noundef %13, ptr noundef %14)
          to label %39 unwind label %99

39:                                               ; preds = %38
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #6
  %40 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %41 unwind label %104

41:                                               ; preds = %39
  %42 = getelementptr inbounds %"struct.lang::cc::Node::Stmt::For::_T", ptr %40, i32 0, i32 3
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %42)
          to label %43 unwind label %104

43:                                               ; preds = %41
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %44 unwind label %108

44:                                               ; preds = %43
  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 %15, ptr noundef %16, ptr noundef %17)
          to label %45 unwind label %112

45:                                               ; preds = %44
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #6
  %46 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %47 unwind label %117

47:                                               ; preds = %45
  %48 = getelementptr inbounds %"struct.lang::cc::Node::Stmt::For::_T", ptr %46, i32 0, i32 4
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %48)
          to label %49 unwind label %117

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

50:                                               ; preds = %49
  invoke void @_Z18xform_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEEESt8functionIFNS0_INS3_2_TEEES9_EE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.38") align 8 %18, ptr noundef %19, ptr noundef %20)
          to label %51 unwind label %125

51:                                               ; preds = %50
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #6
  %52 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %53 unwind label %130

53:                                               ; preds = %51
  %54 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %52, i32 0, i32 4
  %55 = load i64, ptr %54, align 8, !tbaa !9
  %56 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %57 unwind label %130

57:                                               ; preds = %53
  %58 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %56, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 8 %58, i64 8, i1 false), !tbaa.struct !22
  %59 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %60 unwind label %130

60:                                               ; preds = %57
  %61 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %59, i32 0, i32 6
  %62 = load i8, ptr %61, align 8, !tbaa !24, !range !25, !noundef !26
  %63 = trunc i8 %62 to i1
  %64 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %65 unwind label %130

65:                                               ; preds = %60
  %66 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %64, i32 0, i32 7
  %67 = load i64, ptr %66, align 8, !tbaa !27
  %68 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %69 unwind label %130

69:                                               ; preds = %65
  %70 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %68, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %23, ptr align 8 %70, i64 16, i1 false), !tbaa.struct !28
  %71 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %72 unwind label %130

72:                                               ; preds = %69
  %73 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %71, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %24, ptr align 8 %73, i64 16, i1 false), !tbaa.struct !28
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node7ExprExt2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %74 unwind label %130

74:                                               ; preds = %72
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %75 unwind label %134

75:                                               ; preds = %74
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %76 unwind label %138

76:                                               ; preds = %75
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %77 unwind label %142

77:                                               ; preds = %76
  %78 = load i64, ptr %22, align 4
  invoke void @_ZN4lang2cc4Node4Stmt3For4makeElN6langcc11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_6rc_ptrINS1_7ExprExt2_TEEENS8_INS1_4Expr2_TEEESE_NS8_INS1_5Block2_TEEE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.248") align 8 %21, i64 noundef %55, i64 %78, i1 noundef zeroext %63, i64 noundef %67, ptr noundef byval(%"struct.langcc::ParserAttrMask") align 8 %23, ptr noundef byval(%"struct.langcc::ParserLookahead") align 8 %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28)
          to label %79 unwind label %146

79:                                               ; preds = %77
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %28) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node7ExprExt2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #6
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEEC2INS3_4Stmt3For2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISB_EE(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %80 unwind label %153

80:                                               ; preds = %79
  invoke void @_ZNKSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEclES6_(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.21") align 8 %0, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef %29)
          to label %81 unwind label %157

81:                                               ; preds = %80
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node7ExprExt2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  ret void

82:                                               ; preds = %3
  %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
  br label %90

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

90:                                               ; preds = %86, %82
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node7ExprExt2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  br label %166

91:                                               ; preds = %35, %33
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %10, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %11, align 4
  br label %165

95:                                               ; preds = %37
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %10, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %11, align 4
  br label %103

99:                                               ; preds = %38
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %10, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %11, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  br label %103

103:                                              ; preds = %99, %95
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #6
  br label %165

104:                                              ; preds = %41, %39
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %10, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %11, align 4
  br label %164

108:                                              ; preds = %43
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %10, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %11, align 4
  br label %116

112:                                              ; preds = %44
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %10, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %11, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  br label %116

116:                                              ; preds = %112, %108
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #6
  br label %164

117:                                              ; preds = %47, %45
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %10, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %11, align 4
  br label %163

121:                                              ; preds = %49
  %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 %129

125:                                              ; preds = %50
  %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
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  br label %129

129:                                              ; preds = %125, %121
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #6
  br label %163

130:                                              ; preds = %72, %69, %65, %60, %57, %53, %51
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %10, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %11, align 4
  br label %162

134:                                              ; preds = %74
  %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 %152

138:                                              ; preds = %75
  %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
  br label %151

142:                                              ; preds = %76
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %10, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %11, align 4
  br label %150

146:                                              ; preds = %77
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %10, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %11, align 4
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %28) #6
  br label %150

150:                                              ; preds = %146, %142
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #6
  br label %151

151:                                              ; preds = %150, %138
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #6
  br label %152

152:                                              ; preds = %151, %134
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node7ExprExt2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #6
  br label %162

153:                                              ; preds = %79
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %10, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %11, align 4
  br label %161

157:                                              ; preds = %80
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %10, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %11, align 4
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #6
  br label %161

161:                                              ; preds = %157, %153
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #6
  br label %162

162:                                              ; preds = %161, %152, %130
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #6
  br label %163

163:                                              ; preds = %162, %129, %117
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #6
  br label %164

164:                                              ; preds = %163, %116, %104
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  br label %165

165:                                              ; preds = %164, %103, %91
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node7ExprExt2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  br label %166

166:                                              ; preds = %165, %90
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  br label %167

167:                                              ; preds = %166
  %168 = load ptr, ptr %10, align 8
  %169 = load i32, ptr %11, align 4
  %170 = insertvalue { ptr, i32 } poison, ptr %168, 0
  %171 = insertvalue { ptr, i32 } %170, i32 %169, 1
  resume { ptr, i32 } %171
}

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !16, i64 72}
!10 = !{!"_ZTSN4lang2cc4Node2_TE", !11, i64 8, !14, i64 48, !15, i64 64, !16, i64 72, !17, i64 80, !19, i64 88, !16, i64 96, !20, i64 104, !21, i64 120}
!11 = !{!"_ZTSN6langcc8hash_objE", !12, i64 0}
!12 = !{!"_ZTSN6langcc6Option2_TINS_7HashValEEE", !13, i64 0, !7, i64 4}
!13 = !{!"_ZTSN6langcc6Option2_WE", !7, i64 0}
!14 = !{!"_ZTSN6langcc24enable_rc_from_this_polyE", !6, i64 0, !6, i64 8}
!15 = !{!"_ZTSN4lang2cc4Node2_WE", !7, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!"_ZTSN6langcc11TokenBoundsE", !18, i64 0, !18, i64 4}
!18 = !{!"int", !7, i64 0}
!19 = !{!"bool", !7, i64 0}
!20 = !{!"_ZTSN6langcc14ParserAttrMaskE", !7, i64 0}
!21 = !{!"_ZTSN6langcc15ParserLookaheadE", !7, i64 0}
!22 = !{i64 0, i64 4, !23, i64 4, i64 4, !23}
!23 = !{!18, !18, i64 0}
!24 = !{!10, !19, i64 88}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!10, !16, i64 96}
!28 = !{i64 0, i64 16, !29}
!29 = !{!7, !7, i64 0}


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

%"struct.langcc::rc_ptr.248" = 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.38" = type { ptr, ptr }
%"struct.langcc::rc_ptr.43" = 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_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

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

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

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

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

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

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

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

; 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: mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEEC2INS3_4Stmt3For2_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 #4

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z19xformT_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_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 #4 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"struct.langcc::rc_ptr.43", align 8
  %5 = alloca %"struct.langcc::rc_ptr.43", align 8
  %6 = alloca %"class.std::function.555", 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 %"struct.langcc::rc_ptr.45", align 8
  %11 = alloca %"struct.langcc::rc_ptr.45", align 8
  %12 = alloca %"class.std::function.555", align 8
  %13 = alloca %"struct.langcc::rc_ptr.38", align 8
  %14 = alloca %"struct.langcc::rc_ptr.38", align 8
  %15 = alloca %"class.std::function.555", align 8
  %16 = alloca %"struct.langcc::rc_ptr.248", align 8
  %17 = alloca %"struct.langcc::ParserAttrMask", align 8
  %18 = alloca %"struct.langcc::ParserLookahead", align 8
  %19 = alloca %"struct.langcc::rc_ptr.43", align 8
  %20 = alloca %"struct.langcc::rc_ptr.45", align 8
  %21 = alloca %"struct.langcc::rc_ptr.45", align 8
  %22 = alloca %"struct.langcc::rc_ptr.38", align 8
  %23 = alloca %"struct.langcc::rc_ptr.21", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  %24 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %25 = getelementptr inbounds i8, ptr %24, i64 144
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node7ExprExt2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %25)
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %26 unwind label %60

26:                                               ; preds = %3
  invoke void @_Z18xform_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node7ExprExt2_TEEESt8functionIFNS0_INS3_2_TEEES9_EE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.43") align 8 %4, ptr noundef nonnull %5, ptr noundef nonnull %6)
          to label %27 unwind label %62

27:                                               ; preds = %26
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node7ExprExt2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  %28 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %29 = getelementptr inbounds i8, ptr %28, i64 160
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %29)
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %30 unwind label %64

30:                                               ; preds = %27
  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 %7, ptr noundef nonnull %8, ptr noundef nonnull %9)
          to label %31 unwind label %66

31:                                               ; preds = %30
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  %32 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %33 = getelementptr inbounds i8, ptr %32, i64 176
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %33)
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang2cc4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %34 unwind label %68

34:                                               ; preds = %31
  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 %10, ptr noundef nonnull %11, ptr noundef nonnull %12)
          to label %35 unwind label %70

35:                                               ; preds = %34
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #6
  %36 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %37 = getelementptr inbounds i8, ptr %36, i64 192
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %37)
          to label %38 unwind label %72

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

39:                                               ; preds = %38
  invoke void @_Z18xform_lang_cc_NodeN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEEESt8functionIFNS0_INS3_2_TEEES9_EE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.38") align 8 %13, ptr noundef nonnull %14, ptr noundef nonnull %15)
          to label %40 unwind label %76

40:                                               ; preds = %39
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #6
  %41 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %42 = getelementptr inbounds i8, ptr %41, i64 72
  %43 = load i64, ptr %42, align 8, !tbaa !5
  %44 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %45 = getelementptr inbounds i8, ptr %44, i64 80
  %.sroa.0.0.copyload = load i64, ptr %45, align 8
  %46 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %47 = getelementptr inbounds i8, ptr %46, i64 88
  %48 = load i8, ptr %47, align 8, !tbaa !21, !range !22, !noundef !23
  %49 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %50 = getelementptr inbounds i8, ptr %49, i64 96
  %51 = load i64, ptr %50, align 8, !tbaa !24
  %52 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %53 = getelementptr inbounds i8, ptr %52, i64 104
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %53, i64 16, i1 false), !tbaa.struct !25
  %54 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %55 = getelementptr inbounds i8, ptr %54, i64 120
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %55, i64 16, i1 false), !tbaa.struct !25
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node7ExprExt2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(16) %7)
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(16) %10)
  invoke void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %56 unwind label %79

56:                                               ; preds = %40
  %57 = trunc nuw i8 %48 to i1
  invoke void @_ZN4lang2cc4Node4Stmt3For4makeElN6langcc11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_6rc_ptrINS1_7ExprExt2_TEEENS8_INS1_4Expr2_TEEESE_NS8_INS1_5Block2_TEEE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.248") align 8 %16, i64 noundef %43, i64 %.sroa.0.0.copyload, i1 noundef zeroext %57, i64 noundef %51, ptr noundef nonnull byval(%"struct.langcc::ParserAttrMask") align 8 %17, ptr noundef nonnull byval(%"struct.langcc::ParserLookahead") align 8 %18, ptr noundef nonnull %19, ptr noundef nonnull %20, ptr noundef nonnull %21, ptr noundef nonnull %22)
          to label %58 unwind label %81

58:                                               ; preds = %56
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node7ExprExt2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEEC2INS3_4Stmt3For2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISB_EE(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %16)
  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 %23)
          to label %59 unwind label %84

59:                                               ; preds = %58
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node7ExprExt2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  ret void

60:                                               ; preds = %3
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %90

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

64:                                               ; preds = %27
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %89

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

68:                                               ; preds = %31
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %88

70:                                               ; preds = %34
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %88

72:                                               ; preds = %35
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %87

74:                                               ; preds = %38
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %78

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

78:                                               ; preds = %76, %74
  %.pn16 = phi { ptr, i32 } [ %77, %76 ], [ %75, %74 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #6
  br label %87

79:                                               ; preds = %40
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %83

81:                                               ; preds = %56
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #6
  br label %83

83:                                               ; preds = %81, %79
  %.pn18 = phi { ptr, i32 } [ %82, %81 ], [ %80, %79 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node7ExprExt2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #6
  br label %86

84:                                               ; preds = %58
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Stmt3For2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #6
  br label %86

86:                                               ; preds = %84, %83
  %.pn20 = phi { ptr, i32 } [ %85, %84 ], [ %.pn18, %83 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node5Block2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #6
  br label %87

87:                                               ; preds = %86, %78, %72
  %.pn20.pn = phi { ptr, i32 } [ %.pn20, %86 ], [ %.pn16, %78 ], [ %73, %72 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #6
  br label %88

88:                                               ; preds = %68, %70, %87
  %.sink = phi ptr [ %10, %87 ], [ %11, %70 ], [ %11, %68 ]
  %.pn20.pn.pn = phi { ptr, i32 } [ %.pn20.pn, %87 ], [ %71, %70 ], [ %69, %68 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %.sink) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  br label %89

89:                                               ; preds = %64, %66, %88
  %.sink26 = phi ptr [ %7, %88 ], [ %8, %66 ], [ %8, %64 ]
  %.pn20.pn.pn.pn = phi { ptr, i32 } [ %.pn20.pn.pn, %88 ], [ %67, %66 ], [ %65, %64 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %.sink26) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  br label %90

90:                                               ; preds = %60, %62, %89
  %.sink27 = phi ptr [ %4, %89 ], [ %5, %62 ], [ %5, %60 ]
  %.pn20.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn20.pn.pn.pn, %89 ], [ %63, %62 ], [ %61, %60 ]
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node7ExprExt2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %.sink27) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  resume { ptr, i32 } %.pn20.pn.pn.pn.pn
}

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !15, i64 72}
!6 = !{!"_ZTSN4lang2cc4Node2_TE", !7, i64 8, !12, i64 48, !14, i64 64, !15, i64 72, !16, i64 80, !18, i64 88, !15, i64 96, !19, i64 104, !20, i64 120}
!7 = !{!"_ZTSN6langcc8hash_objE", !8, i64 0}
!8 = !{!"_ZTSN6langcc6Option2_TINS_7HashValEEE", !9, i64 0, !10, i64 4}
!9 = !{!"_ZTSN6langcc6Option2_WE", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSN6langcc24enable_rc_from_this_polyE", !13, i64 0, !13, i64 8}
!13 = !{!"any pointer", !10, i64 0}
!14 = !{!"_ZTSN4lang2cc4Node2_WE", !10, i64 0}
!15 = !{!"long", !10, i64 0}
!16 = !{!"_ZTSN6langcc11TokenBoundsE", !17, i64 0, !17, i64 4}
!17 = !{!"int", !10, i64 0}
!18 = !{!"bool", !10, i64 0}
!19 = !{!"_ZTSN6langcc14ParserAttrMaskE", !10, i64 0}
!20 = !{!"_ZTSN6langcc15ParserLookaheadE", !10, i64 0}
!21 = !{!6, !18, i64 88}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = !{!6, !15, i64 96}
!25 = !{i64 0, i64 16, !26}
!26 = !{!10, !10, i64 0}


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