; LLVM IR from jzimmerman/langcc :: gen/meta (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.163" = 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::meta::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::meta::Node::LexerDecl::Mode::_T" = type { %"struct.lang::meta::Node::LexerDecl::_T.base", %"struct.langcc::StrSlice", %"struct.langcc::Option::_T.464", i8, %"struct.langcc::rc_ptr.465" }
%"struct.lang::meta::Node::LexerDecl::_T.base" = type <{ %"struct.lang::meta::Node::_T", i32 }>
%"struct.langcc::StrSlice" = type { %"struct.langcc::rc_ptr.161", i64, i64 }
%"struct.langcc::rc_ptr.161" = type { ptr, ptr }
%"struct.langcc::Option::_T.464" = type { i32, [16 x i8] }
%"struct.langcc::rc_ptr.465" = 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: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN6langcc8StrSliceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4lang4meta4Node9LexerDecl4Mode4makeElN6langcc11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_8StrSliceENS4_6Option2_TINS4_6rc_ptrINS3_7ws_sig_2_TEEEEEbNSB_INS4_3VecINSB_INS1_13LexerModeCase2_TEEEEEEE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.163") 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, i1 noundef zeroext %9, ptr noundef %10) #3 personality ptr @__gxx_personality_v0 {
  %12 = alloca ptr, align 8
  %13 = alloca %"struct.langcc::TokenBounds", align 4
  %14 = alloca i64, align 8
  %15 = alloca i8, align 1
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i8, align 1
  %20 = alloca ptr, align 8
  %21 = alloca i1, align 1
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  store ptr %0, ptr %12, align 8
  store i64 %2, ptr %13, align 4
  store i64 %1, ptr %14, align 8, !tbaa !5
  %24 = zext i1 %3 to i8
  store i8 %24, ptr %15, align 1, !tbaa !9
  store i64 %4, ptr %16, align 8, !tbaa !5
  store ptr %7, ptr %17, align 8, !tbaa !11
  store ptr %8, ptr %18, align 8, !tbaa !11
  %25 = zext i1 %9 to i8
  store i8 %25, ptr %19, align 1, !tbaa !9
  store ptr %10, ptr %20, align 8, !tbaa !11
  store i1 false, ptr %21, align 1
  call void @_ZN6langcc7make_rcIN4lang4meta4Node9LexerDecl4Mode2_TEJEEENS_6rc_ptrIT_EEDpT0_(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.163") align 8 %0)
  %26 = load i64, ptr %14, align 8, !tbaa !5
  %27 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %28 unwind label %71

28:                                               ; preds = %11
  %29 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %27, i32 0, i32 4
  store i64 %26, ptr %29, align 8, !tbaa !13
  %30 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %31 unwind label %71

31:                                               ; preds = %28
  %32 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %30, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %32, ptr align 4 %13, i64 8, i1 false), !tbaa.struct !24
  %33 = load i8, ptr %15, align 1, !tbaa !9, !range !26, !noundef !27
  %34 = trunc i8 %33 to i1
  %35 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %36 unwind label %71

36:                                               ; preds = %31
  %37 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %35, i32 0, i32 6
  %38 = zext i1 %34 to i8
  store i8 %38, ptr %37, align 8, !tbaa !28
  %39 = load i64, ptr %16, align 8, !tbaa !5
  %40 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %41 unwind label %71

41:                                               ; preds = %36
  %42 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %40, i32 0, i32 7
  store i64 %39, ptr %42, align 8, !tbaa !29
  %43 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %44 unwind label %71

44:                                               ; preds = %41
  %45 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %43, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %45, ptr align 8 %5, i64 16, i1 false), !tbaa.struct !30
  %46 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %47 unwind label %71

47:                                               ; preds = %44
  %48 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %46, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %48, ptr align 8 %6, i64 16, i1 false), !tbaa.struct !30
  %49 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %50 unwind label %71

50:                                               ; preds = %47
  %51 = getelementptr inbounds %"struct.lang::meta::Node::LexerDecl::Mode::_T", ptr %49, i32 0, i32 1
  %52 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6langcc8StrSliceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %53 unwind label %71

53:                                               ; preds = %50
  %54 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %55 unwind label %71

55:                                               ; preds = %53
  %56 = getelementptr inbounds %"struct.lang::meta::Node::LexerDecl::Mode::_T", ptr %54, i32 0, i32 2
  %57 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEEaSERKSB_(ptr noundef nonnull align 4 dereferenceable(20) %56, ptr noundef nonnull align 4 dereferenceable(20) %8)
          to label %58 unwind label %71

58:                                               ; preds = %55
  %59 = load i8, ptr %19, align 1, !tbaa !9, !range !26, !noundef !27
  %60 = trunc i8 %59 to i1
  %61 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %62 unwind label %71

62:                                               ; preds = %58
  %63 = getelementptr inbounds %"struct.lang::meta::Node::LexerDecl::Mode::_T", ptr %61, i32 0, i32 3
  %64 = zext i1 %60 to i8
  store i8 %64, ptr %63, align 4, !tbaa !32
  %65 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %66 unwind label %71

66:                                               ; preds = %62
  %67 = getelementptr inbounds %"struct.lang::meta::Node::LexerDecl::Mode::_T", ptr %65, i32 0, i32 4
  %68 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node13LexerModeCase2_TEEEEEEaSERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %67, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %69 unwind label %71

69:                                               ; preds = %66
  store i1 true, ptr %21, align 1
  %70 = load i1, ptr %21, align 1
  br i1 %70, label %76, label %75

71:                                               ; preds = %66, %62, %58, %55, %53, %50, %47, %44, %41, %36, %31, %28, %11
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %22, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %23, align 4
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  br label %77

75:                                               ; preds = %69
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  br label %76

76:                                               ; preds = %75, %69
  ret void

77:                                               ; preds = %71
  %78 = load ptr, ptr %22, align 8
  %79 = load i32, ptr %23, align 4
  %80 = insertvalue { ptr, i32 } poison, ptr %78, 0
  %81 = insertvalue { ptr, i32 } %80, i32 %79, 1
  resume { ptr, i32 } %81
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(20) ptr @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEEaSERKSB_(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_IN4lang4meta4Node13LexerModeCase2_TEEEEEEaSERKS9_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 = !{!"_ZTSN4lang4meta4Node2_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 = !{!"_ZTSN4lang4meta4Node2_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}
!32 = !{!33, !10, i64 196}
!33 = !{!"_ZTSN4lang4meta4Node9LexerDecl4Mode2_TE", !34, i64 0, !36, i64 144, !38, i64 176, !10, i64 196, !39, i64 200}
!34 = !{!"_ZTSN4lang4meta4Node9LexerDecl2_TE", !14, i64 0, !35, i64 136}
!35 = !{!"_ZTSN4lang4meta4Node9LexerDecl2_WE", !7, i64 0}
!36 = !{!"_ZTSN6langcc8StrSliceE", !37, i64 0, !6, i64 16, !6, i64 24}
!37 = !{!"_ZTSN6langcc6rc_ptrINS_3VecIcEEEE", !12, i64 0, !12, i64 8}
!38 = !{!"_ZTSN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEEE", !17, i64 0, !7, i64 4}
!39 = !{!"_ZTSN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node13LexerModeCase2_TEEEEEEE", !12, i64 0, !12, i64 8}


; 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.163" = 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: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN6langcc8StrSliceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4lang4meta4Node9LexerDecl4Mode4makeElN6langcc11TokenBoundsEblNS4_14ParserAttrMaskENS4_15ParserLookaheadENS4_8StrSliceENS4_6Option2_TINS4_6rc_ptrINS3_7ws_sig_2_TEEEEEbNSB_INS4_3VecINSB_INS1_13LexerModeCase2_TEEEEEEE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.163") 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, i1 noundef zeroext %9, ptr noundef %10) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %12 = zext i1 %3 to i8
  %13 = zext i1 %9 to i8
  tail call void @_ZN6langcc7make_rcIN4lang4meta4Node9LexerDecl4Mode2_TEJEEENS_6rc_ptrIT_EEDpT0_(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.163") align 8 %0)
  %14 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %15 = getelementptr inbounds i8, ptr %14, i64 72
  store i64 %1, ptr %15, align 8, !tbaa !5
  %16 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %17 = getelementptr inbounds i8, ptr %16, i64 80
  store i64 %2, ptr %17, align 8
  %18 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %19 = getelementptr inbounds i8, ptr %18, i64 88
  store i8 %12, ptr %19, align 8, !tbaa !21
  %20 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %21 = getelementptr inbounds i8, ptr %20, i64 96
  store i64 %4, ptr %21, align 8, !tbaa !22
  %22 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %23 = getelementptr inbounds i8, ptr %22, i64 104
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %5, i64 16, i1 false), !tbaa.struct !23
  %24 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %25 = getelementptr inbounds i8, ptr %24, i64 120
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %6, i64 16, i1 false), !tbaa.struct !23
  %26 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %27 = getelementptr inbounds i8, ptr %26, i64 144
  %28 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6langcc8StrSliceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %29 unwind label %39

29:                                               ; preds = %11
  %30 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %31 = getelementptr inbounds i8, ptr %30, i64 176
  %32 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEEaSERKSB_(ptr noundef nonnull align 4 dereferenceable(20) %31, ptr noundef nonnull align 4 dereferenceable(20) %8)
          to label %33 unwind label %39

33:                                               ; preds = %29
  %34 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %35 = getelementptr inbounds i8, ptr %34, i64 196
  store i8 %13, ptr %35, align 4, !tbaa !25
  %36 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %37 = getelementptr inbounds i8, ptr %36, i64 200
  %38 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node13LexerModeCase2_TEEEEEEaSERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %37, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %41 unwind label %39

39:                                               ; preds = %33, %29, %11
  %40 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  resume { ptr, i32 } %40

41:                                               ; preds = %33
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(20) ptr @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEEaSERKSB_(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_IN4lang4meta4Node13LexerModeCase2_TEEEEEEaSERKS9_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4 align 2

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 = !{!"_ZTSN4lang4meta4Node2_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 = !{!"_ZTSN4lang4meta4Node2_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}
!25 = !{!26, !18, i64 196}
!26 = !{!"_ZTSN4lang4meta4Node9LexerDecl4Mode2_TE", !27, i64 0, !29, i64 144, !31, i64 176, !18, i64 196, !32, i64 200}
!27 = !{!"_ZTSN4lang4meta4Node9LexerDecl2_TE", !6, i64 0, !28, i64 136}
!28 = !{!"_ZTSN4lang4meta4Node9LexerDecl2_WE", !10, i64 0}
!29 = !{!"_ZTSN6langcc8StrSliceE", !30, i64 0, !15, i64 16, !15, i64 24}
!30 = !{!"_ZTSN6langcc6rc_ptrINS_3VecIcEEEE", !13, i64 0, !13, i64 8}
!31 = !{!"_ZTSN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEEE", !9, i64 0, !10, i64 4}
!32 = !{!"_ZTSN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node13LexerModeCase2_TEEEEEEE", !13, i64 0, !13, i64 8}


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