; LLVM IR from jpvt/Computer_Graphics :: Assignment #3/third_party/glm/test/core/core_func_geometric.ll (ZN5cross4testEv)

; 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.3" = type { %union.anon.4, %union.anon.5, %union.anon.6 }
%union.anon.4 = type { float }
%union.anon.5 = type { float }
%union.anon.6 = type { float }
%"struct.glm::vec.12" = type { %union.anon.13, %union.anon.14, %union.anon.15 }
%union.anon.13 = type { i8 }
%union.anon.14 = type { i8 }
%union.anon.15 = type { i8 }

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNSt14numeric_limitsIfE7epsilonEv() #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN5cross4testEv() #3 {
  %1 = alloca %"struct.glm::vec.3", align 4
  %2 = alloca %"struct.glm::vec.3", align 4
  %3 = alloca %"struct.glm::vec.3", align 4
  %4 = alloca { <2 x float>, float }, align 8
  %5 = alloca %"struct.glm::vec.3", align 4
  %6 = alloca %"struct.glm::vec.3", align 4
  %7 = alloca %"struct.glm::vec.3", align 4
  %8 = alloca { <2 x float>, float }, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"struct.glm::vec.12", align 1
  %11 = alloca %"struct.glm::vec.3", align 4
  %12 = alloca %"struct.glm::vec.3", align 4
  %13 = alloca %"struct.glm::vec.3", align 4
  %14 = alloca { <2 x float>, float }, align 8
  %15 = alloca { <2 x float>, float }, align 8
  %16 = alloca %"struct.glm::vec.3", align 4
  %17 = alloca %"struct.glm::vec.12", align 1
  %18 = alloca %"struct.glm::vec.3", align 4
  %19 = alloca %"struct.glm::vec.3", align 4
  %20 = alloca %"struct.glm::vec.3", align 4
  %21 = alloca { <2 x float>, float }, align 8
  %22 = alloca { <2 x float>, float }, align 8
  %23 = alloca %"struct.glm::vec.3", align 4
  call void @llvm.lifetime.start.p0(i64 12, ptr %1) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %2) #7
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %2, i32 noundef 1, i32 noundef 0, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 12, ptr %3) #7
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %3, i32 noundef 0, i32 noundef 1, i32 noundef 0)
  %24 = call { <2 x float>, float } @_ZN3glm5crossIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %3)
  store { <2 x float>, float } %24, ptr %4, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1, ptr align 8 %4, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %5) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %6) #7
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %6, i32 noundef 0, i32 noundef 1, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 12, ptr %7) #7
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %7, i32 noundef 1, i32 noundef 0, i32 noundef 0)
  %25 = call { <2 x float>, float } @_ZN3glm5crossIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %7)
  store { <2 x float>, float } %25, ptr %8, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 8 %8, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 0, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 3, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %13) #7
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %13, i32 noundef 0, i32 noundef 0, i32 noundef 1)
  %26 = call { <2 x float>, float } @_ZN3glmmiIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %13)
  store { <2 x float>, float } %26, ptr %14, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 8 %14, i64 12, i1 false)
  %27 = call { <2 x float>, float } @_ZN3glm3absILi3EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(12) %12)
  store { <2 x float>, float } %27, ptr %15, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 8 %15, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %16) #7
  %28 = call noundef float @_ZNSt14numeric_limitsIfE7epsilonEv() #7
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(12) %16, float noundef %28)
  %29 = call i24 @_ZN3glm8lessThanILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_(ptr noundef nonnull align 4 dereferenceable(12) %11, ptr noundef nonnull align 4 dereferenceable(12) %16)
  store i24 %29, ptr %10, align 1
  %30 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %10)
  %31 = zext i1 %30 to i64
  %32 = select i1 %30, i32 0, i32 1
  %33 = load i32, ptr %9, align 4, !tbaa !5
  %34 = add nsw i32 %33, %32
  store i32 %34, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 3, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 3, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %20) #7
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %20, i32 noundef 0, i32 noundef 0, i32 noundef -1)
  %35 = call { <2 x float>, float } @_ZN3glmmiIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %20)
  store { <2 x float>, float } %35, ptr %21, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 8 %21, i64 12, i1 false)
  %36 = call { <2 x float>, float } @_ZN3glm3absILi3EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(12) %19)
  store { <2 x float>, float } %36, ptr %22, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 8 %22, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %23) #7
  %37 = call noundef float @_ZNSt14numeric_limitsIfE7epsilonEv() #7
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(12) %23, float noundef %37)
  %38 = call i24 @_ZN3glm8lessThanILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_(ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(12) %23)
  store i24 %38, ptr %17, align 1
  %39 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %17)
  %40 = zext i1 %39 to i64
  %41 = select i1 %39, i32 0, i32 1
  %42 = load i32, ptr %9, align 4, !tbaa !5
  %43 = add nsw i32 %42, %41
  store i32 %43, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 12, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 3, ptr %17) #7
  %44 = load i32, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %1) #7
  ret i32 %44
}

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

; 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) #5

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

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

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

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

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


; 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.3" = type { %union.anon.4, %union.anon.5, %union.anon.6 }
%union.anon.4 = type { float }
%union.anon.5 = type { float }
%union.anon.6 = type { float }
%"struct.glm::vec.12" = type { %union.anon.13, %union.anon.14, %union.anon.15 }
%union.anon.13 = type { i8 }
%union.anon.14 = type { i8 }
%union.anon.15 = type { i8 }

; 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_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef, i32 noundef, i32 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNSt14numeric_limitsIfE7epsilonEv() local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 3) i32 @_ZN5cross4testEv() local_unnamed_addr #3 {
  %1 = alloca %"struct.glm::vec.3", align 8
  %2 = alloca %"struct.glm::vec.3", align 4
  %3 = alloca %"struct.glm::vec.3", align 4
  %4 = alloca %"struct.glm::vec.3", align 8
  %5 = alloca %"struct.glm::vec.3", align 4
  %6 = alloca %"struct.glm::vec.3", align 4
  %7 = alloca %"struct.glm::vec.12", align 4
  %8 = alloca %"struct.glm::vec.3", align 8
  %9 = alloca %"struct.glm::vec.3", align 8
  %10 = alloca %"struct.glm::vec.3", align 4
  %11 = alloca %"struct.glm::vec.3", align 4
  %12 = alloca %"struct.glm::vec.12", align 4
  %13 = alloca %"struct.glm::vec.3", align 8
  %14 = alloca %"struct.glm::vec.3", align 8
  %15 = alloca %"struct.glm::vec.3", align 4
  %16 = alloca %"struct.glm::vec.3", align 4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %2, i32 noundef 1, i32 noundef 0, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %3, i32 noundef 0, i32 noundef 1, i32 noundef 0)
  %17 = call { <2 x float>, float } @_ZN3glm5crossIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %3)
  %.fca.0.extract19 = extractvalue { <2 x float>, float } %17, 0
  %.fca.1.extract20 = extractvalue { <2 x float>, float } %17, 1
  store <2 x float> %.fca.0.extract19, ptr %1, align 8
  %.sroa.222.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 8
  store float %.fca.1.extract20, ptr %.sroa.222.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %5, i32 noundef 0, i32 noundef 1, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %6, i32 noundef 1, i32 noundef 0, i32 noundef 0)
  %18 = call { <2 x float>, float } @_ZN3glm5crossIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %6)
  %.fca.0.extract15 = extractvalue { <2 x float>, float } %18, 0
  %.fca.1.extract16 = extractvalue { <2 x float>, float } %18, 1
  store <2 x float> %.fca.0.extract15, ptr %4, align 8
  %.sroa.218.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 8
  store float %.fca.1.extract16, ptr %.sroa.218.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %10) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %10, i32 noundef 0, i32 noundef 0, i32 noundef 1)
  %19 = call { <2 x float>, float } @_ZN3glmmiIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %10)
  %.fca.0.extract9 = extractvalue { <2 x float>, float } %19, 0
  %.fca.1.extract10 = extractvalue { <2 x float>, float } %19, 1
  store <2 x float> %.fca.0.extract9, ptr %9, align 8
  %.sroa.212.0..sroa_idx = getelementptr inbounds i8, ptr %9, i64 8
  store float %.fca.1.extract10, ptr %.sroa.212.0..sroa_idx, align 8
  %20 = call { <2 x float>, float } @_ZN3glm3absILi3EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(12) %9)
  %.fca.0.extract5 = extractvalue { <2 x float>, float } %20, 0
  %.fca.1.extract6 = extractvalue { <2 x float>, float } %20, 1
  store <2 x float> %.fca.0.extract5, ptr %8, align 8
  %.sroa.28.0..sroa_idx = getelementptr inbounds i8, ptr %8, i64 8
  store float %.fca.1.extract6, ptr %.sroa.28.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #6
  %21 = call noundef float @_ZNSt14numeric_limitsIfE7epsilonEv() #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(12) %11, float noundef %21)
  %22 = call i24 @_ZN3glm8lessThanILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %11)
  store i24 %22, ptr %7, align 4
  %23 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %7)
  %not. = xor i1 %23, true
  %24 = zext i1 %not. to i32
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %15) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %15, i32 noundef 0, i32 noundef 0, i32 noundef -1)
  %25 = call { <2 x float>, float } @_ZN3glmmiIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %15)
  %.fca.0.extract1 = extractvalue { <2 x float>, float } %25, 0
  %.fca.1.extract2 = extractvalue { <2 x float>, float } %25, 1
  store <2 x float> %.fca.0.extract1, ptr %14, align 8
  %.sroa.24.0..sroa_idx = getelementptr inbounds i8, ptr %14, i64 8
  store float %.fca.1.extract2, ptr %.sroa.24.0..sroa_idx, align 8
  %26 = call { <2 x float>, float } @_ZN3glm3absILi3EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(12) %14)
  %.fca.0.extract = extractvalue { <2 x float>, float } %26, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %26, 1
  store <2 x float> %.fca.0.extract, ptr %13, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %13, i64 8
  store float %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %16) #6
  %27 = call noundef float @_ZNSt14numeric_limitsIfE7epsilonEv() #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(12) %16, float noundef %27)
  %28 = call i24 @_ZN3glm8lessThanILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %16)
  store i24 %28, ptr %12, align 4
  %29 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %12)
  %not.23 = xor i1 %29, true
  %30 = zext i1 %not.23 to i32
  %31 = add nuw nsw i32 %30, %24
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %1) #6
  ret i32 %31
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glm5crossIfLNS_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 uwtable
declare dso_local noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3)) local_unnamed_addr #5

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

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

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

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 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"="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 #5 = { 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 #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)"}


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