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

; 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.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::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_T9with_attrEN6langcc14ParserAttrMaskE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.163") align 8 %0, ptr noundef nonnull align 8 dereferenceable(216) %1, i64 %2, i64 %3) #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca %"struct.langcc::ParserAttrMask", align 1
  %7 = alloca ptr, align 8
  %8 = alloca i1, align 1
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  store ptr %0, ptr %5, align 8
  %11 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 0
  store i64 %2, ptr %11, align 1
  %12 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 1
  store i64 %3, ptr %12, align 1
  store ptr %1, ptr %7, align 8, !tbaa !5
  %13 = load ptr, ptr %7, align 8
  store i1 false, ptr %8, align 1
  call void @_ZN6langcc7make_rcIN4lang4meta4Node9LexerDecl4Mode2_TEJEEENS_6rc_ptrIT_EEDpT0_(ptr dead_on_unwind writable sret(%"struct.langcc::rc_ptr.163") align 8 %0)
  %14 = getelementptr inbounds %"struct.lang::meta::Node::_T", ptr %13, i32 0, i32 4
  %15 = load i64, ptr %14, align 8, !tbaa !9
  %16 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %17 unwind label %68

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

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

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

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

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

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

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

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

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

53:                                               ; preds = %50
  %54 = getelementptr inbounds %"struct.lang::meta::Node::LexerDecl::Mode::_T", ptr %13, i32 0, i32 3
  %55 = load i8, ptr %54, align 4, !tbaa !30, !range !25, !noundef !26
  %56 = trunc i8 %55 to i1
  %57 = invoke noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %58 unwind label %68

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

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

66:                                               ; preds = %63
  store i1 true, ptr %8, align 1
  %67 = load i1, ptr %8, align 1
  br i1 %67, label %73, label %72

68:                                               ; preds = %63, %58, %53, %50, %47, %44, %40, %36, %33, %27, %21, %17, %4
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %9, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %10, align 4
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  br label %74

72:                                               ; preds = %66
  call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  br label %73

73:                                               ; preds = %72, %66
  ret void

74:                                               ; preds = %68
  %75 = load ptr, ptr %9, align 8
  %76 = load i32, ptr %10, align 4
  %77 = insertvalue { ptr, i32 } poison, ptr %75, 0
  %78 = insertvalue { ptr, i32 } %77, i32 %76, 1
  resume { ptr, i32 } %78
}

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, !16, i64 72}
!10 = !{!"_ZTSN4lang4meta4Node2_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 = !{!"_ZTSN4lang4meta4Node2_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}
!30 = !{!31, !19, i64 196}
!31 = !{!"_ZTSN4lang4meta4Node9LexerDecl4Mode2_TE", !32, i64 0, !34, i64 144, !36, i64 176, !19, i64 196, !37, i64 200}
!32 = !{!"_ZTSN4lang4meta4Node9LexerDecl2_TE", !10, i64 0, !33, i64 136}
!33 = !{!"_ZTSN4lang4meta4Node9LexerDecl2_WE", !7, i64 0}
!34 = !{!"_ZTSN6langcc8StrSliceE", !35, i64 0, !16, i64 16, !16, i64 24}
!35 = !{!"_ZTSN6langcc6rc_ptrINS_3VecIcEEEE", !6, i64 0, !6, i64 8}
!36 = !{!"_ZTSN6langcc6Option2_TINS_6rc_ptrIN4lang4meta4Node9LexerDecl4Mode7ws_sig_2_TEEEEE", !13, i64 0, !7, i64 4}
!37 = !{!"_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_T9with_attrEN6langcc14ParserAttrMaskE(ptr dead_on_unwind noalias writable sret(%"struct.langcc::rc_ptr.163") align 8 %0, ptr noundef nonnull align 8 dereferenceable(216) %1, i64 %2, i64 %3) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  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 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %22 = getelementptr inbounds i8, ptr %21, i64 104
  store i64 %2, ptr %22, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %21, i64 112
  store i64 %3, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !25
  %23 = getelementptr inbounds i8, ptr %1, i64 120
  %24 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %25 = getelementptr inbounds i8, ptr %24, i64 120
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %23, i64 16, i1 false), !tbaa.struct !26
  %26 = getelementptr inbounds i8, ptr %1, i64 144
  %27 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %28 = getelementptr inbounds i8, ptr %27, i64 144
  %29 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN6langcc8StrSliceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(32) %26)
          to label %30 unwind label %44

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

35:                                               ; preds = %30
  %36 = getelementptr inbounds i8, ptr %1, i64 196
  %37 = load i8, ptr %36, align 4, !tbaa !27, !range !22, !noundef !23
  %38 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %39 = getelementptr inbounds i8, ptr %38, i64 196
  store i8 %37, ptr %39, align 4, !tbaa !27
  %40 = getelementptr inbounds i8, ptr %1, i64 200
  %41 = tail call noundef ptr @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %42 = getelementptr inbounds i8, ptr %41, i64 200
  %43 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6langcc6rc_ptrINS_3VecINS0_IN4lang4meta4Node13LexerModeCase2_TEEEEEEaSERKS9_(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef nonnull align 8 dereferenceable(16) %40)
          to label %46 unwind label %44

44:                                               ; preds = %35, %30, %4
  %45 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN6langcc6rc_ptrIN4lang4meta4Node9LexerDecl4Mode2_TEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  resume { ptr, i32 } %45

46:                                               ; preds = %35
  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 = !{!10, !10, i64 0}
!26 = !{i64 0, i64 16, !25}
!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