; 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.154" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"struct.langcc::TokenBounds" = type { i32, 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 }
%"struct.lang::cc::Node::Decl::Fun::_T" = type { %"struct.lang::cc::Node::Decl::_T.base", %"struct.langcc::rc_ptr.420", %"struct.langcc::rc_ptr.200", %"struct.langcc::Option::_T.416", %"struct.langcc::rc_ptr.45", %"struct.langcc::rc_ptr.417", %"struct.langcc::rc_ptr.200", %"struct.langcc::rc_ptr.32" }
%"struct.lang::cc::Node::Decl::_T.base" = type <{ %"struct.lang::cc::Node::_T", i32 }>
%"struct.langcc::rc_ptr.420" = type { ptr, ptr }
%"struct.langcc::Option::_T.416" = type { i32, [16 x i8] }
%"struct.langcc::rc_ptr.45" = type { ptr, ptr }
%"struct.langcc::rc_ptr.417" = type { ptr, ptr }
%"struct.langcc::rc_ptr.200" = type { ptr, ptr }
%"struct.langcc::rc_ptr.32" = type { ptr, ptr }

declare i32 @__gxx_personality_v0(...)

; 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) #0

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(20) ptr @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEEaSERKS9_(ptr noundef nonnull align 4 dereferenceable(20), ptr noundef nonnull align 4 dereferenceable(20)) #3 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4lang2cc4Node4Decl3Fun4makeElN6langcc11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_6rc_ptrINS4_3VecINS8_INS3_4tmpl4item2_TEEEEEEENS8_INS9_INS8_INS1_3Mod2_TEEEEEEENS4_6Option2_TINS8_INS1_4Expr2_TEEEEESP_NS8_INS9_INS8_INS1_5Param2_TEEEEEEESK_NS8_INS1_10FunDeclDef2_TEEE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.154") align 8 %0, i64 noundef %1, i64 %2, i1 noundef zeroext %3, i64 noundef %4, ptr noundef byval(%"struct.langcc::ParserAttrMask") align 8 %5, ptr noundef byval(%"struct.langcc::ParserLookahead") align 8 %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13) #3 personality ptr @__gxx_personality_v0 {
  %15 = alloca ptr, align 8
  %16 = alloca %"struct.langcc::TokenBounds", align 4
  %17 = alloca i64, align 8
  %18 = alloca i8, align 1
  %19 = alloca i64, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i1, align 1
  %28 = alloca ptr, align 8
  %29 = alloca i32, align 4
  store ptr %0, ptr %15, align 8
  store i64 %2, ptr %16, align 4
  store i64 %1, ptr %17, align 8, !tbaa !5
  %30 = zext i1 %3 to i8
  store i8 %30, ptr %18, align 1, !tbaa !9
  store i64 %4, ptr %19, align 8, !tbaa !5
  store ptr %7, ptr %20, align 8, !tbaa !11
  store ptr %8, ptr %21, align 8, !tbaa !11
  store ptr %9, ptr %22, align 8, !tbaa !11
  store ptr %10, ptr %23, align 8, !tbaa !11
  store ptr %11, ptr %24, align 8, !tbaa !11
  store ptr %12, ptr %25, align 8, !tbaa !11
  store ptr %13, ptr %26, align 8, !tbaa !11
  store i1 false, ptr %27, align 1
  call void @_ZN6langcc7make_rcIN4lang2cc4Node4Decl3Fun2_TEJEEENS_6rc_ptrIT_EEDpT0_(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.154") align 8 %0)
  %31 = load i64, ptr %17, align 8, !tbaa !5
  %32 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %33 unwind label %90

33:                                               ; preds = %14
  %34 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %32, i32 0, i32 4
  store i64 %31, ptr %34, align 8, !tbaa !13
  %35 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %36 unwind label %90

36:                                               ; preds = %33
  %37 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %35, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %37, ptr align 4 %16, i64 8, i1 false), !tbaa.struct !24
  %38 = load i8, ptr %18, align 1, !tbaa !9, !range !26, !noundef !27
  %39 = trunc i8 %38 to i1
  %40 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %41 unwind label %90

41:                                               ; preds = %36
  %42 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %40, i32 0, i32 6
  %43 = zext i1 %39 to i8
  store i8 %43, ptr %42, align 8, !tbaa !28
  %44 = load i64, ptr %19, align 8, !tbaa !5
  %45 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %46 unwind label %90

46:                                               ; preds = %41
  %47 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %45, i32 0, i32 7
  store i64 %44, ptr %47, align 8, !tbaa !29
  %48 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %49 unwind label %90

49:                                               ; preds = %46
  %50 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %48, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %50, ptr align 8 %5, i64 16, i1 false), !tbaa.struct !30
  %51 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %52 unwind label %90

52:                                               ; preds = %49
  %53 = getelementptr inbounds %"struct.lang::cc::Node::_T", ptr %51, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %53, ptr align 8 %6, i64 16, i1 false), !tbaa.struct !30
  %54 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %55 unwind label %90

55:                                               ; preds = %52
  %56 = getelementptr inbounds %"struct.lang::cc::Node::Decl::Fun::_T", ptr %54, i32 0, i32 1
  %57 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Decl3Fun4tmpl4item2_TEEEEEEaSERKSC_(ptr noundef nonnull align 8 dereferenceable(16) %56, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %58 unwind label %90

58:                                               ; preds = %55
  %59 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %60 unwind label %90

60:                                               ; preds = %58
  %61 = getelementptr inbounds %"struct.lang::cc::Node::Decl::Fun::_T", ptr %59, i32 0, i32 2
  %62 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEaSERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %61, ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %63 unwind label %90

63:                                               ; preds = %60
  %64 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %65 unwind label %90

65:                                               ; preds = %63
  %66 = getelementptr inbounds %"struct.lang::cc::Node::Decl::Fun::_T", ptr %64, i32 0, i32 3
  %67 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEEaSERKS9_(ptr noundef nonnull align 4 dereferenceable(20) %66, ptr noundef nonnull align 4 dereferenceable(20) %9)
          to label %68 unwind label %90

68:                                               ; preds = %65
  %69 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %70 unwind label %90

70:                                               ; preds = %68
  %71 = getelementptr inbounds %"struct.lang::cc::Node::Decl::Fun::_T", ptr %69, i32 0, i32 4
  %72 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEaSERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %71, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %73 unwind label %90

73:                                               ; preds = %70
  %74 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %75 unwind label %90

75:                                               ; preds = %73
  %76 = getelementptr inbounds %"struct.lang::cc::Node::Decl::Fun::_T", ptr %74, i32 0, i32 5
  %77 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node5Param2_TEEEEEEaSERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %76, ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %78 unwind label %90

78:                                               ; preds = %75
  %79 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %80 unwind label %90

80:                                               ; preds = %78
  %81 = getelementptr inbounds %"struct.lang::cc::Node::Decl::Fun::_T", ptr %79, i32 0, i32 6
  %82 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEaSERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %81, ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %83 unwind label %90

83:                                               ; preds = %80
  %84 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %85 unwind label %90

85:                                               ; preds = %83
  %86 = getelementptr inbounds %"struct.lang::cc::Node::Decl::Fun::_T", ptr %84, i32 0, i32 7
  %87 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef2_TEEaSERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %86, ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %88 unwind label %90

88:                                               ; preds = %85
  store i1 true, ptr %27, align 1
  %89 = load i1, ptr %27, align 1
  br i1 %89, label %95, label %94

90:                                               ; preds = %85, %83, %80, %78, %75, %73, %70, %68, %65, %63, %60, %58, %55, %52, %49, %46, %41, %36, %33, %14
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %28, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %29, align 4
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #4
  br label %96

94:                                               ; preds = %88
  call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #4
  br label %95

95:                                               ; preds = %94, %88
  ret void

96:                                               ; preds = %90
  %97 = load ptr, ptr %28, align 8
  %98 = load i32, ptr %29, align 4
  %99 = insertvalue { ptr, i32 } poison, ptr %97, 0
  %100 = insertvalue { ptr, i32 } %99, i32 %98, 1
  resume { ptr, i32 } %100
}

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

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

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !6, i64 72}
!14 = !{!"_ZTSN4lang2cc4Node2_TE", !15, i64 8, !18, i64 48, !19, i64 64, !6, i64 72, !20, i64 80, !10, i64 88, !6, i64 96, !22, i64 104, !23, i64 120}
!15 = !{!"_ZTSN6langcc8hash_objE", !16, i64 0}
!16 = !{!"_ZTSN6langcc6Option2_TINS_7HashValEEE", !17, i64 0, !7, i64 4}
!17 = !{!"_ZTSN6langcc6Option2_WE", !7, i64 0}
!18 = !{!"_ZTSN6langcc24enable_rc_from_this_polyE", !12, i64 0, !12, i64 8}
!19 = !{!"_ZTSN4lang2cc4Node2_WE", !7, i64 0}
!20 = !{!"_ZTSN6langcc11TokenBoundsE", !21, i64 0, !21, i64 4}
!21 = !{!"int", !7, i64 0}
!22 = !{!"_ZTSN6langcc14ParserAttrMaskE", !7, i64 0}
!23 = !{!"_ZTSN6langcc15ParserLookaheadE", !7, i64 0}
!24 = !{i64 0, i64 4, !25, i64 4, i64 4, !25}
!25 = !{!21, !21, i64 0}
!26 = !{i8 0, i8 2}
!27 = !{}
!28 = !{!14, !10, i64 88}
!29 = !{!14, !6, i64 96}
!30 = !{i64 0, i64 16, !31}
!31 = !{!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.154" = type { ptr, ptr }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }

declare i32 @__gxx_personality_v0(...)

; 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) #0

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(20) ptr @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEEaSERKS9_(ptr noundef nonnull align 4 dereferenceable(20), ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4lang2cc4Node4Decl3Fun4makeElN6langcc11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_6rc_ptrINS4_3VecINS8_INS3_4tmpl4item2_TEEEEEEENS8_INS9_INS8_INS1_3Mod2_TEEEEEEENS4_6Option2_TINS8_INS1_4Expr2_TEEEEESP_NS8_INS9_INS8_INS1_5Param2_TEEEEEEESK_NS8_INS1_10FunDeclDef2_TEEE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.154") align 8 %0, i64 noundef %1, i64 %2, i1 noundef zeroext %3, i64 noundef %4, ptr nocapture noundef readonly byval(%"struct.langcc::ParserAttrMask") align 8 %5, ptr nocapture noundef readonly byval(%"struct.langcc::ParserLookahead") align 8 %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %15 = zext i1 %3 to i8
  tail call void @_ZN6langcc7make_rcIN4lang2cc4Node4Decl3Fun2_TEJEEENS_6rc_ptrIT_EEDpT0_(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.154") align 8 %0)
  %16 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %17 = getelementptr inbounds i8, ptr %16, i64 72
  store i64 %1, ptr %17, align 8, !tbaa !5
  %18 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %19 = getelementptr inbounds i8, ptr %18, i64 80
  store i64 %2, ptr %19, align 8
  %20 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %21 = getelementptr inbounds i8, ptr %20, i64 88
  store i8 %15, ptr %21, align 8, !tbaa !21
  %22 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %23 = getelementptr inbounds i8, ptr %22, i64 96
  store i64 %4, ptr %23, align 8, !tbaa !22
  %24 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %25 = getelementptr inbounds i8, ptr %24, i64 104
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %5, i64 16, i1 false), !tbaa.struct !23
  %26 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %27 = getelementptr inbounds i8, ptr %26, i64 120
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(16) %6, i64 16, i1 false), !tbaa.struct !23
  %28 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %29 = getelementptr inbounds i8, ptr %28, i64 144
  %30 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node4Decl3Fun4tmpl4item2_TEEEEEEaSERKSC_(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %31 unwind label %55

31:                                               ; preds = %14
  %32 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %33 = getelementptr inbounds i8, ptr %32, i64 160
  %34 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEaSERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %35 unwind label %55

35:                                               ; preds = %31
  %36 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %37 = getelementptr inbounds i8, ptr %36, i64 176
  %38 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang2cc4Node4Expr2_TEEEEaSERKS9_(ptr noundef nonnull align 4 dereferenceable(20) %37, ptr noundef nonnull align 4 dereferenceable(20) %9)
          to label %39 unwind label %55

39:                                               ; preds = %35
  %40 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %41 = getelementptr inbounds i8, ptr %40, i64 200
  %42 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Expr2_TEEaSERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %41, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %43 unwind label %55

43:                                               ; preds = %39
  %44 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %45 = getelementptr inbounds i8, ptr %44, i64 216
  %46 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node5Param2_TEEEEEEaSERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %45, ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %47 unwind label %55

47:                                               ; preds = %43
  %48 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %49 = getelementptr inbounds i8, ptr %48, i64 232
  %50 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang2cc4Node3Mod2_TEEEEEEaSERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %49, ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %51 unwind label %55

51:                                               ; preds = %47
  %52 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %53 = getelementptr inbounds i8, ptr %52, i64 248
  %54 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6rc_ptrIN4lang2cc4Node10FunDeclDef2_TEEaSERKS6_(ptr noundef nonnull align 8 dereferenceable(16) %53, ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %57 unwind label %55

55:                                               ; preds = %51, %47, %43, %39, %35, %31, %14
  %56 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN6langcc6rc_ptrIN4lang2cc4Node4Decl3Fun2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #4
  resume { ptr, i32 } %56

57:                                               ; preds = %51
  ret void
}

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

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

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!6, !15, i64 96}
!23 = !{i64 0, i64 16, !24}
!24 = !{!10, !10, i64 0}


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