; LLVM IR from paroj/gltut :: Tut 12 Dynamic Range/Lights.ll (ZN12LightManager17SetSunlightValuesEP16SunlightValueHDRi)

; 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.std::vector.44" = type { %"struct.std::_Vector_base.45" }
%"struct.std::_Vector_base.45" = type { %"struct.std::_Vector_base<std::pair<glm::detail::tvec4<float>, float>, std::allocator<std::pair<glm::detail::tvec4<float>, float>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<glm::detail::tvec4<float>, float>, std::allocator<std::pair<glm::detail::tvec4<float>, float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<glm::detail::tvec4<float>, float>, std::allocator<std::pair<glm::detail::tvec4<float>, float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<glm::detail::tvec4<float>, float>, std::allocator<std::pair<glm::detail::tvec4<float>, float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.49" = type { %"struct.std::_Vector_base.50" }
%"struct.std::_Vector_base.50" = type { %"struct.std::_Vector_base<std::pair<float, float>, std::allocator<std::pair<float, float>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<float, float>, std::allocator<std::pair<float, float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<float, float>, std::allocator<std::pair<float, float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<float, float>, std::allocator<std::pair<float, float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { %"struct.glm::detail::tvec4", float }
%"struct.glm::detail::tvec4" = type { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { float, float, float, float }
%"struct.std::pair.42" = type { float, float }
%struct.SunlightValueHDR = type { float, %"struct.glm::detail::tvec4", %"struct.glm::detail::tvec4", %"struct.glm::detail::tvec4", float }
%class.LightManager = type { %"class.Framework::Timer", %"class.Framework::TimedLinearInterpolator", %"class.Framework::TimedLinearInterpolator", %"class.Framework::TimedLinearInterpolator", %"class.Framework::TimedLinearInterpolator.6", %"class.std::vector.13", %"class.std::vector.18", %"class.std::vector.23", %"class.std::map" }
%"class.Framework::Timer" = type { i32, float, i8, i8, float, float }
%"class.Framework::TimedLinearInterpolator" = type { %"class.Framework::WeightedLinearInterpolator" }
%"class.Framework::WeightedLinearInterpolator" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Framework::WeightedLinearInterpolator<glm::detail::tvec4<float>>::Data, std::allocator<Framework::WeightedLinearInterpolator<glm::detail::tvec4<float>>::Data>>::_Vector_impl" }
%"struct.std::_Vector_base<Framework::WeightedLinearInterpolator<glm::detail::tvec4<float>>::Data, std::allocator<Framework::WeightedLinearInterpolator<glm::detail::tvec4<float>>::Data>>::_Vector_impl" = type { %"struct.std::_Vector_base<Framework::WeightedLinearInterpolator<glm::detail::tvec4<float>>::Data, std::allocator<Framework::WeightedLinearInterpolator<glm::detail::tvec4<float>>::Data>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Framework::WeightedLinearInterpolator<glm::detail::tvec4<float>>::Data, std::allocator<Framework::WeightedLinearInterpolator<glm::detail::tvec4<float>>::Data>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Framework::TimedLinearInterpolator.6" = type { %"class.Framework::WeightedLinearInterpolator.7" }
%"class.Framework::WeightedLinearInterpolator.7" = type { %"class.std::vector.8" }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<Framework::WeightedLinearInterpolator<float>::Data, std::allocator<Framework::WeightedLinearInterpolator<float>::Data>>::_Vector_impl" }
%"struct.std::_Vector_base<Framework::WeightedLinearInterpolator<float>::Data, std::allocator<Framework::WeightedLinearInterpolator<float>::Data>>::_Vector_impl" = type { %"struct.std::_Vector_base<Framework::WeightedLinearInterpolator<float>::Data, std::allocator<Framework::WeightedLinearInterpolator<float>::Data>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Framework::WeightedLinearInterpolator<float>::Data, std::allocator<Framework::WeightedLinearInterpolator<float>::Data>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<Framework::ConstVelLinearInterpolator<glm::detail::tvec3<float>>, std::allocator<Framework::ConstVelLinearInterpolator<glm::detail::tvec3<float>>>>::_Vector_impl" }
%"struct.std::_Vector_base<Framework::ConstVelLinearInterpolator<glm::detail::tvec3<float>>, std::allocator<Framework::ConstVelLinearInterpolator<glm::detail::tvec3<float>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<Framework::ConstVelLinearInterpolator<glm::detail::tvec3<float>>, std::allocator<Framework::ConstVelLinearInterpolator<glm::detail::tvec3<float>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Framework::ConstVelLinearInterpolator<glm::detail::tvec3<float>>, std::allocator<Framework::ConstVelLinearInterpolator<glm::detail::tvec3<float>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<glm::detail::tvec4<float>, std::allocator<glm::detail::tvec4<float>>>::_Vector_impl" }
%"struct.std::_Vector_base<glm::detail::tvec4<float>, std::allocator<glm::detail::tvec4<float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<glm::detail::tvec4<float>, std::allocator<glm::detail::tvec4<float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glm::detail::tvec4<float>, std::allocator<glm::detail::tvec4<float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<Framework::Timer, std::allocator<Framework::Timer>>::_Vector_impl" }
%"struct.std::_Vector_base<Framework::Timer, std::allocator<Framework::Timer>>::_Vector_impl" = type { %"struct.std::_Vector_base<Framework::Timer, std::allocator<Framework::Timer>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Framework::Timer, std::allocator<Framework::Timer>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, Framework::Timer>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, Framework::Timer>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, Framework::Timer>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, Framework::Timer>>, std::less<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 }

; 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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EE9push_backEOS5_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(20)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIN3glm6detail5tvec4IfEEfEC2IRS3_RfTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS9_SA_EEEbE4typeELb1EEEOS9_OSA_(ptr noundef nonnull align 4 dereferenceable(20), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #2 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12LightManager17SetSunlightValuesEP16SunlightValueHDRi(ptr noundef nonnull align 8 dereferenceable(240) %0, ptr noundef %1, i32 noundef %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::vector.44", align 8
  %8 = alloca %"class.std::vector.44", align 8
  %9 = alloca %"class.std::vector.44", align 8
  %10 = alloca %"class.std::vector.49", align 8
  %11 = alloca i32, align 4
  %12 = alloca %"struct.std::pair", align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"struct.std::pair", align 4
  %16 = alloca %"struct.std::pair", align 4
  %17 = alloca %"struct.std::pair.42", align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  %18 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #3
  call void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #3
  call void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #3
  call void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #3
  call void @_ZNSt6vectorISt4pairIffESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %19

19:                                               ; preds = %73, %3
  %20 = load i32, ptr %11, align 4, !tbaa !9
  %21 = load i32, ptr %6, align 4, !tbaa !9
  %22 = icmp slt i32 %20, %21
  br i1 %22, label %24, label %23

23:                                               ; preds = %19
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  br label %93

24:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 20, ptr %12) #3
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = load i32, ptr %11, align 4, !tbaa !9
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds %struct.SunlightValueHDR, ptr %25, i64 %27
  %29 = getelementptr inbounds %struct.SunlightValueHDR, ptr %28, i32 0, i32 1
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = load i32, ptr %11, align 4, !tbaa !9
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds %struct.SunlightValueHDR, ptr %30, i64 %32
  %34 = getelementptr inbounds %struct.SunlightValueHDR, ptr %33, i32 0, i32 0
  invoke void @_ZNSt4pairIN3glm6detail5tvec4IfEEfEC2IRS3_RfTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS9_SA_EEEbE4typeELb1EEEOS9_OSA_(ptr noundef nonnull align 4 dereferenceable(20) %12, ptr noundef nonnull align 4 dereferenceable(16) %29, ptr noundef nonnull align 4 dereferenceable(4) %34)
          to label %35 unwind label %76

35:                                               ; preds = %24
  invoke void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EE9push_backEOS5_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(20) %12)
          to label %36 unwind label %76

36:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 20, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 20, ptr %15) #3
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = load i32, ptr %11, align 4, !tbaa !9
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds %struct.SunlightValueHDR, ptr %37, i64 %39
  %41 = getelementptr inbounds %struct.SunlightValueHDR, ptr %40, i32 0, i32 2
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = load i32, ptr %11, align 4, !tbaa !9
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds %struct.SunlightValueHDR, ptr %42, i64 %44
  %46 = getelementptr inbounds %struct.SunlightValueHDR, ptr %45, i32 0, i32 0
  invoke void @_ZNSt4pairIN3glm6detail5tvec4IfEEfEC2IRS3_RfTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS9_SA_EEEbE4typeELb1EEEOS9_OSA_(ptr noundef nonnull align 4 dereferenceable(20) %15, ptr noundef nonnull align 4 dereferenceable(16) %41, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %47 unwind label %80

47:                                               ; preds = %36
  invoke void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EE9push_backEOS5_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(20) %15)
          to label %48 unwind label %80

48:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 20, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 20, ptr %16) #3
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = load i32, ptr %11, align 4, !tbaa !9
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds %struct.SunlightValueHDR, ptr %49, i64 %51
  %53 = getelementptr inbounds %struct.SunlightValueHDR, ptr %52, i32 0, i32 3
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = load i32, ptr %11, align 4, !tbaa !9
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds %struct.SunlightValueHDR, ptr %54, i64 %56
  %58 = getelementptr inbounds %struct.SunlightValueHDR, ptr %57, i32 0, i32 0
  invoke void @_ZNSt4pairIN3glm6detail5tvec4IfEEfEC2IRS3_RfTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS9_SA_EEEbE4typeELb1EEEOS9_OSA_(ptr noundef nonnull align 4 dereferenceable(20) %16, ptr noundef nonnull align 4 dereferenceable(16) %53, ptr noundef nonnull align 4 dereferenceable(4) %58)
          to label %59 unwind label %84

59:                                               ; preds = %48
  invoke void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EE9push_backEOS5_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 4 dereferenceable(20) %16)
          to label %60 unwind label %84

60:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 20, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = load i32, ptr %11, align 4, !tbaa !9
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds %struct.SunlightValueHDR, ptr %61, i64 %63
  %65 = getelementptr inbounds %struct.SunlightValueHDR, ptr %64, i32 0, i32 4
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = load i32, ptr %11, align 4, !tbaa !9
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds %struct.SunlightValueHDR, ptr %66, i64 %68
  %70 = getelementptr inbounds %struct.SunlightValueHDR, ptr %69, i32 0, i32 0
  invoke void @_ZNSt4pairIffEC2IRfS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(4) %65, ptr noundef nonnull align 4 dereferenceable(4) %70)
          to label %71 unwind label %88

71:                                               ; preds = %60
  invoke void @_ZNSt6vectorISt4pairIffESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 4 dereferenceable(8) %17)
          to label %72 unwind label %88

72:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  br label %73

73:                                               ; preds = %72
  %74 = load i32, ptr %11, align 4, !tbaa !9
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %11, align 4, !tbaa !9
  br label %19, !llvm.loop !11

76:                                               ; preds = %35, %24
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %13, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 20, ptr %12) #3
  br label %92

80:                                               ; preds = %47, %36
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %13, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 20, ptr %15) #3
  br label %92

84:                                               ; preds = %59, %48
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %13, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 20, ptr %16) #3
  br label %92

88:                                               ; preds = %71, %60
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %13, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  br label %92

92:                                               ; preds = %88, %84, %80, %76
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  br label %106

93:                                               ; preds = %23
  %94 = getelementptr inbounds %class.LightManager, ptr %18, i32 0, i32 1
  invoke void @_ZN9Framework23TimedLinearInterpolatorIN3glm6detail5tvec4IfEEE9SetValuesISt6vectorISt4pairIS4_fESaIS9_EEEEvRKT_b(ptr noundef nonnull align 8 dereferenceable(24) %94, ptr noundef nonnull align 8 dereferenceable(24) %7, i1 noundef zeroext true)
          to label %95 unwind label %102

95:                                               ; preds = %93
  %96 = getelementptr inbounds %class.LightManager, ptr %18, i32 0, i32 3
  invoke void @_ZN9Framework23TimedLinearInterpolatorIN3glm6detail5tvec4IfEEE9SetValuesISt6vectorISt4pairIS4_fESaIS9_EEEEvRKT_b(ptr noundef nonnull align 8 dereferenceable(24) %96, ptr noundef nonnull align 8 dereferenceable(24) %8, i1 noundef zeroext true)
          to label %97 unwind label %102

97:                                               ; preds = %95
  %98 = getelementptr inbounds %class.LightManager, ptr %18, i32 0, i32 2
  invoke void @_ZN9Framework23TimedLinearInterpolatorIN3glm6detail5tvec4IfEEE9SetValuesISt6vectorISt4pairIS4_fESaIS9_EEEEvRKT_b(ptr noundef nonnull align 8 dereferenceable(24) %98, ptr noundef nonnull align 8 dereferenceable(24) %9, i1 noundef zeroext true)
          to label %99 unwind label %102

99:                                               ; preds = %97
  %100 = getelementptr inbounds %class.LightManager, ptr %18, i32 0, i32 4
  invoke void @_ZN9Framework23TimedLinearInterpolatorIfE9SetValuesISt6vectorISt4pairIffESaIS5_EEEEvRKT_b(ptr noundef nonnull align 8 dereferenceable(24) %100, ptr noundef nonnull align 8 dereferenceable(24) %10, i1 noundef zeroext true)
          to label %101 unwind label %102

101:                                              ; preds = %99
  call void @_ZNSt6vectorISt4pairIffESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #3
  call void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #3
  call void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #3
  call void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #3
  ret void

102:                                              ; preds = %99, %97, %95, %93
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %13, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %14, align 4
  br label %106

106:                                              ; preds = %102, %92
  call void @_ZNSt6vectorISt4pairIffESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #3
  call void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #3
  call void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #3
  call void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #3
  br label %107

107:                                              ; preds = %106
  %108 = load ptr, ptr %13, align 8
  %109 = load i32, ptr %14, align 4
  %110 = insertvalue { ptr, i32 } poison, ptr %108, 0
  %111 = insertvalue { ptr, i32 } %110, i32 %109, 1
  resume { ptr, i32 } %111
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIffEC2IRfS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"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.std::vector.44" = type { %"struct.std::_Vector_base.45" }
%"struct.std::_Vector_base.45" = type { %"struct.std::_Vector_base<std::pair<glm::detail::tvec4<float>, float>, std::allocator<std::pair<glm::detail::tvec4<float>, float>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<glm::detail::tvec4<float>, float>, std::allocator<std::pair<glm::detail::tvec4<float>, float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<glm::detail::tvec4<float>, float>, std::allocator<std::pair<glm::detail::tvec4<float>, float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<glm::detail::tvec4<float>, float>, std::allocator<std::pair<glm::detail::tvec4<float>, float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.49" = type { %"struct.std::_Vector_base.50" }
%"struct.std::_Vector_base.50" = type { %"struct.std::_Vector_base<std::pair<float, float>, std::allocator<std::pair<float, float>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<float, float>, std::allocator<std::pair<float, float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<float, float>, std::allocator<std::pair<float, float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<float, float>, std::allocator<std::pair<float, float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { %"struct.glm::detail::tvec4", float }
%"struct.glm::detail::tvec4" = type { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { float, float, float, float }
%"struct.std::pair.42" = type { float, float }
%struct.SunlightValueHDR = type { float, %"struct.glm::detail::tvec4", %"struct.glm::detail::tvec4", %"struct.glm::detail::tvec4", float }

; 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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EE9push_backEOS5_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIN3glm6detail5tvec4IfEEfEC2IRS3_RfTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS9_SA_EEEbE4typeELb1EEEOS9_OSA_(ptr noundef nonnull align 4 dereferenceable(20), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #2 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12LightManager17SetSunlightValuesEP16SunlightValueHDRi(ptr noundef nonnull align 8 dereferenceable(240) %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector.44", align 8
  %5 = alloca %"class.std::vector.44", align 8
  %6 = alloca %"class.std::vector.44", align 8
  %7 = alloca %"class.std::vector.49", align 8
  %8 = alloca %"struct.std::pair", align 4
  %9 = alloca %"struct.std::pair", align 4
  %10 = alloca %"struct.std::pair", align 4
  %11 = alloca %"struct.std::pair.42", align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #3
  call void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #3
  call void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #3
  call void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #3
  call void @_ZNSt6vectorISt4pairIffESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #3
  %12 = icmp sgt i32 %2, 0
  br i1 %12, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %3
  %wide.trip.count = zext nneg i32 %2 to i64
  br label %.lr.ph

._crit_edge:                                      ; preds = %25, %3
  %13 = getelementptr inbounds i8, ptr %0, i64 24
  invoke void @_ZN9Framework23TimedLinearInterpolatorIN3glm6detail5tvec4IfEEE9SetValuesISt6vectorISt4pairIS4_fESaIS9_EEEEvRKT_b(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %4, i1 noundef zeroext true)
          to label %34 unwind label %41

.lr.ph:                                           ; preds = %.lr.ph.preheader, %25
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %25 ]
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %8) #3
  %14 = getelementptr inbounds %struct.SunlightValueHDR, ptr %1, i64 %indvars.iv
  %15 = getelementptr inbounds i8, ptr %14, i64 4
  invoke void @_ZNSt4pairIN3glm6detail5tvec4IfEEfEC2IRS3_RfTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS9_SA_EEEbE4typeELb1EEEOS9_OSA_(ptr noundef nonnull align 4 dereferenceable(20) %8, ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %16 unwind label %26

16:                                               ; preds = %.lr.ph
  invoke void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EE9push_backEOS5_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 4 dereferenceable(20) %8)
          to label %17 unwind label %26

17:                                               ; preds = %16
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %9) #3
  %18 = getelementptr inbounds i8, ptr %14, i64 20
  invoke void @_ZNSt4pairIN3glm6detail5tvec4IfEEfEC2IRS3_RfTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS9_SA_EEEbE4typeELb1EEEOS9_OSA_(ptr noundef nonnull align 4 dereferenceable(20) %9, ptr noundef nonnull align 4 dereferenceable(16) %18, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %19 unwind label %28

19:                                               ; preds = %17
  invoke void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EE9push_backEOS5_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 4 dereferenceable(20) %9)
          to label %20 unwind label %28

20:                                               ; preds = %19
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %10) #3
  %21 = getelementptr inbounds i8, ptr %14, i64 36
  invoke void @_ZNSt4pairIN3glm6detail5tvec4IfEEfEC2IRS3_RfTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS9_SA_EEEbE4typeELb1EEEOS9_OSA_(ptr noundef nonnull align 4 dereferenceable(20) %10, ptr noundef nonnull align 4 dereferenceable(16) %21, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %22 unwind label %30

22:                                               ; preds = %20
  invoke void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EE9push_backEOS5_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 4 dereferenceable(20) %10)
          to label %23 unwind label %30

23:                                               ; preds = %22
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
  %24 = getelementptr inbounds i8, ptr %14, i64 52
  call void @_ZNSt4pairIffEC2IRfS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef nonnull align 4 dereferenceable(4) %14)
  invoke void @_ZNSt6vectorISt4pairIffESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(8) %11)
          to label %25 unwind label %32

25:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !5

26:                                               ; preds = %16, %.lr.ph
  %27 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %8) #3
  br label %43

28:                                               ; preds = %19, %17
  %29 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %9) #3
  br label %43

30:                                               ; preds = %22, %20
  %31 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %10) #3
  br label %43

32:                                               ; preds = %23
  %33 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
  br label %43

34:                                               ; preds = %._crit_edge
  %35 = getelementptr inbounds i8, ptr %0, i64 72
  invoke void @_ZN9Framework23TimedLinearInterpolatorIN3glm6detail5tvec4IfEEE9SetValuesISt6vectorISt4pairIS4_fESaIS9_EEEEvRKT_b(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(24) %5, i1 noundef zeroext true)
          to label %36 unwind label %41

36:                                               ; preds = %34
  %37 = getelementptr inbounds i8, ptr %0, i64 48
  invoke void @_ZN9Framework23TimedLinearInterpolatorIN3glm6detail5tvec4IfEEE9SetValuesISt6vectorISt4pairIS4_fESaIS9_EEEEvRKT_b(ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(24) %6, i1 noundef zeroext true)
          to label %38 unwind label %41

38:                                               ; preds = %36
  %39 = getelementptr inbounds i8, ptr %0, i64 96
  invoke void @_ZN9Framework23TimedLinearInterpolatorIfE9SetValuesISt6vectorISt4pairIffESaIS5_EEEEvRKT_b(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 8 dereferenceable(24) %7, i1 noundef zeroext true)
          to label %40 unwind label %41

40:                                               ; preds = %38
  call void @_ZNSt6vectorISt4pairIffESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #3
  call void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #3
  call void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #3
  call void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3
  ret void

41:                                               ; preds = %38, %36, %34, %._crit_edge
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %43

43:                                               ; preds = %26, %28, %30, %32, %41
  %.pn.pn = phi { ptr, i32 } [ %42, %41 ], [ %33, %32 ], [ %31, %30 ], [ %29, %28 ], [ %27, %26 ]
  call void @_ZNSt6vectorISt4pairIffESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #3
  call void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #3
  call void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #3
  call void @_ZNSt6vectorISt4pairIN3glm6detail5tvec4IfEEfESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3
  resume { ptr, i32 } %.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIffEC2IRfS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}


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