; LLVM IR from jpvt/Computer_Graphics :: Assignment #3/third_party/glm/test/gtc/gtc_matrix_access.ll (Z19test_mat4x4_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.29" = type { [4 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.19" = type { %union.anon.20, %union.anon.21, %union.anon.22, %union.anon.23 }
%union.anon.20 = type { i8 }
%union.anon.21 = type { i8 }
%union.anon.22 = type { i8 }
%union.anon.23 = 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 @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2IiiiiEET_T0_T1_T2_(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i32 noundef, i32 noundef, i32 noundef) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4)) #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN3glm6columnINS_3matILi4ELi4EfLNS_9qualifierE0EEEEENT_8col_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(64), 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 64, !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.29" = type { [4 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.19" = type { %union.anon.20, %union.anon.21, %union.anon.22, %union.anon.23 }
%union.anon.20 = type { i8 }
%union.anon.21 = type { i8 }
%union.anon.22 = type { i8 }
%union.anon.23 = 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 @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2IiiiiEET_T0_T1_T2_(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i32 noundef, i32 noundef, i32 noundef) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN3glm5equalILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), 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_mat4x4_col_setv() local_unnamed_addr #5 {
  %1 = alloca %"struct.glm::mat.29", align 4
  %2 = alloca %"struct.glm::mat.29", align 4
  %3 = alloca %"struct.glm::vec.14", align 4
  %4 = alloca %"struct.glm::mat.29", align 4
  %5 = alloca %"struct.glm::vec.14", align 4
  %6 = alloca %"struct.glm::mat.29", align 4
  %7 = alloca %"struct.glm::vec.14", align 4
  %8 = alloca %"struct.glm::mat.29", align 4
  %9 = alloca %"struct.glm::vec.14", align 4
  %10 = alloca %"struct.glm::vec.19", align 4
  %11 = alloca %"struct.glm::vec.14", align 8
  %12 = alloca %"struct.glm::vec.14", align 4
  %13 = alloca %"struct.glm::vec.19", align 4
  %14 = alloca %"struct.glm::vec.14", align 8
  %15 = alloca %"struct.glm::vec.14", align 4
  %16 = alloca %"struct.glm::vec.19", align 4
  %17 = alloca %"struct.glm::vec.14", align 8
  %18 = alloca %"struct.glm::vec.14", align 4
  %19 = alloca %"struct.glm::vec.19", align 4
  %20 = alloca %"struct.glm::vec.14", align 8
  %21 = alloca %"struct.glm::vec.14", align 4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #6
  %22 = getelementptr inbounds i8, ptr %1, i64 4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %22, i8 0, i64 56, 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
  %25 = getelementptr inbounds i8, ptr %1, i64 60
  store float 1.000000e+00, ptr %25, align 4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2IiiiiEET_T0_T1_T2_(ptr noundef nonnull align 4 dereferenceable(16) %3, i32 noundef 0, i32 noundef 1, i32 noundef 2, i32 noundef 3)
  call void @_ZN3glm6columnINS_3matILi4ELi4EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8col_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat.29") align 4 %2, ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(16) %3)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %1, ptr noundef nonnull align 4 dereferenceable(64) %2, i64 64, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2IiiiiEET_T0_T1_T2_(ptr noundef nonnull align 4 dereferenceable(16) %5, i32 noundef 4, i32 noundef 5, i32 noundef 6, i32 noundef 7)
  call void @_ZN3glm6columnINS_3matILi4ELi4EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8col_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat.29") align 4 %4, ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 1, ptr noundef nonnull align 4 dereferenceable(16) %5)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %1, ptr noundef nonnull align 4 dereferenceable(64) %4, i64 64, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2IiiiiEET_T0_T1_T2_(ptr noundef nonnull align 4 dereferenceable(16) %7, i32 noundef 8, i32 noundef 9, i32 noundef 10, i32 noundef 11)
  call void @_ZN3glm6columnINS_3matILi4ELi4EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8col_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat.29") align 4 %6, ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 2, ptr noundef nonnull align 4 dereferenceable(16) %7)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %1, ptr noundef nonnull align 4 dereferenceable(64) %6, i64 64, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2IiiiiEET_T0_T1_T2_(ptr noundef nonnull align 4 dereferenceable(16) %9, i32 noundef 12, i32 noundef 13, i32 noundef 14, i32 noundef 15)
  call void @_ZN3glm6columnINS_3matILi4ELi4EfLNS_9qualifierE0EEEEET_RKS4_iRKNS4_8col_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat.29") align 4 %8, ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 3, ptr noundef nonnull align 4 dereferenceable(16) %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %1, ptr noundef nonnull align 4 dereferenceable(64) %8, i64 64, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #6
  %26 = call { <2 x float>, <2 x float> } @_ZN3glm6columnINS_3matILi4ELi4EfLNS_9qualifierE0EEEEENT_8col_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 0)
  %27 = extractvalue { <2 x float>, <2 x float> } %26, 0
  store <2 x float> %27, ptr %11, align 8
  %28 = getelementptr inbounds i8, ptr %11, i64 8
  %29 = extractvalue { <2 x float>, <2 x float> } %26, 1
  store <2 x float> %29, ptr %28, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2IiiiiEET_T0_T1_T2_(ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef 0, i32 noundef 1, i32 noundef 2, i32 noundef 3)
  %30 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %31 = call i32 @_ZN3glm5equalILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(16) %12, float noundef %30)
  store i32 %31, ptr %10, align 4
  %32 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %10)
  %not. = xor i1 %32, true
  %33 = zext i1 %not. to i32
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #6
  %34 = call { <2 x float>, <2 x float> } @_ZN3glm6columnINS_3matILi4ELi4EfLNS_9qualifierE0EEEEENT_8col_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 1)
  %35 = extractvalue { <2 x float>, <2 x float> } %34, 0
  store <2 x float> %35, ptr %14, align 8
  %36 = getelementptr inbounds i8, ptr %14, i64 8
  %37 = extractvalue { <2 x float>, <2 x float> } %34, 1
  store <2 x float> %37, ptr %36, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #6
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2IiiiiEET_T0_T1_T2_(ptr noundef nonnull align 4 dereferenceable(16) %15, i32 noundef 4, i32 noundef 5, i32 noundef 6, i32 noundef 7)
  %38 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %39 = call i32 @_ZN3glm5equalILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(16) %15, float noundef %38)
  store i32 %39, ptr %13, align 4
  %40 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %13)
  %not.5 = xor i1 %40, true
  %41 = zext i1 %not.5 to i32
  %42 = add nuw nsw i32 %41, %33
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #6
  %43 = call { <2 x float>, <2 x float> } @_ZN3glm6columnINS_3matILi4ELi4EfLNS_9qualifierE0EEEEENT_8col_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 2)
  %44 = extractvalue { <2 x float>, <2 x float> } %43, 0
  store <2 x float> %44, ptr %17, align 8
  %45 = getelementptr inbounds i8, ptr %17, i64 8
  %46 = extractvalue { <2 x float>, <2 x float> } %43, 1
  store <2 x float> %46, ptr %45, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #6
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2IiiiiEET_T0_T1_T2_(ptr noundef nonnull align 4 dereferenceable(16) %18, i32 noundef 8, i32 noundef 9, i32 noundef 10, i32 noundef 11)
  %47 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %48 = call i32 @_ZN3glm5equalILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(16) %17, ptr noundef nonnull align 4 dereferenceable(16) %18, float noundef %47)
  store i32 %48, ptr %16, align 4
  %49 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %16)
  %not.6 = xor i1 %49, true
  %50 = zext i1 %not.6 to i32
  %51 = add nuw nsw i32 %42, %50
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #6
  %52 = call { <2 x float>, <2 x float> } @_ZN3glm6columnINS_3matILi4ELi4EfLNS_9qualifierE0EEEEENT_8col_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 3)
  %53 = extractvalue { <2 x float>, <2 x float> } %52, 0
  store <2 x float> %53, ptr %20, align 8
  %54 = getelementptr inbounds i8, ptr %20, i64 8
  %55 = extractvalue { <2 x float>, <2 x float> } %52, 1
  store <2 x float> %55, ptr %54, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #6
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2IiiiiEET_T0_T1_T2_(ptr noundef nonnull align 4 dereferenceable(16) %21, i32 noundef 12, i32 noundef 13, i32 noundef 14, i32 noundef 15)
  %56 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %57 = call i32 @_ZN3glm5equalILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(16) %20, ptr noundef nonnull align 4 dereferenceable(16) %21, float noundef %56)
  store i32 %57, ptr %19, align 4
  %58 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %19)
  %not.7 = xor i1 %58, true
  %59 = zext i1 %not.7 to i32
  %60 = add nuw nsw i32 %51, %59
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #6
  ret i32 %60
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN3glm6columnINS_3matILi4ELi4EfLNS_9qualifierE0EEEEENT_8col_typeERKS4_i(ptr noundef nonnull align 4 dereferenceable(64), 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 64, !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