; LLVM IR from jpvt/Computer_Graphics :: Assignment #3/third_party/glm/test/gtc/gtc_matrix_access.ll (Z19test_mat3x4_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.26" = type { [3 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.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.9" = type { %union.anon.10, %union.anon.11, %union.anon.12 }
%union.anon.10 = type { i8 }
%union.anon.11 = type { i8 }
%union.anon.12 = type { i8 }

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

; Function Attrs: nocallback nofree 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: 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 noundef float @_ZN3glm7epsilonIfEET_v() #2

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z19test_mat3x4_row_setv() #5 {
  %1 = alloca i32, align 4
  %2 = alloca %"struct.glm::mat.26", align 4
  %3 = alloca %"struct.glm::mat.26", align 4
  %4 = alloca %"struct.glm::vec.5", align 4
  %5 = alloca %"struct.glm::mat.26", align 4
  %6 = alloca %"struct.glm::vec.5", align 4
  %7 = alloca %"struct.glm::mat.26", align 4
  %8 = alloca %"struct.glm::vec.5", align 4
  %9 = alloca %"struct.glm::mat.26", align 4
  %10 = alloca %"struct.glm::vec.5", align 4
  %11 = alloca %"struct.glm::vec.9", align 1
  %12 = alloca %"struct.glm::vec.5", align 4
  %13 = alloca { <2 x float>, float }, align 8
  %14 = alloca %"struct.glm::vec.5", align 4
  %15 = alloca %"struct.glm::vec.9", align 1
  %16 = alloca %"struct.glm::vec.5", align 4
  %17 = alloca { <2 x float>, float }, align 8
  %18 = alloca %"struct.glm::vec.5", align 4
  %19 = alloca %"struct.glm::vec.9", align 1
  %20 = alloca %"struct.glm::vec.5", align 4
  %21 = alloca { <2 x float>, float }, align 8
  %22 = alloca %"struct.glm::vec.5", align 4
  %23 = alloca %"struct.glm::vec.9", align 1
  %24 = alloca %"struct.glm::vec.5", align 4
  %25 = alloca { <2 x float>, float }, align 8
  %26 = alloca %"struct.glm::vec.5", 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 48, ptr %2) #6
  call void @llvm.memset.p0.i64(ptr align 4 %2, i8 0, i64 48, i1 false)
  %27 = getelementptr inbounds %"struct.glm::mat.26", ptr %2, i32 0, i32 0
  %28 = getelementptr inbounds [3 x %"struct.glm::vec.14"], ptr %27, i32 0, i32 0
  %29 = getelementptr inbounds %"struct.glm::vec.14", ptr %28, i32 0, i32 0
  %30 = getelementptr inbounds %union.anon.15, ptr %29, i32 0, i32 0
  store float 1.000000e+00, ptr %30, align 4
  %31 = getelementptr inbounds [3 x %"struct.glm::vec.14"], ptr %27, i32 0, i32 1
  %32 = getelementptr inbounds %"struct.glm::vec.14", ptr %31, i32 0, i32 1
  %33 = getelementptr inbounds %union.anon.16, ptr %32, i32 0, i32 0
  store float 1.000000e+00, ptr %33, align 4
  %34 = getelementptr inbounds [3 x %"struct.glm::vec.14"], ptr %27, i32 0, i32 2
  %35 = getelementptr inbounds %"struct.glm::vec.14", ptr %34, i32 0, i32 2
  %36 = getelementptr inbounds %union.anon.17, ptr %35, i32 0, i32 0
  store float 1.000000e+00, ptr %36, align 4
  call void @llvm.lifetime.start.p0(i64 48, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %4) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %4, i32 noundef 0, i32 noundef 1, i32 noundef 2)
  call void @_ZN3glm3rowINS_3matILi3ELi4EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind writable sret(%"struct.glm::mat.26") align 4 %3, ptr noundef nonnull align 4 dereferenceable(48) %2, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(12) %4)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 %3, i64 48, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 12, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %6) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %6, i32 noundef 4, i32 noundef 5, i32 noundef 6)
  call void @_ZN3glm3rowINS_3matILi3ELi4EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind writable sret(%"struct.glm::mat.26") align 4 %5, ptr noundef nonnull align 4 dereferenceable(48) %2, i32 noundef 1, ptr noundef nonnull align 4 dereferenceable(12) %6)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 %5, i64 48, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 12, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %8) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %8, i32 noundef 8, i32 noundef 9, i32 noundef 10)
  call void @_ZN3glm3rowINS_3matILi3ELi4EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind writable sret(%"struct.glm::mat.26") align 4 %7, ptr noundef nonnull align 4 dereferenceable(48) %2, i32 noundef 2, ptr noundef nonnull align 4 dereferenceable(12) %8)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 %7, i64 48, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 12, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %10) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %10, i32 noundef 12, i32 noundef 13, i32 noundef 14)
  call void @_ZN3glm3rowINS_3matILi3ELi4EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind writable sret(%"struct.glm::mat.26") align 4 %9, ptr noundef nonnull align 4 dereferenceable(48) %2, i32 noundef 3, ptr noundef nonnull align 4 dereferenceable(12) %10)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 %9, i64 48, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 12, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 3, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %12) #6
  %37 = call { <2 x float>, float } @_ZN3glm3rowINS_3matILi3ELi4EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(48) %2, i32 noundef 0)
  store { <2 x float>, float } %37, ptr %13, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 8 %13, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %14) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %14, i32 noundef 0, i32 noundef 1, i32 noundef 2)
  %38 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %39 = call i24 @_ZN3glm5equalILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(12) %12, ptr noundef nonnull align 4 dereferenceable(12) %14, float noundef %38)
  store i24 %39, ptr %11, align 1
  %40 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %11)
  %41 = zext i1 %40 to i64
  %42 = select i1 %40, i32 0, i32 1
  %43 = load i32, ptr %1, align 4, !tbaa !5
  %44 = add nsw i32 %43, %42
  store i32 %44, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 3, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %16) #6
  %45 = call { <2 x float>, float } @_ZN3glm3rowINS_3matILi3ELi4EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(48) %2, i32 noundef 1)
  store { <2 x float>, float } %45, ptr %17, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 8 %17, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %18) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %18, i32 noundef 4, i32 noundef 5, i32 noundef 6)
  %46 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %47 = call i24 @_ZN3glm5equalILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %18, float noundef %46)
  store i24 %47, ptr %15, align 1
  %48 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %15)
  %49 = zext i1 %48 to i64
  %50 = select i1 %48, i32 0, i32 1
  %51 = load i32, ptr %1, align 4, !tbaa !5
  %52 = add nsw i32 %51, %50
  store i32 %52, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 3, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %20) #6
  %53 = call { <2 x float>, float } @_ZN3glm3rowINS_3matILi3ELi4EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(48) %2, i32 noundef 2)
  store { <2 x float>, float } %53, ptr %21, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 8 %21, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %22) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %22, i32 noundef 8, i32 noundef 9, i32 noundef 10)
  %54 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %55 = call i24 @_ZN3glm5equalILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(12) %20, ptr noundef nonnull align 4 dereferenceable(12) %22, float noundef %54)
  store i24 %55, ptr %19, align 1
  %56 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %19)
  %57 = zext i1 %56 to i64
  %58 = select i1 %56, i32 0, i32 1
  %59 = load i32, ptr %1, align 4, !tbaa !5
  %60 = add nsw i32 %59, %58
  store i32 %60, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 12, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 3, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %24) #6
  %61 = call { <2 x float>, float } @_ZN3glm3rowINS_3matILi3ELi4EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(48) %2, i32 noundef 3)
  store { <2 x float>, float } %61, ptr %25, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 8 %25, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %26) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %26, i32 noundef 12, i32 noundef 13, i32 noundef 14)
  %62 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %63 = call i24 @_ZN3glm5equalILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(12) %24, ptr noundef nonnull align 4 dereferenceable(12) %26, float noundef %62)
  store i24 %63, ptr %23, align 1
  %64 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %23)
  %65 = zext i1 %64 to i64
  %66 = select i1 %64, i32 0, i32 1
  %67 = load i32, ptr %1, align 4, !tbaa !5
  %68 = add nsw i32 %67, %66
  store i32 %68, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 12, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr %23) #6
  %69 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 48, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret i32 %69
}

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

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

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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 48, !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.26" = type { [3 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.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.9" = type { %union.anon.10, %union.anon.11, %union.anon.12 }
%union.anon.10 = type { i8 }
%union.anon.11 = type { i8 }
%union.anon.12 = type { i8 }

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

; Function Attrs: mustprogress nocallback nofree 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: 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 noundef float @_ZN3glm7epsilonIfEET_v() local_unnamed_addr #2

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

; 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 #3

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 5) i32 @_Z19test_mat3x4_row_setv() local_unnamed_addr #5 {
  %1 = alloca %"struct.glm::mat.26", align 4
  %2 = alloca %"struct.glm::mat.26", align 4
  %3 = alloca %"struct.glm::vec.5", align 4
  %4 = alloca %"struct.glm::mat.26", align 4
  %5 = alloca %"struct.glm::vec.5", align 4
  %6 = alloca %"struct.glm::mat.26", align 4
  %7 = alloca %"struct.glm::vec.5", align 4
  %8 = alloca %"struct.glm::mat.26", align 4
  %9 = alloca %"struct.glm::vec.5", align 4
  %10 = alloca %"struct.glm::vec.9", align 4
  %11 = alloca %"struct.glm::vec.5", align 8
  %12 = alloca %"struct.glm::vec.5", align 4
  %13 = alloca %"struct.glm::vec.9", align 4
  %14 = alloca %"struct.glm::vec.5", align 8
  %15 = alloca %"struct.glm::vec.5", align 4
  %16 = alloca %"struct.glm::vec.9", align 4
  %17 = alloca %"struct.glm::vec.5", align 8
  %18 = alloca %"struct.glm::vec.5", align 4
  %19 = alloca %"struct.glm::vec.9", align 4
  %20 = alloca %"struct.glm::vec.5", align 8
  %21 = alloca %"struct.glm::vec.5", align 4
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %1) #6
  %22 = getelementptr inbounds i8, ptr %1, i64 4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(48) %22, i8 0, i64 44, i1 false)
  store float 1.000000e+00, ptr %1, align 4
  %23 = getelementptr inbounds i8, ptr %1, i64 20
  store float 1.000000e+00, ptr %23, align 4
  %24 = getelementptr inbounds i8, ptr %1, i64 40
  store float 1.000000e+00, ptr %24, align 4
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %3, i32 noundef 0, i32 noundef 1, i32 noundef 2)
  call void @_ZN3glm3rowINS_3matILi3ELi4EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat.26") align 4 %2, ptr noundef nonnull align 4 dereferenceable(48) %1, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(12) %3)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(48) %2, i64 48, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %5, i32 noundef 4, i32 noundef 5, i32 noundef 6)
  call void @_ZN3glm3rowINS_3matILi3ELi4EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat.26") align 4 %4, ptr noundef nonnull align 4 dereferenceable(48) %1, i32 noundef 1, ptr noundef nonnull align 4 dereferenceable(12) %5)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(48) %4, i64 48, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %7, i32 noundef 8, i32 noundef 9, i32 noundef 10)
  call void @_ZN3glm3rowINS_3matILi3ELi4EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat.26") align 4 %6, ptr noundef nonnull align 4 dereferenceable(48) %1, i32 noundef 2, ptr noundef nonnull align 4 dereferenceable(12) %7)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(48) %6, i64 48, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %9, i32 noundef 12, i32 noundef 13, i32 noundef 14)
  call void @_ZN3glm3rowINS_3matILi3ELi4EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8row_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat.26") align 4 %8, ptr noundef nonnull align 4 dereferenceable(48) %1, i32 noundef 3, ptr noundef nonnull align 4 dereferenceable(12) %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(48) %8, i64 48, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #6
  %25 = call { <2 x float>, float } @_ZN3glm3rowINS_3matILi3ELi4EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(48) %1, i32 noundef 0)
  %.fca.0.extract9 = extractvalue { <2 x float>, float } %25, 0
  %.fca.1.extract10 = extractvalue { <2 x float>, float } %25, 1
  store <2 x float> %.fca.0.extract9, ptr %11, align 8
  %.sroa.212.0..sroa_idx = getelementptr inbounds i8, ptr %11, i64 8
  store float %.fca.1.extract10, ptr %.sroa.212.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %12) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %12, i32 noundef 0, i32 noundef 1, i32 noundef 2)
  %26 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %27 = call i24 @_ZN3glm5equalILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(12) %11, ptr noundef nonnull align 4 dereferenceable(12) %12, float noundef %26)
  store i24 %27, ptr %10, align 4
  %28 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %10)
  %not. = xor i1 %28, true
  %29 = zext i1 %not. to i32
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %14) #6
  %30 = call { <2 x float>, float } @_ZN3glm3rowINS_3matILi3ELi4EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(48) %1, i32 noundef 1)
  %.fca.0.extract5 = extractvalue { <2 x float>, float } %30, 0
  %.fca.1.extract6 = extractvalue { <2 x float>, float } %30, 1
  store <2 x float> %.fca.0.extract5, ptr %14, align 8
  %.sroa.28.0..sroa_idx = getelementptr inbounds i8, ptr %14, i64 8
  store float %.fca.1.extract6, ptr %.sroa.28.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %15) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %15, i32 noundef 4, i32 noundef 5, i32 noundef 6)
  %31 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %32 = call i24 @_ZN3glm5equalILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(12) %14, ptr noundef nonnull align 4 dereferenceable(12) %15, float noundef %31)
  store i24 %32, ptr %13, align 4
  %33 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %13)
  %not.17 = xor i1 %33, true
  %34 = zext i1 %not.17 to i32
  %35 = add nuw nsw i32 %34, %29
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %17) #6
  %36 = call { <2 x float>, float } @_ZN3glm3rowINS_3matILi3ELi4EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(48) %1, i32 noundef 2)
  %.fca.0.extract1 = extractvalue { <2 x float>, float } %36, 0
  %.fca.1.extract2 = extractvalue { <2 x float>, float } %36, 1
  store <2 x float> %.fca.0.extract1, ptr %17, align 8
  %.sroa.24.0..sroa_idx = getelementptr inbounds i8, ptr %17, i64 8
  store float %.fca.1.extract2, ptr %.sroa.24.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %18) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %18, i32 noundef 8, i32 noundef 9, i32 noundef 10)
  %37 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %38 = call i24 @_ZN3glm5equalILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %18, float noundef %37)
  store i24 %38, ptr %16, align 4
  %39 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %16)
  %not.18 = xor i1 %39, true
  %40 = zext i1 %not.18 to i32
  %41 = add nuw nsw i32 %35, %40
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %20) #6
  %42 = call { <2 x float>, float } @_ZN3glm3rowINS_3matILi3ELi4EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(48) %1, i32 noundef 3)
  %.fca.0.extract = extractvalue { <2 x float>, float } %42, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %42, 1
  store <2 x float> %.fca.0.extract, ptr %20, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %20, i64 8
  store float %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %21) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %21, i32 noundef 12, i32 noundef 13, i32 noundef 14)
  %43 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %44 = call i24 @_ZN3glm5equalILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(12) %20, ptr noundef nonnull align 4 dereferenceable(12) %21, float noundef %43)
  store i24 %44, ptr %19, align 4
  %45 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %19)
  %not.19 = xor i1 %45, true
  %46 = zext i1 %not.19 to i32
  %47 = add nuw nsw i32 %41, %46
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %1) #6
  ret i32 %47
}

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

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

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 nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 48, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


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