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

; 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.UnlitProgData = type { i32, i32, i32, i32 }
%class.LightManager = type { %"class.Framework::Timer", %"class.Framework::TimedLinearInterpolator", %"class.Framework::TimedLinearInterpolator", %"class.Framework::TimedLinearInterpolator", %"class.Framework::TimedLinearInterpolator.8", %"class.std::vector.15", %"class.std::vector.20", %"class.std::vector.25", %"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.3" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = 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.8" = type { %"class.Framework::WeightedLinearInterpolator.9" }
%"class.Framework::WeightedLinearInterpolator.9" = type { %"class.std::vector.10" }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = 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.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = 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.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = 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.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = 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 }
%"class.glutil::ViewPole" = type <{ %"class.glutil::ViewProvider", %"struct.glutil::ViewData", %"struct.glutil::ViewScale", %"struct.glutil::ViewData", i32, i8, i8, [2 x i8], i32, float, %"struct.glm::detail::tvec2", %"struct.glm::detail::tquat", [4 x i8] }>
%"class.glutil::ViewProvider" = type { ptr }
%"struct.glutil::ViewScale" = type { float, float, float, float, float, float, float }
%"struct.glutil::ViewData" = type { %"struct.glm::detail::tvec3", %"struct.glm::detail::tquat", float, float }
%"struct.glm::detail::tvec3" = type { %union.anon.33 }
%union.anon.33 = type { %struct.anon }
%struct.anon = type { float, float, float }
%"struct.glm::detail::tvec2" = type { %union.anon.36 }
%union.anon.36 = type { %struct.anon.37 }
%struct.anon.37 = type { i32, i32 }
%"struct.glm::detail::tquat" = type { float, float, float, float }
%"struct.glm::detail::tvec4" = type { %union.anon.40 }
%union.anon.40 = type { %struct.anon.41 }
%struct.anon.41 = type { float, float, float, float }
%"class.glutil::MatrixStack" = type { %"class.std::stack", %"struct.glm::detail::tmat4x4" }
%"class.std::stack" = type { %"class.std::vector.46" }
%"class.std::vector.46" = type { %"struct.std::_Vector_base.47" }
%"struct.std::_Vector_base.47" = type { %"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl" }
%"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.glm::detail::tmat4x4" = type { [4 x %"struct.glm::detail::tvec4"] }
%struct.LightBlockGamma = type { %"struct.glm::detail::tvec4", float, float, float, float, [4 x %struct.PerLight] }
%struct.PerLight = type { %"struct.glm::detail::tvec4", %"struct.glm::detail::tvec4" }
%"class.glutil::PushStack" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.0" = type { i8 }

@g_Unlit = external dso_local global %struct.UnlitProgData, align 4
@g_lights = external dso_local global %class.LightManager, align 8
@g_viewPole = external dso_local global %"class.glutil::ViewPole", align 8
@g_lightUniformBuffer = external dso_local global i32, align 4
@g_pScene = external dso_local global ptr, align 8
@.str.18 = external hidden unnamed_addr constant [6 x i8], align 1
@_funcptr_glEnable = external global ptr, align 8
@_funcptr_glDepthMask = external global ptr, align 8
@_funcptr_glBindBuffer = external global ptr, align 8
@g_bDrawCameraPos = external dso_local global i8, align 1
@g_bDrawLights = external dso_local global i8, align 1
@g_isGammaCorrect = external dso_local global i8, align 1
@g_gammaValue = external dso_local global float, align 4
@_funcptr_glClearColor = external global ptr, align 8
@_funcptr_glClearDepth = external global ptr, align 8
@_funcptr_glClear = external global ptr, align 8
@_funcptr_glBufferSubData = external global ptr, align 8
@_funcptr_glUseProgram = external global ptr, align 8
@_funcptr_glUniformMatrix4fv = external global ptr, align 8
@_funcptr_glUniform4fv = external global ptr, align 8
@.str.19 = external hidden unnamed_addr constant [5 x i8], align 1
@_funcptr_glDisable = external global ptr, align 8
@_funcptr_glUniform4f = external global ptr, align 8

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12GammaCorrectRKN3glm6detail5tvec4IfEEf(ptr dead_on_unwind noalias writable sret(%"struct.glm::detail::tvec4") align 4, ptr noundef nonnull align 4 dereferenceable(16), float noundef) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm6detail5tvec4IfEixEm(ptr noundef nonnull align 4 dereferenceable(16), i64 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z7displayv() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca float, align 4
  %2 = alloca %"struct.glm::detail::tvec4", align 4
  %3 = alloca %"struct.glm::detail::tvec4", align 4
  %4 = alloca %"class.glutil::MatrixStack", align 8
  %5 = alloca %"struct.glm::detail::tmat4x4", align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca %struct.LightBlockGamma, align 4
  %10 = alloca %"class.glutil::PushStack", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator.0", align 1
  %13 = alloca %"class.glutil::PushStack", align 8
  %14 = alloca %"class.glutil::PushStack", align 8
  %15 = alloca %"struct.glm::detail::tvec3", align 4
  %16 = alloca %"struct.glm::detail::tvec4", align 4
  %17 = alloca %"struct.glm::detail::tvec3", align 4
  %18 = alloca float, align 4
  %19 = alloca %"struct.glm::detail::tvec4", align 4
  %20 = alloca %"struct.glm::detail::tvec4", align 4
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator.0", align 1
  %23 = alloca i32, align 4
  %24 = alloca %"class.glutil::PushStack", align 8
  %25 = alloca %"struct.glm::detail::tvec3", align 4
  %26 = alloca %"struct.glm::detail::tvec4", align 4
  %27 = alloca %"struct.glm::detail::tvec4", align 4
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator.0", align 1
  %30 = alloca %"class.glutil::PushStack", align 8
  %31 = alloca %"struct.glm::detail::tvec3", align 4
  %32 = alloca float, align 4
  %33 = alloca float, align 4
  %34 = alloca float, align 4
  %35 = alloca %"class.std::__cxx11::basic_string", align 8
  %36 = alloca %"class.std::allocator.0", align 1
  %37 = alloca %"class.std::__cxx11::basic_string", align 8
  %38 = alloca %"class.std::allocator.0", align 1
  %39 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %40 = icmp ne ptr %39, null
  br i1 %40, label %42, label %41

41:                                               ; preds = %0
  br label %344

42:                                               ; preds = %0
  call void @_ZN12LightManager10UpdateTimeEv(ptr noundef nonnull align 8 dereferenceable(240) @g_lights)
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #6
  %43 = load i8, ptr @g_isGammaCorrect, align 1, !tbaa !9, !range !11, !noundef !12
  %44 = trunc i8 %43 to i1
  br i1 %44, label %45, label %47

45:                                               ; preds = %42
  %46 = load float, ptr @g_gammaValue, align 4, !tbaa !13
  br label %48

47:                                               ; preds = %42
  br label %48

48:                                               ; preds = %47, %45
  %49 = phi float [ %46, %45 ], [ 1.000000e+00, %47 ]
  store float %49, ptr %1, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 16, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #6
  call void @_ZNK12LightManager18GetBackgroundColorEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4 %3, ptr noundef nonnull align 8 dereferenceable(240) @g_lights)
  %50 = load float, ptr %1, align 4, !tbaa !13
  call void @_Z12GammaCorrectRKN3glm6detail5tvec4IfEEf(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4 %2, ptr noundef nonnull align 4 dereferenceable(16) %3, float noundef %50)
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #6
  %51 = load ptr, ptr @_funcptr_glClearColor, align 8, !tbaa !5
  %52 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm6detail5tvec4IfEixEm(ptr noundef nonnull align 4 dereferenceable(16) %2, i64 noundef 0)
  %53 = load float, ptr %52, align 4, !tbaa !13
  %54 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm6detail5tvec4IfEixEm(ptr noundef nonnull align 4 dereferenceable(16) %2, i64 noundef 1)
  %55 = load float, ptr %54, align 4, !tbaa !13
  %56 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm6detail5tvec4IfEixEm(ptr noundef nonnull align 4 dereferenceable(16) %2, i64 noundef 2)
  %57 = load float, ptr %56, align 4, !tbaa !13
  %58 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm6detail5tvec4IfEixEm(ptr noundef nonnull align 4 dereferenceable(16) %2, i64 noundef 3)
  %59 = load float, ptr %58, align 4, !tbaa !13
  call void %51(float noundef %53, float noundef %55, float noundef %57, float noundef %59)
  %60 = load ptr, ptr @_funcptr_glClearDepth, align 8, !tbaa !5
  call void %60(double noundef 1.000000e+00)
  %61 = load ptr, ptr @_funcptr_glClear, align 8, !tbaa !5
  call void %61(i32 noundef 16640)
  call void @llvm.lifetime.start.p0(i64 88, ptr %4) #6
  call void @_ZN6glutil11MatrixStackC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %4)
  call void @llvm.lifetime.start.p0(i64 64, ptr %5) #6
  invoke void @_ZNK6glutil8ViewPole10CalcMatrixEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat4x4") align 4 %5, ptr noundef nonnull align 8 dereferenceable(148) @g_viewPole)
          to label %62 unwind label %86

62:                                               ; preds = %48
  invoke void @_ZN6glutil11MatrixStack9SetMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 4 dereferenceable(64) %5)
          to label %63 unwind label %86

63:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 64, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %64 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %65 unwind label %90

65:                                               ; preds = %63
  store ptr %64, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 160, ptr %9) #6
  %66 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZNK12LightManager24GetLightInformationGammaERKN3glm6detail7tmat4x4IfEE(ptr dead_on_unwind writable sret(%struct.LightBlockGamma) align 4 %9, ptr noundef nonnull align 8 dereferenceable(240) @g_lights, ptr noundef nonnull align 4 dereferenceable(64) %66)
          to label %67 unwind label %94

67:                                               ; preds = %65
  %68 = load float, ptr %1, align 4, !tbaa !13
  %69 = getelementptr inbounds %struct.LightBlockGamma, ptr %9, i32 0, i32 3
  store float %68, ptr %69, align 4, !tbaa !15
  %70 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  %71 = load i32, ptr @g_lightUniformBuffer, align 4, !tbaa !18
  invoke void %70(i32 noundef 35345, i32 noundef %71)
          to label %72 unwind label %94

72:                                               ; preds = %67
  %73 = load ptr, ptr @_funcptr_glBufferSubData, align 8, !tbaa !5
  invoke void %73(i32 noundef 35345, i64 noundef 0, i64 noundef 160, ptr noundef %9)
          to label %74 unwind label %94

74:                                               ; preds = %72
  %75 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  invoke void %75(i32 noundef 35345, i32 noundef 0)
          to label %76 unwind label %94

76:                                               ; preds = %74
  %77 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %78 = icmp ne ptr %77, null
  br i1 %78, label %79, label %112

79:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %80 unwind label %98

80:                                               ; preds = %79
  %81 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.18, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %82 unwind label %102

82:                                               ; preds = %80
  %83 = invoke noundef float @_ZNK12LightManager13GetTimerValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(240) @g_lights, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %84 unwind label %106

84:                                               ; preds = %82
  invoke void @_ZN5Scene4DrawERN6glutil11MatrixStackEif(ptr noundef nonnull align 8 dereferenceable(48) %81, ptr noundef nonnull align 8 dereferenceable(88) %4, i32 noundef 0, float noundef %83)
          to label %85 unwind label %106

85:                                               ; preds = %84
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %112

86:                                               ; preds = %62, %48
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %6, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %5) #6
  br label %349

90:                                               ; preds = %63
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %6, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %7, align 4
  br label %348

94:                                               ; preds = %342, %341, %74, %72, %67, %65
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %6, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %7, align 4
  br label %347

98:                                               ; preds = %79
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %6, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %7, align 4
  br label %111

102:                                              ; preds = %80
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %6, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %7, align 4
  br label %110

106:                                              ; preds = %84, %82
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %6, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  br label %110

110:                                              ; preds = %106, %102
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br label %111

111:                                              ; preds = %110, %98
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %347

112:                                              ; preds = %85, %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %113 unwind label %152

113:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %114 unwind label %156

114:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 12, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #6
  invoke void @_ZNK12LightManager20GetSunlightDirectionEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4 %16, ptr noundef nonnull align 8 dereferenceable(240) @g_lights)
          to label %115 unwind label %160

115:                                              ; preds = %114
  invoke void @_ZN3glm6detail5tvec3IfEC2IfEERKNS0_5tvec4IT_EE(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(16) %16)
          to label %116 unwind label %160

116:                                              ; preds = %115
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store float 5.000000e+02, ptr %18, align 4, !tbaa !13
  invoke void @_ZN3glm6detailmlIfEENS0_5tvec3IT_EERKS4_RKS3_(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec3") align 4 %17, ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %117 unwind label %164

117:                                              ; preds = %116
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 4 dereferenceable(12) %17)
          to label %118 unwind label %164

118:                                              ; preds = %117
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #6
  invoke void @_ZN6glutil11MatrixStack5ScaleEfff(ptr noundef nonnull align 8 dereferenceable(88) %4, float noundef 3.000000e+01, float noundef 3.000000e+01, float noundef 3.000000e+01)
          to label %119 unwind label %168

119:                                              ; preds = %118
  %120 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %121 = load i32, ptr @g_Unlit, align 4, !tbaa !20
  invoke void %120(i32 noundef %121)
          to label %122 unwind label %168

122:                                              ; preds = %119
  %123 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %124 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 3), align 4, !tbaa !22
  %125 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %126 unwind label %168

126:                                              ; preds = %122
  %127 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %125)
          to label %128 unwind label %168

128:                                              ; preds = %126
  invoke void %123(i32 noundef %124, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %127)
          to label %129 unwind label %168

129:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #6
  invoke void @_ZNK12LightManager20GetSunlightIntensityEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4 %20, ptr noundef nonnull align 8 dereferenceable(240) @g_lights)
          to label %130 unwind label %172

130:                                              ; preds = %129
  %131 = load float, ptr %1, align 4, !tbaa !13
  invoke void @_Z12GammaCorrectRKN3glm6detail5tvec4IfEEf(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4 %19, ptr noundef nonnull align 4 dereferenceable(16) %20, float noundef %131)
          to label %132 unwind label %172

132:                                              ; preds = %130
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  %133 = load ptr, ptr @_funcptr_glUniform4fv, align 8, !tbaa !5
  %134 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 1), align 4, !tbaa !23
  %135 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail5tvec4IS1_EE(ptr noundef nonnull align 4 dereferenceable(16) %19)
          to label %136 unwind label %176

136:                                              ; preds = %132
  invoke void %133(i32 noundef %134, i32 noundef 1, ptr noundef %135)
          to label %137 unwind label %176

137:                                              ; preds = %136
  %138 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %139 = invoke noundef ptr @_ZN5Scene13GetSphereMeshEv(ptr noundef nonnull align 8 dereferenceable(48) %138)
          to label %140 unwind label %176

140:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %141 unwind label %180

141:                                              ; preds = %140
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %139, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %142 unwind label %184

142:                                              ; preds = %141
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %15) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  %143 = load i8, ptr @g_bDrawLights, align 1, !tbaa !9, !range !11, !noundef !12
  %144 = trunc i8 %143 to i1
  br i1 %144, label %145, label %262

145:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store i32 0, ptr %23, align 4, !tbaa !18
  br label %146

146:                                              ; preds = %225, %145
  %147 = load i32, ptr %23, align 4, !tbaa !18
  %148 = invoke noundef i32 @_ZNK12LightManager22GetNumberOfPointLightsEv(ptr noundef nonnull align 8 dereferenceable(240) @g_lights)
          to label %149 unwind label %192

149:                                              ; preds = %146
  %150 = icmp slt i32 %147, %148
  br i1 %150, label %196, label %151

151:                                              ; preds = %149
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %261

152:                                              ; preds = %112
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %6, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %7, align 4
  br label %346

156:                                              ; preds = %113
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %6, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %7, align 4
  br label %191

160:                                              ; preds = %115, %114
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %6, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  br label %190

164:                                              ; preds = %117, %116
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %6, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #6
  br label %190

168:                                              ; preds = %128, %126, %122, %119, %118
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %6, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %7, align 4
  br label %190

172:                                              ; preds = %130, %129
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %6, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  br label %189

176:                                              ; preds = %137, %136, %132
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %6, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %7, align 4
  br label %189

180:                                              ; preds = %140
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %6, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %7, align 4
  br label %188

184:                                              ; preds = %141
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %6, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  br label %188

188:                                              ; preds = %184, %180
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #6
  br label %189

189:                                              ; preds = %188, %176, %172
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #6
  br label %190

190:                                              ; preds = %189, %168, %164, %160
  call void @llvm.lifetime.end.p0(i64 12, ptr %15) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br label %191

191:                                              ; preds = %190, %156
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %345

192:                                              ; preds = %146
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %6, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %7, align 4
  br label %260

196:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %197 unwind label %228

197:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 12, ptr %25) #6
  %198 = load i32, ptr %23, align 4, !tbaa !18
  invoke void @_ZNK12LightManager21GetWorldLightPositionEi(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec3") align 4 %25, ptr noundef nonnull align 8 dereferenceable(240) @g_lights, i32 noundef %198)
          to label %199 unwind label %232

199:                                              ; preds = %197
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 4 dereferenceable(12) %25)
          to label %200 unwind label %232

200:                                              ; preds = %199
  call void @llvm.lifetime.end.p0(i64 12, ptr %25) #6
  %201 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %202 = load i32, ptr @g_Unlit, align 4, !tbaa !20
  invoke void %201(i32 noundef %202)
          to label %203 unwind label %236

203:                                              ; preds = %200
  %204 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %205 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 3), align 4, !tbaa !22
  %206 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %207 unwind label %236

207:                                              ; preds = %203
  %208 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %206)
          to label %209 unwind label %236

209:                                              ; preds = %207
  invoke void %204(i32 noundef %205, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %208)
          to label %210 unwind label %236

210:                                              ; preds = %209
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #6
  %211 = load i32, ptr %23, align 4, !tbaa !18
  invoke void @_ZNK12LightManager22GetPointLightIntensityEi(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4 %27, ptr noundef nonnull align 8 dereferenceable(240) @g_lights, i32 noundef %211)
          to label %212 unwind label %240

212:                                              ; preds = %210
  %213 = load float, ptr %1, align 4, !tbaa !13
  invoke void @_Z12GammaCorrectRKN3glm6detail5tvec4IfEEf(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4 %26, ptr noundef nonnull align 4 dereferenceable(16) %27, float noundef %213)
          to label %214 unwind label %240

214:                                              ; preds = %212
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #6
  %215 = load ptr, ptr @_funcptr_glUniform4fv, align 8, !tbaa !5
  %216 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 1), align 4, !tbaa !23
  %217 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail5tvec4IS1_EE(ptr noundef nonnull align 4 dereferenceable(16) %26)
          to label %218 unwind label %244

218:                                              ; preds = %214
  invoke void %215(i32 noundef %216, i32 noundef 1, ptr noundef %217)
          to label %219 unwind label %244

219:                                              ; preds = %218
  %220 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %221 = invoke noundef ptr @_ZN5Scene11GetCubeMeshEv(ptr noundef nonnull align 8 dereferenceable(48) %220)
          to label %222 unwind label %244

222:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %223 unwind label %248

223:                                              ; preds = %222
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %221, ptr noundef nonnull align 8 dereferenceable(32) %28)
          to label %224 unwind label %252

224:                                              ; preds = %223
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %225

225:                                              ; preds = %224
  %226 = load i32, ptr %23, align 4, !tbaa !18
  %227 = add nsw i32 %226, 1
  store i32 %227, ptr %23, align 4, !tbaa !18
  br label %146, !llvm.loop !24

228:                                              ; preds = %196
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %6, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %7, align 4
  br label %259

232:                                              ; preds = %199, %197
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %6, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %25) #6
  br label %258

236:                                              ; preds = %209, %207, %203, %200
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %6, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %7, align 4
  br label %258

240:                                              ; preds = %212, %210
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %6, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #6
  br label %257

244:                                              ; preds = %219, %218, %214
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %6, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %7, align 4
  br label %257

248:                                              ; preds = %222
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %6, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %7, align 4
  br label %256

252:                                              ; preds = %223
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %6, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #6
  br label %256

256:                                              ; preds = %252, %248
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #6
  br label %257

257:                                              ; preds = %256, %244, %240
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  br label %258

258:                                              ; preds = %257, %236, %232
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  br label %259

259:                                              ; preds = %258, %228
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %260

260:                                              ; preds = %259, %192
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %345

261:                                              ; preds = %151
  br label %262

262:                                              ; preds = %261, %142
  %263 = load i8, ptr @g_bDrawCameraPos, align 1, !tbaa !9, !range !11, !noundef !12
  %264 = trunc i8 %263 to i1
  br i1 %264, label %265, label %341

265:                                              ; preds = %262
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %266 unwind label %309

266:                                              ; preds = %265
  invoke void @_ZN6glutil11MatrixStack11SetIdentityEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %267 unwind label %313

267:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 12, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  store float 0.000000e+00, ptr %32, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  store float 0.000000e+00, ptr %33, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #6
  %268 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZNK6glutil8ViewPole7GetViewEv(ptr noundef nonnull align 8 dereferenceable(148) @g_viewPole)
          to label %269 unwind label %317

269:                                              ; preds = %267
  %270 = getelementptr inbounds %"struct.glutil::ViewData", ptr %268, i32 0, i32 2
  %271 = load float, ptr %270, align 4, !tbaa !26
  %272 = fneg float %271
  store float %272, ptr %34, align 4, !tbaa !13
  invoke void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %31, ptr noundef nonnull align 4 dereferenceable(4) %32, ptr noundef nonnull align 4 dereferenceable(4) %33, ptr noundef nonnull align 4 dereferenceable(4) %34)
          to label %273 unwind label %317

273:                                              ; preds = %269
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 4 dereferenceable(12) %31)
          to label %274 unwind label %317

274:                                              ; preds = %273
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %31) #6
  %275 = load ptr, ptr @_funcptr_glDisable, align 8, !tbaa !5
  invoke void %275(i32 noundef 2929)
          to label %276 unwind label %313

276:                                              ; preds = %274
  %277 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %277(i8 noundef zeroext 0)
          to label %278 unwind label %313

278:                                              ; preds = %276
  %279 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %280 = load i32, ptr @g_Unlit, align 4, !tbaa !20
  invoke void %279(i32 noundef %280)
          to label %281 unwind label %313

281:                                              ; preds = %278
  %282 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %283 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 3), align 4, !tbaa !22
  %284 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %285 unwind label %313

285:                                              ; preds = %281
  %286 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %284)
          to label %287 unwind label %313

287:                                              ; preds = %285
  invoke void %282(i32 noundef %283, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %286)
          to label %288 unwind label %313

288:                                              ; preds = %287
  %289 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %290 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 1), align 4, !tbaa !23
  invoke void %289(i32 noundef %290, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 1.000000e+00)
          to label %291 unwind label %313

291:                                              ; preds = %288
  %292 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %293 = invoke noundef ptr @_ZN5Scene11GetCubeMeshEv(ptr noundef nonnull align 8 dereferenceable(48) %292)
          to label %294 unwind label %313

294:                                              ; preds = %291
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %295 unwind label %321

295:                                              ; preds = %294
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %293, ptr noundef nonnull align 8 dereferenceable(32) %35)
          to label %296 unwind label %325

296:                                              ; preds = %295
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #6
  %297 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %297(i8 noundef zeroext 1)
          to label %298 unwind label %313

298:                                              ; preds = %296
  %299 = load ptr, ptr @_funcptr_glEnable, align 8, !tbaa !5
  invoke void %299(i32 noundef 2929)
          to label %300 unwind label %313

300:                                              ; preds = %298
  %301 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %302 = load i32, ptr getelementptr inbounds (%struct.UnlitProgData, ptr @g_Unlit, i32 0, i32 1), align 4, !tbaa !23
  invoke void %301(i32 noundef %302, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %303 unwind label %313

303:                                              ; preds = %300
  %304 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %305 = invoke noundef ptr @_ZN5Scene11GetCubeMeshEv(ptr noundef nonnull align 8 dereferenceable(48) %304)
          to label %306 unwind label %313

306:                                              ; preds = %303
  call void @llvm.lifetime.start.p0(i64 32, ptr %37) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %307 unwind label %330

307:                                              ; preds = %306
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %305, ptr noundef nonnull align 8 dereferenceable(32) %37)
          to label %308 unwind label %334

308:                                              ; preds = %307
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %341

309:                                              ; preds = %265
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %6, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %7, align 4
  br label %340

313:                                              ; preds = %303, %300, %298, %296, %291, %288, %287, %285, %281, %278, %276, %274, %266
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %6, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %7, align 4
  br label %339

317:                                              ; preds = %273, %269, %267
  %318 = landingpad { ptr, i32 }
          cleanup
  %319 = extractvalue { ptr, i32 } %318, 0
  store ptr %319, ptr %6, align 8
  %320 = extractvalue { ptr, i32 } %318, 1
  store i32 %320, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %31) #6
  br label %339

321:                                              ; preds = %294
  %322 = landingpad { ptr, i32 }
          cleanup
  %323 = extractvalue { ptr, i32 } %322, 0
  store ptr %323, ptr %6, align 8
  %324 = extractvalue { ptr, i32 } %322, 1
  store i32 %324, ptr %7, align 4
  br label %329

325:                                              ; preds = %295
  %326 = landingpad { ptr, i32 }
          cleanup
  %327 = extractvalue { ptr, i32 } %326, 0
  store ptr %327, ptr %6, align 8
  %328 = extractvalue { ptr, i32 } %326, 1
  store i32 %328, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #6
  br label %329

329:                                              ; preds = %325, %321
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #6
  br label %339

330:                                              ; preds = %306
  %331 = landingpad { ptr, i32 }
          cleanup
  %332 = extractvalue { ptr, i32 } %331, 0
  store ptr %332, ptr %6, align 8
  %333 = extractvalue { ptr, i32 } %331, 1
  store i32 %333, ptr %7, align 4
  br label %338

334:                                              ; preds = %307
  %335 = landingpad { ptr, i32 }
          cleanup
  %336 = extractvalue { ptr, i32 } %335, 0
  store ptr %336, ptr %6, align 8
  %337 = extractvalue { ptr, i32 } %335, 1
  store i32 %337, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #6
  br label %338

338:                                              ; preds = %334, %330
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #6
  br label %339

339:                                              ; preds = %338, %329, %317, %313
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #6
  br label %340

340:                                              ; preds = %339, %309
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %345

341:                                              ; preds = %308, %262
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  invoke void @glutPostRedisplay()
          to label %342 unwind label %94

342:                                              ; preds = %341
  invoke void @glutSwapBuffers()
          to label %343 unwind label %94

343:                                              ; preds = %342
  call void @llvm.lifetime.end.p0(i64 160, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %4) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  br label %344

344:                                              ; preds = %343, %41
  ret void

345:                                              ; preds = %340, %260, %191
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br label %346

346:                                              ; preds = %345, %152
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %347

347:                                              ; preds = %346, %111, %94
  call void @llvm.lifetime.end.p0(i64 160, ptr %9) #6
  br label %348

348:                                              ; preds = %347, %90
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %349

349:                                              ; preds = %348, %86
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %4) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  br label %350

350:                                              ; preds = %349
  %351 = load ptr, ptr %6, align 8
  %352 = load i32, ptr %7, align 4
  %353 = insertvalue { ptr, i32 } poison, ptr %351, 0
  %354 = insertvalue { ptr, i32 } %353, i32 %352, 1
  resume { ptr, i32 } %354
}

declare void @_ZN12LightManager10UpdateTimeEv(ptr noundef nonnull align 8 dereferenceable(240)) #5

declare void @_ZNK12LightManager18GetBackgroundColorEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4, ptr noundef nonnull align 8 dereferenceable(240)) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6glutil11MatrixStackC2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #2 align 2

declare void @_ZN6glutil11MatrixStack9SetMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 4 dereferenceable(64)) #5

declare void @_ZNK6glutil8ViewPole10CalcMatrixEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat4x4") align 4, ptr noundef nonnull align 8 dereferenceable(148)) unnamed_addr #5

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

declare void @_ZNK12LightManager24GetLightInformationGammaERKN3glm6detail7tmat4x4IfEE(ptr dead_on_unwind writable sret(%struct.LightBlockGamma) align 4, ptr noundef nonnull align 8 dereferenceable(240), ptr noundef nonnull align 4 dereferenceable(64)) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #2 align 2

declare void @_ZN5Scene4DrawERN6glutil11MatrixStackEif(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(88), i32 noundef, float noundef) #5

declare noundef float @_ZNK12LightManager13GetTimerValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(240), ptr noundef nonnull align 8 dereferenceable(32)) #5

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

declare void @_ZNK12LightManager20GetSunlightDirectionEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4, ptr noundef nonnull align 8 dereferenceable(240)) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm6detail5tvec3IfEC2IfEERKNS0_5tvec4IT_EE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #3 align 2

declare void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 4 dereferenceable(12)) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm6detailmlIfEENS0_5tvec3IT_EERKS4_RKS3_(ptr dead_on_unwind noalias writable sret(%"struct.glm::detail::tvec3") align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6glutil11MatrixStack5ScaleEfff(ptr noundef nonnull align 8 dereferenceable(88), float noundef, float noundef, float noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64)) #4

declare void @_ZNK12LightManager20GetSunlightIntensityEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4, ptr noundef nonnull align 8 dereferenceable(240)) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail5tvec4IS1_EE(ptr noundef nonnull align 4 dereferenceable(16)) #3

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

declare void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #5

declare noundef i32 @_ZNK12LightManager22GetNumberOfPointLightsEv(ptr noundef nonnull align 8 dereferenceable(240)) #5

declare void @_ZNK12LightManager21GetWorldLightPositionEi(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec3") align 4, ptr noundef nonnull align 8 dereferenceable(240), i32 noundef) #5

declare void @_ZNK12LightManager22GetPointLightIntensityEi(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4, ptr noundef nonnull align 8 dereferenceable(240), i32 noundef) #5

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

declare void @_ZN6glutil11MatrixStack11SetIdentityEv(ptr noundef nonnull align 8 dereferenceable(88)) #5

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

declare void @glutPostRedisplay() #5

declare void @glutSwapBuffers() #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint 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 #5 = { "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 #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!16, !14, i64 24}
!16 = !{!"_ZTS15LightBlockGamma", !17, i64 0, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !7, i64 32}
!17 = !{!"_ZTSN3glm6detail5tvec4IfEE", !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"int", !7, i64 0}
!20 = !{!21, !19, i64 0}
!21 = !{!"_ZTS13UnlitProgData", !19, i64 0, !19, i64 4, !19, i64 8, !19, i64 12}
!22 = !{!21, !19, i64 12}
!23 = !{!21, !19, i64 4}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!27, !14, i64 28}
!27 = !{!"_ZTSN6glutil8ViewDataE", !28, i64 0, !29, i64 12, !14, i64 28, !14, i64 32}
!28 = !{!"_ZTSN3glm6detail5tvec3IfEE", !7, i64 0}
!29 = !{!"_ZTSN3glm6detail5tquatIfEE", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}


; 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.UnlitProgData = type { i32, i32, i32, i32 }
%class.LightManager = type { %"class.Framework::Timer", %"class.Framework::TimedLinearInterpolator", %"class.Framework::TimedLinearInterpolator", %"class.Framework::TimedLinearInterpolator", %"class.Framework::TimedLinearInterpolator.8", %"class.std::vector.15", %"class.std::vector.20", %"class.std::vector.25", %"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.3" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = 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.8" = type { %"class.Framework::WeightedLinearInterpolator.9" }
%"class.Framework::WeightedLinearInterpolator.9" = type { %"class.std::vector.10" }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = 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.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = 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.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = 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.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = 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 }
%"class.glutil::ViewPole" = type <{ %"class.glutil::ViewProvider", %"struct.glutil::ViewData", %"struct.glutil::ViewScale", %"struct.glutil::ViewData", i32, i8, i8, [2 x i8], i32, float, %"struct.glm::detail::tvec2", %"struct.glm::detail::tquat", [4 x i8] }>
%"class.glutil::ViewProvider" = type { ptr }
%"struct.glutil::ViewScale" = type { float, float, float, float, float, float, float }
%"struct.glutil::ViewData" = type { %"struct.glm::detail::tvec3", %"struct.glm::detail::tquat", float, float }
%"struct.glm::detail::tvec3" = type { %union.anon.33 }
%union.anon.33 = type { %struct.anon }
%struct.anon = type { float, float, float }
%"struct.glm::detail::tvec2" = type { %union.anon.36 }
%union.anon.36 = type { %struct.anon.37 }
%struct.anon.37 = type { i32, i32 }
%"struct.glm::detail::tquat" = type { float, float, float, float }
%"struct.glm::detail::tvec4" = type { %union.anon.40 }
%union.anon.40 = type { %struct.anon.41 }
%struct.anon.41 = type { float, float, float, float }
%"class.glutil::MatrixStack" = type { %"class.std::stack", %"struct.glm::detail::tmat4x4" }
%"class.std::stack" = type { %"class.std::vector.46" }
%"class.std::vector.46" = type { %"struct.std::_Vector_base.47" }
%"struct.std::_Vector_base.47" = type { %"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl" }
%"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.glm::detail::tmat4x4" = type { [4 x %"struct.glm::detail::tvec4"] }
%struct.LightBlockGamma = type { %"struct.glm::detail::tvec4", float, float, float, float, [4 x %struct.PerLight] }
%struct.PerLight = type { %"struct.glm::detail::tvec4", %"struct.glm::detail::tvec4" }
%"class.glutil::PushStack" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.0" = type { i8 }

@g_Unlit = external dso_local local_unnamed_addr global %struct.UnlitProgData, align 4
@g_lights = external dso_local global %class.LightManager, align 8
@g_viewPole = external dso_local global %"class.glutil::ViewPole", align 8
@g_lightUniformBuffer = external dso_local local_unnamed_addr global i32, align 4
@g_pScene = external dso_local local_unnamed_addr global ptr, align 8
@.str.18 = external hidden unnamed_addr constant [6 x i8], align 1
@_funcptr_glEnable = external local_unnamed_addr global ptr, align 8
@_funcptr_glDepthMask = external local_unnamed_addr global ptr, align 8
@_funcptr_glBindBuffer = external local_unnamed_addr global ptr, align 8
@g_bDrawCameraPos = external dso_local local_unnamed_addr global i8, align 1
@g_bDrawLights = external dso_local local_unnamed_addr global i8, align 1
@g_isGammaCorrect = external dso_local local_unnamed_addr global i8, align 1
@g_gammaValue = external dso_local local_unnamed_addr global float, align 4
@_funcptr_glClearColor = external local_unnamed_addr global ptr, align 8
@_funcptr_glClearDepth = external local_unnamed_addr global ptr, align 8
@_funcptr_glClear = external local_unnamed_addr global ptr, align 8
@_funcptr_glBufferSubData = external local_unnamed_addr global ptr, align 8
@_funcptr_glUseProgram = external local_unnamed_addr global ptr, align 8
@_funcptr_glUniformMatrix4fv = external local_unnamed_addr global ptr, align 8
@_funcptr_glUniform4fv = external local_unnamed_addr global ptr, align 8
@.str.19 = external hidden unnamed_addr constant [5 x i8], align 1
@_funcptr_glDisable = external local_unnamed_addr global ptr, align 8
@_funcptr_glUniform4f = external local_unnamed_addr global ptr, align 8

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12GammaCorrectRKN3glm6detail5tvec4IfEEf(ptr dead_on_unwind noalias writable sret(%"struct.glm::detail::tvec4") align 4, ptr noundef nonnull align 4 dereferenceable(16), float noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm6detail5tvec4IfEixEm(ptr noundef nonnull align 4 dereferenceable(16), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z7displayv() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"struct.glm::detail::tvec4", align 4
  %2 = alloca %"struct.glm::detail::tvec4", align 4
  %3 = alloca %"class.glutil::MatrixStack", align 8
  %4 = alloca %"struct.glm::detail::tmat4x4", align 4
  %5 = alloca %struct.LightBlockGamma, align 4
  %6 = alloca %"class.glutil::PushStack", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator.0", align 1
  %9 = alloca %"class.glutil::PushStack", align 8
  %10 = alloca %"class.glutil::PushStack", align 8
  %11 = alloca %"struct.glm::detail::tvec3", align 4
  %12 = alloca %"struct.glm::detail::tvec4", align 4
  %13 = alloca %"struct.glm::detail::tvec3", align 4
  %14 = alloca float, align 4
  %15 = alloca %"struct.glm::detail::tvec4", align 4
  %16 = alloca %"struct.glm::detail::tvec4", align 4
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator.0", align 1
  %19 = alloca %"class.glutil::PushStack", align 8
  %20 = alloca %"struct.glm::detail::tvec3", align 4
  %21 = alloca %"struct.glm::detail::tvec4", align 4
  %22 = alloca %"struct.glm::detail::tvec4", align 4
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator.0", align 1
  %25 = alloca %"class.glutil::PushStack", align 8
  %26 = alloca %"struct.glm::detail::tvec3", align 4
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca float, align 4
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.std::allocator.0", align 1
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.std::allocator.0", align 1
  %34 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %.not = icmp eq ptr %34, null
  br i1 %.not, label %242, label %35

35:                                               ; preds = %0
  tail call void @_ZN12LightManager10UpdateTimeEv(ptr noundef nonnull align 8 dereferenceable(240) @g_lights)
  %36 = load i8, ptr @g_isGammaCorrect, align 1, !tbaa !9, !range !11, !noundef !12
  %37 = trunc nuw i8 %36 to i1
  %38 = load float, ptr @g_gammaValue, align 4
  %39 = select i1 %37, float %38, float 1.000000e+00
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #6
  call void @_ZNK12LightManager18GetBackgroundColorEv(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %2, ptr noundef nonnull align 8 dereferenceable(240) @g_lights)
  call void @_Z12GammaCorrectRKN3glm6detail5tvec4IfEEf(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %1, ptr noundef nonnull align 4 dereferenceable(16) %2, float noundef %39)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #6
  %40 = load ptr, ptr @_funcptr_glClearColor, align 8, !tbaa !5
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm6detail5tvec4IfEixEm(ptr noundef nonnull align 4 dereferenceable(16) %1, i64 noundef 0)
  %42 = load float, ptr %41, align 4, !tbaa !13
  %43 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm6detail5tvec4IfEixEm(ptr noundef nonnull align 4 dereferenceable(16) %1, i64 noundef 1)
  %44 = load float, ptr %43, align 4, !tbaa !13
  %45 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm6detail5tvec4IfEixEm(ptr noundef nonnull align 4 dereferenceable(16) %1, i64 noundef 2)
  %46 = load float, ptr %45, align 4, !tbaa !13
  %47 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm6detail5tvec4IfEixEm(ptr noundef nonnull align 4 dereferenceable(16) %1, i64 noundef 3)
  %48 = load float, ptr %47, align 4, !tbaa !13
  call void %40(float noundef %42, float noundef %44, float noundef %46, float noundef %48)
  %49 = load ptr, ptr @_funcptr_glClearDepth, align 8, !tbaa !5
  call void %49(double noundef 1.000000e+00)
  %50 = load ptr, ptr @_funcptr_glClear, align 8, !tbaa !5
  call void %50(i32 noundef 16640)
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %3) #6
  call void @_ZN6glutil11MatrixStackC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %3)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #6
  invoke void @_ZNK6glutil8ViewPole10CalcMatrixEv(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tmat4x4") align 4 %4, ptr noundef nonnull align 8 dereferenceable(148) @g_viewPole)
          to label %51 unwind label %71

51:                                               ; preds = %35
  invoke void @_ZN6glutil11MatrixStack9SetMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %3, ptr noundef nonnull align 4 dereferenceable(64) %4)
          to label %52 unwind label %71

52:                                               ; preds = %51
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #6
  %53 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %3)
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %5) #6
  invoke void @_ZNK12LightManager24GetLightInformationGammaERKN3glm6detail7tmat4x4IfEE(ptr dead_on_unwind nonnull writable sret(%struct.LightBlockGamma) align 4 %5, ptr noundef nonnull align 8 dereferenceable(240) @g_lights, ptr noundef nonnull align 4 dereferenceable(64) %53)
          to label %54 unwind label %73

54:                                               ; preds = %52
  %55 = getelementptr inbounds i8, ptr %5, i64 24
  store float %39, ptr %55, align 4, !tbaa !15
  %56 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  %57 = load i32, ptr @g_lightUniformBuffer, align 4, !tbaa !18
  invoke void %56(i32 noundef 35345, i32 noundef %57)
          to label %58 unwind label %73

58:                                               ; preds = %54
  %59 = load ptr, ptr @_funcptr_glBufferSubData, align 8, !tbaa !5
  invoke void %59(i32 noundef 35345, i64 noundef 0, i64 noundef 160, ptr noundef nonnull %5)
          to label %60 unwind label %73

60:                                               ; preds = %58
  %61 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  invoke void %61(i32 noundef 35345, i32 noundef 0)
          to label %62 unwind label %73

62:                                               ; preds = %60
  %63 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %.not30 = icmp eq ptr %63, null
  br i1 %.not30, label %83, label %64

64:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(88) %3)
          to label %65 unwind label %75

65:                                               ; preds = %64
  %66 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.18, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %67 unwind label %77

67:                                               ; preds = %65
  %68 = invoke noundef float @_ZNK12LightManager13GetTimerValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(240) @g_lights, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %69 unwind label %79

69:                                               ; preds = %67
  invoke void @_ZN5Scene4DrawERN6glutil11MatrixStackEif(ptr noundef nonnull align 8 dereferenceable(48) %66, ptr noundef nonnull align 8 dereferenceable(88) %3, i32 noundef 0, float noundef %68)
          to label %70 unwind label %79

70:                                               ; preds = %69
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %83

71:                                               ; preds = %51, %35
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #6
  br label %246

73:                                               ; preds = %240, %239, %60, %58, %54, %52
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %245

75:                                               ; preds = %64
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %82

77:                                               ; preds = %65
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %81

79:                                               ; preds = %69, %67
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  br label %81

81:                                               ; preds = %79, %77
  %.pn = phi { ptr, i32 } [ %80, %79 ], [ %78, %77 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  br label %82

82:                                               ; preds = %81, %75
  %.pn.pn = phi { ptr, i32 } [ %.pn, %81 ], [ %76, %75 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %245

83:                                               ; preds = %70, %62
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(88) %3)
          to label %84 unwind label %114

84:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(88) %3)
          to label %85 unwind label %116

85:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  invoke void @_ZNK12LightManager20GetSunlightDirectionEv(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %12, ptr noundef nonnull align 8 dereferenceable(240) @g_lights)
          to label %86 unwind label %118

86:                                               ; preds = %85
  call void @_ZN3glm6detail5tvec3IfEC2IfEERKNS0_5tvec4IT_EE(ptr noundef nonnull align 4 dereferenceable(12) %11, ptr noundef nonnull align 4 dereferenceable(16) %12)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #6
  store float 5.000000e+02, ptr %14, align 4, !tbaa !13
  invoke void @_ZN3glm6detailmlIfEENS0_5tvec3IT_EERKS4_RKS3_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec3") align 4 %13, ptr noundef nonnull align 4 dereferenceable(12) %11, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %87 unwind label %120

87:                                               ; preds = %86
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %3, ptr noundef nonnull align 4 dereferenceable(12) %13)
          to label %88 unwind label %120

88:                                               ; preds = %87
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #6
  invoke void @_ZN6glutil11MatrixStack5ScaleEfff(ptr noundef nonnull align 8 dereferenceable(88) %3, float noundef 3.000000e+01, float noundef 3.000000e+01, float noundef 3.000000e+01)
          to label %89 unwind label %122

89:                                               ; preds = %88
  %90 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %91 = load i32, ptr @g_Unlit, align 4, !tbaa !20
  invoke void %90(i32 noundef %91)
          to label %92 unwind label %122

92:                                               ; preds = %89
  %93 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %94 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 12), align 4, !tbaa !22
  %95 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %3)
  %96 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %95)
          to label %97 unwind label %122

97:                                               ; preds = %92
  invoke void %93(i32 noundef %94, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %96)
          to label %98 unwind label %122

98:                                               ; preds = %97
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #6
  invoke void @_ZNK12LightManager20GetSunlightIntensityEv(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %16, ptr noundef nonnull align 8 dereferenceable(240) @g_lights)
          to label %99 unwind label %124

99:                                               ; preds = %98
  invoke void @_Z12GammaCorrectRKN3glm6detail5tvec4IfEEf(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %15, ptr noundef nonnull align 4 dereferenceable(16) %16, float noundef %39)
          to label %100 unwind label %124

100:                                              ; preds = %99
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  %101 = load ptr, ptr @_funcptr_glUniform4fv, align 8, !tbaa !5
  %102 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 4), align 4, !tbaa !23
  %103 = call noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail5tvec4IS1_EE(ptr noundef nonnull align 4 dereferenceable(16) %15)
  invoke void %101(i32 noundef %102, i32 noundef 1, ptr noundef %103)
          to label %104 unwind label %126

104:                                              ; preds = %100
  %105 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %106 = call noundef ptr @_ZN5Scene13GetSphereMeshEv(ptr noundef nonnull align 8 dereferenceable(48) %105)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %107 unwind label %128

107:                                              ; preds = %104
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %106, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %108 unwind label %130

108:                                              ; preds = %107
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  %109 = load i8, ptr @g_bDrawLights, align 1, !tbaa !9, !range !11, !noundef !12
  %110 = trunc nuw i8 %109 to i1
  br i1 %110, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %108, %160
  %.0 = phi i32 [ %161, %160 ], [ 0, %108 ]
  %111 = invoke noundef i32 @_ZNK12LightManager22GetNumberOfPointLightsEv(ptr noundef nonnull align 8 dereferenceable(240) @g_lights)
          to label %112 unwind label %136

112:                                              ; preds = %.preheader
  %113 = icmp slt i32 %.0, %111
  br i1 %113, label %138, label %.loopexit

114:                                              ; preds = %83
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %244

116:                                              ; preds = %84
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %135

118:                                              ; preds = %85
  %119 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %134

120:                                              ; preds = %87, %86
  %121 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #6
  br label %134

122:                                              ; preds = %97, %92, %89, %88
  %123 = landingpad { ptr, i32 }
          cleanup
  br label %134

124:                                              ; preds = %99, %98
  %125 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  br label %133

126:                                              ; preds = %100
  %127 = landingpad { ptr, i32 }
          cleanup
  br label %133

128:                                              ; preds = %104
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %132

130:                                              ; preds = %107
  %131 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  br label %132

132:                                              ; preds = %130, %128
  %.pn33 = phi { ptr, i32 } [ %131, %130 ], [ %129, %128 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #6
  br label %133

133:                                              ; preds = %132, %126, %124
  %.pn33.pn = phi { ptr, i32 } [ %.pn33, %132 ], [ %127, %126 ], [ %125, %124 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  br label %134

134:                                              ; preds = %133, %122, %120, %118
  %.pn33.pn.pn = phi { ptr, i32 } [ %.pn33.pn, %133 ], [ %123, %122 ], [ %121, %120 ], [ %119, %118 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br label %135

135:                                              ; preds = %134, %116
  %.pn33.pn.pn.pn = phi { ptr, i32 } [ %.pn33.pn.pn, %134 ], [ %117, %116 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %243

136:                                              ; preds = %.preheader
  %137 = landingpad { ptr, i32 }
          cleanup
  br label %243

138:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(88) %3)
          to label %139 unwind label %162

139:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %20) #6
  invoke void @_ZNK12LightManager21GetWorldLightPositionEi(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec3") align 4 %20, ptr noundef nonnull align 8 dereferenceable(240) @g_lights, i32 noundef %.0)
          to label %140 unwind label %164

140:                                              ; preds = %139
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %3, ptr noundef nonnull align 4 dereferenceable(12) %20)
          to label %141 unwind label %164

141:                                              ; preds = %140
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %20) #6
  %142 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %143 = load i32, ptr @g_Unlit, align 4, !tbaa !20
  invoke void %142(i32 noundef %143)
          to label %144 unwind label %166

144:                                              ; preds = %141
  %145 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %146 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 12), align 4, !tbaa !22
  %147 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %3)
  %148 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %147)
          to label %149 unwind label %166

149:                                              ; preds = %144
  invoke void %145(i32 noundef %146, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %148)
          to label %150 unwind label %166

150:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #6
  invoke void @_ZNK12LightManager22GetPointLightIntensityEi(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %22, ptr noundef nonnull align 8 dereferenceable(240) @g_lights, i32 noundef %.0)
          to label %151 unwind label %168

151:                                              ; preds = %150
  invoke void @_Z12GammaCorrectRKN3glm6detail5tvec4IfEEf(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %21, ptr noundef nonnull align 4 dereferenceable(16) %22, float noundef %39)
          to label %152 unwind label %168

152:                                              ; preds = %151
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #6
  %153 = load ptr, ptr @_funcptr_glUniform4fv, align 8, !tbaa !5
  %154 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 4), align 4, !tbaa !23
  %155 = call noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail5tvec4IS1_EE(ptr noundef nonnull align 4 dereferenceable(16) %21)
  invoke void %153(i32 noundef %154, i32 noundef 1, ptr noundef %155)
          to label %156 unwind label %170

156:                                              ; preds = %152
  %157 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %158 = call noundef ptr @_ZN5Scene11GetCubeMeshEv(ptr noundef nonnull align 8 dereferenceable(48) %157)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %24) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %159 unwind label %172

159:                                              ; preds = %156
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %158, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %160 unwind label %174

160:                                              ; preds = %159
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  %161 = add nuw nsw i32 %.0, 1
  br label %.preheader, !llvm.loop !24

162:                                              ; preds = %138
  %163 = landingpad { ptr, i32 }
          cleanup
  br label %179

164:                                              ; preds = %140, %139
  %165 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %20) #6
  br label %178

166:                                              ; preds = %149, %144, %141
  %167 = landingpad { ptr, i32 }
          cleanup
  br label %178

168:                                              ; preds = %151, %150
  %169 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #6
  br label %177

170:                                              ; preds = %152
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %177

172:                                              ; preds = %156
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %176

174:                                              ; preds = %159
  %175 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #6
  br label %176

176:                                              ; preds = %174, %172
  %.pn44 = phi { ptr, i32 } [ %175, %174 ], [ %173, %172 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #6
  br label %177

177:                                              ; preds = %176, %170, %168
  %.pn44.pn = phi { ptr, i32 } [ %.pn44, %176 ], [ %171, %170 ], [ %169, %168 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #6
  br label %178

178:                                              ; preds = %177, %166, %164
  %.pn44.pn.pn = phi { ptr, i32 } [ %.pn44.pn, %177 ], [ %167, %166 ], [ %165, %164 ]
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  br label %179

179:                                              ; preds = %178, %162
  %.pn44.pn.pn.pn = phi { ptr, i32 } [ %.pn44.pn.pn, %178 ], [ %163, %162 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  br label %243

.loopexit:                                        ; preds = %112, %108
  %180 = load i8, ptr @g_bDrawCameraPos, align 1, !tbaa !9, !range !11, !noundef !12
  %181 = trunc nuw i8 %180 to i1
  br i1 %181, label %182, label %239

182:                                              ; preds = %.loopexit
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #6
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(88) %3)
          to label %183 unwind label %221

183:                                              ; preds = %182
  invoke void @_ZN6glutil11MatrixStack11SetIdentityEv(ptr noundef nonnull align 8 dereferenceable(88) %3)
          to label %184 unwind label %223

184:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %26) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %27) #6
  store float 0.000000e+00, ptr %27, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #6
  store float 0.000000e+00, ptr %28, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #6
  %185 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZNK6glutil8ViewPole7GetViewEv(ptr noundef nonnull align 8 dereferenceable(148) @g_viewPole)
  %186 = getelementptr inbounds i8, ptr %185, i64 28
  %187 = load float, ptr %186, align 4, !tbaa !26
  %188 = fneg float %187
  store float %188, ptr %29, align 4, !tbaa !13
  call void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %26, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %29)
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %3, ptr noundef nonnull align 4 dereferenceable(12) %26)
          to label %189 unwind label %225

189:                                              ; preds = %184
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %26) #6
  %190 = load ptr, ptr @_funcptr_glDisable, align 8, !tbaa !5
  invoke void %190(i32 noundef 2929)
          to label %191 unwind label %223

191:                                              ; preds = %189
  %192 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %192(i8 noundef zeroext 0)
          to label %193 unwind label %223

193:                                              ; preds = %191
  %194 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %195 = load i32, ptr @g_Unlit, align 4, !tbaa !20
  invoke void %194(i32 noundef %195)
          to label %196 unwind label %223

196:                                              ; preds = %193
  %197 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %198 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 12), align 4, !tbaa !22
  %199 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %3)
  %200 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %199)
          to label %201 unwind label %223

201:                                              ; preds = %196
  invoke void %197(i32 noundef %198, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %200)
          to label %202 unwind label %223

202:                                              ; preds = %201
  %203 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %204 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 4), align 4, !tbaa !23
  invoke void %203(i32 noundef %204, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 1.000000e+00)
          to label %205 unwind label %223

205:                                              ; preds = %202
  %206 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %207 = call noundef ptr @_ZN5Scene11GetCubeMeshEv(ptr noundef nonnull align 8 dereferenceable(48) %206)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %30) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %31) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %208 unwind label %227

208:                                              ; preds = %205
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %207, ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %209 unwind label %229

209:                                              ; preds = %208
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #6
  %210 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %210(i8 noundef zeroext 1)
          to label %211 unwind label %223

211:                                              ; preds = %209
  %212 = load ptr, ptr @_funcptr_glEnable, align 8, !tbaa !5
  invoke void %212(i32 noundef 2929)
          to label %213 unwind label %223

213:                                              ; preds = %211
  %214 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %215 = load i32, ptr getelementptr inbounds (i8, ptr @g_Unlit, i64 4), align 4, !tbaa !23
  invoke void %214(i32 noundef %215, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %216 unwind label %223

216:                                              ; preds = %213
  %217 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %218 = call noundef ptr @_ZN5Scene11GetCubeMeshEv(ptr noundef nonnull align 8 dereferenceable(48) %217)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %32) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %33) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %219 unwind label %232

219:                                              ; preds = %216
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %218, ptr noundef nonnull align 8 dereferenceable(32) %32)
          to label %220 unwind label %234

220:                                              ; preds = %219
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #6
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #6
  br label %239

221:                                              ; preds = %182
  %222 = landingpad { ptr, i32 }
          cleanup
  br label %238

223:                                              ; preds = %213, %211, %209, %202, %201, %196, %193, %191, %189, %183
  %224 = landingpad { ptr, i32 }
          cleanup
  br label %237

225:                                              ; preds = %184
  %226 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %26) #6
  br label %237

227:                                              ; preds = %205
  %228 = landingpad { ptr, i32 }
          cleanup
  br label %231

229:                                              ; preds = %208
  %230 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #6
  br label %231

231:                                              ; preds = %229, %227
  %.pn38 = phi { ptr, i32 } [ %230, %229 ], [ %228, %227 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #6
  br label %237

232:                                              ; preds = %216
  %233 = landingpad { ptr, i32 }
          cleanup
  br label %236

234:                                              ; preds = %219
  %235 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #6
  br label %236

236:                                              ; preds = %234, %232
  %.pn40 = phi { ptr, i32 } [ %235, %234 ], [ %233, %232 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #6
  br label %237

237:                                              ; preds = %236, %231, %225, %223
  %.pn40.pn = phi { ptr, i32 } [ %.pn40, %236 ], [ %224, %223 ], [ %.pn38, %231 ], [ %226, %225 ]
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  br label %238

238:                                              ; preds = %237, %221
  %.pn40.pn.pn = phi { ptr, i32 } [ %.pn40.pn, %237 ], [ %222, %221 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #6
  br label %243

239:                                              ; preds = %220, %.loopexit
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  invoke void @glutPostRedisplay()
          to label %240 unwind label %73

240:                                              ; preds = %239
  invoke void @glutSwapBuffers()
          to label %241 unwind label %73

241:                                              ; preds = %240
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %5) #6
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %3) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #6
  br label %242

242:                                              ; preds = %0, %241
  ret void

243:                                              ; preds = %136, %179, %238, %135
  %.pn44.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn40.pn.pn, %238 ], [ %.pn33.pn.pn.pn, %135 ], [ %.pn44.pn.pn.pn, %179 ], [ %137, %136 ]
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br label %244

244:                                              ; preds = %243, %114
  %.pn44.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn44.pn.pn.pn.pn.pn, %243 ], [ %115, %114 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  br label %245

245:                                              ; preds = %244, %82, %73
  %.pn44.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn44.pn.pn.pn.pn.pn.pn, %244 ], [ %74, %73 ], [ %.pn.pn, %82 ]
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %5) #6
  br label %246

246:                                              ; preds = %245, %71
  %.pn44.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn44.pn.pn.pn.pn.pn.pn.pn, %245 ], [ %72, %71 ]
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %3) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn44.pn.pn.pn.pn.pn.pn.pn.pn
}

declare void @_ZN12LightManager10UpdateTimeEv(ptr noundef nonnull align 8 dereferenceable(240)) local_unnamed_addr #5

declare void @_ZNK12LightManager18GetBackgroundColorEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4, ptr noundef nonnull align 8 dereferenceable(240)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6glutil11MatrixStackC2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #2 align 2

declare void @_ZN6glutil11MatrixStack9SetMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #5

declare void @_ZNK6glutil8ViewPole10CalcMatrixEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat4x4") align 4, ptr noundef nonnull align 8 dereferenceable(148)) unnamed_addr #5

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

declare void @_ZNK12LightManager24GetLightInformationGammaERKN3glm6detail7tmat4x4IfEE(ptr dead_on_unwind writable sret(%struct.LightBlockGamma) align 4, ptr noundef nonnull align 8 dereferenceable(240), ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #2 align 2

declare void @_ZN5Scene4DrawERN6glutil11MatrixStackEif(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(88), i32 noundef, float noundef) local_unnamed_addr #5

declare noundef float @_ZNK12LightManager13GetTimerValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(240), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

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

declare void @_ZNK12LightManager20GetSunlightDirectionEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4, ptr noundef nonnull align 8 dereferenceable(240)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm6detail5tvec3IfEC2IfEERKNS0_5tvec4IT_EE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #3 align 2

declare void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm6detailmlIfEENS0_5tvec3IT_EERKS4_RKS3_(ptr dead_on_unwind noalias writable sret(%"struct.glm::detail::tvec3") align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6glutil11MatrixStack5ScaleEfff(ptr noundef nonnull align 8 dereferenceable(88), float noundef, float noundef, float noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #4

declare void @_ZNK12LightManager20GetSunlightIntensityEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4, ptr noundef nonnull align 8 dereferenceable(240)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfEEPT_RNS_6detail5tvec4IS1_EE(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3

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

declare void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

declare noundef i32 @_ZNK12LightManager22GetNumberOfPointLightsEv(ptr noundef nonnull align 8 dereferenceable(240)) local_unnamed_addr #5

declare void @_ZNK12LightManager21GetWorldLightPositionEi(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec3") align 4, ptr noundef nonnull align 8 dereferenceable(240), i32 noundef) local_unnamed_addr #5

declare void @_ZNK12LightManager22GetPointLightIntensityEi(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4, ptr noundef nonnull align 8 dereferenceable(240), i32 noundef) local_unnamed_addr #5

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

declare void @_ZN6glutil11MatrixStack11SetIdentityEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #5

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

declare void @glutPostRedisplay() local_unnamed_addr #5

declare void @glutSwapBuffers() local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint 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 #5 = { "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 #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!16, !14, i64 24}
!16 = !{!"_ZTS15LightBlockGamma", !17, i64 0, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !7, i64 32}
!17 = !{!"_ZTSN3glm6detail5tvec4IfEE", !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"int", !7, i64 0}
!20 = !{!21, !19, i64 0}
!21 = !{!"_ZTS13UnlitProgData", !19, i64 0, !19, i64 4, !19, i64 8, !19, i64 12}
!22 = !{!21, !19, i64 12}
!23 = !{!21, !19, i64 4}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!27, !14, i64 28}
!27 = !{!"_ZTSN6glutil8ViewDataE", !28, i64 0, !29, i64 12, !14, i64 28, !14, i64 32}
!28 = !{!"_ZTSN3glm6detail5tvec3IfEE", !7, i64 0}
!29 = !{!"_ZTSN3glm6detail5tquatIfEE", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}


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