; LLVM IR from Dovyski/opengl-demos :: libs/glm-0.9.9.3/test/gtc/gtc_matrix_access.ll (Z19test_mat4x3_col_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.33" = type { [4 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.13" = type { %union.anon.14 }
%union.anon.14 = type { %struct.anon.15 }
%struct.anon.15 = type { i8, 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: 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: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm3matILi4ELi3EfLNS_9qualifierE0EEC2ERKf(ptr noundef nonnull align 4 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #3 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glm6columnINS_3matILi4ELi3EfLNS_9qualifierE0EEEEENT_8col_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 = { 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 = { 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 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{i64 0, i64 48, !12}
!12 = !{!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.33" = type { [4 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.13" = type { %union.anon.14 }
%union.anon.14 = type { %struct.anon.15 }
%struct.anon.15 = type { i8, 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: 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: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm3matILi4ELi3EfLNS_9qualifierE0EEC2ERKf(ptr noundef nonnull align 4 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #3 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glm6columnINS_3matILi4ELi3EfLNS_9qualifierE0EEEEENT_8col_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 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 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i64 0, i64 48, !10}
!10 = !{!7, !7, i64 0}


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