; LLVM IR from ThePhysicsGuys/Physics3D :: graphics/shader/parser.ll (ZN3P3D8Graphics10parseScopeERNS0_5LexerERNS0_6Parser5ParseE)

; 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::Lexer::Token" = type { i8, %"struct.P3D::Graphics::Lexer::Range" }
%"struct.P3D::Graphics::Lexer::Range" = type { i64, i64 }
%"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.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<P3D::Graphics::Parser::Local, std::allocator<P3D::Graphics::Parser::Local>>::_Vector_impl" }
%"struct.std::_Vector_base<P3D::Graphics::Parser::Local, std::allocator<P3D::Graphics::Parser::Local>>::_Vector_impl" = type { %"struct.std::_Vector_base<P3D::Graphics::Parser::Local, std::allocator<P3D::Graphics::Parser::Local>>::_Vector_impl_data" }
%"struct.std::_Vector_base<P3D::Graphics::Parser::Local, std::allocator<P3D::Graphics::Parser::Local>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::__detail::_Node_iterator.37" = type { %"struct.std::__detail::_Node_iterator_base.38" }
%"struct.std::__detail::_Node_iterator_base.38" = type { ptr }
%"struct.P3D::Graphics::Parser::Local" = type { %"struct.P3D::Graphics::Lexer::Range", %"struct.P3D::Graphics::Lexer::Range", i64 }
%"struct.P3D::Graphics::Parser::Parse" = type { %"struct.P3D::Graphics::Parser::Version", %"class.std::vector", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.13", %"class.std::vector.3", %"class.std::unordered_map", %"class.std::unordered_map.23" }
%"struct.P3D::Graphics::Parser::Version" = type <{ i64, i8, [7 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<P3D::Graphics::Parser::Layout, std::allocator<P3D::Graphics::Parser::Layout>>::_Vector_impl" }
%"struct.std::_Vector_base<P3D::Graphics::Parser::Layout, std::allocator<P3D::Graphics::Parser::Layout>>::_Vector_impl" = type { %"struct.std::_Vector_base<P3D::Graphics::Parser::Layout, std::allocator<P3D::Graphics::Parser::Layout>>::_Vector_impl_data" }
%"struct.std::_Vector_base<P3D::Graphics::Parser::Layout, std::allocator<P3D::Graphics::Parser::Layout>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<P3D::Graphics::Parser::Global, std::allocator<P3D::Graphics::Parser::Global>>::_Vector_impl" }
%"struct.std::_Vector_base<P3D::Graphics::Parser::Global, std::allocator<P3D::Graphics::Parser::Global>>::_Vector_impl" = type { %"struct.std::_Vector_base<P3D::Graphics::Parser::Global, std::allocator<P3D::Graphics::Parser::Global>>::_Vector_impl_data" }
%"struct.std::_Vector_base<P3D::Graphics::Parser::Global, std::allocator<P3D::Graphics::Parser::Global>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<P3D::Graphics::Parser::VSOut, std::allocator<P3D::Graphics::Parser::VSOut>>::_Vector_impl" }
%"struct.std::_Vector_base<P3D::Graphics::Parser::VSOut, std::allocator<P3D::Graphics::Parser::VSOut>>::_Vector_impl" = type { %"struct.std::_Vector_base<P3D::Graphics::Parser::VSOut, std::allocator<P3D::Graphics::Parser::VSOut>>::_Vector_impl_data" }
%"struct.std::_Vector_base<P3D::Graphics::Parser::VSOut, std::allocator<P3D::Graphics::Parser::VSOut>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::unordered_map.23" = type { %"class.std::_Hashtable.24" }
%"class.std::_Hashtable.24" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.P3D::Graphics::Lexer" = type { i64, ptr }

; 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nounwind
declare void @_ZN3P3D8Graphics5Lexer4nextEv(ptr dead_on_unwind writable sret(%"struct.P3D::Graphics::Lexer::Token") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN3P3D8Graphics10parseArrayERNS0_5LexerERNS0_6Parser5ParseE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(248)) #3

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3P3D8Graphics5Lexer5Token6stringB5cxx11EPKc(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3P3D8Graphics6Parser6StructESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S9_EEE4findERSF_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3P3D8Graphics10parseScopeERNS0_5LexerERNS0_6Parser5ParseE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.3") align 8 %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(248) %2) #3 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i1, align 1
  %8 = alloca %"struct.P3D::Graphics::Lexer::Token", align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"struct.P3D::Graphics::Lexer::Token", align 8
  %12 = alloca %"struct.std::__detail::_Node_iterator.37", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca i1, align 1
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i1, align 1
  %18 = alloca %"struct.std::__detail::_Node_iterator.37", align 8
  %19 = alloca %"struct.P3D::Graphics::Lexer::Token", align 8
  %20 = alloca %"struct.P3D::Graphics::Lexer::Token", align 8
  %21 = alloca i64, align 8
  %22 = alloca %"struct.P3D::Graphics::Parser::Local", align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  store i1 false, ptr %7, align 1
  call void @_ZNSt6vectorIN3P3D8Graphics6Parser5LocalESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #5
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN3P3D8Graphics5Lexer4nextEv(ptr dead_on_unwind writable sret(%"struct.P3D::Graphics::Lexer::Token") align 8 %8, ptr noundef nonnull align 8 dereferenceable(16) %23) #5
  %24 = getelementptr inbounds %"struct.P3D::Graphics::Lexer::Token", ptr %8, i32 0, i32 0
  %25 = load i8, ptr %24, align 8, !tbaa !9
  %26 = sext i8 %25 to i32
  %27 = icmp ne i32 %26, 17
  br i1 %27, label %28, label %29

28:                                               ; preds = %3
  store i1 true, ptr %7, align 1
  store i32 1, ptr %9, align 4
  br label %147

29:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 1, ptr %10, align 4, !tbaa !14
  br label %30

30:                                               ; preds = %144, %136, %55, %41, %29
  %31 = getelementptr inbounds %"struct.P3D::Graphics::Lexer::Token", ptr %8, i32 0, i32 0
  %32 = load i8, ptr %31, align 8, !tbaa !9
  %33 = sext i8 %32 to i32
  %34 = icmp ne i32 %33, 28
  br i1 %34, label %35, label %145

35:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #5
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN3P3D8Graphics5Lexer4nextEv(ptr dead_on_unwind writable sret(%"struct.P3D::Graphics::Lexer::Token") align 8 %11, ptr noundef nonnull align 8 dereferenceable(16) %36) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %11, i64 24, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  %37 = getelementptr inbounds %"struct.P3D::Graphics::Lexer::Token", ptr %8, i32 0, i32 0
  %38 = load i8, ptr %37, align 8, !tbaa !9
  %39 = sext i8 %38 to i32
  %40 = icmp eq i32 %39, 17
  br i1 %40, label %41, label %44

41:                                               ; preds = %35
  %42 = load i32, ptr %10, align 4, !tbaa !14
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %10, align 4, !tbaa !14
  br label %30, !llvm.loop !19

44:                                               ; preds = %35
  %45 = getelementptr inbounds %"struct.P3D::Graphics::Lexer::Token", ptr %8, i32 0, i32 0
  %46 = load i8, ptr %45, align 8, !tbaa !9
  %47 = sext i8 %46 to i32
  %48 = icmp eq i32 %47, 18
  br i1 %48, label %49, label %56

49:                                               ; preds = %44
  %50 = load i32, ptr %10, align 4, !tbaa !14
  %51 = add nsw i32 %50, -1
  store i32 %51, ptr %10, align 4, !tbaa !14
  %52 = load i32, ptr %10, align 4, !tbaa !14
  %53 = icmp eq i32 %52, 0
  br i1 %53, label %54, label %55

54:                                               ; preds = %49
  br label %145

55:                                               ; preds = %49
  br label %30, !llvm.loop !19

56:                                               ; preds = %44
  %57 = getelementptr inbounds %"struct.P3D::Graphics::Lexer::Token", ptr %8, i32 0, i32 0
  %58 = load i8, ptr %57, align 8, !tbaa !9
  %59 = sext i8 %58 to i32
  %60 = icmp eq i32 %59, 15
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  store i1 false, ptr %14, align 1
  store i1 false, ptr %17, align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  br i1 %60, label %85, label %61

61:                                               ; preds = %56
  %62 = getelementptr inbounds %"struct.P3D::Graphics::Lexer::Token", ptr %8, i32 0, i32 0
  %63 = load i8, ptr %62, align 8, !tbaa !9
  %64 = sext i8 %63 to i32
  %65 = icmp eq i32 %64, 16
  br i1 %65, label %66, label %83

66:                                               ; preds = %61
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.P3D::Graphics::Parser::Parse", ptr %67, i32 0, i32 7
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #5
  store i1 true, ptr %14, align 1
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = getelementptr inbounds %"class.P3D::Graphics::Lexer", ptr %69, i32 0, i32 1
  %71 = load ptr, ptr %70, align 8, !tbaa !21
  invoke void @_ZNK3P3D8Graphics5Lexer5Token6stringB5cxx11EPKc(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %13, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef %71)
          to label %72 unwind label %100

72:                                               ; preds = %66
  store i1 true, ptr %17, align 1
  %73 = invoke ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3P3D8Graphics6Parser6StructESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S9_EEE4findERSF_(ptr noundef nonnull align 8 dereferenceable(56) %68, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %74 unwind label %104

74:                                               ; preds = %72
  %75 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.37", ptr %12, i32 0, i32 0
  %76 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.38", ptr %75, i32 0, i32 0
  store ptr %73, ptr %76, align 8
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.P3D::Graphics::Parser::Parse", ptr %77, i32 0, i32 7
  %79 = call ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3P3D8Graphics6Parser6StructESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %78) #5
  %80 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.37", ptr %18, i32 0, i32 0
  %81 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.38", ptr %80, i32 0, i32 0
  store ptr %79, ptr %81, align 8
  %82 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3P3D8Graphics6Parser6StructEELb1EEESG_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  br label %83

83:                                               ; preds = %74, %61
  %84 = phi i1 [ false, %61 ], [ %82, %74 ]
  br label %85

85:                                               ; preds = %83, %56
  %86 = phi i1 [ true, %56 ], [ %84, %83 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  %87 = load i1, ptr %17, align 1
  br i1 %87, label %88, label %89

88:                                               ; preds = %85
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  br label %89

89:                                               ; preds = %88, %85
  %90 = load i1, ptr %14, align 1
  br i1 %90, label %91, label %92

91:                                               ; preds = %89
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #5
  br label %92

92:                                               ; preds = %91, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br i1 %86, label %93, label %144

93:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %19, ptr align 8 %8, i64 24, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #5
  %94 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN3P3D8Graphics5Lexer4nextEv(ptr dead_on_unwind writable sret(%"struct.P3D::Graphics::Lexer::Token") align 8 %20, ptr noundef nonnull align 8 dereferenceable(16) %94) #5
  %95 = getelementptr inbounds %"struct.P3D::Graphics::Lexer::Token", ptr %20, i32 0, i32 0
  %96 = load i8, ptr %95, align 8, !tbaa !9
  %97 = sext i8 %96 to i32
  %98 = icmp ne i32 %97, 16
  br i1 %98, label %99, label %115

99:                                               ; preds = %93
  store i32 2, ptr %9, align 4
  br label %136, !llvm.loop !19

100:                                              ; preds = %66
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %15, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %16, align 4
  br label %111

104:                                              ; preds = %72
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %15, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %16, align 4
  %108 = load i1, ptr %17, align 1
  br i1 %108, label %109, label %110

109:                                              ; preds = %104
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  br label %110

110:                                              ; preds = %109, %104
  br label %111

111:                                              ; preds = %110, %100
  %112 = load i1, ptr %14, align 1
  br i1 %112, label %113, label %114

113:                                              ; preds = %111
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #5
  br label %114

114:                                              ; preds = %113, %111
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %146

115:                                              ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %116 = load ptr, ptr %5, align 8, !tbaa !5
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = invoke noundef i64 @_ZN3P3D8Graphics10parseArrayERNS0_5LexerERNS0_6Parser5ParseE(ptr noundef nonnull align 8 dereferenceable(16) %116, ptr noundef nonnull align 8 dereferenceable(248) %117)
          to label %119 unwind label %123

119:                                              ; preds = %115
  store i64 %118, ptr %21, align 8, !tbaa !18
  %120 = load i64, ptr %21, align 8, !tbaa !18
  %121 = icmp eq i64 %120, -1
  br i1 %121, label %122, label %127

122:                                              ; preds = %119
  store i32 2, ptr %9, align 4
  br label %135, !llvm.loop !19

123:                                              ; preds = %115
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %15, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %16, align 4
  br label %143

127:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 40, ptr %22) #5
  %128 = getelementptr inbounds %"struct.P3D::Graphics::Parser::Local", ptr %22, i32 0, i32 0
  %129 = getelementptr inbounds %"struct.P3D::Graphics::Lexer::Token", ptr %19, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %128, ptr align 8 %129, i64 16, i1 false), !tbaa.struct !23
  %130 = getelementptr inbounds %"struct.P3D::Graphics::Parser::Local", ptr %22, i32 0, i32 1
  %131 = getelementptr inbounds %"struct.P3D::Graphics::Lexer::Token", ptr %20, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %130, ptr align 8 %131, i64 16, i1 false), !tbaa.struct !23
  %132 = getelementptr inbounds %"struct.P3D::Graphics::Parser::Local", ptr %22, i32 0, i32 2
  %133 = load i64, ptr %21, align 8, !tbaa !18
  store i64 %133, ptr %132, align 8, !tbaa !24
  invoke void @_ZNSt6vectorIN3P3D8Graphics6Parser5LocalESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(40) %22)
          to label %134 unwind label %139

134:                                              ; preds = %127
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #5
  store i32 0, ptr %9, align 4
  br label %135

135:                                              ; preds = %134, %122
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br label %136

136:                                              ; preds = %135, %99
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #5
  %137 = load i32, ptr %9, align 4
  switch i32 %137, label %156 [
    i32 0, label %138
    i32 2, label %30
  ]

138:                                              ; preds = %136
  br label %144

139:                                              ; preds = %127
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %15, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #5
  br label %143

143:                                              ; preds = %139, %123
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #5
  br label %146

144:                                              ; preds = %138, %92
  br label %30, !llvm.loop !19

145:                                              ; preds = %54, %30
  store i1 true, ptr %7, align 1
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %147

146:                                              ; preds = %143, %114
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #5
  call void @_ZNSt6vectorIN3P3D8Graphics6Parser5LocalESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  br label %151

147:                                              ; preds = %145, %28
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #5
  %148 = load i1, ptr %7, align 1
  br i1 %148, label %150, label %149

149:                                              ; preds = %147
  call void @_ZNSt6vectorIN3P3D8Graphics6Parser5LocalESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  br label %150

150:                                              ; preds = %149, %147
  ret void

151:                                              ; preds = %146
  %152 = load ptr, ptr %15, align 8
  %153 = load i32, ptr %16, align 4
  %154 = insertvalue { ptr, i32 } poison, ptr %152, 0
  %155 = insertvalue { ptr, i32 } %154, i32 %153, 1
  resume { ptr, i32 } %155

156:                                              ; preds = %136
  unreachable
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3P3D8Graphics6Parser6StructEELb1EEESG_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

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

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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 }

!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, !11, i64 0}
!10 = !{!"_ZTSN3P3D8Graphics5Lexer5TokenE", !11, i64 0, !12, i64 8}
!11 = !{!"_ZTSN3P3D8Graphics5Lexer5Token4TypeE", !7, i64 0}
!12 = !{!"_ZTSN3P3D8Graphics5Lexer5RangeE", !13, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{i64 0, i64 1, !17, i64 8, i64 8, !18, i64 16, i64 8, !18}
!17 = !{!11, !11, i64 0}
!18 = !{!13, !13, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!22, !6, i64 8}
!22 = !{!"_ZTSN3P3D8Graphics5LexerE", !13, i64 0, !6, i64 8}
!23 = !{i64 0, i64 8, !18, i64 8, i64 8, !18}
!24 = !{!25, !13, i64 32}
!25 = !{!"_ZTSN3P3D8Graphics6Parser5LocalE", !12, i64 0, !12, i64 16, !13, i64 32}


; 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::Lexer::Token" = type { i8, %"struct.P3D::Graphics::Lexer::Range" }
%"struct.P3D::Graphics::Lexer::Range" = type { i64, i64 }
%"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.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<P3D::Graphics::Parser::Local, std::allocator<P3D::Graphics::Parser::Local>>::_Vector_impl" }
%"struct.std::_Vector_base<P3D::Graphics::Parser::Local, std::allocator<P3D::Graphics::Parser::Local>>::_Vector_impl" = type { %"struct.std::_Vector_base<P3D::Graphics::Parser::Local, std::allocator<P3D::Graphics::Parser::Local>>::_Vector_impl_data" }
%"struct.std::_Vector_base<P3D::Graphics::Parser::Local, std::allocator<P3D::Graphics::Parser::Local>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::__detail::_Node_iterator.37" = type { %"struct.std::__detail::_Node_iterator_base.38" }
%"struct.std::__detail::_Node_iterator_base.38" = type { ptr }
%"struct.P3D::Graphics::Parser::Local" = type { %"struct.P3D::Graphics::Lexer::Range", %"struct.P3D::Graphics::Lexer::Range", i64 }

; 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nounwind
declare void @_ZN3P3D8Graphics5Lexer4nextEv(ptr dead_on_unwind writable sret(%"struct.P3D::Graphics::Lexer::Token") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN3P3D8Graphics10parseArrayERNS0_5LexerERNS0_6Parser5ParseE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(248)) local_unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3P3D8Graphics5Lexer5Token6stringB5cxx11EPKc(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3P3D8Graphics6Parser6StructESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S9_EEE4findERSF_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3P3D8Graphics10parseScopeERNS0_5LexerERNS0_6Parser5ParseE(ptr dead_on_unwind noalias nonnull writable sret(%"class.std::vector.3") align 8 %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(248) %2) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"struct.P3D::Graphics::Lexer::Token", align 8
  %5 = alloca %"struct.P3D::Graphics::Lexer::Token", align 8
  %6 = alloca %"struct.std::__detail::_Node_iterator.37", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"struct.std::__detail::_Node_iterator.37", align 8
  %9 = alloca %"struct.P3D::Graphics::Lexer::Token", align 8
  %10 = alloca %"struct.P3D::Graphics::Lexer::Token", align 8
  %11 = alloca %"struct.P3D::Graphics::Parser::Local", align 8
  tail call void @_ZNSt6vectorIN3P3D8Graphics6Parser5LocalESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #5
  call void @_ZN3P3D8Graphics5Lexer4nextEv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Graphics::Lexer::Token") align 8 %4, ptr noundef nonnull align 8 dereferenceable(16) %1) #5
  %12 = load i8, ptr %4, align 8, !tbaa !5
  %.not = icmp eq i8 %12, 17
  br i1 %.not, label %.preheader47, label %.loopexit

.preheader47:                                     ; preds = %3
  %13 = getelementptr inbounds i8, ptr %2, i64 192
  %14 = getelementptr inbounds i8, ptr %1, i64 8
  %15 = getelementptr inbounds i8, ptr %9, i64 8
  %16 = getelementptr inbounds i8, ptr %11, i64 16
  %17 = getelementptr inbounds i8, ptr %10, i64 8
  %18 = getelementptr inbounds i8, ptr %11, i64 32
  br label %.preheader

thread-pre-split:                                 ; preds = %.thread, %.critedge, %45, %.thread43
  %.old1.pr = load i8, ptr %4, align 8, !tbaa !5
  br label %.backedge

.preheader:                                       ; preds = %.preheader.backedge, %.preheader47
  %.130 = phi i32 [ 1, %.preheader47 ], [ %.130.be, %.preheader.backedge ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #5
  call void @_ZN3P3D8Graphics5Lexer4nextEv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Graphics::Lexer::Token") align 8 %5, ptr noundef nonnull align 8 dereferenceable(16) %1) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, i64 24, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  %19 = load i8, ptr %4, align 8
  switch i8 %19, label %24 [
    i8 17, label %20
    i8 18, label %22
  ]

20:                                               ; preds = %.preheader
  %21 = add nsw i32 %.130, 1
  br label %.backedge

.backedge:                                        ; preds = %20, %thread-pre-split
  %.old1.be = phi i8 [ %.old1.pr, %thread-pre-split ], [ 17, %20 ]
  %.029.be = phi i32 [ %.130, %thread-pre-split ], [ %21, %20 ]
  %.old3.not = icmp eq i8 %.old1.be, 28
  br i1 %.old3.not, label %.loopexit, label %.preheader.backedge

22:                                               ; preds = %.preheader
  %23 = add nsw i32 %.130, -1
  %.not40 = icmp eq i32 %23, 0
  br i1 %.not40, label %.loopexit, label %.preheader.backedge

.preheader.backedge:                              ; preds = %22, %.backedge
  %.130.be = phi i32 [ %23, %22 ], [ %.029.be, %.backedge ]
  br label %.preheader, !llvm.loop !15

24:                                               ; preds = %.preheader
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  switch i8 %19, label %.thread [
    i8 15, label %.thread.thread
    i8 16, label %25
  ]

.thread.thread:                                   ; preds = %24
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %31

25:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #5
  %26 = load ptr, ptr %14, align 8, !tbaa !17
  invoke void @_ZNK3P3D8Graphics5Lexer5Token6stringB5cxx11EPKc(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %7, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef %26)
          to label %27 unwind label %33

27:                                               ; preds = %25
  %28 = invoke ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3P3D8Graphics6Parser6StructESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S9_EEE4findERSF_(ptr noundef nonnull align 8 dereferenceable(56) %13, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %.critedge unwind label %35

.thread:                                          ; preds = %24
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %thread-pre-split, !llvm.loop !15

.critedge:                                        ; preds = %27
  store ptr %28, ptr %6, align 8
  %29 = call ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3P3D8Graphics6Parser6StructESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %13) #5
  store ptr %29, ptr %8, align 8
  %30 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3P3D8Graphics6Parser6StructEELb1EEESG_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br i1 %30, label %31, label %thread-pre-split, !llvm.loop !15

31:                                               ; preds = %.thread.thread, %.critedge
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %4, i64 24, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #5
  call void @_ZN3P3D8Graphics5Lexer4nextEv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Graphics::Lexer::Token") align 8 %10, ptr noundef nonnull align 8 dereferenceable(16) %1) #5
  %32 = load i8, ptr %10, align 8, !tbaa !5
  %.not36 = icmp eq i8 %32, 16
  br i1 %.not36, label %38, label %.thread43, !llvm.loop !15

33:                                               ; preds = %25
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %37

35:                                               ; preds = %27
  %36 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  br label %37

37:                                               ; preds = %33, %35
  %.pn = phi { ptr, i32 } [ %36, %35 ], [ %34, %33 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %49

38:                                               ; preds = %31
  %39 = invoke noundef i64 @_ZN3P3D8Graphics10parseArrayERNS0_5LexerERNS0_6Parser5ParseE(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(248) %2)
          to label %40 unwind label %42

40:                                               ; preds = %38
  %41 = icmp eq i64 %39, -1
  br i1 %41, label %.thread43, label %44, !llvm.loop !15

42:                                               ; preds = %38
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %48

44:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %15, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %17, i64 16, i1 false), !tbaa.struct !20
  store i64 %39, ptr %18, align 8, !tbaa !21
  invoke void @_ZNSt6vectorIN3P3D8Graphics6Parser5LocalESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(40) %11)
          to label %45 unwind label %46

.thread43:                                        ; preds = %31, %40
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9)
  br label %thread-pre-split

45:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9)
  br label %thread-pre-split, !llvm.loop !15

46:                                               ; preds = %44
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #5
  br label %48

48:                                               ; preds = %46, %42
  %.pn37 = phi { ptr, i32 } [ %47, %46 ], [ %43, %42 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9)
  br label %49

49:                                               ; preds = %48, %37
  %.pn37.pn = phi { ptr, i32 } [ %.pn37, %48 ], [ %.pn, %37 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  call void @_ZNSt6vectorIN3P3D8Graphics6Parser5LocalESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  resume { ptr, i32 } %.pn37.pn

.loopexit:                                        ; preds = %.backedge, %22, %3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3P3D8Graphics6Parser6StructEELb1EEESG_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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 }

!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 = !{!"_ZTSN3P3D8Graphics5Lexer5TokenE", !7, i64 0, !10, i64 8}
!7 = !{!"_ZTSN3P3D8Graphics5Lexer5Token4TypeE", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN3P3D8Graphics5Lexer5RangeE", !11, i64 0, !11, i64 8}
!11 = !{!"long", !8, i64 0}
!12 = !{i64 0, i64 1, !13, i64 8, i64 8, !14, i64 16, i64 8, !14}
!13 = !{!7, !7, i64 0}
!14 = !{!11, !11, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !19, i64 8}
!18 = !{!"_ZTSN3P3D8Graphics5LexerE", !11, i64 0, !19, i64 8}
!19 = !{!"any pointer", !8, i64 0}
!20 = !{i64 0, i64 8, !14, i64 8, i64 8, !14}
!21 = !{!22, !11, i64 32}
!22 = !{!"_ZTSN3P3D8Graphics6Parser5LocalE", !10, i64 0, !10, i64 16, !11, i64 32}


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