; LLVM IR from thepowersgang/mrustc :: src/parse/ttstream.ll (ZN9TTStreamO12realGetTokenEv)

; 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 }
%"struct.std::pair.22" = type { i32, ptr }
%"struct.std::pair.26" = type { i32, ptr }
%class.TTStreamO = type { %class.TokenStream, %struct.Span, %class.Position, %class.TokenTree, %"class.std::vector.17", i32, ptr }
%class.TokenStream = type { ptr, i8, %class.Token, %"class.Ident::Hygiene", i32, %"class.std::vector", %struct.ParseState }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<TokenStream::LookaheadEnt, std::allocator<TokenStream::LookaheadEnt>>::_Vector_impl" }
%"struct.std::_Vector_base<TokenStream::LookaheadEnt, std::allocator<TokenStream::LookaheadEnt>>::_Vector_impl" = type { %"struct.std::_Vector_base<TokenStream::LookaheadEnt, std::allocator<TokenStream::LookaheadEnt>>::_Vector_impl_data" }
%"struct.std::_Vector_base<TokenStream::LookaheadEnt, std::allocator<TokenStream::LookaheadEnt>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.ParseState = type { i8, i8, i8, ptr, ptr, ptr }
%class.TokenTree = type { ptr, i32, %"class.Ident::Hygiene", %class.Token, %"class.std::vector.10" }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<TokenTree, std::allocator<TokenTree>>::_Vector_impl" }
%"struct.std::_Vector_base<TokenTree, std::allocator<TokenTree>>::_Vector_impl" = type { %"struct.std::_Vector_base<TokenTree, std::allocator<TokenTree>>::_Vector_impl_data" }
%"struct.std::_Vector_base<TokenTree, std::allocator<TokenTree>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.17" = type { %"struct.std::_Vector_base.18" }
%"struct.std::_Vector_base.18" = type { %"struct.std::_Vector_base<std::pair<unsigned int, TokenTree *>, std::allocator<std::pair<unsigned int, TokenTree *>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<unsigned int, TokenTree *>, std::allocator<std::pair<unsigned int, TokenTree *>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<unsigned int, TokenTree *>, std::allocator<std::pair<unsigned int, TokenTree *>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<unsigned int, TokenTree *>, std::allocator<std::pair<unsigned int, TokenTree *>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9TokenTree11get_editionEv(ptr noundef nonnull align 8 dereferenceable(136)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK9TokenTree8is_tokenEv(ptr noundef nonnull align 8 dereferenceable(136)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK9TokenTree4sizeEv(ptr noundef nonnull align 8 dereferenceable(136)) #1 align 2

declare void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef) unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9TTStreamO12realGetTokenEv(ptr dead_on_unwind noalias writable sret(%class.Token) align 8 %0, ptr noundef nonnull align 8 dereferenceable(384) %1) unnamed_addr #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca %"struct.std::pair.22", align 8
  %10 = alloca %"struct.std::pair.26", align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %13 = load ptr, ptr %4, align 8
  br label %14

14:                                               ; preds = %110, %2
  %15 = getelementptr inbounds %class.TTStreamO, ptr %13, i32 0, i32 4
  %16 = call noundef i64 @_ZNKSt6vectorISt4pairIjP9TokenTreeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  %17 = icmp ugt i64 %16, 0
  br i1 %17, label %18, label %111

18:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %19 = getelementptr inbounds %class.TTStreamO, ptr %13, i32 0, i32 4
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIjP9TokenTreeESaIS3_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #5
  %21 = getelementptr inbounds %"struct.std::pair.22", ptr %20, i32 0, i32 0
  store ptr %21, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %22 = getelementptr inbounds %class.TTStreamO, ptr %13, i32 0, i32 4
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIjP9TokenTreeESaIS3_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  %24 = getelementptr inbounds %"struct.std::pair.22", ptr %23, i32 0, i32 1
  %25 = load ptr, ptr %24, align 8, !tbaa !9
  %26 = icmp ne ptr %25, null
  br i1 %26, label %27, label %32

27:                                               ; preds = %18
  %28 = getelementptr inbounds %class.TTStreamO, ptr %13, i32 0, i32 4
  %29 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIjP9TokenTreeESaIS3_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #5
  %30 = getelementptr inbounds %"struct.std::pair.22", ptr %29, i32 0, i32 1
  %31 = load ptr, ptr %30, align 8, !tbaa !9
  br label %34

32:                                               ; preds = %18
  %33 = getelementptr inbounds %class.TTStreamO, ptr %13, i32 0, i32 3
  br label %34

34:                                               ; preds = %32, %27
  %35 = phi ptr [ %31, %27 ], [ %33, %32 ]
  store ptr %35, ptr %6, align 8, !tbaa !5
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = load i32, ptr %36, align 4, !tbaa !12
  %38 = icmp eq i32 %37, 0
  br i1 %38, label %39, label %60

39:                                               ; preds = %34
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = call noundef zeroext i1 @_ZNK9TokenTree8is_tokenEv(ptr noundef nonnull align 8 dereferenceable(136) %40)
  br i1 %41, label %42, label %60

42:                                               ; preds = %39
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = load i32, ptr %43, align 4, !tbaa !12
  %45 = add i32 %44, 1
  store i32 %45, ptr %43, align 4, !tbaa !12
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN9TokenTree3tokEv(ptr noundef nonnull align 8 dereferenceable(136) %46)
  %48 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5Token7get_posEv(ptr noundef nonnull align 8 dereferenceable(88) %47)
  %49 = getelementptr inbounds %class.TTStreamO, ptr %13, i32 0, i32 2
  %50 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN8PositionaSERKS_(ptr noundef nonnull align 8 dereferenceable(24) %49, ptr noundef nonnull align 8 dereferenceable(24) %48)
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9TokenTree11get_editionEv(ptr noundef nonnull align 8 dereferenceable(136) %51)
  %53 = load i32, ptr %52, align 4, !tbaa !13
  %54 = getelementptr inbounds %class.TTStreamO, ptr %13, i32 0, i32 5
  store i32 %53, ptr %54, align 8, !tbaa !15
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9TokenTree7hygieneEv(ptr noundef nonnull align 8 dereferenceable(136) %55)
  %57 = getelementptr inbounds %class.TTStreamO, ptr %13, i32 0, i32 6
  store ptr %56, ptr %57, align 8, !tbaa !47
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN9TokenTree3tokEv(ptr noundef nonnull align 8 dereferenceable(136) %58)
  call void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(88) %59)
  store i32 1, ptr %7, align 4
  br label %108

60:                                               ; preds = %39, %34
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = load i32, ptr %61, align 4, !tbaa !12
  %63 = zext i32 %62 to i64
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = call noundef i64 @_ZNK9TokenTree4sizeEv(ptr noundef nonnull align 8 dereferenceable(136) %64)
  %66 = icmp ult i64 %63, %65
  br i1 %66, label %67, label %105

67:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %68 = load ptr, ptr %6, align 8, !tbaa !5
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = load i32, ptr %69, align 4, !tbaa !12
  %71 = call noundef nonnull align 8 dereferenceable(136) ptr @_ZN9TokenTreeixEj(ptr noundef nonnull align 8 dereferenceable(136) %68, i32 noundef %70)
  store ptr %71, ptr %8, align 8, !tbaa !5
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = load i32, ptr %72, align 4, !tbaa !12
  %74 = add i32 %73, 1
  store i32 %74, ptr %72, align 4, !tbaa !12
  %75 = load ptr, ptr %8, align 8, !tbaa !5
  %76 = call noundef i64 @_ZNK9TokenTree4sizeEv(ptr noundef nonnull align 8 dereferenceable(136) %75)
  %77 = icmp eq i64 %76, 0
  br i1 %77, label %78, label %93

78:                                               ; preds = %67
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  %80 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN9TokenTree3tokEv(ptr noundef nonnull align 8 dereferenceable(136) %79)
  %81 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5Token7get_posEv(ptr noundef nonnull align 8 dereferenceable(88) %80)
  %82 = getelementptr inbounds %class.TTStreamO, ptr %13, i32 0, i32 2
  %83 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN8PositionaSERKS_(ptr noundef nonnull align 8 dereferenceable(24) %82, ptr noundef nonnull align 8 dereferenceable(24) %81)
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  %85 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9TokenTree11get_editionEv(ptr noundef nonnull align 8 dereferenceable(136) %84)
  %86 = load i32, ptr %85, align 4, !tbaa !13
  %87 = getelementptr inbounds %class.TTStreamO, ptr %13, i32 0, i32 5
  store i32 %86, ptr %87, align 8, !tbaa !15
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9TokenTree7hygieneEv(ptr noundef nonnull align 8 dereferenceable(136) %88)
  %90 = getelementptr inbounds %class.TTStreamO, ptr %13, i32 0, i32 6
  store ptr %89, ptr %90, align 8, !tbaa !47
  %91 = load ptr, ptr %8, align 8, !tbaa !5
  %92 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN9TokenTree3tokEv(ptr noundef nonnull align 8 dereferenceable(136) %91)
  call void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(88) %92)
  store i32 1, ptr %7, align 4
  br label %102

93:                                               ; preds = %67
  %94 = getelementptr inbounds %class.TTStreamO, ptr %13, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %95 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %95, ptr %12, align 8, !tbaa !5
  %96 = call { i32, ptr } @_ZSt9make_pairIiP9TokenTreeESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 8 dereferenceable(8) %12)
  %97 = getelementptr inbounds { i32, ptr }, ptr %10, i32 0, i32 0
  %98 = extractvalue { i32, ptr } %96, 0
  store i32 %98, ptr %97, align 8
  %99 = getelementptr inbounds { i32, ptr }, ptr %10, i32 0, i32 1
  %100 = extractvalue { i32, ptr } %96, 1
  store ptr %100, ptr %99, align 8
  call void @_ZNSt4pairIjP9TokenTreeEC2IiS1_TnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE22_MoveConstructiblePairIS5_S6_EEclsr6_PCCFPIS5_S6_EE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS_IS5_S6_E(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %10)
  call void @_ZNSt6vectorISt4pairIjP9TokenTreeESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %94, ptr noundef nonnull align 8 dereferenceable(16) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #5
  br label %101

101:                                              ; preds = %93
  store i32 0, ptr %7, align 4
  br label %102

102:                                              ; preds = %101, %78
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  %103 = load i32, ptr %7, align 4
  switch i32 %103, label %108 [
    i32 0, label %104
  ]

104:                                              ; preds = %102
  br label %107

105:                                              ; preds = %60
  %106 = getelementptr inbounds %class.TTStreamO, ptr %13, i32 0, i32 4
  call void @_ZNSt6vectorISt4pairIjP9TokenTreeESaIS3_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %106) #5
  br label %107

107:                                              ; preds = %105, %104
  store i32 0, ptr %7, align 4
  br label %108

108:                                              ; preds = %107, %102, %42
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  %109 = load i32, ptr %7, align 4
  switch i32 %109, label %113 [
    i32 0, label %110
    i32 1, label %112
  ]

110:                                              ; preds = %108
  br label %14, !llvm.loop !48

111:                                              ; preds = %14
  call void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %0, i32 noundef 1)
  br label %112

112:                                              ; preds = %111, %108
  ret void

113:                                              ; preds = %108
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorISt4pairIjP9TokenTreeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZN9TokenTree3tokEv(ptr noundef nonnull align 8 dereferenceable(136)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5Token7get_posEv(ptr noundef nonnull align 8 dereferenceable(88)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN8PositionaSERKS_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(136) ptr @_ZN9TokenTreeixEj(ptr noundef nonnull align 8 dereferenceable(136), i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { i32, ptr } @_ZSt9make_pairIiP9TokenTreeESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(8)) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorISt4pairIjP9TokenTreeESaIS3_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 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, !6, i64 8}
!10 = !{!"_ZTSSt4pairIjP9TokenTreeE", !11, i64 0, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTSN3AST7EditionE", !7, i64 0}
!15 = !{!16, !14, i64 368}
!16 = !{!"_ZTS9TTStreamO", !17, i64 0, !24, i64 176, !23, i64 184, !38, i64 208, !43, i64 344, !14, i64 368, !6, i64 376}
!17 = !{!"_ZTS11TokenStream", !18, i64 8, !19, i64 16, !26, i64 104, !14, i64 112, !33, i64 120, !37, i64 144}
!18 = !{!"bool", !7, i64 0}
!19 = !{!"_ZTS5Token", !20, i64 8, !21, i64 16, !23, i64 56, !26, i64 80}
!20 = !{!"_ZTS10eTokenType", !7, i64 0}
!21 = !{!"_ZTSN5Token4DataE", !22, i64 0, !7, i64 8}
!22 = !{!"_ZTSN5Token4Data3TagE", !7, i64 0}
!23 = !{!"_ZTS8Position", !24, i64 0, !25, i64 8, !11, i64 16, !11, i64 20}
!24 = !{!"_ZTS4Span", !6, i64 0}
!25 = !{!"_ZTS8RcString", !6, i64 0}
!26 = !{!"_ZTSN5Ident7HygieneE", !27, i64 0}
!27 = !{!"_ZTSSt10unique_ptrIN5Ident7Hygiene5InnerESt14default_deleteIS2_EE", !28, i64 0}
!28 = !{!"_ZTSSt15__uniq_ptr_dataIN5Ident7Hygiene5InnerESt14default_deleteIS2_ELb1ELb1EE", !29, i64 0}
!29 = !{!"_ZTSSt15__uniq_ptr_implIN5Ident7Hygiene5InnerESt14default_deleteIS2_EE", !30, i64 0}
!30 = !{!"_ZTSSt5tupleIJPN5Ident7Hygiene5InnerESt14default_deleteIS2_EEE", !31, i64 0}
!31 = !{!"_ZTSSt11_Tuple_implILm0EJPN5Ident7Hygiene5InnerESt14default_deleteIS2_EEE", !32, i64 0}
!32 = !{!"_ZTSSt10_Head_baseILm0EPN5Ident7Hygiene5InnerELb0EE", !6, i64 0}
!33 = !{!"_ZTSSt6vectorIN11TokenStream12LookaheadEntESaIS1_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIN11TokenStream12LookaheadEntESaIS1_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIN11TokenStream12LookaheadEntESaIS1_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIN11TokenStream12LookaheadEntESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!"_ZTS10ParseState", !18, i64 0, !18, i64 1, !18, i64 2, !6, i64 8, !6, i64 16, !6, i64 24}
!38 = !{!"_ZTS9TokenTree", !14, i64 8, !26, i64 16, !19, i64 24, !39, i64 112}
!39 = !{!"_ZTSSt6vectorI9TokenTreeSaIS0_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseI9TokenTreeSaIS0_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseI9TokenTreeSaIS0_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseI9TokenTreeSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!43 = !{!"_ZTSSt6vectorISt4pairIjP9TokenTreeESaIS3_EE", !44, i64 0}
!44 = !{!"_ZTSSt12_Vector_baseISt4pairIjP9TokenTreeESaIS3_EE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseISt4pairIjP9TokenTreeESaIS3_EE12_Vector_implE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseISt4pairIjP9TokenTreeESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!47 = !{!16, !6, i64 376}
!48 = distinct !{!48, !49}
!49 = !{!"llvm.loop.mustprogress"}


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

%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 }
%"struct.std::pair.22" = type { i32, ptr }
%"struct.std::pair.26" = type { i32, ptr }

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9TokenTree11get_editionEv(ptr noundef nonnull align 8 dereferenceable(136)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK9TokenTree8is_tokenEv(ptr noundef nonnull align 8 dereferenceable(136)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK9TokenTree4sizeEv(ptr noundef nonnull align 8 dereferenceable(136)) local_unnamed_addr #1 align 2

declare void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef) unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9TTStreamO12realGetTokenEv(ptr dead_on_unwind noalias writable sret(%class.Token) align 8 %0, ptr noundef nonnull align 8 dereferenceable(384) %1) unnamed_addr #2 align 2 {
  %3 = alloca %"struct.std::pair.22", align 8
  %4 = alloca %"struct.std::pair.26", align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = getelementptr inbounds i8, ptr %1, i64 344
  %8 = tail call noundef i64 @_ZNKSt6vectorISt4pairIjP9TokenTreeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  %.not29 = icmp eq i64 %8, 0
  br i1 %.not29, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %2
  %9 = getelementptr inbounds i8, ptr %1, i64 208
  %10 = getelementptr inbounds i8, ptr %4, i64 8
  br label %11

11:                                               ; preds = %.lr.ph, %64
  %12 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIjP9TokenTreeESaIS3_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  %13 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIjP9TokenTreeESaIS3_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  %14 = getelementptr inbounds i8, ptr %13, i64 8
  %15 = load ptr, ptr %14, align 8, !tbaa !5
  %.not20 = icmp eq ptr %15, null
  br i1 %.not20, label %20, label %16

16:                                               ; preds = %11
  %17 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIjP9TokenTreeESaIS3_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  %18 = getelementptr inbounds i8, ptr %17, i64 8
  %19 = load ptr, ptr %18, align 8, !tbaa !5
  br label %20

20:                                               ; preds = %11, %16
  %21 = phi ptr [ %19, %16 ], [ %9, %11 ]
  %22 = load i32, ptr %12, align 8, !tbaa !11
  %23 = icmp eq i32 %22, 0
  br i1 %23, label %24, label %._crit_edge36

24:                                               ; preds = %20
  %25 = call noundef zeroext i1 @_ZNK9TokenTree8is_tokenEv(ptr noundef nonnull align 8 dereferenceable(136) %21)
  %26 = load i32, ptr %12, align 8, !tbaa !11
  br i1 %25, label %27, label %._crit_edge36

27:                                               ; preds = %24
  %28 = add i32 %26, 1
  store i32 %28, ptr %12, align 8, !tbaa !11
  %29 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN9TokenTree3tokEv(ptr noundef nonnull align 8 dereferenceable(136) %21)
  %30 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5Token7get_posEv(ptr noundef nonnull align 8 dereferenceable(88) %29)
  %31 = getelementptr inbounds i8, ptr %1, i64 184
  %32 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN8PositionaSERKS_(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(24) %30)
  %33 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9TokenTree11get_editionEv(ptr noundef nonnull align 8 dereferenceable(136) %21)
  %34 = load i32, ptr %33, align 4, !tbaa !12
  %35 = getelementptr inbounds i8, ptr %1, i64 368
  store i32 %34, ptr %35, align 8, !tbaa !14
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9TokenTree7hygieneEv(ptr noundef nonnull align 8 dereferenceable(136) %21)
  %37 = getelementptr inbounds i8, ptr %1, i64 376
  store ptr %36, ptr %37, align 8, !tbaa !46
  %38 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN9TokenTree3tokEv(ptr noundef nonnull align 8 dereferenceable(136) %21)
  call void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(88) %38)
  br label %.thread22

._crit_edge36:                                    ; preds = %24, %20
  %39 = phi i32 [ %22, %20 ], [ %26, %24 ]
  %40 = zext i32 %39 to i64
  %41 = call noundef i64 @_ZNK9TokenTree4sizeEv(ptr noundef nonnull align 8 dereferenceable(136) %21)
  %42 = icmp ugt i64 %41, %40
  br i1 %42, label %43, label %63

43:                                               ; preds = %._crit_edge36
  %44 = load i32, ptr %12, align 8, !tbaa !11
  %45 = call noundef nonnull align 8 dereferenceable(136) ptr @_ZN9TokenTreeixEj(ptr noundef nonnull align 8 dereferenceable(136) %21, i32 noundef %44)
  %46 = load i32, ptr %12, align 8, !tbaa !11
  %47 = add i32 %46, 1
  store i32 %47, ptr %12, align 8, !tbaa !11
  %48 = call noundef i64 @_ZNK9TokenTree4sizeEv(ptr noundef nonnull align 8 dereferenceable(136) %45)
  %.not21 = icmp eq i64 %48, 0
  br i1 %.not21, label %.thread, label %59

.thread:                                          ; preds = %43
  %49 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN9TokenTree3tokEv(ptr noundef nonnull align 8 dereferenceable(136) %45)
  %50 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5Token7get_posEv(ptr noundef nonnull align 8 dereferenceable(88) %49)
  %51 = getelementptr inbounds i8, ptr %1, i64 184
  %52 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN8PositionaSERKS_(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef nonnull align 8 dereferenceable(24) %50)
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9TokenTree11get_editionEv(ptr noundef nonnull align 8 dereferenceable(136) %45)
  %54 = load i32, ptr %53, align 4, !tbaa !12
  %55 = getelementptr inbounds i8, ptr %1, i64 368
  store i32 %54, ptr %55, align 8, !tbaa !14
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9TokenTree7hygieneEv(ptr noundef nonnull align 8 dereferenceable(136) %45)
  %57 = getelementptr inbounds i8, ptr %1, i64 376
  store ptr %56, ptr %57, align 8, !tbaa !46
  %58 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN9TokenTree3tokEv(ptr noundef nonnull align 8 dereferenceable(136) %45)
  call void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(88) %58)
  br label %.thread22

59:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  store i32 0, ptr %5, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  store ptr %45, ptr %6, align 8, !tbaa !47
  %60 = call { i32, ptr } @_ZSt9make_pairIiP9TokenTreeESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %61 = extractvalue { i32, ptr } %60, 0
  store i32 %61, ptr %4, align 8
  %62 = extractvalue { i32, ptr } %60, 1
  store ptr %62, ptr %10, align 8
  call void @_ZNSt4pairIjP9TokenTreeEC2IiS1_TnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE22_MoveConstructiblePairIS5_S6_EEclsr6_PCCFPIS5_S6_EE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS_IS5_S6_E(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @_ZNSt6vectorISt4pairIjP9TokenTreeESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(16) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5
  br label %64

63:                                               ; preds = %._crit_edge36
  call void @_ZNSt6vectorISt4pairIjP9TokenTreeESaIS3_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  br label %64

64:                                               ; preds = %63, %59
  %65 = call noundef i64 @_ZNKSt6vectorISt4pairIjP9TokenTreeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  %.not = icmp eq i64 %65, 0
  br i1 %.not, label %._crit_edge, label %11

._crit_edge:                                      ; preds = %64, %2
  call void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %0, i32 noundef 1)
  br label %.thread22

.thread22:                                        ; preds = %.thread, %27, %._crit_edge
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorISt4pairIjP9TokenTreeESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZN9TokenTree3tokEv(ptr noundef nonnull align 8 dereferenceable(136)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5Token7get_posEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN8PositionaSERKS_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(136) ptr @_ZN9TokenTreeixEj(ptr noundef nonnull align 8 dereferenceable(136), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { i32, ptr } @_ZSt9make_pairIiP9TokenTreeESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorISt4pairIjP9TokenTreeESaIS3_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 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, !10, i64 8}
!6 = !{!"_ZTSSt4pairIjP9TokenTreeE", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"_ZTSN3AST7EditionE", !8, i64 0}
!14 = !{!15, !13, i64 368}
!15 = !{!"_ZTS9TTStreamO", !16, i64 0, !23, i64 176, !22, i64 184, !37, i64 208, !42, i64 344, !13, i64 368, !10, i64 376}
!16 = !{!"_ZTS11TokenStream", !17, i64 8, !18, i64 16, !25, i64 104, !13, i64 112, !32, i64 120, !36, i64 144}
!17 = !{!"bool", !8, i64 0}
!18 = !{!"_ZTS5Token", !19, i64 8, !20, i64 16, !22, i64 56, !25, i64 80}
!19 = !{!"_ZTS10eTokenType", !8, i64 0}
!20 = !{!"_ZTSN5Token4DataE", !21, i64 0, !8, i64 8}
!21 = !{!"_ZTSN5Token4Data3TagE", !8, i64 0}
!22 = !{!"_ZTS8Position", !23, i64 0, !24, i64 8, !7, i64 16, !7, i64 20}
!23 = !{!"_ZTS4Span", !10, i64 0}
!24 = !{!"_ZTS8RcString", !10, i64 0}
!25 = !{!"_ZTSN5Ident7HygieneE", !26, i64 0}
!26 = !{!"_ZTSSt10unique_ptrIN5Ident7Hygiene5InnerESt14default_deleteIS2_EE", !27, i64 0}
!27 = !{!"_ZTSSt15__uniq_ptr_dataIN5Ident7Hygiene5InnerESt14default_deleteIS2_ELb1ELb1EE", !28, i64 0}
!28 = !{!"_ZTSSt15__uniq_ptr_implIN5Ident7Hygiene5InnerESt14default_deleteIS2_EE", !29, i64 0}
!29 = !{!"_ZTSSt5tupleIJPN5Ident7Hygiene5InnerESt14default_deleteIS2_EEE", !30, i64 0}
!30 = !{!"_ZTSSt11_Tuple_implILm0EJPN5Ident7Hygiene5InnerESt14default_deleteIS2_EEE", !31, i64 0}
!31 = !{!"_ZTSSt10_Head_baseILm0EPN5Ident7Hygiene5InnerELb0EE", !10, i64 0}
!32 = !{!"_ZTSSt6vectorIN11TokenStream12LookaheadEntESaIS1_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIN11TokenStream12LookaheadEntESaIS1_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIN11TokenStream12LookaheadEntESaIS1_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIN11TokenStream12LookaheadEntESaIS1_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!36 = !{!"_ZTS10ParseState", !17, i64 0, !17, i64 1, !17, i64 2, !10, i64 8, !10, i64 16, !10, i64 24}
!37 = !{!"_ZTS9TokenTree", !13, i64 8, !25, i64 16, !18, i64 24, !38, i64 112}
!38 = !{!"_ZTSSt6vectorI9TokenTreeSaIS0_EE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseI9TokenTreeSaIS0_EE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseI9TokenTreeSaIS0_EE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseI9TokenTreeSaIS0_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!42 = !{!"_ZTSSt6vectorISt4pairIjP9TokenTreeESaIS3_EE", !43, i64 0}
!43 = !{!"_ZTSSt12_Vector_baseISt4pairIjP9TokenTreeESaIS3_EE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseISt4pairIjP9TokenTreeESaIS3_EE12_Vector_implE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseISt4pairIjP9TokenTreeESaIS3_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!46 = !{!15, !10, i64 376}
!47 = !{!10, !10, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass