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

%"class.Glip::Modules::UniformsLoader::Resource" = type <{ %"class.std::__cxx11::basic_string", ptr, i8, [7 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.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" }

; 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

declare noundef ptr @_ZN4Glip6CoreGL14HdlDynamicData5buildERKj(ptr noundef nonnull align 4 dereferenceable(4)) #2

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

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

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

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

declare noundef nonnull align 8 dereferenceable(88) ptr @_ZN4Glip12CorePipeline6Filter7programEv(ptr noundef nonnull align 8 dereferenceable(104)) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceESt4lessIS6_ESaISt4pairIS6_SA_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1 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)) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Glip7Modules14UniformsLoader4NodeC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_12CorePipeline8PipelineERKNSB_22AbstractPipelineLayoutERKNSB_20AbstractFilterLayoutE(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(456) %2, ptr noundef nonnull align 8 dereferenceable(128) %3, ptr noundef nonnull align 8 dereferenceable(84) %4) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca %"class.Glip::Modules::UniformsLoader::Resource", align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  %21 = load ptr, ptr %6, align 8
  %22 = getelementptr inbounds %"class.Glip::Modules::UniformsLoader::Node", ptr %21, i32 0, i32 0
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %23)
  %24 = getelementptr inbounds %"class.Glip::Modules::UniformsLoader::Node", ptr %21, i32 0, i32 1
  call void @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeESt4lessIS6_ESaISt4pairIS6_SA_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #4
  %25 = getelementptr inbounds %"class.Glip::Modules::UniformsLoader::Node", ptr %21, i32 0, i32 2
  call void @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceESt4lessIS6_ESaISt4pairIS6_SA_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #4
  %26 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %27 = load ptr, ptr %9, align 8, !tbaa !5
  %28 = getelementptr inbounds %"class.Glip::Modules::UniformsLoader::Node", ptr %21, i32 0, i32 0
  %29 = invoke noundef i32 @_ZNK4Glip12CorePipeline22AbstractPipelineLayout12getElementIDERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128) %27, ptr noundef nonnull align 8 dereferenceable(32) %28)
          to label %30 unwind label %51

30:                                               ; preds = %5
  store i32 %29, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %31 = load ptr, ptr %8, align 8, !tbaa !5
  %32 = load i32, ptr %11, align 4, !tbaa !9
  %33 = invoke noundef nonnull align 8 dereferenceable(104) ptr @_ZN4Glip12CorePipeline8PipelineixEi(ptr noundef nonnull align 8 dereferenceable(456) %31, i32 noundef %32)
          to label %34 unwind label %55

34:                                               ; preds = %30
  store ptr %33, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %35 = load ptr, ptr %14, align 8, !tbaa !5
  %36 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN4Glip12CorePipeline6Filter7programEv(ptr noundef nonnull align 8 dereferenceable(104) %35)
          to label %37 unwind label %59

37:                                               ; preds = %34
  store ptr %36, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %38 = load ptr, ptr %15, align 8, !tbaa !5
  %39 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Glip6CoreGL10HdlProgram16getUniformsNamesB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(88) %38)
          to label %40 unwind label %63

40:                                               ; preds = %37
  store ptr %39, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %41 = load ptr, ptr %15, align 8, !tbaa !5
  %42 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Glip6CoreGL10HdlProgram16getUniformsTypesEv(ptr noundef nonnull align 8 dereferenceable(88) %41)
          to label %43 unwind label %67

43:                                               ; preds = %40
  store ptr %42, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %44

44:                                               ; preds = %134, %43
  %45 = load i32, ptr %18, align 4, !tbaa !9
  %46 = zext i32 %45 to i64
  %47 = load ptr, ptr %16, align 8, !tbaa !5
  %48 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %47) #4
  %49 = icmp ult i64 %46, %48
  br i1 %49, label %71, label %50

50:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  br label %138

51:                                               ; preds = %5
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %12, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %13, align 4
  br label %143

55:                                               ; preds = %30
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %12, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %13, align 4
  br label %142

59:                                               ; preds = %34
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %12, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %13, align 4
  br label %141

63:                                               ; preds = %37
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %12, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %13, align 4
  br label %140

67:                                               ; preds = %40
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %12, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %13, align 4
  br label %139

71:                                               ; preds = %44
  %72 = load ptr, ptr %15, align 8, !tbaa !5
  %73 = load ptr, ptr %16, align 8, !tbaa !5
  %74 = load i32, ptr %18, align 4, !tbaa !9
  %75 = zext i32 %74 to i64
  %76 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef %75) #4
  %77 = invoke noundef zeroext i1 @_ZN4Glip6CoreGL10HdlProgram22isUniformVariableValidERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(88) %72, ptr noundef nonnull align 8 dereferenceable(32) %76)
          to label %78 unwind label %115

78:                                               ; preds = %71
  br i1 %77, label %79, label %133

79:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %80 = load ptr, ptr %17, align 8, !tbaa !5
  %81 = load i32, ptr %18, align 4, !tbaa !9
  %82 = zext i32 %81 to i64
  %83 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %80, i64 noundef %82) #4
  %84 = invoke noundef ptr @_ZN4Glip6CoreGL14HdlDynamicData5buildERKj(ptr noundef nonnull align 4 dereferenceable(4) %83)
          to label %85 unwind label %119

85:                                               ; preds = %79
  store ptr %84, ptr %19, align 8, !tbaa !5
  %86 = load ptr, ptr %15, align 8, !tbaa !5
  %87 = load ptr, ptr %16, align 8, !tbaa !5
  %88 = load i32, ptr %18, align 4, !tbaa !9
  %89 = zext i32 %88 to i64
  %90 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %87, i64 noundef %89) #4
  %91 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZN4Glip6CoreGL10HdlProgram6getVarERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS0_14HdlDynamicDataE(ptr noundef nonnull align 8 dereferenceable(88) %86, ptr noundef nonnull align 8 dereferenceable(32) %90, ptr noundef nonnull align 8 dereferenceable(28) %91)
          to label %92 unwind label %119

92:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 48, ptr %20) #4
  %93 = load ptr, ptr %16, align 8, !tbaa !5
  %94 = load i32, ptr %18, align 4, !tbaa !9
  %95 = zext i32 %94 to i64
  %96 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %93, i64 noundef %95) #4
  %97 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZN4Glip7Modules14UniformsLoader8ResourceC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_6CoreGL14HdlDynamicDataE(ptr noundef nonnull align 8 dereferenceable(41) %20, ptr noundef nonnull align 8 dereferenceable(32) %96, ptr noundef nonnull align 8 dereferenceable(28) %97)
          to label %98 unwind label %123

98:                                               ; preds = %92
  %99 = getelementptr inbounds %"class.Glip::Modules::UniformsLoader::Node", ptr %21, i32 0, i32 2
  %100 = load ptr, ptr %16, align 8, !tbaa !5
  %101 = load i32, ptr %18, align 4, !tbaa !9
  %102 = zext i32 %101 to i64
  %103 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %100, i64 noundef %102) #4
  %104 = invoke noundef nonnull align 8 dereferenceable(41) ptr @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceESt4lessIS6_ESaISt4pairIS6_SA_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %99, ptr noundef nonnull align 8 dereferenceable(32) %103)
          to label %105 unwind label %127

105:                                              ; preds = %98
  %106 = invoke noundef nonnull align 8 dereferenceable(41) ptr @_ZN4Glip7Modules14UniformsLoader8ResourceaSERKS2_(ptr noundef nonnull align 8 dereferenceable(41) %104, ptr noundef nonnull align 8 dereferenceable(41) %20)
          to label %107 unwind label %127

107:                                              ; preds = %105
  call void @_ZN4Glip7Modules14UniformsLoader8ResourceD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %20) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr %20) #4
  %108 = load ptr, ptr %19, align 8, !tbaa !5
  %109 = icmp eq ptr %108, null
  br i1 %109, label %114, label %110

110:                                              ; preds = %107
  %111 = load ptr, ptr %108, align 8, !tbaa !11
  %112 = getelementptr inbounds ptr, ptr %111, i64 1
  %113 = load ptr, ptr %112, align 8
  call void %113(ptr noundef nonnull align 8 dereferenceable(28) %108) #4
  br label %114

114:                                              ; preds = %110, %107
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br label %133

115:                                              ; preds = %71
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %12, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %13, align 4
  br label %137

119:                                              ; preds = %85, %79
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %12, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %13, align 4
  br label %132

123:                                              ; preds = %92
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %12, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %13, align 4
  br label %131

127:                                              ; preds = %105, %98
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %12, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %13, align 4
  call void @_ZN4Glip7Modules14UniformsLoader8ResourceD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %20) #4
  br label %131

131:                                              ; preds = %127, %123
  call void @llvm.lifetime.end.p0(i64 48, ptr %20) #4
  br label %132

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

133:                                              ; preds = %114, %78
  br label %134

134:                                              ; preds = %133
  %135 = load i32, ptr %18, align 4, !tbaa !9
  %136 = add i32 %135, 1
  store i32 %136, ptr %18, align 4, !tbaa !9
  br label %44, !llvm.loop !13

137:                                              ; preds = %132, %115
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  br label %139

138:                                              ; preds = %50
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  ret void

139:                                              ; preds = %137, %67
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  br label %140

140:                                              ; preds = %139, %63
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  br label %141

141:                                              ; preds = %140, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  br label %142

142:                                              ; preds = %141, %55
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  br label %143

143:                                              ; preds = %142, %51
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceESt4lessIS6_ESaISt4pairIS6_SA_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #4
  call void @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeESt4lessIS6_ESaISt4pairIS6_SA_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #4
  br label %144

144:                                              ; preds = %143
  %145 = load ptr, ptr %12, align 8
  %146 = load i32, ptr %13, align 4
  %147 = insertvalue { ptr, i32 } poison, ptr %145, 0
  %148 = insertvalue { ptr, i32 } %147, i32 %146, 1
  resume { ptr, i32 } %148
}

declare noundef i32 @_ZNK4Glip12CorePipeline22AbstractPipelineLayout12getElementIDERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(32)) #2

declare noundef nonnull align 8 dereferenceable(104) ptr @_ZN4Glip12CorePipeline8PipelineixEi(ptr noundef nonnull align 8 dereferenceable(456), i32 noundef) #2

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Glip6CoreGL10HdlProgram16getUniformsNamesB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(88)) #2

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Glip6CoreGL10HdlProgram16getUniformsTypesEv(ptr noundef nonnull align 8 dereferenceable(88)) #2

declare noundef zeroext i1 @_ZN4Glip6CoreGL10HdlProgram22isUniformVariableValidERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(32)) #2

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

declare void @_ZN4Glip6CoreGL10HdlProgram6getVarERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS0_14HdlDynamicDataE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(28)) #2

declare void @_ZN4Glip7Modules14UniformsLoader8ResourceC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_6CoreGL14HdlDynamicDataE(ptr, ptr, ptr)

declare void @_ZN4Glip7Modules14UniformsLoader8ResourceD1Ev(ptr)

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

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.Glip::Modules::UniformsLoader::Resource" = type <{ %"class.std::__cxx11::basic_string", ptr, i8, [7 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] }

; 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

declare noundef ptr @_ZN4Glip6CoreGL14HdlDynamicData5buildERKj(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

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

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

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

; 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 #3 align 2

declare noundef nonnull align 8 dereferenceable(88) ptr @_ZN4Glip12CorePipeline6Filter7programEv(ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceESt4lessIS6_ESaISt4pairIS6_SA_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1 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 #3 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Glip7Modules14UniformsLoader4NodeC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_12CorePipeline8PipelineERKNSB_22AbstractPipelineLayoutERKNSB_20AbstractFilterLayoutE(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(456) %2, ptr noundef nonnull align 8 dereferenceable(128) %3, ptr nocapture noundef nonnull readnone align 8 dereferenceable(84) %4) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.Glip::Modules::UniformsLoader::Resource", align 8
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %1)
  %7 = getelementptr inbounds i8, ptr %0, i64 32
  tail call void @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeESt4lessIS6_ESaISt4pairIS6_SA_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #4
  %8 = getelementptr inbounds i8, ptr %0, i64 80
  tail call void @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceESt4lessIS6_ESaISt4pairIS6_SA_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #4
  %9 = invoke noundef i32 @_ZNK4Glip12CorePipeline22AbstractPipelineLayout12getElementIDERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128) %3, ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %10 unwind label %19

10:                                               ; preds = %5
  %11 = invoke noundef nonnull align 8 dereferenceable(104) ptr @_ZN4Glip12CorePipeline8PipelineixEi(ptr noundef nonnull align 8 dereferenceable(456) %2, i32 noundef %9)
          to label %12 unwind label %21

12:                                               ; preds = %10
  %13 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN4Glip12CorePipeline6Filter7programEv(ptr noundef nonnull align 8 dereferenceable(104) %11)
          to label %14 unwind label %23

14:                                               ; preds = %12
  %15 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Glip6CoreGL10HdlProgram16getUniformsNamesB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(88) %13)
          to label %16 unwind label %25

16:                                               ; preds = %14
  %17 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Glip6CoreGL10HdlProgram16getUniformsTypesEv(ptr noundef nonnull align 8 dereferenceable(88) %13)
          to label %.preheader unwind label %27

.preheader:                                       ; preds = %16
  %18 = tail call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #4
  %.not = icmp eq i64 %18, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %58, %.preheader
  ret void

19:                                               ; preds = %5
  %20 = landingpad { ptr, i32 }
          cleanup
  br label %63

21:                                               ; preds = %10
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %63

23:                                               ; preds = %12
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %63

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

27:                                               ; preds = %16
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %63

.lr.ph:                                           ; preds = %.preheader, %58
  %29 = phi i64 [ %60, %58 ], [ 0, %.preheader ]
  %.02846 = phi i32 [ %59, %58 ], [ 0, %.preheader ]
  %30 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %29) #4
  %31 = invoke noundef zeroext i1 @_ZN4Glip6CoreGL10HdlProgram22isUniformVariableValidERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(88) %13, ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %32 unwind label %49

32:                                               ; preds = %.lr.ph
  br i1 %31, label %33, label %58

33:                                               ; preds = %32
  %34 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %29) #4
  %35 = invoke noundef ptr @_ZN4Glip6CoreGL14HdlDynamicData5buildERKj(ptr noundef nonnull align 4 dereferenceable(4) %34)
          to label %36 unwind label %51

36:                                               ; preds = %33
  %37 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %29) #4
  invoke void @_ZN4Glip6CoreGL10HdlProgram6getVarERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS0_14HdlDynamicDataE(ptr noundef nonnull align 8 dereferenceable(88) %13, ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(28) %35)
          to label %38 unwind label %51

38:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #4
  %39 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %29) #4
  invoke void @_ZN4Glip7Modules14UniformsLoader8ResourceC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_6CoreGL14HdlDynamicDataE(ptr noundef nonnull align 8 dereferenceable(41) %6, ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull align 8 dereferenceable(28) %35)
          to label %40 unwind label %53

40:                                               ; preds = %38
  %41 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %29) #4
  %42 = invoke noundef nonnull align 8 dereferenceable(41) ptr @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceESt4lessIS6_ESaISt4pairIS6_SA_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(32) %41)
          to label %43 unwind label %55

43:                                               ; preds = %40
  %44 = invoke noundef nonnull align 8 dereferenceable(41) ptr @_ZN4Glip7Modules14UniformsLoader8ResourceaSERKS2_(ptr noundef nonnull align 8 dereferenceable(41) %42, ptr noundef nonnull align 8 dereferenceable(41) %6)
          to label %45 unwind label %55

45:                                               ; preds = %43
  call void @_ZN4Glip7Modules14UniformsLoader8ResourceD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %6) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #4
  %46 = load ptr, ptr %35, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %46, i64 8
  %48 = load ptr, ptr %47, align 8
  call void %48(ptr noundef nonnull align 8 dereferenceable(28) %35) #4
  br label %58

49:                                               ; preds = %.lr.ph
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %63

51:                                               ; preds = %36, %33
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %63

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

55:                                               ; preds = %43, %40
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4Glip7Modules14UniformsLoader8ResourceD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %6) #4
  br label %57

57:                                               ; preds = %55, %53
  %.pn = phi { ptr, i32 } [ %56, %55 ], [ %54, %53 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #4
  br label %63

58:                                               ; preds = %32, %45
  %59 = add i32 %.02846, 1
  %60 = zext i32 %59 to i64
  %61 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #4
  %62 = icmp ugt i64 %61, %60
  br i1 %62, label %.lr.ph, label %._crit_edge, !llvm.loop !8

63:                                               ; preds = %21, %25, %49, %57, %51, %27, %23, %19
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %20, %19 ], [ %22, %21 ], [ %24, %23 ], [ %26, %25 ], [ %28, %27 ], [ %50, %49 ], [ %.pn, %57 ], [ %52, %51 ]
  call void @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader8ResourceESt4lessIS6_ESaISt4pairIS6_SA_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #4
  call void @_ZNSt3mapIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4Glip7Modules14UniformsLoader4NodeESt4lessIS6_ESaISt4pairIS6_SA_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #4
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn.pn
}

declare noundef i32 @_ZNK4Glip12CorePipeline22AbstractPipelineLayout12getElementIDERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(104) ptr @_ZN4Glip12CorePipeline8PipelineixEi(ptr noundef nonnull align 8 dereferenceable(456), i32 noundef) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Glip6CoreGL10HdlProgram16getUniformsNamesB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Glip6CoreGL10HdlProgram16getUniformsTypesEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN4Glip6CoreGL10HdlProgram22isUniformVariableValidERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

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

declare void @_ZN4Glip6CoreGL10HdlProgram6getVarERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS0_14HdlDynamicDataE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(28)) local_unnamed_addr #2

declare void @_ZN4Glip7Modules14UniformsLoader8ResourceC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_6CoreGL14HdlDynamicDataE(ptr, ptr, ptr) local_unnamed_addr

declare void @_ZN4Glip7Modules14UniformsLoader8ResourceD1Ev(ptr) local_unnamed_addr

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}


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