; LLVM IR from jzimmerman/langcc :: gen/data (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.25" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::rc_ptr.21" = type { ptr, ptr }
%"struct.langcc::rc_ptr.27" = type { ptr, ptr }
%"class.std::function.127" = 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.langcc::StrSlice" = type { %"struct.langcc::rc_ptr.80", i64, i64 }
%"struct.langcc::rc_ptr.80" = type { ptr, ptr }
%"struct.lang::data::Node::Param::_T" = type { %"struct.lang::data::Node::_T", %"struct.langcc::StrSlice", %"struct.langcc::rc_ptr.27" }
%"struct.lang::data::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_ptrIN4lang4data4Node5Param2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_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 @_ZN4lang4data4Node5Param4makeElN6langcc11TokenBoundsEblNS3_14ParserAttrMaskENS3_15ParserLookaheadENS3_8StrSliceENS3_6rc_ptrINS1_4Expr2_TEEE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.25") 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) #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNKSt8functionIFN6langcc6rc_ptrIN4lang4data4Node2_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) #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z21xformT_lang_data_NodeN6langcc6rc_ptrIN4lang4data4Node5Param2_TEEESt8functionIFNS0_INS3_2_TEEES9_EE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.21") align 8 %0, ptr noundef %1, ptr noundef %2) #5 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.27", align 8
  %8 = alloca %"struct.langcc::rc_ptr.27", align 8
  %9 = alloca %"class.std::function.127", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"struct.langcc::rc_ptr.25", align 8
  %13 = alloca %"struct.langcc::TokenBounds", align 4
  %14 = alloca %"struct.langcc::ParserAttrMask", align 8
  %15 = alloca %"struct.langcc::ParserLookahead", align 8
  %16 = alloca %"struct.langcc::StrSlice", align 8
  %17 = alloca %"struct.langcc::rc_ptr.27", align 8
  %18 = 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
  %19 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4data4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %20 = getelementptr inbounds %"struct.lang::data::Node::Param::_T", ptr %19, i32 0, i32 2
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %20)
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang4data4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %21 unwind label %54

21:                                               ; preds = %3
  invoke void @_Z20xform_lang_data_NodeN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEEESt8functionIFNS0_INS3_2_TEEES9_EE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.27") align 8 %7, ptr noundef %8, ptr noundef %9)
          to label %22 unwind label %58

22:                                               ; preds = %21
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  %23 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4data4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %24 unwind label %63

24:                                               ; preds = %22
  %25 = getelementptr inbounds %"struct.lang::data::Node::_T", ptr %23, i32 0, i32 4
  %26 = load i64, ptr %25, align 8, !tbaa !9
  %27 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4data4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %28 unwind label %63

28:                                               ; preds = %24
  %29 = getelementptr inbounds %"struct.lang::data::Node::_T", ptr %27, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 8 %29, i64 8, i1 false), !tbaa.struct !22
  %30 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4data4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %31 unwind label %63

31:                                               ; preds = %28
  %32 = getelementptr inbounds %"struct.lang::data::Node::_T", ptr %30, i32 0, i32 6
  %33 = load i8, ptr %32, align 8, !tbaa !24, !range !25, !noundef !26
  %34 = trunc i8 %33 to i1
  %35 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4data4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %36 unwind label %63

36:                                               ; preds = %31
  %37 = getelementptr inbounds %"struct.lang::data::Node::_T", ptr %35, i32 0, i32 7
  %38 = load i64, ptr %37, align 8, !tbaa !27
  %39 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4data4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %40 unwind label %63

40:                                               ; preds = %36
  %41 = getelementptr inbounds %"struct.lang::data::Node::_T", ptr %39, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %14, ptr align 8 %41, i64 16, i1 false), !tbaa.struct !28
  %42 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4data4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %43 unwind label %63

43:                                               ; preds = %40
  %44 = getelementptr inbounds %"struct.lang::data::Node::_T", ptr %42, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %15, ptr align 8 %44, i64 16, i1 false), !tbaa.struct !28
  %45 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4data4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %46 unwind label %63

46:                                               ; preds = %43
  %47 = getelementptr inbounds %"struct.lang::data::Node::Param::_T", ptr %45, i32 0, i32 1
  invoke void @_ZN6langcc8StrSliceC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %47)
          to label %48 unwind label %63

48:                                               ; preds = %46
  invoke void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %49 unwind label %67

49:                                               ; preds = %48
  %50 = load i64, ptr %13, align 4
  invoke void @_ZN4lang4data4Node5Param4makeElN6langcc11TokenBoundsEblNS3_14ParserAttrMaskENS3_15ParserLookaheadENS3_8StrSliceENS3_6rc_ptrINS1_4Expr2_TEEE(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.25") align 8 %12, i64 noundef %26, i64 %50, i1 noundef zeroext %34, i64 noundef %38, ptr noundef byval(%"struct.langcc::ParserAttrMask") align 8 %14, ptr noundef byval(%"struct.langcc::ParserLookahead") align 8 %15, ptr noundef %16, ptr noundef %17)
          to label %51 unwind label %71

51:                                               ; preds = %49
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  invoke void @_ZN6langcc6rc_ptrIN4lang4data4Node2_TEEC2INS3_5Param2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISA_EE(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %52 unwind label %76

52:                                               ; preds = %51
  invoke void @_ZNKSt8functionIFN6langcc6rc_ptrIN4lang4data4Node2_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 %18)
          to label %53 unwind label %80

53:                                               ; preds = %52
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node5Param2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #7
  ret void

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

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

62:                                               ; preds = %58, %54
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  br label %86

63:                                               ; preds = %46, %43, %40, %36, %31, %28, %24, %22
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %10, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %11, align 4
  br label %85

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

71:                                               ; preds = %49
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %10, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %11, align 4
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  br label %75

75:                                               ; preds = %71, %67
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  br label %85

76:                                               ; preds = %51
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %10, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %11, align 4
  br label %84

80:                                               ; preds = %52
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %10, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %11, align 4
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  br label %84

84:                                               ; preds = %80, %76
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node5Param2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  br label %85

85:                                               ; preds = %84, %75, %63
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  br label %86

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

87:                                               ; preds = %86
  %88 = load ptr, ptr %10, align 8
  %89 = load i32, ptr %11, align 4
  %90 = insertvalue { ptr, i32 } poison, ptr %88, 0
  %91 = insertvalue { ptr, i32 } %90, i32 %89, 1
  resume { ptr, i32 } %91
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !16, i64 72}
!10 = !{!"_ZTSN4lang4data4Node2_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 = !{!"_ZTSN4lang4data4Node2_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.25" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::rc_ptr.21" = type { ptr, ptr }
%"struct.langcc::rc_ptr.27" = type { ptr, ptr }
%"class.std::function.127" = 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::StrSlice" = type { %"struct.langcc::rc_ptr.80", i64, i64 }
%"struct.langcc::rc_ptr.80" = type { ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_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 @_ZN4lang4data4Node5Param4makeElN6langcc11TokenBoundsEblNS3_14ParserAttrMaskENS3_15ParserLookaheadENS3_8StrSliceENS3_6rc_ptrINS1_4Expr2_TEEE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.25") 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 #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNKSt8functionIFN6langcc6rc_ptrIN4lang4data4Node2_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 #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z21xformT_lang_data_NodeN6langcc6rc_ptrIN4lang4data4Node5Param2_TEEESt8functionIFNS0_INS3_2_TEEES9_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 #5 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"struct.langcc::rc_ptr.27", align 8
  %5 = alloca %"struct.langcc::rc_ptr.27", align 8
  %6 = alloca %"class.std::function.127", align 8
  %7 = alloca %"struct.langcc::rc_ptr.25", align 8
  %8 = alloca %"struct.langcc::ParserAttrMask", align 8
  %9 = alloca %"struct.langcc::ParserLookahead", align 8
  %10 = alloca %"struct.langcc::StrSlice", align 8
  %11 = alloca %"struct.langcc::rc_ptr.27", align 8
  %12 = alloca %"struct.langcc::rc_ptr.21", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  %13 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang4data4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %14 = getelementptr inbounds i8, ptr %13, i64 168
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %14)
  invoke void @_ZNSt8functionIFN6langcc6rc_ptrIN4lang4data4Node2_TEEES6_EEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %15 unwind label %38

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

16:                                               ; preds = %15
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  %17 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4data4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %18 = getelementptr inbounds i8, ptr %17, i64 72
  %19 = load i64, ptr %18, align 8, !tbaa !5
  %20 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4data4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %21 = getelementptr inbounds i8, ptr %20, i64 80
  %.sroa.0.0.copyload = load i64, ptr %21, align 8
  %22 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4data4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %23 = getelementptr inbounds i8, ptr %22, i64 88
  %24 = load i8, ptr %23, align 8, !tbaa !21, !range !22, !noundef !23
  %25 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4data4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %26 = getelementptr inbounds i8, ptr %25, i64 96
  %27 = load i64, ptr %26, align 8, !tbaa !24
  %28 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4data4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %29 = getelementptr inbounds i8, ptr %28, i64 104
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %29, i64 16, i1 false), !tbaa.struct !25
  %30 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4data4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %31 = getelementptr inbounds i8, ptr %30, i64 120
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %31, i64 16, i1 false), !tbaa.struct !25
  %32 = call noundef ptr @_ZN6langcc6rc_ptrIN4lang4data4Node5Param2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %33 = getelementptr inbounds i8, ptr %32, i64 136
  invoke void @_ZN6langcc8StrSliceC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %34 unwind label %42

34:                                               ; preds = %16
  %35 = trunc nuw i8 %24 to i1
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %4)
  invoke void @_ZN4lang4data4Node5Param4makeElN6langcc11TokenBoundsEblNS3_14ParserAttrMaskENS3_15ParserLookaheadENS3_8StrSliceENS3_6rc_ptrINS1_4Expr2_TEEE(ptr dead_on_unwind nonnull writable sret(%"struct.langcc::rc_ptr.25") align 8 %7, i64 noundef %19, i64 %.sroa.0.0.copyload, i1 noundef zeroext %35, i64 noundef %27, ptr noundef nonnull byval(%"struct.langcc::ParserAttrMask") align 8 %8, ptr noundef nonnull byval(%"struct.langcc::ParserLookahead") align 8 %9, ptr noundef nonnull %10, ptr noundef nonnull %11)
          to label %36 unwind label %44

36:                                               ; preds = %34
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node2_TEEC2INS3_5Param2_TETnPNSt9enable_ifIXsr3std10is_base_ofIS4_T_EE5valueEvE4typeELPv0EEERKNS0_ISA_EE(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %7)
  invoke void @_ZNKSt8functionIFN6langcc6rc_ptrIN4lang4data4Node2_TEEES6_EEclES6_(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.21") align 8 %0, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull %12)
          to label %37 unwind label %46

37:                                               ; preds = %36
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node5Param2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  ret void

38:                                               ; preds = %3
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %49

40:                                               ; preds = %15
  %41 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  br label %49

42:                                               ; preds = %16
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %48

44:                                               ; preds = %34
  %45 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  call void @_ZN6langcc8StrSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  br label %48

46:                                               ; preds = %36
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node5Param2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  br label %48

48:                                               ; preds = %46, %44, %42
  %.pn5 = phi { ptr, i32 } [ %47, %46 ], [ %45, %44 ], [ %43, %42 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  br label %49

49:                                               ; preds = %38, %40, %48
  %.sink = phi ptr [ %4, %48 ], [ %5, %40 ], [ %5, %38 ]
  %.pn5.pn = phi { ptr, i32 } [ %.pn5, %48 ], [ %41, %40 ], [ %39, %38 ]
  call void @_ZN6langcc6rc_ptrIN4lang4data4Node4Expr2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %.sink) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  resume { ptr, i32 } %.pn5.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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !15, i64 72}
!6 = !{!"_ZTSN4lang4data4Node2_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 = !{!"_ZTSN4lang4data4Node2_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