; LLVM IR from ebirenbaum/ParticleSolver :: gpu/src/rendering/camera.ll (ZN6CameraC2Ev)

; 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::detail::tvec4" = type { %union.anon, %union.anon.0, %union.anon.1, %union.anon.2 }
%union.anon = type { float }
%union.anon.0 = type { float }
%union.anon.1 = type { float }
%union.anon.2 = type { float }
%class.Camera = type <{ ptr, %"struct.glm::detail::tvec4", %"struct.glm::detail::tvec4", %"struct.glm::detail::tvec4", %"struct.glm::detail::tvec4", %"struct.glm::detail::tvec4", %"struct.glm::detail::tvec4", %"struct.glm::detail::tmat4x4", %"struct.glm::detail::tmat4x4", %"struct.glm::detail::tmat4x4", %"struct.glm::detail::tmat4x4", float, float, float, float, float, [4 x i8] }>
%"struct.glm::detail::tmat4x4" = type { [4 x %"struct.glm::detail::tvec4"] }

@_ZTV6Camera = external dso_local unnamed_addr constant { [4 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6CameraC2Ev(ptr noundef nonnull align 8 dereferenceable(380) %0) unnamed_addr #0 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca %"struct.glm::detail::tvec4", align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %"struct.glm::detail::tvec4", align 4
  %9 = alloca %"struct.glm::detail::tvec4", align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %14 = load ptr, ptr %2, align 8
  store ptr getelementptr inbounds inrange(-16, 16) ({ [4 x ptr] }, ptr @_ZTV6Camera, i32 0, i32 0, i32 2), ptr %14, align 8, !tbaa !9
  %15 = getelementptr inbounds %class.Camera, ptr %14, i32 0, i32 1
  call void @_ZN3glm6detail5tvec4IfLNS_9precisionE0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %15)
  %16 = getelementptr inbounds %class.Camera, ptr %14, i32 0, i32 2
  call void @_ZN3glm6detail5tvec4IfLNS_9precisionE0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %16)
  %17 = getelementptr inbounds %class.Camera, ptr %14, i32 0, i32 3
  call void @_ZN3glm6detail5tvec4IfLNS_9precisionE0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %17)
  %18 = getelementptr inbounds %class.Camera, ptr %14, i32 0, i32 4
  call void @_ZN3glm6detail5tvec4IfLNS_9precisionE0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %18)
  %19 = getelementptr inbounds %class.Camera, ptr %14, i32 0, i32 5
  call void @_ZN3glm6detail5tvec4IfLNS_9precisionE0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %19)
  %20 = getelementptr inbounds %class.Camera, ptr %14, i32 0, i32 6
  call void @_ZN3glm6detail5tvec4IfLNS_9precisionE0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %20)
  %21 = getelementptr inbounds %class.Camera, ptr %14, i32 0, i32 7
  call void @_ZN3glm6detail7tmat4x4IfLNS_9precisionE0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %21)
  %22 = getelementptr inbounds %class.Camera, ptr %14, i32 0, i32 8
  call void @_ZN3glm6detail7tmat4x4IfLNS_9precisionE0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %22)
  %23 = getelementptr inbounds %class.Camera, ptr %14, i32 0, i32 9
  call void @_ZN3glm6detail7tmat4x4IfLNS_9precisionE0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %23)
  %24 = getelementptr inbounds %class.Camera, ptr %14, i32 0, i32 10
  call void @_ZN3glm6detail7tmat4x4IfLNS_9precisionE0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %24)
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 0, ptr %4, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 5, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !11
  call void @_ZN3glm6detail5tvec4IfLNS_9precisionE0EEC2IiiiiEERKT_RKT0_RKT1_RKT2_(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #4
  call void @_ZN3glm6detailngIfLNS_9precisionE0EEENS0_5tvec4IT_XT0_EEERKS5_(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4 %8, ptr noundef nonnull align 4 dereferenceable(16) %3)
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 1, ptr %11, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !11
  call void @_ZN3glm6detail5tvec4IfLNS_9precisionE0EEC2IiiiiEERKT_RKT0_RKT1_RKT2_(ptr noundef nonnull align 4 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %13)
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @_ZN6Camera10orientLookERN3glm6detail5tvec4IfLNS0_9precisionE0EEES5_S5_(ptr noundef nonnull align 8 dereferenceable(380) %14, ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(16) %9)
  %25 = getelementptr inbounds %class.Camera, ptr %14, i32 0, i32 13
  store float 9.000000e+01, ptr %25, align 8, !tbaa !13
  %26 = getelementptr inbounds %class.Camera, ptr %14, i32 0, i32 14
  store float 1.000000e+00, ptr %26, align 4, !tbaa !18
  %27 = getelementptr inbounds %class.Camera, ptr %14, i32 0, i32 11
  store float 0x3FB99999A0000000, ptr %27, align 8, !tbaa !19
  %28 = getelementptr inbounds %class.Camera, ptr %14, i32 0, i32 12
  store float 1.000000e+03, ptr %28, align 4, !tbaa !20
  call void @_ZN6Camera19setProjectionMatrixEv(ptr noundef nonnull align 8 dereferenceable(380) %14)
  %29 = getelementptr inbounds %class.Camera, ptr %14, i32 0, i32 15
  store float 0.000000e+00, ptr %29, align 8, !tbaa !21
  call void @_ZN6Camera16setFrustumMatrixEv(ptr noundef nonnull align 8 dereferenceable(380) %14)
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #4
  ret void
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm6detail7tmat4x4IfLNS_9precisionE0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(64)) 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 nounwind uwtable
declare dso_local void @_ZN3glm6detail5tvec4IfLNS_9precisionE0EEC2IiiiiEERKT_RKT0_RKT1_RKT2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #1 align 2

; 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 void @_ZN3glm6detailngIfLNS_9precisionE0EEENS0_5tvec4IT_XT0_EEERKS5_(ptr dead_on_unwind noalias writable sret(%"struct.glm::detail::tvec4") align 4, ptr noundef nonnull align 4 dereferenceable(16)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Camera10orientLookERN3glm6detail5tvec4IfLNS0_9precisionE0EEES5_S5_(ptr noundef nonnull align 8 dereferenceable(380), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Camera19setProjectionMatrixEv(ptr noundef nonnull align 8 dereferenceable(380)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Camera16setFrustumMatrixEv(ptr noundef nonnull align 8 dereferenceable(380)) #0 align 2

attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !17, i64 368}
!14 = !{!"_ZTS6Camera", !15, i64 8, !15, i64 24, !15, i64 40, !15, i64 56, !15, i64 72, !15, i64 88, !16, i64 104, !16, i64 168, !16, i64 232, !16, i64 296, !17, i64 360, !17, i64 364, !17, i64 368, !17, i64 372, !17, i64 376}
!15 = !{!"_ZTSN3glm6detail5tvec4IfLNS_9precisionE0EEE", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!16 = !{!"_ZTSN3glm6detail7tmat4x4IfLNS_9precisionE0EEE", !7, i64 0}
!17 = !{!"float", !7, i64 0}
!18 = !{!14, !17, i64 372}
!19 = !{!14, !17, i64 360}
!20 = !{!14, !17, i64 364}
!21 = !{!14, !17, i64 376}


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

@_ZTV6Camera = external dso_local unnamed_addr constant { [4 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6CameraC2Ev(ptr noundef nonnull align 8 dereferenceable(380) %0) unnamed_addr #0 align 2 {
  %2 = alloca %"struct.glm::detail::tvec4", align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %"struct.glm::detail::tvec4", align 4
  %8 = alloca %"struct.glm::detail::tvec4", align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  store ptr getelementptr inbounds inrange(-16, 16) (i8, ptr @_ZTV6Camera, i64 16), ptr %0, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @_ZN3glm6detail5tvec4IfLNS_9precisionE0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %13)
  %14 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @_ZN3glm6detail5tvec4IfLNS_9precisionE0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %14)
  %15 = getelementptr inbounds i8, ptr %0, i64 40
  tail call void @_ZN3glm6detail5tvec4IfLNS_9precisionE0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %15)
  %16 = getelementptr inbounds i8, ptr %0, i64 56
  tail call void @_ZN3glm6detail5tvec4IfLNS_9precisionE0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %16)
  %17 = getelementptr inbounds i8, ptr %0, i64 72
  tail call void @_ZN3glm6detail5tvec4IfLNS_9precisionE0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %17)
  %18 = getelementptr inbounds i8, ptr %0, i64 88
  tail call void @_ZN3glm6detail5tvec4IfLNS_9precisionE0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %18)
  %19 = getelementptr inbounds i8, ptr %0, i64 104
  tail call void @_ZN3glm6detail7tmat4x4IfLNS_9precisionE0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %19)
  %20 = getelementptr inbounds i8, ptr %0, i64 168
  tail call void @_ZN3glm6detail7tmat4x4IfLNS_9precisionE0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %20)
  %21 = getelementptr inbounds i8, ptr %0, i64 232
  tail call void @_ZN3glm6detail7tmat4x4IfLNS_9precisionE0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %21)
  %22 = getelementptr inbounds i8, ptr %0, i64 296
  tail call void @_ZN3glm6detail7tmat4x4IfLNS_9precisionE0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %22)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  store i32 0, ptr %3, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  store i32 0, ptr %4, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  store i32 5, ptr %5, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
  store i32 0, ptr %6, align 4, !tbaa !8
  call void @_ZN3glm6detail5tvec4IfLNS_9precisionE0EEC2IiiiiEERKT_RKT0_RKT1_RKT2_(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #4
  call void @_ZN3glm6detailngIfLNS_9precisionE0EEENS0_5tvec4IT_XT0_EEERKS5_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %7, ptr noundef nonnull align 4 dereferenceable(16) %2)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #4
  store i32 0, ptr %9, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4
  store i32 1, ptr %10, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4
  store i32 0, ptr %11, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #4
  store i32 0, ptr %12, align 4, !tbaa !8
  call void @_ZN3glm6detail5tvec4IfLNS_9precisionE0EEC2IiiiiEERKT_RKT0_RKT1_RKT2_(ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %12)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #4
  call void @_ZN6Camera10orientLookERN3glm6detail5tvec4IfLNS0_9precisionE0EEES5_S5_(ptr noundef nonnull align 8 dereferenceable(380) %0, ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(16) %8)
  %23 = getelementptr inbounds i8, ptr %0, i64 360
  store <4 x float> <float 0x3FB99999A0000000, float 1.000000e+03, float 9.000000e+01, float 1.000000e+00>, ptr %23, align 8, !tbaa !11
  call void @_ZN6Camera19setProjectionMatrixEv(ptr noundef nonnull align 8 dereferenceable(380) %0)
  %24 = getelementptr inbounds i8, ptr %0, i64 376
  store float 0.000000e+00, ptr %24, align 8, !tbaa !13
  call void @_ZN6Camera16setFrustumMatrixEv(ptr noundef nonnull align 8 dereferenceable(380) %0)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  ret void
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm6detail7tmat4x4IfLNS_9precisionE0EEC2Ev(ptr noundef nonnull align 4 dereferenceable(64)) 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 nounwind uwtable
declare dso_local void @_ZN3glm6detail5tvec4IfLNS_9precisionE0EEC2IiiiiEERKT_RKT0_RKT1_RKT2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #1 align 2

; 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 void @_ZN3glm6detailngIfLNS_9precisionE0EEENS0_5tvec4IT_XT0_EEERKS5_(ptr dead_on_unwind noalias writable sret(%"struct.glm::detail::tvec4") align 4, ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Camera10orientLookERN3glm6detail5tvec4IfLNS0_9precisionE0EEES5_S5_(ptr noundef nonnull align 8 dereferenceable(380), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Camera19setProjectionMatrixEv(ptr noundef nonnull align 8 dereferenceable(380)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Camera16setFrustumMatrixEv(ptr noundef nonnull align 8 dereferenceable(380)) local_unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !10, i64 0}
!13 = !{!14, !12, i64 376}
!14 = !{!"_ZTS6Camera", !15, i64 8, !15, i64 24, !15, i64 40, !15, i64 56, !15, i64 72, !15, i64 88, !16, i64 104, !16, i64 168, !16, i64 232, !16, i64 296, !12, i64 360, !12, i64 364, !12, i64 368, !12, i64 372, !12, i64 376}
!15 = !{!"_ZTSN3glm6detail5tvec4IfLNS_9precisionE0EEE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!16 = !{!"_ZTSN3glm6detail7tmat4x4IfLNS_9precisionE0EEE", !10, i64 0}


; Effective O3 passes: GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SLPVectorizerPass,SROAPass,TailCallElimPass