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

; 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::mat.4" = type { [2 x %"struct.glm::vec.5"] }
%"struct.glm::vec.5" = type { %union.anon.6, %union.anon.7, %union.anon.8 }
%union.anon.6 = type { float }
%union.anon.7 = type { float }
%union.anon.8 = type { float }
%"struct.glm::vec" = type { %union.anon, %union.anon.0 }
%union.anon = type { float }
%union.anon.0 = type { float }
%"struct.glm::vec.1" = type { %union.anon.2, %union.anon.3 }
%union.anon.2 = type { i8 }
%union.anon.3 = type { i8 }

@__const._Z19test_mat2x3_row_setv.m = external hidden unnamed_addr constant %"struct.glm::mat.4", 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 void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, i32 noundef) unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i16 @_ZN3glm5equalILi2EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), float noundef) #3

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z19test_mat2x3_row_setv() #4 {
  %1 = alloca i32, align 4
  %2 = alloca %"struct.glm::mat.4", align 4
  %3 = alloca %"struct.glm::mat.4", align 4
  %4 = alloca %"struct.glm::vec", align 4
  %5 = alloca %"struct.glm::mat.4", align 4
  %6 = alloca %"struct.glm::vec", align 4
  %7 = alloca %"struct.glm::mat.4", align 4
  %8 = alloca %"struct.glm::vec", align 4
  %9 = alloca %"struct.glm::vec.1", align 1
  %10 = alloca %"struct.glm::vec", align 4
  %11 = alloca %"struct.glm::vec", align 4
  %12 = alloca %"struct.glm::vec.1", align 1
  %13 = alloca %"struct.glm::vec", align 4
  %14 = alloca %"struct.glm::vec", align 4
  %15 = alloca %"struct.glm::vec.1", align 1
  %16 = alloca %"struct.glm::vec", align 4
  %17 = alloca %"struct.glm::vec", align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #6
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %2) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const._Z19test_mat2x3_row_setv.m, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  call void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8) %4, i32 noundef 0, i32 noundef 1)
  call void @_ZN3glm3rowINS_3matILi2ELi3EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind writable sret(%"struct.glm::mat.4") align 4 %3, ptr noundef nonnull align 4 dereferenceable(24) %2, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(8) %4)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 %3, i64 24, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  call void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8) %6, i32 noundef 4, i32 noundef 5)
  call void @_ZN3glm3rowINS_3matILi2ELi3EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind writable sret(%"struct.glm::mat.4") align 4 %5, ptr noundef nonnull align 4 dereferenceable(24) %2, i32 noundef 1, ptr noundef nonnull align 4 dereferenceable(8) %6)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 %5, i64 24, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  call void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8) %8, i32 noundef 8, i32 noundef 9)
  call void @_ZN3glm3rowINS_3matILi2ELi3EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind writable sret(%"struct.glm::mat.4") align 4 %7, ptr noundef nonnull align 4 dereferenceable(24) %2, i32 noundef 2, ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 %7, i64 24, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %18 = call <2 x float> @_ZN3glm3rowINS_3matILi2ELi3EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(24) %2, i32 noundef 0)
  store <2 x float> %18, ptr %10, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  call void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8) %11, i32 noundef 0, i32 noundef 1)
  %19 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %20 = call i16 @_ZN3glm5equalILi2EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef %19)
  store i16 %20, ptr %9, align 1
  %21 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %9)
  %22 = zext i1 %21 to i64
  %23 = select i1 %21, i32 0, i32 1
  %24 = load i32, ptr %1, align 4, !tbaa !5
  %25 = add nsw i32 %24, %23
  store i32 %25, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %26 = call <2 x float> @_ZN3glm3rowINS_3matILi2ELi3EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(24) %2, i32 noundef 1)
  store <2 x float> %26, ptr %13, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  call void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8) %14, i32 noundef 4, i32 noundef 5)
  %27 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %28 = call i16 @_ZN3glm5equalILi2EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %27)
  store i16 %28, ptr %12, align 1
  %29 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %12)
  %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 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %34 = call <2 x float> @_ZN3glm3rowINS_3matILi2ELi3EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(24) %2, i32 noundef 2)
  store <2 x float> %34, ptr %16, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  call void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8) %17, i32 noundef 8, i32 noundef 9)
  %35 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %36 = call i16 @_ZN3glm5equalILi2EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef %35)
  store i16 %36, ptr %15, align 1
  %37 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %15)
  %38 = zext i1 %37 to i64
  %39 = select i1 %37, i32 0, i32 1
  %40 = load i32, ptr %1, align 4, !tbaa !5
  %41 = add nsw i32 %40, %39
  store i32 %41, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %15) #6
  %42 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 24, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret i32 %42
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm3rowINS_3matILi2ELi3EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind noalias writable sret(%"struct.glm::mat.4") align 4, ptr noundef nonnull align 4 dereferenceable(24), i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZN3glm3rowINS_3matILi2ELi3EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(24), i32 noundef) #5

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 = { 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 = { 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"="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 #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)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i64 0, i64 24, !10}
!10 = !{!7, !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::mat.4" = type { [2 x %"struct.glm::vec.5"] }
%"struct.glm::vec.5" = type { %union.anon.6, %union.anon.7, %union.anon.8 }
%union.anon.6 = type { float }
%union.anon.7 = type { float }
%union.anon.8 = type { float }
%"struct.glm::vec" = type { %union.anon, %union.anon.0 }
%union.anon = type { float }
%union.anon.0 = type { float }
%"struct.glm::vec.1" = type { %union.anon.2, %union.anon.3 }
%union.anon.2 = type { i8 }
%union.anon.3 = type { i8 }

@__const._Z19test_mat2x3_row_setv.m = external hidden unnamed_addr constant %"struct.glm::mat.4", 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 void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, i32 noundef) unnamed_addr #2 align 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: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i16 @_ZN3glm5equalILi2EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), float noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 4) i32 @_Z19test_mat2x3_row_setv() local_unnamed_addr #4 {
  %1 = alloca %"struct.glm::mat.4", align 4
  %2 = alloca %"struct.glm::mat.4", align 4
  %3 = alloca %"struct.glm::vec", align 4
  %4 = alloca %"struct.glm::mat.4", align 4
  %5 = alloca %"struct.glm::vec", align 4
  %6 = alloca %"struct.glm::mat.4", align 4
  %7 = alloca %"struct.glm::vec", align 4
  %8 = alloca %"struct.glm::vec.1", align 2
  %9 = alloca %"struct.glm::vec", align 8
  %10 = alloca %"struct.glm::vec", align 4
  %11 = alloca %"struct.glm::vec.1", align 2
  %12 = alloca %"struct.glm::vec", align 8
  %13 = alloca %"struct.glm::vec", align 4
  %14 = alloca %"struct.glm::vec.1", align 2
  %15 = alloca %"struct.glm::vec", align 8
  %16 = alloca %"struct.glm::vec", align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(24) @__const._Z19test_mat2x3_row_setv.m, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  call void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8) %3, i32 noundef 0, i32 noundef 1)
  call void @_ZN3glm3rowINS_3matILi2ELi3EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat.4") align 4 %2, ptr noundef nonnull align 4 dereferenceable(24) %1, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(8) %3)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(24) %2, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  call void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8) %5, i32 noundef 4, i32 noundef 5)
  call void @_ZN3glm3rowINS_3matILi2ELi3EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat.4") align 4 %4, ptr noundef nonnull align 4 dereferenceable(24) %1, i32 noundef 1, ptr noundef nonnull align 4 dereferenceable(8) %5)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(24) %4, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  call void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8) %7, i32 noundef 8, i32 noundef 9)
  call void @_ZN3glm3rowINS_3matILi2ELi3EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat.4") align 4 %6, ptr noundef nonnull align 4 dereferenceable(24) %1, i32 noundef 2, ptr noundef nonnull align 4 dereferenceable(8) %7)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(24) %6, i64 24, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %17 = call <2 x float> @_ZN3glm3rowINS_3matILi2ELi3EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(24) %1, i32 noundef 0)
  store <2 x float> %17, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  call void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8) %10, i32 noundef 0, i32 noundef 1)
  %18 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %19 = call i16 @_ZN3glm5equalILi2EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef %18)
  store i16 %19, ptr %8, align 2
  %20 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %8)
  %not. = xor i1 %20, true
  %21 = zext i1 %not. to i32
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %22 = call <2 x float> @_ZN3glm3rowINS_3matILi2ELi3EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(24) %1, i32 noundef 1)
  store <2 x float> %22, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  call void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8) %13, i32 noundef 4, i32 noundef 5)
  %23 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %24 = call i16 @_ZN3glm5equalILi2EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef %23)
  store i16 %24, ptr %11, align 2
  %25 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %11)
  %not.4 = xor i1 %25, true
  %26 = zext i1 %not.4 to i32
  %27 = add nuw nsw i32 %26, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %28 = call <2 x float> @_ZN3glm3rowINS_3matILi2ELi3EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(24) %1, i32 noundef 2)
  store <2 x float> %28, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #6
  call void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8) %16, i32 noundef 8, i32 noundef 9)
  %29 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %30 = call i16 @_ZN3glm5equalILi2EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef %29)
  store i16 %30, ptr %14, align 2
  %31 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %14)
  %not.5 = xor i1 %31, true
  %32 = zext i1 %not.5 to i32
  %33 = add nuw nsw i32 %27, %32
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #6
  ret i32 %33
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm3rowINS_3matILi2ELi3EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind noalias writable sret(%"struct.glm::mat.4") align 4, ptr noundef nonnull align 4 dereferenceable(24), i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZN3glm3rowINS_3matILi2ELi3EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(24), i32 noundef) local_unnamed_addr #5

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 = { 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 = { 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"="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 #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)"}
!5 = !{i64 0, i64 24, !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