; LLVM IR from jzimmerman/langcc :: gen/meta/gen.ll (ZN4lang4meta4Node9LexerDecl4Mode2_T10with_memo_Eb)

; 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.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.langcc::TokenBounds" = type { i32, i32 }
%"struct.langcc::ParserAttrMask" = type { [16 x i8] }
%"struct.langcc::ParserLookahead" = type { [8 x i16] }
%"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
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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4lang4meta4Node9LexerDecl4Mode2_T10with_memo_Eb(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.163") align 8 %0, ptr noundef nonnull align 8 dereferenceable(216) %1, i1 noundef zeroext %2) #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca i1, align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  %10 = zext i1 %2 to i8
  store i8 %10, ptr %6, align 1, !tbaa !9
  %11 = load ptr, ptr %5, align 8
  store i1 false, ptr %7, align 1
  call void @_ZN6langcc7make_rcIN4lang4meta4Node9LexerDecl4Mode2_TEJEEENS_6rc_ptrIT_EEDpT0_(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.163") align 8 %0)
  %12 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %11, i32 0, i32 4
  %13 = load i64, ptr %12, align 8, !tbaa !11
  %14 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %15 unwind label %66

15:                                               ; preds = %3
  %16 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %14, i32 0, i32 4
  store i64 %13, ptr %16, align 8, !tbaa !11
  %17 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %11, i32 0, i32 5
  %18 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %19 unwind label %66

19:                                               ; preds = %15
  %20 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %18, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %17, i64 8, i1 false), !tbaa.struct !23
  %21 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %11, i32 0, i32 6
  %22 = load i8, ptr %21, align 8, !tbaa !25, !range !26, !noundef !27
  %23 = trunc i8 %22 to i1
  %24 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %25 unwind label %66

25:                                               ; preds = %19
  %26 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %24, i32 0, i32 6
  %27 = zext i1 %23 to i8
  store i8 %27, ptr %26, align 8, !tbaa !25
  %28 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %11, i32 0, i32 7
  %29 = load i64, ptr %28, align 8, !tbaa !28
  %30 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %31 unwind label %66

31:                                               ; preds = %25
  %32 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %30, i32 0, i32 7
  store i64 %29, ptr %32, align 8, !tbaa !28
  %33 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %11, i32 0, i32 8
  %34 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %35 unwind label %66

35:                                               ; preds = %31
  %36 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %34, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %36, ptr align 8 %33, i64 16, i1 false), !tbaa.struct !29
  %37 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %11, i32 0, i32 9
  %38 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %39 unwind label %66

39:                                               ; preds = %35
  %40 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %38, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %40, ptr align 8 %37, i64 16, i1 false), !tbaa.struct !29
  %41 = getelementptr inbounds %"struct.lang::meta::Node::LexerDecl::Mode::_T", ptr %11, i32 0, i32 1
  %42 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %43 unwind label %66

43:                                               ; preds = %39
  %44 = getelementptr inbounds %"struct.lang::meta::Node::LexerDecl::Mode::_T", ptr %42, i32 0, i32 1
  %45 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6langcc8StrSliceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 8 dereferenceable(32) %41)
          to label %46 unwind label %66

46:                                               ; preds = %43
  %47 = getelementptr inbounds %"struct.lang::meta::Node::LexerDecl::Mode::_T", ptr %11, i32 0, i32 2
  %48 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %49 unwind label %66

49:                                               ; preds = %46
  %50 = getelementptr inbounds %"struct.lang::meta::Node::LexerDecl::Mode::_T", ptr %48, i32 0, i32 2
  %51 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEEaSERKSB_(ptr noundef nonnull align 4 dereferenceable(20) %50, ptr noundef nonnull align 4 dereferenceable(20) %47)
          to label %52 unwind label %66

52:                                               ; preds = %49
  %53 = load i8, ptr %6, align 1, !tbaa !9, !range !26, !noundef !27
  %54 = trunc i8 %53 to i1
  %55 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %56 unwind label %66

56:                                               ; preds = %52
  %57 = getelementptr inbounds %"struct.lang::meta::Node::LexerDecl::Mode::_T", ptr %55, i32 0, i32 3
  %58 = zext i1 %54 to i8
  store i8 %58, ptr %57, align 4, !tbaa !31
  %59 = getelementptr inbounds %"struct.lang::meta::Node::LexerDecl::Mode::_T", ptr %11, i32 0, i32 4
  %60 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %61 unwind label %66

61:                                               ; preds = %56
  %62 = getelementptr inbounds %"struct.lang::meta::Node::LexerDecl::Mode::_T", ptr %60, i32 0, i32 4
  %63 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node13LexerModeCase2_TEEEEEEaSERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %62, ptr noundef nonnull align 8 dereferenceable(16) %59)
          to label %64 unwind label %66

64:                                               ; preds = %61
  store i1 true, ptr %7, align 1
  %65 = load i1, ptr %7, align 1
  br i1 %65, label %71, label %70

66:                                               ; preds = %61, %56, %52, %49, %46, %43, %39, %35, %31, %25, %19, %15, %3
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %8, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %9, align 4
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  br label %72

70:                                               ; preds = %64
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  br label %71

71:                                               ; preds = %70, %64
  ret void

72:                                               ; preds = %66
  %73 = load ptr, ptr %8, align 8
  %74 = load i32, ptr %9, align 4
  %75 = insertvalue { ptr, i32 } poison, ptr %73, 0
  %76 = insertvalue { ptr, i32 } %75, i32 %74, 1
  resume { ptr, i32 } %76
}

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 = !{!"any pointer", !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, !18, i64 72}
!12 = !{!"_ZTSN4lang4meta4Node2_TE", !13, i64 8, !16, i64 48, !17, i64 64, !18, i64 72, !19, i64 80, !10, i64 88, !18, i64 96, !21, i64 104, !22, i64 120}
!13 = !{!"_ZTSN6langcc8hash_objE", !14, i64 0}
!14 = !{!"_ZTSN6langcc6Option2_TINS_7HashValEEE", !15, i64 0, !7, i64 4}
!15 = !{!"_ZTSN6langcc6Option2_WE", !7, i64 0}
!16 = !{!"_ZTSN6langcc24enable_rc_from_this_polyE", !6, i64 0, !6, i64 8}
!17 = !{!"_ZTSN4lang4meta4Node2_WE", !7, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTSN6langcc11TokenBoundsE", !20, i64 0, !20, i64 4}
!20 = !{!"int", !7, i64 0}
!21 = !{!"_ZTSN6langcc14ParserAttrMaskE", !7, i64 0}
!22 = !{!"_ZTSN6langcc15ParserLookaheadE", !7, i64 0}
!23 = !{i64 0, i64 4, !24, i64 4, i64 4, !24}
!24 = !{!20, !20, i64 0}
!25 = !{!12, !10, i64 88}
!26 = !{i8 0, i8 2}
!27 = !{}
!28 = !{!12, !18, i64 96}
!29 = !{i64 0, i64 16, !30}
!30 = !{!7, !7, i64 0}
!31 = !{!32, !10, i64 196}
!32 = !{!"_ZTSN4lang4meta4Node9LexerDecl4Mode2_TE", !33, i64 0, !35, i64 144, !37, i64 176, !10, i64 196, !38, i64 200}
!33 = !{!"_ZTSN4lang4meta4Node9LexerDecl2_TE", !12, i64 0, !34, i64 136}
!34 = !{!"_ZTSN4lang4meta4Node9LexerDecl2_WE", !7, i64 0}
!35 = !{!"_ZTSN6langcc8StrSliceE", !36, i64 0, !18, i64 16, !18, i64 24}
!36 = !{!"_ZTSN6langcc6rc_ptrINS_3VecIcEEEE", !6, i64 0, !6, i64 8}
!37 = !{!"_ZTSN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEEE", !15, i64 0, !7, i64 4}
!38 = !{!"_ZTSN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node13LexerModeCase2_TEEEEEEE", !6, i64 0, !6, 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 }

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
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

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

31:                                               ; preds = %3
  %32 = getelementptr inbounds i8, ptr %1, i64 176
  %33 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %34 = getelementptr inbounds i8, ptr %33, i64 176
  %35 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEEaSERKSB_(ptr noundef nonnull align 4 dereferenceable(20) %34, ptr noundef nonnull align 4 dereferenceable(20) %32)
          to label %36 unwind label %43

36:                                               ; preds = %31
  %37 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %38 = getelementptr inbounds i8, ptr %37, i64 196
  store i8 %4, ptr %38, align 4, !tbaa !27
  %39 = getelementptr inbounds i8, ptr %1, i64 200
  %40 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_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_ptrINS_3VecINS0_IN4lang4meta4Node13LexerModeCase2_TEEEEEEaSERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %41, ptr noundef nonnull align 8 dereferenceable(16) %39)
          to label %45 unwind label %43

43:                                               ; preds = %36, %31, %3
  %44 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  resume { ptr, i32 } %44

45:                                               ; preds = %36
  ret void
}

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 = !{i8 0, i8 2}
!23 = !{}
!24 = !{!6, !15, i64 96}
!25 = !{i64 0, i64 16, !26}
!26 = !{!10, !10, i64 0}
!27 = !{!28, !18, i64 196}
!28 = !{!"_ZTSN4lang4meta4Node9LexerDecl4Mode2_TE", !29, i64 0, !31, i64 144, !33, i64 176, !18, i64 196, !34, i64 200}
!29 = !{!"_ZTSN4lang4meta4Node9LexerDecl2_TE", !6, i64 0, !30, i64 136}
!30 = !{!"_ZTSN4lang4meta4Node9LexerDecl2_WE", !10, i64 0}
!31 = !{!"_ZTSN6langcc8StrSliceE", !32, i64 0, !15, i64 16, !15, i64 24}
!32 = !{!"_ZTSN6langcc6rc_ptrINS_3VecIcEEEE", !13, i64 0, !13, i64 8}
!33 = !{!"_ZTSN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEEE", !9, i64 0, !10, i64 4}
!34 = !{!"_ZTSN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node13LexerModeCase2_TEEEEEEE", !13, i64 0, !13, i64 8}


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