; LLVM IR from Dovyski/opengl-demos :: libs/glm-0.9.9.3/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.18" = type { [2 x %"struct.glm::vec.19"] }
%"struct.glm::vec.19" = type { %union.anon.20 }
%union.anon.20 = type { %struct.anon.21 }
%struct.anon.21 = type { float, 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_mat2x4_row_setv() #4 {
  %1 = alloca i32, align 4
  %2 = alloca %"struct.glm::mat.18", align 4
  %3 = alloca %"struct.glm::mat.18", align 4
  %4 = alloca %"struct.glm::vec", align 4
  %5 = alloca %"struct.glm::mat.18", align 4
  %6 = alloca %"struct.glm::vec", align 4
  %7 = alloca %"struct.glm::mat.18", align 4
  %8 = alloca %"struct.glm::vec", align 4
  %9 = alloca %"struct.glm::mat.18", align 4
  %10 = alloca %"struct.glm::vec", align 4
  %11 = alloca %"struct.glm::vec.2", align 1
  %12 = alloca %"struct.glm::vec", align 4
  %13 = alloca %"struct.glm::vec", align 4
  %14 = alloca %"struct.glm::vec.2", align 1
  %15 = alloca %"struct.glm::vec", align 4
  %16 = alloca %"struct.glm::vec", align 4
  %17 = alloca %"struct.glm::vec.2", align 1
  %18 = alloca %"struct.glm::vec", align 4
  %19 = alloca %"struct.glm::vec", align 4
  %20 = alloca %"struct.glm::vec.2", 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 @_ZN3glm3matILi2ELi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(32) %2, float noundef 1.000000e+00)
  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.18") 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.18") 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.18") 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.18") 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)
  %24 = getelementptr inbounds %"struct.glm::vec", ptr %12, i32 0, i32 0
  %25 = getelementptr inbounds %union.anon, ptr %24, i32 0, i32 0
  store <2 x float> %23, ptr %25, 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)
  %26 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %27 = 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 %26)
  %28 = getelementptr inbounds %"struct.glm::vec.2", ptr %11, i32 0, i32 0
  %29 = getelementptr inbounds %union.anon.3, ptr %28, i32 0, i32 0
  store i16 %27, ptr %29, align 1
  %30 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %11)
  %31 = zext i1 %30 to i64
  %32 = select i1 %30, i32 0, i32 1
  %33 = load i32, ptr %1, align 4, !tbaa !5
  %34 = add nsw i32 %33, %32
  store i32 %34, 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
  %35 = call <2 x float> @_ZN3glm3rowINS_3matILi2ELi4EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(32) %2, i32 noundef 1)
  %36 = getelementptr inbounds %"struct.glm::vec", ptr %15, i32 0, i32 0
  %37 = getelementptr inbounds %union.anon, ptr %36, i32 0, i32 0
  store <2 x float> %35, ptr %37, 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)
  %38 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %39 = 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 %38)
  %40 = getelementptr inbounds %"struct.glm::vec.2", ptr %14, i32 0, i32 0
  %41 = getelementptr inbounds %union.anon.3, ptr %40, i32 0, i32 0
  store i16 %39, ptr %41, align 1
  %42 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %14)
  %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 %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
  %47 = call <2 x float> @_ZN3glm3rowINS_3matILi2ELi4EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(32) %2, i32 noundef 2)
  %48 = getelementptr inbounds %"struct.glm::vec", ptr %18, i32 0, i32 0
  %49 = getelementptr inbounds %union.anon, ptr %48, i32 0, i32 0
  store <2 x float> %47, ptr %49, 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)
  %50 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %51 = 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 %50)
  %52 = getelementptr inbounds %"struct.glm::vec.2", ptr %17, i32 0, i32 0
  %53 = getelementptr inbounds %union.anon.3, ptr %52, i32 0, i32 0
  store i16 %51, ptr %53, align 1
  %54 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %17)
  %55 = zext i1 %54 to i64
  %56 = select i1 %54, i32 0, i32 1
  %57 = load i32, ptr %1, align 4, !tbaa !5
  %58 = add nsw i32 %57, %56
  store i32 %58, 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
  %59 = call <2 x float> @_ZN3glm3rowINS_3matILi2ELi4EfLNS_9qualifierE0EEEEENT_8row_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(32) %2, i32 noundef 3)
  %60 = getelementptr inbounds %"struct.glm::vec", ptr %21, i32 0, i32 0
  %61 = getelementptr inbounds %union.anon, ptr %60, i32 0, i32 0
  store <2 x float> %59, ptr %61, 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)
  %62 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %63 = 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 %62)
  %64 = getelementptr inbounds %"struct.glm::vec.2", ptr %20, i32 0, i32 0
  %65 = getelementptr inbounds %union.anon.3, ptr %64, i32 0, i32 0
  store i16 %63, ptr %65, align 1
  %66 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %20)
  %67 = zext i1 %66 to i64
  %68 = select i1 %66, i32 0, i32 1
  %69 = load i32, ptr %1, align 4, !tbaa !5
  %70 = add nsw i32 %69, %68
  store i32 %70, 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
  %71 = 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 %71
}

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

; 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.18") 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 = { 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 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.18" = type { [2 x %"struct.glm::vec.19"] }
%"struct.glm::vec.19" = type { %union.anon.20 }
%union.anon.20 = type { %struct.anon.21 }
%struct.anon.21 = type { float, 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, 5) i32 @_Z19test_mat2x4_row_setv() local_unnamed_addr #4 {
  %1 = alloca %"struct.glm::mat.18", align 4
  %2 = alloca %"struct.glm::mat.18", align 4
  %3 = alloca %"struct.glm::vec", align 4
  %4 = alloca %"struct.glm::mat.18", align 4
  %5 = alloca %"struct.glm::vec", align 4
  %6 = alloca %"struct.glm::mat.18", align 4
  %7 = alloca %"struct.glm::vec", align 4
  %8 = alloca %"struct.glm::mat.18", align 4
  %9 = alloca %"struct.glm::vec", align 4
  %10 = alloca %"struct.glm::vec.2", align 2
  %11 = alloca %"struct.glm::vec", align 8
  %12 = alloca %"struct.glm::vec", align 4
  %13 = alloca %"struct.glm::vec.2", align 2
  %14 = alloca %"struct.glm::vec", align 8
  %15 = alloca %"struct.glm::vec", align 4
  %16 = alloca %"struct.glm::vec.2", align 2
  %17 = alloca %"struct.glm::vec", align 8
  %18 = alloca %"struct.glm::vec", align 4
  %19 = alloca %"struct.glm::vec.2", 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 @_ZN3glm3matILi2ELi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(32) %1, float noundef 1.000000e+00)
  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.18") 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.18") 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.18") 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.18") 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 @_ZN3glm3matILi2ELi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(32), float noundef) unnamed_addr #3 align 2

; 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.18") 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 = { 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 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