; LLVM IR from thepowersgang/mrustc :: src/parse/token.ll (ZN5TokenD2Ev)

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

%class.Token = type { ptr, i32, %"class.Token::Data", %class.Position, %"class.Ident::Hygiene" }
%"class.Token::Data" = type { i32, %"union.Token::Data::DataUnion" }
%"union.Token::Data::DataUnion" = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%class.Position = type { %struct.Span, %class.RcString, i32, i32 }
%struct.Span = type { ptr }
%class.RcString = type { ptr }
%"class.Ident::Hygiene" = type { %"class.std::unique_ptr" }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }

@_ZTV5Token = external dso_local unnamed_addr constant { [4 x ptr] }, align 8

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %3 = load ptr, ptr %2, align 8
  store ptr getelementptr inbounds inrange(-16, 16) ({ [4 x ptr] }, ptr @_ZTV5Token, i32 0, i32 0, i32 2), ptr %3, align 8, !tbaa !9
  %4 = getelementptr inbounds %class.Token, ptr %3, i32 0, i32 1
  %5 = load i32, ptr %4, align 8, !tbaa !11
  switch i32 %5, label %85 [
    i32 6, label %6
    i32 7, label %14
    i32 5, label %25
    i32 8, label %36
    i32 9, label %47
    i32 10, label %58
    i32 11, label %69
    i32 13, label %77
  ]

6:                                                ; preds = %1
  %7 = getelementptr inbounds %class.Token, ptr %3, i32 0, i32 2
  %8 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Token4Data11as_FragmentEv(ptr noundef nonnull align 8 dereferenceable(40) %7)
          to label %9 unwind label %90

9:                                                ; preds = %6
  %10 = load ptr, ptr %8, align 8, !tbaa !5
  %11 = icmp eq ptr %10, null
  br i1 %11, label %13, label %12

12:                                               ; preds = %9
  call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %10) #5
  call void @_ZdlPvm(ptr noundef %10, i64 noundef 120) #6
  br label %13

13:                                               ; preds = %12, %9
  br label %86

14:                                               ; preds = %1
  %15 = getelementptr inbounds %class.Token, ptr %3, i32 0, i32 2
  %16 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Token4Data11as_FragmentEv(ptr noundef nonnull align 8 dereferenceable(40) %15)
          to label %17 unwind label %90

17:                                               ; preds = %14
  %18 = load ptr, ptr %16, align 8, !tbaa !5
  %19 = icmp eq ptr %18, null
  br i1 %19, label %24, label %20

20:                                               ; preds = %17
  %21 = load ptr, ptr %18, align 8, !tbaa !9
  %22 = getelementptr inbounds ptr, ptr %21, i64 1
  %23 = load ptr, ptr %22, align 8
  call void %23(ptr noundef nonnull align 8 dereferenceable(544) %18) #5
  br label %24

24:                                               ; preds = %20, %17
  br label %86

25:                                               ; preds = %1
  %26 = getelementptr inbounds %class.Token, ptr %3, i32 0, i32 2
  %27 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Token4Data11as_FragmentEv(ptr noundef nonnull align 8 dereferenceable(40) %26)
          to label %28 unwind label %90

28:                                               ; preds = %25
  %29 = load ptr, ptr %27, align 8, !tbaa !5
  %30 = icmp eq ptr %29, null
  br i1 %30, label %35, label %31

31:                                               ; preds = %28
  %32 = load ptr, ptr %29, align 8, !tbaa !9
  %33 = getelementptr inbounds ptr, ptr %32, i64 1
  %34 = load ptr, ptr %33, align 8
  call void %34(ptr noundef nonnull align 8 dereferenceable(240) %29) #5
  br label %35

35:                                               ; preds = %31, %28
  br label %86

36:                                               ; preds = %1
  %37 = getelementptr inbounds %class.Token, ptr %3, i32 0, i32 2
  %38 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Token4Data11as_FragmentEv(ptr noundef nonnull align 8 dereferenceable(40) %37)
          to label %39 unwind label %90

39:                                               ; preds = %36
  %40 = load ptr, ptr %38, align 8, !tbaa !5
  %41 = icmp eq ptr %40, null
  br i1 %41, label %46, label %42

42:                                               ; preds = %39
  %43 = load ptr, ptr %40, align 8, !tbaa !9
  %44 = getelementptr inbounds ptr, ptr %43, i64 1
  %45 = load ptr, ptr %44, align 8
  call void %45(ptr noundef nonnull align 8 dereferenceable(40) %40) #5
  br label %46

46:                                               ; preds = %42, %39
  br label %86

47:                                               ; preds = %1
  %48 = getelementptr inbounds %class.Token, ptr %3, i32 0, i32 2
  %49 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Token4Data11as_FragmentEv(ptr noundef nonnull align 8 dereferenceable(40) %48)
          to label %50 unwind label %90

50:                                               ; preds = %47
  %51 = load ptr, ptr %49, align 8, !tbaa !5
  %52 = icmp eq ptr %51, null
  br i1 %52, label %57, label %53

53:                                               ; preds = %50
  %54 = load ptr, ptr %51, align 8, !tbaa !9
  %55 = getelementptr inbounds ptr, ptr %54, i64 1
  %56 = load ptr, ptr %55, align 8
  call void %56(ptr noundef nonnull align 8 dereferenceable(40) %51) #5
  br label %57

57:                                               ; preds = %53, %50
  br label %86

58:                                               ; preds = %1
  %59 = getelementptr inbounds %class.Token, ptr %3, i32 0, i32 2
  %60 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Token4Data11as_FragmentEv(ptr noundef nonnull align 8 dereferenceable(40) %59)
          to label %61 unwind label %90

61:                                               ; preds = %58
  %62 = load ptr, ptr %60, align 8, !tbaa !5
  %63 = icmp eq ptr %62, null
  br i1 %63, label %68, label %64

64:                                               ; preds = %61
  %65 = load ptr, ptr %62, align 8, !tbaa !9
  %66 = getelementptr inbounds ptr, ptr %65, i64 1
  %67 = load ptr, ptr %66, align 8
  call void %67(ptr noundef nonnull align 8 dereferenceable(40) %62) #5
  br label %68

68:                                               ; preds = %64, %61
  br label %86

69:                                               ; preds = %1
  %70 = getelementptr inbounds %class.Token, ptr %3, i32 0, i32 2
  %71 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Token4Data11as_FragmentEv(ptr noundef nonnull align 8 dereferenceable(40) %70)
          to label %72 unwind label %90

72:                                               ; preds = %69
  %73 = load ptr, ptr %71, align 8, !tbaa !5
  %74 = icmp eq ptr %73, null
  br i1 %74, label %76, label %75

75:                                               ; preds = %72
  call void @_ZN3AST9AttributeD2Ev(ptr noundef nonnull align 8 dereferenceable(169) %73) #5
  call void @_ZdlPvm(ptr noundef %73, i64 noundef 176) #6
  br label %76

76:                                               ; preds = %75, %72
  br label %86

77:                                               ; preds = %1
  %78 = getelementptr inbounds %class.Token, ptr %3, i32 0, i32 2
  %79 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Token4Data11as_FragmentEv(ptr noundef nonnull align 8 dereferenceable(40) %78)
          to label %80 unwind label %90

80:                                               ; preds = %77
  %81 = load ptr, ptr %79, align 8, !tbaa !5
  %82 = icmp eq ptr %81, null
  br i1 %82, label %84, label %83

83:                                               ; preds = %80
  call void @_ZN3AST10VisibilityD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %81) #5
  call void @_ZdlPvm(ptr noundef %81, i64 noundef 40) #6
  br label %84

84:                                               ; preds = %83, %80
  br label %86

85:                                               ; preds = %1
  br label %86

86:                                               ; preds = %85, %84, %76, %68, %57, %46, %35, %24, %13
  %87 = getelementptr inbounds %class.Token, ptr %3, i32 0, i32 4
  call void @_ZN5Ident7HygieneD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %87) #5
  %88 = getelementptr inbounds %class.Token, ptr %3, i32 0, i32 3
  call void @_ZN8PositionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %88) #5
  %89 = getelementptr inbounds %class.Token, ptr %3, i32 0, i32 2
  call void @_ZN5Token4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %89) #5
  ret void

90:                                               ; preds = %77, %69, %58, %47, %36, %25, %14, %6
  %91 = landingpad { ptr, i32 }
          catch ptr null
  %92 = extractvalue { ptr, i32 } %91, 0
  call void @__clang_call_terminate(ptr %92) #7
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Token4Data11as_FragmentEv(ptr noundef nonnull align 8 dereferenceable(40)) #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #1

; Function Attrs: nounwind
declare void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3AST9AttributeD2Ev(ptr noundef nonnull align 8 dereferenceable(169)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3AST10VisibilityD2Ev(ptr noundef nonnull align 8 dereferenceable(36)) unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5Token4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { noinline noreturn nounwind uwtable "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 = { nounwind "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 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress 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 #5 = { nounwind }
attributes #6 = { builtin nounwind }
attributes #7 = { noreturn 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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !13, i64 8}
!12 = !{!"_ZTS5Token", !13, i64 8, !14, i64 16, !16, i64 56, !20, i64 80}
!13 = !{!"_ZTS10eTokenType", !7, i64 0}
!14 = !{!"_ZTSN5Token4DataE", !15, i64 0, !7, i64 8}
!15 = !{!"_ZTSN5Token4Data3TagE", !7, i64 0}
!16 = !{!"_ZTS8Position", !17, i64 0, !18, i64 8, !19, i64 16, !19, i64 20}
!17 = !{!"_ZTS4Span", !6, i64 0}
!18 = !{!"_ZTS8RcString", !6, i64 0}
!19 = !{!"int", !7, i64 0}
!20 = !{!"_ZTSN5Ident7HygieneE", !21, i64 0}
!21 = !{!"_ZTSSt10unique_ptrIN5Ident7Hygiene5InnerESt14default_deleteIS2_EE", !22, i64 0}
!22 = !{!"_ZTSSt15__uniq_ptr_dataIN5Ident7Hygiene5InnerESt14default_deleteIS2_ELb1ELb1EE", !23, i64 0}
!23 = !{!"_ZTSSt15__uniq_ptr_implIN5Ident7Hygiene5InnerESt14default_deleteIS2_EE", !24, i64 0}
!24 = !{!"_ZTSSt5tupleIJPN5Ident7Hygiene5InnerESt14default_deleteIS2_EEE", !25, i64 0}
!25 = !{!"_ZTSSt11_Tuple_implILm0EJPN5Ident7Hygiene5InnerESt14default_deleteIS2_EEE", !26, i64 0}
!26 = !{!"_ZTSSt10_Head_baseILm0EPN5Ident7Hygiene5InnerELb0EE", !6, 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"

@_ZTV5Token = external dso_local unnamed_addr constant { [4 x ptr] }, align 8

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN5TokenD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  store ptr getelementptr inbounds inrange(-16, 16) (i8, ptr @_ZTV5Token, i64 16), ptr %0, align 8, !tbaa !5
  %2 = getelementptr inbounds i8, ptr %0, i64 8
  %3 = load i32, ptr %2, align 8, !tbaa !8
  switch i32 %3, label %67 [
    i32 6, label %4
    i32 7, label %10
    i32 5, label %19
    i32 8, label %28
    i32 9, label %37
    i32 10, label %46
    i32 11, label %55
    i32 13, label %61
  ]

4:                                                ; preds = %1
  %5 = getelementptr inbounds i8, ptr %0, i64 16
  %6 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Token4Data11as_FragmentEv(ptr noundef nonnull align 8 dereferenceable(40) %5)
  %7 = load ptr, ptr %6, align 8, !tbaa !26
  %8 = icmp eq ptr %7, null
  br i1 %8, label %67, label %9

9:                                                ; preds = %4
  tail call void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %7) #4
  tail call void @_ZdlPvm(ptr noundef nonnull %7, i64 noundef 120) #5
  br label %67

10:                                               ; preds = %1
  %11 = getelementptr inbounds i8, ptr %0, i64 16
  %12 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Token4Data11as_FragmentEv(ptr noundef nonnull align 8 dereferenceable(40) %11)
  %13 = load ptr, ptr %12, align 8, !tbaa !26
  %14 = icmp eq ptr %13, null
  br i1 %14, label %67, label %15

15:                                               ; preds = %10
  %16 = load ptr, ptr %13, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %16, i64 8
  %18 = load ptr, ptr %17, align 8
  tail call void %18(ptr noundef nonnull align 8 dereferenceable(544) %13) #4
  br label %67

19:                                               ; preds = %1
  %20 = getelementptr inbounds i8, ptr %0, i64 16
  %21 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Token4Data11as_FragmentEv(ptr noundef nonnull align 8 dereferenceable(40) %20)
  %22 = load ptr, ptr %21, align 8, !tbaa !26
  %23 = icmp eq ptr %22, null
  br i1 %23, label %67, label %24

24:                                               ; preds = %19
  %25 = load ptr, ptr %22, align 8, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %25, i64 8
  %27 = load ptr, ptr %26, align 8
  tail call void %27(ptr noundef nonnull align 8 dereferenceable(240) %22) #4
  br label %67

28:                                               ; preds = %1
  %29 = getelementptr inbounds i8, ptr %0, i64 16
  %30 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Token4Data11as_FragmentEv(ptr noundef nonnull align 8 dereferenceable(40) %29)
  %31 = load ptr, ptr %30, align 8, !tbaa !26
  %32 = icmp eq ptr %31, null
  br i1 %32, label %67, label %33

33:                                               ; preds = %28
  %34 = load ptr, ptr %31, align 8, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %34, i64 8
  %36 = load ptr, ptr %35, align 8
  tail call void %36(ptr noundef nonnull align 8 dereferenceable(40) %31) #4
  br label %67

37:                                               ; preds = %1
  %38 = getelementptr inbounds i8, ptr %0, i64 16
  %39 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Token4Data11as_FragmentEv(ptr noundef nonnull align 8 dereferenceable(40) %38)
  %40 = load ptr, ptr %39, align 8, !tbaa !26
  %41 = icmp eq ptr %40, null
  br i1 %41, label %67, label %42

42:                                               ; preds = %37
  %43 = load ptr, ptr %40, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %43, i64 8
  %45 = load ptr, ptr %44, align 8
  tail call void %45(ptr noundef nonnull align 8 dereferenceable(40) %40) #4
  br label %67

46:                                               ; preds = %1
  %47 = getelementptr inbounds i8, ptr %0, i64 16
  %48 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Token4Data11as_FragmentEv(ptr noundef nonnull align 8 dereferenceable(40) %47)
  %49 = load ptr, ptr %48, align 8, !tbaa !26
  %50 = icmp eq ptr %49, null
  br i1 %50, label %67, label %51

51:                                               ; preds = %46
  %52 = load ptr, ptr %49, align 8, !tbaa !5
  %53 = getelementptr inbounds i8, ptr %52, i64 8
  %54 = load ptr, ptr %53, align 8
  tail call void %54(ptr noundef nonnull align 8 dereferenceable(40) %49) #4
  br label %67

55:                                               ; preds = %1
  %56 = getelementptr inbounds i8, ptr %0, i64 16
  %57 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Token4Data11as_FragmentEv(ptr noundef nonnull align 8 dereferenceable(40) %56)
  %58 = load ptr, ptr %57, align 8, !tbaa !26
  %59 = icmp eq ptr %58, null
  br i1 %59, label %67, label %60

60:                                               ; preds = %55
  tail call void @_ZN3AST9AttributeD2Ev(ptr noundef nonnull align 8 dereferenceable(169) %58) #4
  tail call void @_ZdlPvm(ptr noundef nonnull %58, i64 noundef 176) #5
  br label %67

61:                                               ; preds = %1
  %62 = getelementptr inbounds i8, ptr %0, i64 16
  %63 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Token4Data11as_FragmentEv(ptr noundef nonnull align 8 dereferenceable(40) %62)
  %64 = load ptr, ptr %63, align 8, !tbaa !26
  %65 = icmp eq ptr %64, null
  br i1 %65, label %67, label %66

66:                                               ; preds = %61
  tail call void @_ZN3AST10VisibilityD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %64) #4
  tail call void @_ZdlPvm(ptr noundef nonnull %64, i64 noundef 40) #5
  br label %67

67:                                               ; preds = %1, %61, %66, %55, %60, %46, %51, %37, %42, %28, %33, %19, %24, %10, %15, %4, %9
  %68 = getelementptr inbounds i8, ptr %0, i64 80
  tail call void @_ZN5Ident7HygieneD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %68) #4
  %69 = getelementptr inbounds i8, ptr %0, i64 56
  tail call void @_ZN8PositionD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %69) #4
  %70 = getelementptr inbounds i8, ptr %0, i64 16
  tail call void @_ZN5Token4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %70) #4
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Token4Data11as_FragmentEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN7TypeRefD1Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #1

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5Token4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { nounwind "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 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { builtin 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !10, i64 8}
!9 = !{!"_ZTS5Token", !10, i64 8, !12, i64 16, !14, i64 56, !19, i64 80}
!10 = !{!"_ZTS10eTokenType", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!"_ZTSN5Token4DataE", !13, i64 0, !11, i64 8}
!13 = !{!"_ZTSN5Token4Data3TagE", !11, i64 0}
!14 = !{!"_ZTS8Position", !15, i64 0, !17, i64 8, !18, i64 16, !18, i64 20}
!15 = !{!"_ZTS4Span", !16, i64 0}
!16 = !{!"any pointer", !11, i64 0}
!17 = !{!"_ZTS8RcString", !16, i64 0}
!18 = !{!"int", !11, i64 0}
!19 = !{!"_ZTSN5Ident7HygieneE", !20, i64 0}
!20 = !{!"_ZTSSt10unique_ptrIN5Ident7Hygiene5InnerESt14default_deleteIS2_EE", !21, i64 0}
!21 = !{!"_ZTSSt15__uniq_ptr_dataIN5Ident7Hygiene5InnerESt14default_deleteIS2_ELb1ELb1EE", !22, i64 0}
!22 = !{!"_ZTSSt15__uniq_ptr_implIN5Ident7Hygiene5InnerESt14default_deleteIS2_EE", !23, i64 0}
!23 = !{!"_ZTSSt5tupleIJPN5Ident7Hygiene5InnerESt14default_deleteIS2_EEE", !24, i64 0}
!24 = !{!"_ZTSSt11_Tuple_implILm0EJPN5Ident7Hygiene5InnerESt14default_deleteIS2_EEE", !25, i64 0}
!25 = !{!"_ZTSSt10_Head_baseILm0EPN5Ident7Hygiene5InnerELb0EE", !16, i64 0}
!26 = !{!16, !16, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,GlobalOptPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass