; LLVM IR from Razakhel/RaZ :: src/RaZ/Render/ShaderProgram.ll (ZN3Raz13ShaderProgram25updateAttributesLocationsEv)

; 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::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.Raz::ShaderProgram" = type { ptr, %"class.Raz::OwnerValue", %"class.std::unordered_map", %"class.std::vector", %"class.std::vector.19" }
%"class.Raz::OwnerValue" = type { i32 }
%"class.std::unordered_map" = type { %"class.std::_Hashtable.3" }
%"class.std::_Hashtable.3" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<std::shared_ptr<Raz::Texture>, std::__cxx11::basic_string<char>>, std::allocator<std::pair<std::shared_ptr<Raz::Texture>, std::__cxx11::basic_string<char>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<std::shared_ptr<Raz::Texture>, std::__cxx11::basic_string<char>>, std::allocator<std::pair<std::shared_ptr<Raz::Texture>, std::__cxx11::basic_string<char>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<std::shared_ptr<Raz::Texture>, std::__cxx11::basic_string<char>>, std::allocator<std::pair<std::shared_ptr<Raz::Texture>, std::__cxx11::basic_string<char>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<std::shared_ptr<Raz::Texture>, std::__cxx11::basic_string<char>>, std::allocator<std::pair<std::shared_ptr<Raz::Texture>, std::__cxx11::basic_string<char>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.19" = type { %"struct.std::_Vector_base.20" }
%"struct.std::_Vector_base.20" = type { %"struct.std::_Vector_base<std::pair<std::shared_ptr<Raz::Texture>, Raz::ShaderProgram::ImageTextureAttachment>, std::allocator<std::pair<std::shared_ptr<Raz::Texture>, Raz::ShaderProgram::ImageTextureAttachment>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<std::shared_ptr<Raz::Texture>, Raz::ShaderProgram::ImageTextureAttachment>, std::allocator<std::pair<std::shared_ptr<Raz::Texture>, Raz::ShaderProgram::ImageTextureAttachment>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<std::shared_ptr<Raz::Texture>, Raz::ShaderProgram::ImageTextureAttachment>, std::allocator<std::pair<std::shared_ptr<Raz::Texture>, Raz::ShaderProgram::ImageTextureAttachment>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<std::shared_ptr<Raz::Texture>, Raz::ShaderProgram::ImageTextureAttachment>, std::allocator<std::pair<std::shared_ptr<Raz::Texture>, Raz::ShaderProgram::ImageTextureAttachment>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Raz::ShaderProgram::Attribute" = type { i32, [4 x i8], %"class.std::variant" }
%"class.std::variant" = type { %"struct.std::__detail::__variant::_Variant_base.base", [7 x i8] }
%"struct.std::__detail::__variant::_Variant_base.base" = type { %"struct.std::__detail::__variant::_Move_assign_base.base" }
%"struct.std::__detail::__variant::_Move_assign_base.base" = type { %"struct.std::__detail::__variant::_Copy_assign_base.base" }
%"struct.std::__detail::__variant::_Copy_assign_base.base" = type { %"struct.std::__detail::__variant::_Move_ctor_base.base" }
%"struct.std::__detail::__variant::_Move_ctor_base.base" = type { %"struct.std::__detail::__variant::_Copy_ctor_base.base" }
%"struct.std::__detail::__variant::_Copy_ctor_base.base" = type { %"struct.std::__detail::__variant::_Variant_storage.base" }
%"struct.std::__detail::__variant::_Variant_storage.base" = type <{ %"union.std::__detail::__variant::_Variadic_union", i8 }>
%"union.std::__detail::__variant::_Variadic_union" = type { %"union.std::__detail::__variant::_Variadic_union.42" }
%"union.std::__detail::__variant::_Variadic_union.42" = type { %"union.std::__detail::__variant::_Variadic_union.44" }
%"union.std::__detail::__variant::_Variadic_union.44" = type { %"union.std::__detail::__variant::_Variadic_union.46" }
%"union.std::__detail::__variant::_Variadic_union.46" = type { %"union.std::__detail::__variant::_Variadic_union.48" }
%"union.std::__detail::__variant::_Variadic_union.48" = type { %"union.std::__detail::__variant::_Variadic_union.52" }
%"union.std::__detail::__variant::_Variadic_union.52" = type { %"union.std::__detail::__variant::_Variadic_union.56" }
%"union.std::__detail::__variant::_Variadic_union.56" = type { %"union.std::__detail::__variant::_Variadic_union.60" }
%"union.std::__detail::__variant::_Variadic_union.60" = type { %"union.std::__detail::__variant::_Variadic_union.64" }
%"union.std::__detail::__variant::_Variadic_union.64" = type { %"union.std::__detail::__variant::_Variadic_union.68" }
%"union.std::__detail::__variant::_Variadic_union.68" = type { %"union.std::__detail::__variant::_Variadic_union.72" }
%"union.std::__detail::__variant::_Variadic_union.72" = type { %"union.std::__detail::__variant::_Variadic_union.76" }
%"union.std::__detail::__variant::_Variadic_union.76" = type { %"union.std::__detail::__variant::_Variadic_union.80" }
%"union.std::__detail::__variant::_Variadic_union.80" = type { %"union.std::__detail::__variant::_Variadic_union.82" }
%"union.std::__detail::__variant::_Variadic_union.82" = type { %"union.std::__detail::__variant::_Variadic_union.86" }
%"union.std::__detail::__variant::_Variadic_union.86" = type { %"struct.std::__detail::__variant::_Uninitialized.87" }
%"struct.std::__detail::__variant::_Uninitialized.87" = type { %"class.Raz::Matrix.88" }
%"class.Raz::Matrix.88" = type { %"struct.std::array.89" }
%"struct.std::array.89" = type { [16 x float] }

; 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 nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3Raz13ShaderProgram9AttributeEELb1EEESF_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3Raz13ShaderProgram25updateAttributesLocationsEv(ptr noundef nonnull align 8 dereferenceable(120) %0) #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %5 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %9 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  %10 = getelementptr inbounds %"class.Raz::ShaderProgram", ptr %9, i32 0, i32 2
  store ptr %10, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  %11 = load ptr, ptr %3, align 8, !tbaa !5
  %12 = call ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3Raz13ShaderProgram9AttributeESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %11) #3
  %13 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %4, i32 0, i32 0
  %14 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %13, i32 0, i32 0
  store ptr %12, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  %16 = call ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3Raz13ShaderProgram9AttributeESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %15) #3
  %17 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %5, i32 0, i32 0
  %18 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %17, i32 0, i32 0
  store ptr %16, ptr %18, align 8
  br label %19

19:                                               ; preds = %32, %1
  %20 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3Raz13ShaderProgram9AttributeEELb1EEESF_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #3
  br i1 %20, label %22, label %21

21:                                               ; preds = %19
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  br label %34

22:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %23 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3Raz13ShaderProgram9AttributeEELb0ELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #3
  store ptr %23, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZSt3getILm0EKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3Raz13ShaderProgram9AttributeEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERSE_(ptr noundef nonnull align 8 dereferenceable(112) %24) #3
  store ptr %25, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZSt3getILm1EKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3Raz13ShaderProgram9AttributeEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERSE_(ptr noundef nonnull align 8 dereferenceable(112) %26) #3
  store ptr %27, ptr %8, align 8, !tbaa !5
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = call noundef i32 @_ZNK3Raz13ShaderProgram22recoverUniformLocationERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(120) %9, ptr noundef nonnull align 8 dereferenceable(32) %28)
  %30 = load ptr, ptr %8, align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.Raz::ShaderProgram::Attribute", ptr %30, i32 0, i32 0
  store i32 %29, ptr %31, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  br label %32

32:                                               ; preds = %22
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3Raz13ShaderProgram9AttributeEELb0ELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #3
  br label %19

34:                                               ; preds = %21
  ret void
}

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN3Raz13ShaderProgram9AttributeE", !11, i64 0, !12, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTSSt7variantIJijfN3Raz6VectorIiLm2EEENS1_IiLm3EEENS1_IiLm4EEENS1_IjLm2EEENS1_IjLm3EEENS1_IjLm4EEENS1_IfLm2EEENS1_IfLm3EEENS1_IfLm4EEENS0_6MatrixIfLm2ELm2EEENSB_IfLm3ELm3EEENSB_IfLm4ELm4EEESt6vectorIiSaIiEESF_IjSaIjEESF_IfSaIfEEEE", !13, i64 0}
!13 = !{!"_ZTSNSt8__detail9__variant13_Variant_baseIJijfN3Raz6VectorIiLm2EEENS3_IiLm3EEENS3_IiLm4EEENS3_IjLm2EEENS3_IjLm3EEENS3_IjLm4EEENS3_IfLm2EEENS3_IfLm3EEENS3_IfLm4EEENS2_6MatrixIfLm2ELm2EEENSD_IfLm3ELm3EEENSD_IfLm4ELm4EEESt6vectorIiSaIiEESH_IjSaIjEESH_IfSaIfEEEEE", !14, i64 0}
!14 = !{!"_ZTSNSt8__detail9__variant17_Move_assign_baseILb0EJijfN3Raz6VectorIiLm2EEENS3_IiLm3EEENS3_IiLm4EEENS3_IjLm2EEENS3_IjLm3EEENS3_IjLm4EEENS3_IfLm2EEENS3_IfLm3EEENS3_IfLm4EEENS2_6MatrixIfLm2ELm2EEENSD_IfLm3ELm3EEENSD_IfLm4ELm4EEESt6vectorIiSaIiEESH_IjSaIjEESH_IfSaIfEEEEE", !15, i64 0}
!15 = !{!"_ZTSNSt8__detail9__variant17_Copy_assign_baseILb0EJijfN3Raz6VectorIiLm2EEENS3_IiLm3EEENS3_IiLm4EEENS3_IjLm2EEENS3_IjLm3EEENS3_IjLm4EEENS3_IfLm2EEENS3_IfLm3EEENS3_IfLm4EEENS2_6MatrixIfLm2ELm2EEENSD_IfLm3ELm3EEENSD_IfLm4ELm4EEESt6vectorIiSaIiEESH_IjSaIjEESH_IfSaIfEEEEE", !16, i64 0}
!16 = !{!"_ZTSNSt8__detail9__variant15_Move_ctor_baseILb0EJijfN3Raz6VectorIiLm2EEENS3_IiLm3EEENS3_IiLm4EEENS3_IjLm2EEENS3_IjLm3EEENS3_IjLm4EEENS3_IfLm2EEENS3_IfLm3EEENS3_IfLm4EEENS2_6MatrixIfLm2ELm2EEENSD_IfLm3ELm3EEENSD_IfLm4ELm4EEESt6vectorIiSaIiEESH_IjSaIjEESH_IfSaIfEEEEE", !17, i64 0}
!17 = !{!"_ZTSNSt8__detail9__variant15_Copy_ctor_baseILb0EJijfN3Raz6VectorIiLm2EEENS3_IiLm3EEENS3_IiLm4EEENS3_IjLm2EEENS3_IjLm3EEENS3_IjLm4EEENS3_IfLm2EEENS3_IfLm3EEENS3_IfLm4EEENS2_6MatrixIfLm2ELm2EEENSD_IfLm3ELm3EEENSD_IfLm4ELm4EEESt6vectorIiSaIiEESH_IjSaIjEESH_IfSaIfEEEEE", !18, i64 0}
!18 = !{!"_ZTSNSt8__detail9__variant16_Variant_storageILb0EJijfN3Raz6VectorIiLm2EEENS3_IiLm3EEENS3_IiLm4EEENS3_IjLm2EEENS3_IjLm3EEENS3_IjLm4EEENS3_IfLm2EEENS3_IfLm3EEENS3_IfLm4EEENS2_6MatrixIfLm2ELm2EEENSD_IfLm3ELm3EEENSD_IfLm4ELm4EEESt6vectorIiSaIiEESH_IjSaIjEESH_IfSaIfEEEEE", !7, i64 0, !7, i64 64}


; 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::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = 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 nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3Raz13ShaderProgram9AttributeEELb1EEESF_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3Raz13ShaderProgram25updateAttributesLocationsEv(ptr noundef nonnull align 8 dereferenceable(120) %0) local_unnamed_addr #2 align 2 {
  %2 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %3 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %4 = getelementptr inbounds i8, ptr %0, i64 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
  %5 = tail call ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3Raz13ShaderProgram9AttributeESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %4) #3
  store ptr %5, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
  %6 = tail call ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3Raz13ShaderProgram9AttributeESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %4) #3
  store ptr %6, ptr %3, align 8
  %7 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3Raz13ShaderProgram9AttributeEELb1EEESF_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #3
  br i1 %7, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
  ret void

.lr.ph:                                           ; preds = %1, %.lr.ph
  %8 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3Raz13ShaderProgram9AttributeEELb0ELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #3
  %9 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZSt3getILm0EKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3Raz13ShaderProgram9AttributeEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERSE_(ptr noundef nonnull align 8 dereferenceable(112) %8) #3
  %10 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZSt3getILm1EKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3Raz13ShaderProgram9AttributeEERNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeERSE_(ptr noundef nonnull align 8 dereferenceable(112) %8) #3
  %11 = call noundef i32 @_ZNK3Raz13ShaderProgram22recoverUniformLocationERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(32) %9)
  store i32 %11, ptr %10, align 8, !tbaa !5
  %12 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3Raz13ShaderProgram9AttributeEELb0ELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #3
  %13 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3Raz13ShaderProgram9AttributeEELb1EEESF_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #3
  br i1 %13, label %.lr.ph, label %._crit_edge
}

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSN3Raz13ShaderProgram9AttributeE", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt7variantIJijfN3Raz6VectorIiLm2EEENS1_IiLm3EEENS1_IiLm4EEENS1_IjLm2EEENS1_IjLm3EEENS1_IjLm4EEENS1_IfLm2EEENS1_IfLm3EEENS1_IfLm4EEENS0_6MatrixIfLm2ELm2EEENSB_IfLm3ELm3EEENSB_IfLm4ELm4EEESt6vectorIiSaIiEESF_IjSaIjEESF_IfSaIfEEEE", !11, i64 0}
!11 = !{!"_ZTSNSt8__detail9__variant13_Variant_baseIJijfN3Raz6VectorIiLm2EEENS3_IiLm3EEENS3_IiLm4EEENS3_IjLm2EEENS3_IjLm3EEENS3_IjLm4EEENS3_IfLm2EEENS3_IfLm3EEENS3_IfLm4EEENS2_6MatrixIfLm2ELm2EEENSD_IfLm3ELm3EEENSD_IfLm4ELm4EEESt6vectorIiSaIiEESH_IjSaIjEESH_IfSaIfEEEEE", !12, i64 0}
!12 = !{!"_ZTSNSt8__detail9__variant17_Move_assign_baseILb0EJijfN3Raz6VectorIiLm2EEENS3_IiLm3EEENS3_IiLm4EEENS3_IjLm2EEENS3_IjLm3EEENS3_IjLm4EEENS3_IfLm2EEENS3_IfLm3EEENS3_IfLm4EEENS2_6MatrixIfLm2ELm2EEENSD_IfLm3ELm3EEENSD_IfLm4ELm4EEESt6vectorIiSaIiEESH_IjSaIjEESH_IfSaIfEEEEE", !13, i64 0}
!13 = !{!"_ZTSNSt8__detail9__variant17_Copy_assign_baseILb0EJijfN3Raz6VectorIiLm2EEENS3_IiLm3EEENS3_IiLm4EEENS3_IjLm2EEENS3_IjLm3EEENS3_IjLm4EEENS3_IfLm2EEENS3_IfLm3EEENS3_IfLm4EEENS2_6MatrixIfLm2ELm2EEENSD_IfLm3ELm3EEENSD_IfLm4ELm4EEESt6vectorIiSaIiEESH_IjSaIjEESH_IfSaIfEEEEE", !14, i64 0}
!14 = !{!"_ZTSNSt8__detail9__variant15_Move_ctor_baseILb0EJijfN3Raz6VectorIiLm2EEENS3_IiLm3EEENS3_IiLm4EEENS3_IjLm2EEENS3_IjLm3EEENS3_IjLm4EEENS3_IfLm2EEENS3_IfLm3EEENS3_IfLm4EEENS2_6MatrixIfLm2ELm2EEENSD_IfLm3ELm3EEENSD_IfLm4ELm4EEESt6vectorIiSaIiEESH_IjSaIjEESH_IfSaIfEEEEE", !15, i64 0}
!15 = !{!"_ZTSNSt8__detail9__variant15_Copy_ctor_baseILb0EJijfN3Raz6VectorIiLm2EEENS3_IiLm3EEENS3_IiLm4EEENS3_IjLm2EEENS3_IjLm3EEENS3_IjLm4EEENS3_IfLm2EEENS3_IfLm3EEENS3_IfLm4EEENS2_6MatrixIfLm2ELm2EEENSD_IfLm3ELm3EEENSD_IfLm4ELm4EEESt6vectorIiSaIiEESH_IjSaIjEESH_IfSaIfEEEEE", !16, i64 0}
!16 = !{!"_ZTSNSt8__detail9__variant16_Variant_storageILb0EJijfN3Raz6VectorIiLm2EEENS3_IiLm3EEENS3_IiLm4EEENS3_IjLm2EEENS3_IjLm3EEENS3_IjLm4EEENS3_IfLm2EEENS3_IfLm3EEENS3_IfLm4EEENS2_6MatrixIfLm2ELm2EEENSD_IfLm3ELm3EEENSD_IfLm4ELm4EEESt6vectorIiSaIiEESH_IjSaIjEESH_IfSaIfEEEEE", !8, i64 0, !8, i64 64}


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