; LLVM IR from Dovyski/opengl-demos :: libs/glm-0.9.9.3/test/gtc/gtc_quaternion.ll (Z15test_quat_eulerv)

; 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::qua" = type { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { float, float, float, float }
%"struct.glm::vec" = type { %union.anon.0 }
%union.anon.0 = type { %struct.anon.1 }
%struct.anon.1 = type { float, float, float }
%"struct.glm::vec.4" = type { %union.anon.5 }
%union.anon.5 = type { %struct.anon.6 }
%struct.anon.6 = type { i8, i8, i8 }
%"struct.glm::qua.9" = type { %union.anon.10 }
%union.anon.10 = type { %struct.anon.11 }
%struct.anon.11 = type { double, double, double, double }
%"struct.glm::vec.12" = type { %union.anon.13 }
%union.anon.13 = type { %struct.anon.14 }
%struct.anon.14 = type { double, double, double }

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z15test_quat_eulerv() #3 {
  %1 = alloca i32, align 4
  %2 = alloca %"struct.glm::qua", align 4
  %3 = alloca float, align 4
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = alloca %"struct.glm::vec", align 4
  %7 = alloca { <2 x float>, float }, align 8
  %8 = alloca %"struct.glm::vec.4", align 1
  %9 = alloca %"struct.glm::vec", align 4
  %10 = alloca %"struct.glm::qua.9", align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca %"struct.glm::vec.12", align 8
  %15 = alloca %"struct.glm::vec.4", align 1
  %16 = alloca %"struct.glm::vec.12", align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #5
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %2) #5
  call void @_ZN3glm3quaIfLNS_9qualifierE0EEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %2, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  %17 = call noundef float @_ZN3glm4rollIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16) %2)
  store float %17, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  %18 = call noundef float @_ZN3glm5pitchIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16) %2)
  store float %18, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  %19 = call noundef float @_ZN3glm3yawIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16) %2)
  store float %19, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %6) #5
  %20 = call { <2 x float>, float } @_ZN3glm11eulerAnglesIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKNS_3quaIS3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16) %2)
  %21 = getelementptr inbounds %"struct.glm::vec", ptr %6, i32 0, i32 0
  %22 = getelementptr inbounds %union.anon.0, ptr %21, i32 0, i32 0
  store { <2 x float>, float } %20, ptr %7, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 8 %7, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 3, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %9) #5
  %23 = load float, ptr %4, align 4, !tbaa !9
  %24 = load float, ptr %5, align 4, !tbaa !9
  %25 = load float, ptr %3, align 4, !tbaa !9
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %9, float noundef %23, float noundef %24, float noundef %25)
  %26 = call i24 @_ZN3glm5equalILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %9, float noundef 0x3EB0C6F7A0000000)
  %27 = getelementptr inbounds %"struct.glm::vec.4", ptr %8, i32 0, i32 0
  %28 = getelementptr inbounds %union.anon.5, ptr %27, i32 0, i32 0
  store i24 %26, ptr %28, align 1
  %29 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %8)
  %30 = zext i1 %29 to i64
  %31 = select i1 %29, i32 0, i32 1
  %32 = load i32, ptr %1, align 4, !tbaa !5
  %33 = add nsw i32 %32, %31
  store i32 %33, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 12, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 3, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #5
  call void @_ZN3glm3quaIdLNS_9qualifierE0EEC2Edddd(ptr noundef nonnull align 8 dereferenceable(32) %10, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %34 = call noundef double @_ZN3glm4rollIdLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(32) %10)
  store double %34, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %35 = call noundef double @_ZN3glm5pitchIdLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(32) %10)
  store double %35, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %36 = call noundef double @_ZN3glm3yawIdLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(32) %10)
  store double %36, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #5
  call void @_ZN3glm11eulerAnglesIdLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKNS_3quaIS3_XT0_EEE(ptr dead_on_unwind writable sret(%"struct.glm::vec.12") align 8 %14, ptr noundef nonnull align 8 dereferenceable(32) %10)
  call void @llvm.lifetime.start.p0(i64 3, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #5
  %37 = load double, ptr %12, align 8, !tbaa !11
  %38 = load double, ptr %13, align 8, !tbaa !11
  %39 = load double, ptr %11, align 8, !tbaa !11
  call void @_ZN3glm3vecILi3EdLNS_9qualifierE0EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %16, double noundef %37, double noundef %38, double noundef %39)
  %40 = call i24 @_ZN3glm5equalILi3EdLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %16, double noundef 0x3EB0C6F7A0B5ED8D)
  %41 = getelementptr inbounds %"struct.glm::vec.4", ptr %15, i32 0, i32 0
  %42 = getelementptr inbounds %union.anon.5, ptr %41, i32 0, i32 0
  store i24 %40, ptr %42, align 1
  %43 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %15)
  %44 = zext i1 %43 to i64
  %45 = select i1 %43, i32 0, i32 1
  %46 = load i32, ptr %1, align 4, !tbaa !5
  %47 = add nsw i32 %46, %45
  store i32 %47, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 3, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #5
  %48 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  ret i32 %48
}

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i24 @_ZN3glm5equalILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), float noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm3quaIdLNS_9qualifierE0EEC2Edddd(ptr noundef nonnull align 8 dereferenceable(32), double noundef, double noundef, double noundef, double noundef) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZN3glm4rollIdLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(32)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZN3glm5pitchIdLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(32)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZN3glm3yawIdLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(32)) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i24 @_ZN3glm5equalILi3EdLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), double noundef) #4

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #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 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !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::qua" = type { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { float, float, float, float }
%"struct.glm::vec" = type { %union.anon.0 }
%union.anon.0 = type { %struct.anon.1 }
%struct.anon.1 = type { float, float, float }
%"struct.glm::vec.4" = type { %union.anon.5 }
%union.anon.5 = type { %struct.anon.6 }
%struct.anon.6 = type { i8, i8, i8 }
%"struct.glm::qua.9" = type { %union.anon.10 }
%union.anon.10 = type { %struct.anon.11 }
%struct.anon.11 = type { double, double, double, double }
%"struct.glm::vec.12" = type { %union.anon.13 }
%union.anon.13 = type { %struct.anon.14 }
%struct.anon.14 = type { double, double, double }

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 3) i32 @_Z15test_quat_eulerv() local_unnamed_addr #2 {
  %1 = alloca %"struct.glm::qua", align 4
  %2 = alloca %"struct.glm::vec", align 8
  %3 = alloca %"struct.glm::vec.4", align 4
  %4 = alloca %"struct.glm::vec", align 4
  %5 = alloca %"struct.glm::qua.9", align 8
  %6 = alloca %"struct.glm::vec.12", align 8
  %7 = alloca %"struct.glm::vec.4", align 4
  %8 = alloca %"struct.glm::vec.12", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #4
  call void @_ZN3glm3quaIfLNS_9qualifierE0EEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %1, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  %9 = call noundef float @_ZN3glm4rollIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16) %1)
  %10 = call noundef float @_ZN3glm5pitchIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16) %1)
  %11 = call noundef float @_ZN3glm3yawIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16) %1)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #4
  %12 = call { <2 x float>, float } @_ZN3glm11eulerAnglesIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKNS_3quaIS3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16) %1)
  %.fca.0.extract = extractvalue { <2 x float>, float } %12, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %12, 1
  store <2 x float> %.fca.0.extract, ptr %2, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %2, i64 8
  store float %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #4
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %4, float noundef %10, float noundef %11, float noundef %9)
  %13 = call i24 @_ZN3glm5equalILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %4, float noundef 0x3EB0C6F7A0000000)
  store i24 %13, ptr %3, align 4
  %14 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %3)
  %not. = xor i1 %14, true
  %15 = zext i1 %not. to i32
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #4
  call void @_ZN3glm3quaIdLNS_9qualifierE0EEC2Edddd(ptr noundef nonnull align 8 dereferenceable(32) %5, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
  %16 = call noundef double @_ZN3glm4rollIdLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(32) %5)
  %17 = call noundef double @_ZN3glm5pitchIdLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(32) %5)
  %18 = call noundef double @_ZN3glm3yawIdLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(32) %5)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #4
  call void @_ZN3glm11eulerAnglesIdLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKNS_3quaIS3_XT0_EEE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::vec.12") align 8 %6, ptr noundef nonnull align 8 dereferenceable(32) %5)
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #4
  call void @_ZN3glm3vecILi3EdLNS_9qualifierE0EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %8, double noundef %17, double noundef %18, double noundef %16)
  %19 = call i24 @_ZN3glm5equalILi3EdLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %8, double noundef 0x3EB0C6F7A0B5ED8D)
  store i24 %19, ptr %7, align 4
  %20 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %7)
  %not.8 = xor i1 %20, true
  %21 = zext i1 %not.8 to i32
  %22 = add nuw nsw i32 %21, %15
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #4
  ret i32 %22
}

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i24 @_ZN3glm5equalILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), float noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZN3glm4rollIdLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZN3glm5pitchIdLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZN3glm3yawIdLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm11eulerAnglesIdLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKNS_3quaIS3_XT0_EEE(ptr dead_on_unwind noalias writable sret(%"struct.glm::vec.12") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i24 @_ZN3glm5equalILi3EdLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), double noundef) local_unnamed_addr #3

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass