; 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.std::_Rb_tree_iterator" = type { ptr }
%"struct.std::_Rb_tree_iterator.87" = type { ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"struct.std::_Rb_tree_const_iterator.90" = type { ptr }
%"struct.std::pair" = type { %"class.std::__cxx11::basic_string", %"class.Glip::Modules::UniformsLoader::Node" }
%"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.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] }>

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(41) ptr @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceESt4lessIS6_ESaISt4pairIS6_SA_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeESt4lessIS6_ESaISt4pairIS6_SA_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Glip7Modules14UniformsLoader4Node8softCopyERKS2_bbbb(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull align 8 dereferenceable(128) %1, i1 noundef zeroext %2, i1 noundef zeroext %3, i1 noundef zeroext %4, i1 noundef zeroext %5) #1 align 2 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %14 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %15 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %16 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %17 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %18 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %19 = alloca %"struct.std::_Rb_tree_iterator.87", align 8
  %20 = alloca %"struct.std::_Rb_tree_iterator.87", align 8
  %21 = alloca %"struct.std::_Rb_tree_iterator.87", align 8
  %22 = alloca %"struct.std::_Rb_tree_iterator.87", align 8
  %23 = alloca %"struct.std::_Rb_tree_iterator.87", align 8
  %24 = alloca %"struct.std::_Rb_tree_iterator.87", align 8
  %25 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %26 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %27 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %28 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %29 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %30 = alloca %"struct.std::_Rb_tree_const_iterator.90", align 8
  %31 = alloca %"struct.std::_Rb_tree_const_iterator.90", align 8
  %32 = alloca %"struct.std::_Rb_tree_iterator.87", align 8
  %33 = alloca %"struct.std::_Rb_tree_iterator.87", align 8
  %34 = alloca %"struct.std::_Rb_tree_const_iterator.90", align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  %35 = zext i1 %2 to i8
  store i8 %35, ptr %9, align 1, !tbaa !9
  %36 = zext i1 %3 to i8
  store i8 %36, ptr %10, align 1, !tbaa !9
  %37 = zext i1 %4 to i8
  store i8 %37, ptr %11, align 1, !tbaa !9
  %38 = zext i1 %5 to i8
  store i8 %38, ptr %12, align 1, !tbaa !9
  %39 = load ptr, ptr %7, align 8
  %40 = load i8, ptr %11, align 1, !tbaa !9, !range !11, !noundef !12
  %41 = trunc i8 %40 to i1
  br i1 %41, label %42, label %66

42:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %43 = call ptr @_ZN4Glip7Modules14UniformsLoader4Node9nodeBeginB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %39)
  %44 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %13, i32 0, i32 0
  store ptr %43, ptr %44, align 8
  br label %45

45:                                               ; preds = %64, %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %46 = call ptr @_ZN4Glip7Modules14UniformsLoader4Node7nodeEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %39)
  %47 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %14, i32 0, i32 0
  store ptr %46, ptr %47, align 8
  %48 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  br i1 %48, label %50, label %49

49:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %65

50:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %13, i64 8, i1 false), !tbaa.struct !13
  %51 = call ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %13, i32 noundef 0) #4
  %52 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %16, i32 0, i32 0
  store ptr %51, ptr %52, align 8
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #4
  %55 = getelementptr inbounds %"struct.std::pair", ptr %54, i32 0, i32 1
  %56 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK4Glip7Modules14UniformsLoader4Node7getNameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %55)
  %57 = call noundef zeroext i1 @_ZNK4Glip7Modules14UniformsLoader4Node13subNodeExistsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128) %53, ptr noundef nonnull align 8 dereferenceable(32) %56)
  br i1 %57, label %64, label %58

58:                                               ; preds = %50
  %59 = getelementptr inbounds %"class.Glip::Modules::UniformsLoader::Node", ptr %39, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %15, i64 8, i1 false), !tbaa.struct !13
  %60 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %17, i32 0, i32 0
  %61 = load ptr, ptr %60, align 8
  %62 = call ptr @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeESt4lessIS6_ESaISt4pairIS6_SA_EEE5eraseB5cxx11ESt17_Rb_tree_iteratorISE_E(ptr noundef nonnull align 8 dereferenceable(48) %59, ptr %61)
  %63 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %18, i32 0, i32 0
  store ptr %62, ptr %63, align 8
  br label %64

64:                                               ; preds = %58, %50
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  br label %45, !llvm.loop !14

65:                                               ; preds = %49
  br label %66

66:                                               ; preds = %65, %6
  %67 = load i8, ptr %12, align 1, !tbaa !9, !range !11, !noundef !12
  %68 = trunc i8 %67 to i1
  br i1 %68, label %69, label %93

69:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %70 = call ptr @_ZN4Glip7Modules14UniformsLoader4Node13resourceBeginB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %39)
  %71 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.87", ptr %19, i32 0, i32 0
  store ptr %70, ptr %71, align 8
  br label %72

72:                                               ; preds = %91, %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %73 = call ptr @_ZN4Glip7Modules14UniformsLoader4Node11resourceEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %39)
  %74 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.87", ptr %20, i32 0, i32 0
  store ptr %73, ptr %74, align 8
  %75 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  br i1 %75, label %77, label %76

76:                                               ; preds = %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br label %92

77:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 %19, i64 8, i1 false), !tbaa.struct !13
  %78 = call ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %19, i32 noundef 0) #4
  %79 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.87", ptr %22, i32 0, i32 0
  store ptr %78, ptr %79, align 8
  %80 = load ptr, ptr %8, align 8, !tbaa !5
  %81 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #4
  %82 = getelementptr inbounds %"struct.std::pair.88", ptr %81, i32 0, i32 1
  %83 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK4Glip7Modules14UniformsLoader8Resource7getNameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(41) %82)
  %84 = call noundef zeroext i1 @_ZNK4Glip7Modules14UniformsLoader4Node14resourceExistsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128) %80, ptr noundef nonnull align 8 dereferenceable(32) %83)
  br i1 %84, label %91, label %85

85:                                               ; preds = %77
  %86 = getelementptr inbounds %"class.Glip::Modules::UniformsLoader::Node", ptr %39, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %23, ptr align 8 %21, i64 8, i1 false), !tbaa.struct !13
  %87 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.87", ptr %23, i32 0, i32 0
  %88 = load ptr, ptr %87, align 8
  %89 = call ptr @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceESt4lessIS6_ESaISt4pairIS6_SA_EEE5eraseB5cxx11ESt17_Rb_tree_iteratorISE_E(ptr noundef nonnull align 8 dereferenceable(48) %86, ptr %88)
  %90 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.87", ptr %24, i32 0, i32 0
  store ptr %89, ptr %90, align 8
  br label %91

91:                                               ; preds = %85, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  br label %72, !llvm.loop !16

92:                                               ; preds = %76
  br label %93

93:                                               ; preds = %92, %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  %94 = load ptr, ptr %8, align 8, !tbaa !5
  %95 = call ptr @_ZNK4Glip7Modules14UniformsLoader4Node9nodeBeginB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %94)
  %96 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %25, i32 0, i32 0
  store ptr %95, ptr %96, align 8
  br label %97

97:                                               ; preds = %133, %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  %98 = load ptr, ptr %8, align 8, !tbaa !5
  %99 = call ptr @_ZNK4Glip7Modules14UniformsLoader4Node7nodeEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %98)
  %100 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %26, i32 0, i32 0
  store ptr %99, ptr %100, align 8
  %101 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  br i1 %101, label %103, label %102

102:                                              ; preds = %97
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  br label %136

103:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  %104 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #4
  %105 = getelementptr inbounds %"struct.std::pair", ptr %104, i32 0, i32 0
  %106 = call ptr @_ZN4Glip7Modules14UniformsLoader4Node8findNodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128) %39, ptr noundef nonnull align 8 dereferenceable(32) %105)
  %107 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %27, i32 0, i32 0
  store ptr %106, ptr %107, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #4
  %108 = call ptr @_ZN4Glip7Modules14UniformsLoader4Node7nodeEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %39)
  %109 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %28, i32 0, i32 0
  store ptr %108, ptr %109, align 8
  %110 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  br i1 %110, label %111, label %120

111:                                              ; preds = %103
  %112 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #4
  %113 = getelementptr inbounds %"struct.std::pair", ptr %112, i32 0, i32 1
  %114 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #4
  %115 = getelementptr inbounds %"struct.std::pair", ptr %114, i32 0, i32 1
  %116 = load i8, ptr %9, align 1, !tbaa !9, !range !11, !noundef !12
  %117 = trunc i8 %116 to i1
  %118 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %119 = trunc i8 %118 to i1
  call void @_ZN4Glip7Modules14UniformsLoader4Node8softCopyERKS2_bbbb(ptr noundef nonnull align 8 dereferenceable(128) %113, ptr noundef nonnull align 8 dereferenceable(128) %115, i1 noundef zeroext %117, i1 noundef zeroext %119, i1 noundef zeroext true, i1 noundef zeroext true)
  br label %132

120:                                              ; preds = %103
  %121 = load i8, ptr %9, align 1, !tbaa !9, !range !11, !noundef !12
  %122 = trunc i8 %121 to i1
  br i1 %122, label %123, label %131

123:                                              ; preds = %120
  %124 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #4
  %125 = getelementptr inbounds %"struct.std::pair", ptr %124, i32 0, i32 1
  %126 = getelementptr inbounds %"class.Glip::Modules::UniformsLoader::Node", ptr %39, i32 0, i32 1
  %127 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #4
  %128 = getelementptr inbounds %"struct.std::pair", ptr %127, i32 0, i32 0
  %129 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeESt4lessIS6_ESaISt4pairIS6_SA_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %126, ptr noundef nonnull align 8 dereferenceable(32) %128)
  %130 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZN4Glip7Modules14UniformsLoader4NodeaSERKS2_(ptr noundef nonnull align 8 dereferenceable(128) %129, ptr noundef nonnull align 8 dereferenceable(128) %125)
  br label %131

131:                                              ; preds = %123, %120
  br label %132

132:                                              ; preds = %131, %111
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  br label %133

133:                                              ; preds = %132
  %134 = call ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %25, i32 noundef 0) #4
  %135 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %29, i32 0, i32 0
  store ptr %134, ptr %135, align 8
  br label %97, !llvm.loop !17

136:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  %137 = load ptr, ptr %8, align 8, !tbaa !5
  %138 = call ptr @_ZNK4Glip7Modules14UniformsLoader4Node13resourceBeginB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %137)
  %139 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.90", ptr %30, i32 0, i32 0
  store ptr %138, ptr %139, align 8
  br label %140

140:                                              ; preds = %173, %136
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #4
  %141 = load ptr, ptr %8, align 8, !tbaa !5
  %142 = call ptr @_ZNK4Glip7Modules14UniformsLoader4Node11resourceEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %141)
  %143 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.90", ptr %31, i32 0, i32 0
  store ptr %142, ptr %143, align 8
  %144 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  br i1 %144, label %146, label %145

145:                                              ; preds = %140
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  br label %176

146:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #4
  %147 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #4
  %148 = getelementptr inbounds %"struct.std::pair.88", ptr %147, i32 0, i32 0
  %149 = call ptr @_ZN4Glip7Modules14UniformsLoader4Node12findResourceERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128) %39, ptr noundef nonnull align 8 dereferenceable(32) %148)
  %150 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.87", ptr %32, i32 0, i32 0
  store ptr %149, ptr %150, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #4
  %151 = call ptr @_ZN4Glip7Modules14UniformsLoader4Node11resourceEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %39)
  %152 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.87", ptr %33, i32 0, i32 0
  store ptr %151, ptr %152, align 8
  %153 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #4
  br i1 %153, label %154, label %160

154:                                              ; preds = %146
  %155 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #4
  %156 = getelementptr inbounds %"struct.std::pair.88", ptr %155, i32 0, i32 1
  %157 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #4
  %158 = getelementptr inbounds %"struct.std::pair.88", ptr %157, i32 0, i32 1
  %159 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZN4Glip7Modules14UniformsLoader8ResourceaSERKS2_(ptr noundef nonnull align 8 dereferenceable(41) %158, ptr noundef nonnull align 8 dereferenceable(41) %156)
  br label %172

160:                                              ; preds = %146
  %161 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %162 = trunc i8 %161 to i1
  br i1 %162, label %163, label %171

163:                                              ; preds = %160
  %164 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #4
  %165 = getelementptr inbounds %"struct.std::pair.88", ptr %164, i32 0, i32 1
  %166 = getelementptr inbounds %"class.Glip::Modules::UniformsLoader::Node", ptr %39, i32 0, i32 2
  %167 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #4
  %168 = getelementptr inbounds %"struct.std::pair.88", ptr %167, i32 0, i32 0
  %169 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceESt4lessIS6_ESaISt4pairIS6_SA_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %166, ptr noundef nonnull align 8 dereferenceable(32) %168)
  %170 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZN4Glip7Modules14UniformsLoader8ResourceaSERKS2_(ptr noundef nonnull align 8 dereferenceable(41) %169, ptr noundef nonnull align 8 dereferenceable(41) %165)
  br label %171

171:                                              ; preds = %163, %160
  br label %172

172:                                              ; preds = %171, %154
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  br label %173

173:                                              ; preds = %172
  %174 = call ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %30, i32 noundef 0) #4
  %175 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.90", ptr %34, i32 0, i32 0
  store ptr %174, ptr %175, align 8
  br label %140, !llvm.loop !18

176:                                              ; preds = %145
  ret void
}

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

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

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

; 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) #3

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNK4Glip7Modules14UniformsLoader4Node9nodeBeginB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128)) #2 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)) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZN4Glip7Modules14UniformsLoader4Node8findNodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(32)) #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)) #2 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) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNK4Glip7Modules14UniformsLoader4Node13resourceBeginB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128)) #2 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)) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZN4Glip7Modules14UniformsLoader4Node12findResourceERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(32)) #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)) #2 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) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{i64 0, i64 8, !5}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !15}


; 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.std::_Rb_tree_iterator" = type { ptr }
%"struct.std::_Rb_tree_iterator.87" = type { ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"struct.std::_Rb_tree_const_iterator.90" = type { ptr }

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(41) ptr @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceESt4lessIS6_ESaISt4pairIS6_SA_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeESt4lessIS6_ESaISt4pairIS6_SA_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Glip7Modules14UniformsLoader4Node8softCopyERKS2_bbbb(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull align 8 dereferenceable(128) %1, i1 noundef zeroext %2, i1 noundef zeroext %3, i1 noundef zeroext %4, i1 noundef zeroext %5) local_unnamed_addr #1 align 2 {
  %7 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %8 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %9 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %10 = alloca %"struct.std::_Rb_tree_iterator.87", align 8
  %11 = alloca %"struct.std::_Rb_tree_iterator.87", align 8
  %12 = alloca %"struct.std::_Rb_tree_iterator.87", align 8
  %13 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %14 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %15 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %16 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %17 = alloca %"struct.std::_Rb_tree_const_iterator.90", align 8
  %18 = alloca %"struct.std::_Rb_tree_const_iterator.90", align 8
  %19 = alloca %"struct.std::_Rb_tree_iterator.87", align 8
  %20 = alloca %"struct.std::_Rb_tree_iterator.87", align 8
  br i1 %4, label %21, label %38

21:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  %22 = tail call ptr @_ZN4Glip7Modules14UniformsLoader4Node9nodeBeginB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %0)
  store ptr %22, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
  %23 = tail call ptr @_ZN4Glip7Modules14UniformsLoader4Node7nodeEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %0)
  store ptr %23, ptr %8, align 8
  %24 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  br i1 %24, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %21
  %25 = getelementptr inbounds i8, ptr %0, i64 32
  br label %26

._crit_edge:                                      ; preds = %35, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  br label %38

26:                                               ; preds = %.lr.ph, %35
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
  %27 = load i64, ptr %7, align 8, !tbaa !5
  store i64 %27, ptr %9, align 8, !tbaa !5
  %28 = call ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %7, i32 noundef 0) #3
  %29 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #3
  %30 = getelementptr inbounds i8, ptr %29, i64 32
  %31 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK4Glip7Modules14UniformsLoader4Node7getNameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %30)
  %32 = call noundef zeroext i1 @_ZNK4Glip7Modules14UniformsLoader4Node13subNodeExistsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128) %1, ptr noundef nonnull align 8 dereferenceable(32) %31)
  br i1 %32, label %35, label %33

33:                                               ; preds = %26
  %.sroa.06.0.copyload = load ptr, ptr %9, align 8, !tbaa !5
  %34 = call ptr @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeESt4lessIS6_ESaISt4pairIS6_SA_EEE5eraseB5cxx11ESt17_Rb_tree_iteratorISE_E(ptr noundef nonnull align 8 dereferenceable(48) %25, ptr %.sroa.06.0.copyload)
  br label %35

35:                                               ; preds = %33, %26
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
  %36 = call ptr @_ZN4Glip7Modules14UniformsLoader4Node7nodeEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %0)
  store ptr %36, ptr %8, align 8
  %37 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  br i1 %37, label %26, label %._crit_edge, !llvm.loop !9

38:                                               ; preds = %._crit_edge, %6
  br i1 %5, label %39, label %56

39:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
  %40 = call ptr @_ZN4Glip7Modules14UniformsLoader4Node13resourceBeginB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %0)
  store ptr %40, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
  %41 = call ptr @_ZN4Glip7Modules14UniformsLoader4Node11resourceEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %0)
  store ptr %41, ptr %11, align 8
  %42 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
  br i1 %42, label %.lr.ph20, label %._crit_edge21

.lr.ph20:                                         ; preds = %39
  %43 = getelementptr inbounds i8, ptr %0, i64 80
  br label %44

._crit_edge21:                                    ; preds = %53, %39
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
  br label %56

44:                                               ; preds = %.lr.ph20, %53
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #3
  %45 = load i64, ptr %10, align 8, !tbaa !5
  store i64 %45, ptr %12, align 8, !tbaa !5
  %46 = call ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %10, i32 noundef 0) #3
  %47 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #3
  %48 = getelementptr inbounds i8, ptr %47, i64 32
  %49 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK4Glip7Modules14UniformsLoader8Resource7getNameB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(41) %48)
  %50 = call noundef zeroext i1 @_ZNK4Glip7Modules14UniformsLoader4Node14resourceExistsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128) %1, ptr noundef nonnull align 8 dereferenceable(32) %49)
  br i1 %50, label %53, label %51

51:                                               ; preds = %44
  %.sroa.03.0.copyload = load ptr, ptr %12, align 8, !tbaa !5
  %52 = call ptr @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceESt4lessIS6_ESaISt4pairIS6_SA_EEE5eraseB5cxx11ESt17_Rb_tree_iteratorISE_E(ptr noundef nonnull align 8 dereferenceable(48) %43, ptr %.sroa.03.0.copyload)
  br label %53

53:                                               ; preds = %51, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
  %54 = call ptr @_ZN4Glip7Modules14UniformsLoader4Node11resourceEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %0)
  store ptr %54, ptr %11, align 8
  %55 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
  br i1 %55, label %44, label %._crit_edge21, !llvm.loop !11

56:                                               ; preds = %._crit_edge21, %38
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #3
  %57 = call ptr @_ZNK4Glip7Modules14UniformsLoader4Node9nodeBeginB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %1)
  store ptr %57, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #3
  %58 = call ptr @_ZNK4Glip7Modules14UniformsLoader4Node7nodeEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %1)
  store ptr %58, ptr %14, align 8
  %59 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #3
  br i1 %59, label %.lr.ph23, label %._crit_edge24

.lr.ph23:                                         ; preds = %56
  %60 = getelementptr inbounds i8, ptr %0, i64 32
  br label %65

._crit_edge24:                                    ; preds = %82, %56
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #3
  %61 = call ptr @_ZNK4Glip7Modules14UniformsLoader4Node13resourceBeginB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %1)
  store ptr %61, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #3
  %62 = call ptr @_ZNK4Glip7Modules14UniformsLoader4Node11resourceEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %1)
  store ptr %62, ptr %18, align 8
  %63 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #3
  br i1 %63, label %.lr.ph26, label %._crit_edge27

.lr.ph26:                                         ; preds = %._crit_edge24
  %64 = getelementptr inbounds i8, ptr %0, i64 80
  br label %86

65:                                               ; preds = %.lr.ph23, %82
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #3
  %66 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #3
  %67 = call ptr @_ZN4Glip7Modules14UniformsLoader4Node8findNodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull align 8 dereferenceable(32) %66)
  store ptr %67, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #3
  %68 = call ptr @_ZN4Glip7Modules14UniformsLoader4Node7nodeEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %0)
  store ptr %68, ptr %16, align 8
  %69 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #3
  br i1 %69, label %70, label %75

70:                                               ; preds = %65
  %71 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #3
  %72 = getelementptr inbounds i8, ptr %71, i64 32
  %73 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #3
  %74 = getelementptr inbounds i8, ptr %73, i64 32
  call void @_ZN4Glip7Modules14UniformsLoader4Node8softCopyERKS2_bbbb(ptr noundef nonnull align 8 dereferenceable(128) %72, ptr noundef nonnull align 8 dereferenceable(128) %74, i1 noundef zeroext %2, i1 noundef zeroext %3, i1 noundef zeroext true, i1 noundef zeroext true)
  br label %82

75:                                               ; preds = %65
  br i1 %2, label %76, label %82

76:                                               ; preds = %75
  %77 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #3
  %78 = getelementptr inbounds i8, ptr %77, i64 32
  %79 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #3
  %80 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeESt4lessIS6_ESaISt4pairIS6_SA_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %60, ptr noundef nonnull align 8 dereferenceable(32) %79)
  %81 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZN4Glip7Modules14UniformsLoader4NodeaSERKS2_(ptr noundef nonnull align 8 dereferenceable(128) %80, ptr noundef nonnull align 8 dereferenceable(128) %78)
  br label %82

82:                                               ; preds = %75, %76, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #3
  %83 = call ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %13, i32 noundef 0) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #3
  %84 = call ptr @_ZNK4Glip7Modules14UniformsLoader4Node7nodeEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %1)
  store ptr %84, ptr %14, align 8
  %85 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #3
  br i1 %85, label %65, label %._crit_edge24, !llvm.loop !12

._crit_edge27:                                    ; preds = %104, %._crit_edge24
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #3
  ret void

86:                                               ; preds = %.lr.ph26, %104
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #3
  %87 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #3
  %88 = call ptr @_ZN4Glip7Modules14UniformsLoader4Node12findResourceERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull align 8 dereferenceable(32) %87)
  store ptr %88, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #3
  %89 = call ptr @_ZN4Glip7Modules14UniformsLoader4Node11resourceEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %0)
  store ptr %89, ptr %20, align 8
  %90 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #3
  br i1 %90, label %91, label %97

91:                                               ; preds = %86
  %92 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #3
  %93 = getelementptr inbounds i8, ptr %92, i64 32
  %94 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #3
  %95 = getelementptr inbounds i8, ptr %94, i64 32
  %96 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZN4Glip7Modules14UniformsLoader8ResourceaSERKS2_(ptr noundef nonnull align 8 dereferenceable(41) %95, ptr noundef nonnull align 8 dereferenceable(41) %93)
  br label %104

97:                                               ; preds = %86
  br i1 %3, label %98, label %104

98:                                               ; preds = %97
  %99 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #3
  %100 = getelementptr inbounds i8, ptr %99, i64 32
  %101 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #3
  %102 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceESt4lessIS6_ESaISt4pairIS6_SA_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %64, ptr noundef nonnull align 8 dereferenceable(32) %101)
  %103 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZN4Glip7Modules14UniformsLoader8ResourceaSERKS2_(ptr noundef nonnull align 8 dereferenceable(41) %102, ptr noundef nonnull align 8 dereferenceable(41) %100)
  br label %104

104:                                              ; preds = %97, %98, %91
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #3
  %105 = call ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef 0) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #3
  %106 = call ptr @_ZNK4Glip7Modules14UniformsLoader4Node11resourceEndB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128) %1)
  store ptr %106, ptr %18, align 8
  %107 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #3
  br i1 %107, label %86, label %._crit_edge27, !llvm.loop !13
}

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceESt4lessIS6_ESaISt4pairIS6_SA_EEE5eraseB5cxx11ESt17_Rb_tree_iteratorISE_E(ptr noundef nonnull align 8 dereferenceable(48), ptr) 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 #2 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 #2

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZN4Glip7Modules14UniformsLoader4Node8findNodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(32)) 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 #2 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 #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNK4Glip7Modules14UniformsLoader4Node13resourceBeginB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #2 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 #2

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZN4Glip7Modules14UniformsLoader4Node12findResourceERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(32)) 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 #2 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 #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}


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