; LLVM IR from jpvt/Computer_Graphics :: Assignment #3/third_party/glm/test/gtc/gtc_type_ptr.ll (Z14test_make_vec4v)

; 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.46" = type { %union.anon.47, %union.anon.48, %union.anon.49, %union.anon.50 }
%union.anon.47 = type { i32 }
%union.anon.48 = type { i32 }
%union.anon.49 = type { i32 }
%union.anon.50 = type { i32 }
%"struct.glm::vec.63" = type { %union.anon.64 }
%union.anon.64 = type { i32 }
%"struct.glm::vec.39" = type { %union.anon.40, %union.anon.41 }
%union.anon.40 = type { i32 }
%union.anon.41 = type { i32 }
%"struct.glm::vec.42" = type { %union.anon.43, %union.anon.44, %union.anon.45 }
%union.anon.43 = type { i32 }
%union.anon.44 = type { i32 }
%union.anon.45 = type { i32 }

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z14test_make_vec4v() #2 {
  %1 = alloca i32, align 4
  %2 = alloca %"struct.glm::vec.46", align 4
  %3 = alloca %"struct.glm::vec.63", align 4
  %4 = alloca %"struct.glm::vec.46", align 4
  %5 = alloca %"struct.glm::vec.46", align 4
  %6 = alloca %"struct.glm::vec.39", align 4
  %7 = alloca %"struct.glm::vec.46", align 4
  %8 = alloca %"struct.glm::vec.46", align 4
  %9 = alloca %"struct.glm::vec.42", align 4
  %10 = alloca %"struct.glm::vec.46", align 4
  %11 = alloca %"struct.glm::vec.46", align 4
  %12 = alloca %"struct.glm::vec.46", align 4
  %13 = alloca %"struct.glm::vec.46", align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #4
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  call void @_ZN3glm3vecILi1EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %3, i32 noundef 2)
  %14 = call { i64, i64 } @_ZN3glm9make_vec4IiLNS_9qualifierE0EEENS_3vecILi4ET_XT0_EEERKNS2_ILi1ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(4) %3)
  %15 = getelementptr inbounds { i64, i64 }, ptr %2, i32 0, i32 0
  %16 = extractvalue { i64, i64 } %14, 0
  store i64 %16, ptr %15, align 4
  %17 = getelementptr inbounds { i64, i64 }, ptr %2, i32 0, i32 1
  %18 = extractvalue { i64, i64 } %14, 1
  store i64 %18, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #4
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %4, i32 noundef 2, i32 noundef 0, i32 noundef 0, i32 noundef 1)
  %19 = call noundef zeroext i1 @_ZN3glmeqIiLNS_9qualifierE0EEEbRKNS_3vecILi4ET_XT0_EEES6_(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %4)
  %20 = zext i1 %19 to i64
  %21 = select i1 %19, i32 0, i32 1
  %22 = load i32, ptr %1, align 4, !tbaa !5
  %23 = add nsw i32 %22, %21
  store i32 %23, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  call void @_ZN3glm3vecILi2EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(8) %6, i32 noundef 2)
  %24 = call { i64, i64 } @_ZN3glm9make_vec4IiLNS_9qualifierE0EEENS_3vecILi4ET_XT0_EEERKNS2_ILi2ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(8) %6)
  %25 = getelementptr inbounds { i64, i64 }, ptr %5, i32 0, i32 0
  %26 = extractvalue { i64, i64 } %24, 0
  store i64 %26, ptr %25, align 4
  %27 = getelementptr inbounds { i64, i64 }, ptr %5, i32 0, i32 1
  %28 = extractvalue { i64, i64 } %24, 1
  store i64 %28, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #4
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %7, i32 noundef 2, i32 noundef 2, i32 noundef 0, i32 noundef 1)
  %29 = call noundef zeroext i1 @_ZN3glmeqIiLNS_9qualifierE0EEEbRKNS_3vecILi4ET_XT0_EEES6_(ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(16) %7)
  %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 16, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr %9) #4
  call void @_ZN3glm3vecILi3EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(12) %9, i32 noundef 2)
  %34 = call { i64, i64 } @_ZN3glm9make_vec4IiLNS_9qualifierE0EEENS_3vecILi4ET_XT0_EEERKNS2_ILi3ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(12) %9)
  %35 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 0
  %36 = extractvalue { i64, i64 } %34, 0
  store i64 %36, ptr %35, align 4
  %37 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 1
  %38 = extractvalue { i64, i64 } %34, 1
  store i64 %38, ptr %37, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #4
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %10, i32 noundef 2, i32 noundef 2, i32 noundef 2, i32 noundef 1)
  %39 = call noundef zeroext i1 @_ZN3glmeqIiLNS_9qualifierE0EEEbRKNS_3vecILi4ET_XT0_EEES6_(ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(16) %10)
  %40 = zext i1 %39 to i64
  %41 = select i1 %39, i32 0, i32 1
  %42 = load i32, ptr %1, align 4, !tbaa !5
  %43 = add nsw i32 %42, %41
  store i32 %43, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #4
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef 2)
  %44 = call { i64, i64 } @_ZN3glm9make_vec4IiLNS_9qualifierE0EEENS_3vecILi4ET_XT0_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %12)
  %45 = getelementptr inbounds { i64, i64 }, ptr %11, i32 0, i32 0
  %46 = extractvalue { i64, i64 } %44, 0
  store i64 %46, ptr %45, align 4
  %47 = getelementptr inbounds { i64, i64 }, ptr %11, i32 0, i32 1
  %48 = extractvalue { i64, i64 } %44, 1
  store i64 %48, ptr %47, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #4
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %13, i32 noundef 2, i32 noundef 2, i32 noundef 2, i32 noundef 2)
  %49 = call noundef zeroext i1 @_ZN3glmeqIiLNS_9qualifierE0EEEbRKNS_3vecILi4ET_XT0_EEES6_(ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(16) %13)
  %50 = zext i1 %49 to i64
  %51 = select i1 %49, i32 0, i32 1
  %52 = load i32, ptr %1, align 4, !tbaa !5
  %53 = add nsw i32 %52, %51
  store i32 %53, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #4
  %54 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #4
  ret i32 %54
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i64 } @_ZN3glm9make_vec4IiLNS_9qualifierE0EEENS_3vecILi4ET_XT0_EEERKNS2_ILi1ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(4)) #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i64 } @_ZN3glm9make_vec4IiLNS_9qualifierE0EEENS_3vecILi4ET_XT0_EEERKNS2_ILi2ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(8)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i64 } @_ZN3glm9make_vec4IiLNS_9qualifierE0EEENS_3vecILi4ET_XT0_EEERKNS2_ILi3ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(12)) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { i64, i64 } @_ZN3glm9make_vec4IiLNS_9qualifierE0EEENS_3vecILi4ET_XT0_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16)) #1

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 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 = { 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)"}
!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.46" = type { %union.anon.47, %union.anon.48, %union.anon.49, %union.anon.50 }
%union.anon.47 = type { i32 }
%union.anon.48 = type { i32 }
%union.anon.49 = type { i32 }
%union.anon.50 = type { i32 }
%"struct.glm::vec.63" = type { %union.anon.64 }
%union.anon.64 = type { i32 }
%"struct.glm::vec.39" = type { %union.anon.40, %union.anon.41 }
%union.anon.40 = type { i32 }
%union.anon.41 = type { i32 }
%"struct.glm::vec.42" = type { %union.anon.43, %union.anon.44, %union.anon.45 }
%union.anon.43 = type { i32 }
%union.anon.44 = type { i32 }
%union.anon.45 = type { i32 }

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 5) i32 @_Z14test_make_vec4v() local_unnamed_addr #2 {
  %1 = alloca %"struct.glm::vec.46", align 8
  %2 = alloca %"struct.glm::vec.63", align 4
  %3 = alloca %"struct.glm::vec.46", align 4
  %4 = alloca %"struct.glm::vec.46", align 8
  %5 = alloca %"struct.glm::vec.39", align 4
  %6 = alloca %"struct.glm::vec.46", align 4
  %7 = alloca %"struct.glm::vec.46", align 8
  %8 = alloca %"struct.glm::vec.42", align 4
  %9 = alloca %"struct.glm::vec.46", align 4
  %10 = alloca %"struct.glm::vec.46", align 8
  %11 = alloca %"struct.glm::vec.46", align 4
  %12 = alloca %"struct.glm::vec.46", align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
  call void @_ZN3glm3vecILi1EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %2, i32 noundef 2)
  %13 = call { i64, i64 } @_ZN3glm9make_vec4IiLNS_9qualifierE0EEENS_3vecILi4ET_XT0_EEERKNS2_ILi1ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(4) %2)
  %14 = extractvalue { i64, i64 } %13, 0
  store i64 %14, ptr %1, align 8
  %15 = getelementptr inbounds i8, ptr %1, i64 8
  %16 = extractvalue { i64, i64 } %13, 1
  store i64 %16, ptr %15, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %3, i32 noundef 2, i32 noundef 0, i32 noundef 0, i32 noundef 1)
  %17 = call noundef zeroext i1 @_ZN3glmeqIiLNS_9qualifierE0EEEbRKNS_3vecILi4ET_XT0_EEES6_(ptr noundef nonnull align 4 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(16) %3)
  %not. = xor i1 %17, true
  %18 = zext i1 %not. to i32
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  call void @_ZN3glm3vecILi2EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(8) %5, i32 noundef 2)
  %19 = call { i64, i64 } @_ZN3glm9make_vec4IiLNS_9qualifierE0EEENS_3vecILi4ET_XT0_EEERKNS2_ILi2ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(8) %5)
  %20 = extractvalue { i64, i64 } %19, 0
  store i64 %20, ptr %4, align 8
  %21 = getelementptr inbounds i8, ptr %4, i64 8
  %22 = extractvalue { i64, i64 } %19, 1
  store i64 %22, ptr %21, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %6, i32 noundef 2, i32 noundef 2, i32 noundef 0, i32 noundef 1)
  %23 = call noundef zeroext i1 @_ZN3glmeqIiLNS_9qualifierE0EEEbRKNS_3vecILi4ET_XT0_EEES6_(ptr noundef nonnull align 4 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(16) %6)
  %not.5 = xor i1 %23, true
  %24 = zext i1 %not.5 to i32
  %25 = add nuw nsw i32 %24, %18
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #4
  call void @_ZN3glm3vecILi3EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(12) %8, i32 noundef 2)
  %26 = call { i64, i64 } @_ZN3glm9make_vec4IiLNS_9qualifierE0EEENS_3vecILi4ET_XT0_EEERKNS2_ILi3ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(12) %8)
  %27 = extractvalue { i64, i64 } %26, 0
  store i64 %27, ptr %7, align 8
  %28 = getelementptr inbounds i8, ptr %7, i64 8
  %29 = extractvalue { i64, i64 } %26, 1
  store i64 %29, ptr %28, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #4
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %9, i32 noundef 2, i32 noundef 2, i32 noundef 2, i32 noundef 1)
  %30 = call noundef zeroext i1 @_ZN3glmeqIiLNS_9qualifierE0EEEbRKNS_3vecILi4ET_XT0_EEES6_(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(16) %9)
  %not.6 = xor i1 %30, true
  %31 = zext i1 %not.6 to i32
  %32 = add nuw nsw i32 %25, %31
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #4
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %11, i32 noundef 2)
  %33 = call { i64, i64 } @_ZN3glm9make_vec4IiLNS_9qualifierE0EEENS_3vecILi4ET_XT0_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %11)
  %34 = extractvalue { i64, i64 } %33, 0
  store i64 %34, ptr %10, align 8
  %35 = getelementptr inbounds i8, ptr %10, i64 8
  %36 = extractvalue { i64, i64 } %33, 1
  store i64 %36, ptr %35, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #4
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef 2, i32 noundef 2, i32 noundef 2, i32 noundef 2)
  %37 = call noundef zeroext i1 @_ZN3glmeqIiLNS_9qualifierE0EEEbRKNS_3vecILi4ET_XT0_EEES6_(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(16) %12)
  %not.7 = xor i1 %37, true
  %38 = zext i1 %not.7 to i32
  %39 = add nuw nsw i32 %32, %38
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #4
  ret i32 %39
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i64 } @_ZN3glm9make_vec4IiLNS_9qualifierE0EEENS_3vecILi4ET_XT0_EEERKNS2_ILi1ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i64 } @_ZN3glm9make_vec4IiLNS_9qualifierE0EEENS_3vecILi4ET_XT0_EEERKNS2_ILi2ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i64 } @_ZN3glm9make_vec4IiLNS_9qualifierE0EEENS_3vecILi4ET_XT0_EEERKNS2_ILi3ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { i64, i64 } @_ZN3glm9make_vec4IiLNS_9qualifierE0EEENS_3vecILi4ET_XT0_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #1

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"="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 = { 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