; LLVM IR from ronan-kerviche/glip-lib :: GLIP-Lib/src/Modules (UniformsLoader)

; 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.Glip::Modules::VanillaParserSpace::Element" = type <{ %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::vector", i8, i8, i8, i8, i32, i32, [4 x i8] }>
%"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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_Rb_tree_const_iterator.90" = type { ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.Glip::Modules::UniformsLoader::Node" = type { %"class.std::__cxx11::basic_string", %"class.std::map", %"class.std::map.21" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<const std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, Glip::Modules::UniformsLoader::Node>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, Glip::Modules::UniformsLoader::Node>>, std::less<const std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, Glip::Modules::UniformsLoader::Node>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, Glip::Modules::UniformsLoader::Node>>, std::less<const std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::map.21" = type { %"class.std::_Rb_tree.22" }
%"class.std::_Rb_tree.22" = type { %"struct.std::_Rb_tree<const std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, Glip::Modules::UniformsLoader::Resource>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, Glip::Modules::UniformsLoader::Resource>>, std::less<const std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, Glip::Modules::UniformsLoader::Resource>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, Glip::Modules::UniformsLoader::Resource>>, std::less<const std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::pair.88" = type { %"class.std::__cxx11::basic_string", %"class.Glip::Modules::UniformsLoader::Resource" }
%"class.Glip::Modules::UniformsLoader::Resource" = type <{ %"class.std::__cxx11::basic_string", ptr, i8, [7 x i8] }>
%"struct.std::pair" = type { %"class.std::__cxx11::basic_string", %"class.Glip::Modules::UniformsLoader::Node" }

@_ZN4Glip7Modules14UniformsLoader8keywordsE = external dso_local global [25 x ptr], align 16

; 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 void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4Glip7Modules14UniformsLoader8Resource14getCodeElementEv(ptr dead_on_unwind noalias writable sret(%"struct.Glip::Modules::VanillaParserSpace::Element") align 8, ptr noundef nonnull align 8 dereferenceable(41)) #2 align 2

declare void @_ZN4Glip7Modules18VanillaParserSpace7ElementC1Ev(ptr noundef nonnull align 8 dereferenceable(164)) unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4Glip7Modules14UniformsLoader4Node5emptyEv(ptr noundef nonnull align 8 dereferenceable(128)) #1 align 2

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4Glip7Modules14UniformsLoader4Node8isFilterEv(ptr noundef nonnull align 8 dereferenceable(128)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK4Glip7Modules14UniformsLoader4Node14getCodeElementEv(ptr dead_on_unwind noalias writable sret(%"struct.Glip::Modules::VanillaParserSpace::Element") align 8 %0, ptr noundef nonnull align 8 dereferenceable(128) %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i1, align 1
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"struct.std::_Rb_tree_const_iterator.90", align 8
  %10 = alloca %"struct.std::_Rb_tree_const_iterator.90", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"struct.Glip::Modules::VanillaParserSpace::Element", align 8
  %13 = alloca %"struct.std::_Rb_tree_const_iterator.90", align 8
  %14 = alloca %"struct.std::_Rb_tree_const_iterator.90", align 8
  %15 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %16 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"struct.Glip::Modules::VanillaParserSpace::Element", align 8
  %19 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %20 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %21 = load ptr, ptr %4, align 8
  store i1 false, ptr %5, align 1
  call void @_ZN4Glip7Modules18VanillaParserSpace7ElementC1Ev(ptr noundef nonnull align 8 dereferenceable(164) %0)
  %22 = getelementptr inbounds %"struct.Glip::Modules::VanillaParserSpace::Element", ptr %0, i32 0, i32 5
  store i8 1, ptr %22, align 8, !tbaa !9
  %23 = getelementptr inbounds %"struct.Glip::Modules::VanillaParserSpace::Element", ptr %0, i32 0, i32 6
  store i8 1, ptr %23, align 1, !tbaa !20
  %24 = getelementptr inbounds %"struct.Glip::Modules::VanillaParserSpace::Element", ptr %0, i32 0, i32 7
  store i8 1, ptr %24, align 2, !tbaa !21
  %25 = call noundef zeroext i1 @_ZNK4Glip7Modules14UniformsLoader4Node5emptyEv(ptr noundef nonnull align 8 dereferenceable(128) %21)
  br i1 %25, label %26, label %27

26:                                               ; preds = %2
  store i1 true, ptr %5, align 1
  store i32 1, ptr %6, align 4
  br label %145

27:                                               ; preds = %2
  %28 = call noundef zeroext i1 @_ZNK4Glip7Modules14UniformsLoader4Node8isFilterEv(ptr noundef nonnull align 8 dereferenceable(128) %21)
  br i1 %28, label %29, label %38

29:                                               ; preds = %27
  %30 = load ptr, ptr getelementptr inbounds ([25 x ptr], ptr @_ZN4Glip7Modules14UniformsLoader8keywordsE, i64 0, i64 1), align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.Glip::Modules::VanillaParserSpace::Element", ptr %0, i32 0, i32 1
  %32 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef %30)
          to label %33 unwind label %34

33:                                               ; preds = %29
  br label %43

34:                                               ; preds = %43, %38, %29
  %35 = landingpad { ptr, i32 }
          cleanup
  %36 = extractvalue { ptr, i32 } %35, 0
  store ptr %36, ptr %7, align 8
  %37 = extractvalue { ptr, i32 } %35, 1
  store i32 %37, ptr %8, align 4
  br label %149

38:                                               ; preds = %27
  %39 = load ptr, ptr @_ZN4Glip7Modules14UniformsLoader8keywordsE, align 16, !tbaa !5
  %40 = getelementptr inbounds %"struct.Glip::Modules::VanillaParserSpace::Element", ptr %0, i32 0, i32 1
  %41 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef %39)
          to label %42 unwind label %34

42:                                               ; preds = %38
  br label %43

43:                                               ; preds = %42, %33
  %44 = getelementptr inbounds %"class.Glip::Modules::UniformsLoader::Node", ptr %21, i32 0, i32 0
  %45 = getelementptr inbounds %"struct.Glip::Modules::VanillaParserSpace::Element", ptr %0, i32 0, i32 2
  %46 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %44)
          to label %47 unwind label %34

47:                                               ; preds = %43
  %48 = getelementptr inbounds %"struct.Glip::Modules::VanillaParserSpace::Element", ptr %0, i32 0, i32 5
  store i8 0, ptr %48, align 8, !tbaa !9
  %49 = getelementptr inbounds %"struct.Glip::Modules::VanillaParserSpace::Element", ptr %0, i32 0, i32 6
  store i8 1, ptr %49, align 1, !tbaa !20
  %50 = getelementptr inbounds %"struct.Glip::Modules::VanillaParserSpace::Element", ptr %0, i32 0, i32 7
  store i8 0, ptr %50, align 2, !tbaa !21
  %51 = call noundef zeroext i1 @_ZNK4Glip7Modules14UniformsLoader4Node8isFilterEv(ptr noundef nonnull align 8 dereferenceable(128) %21)
  br i1 %51, label %52, label %98

52:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %53 = call ptr @_ZNK4Glip7Modules14UniformsLoader4Node13resourceBeginB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %21)
  %54 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.90", ptr %9, i32 0, i32 0
  store ptr %53, ptr %54, align 8
  br label %55

55:                                               ; preds = %95, %52
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %56 = call ptr @_ZNK4Glip7Modules14UniformsLoader4Node11resourceEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %21)
  %57 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.90", ptr %10, i32 0, i32 0
  store ptr %56, ptr %57, align 8
  %58 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br i1 %58, label %60, label %59

59:                                               ; preds = %55
  store i32 2, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %97

60:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 168, ptr %12) #5
  %61 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  %62 = getelementptr inbounds %"struct.std::pair.88", ptr %61, i32 0, i32 1
  invoke void @_ZNK4Glip7Modules14UniformsLoader8Resource14getCodeElementEv(ptr dead_on_unwind writable sret(%"struct.Glip::Modules::VanillaParserSpace::Element") align 8 %12, ptr noundef nonnull align 8 dereferenceable(41) %62)
          to label %63 unwind label %77

63:                                               ; preds = %60
  invoke void @_ZNK4Glip7Modules18VanillaParserSpace7Element7getCodeB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %11, ptr noundef nonnull align 8 dereferenceable(164) %12)
          to label %64 unwind label %81

64:                                               ; preds = %63
  %65 = getelementptr inbounds %"struct.Glip::Modules::VanillaParserSpace::Element", ptr %0, i32 0, i32 3
  %66 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %65, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %67 unwind label %85

67:                                               ; preds = %64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  call void @_ZN4Glip7Modules18VanillaParserSpace7ElementD2Ev(ptr noundef nonnull align 8 dereferenceable(164) %12) #5
  call void @llvm.lifetime.end.p0(i64 168, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #5
  %68 = call ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef 0) #5
  %69 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.90", ptr %13, i32 0, i32 0
  store ptr %68, ptr %69, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %70 = call ptr @_ZNK4Glip7Modules14UniformsLoader4Node11resourceEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %21)
  %71 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.90", ptr %14, i32 0, i32 0
  store ptr %70, ptr %71, align 8
  %72 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br i1 %72, label %73, label %95

73:                                               ; preds = %67
  %74 = getelementptr inbounds %"struct.Glip::Modules::VanillaParserSpace::Element", ptr %0, i32 0, i32 3
  %75 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %74, i8 noundef signext 10)
          to label %76 unwind label %91

76:                                               ; preds = %73
  br label %95

77:                                               ; preds = %60
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %7, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %8, align 4
  br label %90

81:                                               ; preds = %63
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %7, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %8, align 4
  br label %89

85:                                               ; preds = %64
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %7, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  br label %89

89:                                               ; preds = %85, %81
  call void @_ZN4Glip7Modules18VanillaParserSpace7ElementD2Ev(ptr noundef nonnull align 8 dereferenceable(164) %12) #5
  br label %90

90:                                               ; preds = %89, %77
  call void @llvm.lifetime.end.p0(i64 168, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #5
  br label %96

91:                                               ; preds = %73
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %7, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %8, align 4
  br label %96

95:                                               ; preds = %76, %67
  br label %55, !llvm.loop !22

96:                                               ; preds = %91, %90
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %149

97:                                               ; preds = %59
  br label %144

98:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %99 = call ptr @_ZNK4Glip7Modules14UniformsLoader4Node9nodeBeginB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %21)
  %100 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %15, i32 0, i32 0
  store ptr %99, ptr %100, align 8
  br label %101

101:                                              ; preds = %141, %98
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %102 = call ptr @_ZNK4Glip7Modules14UniformsLoader4Node7nodeEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %21)
  %103 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %16, i32 0, i32 0
  store ptr %102, ptr %103, align 8
  %104 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br i1 %104, label %106, label %105

105:                                              ; preds = %101
  store i32 4, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %143

106:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 168, ptr %18) #5
  %107 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  %108 = getelementptr inbounds %"struct.std::pair", ptr %107, i32 0, i32 1
  invoke void @_ZNK4Glip7Modules14UniformsLoader4Node14getCodeElementEv(ptr dead_on_unwind writable sret(%"struct.Glip::Modules::VanillaParserSpace::Element") align 8 %18, ptr noundef nonnull align 8 dereferenceable(128) %108)
          to label %109 unwind label %123

109:                                              ; preds = %106
  invoke void @_ZNK4Glip7Modules18VanillaParserSpace7Element7getCodeB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %17, ptr noundef nonnull align 8 dereferenceable(164) %18)
          to label %110 unwind label %127

110:                                              ; preds = %109
  %111 = getelementptr inbounds %"struct.Glip::Modules::VanillaParserSpace::Element", ptr %0, i32 0, i32 3
  %112 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %111, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %113 unwind label %131

113:                                              ; preds = %110
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  call void @_ZN4Glip7Modules18VanillaParserSpace7ElementD2Ev(ptr noundef nonnull align 8 dereferenceable(164) %18) #5
  call void @llvm.lifetime.end.p0(i64 168, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #5
  %114 = call ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %15, i32 noundef 0) #5
  %115 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %19, i32 0, i32 0
  store ptr %114, ptr %115, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %116 = call ptr @_ZNK4Glip7Modules14UniformsLoader4Node7nodeEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %21)
  %117 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %20, i32 0, i32 0
  store ptr %116, ptr %117, align 8
  %118 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br i1 %118, label %119, label %141

119:                                              ; preds = %113
  %120 = getelementptr inbounds %"struct.Glip::Modules::VanillaParserSpace::Element", ptr %0, i32 0, i32 3
  %121 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %120, i8 noundef signext 10)
          to label %122 unwind label %137

122:                                              ; preds = %119
  br label %141

123:                                              ; preds = %106
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %7, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %8, align 4
  br label %136

127:                                              ; preds = %109
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %7, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %8, align 4
  br label %135

131:                                              ; preds = %110
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %7, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  br label %135

135:                                              ; preds = %131, %127
  call void @_ZN4Glip7Modules18VanillaParserSpace7ElementD2Ev(ptr noundef nonnull align 8 dereferenceable(164) %18) #5
  br label %136

136:                                              ; preds = %135, %123
  call void @llvm.lifetime.end.p0(i64 168, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #5
  br label %142

137:                                              ; preds = %119
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %7, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %8, align 4
  br label %142

141:                                              ; preds = %122, %113
  br label %101, !llvm.loop !24

142:                                              ; preds = %137, %136
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %149

143:                                              ; preds = %105
  br label %144

144:                                              ; preds = %143, %97
  store i1 true, ptr %5, align 1
  store i32 1, ptr %6, align 4
  br label %145

145:                                              ; preds = %144, %26
  %146 = load i1, ptr %5, align 1
  br i1 %146, label %148, label %147

147:                                              ; preds = %145
  call void @_ZN4Glip7Modules18VanillaParserSpace7ElementD2Ev(ptr noundef nonnull align 8 dereferenceable(164) %0) #5
  br label %148

148:                                              ; preds = %147, %145
  ret void

149:                                              ; preds = %142, %96, %34
  call void @_ZN4Glip7Modules18VanillaParserSpace7ElementD2Ev(ptr noundef nonnull align 8 dereferenceable(164) %0) #5
  br label %150

150:                                              ; preds = %149
  %151 = load ptr, ptr %7, align 8
  %152 = load i32, ptr %8, align 4
  %153 = insertvalue { ptr, i32 } poison, ptr %151, 0
  %154 = insertvalue { ptr, i32 } %153, i32 %152, 1
  resume { ptr, i32 } %154
}

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

declare void @_ZNK4Glip7Modules18VanillaParserSpace7Element7getCodeB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(164)) #3

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) #2 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 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, !18, i64 152}
!10 = !{!"_ZTSN4Glip7Modules18VanillaParserSpace7ElementE", !11, i64 0, !11, i64 32, !11, i64 64, !11, i64 96, !14, i64 128, !18, i64 152, !18, i64 153, !18, i64 154, !19, i64 156, !19, i64 160}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !13, i64 8, !7, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!"bool", !7, i64 0}
!19 = !{!"int", !7, i64 0}
!20 = !{!10, !18, i64 153}
!21 = !{!10, !18, i64 154}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}


; 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.Glip::Modules::VanillaParserSpace::Element" = type <{ %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::vector", i8, i8, i8, i8, i32, i32, [4 x i8] }>
%"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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_Rb_tree_const_iterator.90" = type { ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }

@_ZN4Glip7Modules14UniformsLoader8keywordsE = external dso_local local_unnamed_addr global [25 x ptr], align 16

; 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 void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4Glip7Modules14UniformsLoader8Resource14getCodeElementEv(ptr dead_on_unwind noalias writable sret(%"struct.Glip::Modules::VanillaParserSpace::Element") align 8, ptr noundef nonnull align 8 dereferenceable(41)) local_unnamed_addr #2 align 2

declare void @_ZN4Glip7Modules18VanillaParserSpace7ElementC1Ev(ptr noundef nonnull align 8 dereferenceable(164)) unnamed_addr #3

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK4Glip7Modules14UniformsLoader4Node14getCodeElementEv(ptr dead_on_unwind noalias nonnull writable sret(%"struct.Glip::Modules::VanillaParserSpace::Element") align 8 %0, ptr noundef nonnull align 8 dereferenceable(128) %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.std::_Rb_tree_const_iterator.90", align 8
  %4 = alloca %"struct.std::_Rb_tree_const_iterator.90", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"struct.Glip::Modules::VanillaParserSpace::Element", align 8
  %7 = alloca %"struct.std::_Rb_tree_const_iterator.90", align 8
  %8 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %9 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"struct.Glip::Modules::VanillaParserSpace::Element", align 8
  %12 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  tail call void @_ZN4Glip7Modules18VanillaParserSpace7ElementC1Ev(ptr noundef nonnull align 8 dereferenceable(164) %0)
  %13 = getelementptr inbounds i8, ptr %0, i64 152
  store i8 1, ptr %13, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %0, i64 153
  store i8 1, ptr %14, align 1, !tbaa !19
  %15 = getelementptr inbounds i8, ptr %0, i64 154
  store i8 1, ptr %15, align 2, !tbaa !20
  %16 = tail call noundef zeroext i1 @_ZNK4Glip7Modules14UniformsLoader4Node5emptyEv(ptr noundef nonnull align 8 dereferenceable(128) %1)
  br i1 %16, label %92, label %.invoke

.invoke:                                          ; preds = %2
  %17 = tail call noundef zeroext i1 @_ZNK4Glip7Modules14UniformsLoader4Node8isFilterEv(ptr noundef nonnull align 8 dereferenceable(128) %1)
  %18 = getelementptr inbounds i8, ptr %0, i64 32
  %19 = load ptr, ptr @_ZN4Glip7Modules14UniformsLoader8keywordsE, align 16
  %20 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZN4Glip7Modules14UniformsLoader8keywordsE, i64 8), align 8
  %21 = select i1 %17, ptr %20, ptr %19
  %22 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef %21)
          to label %25 unwind label %23

23:                                               ; preds = %.invoke, %25
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %93

25:                                               ; preds = %.invoke
  %26 = getelementptr inbounds i8, ptr %0, i64 64
  %27 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %28 unwind label %23

28:                                               ; preds = %25
  store i8 0, ptr %13, align 8, !tbaa !5
  store i8 1, ptr %14, align 1, !tbaa !19
  store i8 0, ptr %15, align 2, !tbaa !20
  %29 = tail call noundef zeroext i1 @_ZNK4Glip7Modules14UniformsLoader4Node8isFilterEv(ptr noundef nonnull align 8 dereferenceable(128) %1)
  br i1 %29, label %30, label %61

30:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %31 = tail call ptr @_ZNK4Glip7Modules14UniformsLoader4Node13resourceBeginB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %1)
  store ptr %31, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %32 = tail call ptr @_ZNK4Glip7Modules14UniformsLoader4Node11resourceEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %1)
  store ptr %32, ptr %4, align 8
  %33 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  br i1 %33, label %.lr.ph23, label %._crit_edge24

.lr.ph23:                                         ; preds = %30
  %34 = getelementptr inbounds i8, ptr %0, i64 96
  br label %35

._crit_edge24:                                    ; preds = %57, %30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  br label %92

35:                                               ; preds = %.lr.ph23, %57
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 168, ptr nonnull %6) #5
  %36 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %37 = getelementptr inbounds i8, ptr %36, i64 32
  invoke void @_ZNK4Glip7Modules14UniformsLoader8Resource14getCodeElementEv(ptr dead_on_unwind nonnull writable sret(%"struct.Glip::Modules::VanillaParserSpace::Element") align 8 %6, ptr noundef nonnull align 8 dereferenceable(41) %37)
          to label %38 unwind label %47

38:                                               ; preds = %35
  invoke void @_ZNK4Glip7Modules18VanillaParserSpace7Element7getCodeB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef nonnull align 8 dereferenceable(164) %6)
          to label %39 unwind label %49

39:                                               ; preds = %38
  %40 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %41 unwind label %51

41:                                               ; preds = %39
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  call void @_ZN4Glip7Modules18VanillaParserSpace7ElementD2Ev(ptr noundef nonnull align 8 dereferenceable(164) %6) #5
  call void @llvm.lifetime.end.p0(i64 168, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  %42 = call ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %3, i32 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %43 = call ptr @_ZNK4Glip7Modules14UniformsLoader4Node11resourceEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %1)
  store ptr %43, ptr %7, align 8
  %44 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br i1 %44, label %45, label %57

45:                                               ; preds = %41
  %46 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %34, i8 noundef signext 10)
          to label %57 unwind label %55

47:                                               ; preds = %35
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %54

49:                                               ; preds = %38
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %53

51:                                               ; preds = %39
  %52 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  br label %53

53:                                               ; preds = %51, %49
  %.pn16 = phi { ptr, i32 } [ %52, %51 ], [ %50, %49 ]
  call void @_ZN4Glip7Modules18VanillaParserSpace7ElementD2Ev(ptr noundef nonnull align 8 dereferenceable(164) %6) #5
  br label %54

54:                                               ; preds = %53, %47
  %.pn16.pn = phi { ptr, i32 } [ %.pn16, %53 ], [ %48, %47 ]
  call void @llvm.lifetime.end.p0(i64 168, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  br label %60

55:                                               ; preds = %45
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %60

57:                                               ; preds = %45, %41
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %58 = call ptr @_ZNK4Glip7Modules14UniformsLoader4Node11resourceEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %1)
  store ptr %58, ptr %4, align 8
  %59 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  br i1 %59, label %35, label %._crit_edge24, !llvm.loop !21

60:                                               ; preds = %55, %54
  %.pn19 = phi { ptr, i32 } [ %56, %55 ], [ %.pn16.pn, %54 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  br label %93

61:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %62 = tail call ptr @_ZNK4Glip7Modules14UniformsLoader4Node9nodeBeginB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %1)
  store ptr %62, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %63 = tail call ptr @_ZNK4Glip7Modules14UniformsLoader4Node7nodeEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %1)
  store ptr %63, ptr %9, align 8
  %64 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br i1 %64, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %61
  %65 = getelementptr inbounds i8, ptr %0, i64 96
  br label %66

._crit_edge:                                      ; preds = %88, %61
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  br label %92

66:                                               ; preds = %.lr.ph, %88
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 168, ptr nonnull %11) #5
  %67 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %68 = getelementptr inbounds i8, ptr %67, i64 32
  invoke void @_ZNK4Glip7Modules14UniformsLoader4Node14getCodeElementEv(ptr dead_on_unwind nonnull writable sret(%"struct.Glip::Modules::VanillaParserSpace::Element") align 8 %11, ptr noundef nonnull align 8 dereferenceable(128) %68)
          to label %69 unwind label %78

69:                                               ; preds = %66
  invoke void @_ZNK4Glip7Modules18VanillaParserSpace7Element7getCodeB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %10, ptr noundef nonnull align 8 dereferenceable(164) %11)
          to label %70 unwind label %80

70:                                               ; preds = %69
  %71 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %65, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %72 unwind label %82

72:                                               ; preds = %70
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  call void @_ZN4Glip7Modules18VanillaParserSpace7ElementD2Ev(ptr noundef nonnull align 8 dereferenceable(164) %11) #5
  call void @llvm.lifetime.end.p0(i64 168, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #5
  %73 = call ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  %74 = call ptr @_ZNK4Glip7Modules14UniformsLoader4Node7nodeEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %1)
  store ptr %74, ptr %12, align 8
  %75 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  br i1 %75, label %76, label %88

76:                                               ; preds = %72
  %77 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %65, i8 noundef signext 10)
          to label %88 unwind label %86

78:                                               ; preds = %66
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %85

80:                                               ; preds = %69
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %84

82:                                               ; preds = %70
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  br label %84

84:                                               ; preds = %82, %80
  %.pn = phi { ptr, i32 } [ %83, %82 ], [ %81, %80 ]
  call void @_ZN4Glip7Modules18VanillaParserSpace7ElementD2Ev(ptr noundef nonnull align 8 dereferenceable(164) %11) #5
  br label %85

85:                                               ; preds = %84, %78
  %.pn.pn = phi { ptr, i32 } [ %.pn, %84 ], [ %79, %78 ]
  call void @llvm.lifetime.end.p0(i64 168, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #5
  br label %91

86:                                               ; preds = %76
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %91

88:                                               ; preds = %76, %72
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %89 = call ptr @_ZNK4Glip7Modules14UniformsLoader4Node7nodeEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %1)
  store ptr %89, ptr %9, align 8
  %90 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br i1 %90, label %66, label %._crit_edge, !llvm.loop !23

91:                                               ; preds = %86, %85
  %.pn14 = phi { ptr, i32 } [ %87, %86 ], [ %.pn.pn, %85 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  br label %93

92:                                               ; preds = %2, %._crit_edge, %._crit_edge24
  ret void

93:                                               ; preds = %91, %60, %23
  %.pn19.pn = phi { ptr, i32 } [ %.pn19, %60 ], [ %.pn14, %91 ], [ %24, %23 ]
  call void @_ZN4Glip7Modules18VanillaParserSpace7ElementD2Ev(ptr noundef nonnull align 8 dereferenceable(164) %0) #5
  resume { ptr, i32 } %.pn19.pn
}

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

declare void @_ZNK4Glip7Modules18VanillaParserSpace7Element7getCodeB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(164)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) local_unnamed_addr #2 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 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, !17, i64 152}
!6 = !{!"_ZTSN4Glip7Modules18VanillaParserSpace7ElementE", !7, i64 0, !7, i64 32, !7, i64 64, !7, i64 96, !13, i64 128, !17, i64 152, !17, i64 153, !17, i64 154, !18, i64 156, !18, i64 160}
!7 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !8, i64 0, !12, i64 8, !10, i64 16}
!8 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!17 = !{!"bool", !10, i64 0}
!18 = !{!"int", !10, i64 0}
!19 = !{!6, !17, i64 153}
!20 = !{!6, !17, i64 154}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}


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