; LLVM IR from TheNachoBIT/GeoFenix-Engine :: GeoFenix/Graphics/Batch/Object (Object)

; 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.glm::vec" = type { %union.anon, %union.anon.0, %union.anon.1 }
%union.anon = type { float }
%union.anon.0 = type { float }
%union.anon.1 = type { float }
%"class.geofenix::graphics::Object" = type <{ i32, %"struct.glm::vec", %"struct.glm::vec", %"struct.glm::vec", %"struct.glm::vec", %"struct.glm::vec", %"class.std::vector", i8, i8, [2 x i8], %"struct.glm::mat", %"struct.glm::mat", [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<geofenix::graphics::Object *, std::allocator<geofenix::graphics::Object *>>::_Vector_impl" }
%"struct.std::_Vector_base<geofenix::graphics::Object *, std::allocator<geofenix::graphics::Object *>>::_Vector_impl" = type { %"struct.std::_Vector_base<geofenix::graphics::Object *, std::allocator<geofenix::graphics::Object *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<geofenix::graphics::Object *, std::allocator<geofenix::graphics::Object *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.glm::mat" = type { [4 x %"struct.glm::vec.2"] }
%"struct.glm::vec.2" = type { %union.anon.3, %union.anon.4, %union.anon.5, %union.anon.6 }
%union.anon.3 = type { float }
%union.anon.4 = type { float }
%union.anon.5 = type { float }
%union.anon.6 = type { float }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8geofenix8graphics6ObjectC2EN3glm3vecILi3EfLNS2_9qualifierE0EEES5_S5_i(ptr noundef nonnull align 8 dereferenceable(220) %0, <2 x float> %1, float %2, <2 x float> %3, float %4, <2 x float> %5, float %6, i32 noundef %7) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %9 = alloca %"struct.glm::vec", align 4
  %10 = alloca { <2 x float>, float }, align 4
  %11 = alloca %"struct.glm::vec", align 4
  %12 = alloca { <2 x float>, float }, align 4
  %13 = alloca %"struct.glm::vec", align 4
  %14 = alloca { <2 x float>, float }, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca float, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca float, align 4
  %21 = alloca %"struct.glm::vec", align 4
  %22 = alloca %"struct.glm::vec", align 4
  %23 = alloca { <2 x float>, float }, align 8
  %24 = alloca %"struct.glm::vec", align 4
  %25 = alloca %"struct.glm::vec", align 4
  %26 = alloca { <2 x float>, float }, align 8
  %27 = getelementptr inbounds { <2 x float>, float }, ptr %10, i32 0, i32 0
  store <2 x float> %1, ptr %27, align 4
  %28 = getelementptr inbounds { <2 x float>, float }, ptr %10, i32 0, i32 1
  store float %2, ptr %28, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 %10, i64 12, i1 false)
  %29 = getelementptr inbounds { <2 x float>, float }, ptr %12, i32 0, i32 0
  store <2 x float> %3, ptr %29, align 4
  %30 = getelementptr inbounds { <2 x float>, float }, ptr %12, i32 0, i32 1
  store float %4, ptr %30, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 4 %12, i64 12, i1 false)
  %31 = getelementptr inbounds { <2 x float>, float }, ptr %14, i32 0, i32 0
  store <2 x float> %5, ptr %31, align 4
  %32 = getelementptr inbounds { <2 x float>, float }, ptr %14, i32 0, i32 1
  store float %6, ptr %32, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %14, i64 12, i1 false)
  store ptr %0, ptr %15, align 8, !tbaa !5
  store i32 %7, ptr %16, align 4, !tbaa !9
  %33 = load ptr, ptr %15, align 8
  %34 = getelementptr inbounds %"class.geofenix::graphics::Object", ptr %33, i32 0, i32 1
  %35 = getelementptr inbounds %"class.geofenix::graphics::Object", ptr %33, i32 0, i32 2
  %36 = getelementptr inbounds %"class.geofenix::graphics::Object", ptr %33, i32 0, i32 3
  %37 = getelementptr inbounds %"class.geofenix::graphics::Object", ptr %33, i32 0, i32 4
  %38 = getelementptr inbounds %"class.geofenix::graphics::Object", ptr %33, i32 0, i32 5
  %39 = getelementptr inbounds %"class.geofenix::graphics::Object", ptr %33, i32 0, i32 6
  call void @_ZNSt6vectorIPN8geofenix8graphics6ObjectESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #6
  %40 = getelementptr inbounds %"class.geofenix::graphics::Object", ptr %33, i32 0, i32 7
  store i8 1, ptr %40, align 8, !tbaa !11
  %41 = getelementptr inbounds %"class.geofenix::graphics::Object", ptr %33, i32 0, i32 8
  store i8 0, ptr %41, align 1, !tbaa !20
  %42 = getelementptr inbounds %"class.geofenix::graphics::Object", ptr %33, i32 0, i32 10
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store float 0.000000e+00, ptr %17, align 4, !tbaa !21
  invoke void @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EEC2ERKf(ptr noundef nonnull align 4 dereferenceable(64) %42, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %43 unwind label %59

43:                                               ; preds = %8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  %44 = getelementptr inbounds %"class.geofenix::graphics::Object", ptr %33, i32 0, i32 11
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  store float 0.000000e+00, ptr %20, align 4, !tbaa !21
  invoke void @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EEC2ERKf(ptr noundef nonnull align 4 dereferenceable(64) %44, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %45 unwind label %63

45:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  %46 = load i32, ptr %16, align 4, !tbaa !9
  %47 = getelementptr inbounds %"class.geofenix::graphics::Object", ptr %33, i32 0, i32 0
  store i32 %46, ptr %47, align 8, !tbaa !23
  %48 = getelementptr inbounds %"class.geofenix::graphics::Object", ptr %33, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %48, ptr align 4 %9, i64 12, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.start.p0(i64 12, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %22) #6
  invoke void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(12) %22, float noundef 1.000000e+00)
          to label %49 unwind label %67

49:                                               ; preds = %45
  %50 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %22)
          to label %51 unwind label %67

51:                                               ; preds = %49
  store { <2 x float>, float } %50, ptr %23, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %21, ptr align 8 %23, i64 12, i1 false)
  %52 = getelementptr inbounds %"class.geofenix::graphics::Object", ptr %33, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %52, ptr align 4 %21, i64 12, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.end.p0(i64 12, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %21) #6
  %53 = getelementptr inbounds %"class.geofenix::graphics::Object", ptr %33, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %53, ptr align 4 %13, i64 12, i1 false), !tbaa.struct !24
  %54 = getelementptr inbounds %"class.geofenix::graphics::Object", ptr %33, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 4 %11, i64 12, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.start.p0(i64 12, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %25) #6
  invoke void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(12) %25, float noundef 1.000000e+00)
          to label %55 unwind label %71

55:                                               ; preds = %51
  %56 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %11, ptr noundef nonnull align 4 dereferenceable(12) %25)
          to label %57 unwind label %71

57:                                               ; preds = %55
  store { <2 x float>, float } %56, ptr %26, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 8 %26, i64 12, i1 false)
  %58 = getelementptr inbounds %"class.geofenix::graphics::Object", ptr %33, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %58, ptr align 4 %24, i64 12, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.end.p0(i64 12, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %24) #6
  ret void

59:                                               ; preds = %8
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %18, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %75

63:                                               ; preds = %43
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %18, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %75

67:                                               ; preds = %49, %45
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %18, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %21) #6
  br label %75

71:                                               ; preds = %55, %51
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %18, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %24) #6
  br label %75

75:                                               ; preds = %71, %67, %63, %59
  call void @_ZNSt6vectorIPN8geofenix8graphics6ObjectESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #6
  br label %76

76:                                               ; preds = %75
  %77 = load ptr, ptr %18, align 8
  %78 = load i32, ptr %19, align 4
  %79 = insertvalue { ptr, i32 } poison, ptr %77, 0
  %80 = insertvalue { ptr, i32 } %79, i32 %78, 1
  resume { ptr, i32 } %80
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EEC2ERKf(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #4

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="64" "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 #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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 = !{!"int", !7, i64 0}
!11 = !{!12, !18, i64 88}
!12 = !{!"_ZTSN8geofenix8graphics6ObjectE", !10, i64 0, !13, i64 4, !13, i64 16, !13, i64 28, !13, i64 40, !13, i64 52, !14, i64 64, !18, i64 88, !18, i64 89, !19, i64 92, !19, i64 156}
!13 = !{!"_ZTSN3glm3vecILi3EfLNS_9qualifierE0EEE", !7, i64 0, !7, i64 4, !7, i64 8}
!14 = !{!"_ZTSSt6vectorIPN8geofenix8graphics6ObjectESaIS3_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIPN8geofenix8graphics6ObjectESaIS3_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIPN8geofenix8graphics6ObjectESaIS3_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIPN8geofenix8graphics6ObjectESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!"bool", !7, i64 0}
!19 = !{!"_ZTSN3glm3matILi4ELi4EfLNS_9qualifierE0EEE", !7, i64 0}
!20 = !{!12, !18, i64 89}
!21 = !{!22, !22, i64 0}
!22 = !{!"float", !7, i64 0}
!23 = !{!12, !10, i64 0}
!24 = !{i64 0, i64 4, !25, i64 4, i64 4, !25, i64 8, i64 4, !25}
!25 = !{!7, !7, i64 0}


; 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.glm::vec" = type { %union.anon, %union.anon.0, %union.anon.1 }
%union.anon = type { float }
%union.anon.0 = type { float }
%union.anon.1 = type { float }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8geofenix8graphics6ObjectC2EN3glm3vecILi3EfLNS2_9qualifierE0EEES5_S5_i(ptr noundef nonnull align 8 dereferenceable(220) %0, <2 x float> %1, float %2, <2 x float> %3, float %4, <2 x float> %5, float %6, i32 noundef %7) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %9 = alloca %"struct.glm::vec", align 8
  %10 = alloca %"struct.glm::vec", align 8
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca %"struct.glm::vec", align 4
  %14 = alloca %"struct.glm::vec", align 4
  store <2 x float> %1, ptr %9, align 8
  %.sroa.217.0..sroa_idx = getelementptr inbounds i8, ptr %9, i64 8
  store float %2, ptr %.sroa.217.0..sroa_idx, align 8
  store <2 x float> %3, ptr %10, align 8
  %.sroa.215.0..sroa_idx = getelementptr inbounds i8, ptr %10, i64 8
  store float %4, ptr %.sroa.215.0..sroa_idx, align 8
  %15 = getelementptr inbounds i8, ptr %0, i64 64
  tail call void @_ZNSt6vectorIPN8geofenix8graphics6ObjectESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  %16 = getelementptr inbounds i8, ptr %0, i64 88
  store i8 1, ptr %16, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %0, i64 89
  store i8 0, ptr %17, align 1, !tbaa !18
  %18 = getelementptr inbounds i8, ptr %0, i64 92
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #6
  store float 0.000000e+00, ptr %11, align 4, !tbaa !19
  invoke void @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EEC2ERKf(ptr noundef nonnull align 4 dereferenceable(64) %18, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %19 unwind label %31

19:                                               ; preds = %8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  %20 = getelementptr inbounds i8, ptr %0, i64 156
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #6
  store float 0.000000e+00, ptr %12, align 4, !tbaa !19
  invoke void @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EEC2ERKf(ptr noundef nonnull align 4 dereferenceable(64) %20, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %21 unwind label %33

21:                                               ; preds = %19
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  store i32 %7, ptr %0, align 8, !tbaa !21
  %22 = getelementptr inbounds i8, ptr %0, i64 4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %22, ptr noundef nonnull align 8 dereferenceable(12) %9, i64 12, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %13) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(12) %13, float noundef 1.000000e+00)
  %23 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %13)
          to label %24 unwind label %35

24:                                               ; preds = %21
  %.fca.0.extract2 = extractvalue { <2 x float>, float } %23, 0
  %.fca.1.extract3 = extractvalue { <2 x float>, float } %23, 1
  %25 = getelementptr inbounds i8, ptr %0, i64 16
  store <2 x float> %.fca.0.extract2, ptr %25, align 8
  %.sroa.57.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 24
  store float %.fca.1.extract3, ptr %.sroa.57.0..sroa_idx, align 8, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #6
  %26 = getelementptr inbounds i8, ptr %0, i64 52
  store <2 x float> %5, ptr %26, align 4
  %.sroa.213.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 60
  store float %6, ptr %.sroa.213.0..sroa_idx, align 4, !tbaa !23
  %27 = getelementptr inbounds i8, ptr %0, i64 28
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %27, ptr noundef nonnull align 8 dereferenceable(12) %10, i64 12, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %14) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(12) %14, float noundef 1.000000e+00)
  %28 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %14)
          to label %29 unwind label %37

29:                                               ; preds = %24
  %.fca.0.extract = extractvalue { <2 x float>, float } %28, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %28, 1
  %30 = getelementptr inbounds i8, ptr %0, i64 40
  store <2 x float> %.fca.0.extract, ptr %30, align 8
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 48
  store float %.fca.1.extract, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #6
  ret void

31:                                               ; preds = %8
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  br label %39

33:                                               ; preds = %19
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  br label %39

35:                                               ; preds = %21
  %36 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #6
  br label %39

37:                                               ; preds = %24
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #6
  br label %39

39:                                               ; preds = %37, %35, %33, %31
  %.pn = phi { ptr, i32 } [ %38, %37 ], [ %36, %35 ], [ %34, %33 ], [ %32, %31 ]
  call void @_ZNSt6vectorIPN8geofenix8graphics6ObjectESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EEC2ERKf(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #4

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="64" "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 #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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, !16, i64 88}
!6 = !{!"_ZTSN8geofenix8graphics6ObjectE", !7, i64 0, !10, i64 4, !10, i64 16, !10, i64 28, !10, i64 40, !10, i64 52, !11, i64 64, !16, i64 88, !16, i64 89, !17, i64 92, !17, i64 156}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN3glm3vecILi3EfLNS_9qualifierE0EEE", !8, i64 0, !8, i64 4, !8, i64 8}
!11 = !{!"_ZTSSt6vectorIPN8geofenix8graphics6ObjectESaIS3_EE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIPN8geofenix8graphics6ObjectESaIS3_EE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIPN8geofenix8graphics6ObjectESaIS3_EE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIPN8geofenix8graphics6ObjectESaIS3_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!"bool", !8, i64 0}
!17 = !{!"_ZTSN3glm3matILi4ELi4EfLNS_9qualifierE0EEE", !8, i64 0}
!18 = !{!6, !16, i64 89}
!19 = !{!20, !20, i64 0}
!20 = !{!"float", !8, i64 0}
!21 = !{!6, !7, i64 0}
!22 = !{i64 0, i64 4, !23, i64 4, i64 4, !23, i64 8, i64 4, !23}
!23 = !{!8, !8, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass