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

; 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.16" = type { %union.anon.17, %union.anon.18, %union.anon.19 }
%union.anon.17 = type { float }
%union.anon.18 = type { float }
%union.anon.19 = type { float }
%"struct.glm::vec.20" = type { %union.anon.21, %union.anon.22, %union.anon.23 }
%union.anon.21 = type { float }
%union.anon.22 = type { float }
%union.anon.23 = type { float }
%"struct.glm::vec.24" = type { %union.anon.25, %union.anon.26, %union.anon.27 }
%union.anon.25 = type { float }
%union.anon.26 = type { float }
%union.anon.27 = type { float }
%"struct.glm::vec.28" = type { %union.anon.29, %union.anon.30, %union.anon.31 }
%union.anon.29 = type { i8 }
%union.anon.30 = type { i8 }
%union.anon.31 = type { i8 }
%"struct.glm::vec.32" = type { %union.anon.33, %union.anon.34, %union.anon.35 }
%union.anon.33 = type { i8 }
%union.anon.34 = type { i8 }
%union.anon.35 = type { i8 }
%"struct.glm::vec.36" = type { %union.anon.37, %union.anon.38, %union.anon.39 }
%union.anon.37 = type { i8 }
%union.anon.38 = type { i8 }
%union.anon.39 = type { i8 }

@__const._Z14test_vec3_castv.A = external hidden unnamed_addr constant %"struct.glm::vec.16", align 4

; 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 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 noundef float @_ZN3glm7epsilonIfEET_v() #2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z14test_vec3_castv() #3 {
  %1 = alloca %"struct.glm::vec.16", align 4
  %2 = alloca %"struct.glm::vec.20", align 4
  %3 = alloca %"struct.glm::vec.24", align 4
  %4 = alloca %"struct.glm::vec.16", align 4
  %5 = alloca %"struct.glm::vec.16", align 4
  %6 = alloca %"struct.glm::vec.20", align 4
  %7 = alloca %"struct.glm::vec.24", align 4
  %8 = alloca %"struct.glm::vec.16", align 4
  %9 = alloca i32, align 4
  %10 = alloca %"struct.glm::vec.28", align 1
  %11 = alloca %"struct.glm::vec.32", align 1
  %12 = alloca %"struct.glm::vec.36", align 1
  %13 = alloca %"struct.glm::vec.28", align 1
  call void @llvm.lifetime.start.p0(i64 12, ptr %1) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1, ptr align 4 @__const._Z14test_vec3_castv.A, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %2) #5
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE2EEC2ILS1_0EEERKNS0_ILi3EfXT_EEE(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %1)
  call void @llvm.lifetime.start.p0(i64 12, ptr %3) #5
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE1EEC2ILS1_0EEERKNS0_ILi3EfXT_EEE(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %1)
  call void @llvm.lifetime.start.p0(i64 12, ptr %4) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 %1, i64 12, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %5) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 %1, i64 12, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %6) #5
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE2EEC2ILS1_0EEERKNS0_ILi3EfXT_EEE(ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %1)
  call void @llvm.lifetime.start.p0(i64 12, ptr %7) #5
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE1EEC2ILS1_0EEERKNS0_ILi3EfXT_EEE(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %1)
  call void @llvm.lifetime.start.p0(i64 12, ptr %8) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %1, i64 12, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 3, ptr %10) #5
  %14 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %15 = call i24 @_ZN3glm5equalILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %5, float noundef %14)
  store i24 %15, ptr %10, align 1
  %16 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %10)
  %17 = zext i1 %16 to i64
  %18 = select i1 %16, i32 0, i32 1
  %19 = load i32, ptr %9, align 4, !tbaa !9
  %20 = add nsw i32 %19, %18
  store i32 %20, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 3, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 3, ptr %11) #5
  %21 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %22 = call i24 @_ZN3glm5equalILi3EfLNS_9qualifierE2EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %6, float noundef %21)
  store i24 %22, ptr %11, align 1
  %23 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE2EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %11)
  %24 = zext i1 %23 to i64
  %25 = select i1 %23, i32 0, i32 1
  %26 = load i32, ptr %9, align 4, !tbaa !9
  %27 = add nsw i32 %26, %25
  store i32 %27, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 3, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 3, ptr %12) #5
  %28 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %29 = call i24 @_ZN3glm5equalILi3EfLNS_9qualifierE1EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %7, float noundef %28)
  store i24 %29, ptr %12, align 1
  %30 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE1EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %12)
  %31 = zext i1 %30 to i64
  %32 = select i1 %30, i32 0, i32 1
  %33 = load i32, ptr %9, align 4, !tbaa !9
  %34 = add nsw i32 %33, %32
  store i32 %34, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 3, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 3, ptr %13) #5
  %35 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %36 = call i24 @_ZN3glm5equalILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %8, float noundef %35)
  store i24 %36, ptr %13, align 1
  %37 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %13)
  %38 = zext i1 %37 to i64
  %39 = select i1 %37, i32 0, i32 1
  %40 = load i32, ptr %9, align 4, !tbaa !9
  %41 = add nsw i32 %40, %39
  store i32 %41, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 3, ptr %13) #5
  %42 = load i32, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %1) #5
  ret i32 %42
}

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

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

; 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 uwtable
declare dso_local noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE2EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i24 @_ZN3glm5equalILi3EfLNS_9qualifierE2EEENS_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 uwtable
declare dso_local noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE1EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i24 @_ZN3glm5equalILi3EfLNS_9qualifierE1EEENS_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

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"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{i64 0, i64 4, !6, i64 4, i64 4, !6, i64 8, i64 4, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !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.16" = type { %union.anon.17, %union.anon.18, %union.anon.19 }
%union.anon.17 = type { float }
%union.anon.18 = type { float }
%union.anon.19 = type { float }
%"struct.glm::vec.20" = type { %union.anon.21, %union.anon.22, %union.anon.23 }
%union.anon.21 = type { float }
%union.anon.22 = type { float }
%union.anon.23 = type { float }
%"struct.glm::vec.24" = type { %union.anon.25, %union.anon.26, %union.anon.27 }
%union.anon.25 = type { float }
%union.anon.26 = type { float }
%union.anon.27 = type { float }
%"struct.glm::vec.28" = type { %union.anon.29, %union.anon.30, %union.anon.31 }
%union.anon.29 = type { i8 }
%union.anon.30 = type { i8 }
%union.anon.31 = type { i8 }
%"struct.glm::vec.32" = type { %union.anon.33, %union.anon.34, %union.anon.35 }
%union.anon.33 = type { i8 }
%union.anon.34 = type { i8 }
%union.anon.35 = type { i8 }
%"struct.glm::vec.36" = type { %union.anon.37, %union.anon.38, %union.anon.39 }
%union.anon.37 = type { i8 }
%union.anon.38 = type { i8 }
%union.anon.39 = type { i8 }

@__const._Z14test_vec3_castv.A = external hidden unnamed_addr constant %"struct.glm::vec.16", align 4

; 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 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 noundef float @_ZN3glm7epsilonIfEET_v() local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 5) i32 @_Z14test_vec3_castv() local_unnamed_addr #3 {
  %1 = alloca %"struct.glm::vec.16", align 4
  %2 = alloca %"struct.glm::vec.20", align 4
  %3 = alloca %"struct.glm::vec.24", align 4
  %4 = alloca %"struct.glm::vec.16", align 4
  %5 = alloca %"struct.glm::vec.16", align 4
  %6 = alloca %"struct.glm::vec.20", align 4
  %7 = alloca %"struct.glm::vec.24", align 4
  %8 = alloca %"struct.glm::vec.16", align 4
  %9 = alloca %"struct.glm::vec.28", align 4
  %10 = alloca %"struct.glm::vec.32", align 4
  %11 = alloca %"struct.glm::vec.36", align 4
  %12 = alloca %"struct.glm::vec.28", align 4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %1) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) @__const._Z14test_vec3_castv.A, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #5
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE2EEC2ILS1_0EEERKNS0_ILi3EfXT_EEE(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %1)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #5
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE1EEC2ILS1_0EEERKNS0_ILi3EfXT_EEE(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %1)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %1, i64 12, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %1, i64 12, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #5
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE2EEC2ILS1_0EEERKNS0_ILi3EfXT_EEE(ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %1)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #5
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE1EEC2ILS1_0EEERKNS0_ILi3EfXT_EEE(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %1)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %1, i64 12, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %9) #5
  %13 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %14 = call i24 @_ZN3glm5equalILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %5, float noundef %13)
  store i24 %14, ptr %9, align 4
  %15 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %9)
  %not. = xor i1 %15, true
  %16 = zext i1 %not. to i32
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %10) #5
  %17 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %18 = call i24 @_ZN3glm5equalILi3EfLNS_9qualifierE2EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %6, float noundef %17)
  store i24 %18, ptr %10, align 4
  %19 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE2EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %10)
  %not.5 = xor i1 %19, true
  %20 = zext i1 %not.5 to i32
  %21 = add nuw nsw i32 %20, %16
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %11) #5
  %22 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %23 = call i24 @_ZN3glm5equalILi3EfLNS_9qualifierE1EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %7, float noundef %22)
  store i24 %23, ptr %11, align 4
  %24 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE1EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %11)
  %not.6 = xor i1 %24, true
  %25 = zext i1 %not.6 to i32
  %26 = add nuw nsw i32 %21, %25
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %12) #5
  %27 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %28 = call i24 @_ZN3glm5equalILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %8, float noundef %27)
  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.7 = xor i1 %29, true
  %30 = zext i1 %not.7 to i32
  %31 = add nuw nsw i32 %26, %30
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %1) #5
  ret i32 %31
}

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

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

; 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 #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) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i24 @_ZN3glm5equalILi3EfLNS_9qualifierE2EEENS_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 #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i24 @_ZN3glm5equalILi3EfLNS_9qualifierE1EEENS_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 #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{i64 0, i64 4, !6, i64 4, i64 4, !6, i64 8, i64 4, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


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