; LLVM IR from jpvt/Computer_Graphics :: Assignment #3/third_party/glm/test/gtc/gtc_matrix_access.ll (Z19test_mat2x4_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.13" = type { [2 x %"struct.glm::vec.14"] }
%"struct.glm::vec.14" = type { %union.anon.15, %union.anon.16, %union.anon.17, %union.anon.18 }
%union.anon.15 = type { float }
%union.anon.16 = type { float }
%union.anon.17 = type { float }
%union.anon.18 = 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_mat2x4_row_setv.m = external hidden unnamed_addr constant %"struct.glm::mat.13", 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_mat2x4_row_setv() #4 {
  %1 = alloca i32, align 4
  %2 = alloca %"struct.glm::mat.13", align 4
  %3 = alloca %"struct.glm::mat.13", align 4
  %4 = alloca %"struct.glm::vec", align 4
  %5 = alloca %"struct.glm::mat.13", align 4
  %6 = alloca %"struct.glm::vec", align 4
  %7 = alloca %"struct.glm::mat.13", align 4
  %8 = alloca %"struct.glm::vec", align 4
  %9 = alloca %"struct.glm::mat.13", align 4
  %10 = alloca %"struct.glm::vec", align 4
  %11 = alloca %"struct.glm::vec.1", align 1
  %12 = alloca %"struct.glm::vec", align 4
  %13 = alloca %"struct.glm::vec", align 4
  %14 = alloca %"struct.glm::vec.1", align 1
  %15 = alloca %"struct.glm::vec", align 4
  %16 = alloca %"struct.glm::vec", align 4
  %17 = alloca %"struct.glm::vec.1", align 1
  %18 = alloca %"struct.glm::vec", align 4
  %19 = alloca %"struct.glm::vec", align 4
  %20 = alloca %"struct.glm::vec.1", align 1
  %21 = alloca %"struct.glm::vec", align 4
  %22 = 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 32, ptr %2) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const._Z19test_mat2x4_row_setv.m, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, 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_3matILi2ELi4EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind writable sret(%"struct.glm::mat.13") align 4 %3, ptr noundef nonnull align 4 dereferenceable(32) %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 32, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 32, 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_3matILi2ELi4EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind writable sret(%"struct.glm::mat.13") align 4 %5, ptr noundef nonnull align 4 dereferenceable(32) %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 32, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 32, 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_3matILi2ELi4EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind writable sret(%"struct.glm::mat.13") align 4 %7, ptr noundef nonnull align 4 dereferenceable(32) %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 32, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  call void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8) %10, i32 noundef 12, i32 noundef 13)
  call void @_ZN3glm3rowINS_3matILi2ELi4EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind writable sret(%"struct.glm::mat.13") align 4 %9, ptr noundef nonnull align 4 dereferenceable(32) %2, i32 noundef 3, ptr noundef nonnull align 4 dereferenceable(8) %10)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 %9, i64 32, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %23 = call <2 x float> @_ZN3glm3rowINS_3matILi2ELi4EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(32) %2, i32 noundef 0)
  store <2 x float> %23, ptr %12, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  call void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8) %13, i32 noundef 0, i32 noundef 1)
  %24 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %25 = 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 %24)
  store i16 %25, ptr %11, align 1
  %26 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %11)
  %27 = zext i1 %26 to i64
  %28 = select i1 %26, i32 0, i32 1
  %29 = load i32, ptr %1, align 4, !tbaa !5
  %30 = add nsw i32 %29, %28
  store i32 %30, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %31 = call <2 x float> @_ZN3glm3rowINS_3matILi2ELi4EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(32) %2, i32 noundef 1)
  store <2 x float> %31, ptr %15, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  call void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8) %16, i32 noundef 4, i32 noundef 5)
  %32 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %33 = 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 %32)
  store i16 %33, ptr %14, align 1
  %34 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %14)
  %35 = zext i1 %34 to i64
  %36 = select i1 %34, i32 0, i32 1
  %37 = load i32, ptr %1, align 4, !tbaa !5
  %38 = add nsw i32 %37, %36
  store i32 %38, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %39 = call <2 x float> @_ZN3glm3rowINS_3matILi2ELi4EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(32) %2, i32 noundef 2)
  store <2 x float> %39, ptr %18, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  call void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8) %19, i32 noundef 8, i32 noundef 9)
  %40 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %41 = call i16 @_ZN3glm5equalILi2EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef %40)
  store i16 %41, ptr %17, align 1
  %42 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %17)
  %43 = zext i1 %42 to i64
  %44 = select i1 %42, i32 0, i32 1
  %45 = load i32, ptr %1, align 4, !tbaa !5
  %46 = add nsw i32 %45, %44
  store i32 %46, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %47 = call <2 x float> @_ZN3glm3rowINS_3matILi2ELi4EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(32) %2, i32 noundef 3)
  store <2 x float> %47, ptr %21, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  call void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8) %22, i32 noundef 12, i32 noundef 13)
  %48 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %49 = call i16 @_ZN3glm5equalILi2EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef %48)
  store i16 %49, ptr %20, align 1
  %50 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %20)
  %51 = zext i1 %50 to i64
  %52 = select i1 %50, i32 0, i32 1
  %53 = load i32, ptr %1, align 4, !tbaa !5
  %54 = add nsw i32 %53, %52
  store i32 %54, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %20) #6
  %55 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret i32 %55
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZN3glm3rowINS_3matILi2ELi4EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(32), 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 32, !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.13" = type { [2 x %"struct.glm::vec.14"] }
%"struct.glm::vec.14" = type { %union.anon.15, %union.anon.16, %union.anon.17, %union.anon.18 }
%union.anon.15 = type { float }
%union.anon.16 = type { float }
%union.anon.17 = type { float }
%union.anon.18 = 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_mat2x4_row_setv.m = external hidden unnamed_addr constant %"struct.glm::mat.13", 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, 5) i32 @_Z19test_mat2x4_row_setv() local_unnamed_addr #4 {
  %1 = alloca %"struct.glm::mat.13", align 4
  %2 = alloca %"struct.glm::mat.13", align 4
  %3 = alloca %"struct.glm::vec", align 4
  %4 = alloca %"struct.glm::mat.13", align 4
  %5 = alloca %"struct.glm::vec", align 4
  %6 = alloca %"struct.glm::mat.13", align 4
  %7 = alloca %"struct.glm::vec", align 4
  %8 = alloca %"struct.glm::mat.13", align 4
  %9 = alloca %"struct.glm::vec", align 4
  %10 = alloca %"struct.glm::vec.1", align 2
  %11 = alloca %"struct.glm::vec", align 8
  %12 = alloca %"struct.glm::vec", align 4
  %13 = alloca %"struct.glm::vec.1", align 2
  %14 = alloca %"struct.glm::vec", align 8
  %15 = alloca %"struct.glm::vec", align 4
  %16 = alloca %"struct.glm::vec.1", align 2
  %17 = alloca %"struct.glm::vec", align 8
  %18 = alloca %"struct.glm::vec", align 4
  %19 = alloca %"struct.glm::vec.1", align 2
  %20 = alloca %"struct.glm::vec", align 8
  %21 = alloca %"struct.glm::vec", align 4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(32) %1, ptr noundef nonnull align 4 dereferenceable(32) @__const._Z19test_mat2x4_row_setv.m, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, 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_3matILi2ELi4EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat.13") align 4 %2, ptr noundef nonnull align 4 dereferenceable(32) %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(32) %1, ptr noundef nonnull align 4 dereferenceable(32) %2, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 32, 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_3matILi2ELi4EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat.13") align 4 %4, ptr noundef nonnull align 4 dereferenceable(32) %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(32) %1, ptr noundef nonnull align 4 dereferenceable(32) %4, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 32, 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_3matILi2ELi4EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat.13") align 4 %6, ptr noundef nonnull align 4 dereferenceable(32) %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(32) %1, ptr noundef nonnull align 4 dereferenceable(32) %6, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  call void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8) %9, i32 noundef 12, i32 noundef 13)
  call void @_ZN3glm3rowINS_3matILi2ELi4EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat.13") align 4 %8, ptr noundef nonnull align 4 dereferenceable(32) %1, i32 noundef 3, ptr noundef nonnull align 4 dereferenceable(8) %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(32) %1, ptr noundef nonnull align 4 dereferenceable(32) %8, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %22 = call <2 x float> @_ZN3glm3rowINS_3matILi2ELi4EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(32) %1, i32 noundef 0)
  store <2 x float> %22, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  call void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8) %12, i32 noundef 0, i32 noundef 1)
  %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) %11, ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef %23)
  store i16 %24, ptr %10, align 2
  %25 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %10)
  %not. = xor i1 %25, true
  %26 = zext i1 %not. to i32
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %27 = call <2 x float> @_ZN3glm3rowINS_3matILi2ELi4EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(32) %1, i32 noundef 1)
  store <2 x float> %27, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  call void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8) %15, i32 noundef 4, i32 noundef 5)
  %28 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %29 = call i16 @_ZN3glm5equalILi2EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %28)
  store i16 %29, ptr %13, align 2
  %30 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %13)
  %not.5 = xor i1 %30, true
  %31 = zext i1 %not.5 to i32
  %32 = add nuw nsw i32 %31, %26
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  %33 = call <2 x float> @_ZN3glm3rowINS_3matILi2ELi4EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(32) %1, i32 noundef 2)
  store <2 x float> %33, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #6
  call void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8) %18, i32 noundef 8, i32 noundef 9)
  %34 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %35 = call i16 @_ZN3glm5equalILi2EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef %34)
  store i16 %35, ptr %16, align 2
  %36 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %16)
  %not.6 = xor i1 %36, true
  %37 = zext i1 %not.6 to i32
  %38 = add nuw nsw i32 %32, %37
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %39 = call <2 x float> @_ZN3glm3rowINS_3matILi2ELi4EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(32) %1, i32 noundef 3)
  store <2 x float> %39, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #6
  call void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8) %21, i32 noundef 12, i32 noundef 13)
  %40 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %41 = call i16 @_ZN3glm5equalILi2EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(8) %21, float noundef %40)
  store i16 %41, ptr %19, align 2
  %42 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %19)
  %not.7 = xor i1 %42, true
  %43 = zext i1 %not.7 to i32
  %44 = add nuw nsw i32 %38, %43
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #6
  ret i32 %44
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm3rowINS_3matILi2ELi4EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind noalias writable sret(%"struct.glm::mat.13") align 4, ptr noundef nonnull align 4 dereferenceable(32), 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_3matILi2ELi4EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(32), 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 32, !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