; LLVM IR from ThePhysicsGuys/Physics3D :: graphics/legacy/shaderLexer.ll (ZN3P3D8Graphics10TokenStack5untilERKNS0_9TokenType4TypeEb)

; 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.P3D::Graphics::TokenStack" = type { i8, %"class.std::vector.4", %"class.__gnu_cxx::__normal_iterator.9" }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<P3D::Graphics::Token, std::allocator<P3D::Graphics::Token>>::_Vector_impl" }
%"struct.std::_Vector_base<P3D::Graphics::Token, std::allocator<P3D::Graphics::Token>>::_Vector_impl" = type { %"struct.std::_Vector_base<P3D::Graphics::Token, std::allocator<P3D::Graphics::Token>>::_Vector_impl_data" }
%"struct.std::_Vector_base<P3D::Graphics::Token, std::allocator<P3D::Graphics::Token>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.9" = type { ptr }
%"struct.P3D::Graphics::Token" = type { %"struct.P3D::Graphics::TokenType", %"class.std::__cxx11::basic_string" }
%"struct.P3D::Graphics::TokenType" = type <{ i8, [7 x i8], %"class.std::__cxx11::basic_regex", i8, i8, [6 x i8] }>
%"class.std::__cxx11::basic_regex" = type { i32, %"class.std::locale", %"class.std::shared_ptr" }
%"class.std::locale" = type { ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"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] }

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

declare i32 @__gxx_personality_v0(...)

; 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 zeroext i1 @_ZNK3P3D8Graphics9TokenTypeeqENS1_4TypeE(ptr noundef nonnull align 8 dereferenceable(42), i8 noundef signext) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D8Graphics10TokenStack3addERKNS0_5TokenE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(80)) #3 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3P3D8Graphics10TokenStack9availableEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D8Graphics10TokenStack7discardEv(ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3P3D8Graphics10TokenStack5untilERKNS0_9TokenType4TypeEb(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Graphics::TokenStack") align 8 %0, ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 1 dereferenceable(1) %2, i1 noundef zeroext %3) #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca i1, align 1
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.9", align 8
  store ptr %0, ptr %5, align 8
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %13 = zext i1 %3 to i8
  store i8 %13, ptr %8, align 1, !tbaa !9
  %14 = load ptr, ptr %6, align 8
  store i1 false, ptr %9, align 1
  call void @_ZN3P3D8Graphics10TokenStackC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #4
  %15 = getelementptr inbounds %"struct.P3D::Graphics::TokenStack", ptr %14, i32 0, i32 0
  %16 = load i8, ptr %15, align 8, !tbaa !11, !range !18, !noundef !19
  %17 = trunc i8 %16 to i1
  br i1 %17, label %18, label %51

18:                                               ; preds = %4
  br label %19

19:                                               ; preds = %40, %18
  %20 = invoke noundef zeroext i1 @_ZNK3P3D8Graphics10TokenStack9availableEm(ptr noundef nonnull align 8 dereferenceable(40) %14, i64 noundef 0)
          to label %21 unwind label %31

21:                                               ; preds = %19
  br i1 %20, label %22, label %45

22:                                               ; preds = %21
  %23 = getelementptr inbounds %"struct.P3D::Graphics::TokenStack", ptr %14, i32 0, i32 2
  %24 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3P3D8Graphics5TokenESt6vectorIS3_SaIS3_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #4
  %25 = getelementptr inbounds %"struct.P3D::Graphics::Token", ptr %24, i32 0, i32 0
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  %27 = load i8, ptr %26, align 1, !tbaa !20
  %28 = invoke noundef zeroext i1 @_ZNK3P3D8Graphics9TokenTypeeqENS1_4TypeE(ptr noundef nonnull align 8 dereferenceable(42) %25, i8 noundef signext %27)
          to label %29 unwind label %31

29:                                               ; preds = %22
  br i1 %28, label %30, label %35

30:                                               ; preds = %29
  br label %45

31:                                               ; preds = %48, %22, %19
  %32 = landingpad { ptr, i32 }
          cleanup
  %33 = extractvalue { ptr, i32 } %32, 0
  store ptr %33, ptr %10, align 8
  %34 = extractvalue { ptr, i32 } %32, 1
  store i32 %34, ptr %11, align 4
  br label %55

35:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %36 = getelementptr inbounds %"struct.P3D::Graphics::TokenStack", ptr %14, i32 0, i32 2
  %37 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3P3D8Graphics5TokenESt6vectorIS3_SaIS3_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %36, i32 noundef 0) #4
  %38 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.9", ptr %12, i32 0, i32 0
  store ptr %37, ptr %38, align 8
  %39 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3P3D8Graphics5TokenESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #4
  invoke void @_ZN3P3D8Graphics10TokenStack3addERKNS0_5TokenE(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef nonnull align 8 dereferenceable(80) %39)
          to label %40 unwind label %41

40:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br label %19, !llvm.loop !22

41:                                               ; preds = %35
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %10, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br label %55

45:                                               ; preds = %30, %21
  %46 = load i8, ptr %8, align 1, !tbaa !9, !range !18, !noundef !19
  %47 = trunc i8 %46 to i1
  br i1 %47, label %48, label %50

48:                                               ; preds = %45
  invoke void @_ZN3P3D8Graphics10TokenStack7discardEv(ptr noundef nonnull align 8 dereferenceable(40) %14)
          to label %49 unwind label %31

49:                                               ; preds = %48
  br label %50

50:                                               ; preds = %49, %45
  br label %51

51:                                               ; preds = %50, %4
  call void @_ZN3P3D8Graphics10TokenStack4flipEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  store i1 true, ptr %9, align 1
  %52 = load i1, ptr %9, align 1
  br i1 %52, label %54, label %53

53:                                               ; preds = %51
  call void @_ZN3P3D8Graphics10TokenStackD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #4
  br label %54

54:                                               ; preds = %53, %51
  ret void

55:                                               ; preds = %41, %31
  call void @_ZN3P3D8Graphics10TokenStackD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #4
  br label %56

56:                                               ; preds = %55
  %57 = load ptr, ptr %10, align 8
  %58 = load i32, ptr %11, align 4
  %59 = insertvalue { ptr, i32 } poison, ptr %57, 0
  %60 = insertvalue { ptr, i32 } %59, i32 %58, 1
  resume { ptr, i32 } %60
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3P3D8Graphics5TokenESt6vectorIS3_SaIS3_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) #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 = { 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 #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 = { 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, !10, i64 0}
!12 = !{!"_ZTSN3P3D8Graphics10TokenStackE", !10, i64 0, !13, i64 8, !17, i64 32}
!13 = !{!"_ZTSSt6vectorIN3P3D8Graphics5TokenESaIS2_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIN3P3D8Graphics5TokenESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIN3P3D8Graphics5TokenESaIS2_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN3P3D8Graphics5TokenESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"_ZTSN9__gnu_cxx17__normal_iteratorIPN3P3D8Graphics5TokenESt6vectorIS3_SaIS3_EEEE", !6, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!21, !21, i64 0}
!21 = !{!"_ZTSN3P3D8Graphics9TokenType4TypeE", !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"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"

%"struct.P3D::Graphics::TokenStack" = type { i8, %"class.std::vector.4", %"class.__gnu_cxx::__normal_iterator.9" }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<P3D::Graphics::Token, std::allocator<P3D::Graphics::Token>>::_Vector_impl" }
%"struct.std::_Vector_base<P3D::Graphics::Token, std::allocator<P3D::Graphics::Token>>::_Vector_impl" = type { %"struct.std::_Vector_base<P3D::Graphics::Token, std::allocator<P3D::Graphics::Token>>::_Vector_impl_data" }
%"struct.std::_Vector_base<P3D::Graphics::Token, std::allocator<P3D::Graphics::Token>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.9" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

; 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 zeroext i1 @_ZNK3P3D8Graphics9TokenTypeeqENS1_4TypeE(ptr noundef nonnull align 8 dereferenceable(42), i8 noundef signext) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D8Graphics10TokenStack3addERKNS0_5TokenE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3P3D8Graphics10TokenStack9availableEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D8Graphics10TokenStack7discardEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3P3D8Graphics10TokenStack5untilERKNS0_9TokenType4TypeEb(ptr dead_on_unwind noalias nonnull writable sret(%"struct.P3D::Graphics::TokenStack") align 8 %0, ptr noundef nonnull align 8 dereferenceable(40) %1, ptr nocapture noundef nonnull readonly align 1 dereferenceable(1) %2, i1 noundef zeroext %3) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.9", align 8
  tail call void @_ZN3P3D8Graphics10TokenStackC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #4
  %6 = load i8, ptr %1, align 8, !tbaa !5, !range !16, !noundef !17
  %7 = trunc nuw i8 %6 to i1
  br i1 %7, label %.preheader, label %24

.preheader:                                       ; preds = %4
  %8 = tail call noundef zeroext i1 @_ZNK3P3D8Graphics10TokenStack9availableEm(ptr noundef nonnull align 8 dereferenceable(40) %1, i64 noundef 0)
  br i1 %8, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader
  %9 = getelementptr inbounds i8, ptr %1, i64 32
  br label %10

10:                                               ; preds = %.lr.ph, %19
  %11 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3P3D8Graphics5TokenESt6vectorIS3_SaIS3_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #4
  %12 = load i8, ptr %2, align 1, !tbaa !18
  %13 = call noundef zeroext i1 @_ZNK3P3D8Graphics9TokenTypeeqENS1_4TypeE(ptr noundef nonnull align 8 dereferenceable(42) %11, i8 noundef signext %12)
  br i1 %13, label %._crit_edge, label %16

14:                                               ; preds = %23
  %15 = landingpad { ptr, i32 }
          cleanup
  br label %25

16:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %17 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3P3D8Graphics5TokenESt6vectorIS3_SaIS3_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef 0) #4
  store ptr %17, ptr %5, align 8
  %18 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3P3D8Graphics5TokenESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  invoke void @_ZN3P3D8Graphics10TokenStack3addERKNS0_5TokenE(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef nonnull align 8 dereferenceable(80) %18)
          to label %19 unwind label %21

19:                                               ; preds = %16
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  %20 = call noundef zeroext i1 @_ZNK3P3D8Graphics10TokenStack9availableEm(ptr noundef nonnull align 8 dereferenceable(40) %1, i64 noundef 0)
  br i1 %20, label %10, label %._crit_edge, !llvm.loop !20

21:                                               ; preds = %16
  %22 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  br label %25

._crit_edge:                                      ; preds = %19, %10, %.preheader
  br i1 %3, label %23, label %24

23:                                               ; preds = %._crit_edge
  invoke void @_ZN3P3D8Graphics10TokenStack7discardEv(ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %24 unwind label %14

24:                                               ; preds = %._crit_edge, %23, %4
  call void @_ZN3P3D8Graphics10TokenStack4flipEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  ret void

25:                                               ; preds = %21, %14
  %.pn = phi { ptr, i32 } [ %15, %14 ], [ %22, %21 ]
  call void @_ZN3P3D8Graphics10TokenStackD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #4
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3P3D8Graphics5TokenESt6vectorIS3_SaIS3_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) 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 = { 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 #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 = { 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, !7, i64 0}
!6 = !{!"_ZTSN3P3D8Graphics10TokenStackE", !7, i64 0, !10, i64 8, !15, i64 32}
!7 = !{!"bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorIN3P3D8Graphics5TokenESaIS2_EE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseIN3P3D8Graphics5TokenESaIS2_EE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIN3P3D8Graphics5TokenESaIS2_EE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIN3P3D8Graphics5TokenESaIS2_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"_ZTSN9__gnu_cxx17__normal_iteratorIPN3P3D8Graphics5TokenESt6vectorIS3_SaIS3_EEEE", !14, i64 0}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = !{!19, !19, i64 0}
!19 = !{!"_ZTSN3P3D8Graphics9TokenType4TypeE", !8, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass