; LLVM IR from Dovyski/opengl-demos :: libs/glm-0.9.9.3/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.7" = type { [2 x %"struct.glm::vec.8"] }
%"struct.glm::vec.8" = type { %union.anon.9 }
%union.anon.9 = type { %struct.anon.10 }
%struct.anon.10 = type { float, float, float }
%"struct.glm::vec" = type { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { float, float }
%"struct.glm::vec.2" = type { %union.anon.3 }
%union.anon.3 = type { %struct.anon.4 }
%struct.anon.4 = type { i8, i8 }

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

; 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 #1 align 2

; 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) #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() #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z19test_mat2x3_row_setv() #4 {
  %1 = alloca i32, align 4
  %2 = alloca %"struct.glm::mat.7", align 4
  %3 = alloca %"struct.glm::mat.7", align 4
  %4 = alloca %"struct.glm::vec", align 4
  %5 = alloca %"struct.glm::mat.7", align 4
  %6 = alloca %"struct.glm::vec", align 4
  %7 = alloca %"struct.glm::mat.7", align 4
  %8 = alloca %"struct.glm::vec", align 4
  %9 = alloca %"struct.glm::vec.2", align 1
  %10 = alloca %"struct.glm::vec", align 4
  %11 = alloca %"struct.glm::vec", align 4
  %12 = alloca %"struct.glm::vec.2", align 1
  %13 = alloca %"struct.glm::vec", align 4
  %14 = alloca %"struct.glm::vec", align 4
  %15 = alloca %"struct.glm::vec.2", 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 @_ZN3glm3matILi2ELi3EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(24) %2, float noundef 1.000000e+00)
  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.7") 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.7") 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.7") 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)
  %19 = getelementptr inbounds %"struct.glm::vec", ptr %10, i32 0, i32 0
  %20 = getelementptr inbounds %union.anon, ptr %19, i32 0, i32 0
  store <2 x float> %18, ptr %20, 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)
  %21 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %22 = 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 %21)
  %23 = getelementptr inbounds %"struct.glm::vec.2", ptr %9, i32 0, i32 0
  %24 = getelementptr inbounds %union.anon.3, ptr %23, i32 0, i32 0
  store i16 %22, ptr %24, align 1
  %25 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %9)
  %26 = zext i1 %25 to i64
  %27 = select i1 %25, i32 0, i32 1
  %28 = load i32, ptr %1, align 4, !tbaa !5
  %29 = add nsw i32 %28, %27
  store i32 %29, 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
  %30 = call <2 x float> @_ZN3glm3rowINS_3matILi2ELi3EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(24) %2, i32 noundef 1)
  %31 = getelementptr inbounds %"struct.glm::vec", ptr %13, i32 0, i32 0
  %32 = getelementptr inbounds %union.anon, ptr %31, i32 0, i32 0
  store <2 x float> %30, ptr %32, 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)
  %33 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %34 = 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 %33)
  %35 = getelementptr inbounds %"struct.glm::vec.2", ptr %12, i32 0, i32 0
  %36 = getelementptr inbounds %union.anon.3, ptr %35, i32 0, i32 0
  store i16 %34, ptr %36, align 1
  %37 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %12)
  %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 %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
  %42 = call <2 x float> @_ZN3glm3rowINS_3matILi2ELi3EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(24) %2, i32 noundef 2)
  %43 = getelementptr inbounds %"struct.glm::vec", ptr %16, i32 0, i32 0
  %44 = getelementptr inbounds %union.anon, ptr %43, i32 0, i32 0
  store <2 x float> %42, ptr %44, 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)
  %45 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %46 = 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 %45)
  %47 = getelementptr inbounds %"struct.glm::vec.2", ptr %15, i32 0, i32 0
  %48 = getelementptr inbounds %union.anon.3, ptr %47, i32 0, i32 0
  store i16 %46, ptr %48, align 1
  %49 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %15)
  %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 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
  %54 = 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 %54
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm3matILi2ELi3EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(24), float noundef) unnamed_addr #3 align 2

; 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.7") 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 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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.7" = type { [2 x %"struct.glm::vec.8"] }
%"struct.glm::vec.8" = type { %union.anon.9 }
%union.anon.9 = type { %struct.anon.10 }
%struct.anon.10 = type { float, float, float }
%"struct.glm::vec" = type { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { float, float }
%"struct.glm::vec.2" = type { %union.anon.3 }
%union.anon.3 = type { %struct.anon.4 }
%struct.anon.4 = type { i8, 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm3vecILi2EfLNS_9qualifierE0EEC2IiiEET_T0_(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, i32 noundef) unnamed_addr #1 align 2

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

; 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.7", align 4
  %2 = alloca %"struct.glm::mat.7", align 4
  %3 = alloca %"struct.glm::vec", align 4
  %4 = alloca %"struct.glm::mat.7", align 4
  %5 = alloca %"struct.glm::vec", align 4
  %6 = alloca %"struct.glm::mat.7", align 4
  %7 = alloca %"struct.glm::vec", align 4
  %8 = alloca %"struct.glm::vec.2", align 2
  %9 = alloca %"struct.glm::vec", align 8
  %10 = alloca %"struct.glm::vec", align 4
  %11 = alloca %"struct.glm::vec.2", align 2
  %12 = alloca %"struct.glm::vec", align 8
  %13 = alloca %"struct.glm::vec", align 4
  %14 = alloca %"struct.glm::vec.2", 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 @_ZN3glm3matILi2ELi3EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(24) %1, float noundef 1.000000e+00)
  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.7") 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.7") 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.7") 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 @_ZN3glm3matILi2ELi3EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(24), float noundef) unnamed_addr #3 align 2

; 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.7") 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 = { 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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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