; LLVM IR from jpvt/Computer_Graphics :: Assignment #3/third_party/glm/test/gtc/gtc_type_ptr.ll (Z18test_value_ptr_matv)

; 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" = type { [2 x %"struct.glm::vec"] }
%"struct.glm::vec" = type { %union.anon, %union.anon.0 }
%union.anon = type { float }
%union.anon.0 = type { float }
%"struct.glm::mat.22" = type { [2 x %"struct.glm::vec.1"] }
%"struct.glm::vec.1" = type { %union.anon.2, %union.anon.3, %union.anon.4 }
%union.anon.2 = type { float }
%union.anon.3 = type { float }
%union.anon.4 = type { float }
%"struct.glm::mat.23" = type { [2 x %"struct.glm::vec.5"] }
%"struct.glm::vec.5" = type { %union.anon.6, %union.anon.7, %union.anon.8, %union.anon.9 }
%union.anon.6 = type { float }
%union.anon.7 = type { float }
%union.anon.8 = type { float }
%union.anon.9 = type { float }
%"struct.glm::mat.24" = type { [3 x %"struct.glm::vec"] }
%"struct.glm::mat.27" = type { [4 x %"struct.glm::vec"] }
%"struct.glm::mat.25" = type { [3 x %"struct.glm::vec.1"] }
%"struct.glm::mat.26" = type { [3 x %"struct.glm::vec.5"] }
%"struct.glm::mat.28" = type { [4 x %"struct.glm::vec.1"] }
%"struct.glm::mat.29" = type { [4 x %"struct.glm::vec.5"] }

@__const._Z18test_value_ptr_matv.m = external hidden unnamed_addr constant %"struct.glm::mat", align 4
@__const._Z18test_value_ptr_matv.m.11 = external hidden unnamed_addr constant %"struct.glm::mat.22", align 4
@__const._Z18test_value_ptr_matv.m.12 = external hidden unnamed_addr constant %"struct.glm::mat.23", align 4
@__const._Z18test_value_ptr_matv.m.13 = external hidden unnamed_addr constant %"struct.glm::mat.24", align 4
@__const._Z18test_value_ptr_matv.m.14 = external hidden unnamed_addr constant %"struct.glm::mat.27", align 4

; 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: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef) #2 align 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 nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z18test_value_ptr_matv() #3 {
  %1 = alloca i32, align 4
  %2 = alloca %"struct.glm::mat", align 4
  %3 = alloca ptr, align 8
  %4 = alloca %"struct.glm::mat.22", align 4
  %5 = alloca ptr, align 8
  %6 = alloca %"struct.glm::mat.23", align 4
  %7 = alloca ptr, align 8
  %8 = alloca %"struct.glm::mat.24", align 4
  %9 = alloca ptr, align 8
  %10 = alloca %"struct.glm::mat.25", align 4
  %11 = alloca ptr, align 8
  %12 = alloca %"struct.glm::mat.26", align 4
  %13 = alloca ptr, align 8
  %14 = alloca %"struct.glm::mat.27", align 4
  %15 = alloca ptr, align 8
  %16 = alloca %"struct.glm::mat.28", align 4
  %17 = alloca ptr, align 8
  %18 = alloca %"struct.glm::mat.29", align 4
  %19 = alloca ptr, align 8
  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 16, ptr %2) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const._Z18test_value_ptr_matv.m, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %20 = call noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi2ELi2ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16) %2)
  store ptr %20, ptr %3, align 8, !tbaa !9
  %21 = load ptr, ptr %3, align 8, !tbaa !9
  %22 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN3glm3matILi2ELi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(16) %2, i32 noundef 0)
  %23 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(8) %22, i32 noundef 0)
  %24 = icmp eq ptr %21, %23
  %25 = zext i1 %24 to i64
  %26 = select i1 %24, i32 0, i32 1
  %27 = load i32, ptr %1, align 4, !tbaa !5
  %28 = add nsw i32 %27, %26
  store i32 %28, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 @__const._Z18test_value_ptr_matv.m.11, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %29 = call noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi2ELi3ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(24) %4)
  store ptr %29, ptr %5, align 8, !tbaa !9
  %30 = load ptr, ptr %5, align 8, !tbaa !9
  %31 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm3matILi2ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(24) %4, i32 noundef 0)
  %32 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(12) %31, i32 noundef 0)
  %33 = icmp eq ptr %30, %32
  %34 = zext i1 %33 to i64
  %35 = select i1 %33, i32 0, i32 1
  %36 = load i32, ptr %1, align 4, !tbaa !5
  %37 = add nsw i32 %36, %35
  store i32 %37, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 @__const._Z18test_value_ptr_matv.m.12, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %38 = call noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi2ELi4ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(32) %6)
  store ptr %38, ptr %7, align 8, !tbaa !9
  %39 = load ptr, ptr %7, align 8, !tbaa !9
  %40 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm3matILi2ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(32) %6, i32 noundef 0)
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(16) %40, i32 noundef 0)
  %42 = icmp eq ptr %39, %41
  %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 %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 @__const._Z18test_value_ptr_matv.m.13, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %47 = call noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi3ELi2ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(24) %8)
  store ptr %47, ptr %9, align 8, !tbaa !9
  %48 = load ptr, ptr %9, align 8, !tbaa !9
  %49 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN3glm3matILi3ELi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(24) %8, i32 noundef 0)
  %50 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(8) %49, i32 noundef 0)
  %51 = icmp eq ptr %48, %50
  %52 = zext i1 %51 to i64
  %53 = select i1 %51, i32 0, i32 1
  %54 = load i32, ptr %1, align 4, !tbaa !5
  %55 = add nsw i32 %54, %53
  store i32 %55, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr %10) #6
  call void @llvm.memset.p0.i64(ptr align 4 %10, i8 0, i64 36, i1 false)
  %56 = getelementptr inbounds %"struct.glm::mat.25", ptr %10, i32 0, i32 0
  %57 = getelementptr inbounds [3 x %"struct.glm::vec.1"], ptr %56, i32 0, i32 0
  %58 = getelementptr inbounds %"struct.glm::vec.1", ptr %57, i32 0, i32 0
  %59 = getelementptr inbounds %union.anon.2, ptr %58, i32 0, i32 0
  store float 1.000000e+00, ptr %59, align 4
  %60 = getelementptr inbounds [3 x %"struct.glm::vec.1"], ptr %56, i32 0, i32 1
  %61 = getelementptr inbounds %"struct.glm::vec.1", ptr %60, i32 0, i32 1
  %62 = getelementptr inbounds %union.anon.3, ptr %61, i32 0, i32 0
  store float 1.000000e+00, ptr %62, align 4
  %63 = getelementptr inbounds [3 x %"struct.glm::vec.1"], ptr %56, i32 0, i32 2
  %64 = getelementptr inbounds %"struct.glm::vec.1", ptr %63, i32 0, i32 2
  %65 = getelementptr inbounds %union.anon.4, ptr %64, i32 0, i32 0
  store float 1.000000e+00, ptr %65, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %66 = call noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi3ELi3ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(36) %10)
  store ptr %66, ptr %11, align 8, !tbaa !9
  %67 = load ptr, ptr %11, align 8, !tbaa !9
  %68 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm3matILi3ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(36) %10, i32 noundef 0)
  %69 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(12) %68, i32 noundef 0)
  %70 = icmp eq ptr %67, %69
  %71 = zext i1 %70 to i64
  %72 = select i1 %70, i32 0, i32 1
  %73 = load i32, ptr %1, align 4, !tbaa !5
  %74 = add nsw i32 %73, %72
  store i32 %74, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %12) #6
  call void @llvm.memset.p0.i64(ptr align 4 %12, i8 0, i64 48, i1 false)
  %75 = getelementptr inbounds %"struct.glm::mat.26", ptr %12, i32 0, i32 0
  %76 = getelementptr inbounds [3 x %"struct.glm::vec.5"], ptr %75, i32 0, i32 0
  %77 = getelementptr inbounds %"struct.glm::vec.5", ptr %76, i32 0, i32 0
  %78 = getelementptr inbounds %union.anon.6, ptr %77, i32 0, i32 0
  store float 1.000000e+00, ptr %78, align 4
  %79 = getelementptr inbounds [3 x %"struct.glm::vec.5"], ptr %75, i32 0, i32 1
  %80 = getelementptr inbounds %"struct.glm::vec.5", ptr %79, i32 0, i32 1
  %81 = getelementptr inbounds %union.anon.7, ptr %80, i32 0, i32 0
  store float 1.000000e+00, ptr %81, align 4
  %82 = getelementptr inbounds [3 x %"struct.glm::vec.5"], ptr %75, i32 0, i32 2
  %83 = getelementptr inbounds %"struct.glm::vec.5", ptr %82, i32 0, i32 2
  %84 = getelementptr inbounds %union.anon.8, ptr %83, i32 0, i32 0
  store float 1.000000e+00, ptr %84, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %85 = call noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi3ELi4ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(48) %12)
  store ptr %85, ptr %13, align 8, !tbaa !9
  %86 = load ptr, ptr %13, align 8, !tbaa !9
  %87 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm3matILi3ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(48) %12, i32 noundef 0)
  %88 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(16) %87, i32 noundef 0)
  %89 = icmp eq ptr %86, %88
  %90 = zext i1 %89 to i64
  %91 = select i1 %89, i32 0, i32 1
  %92 = load i32, ptr %1, align 4, !tbaa !5
  %93 = add nsw i32 %92, %91
  store i32 %93, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 @__const._Z18test_value_ptr_matv.m.14, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %94 = call noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi4ELi2ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(32) %14)
  store ptr %94, ptr %15, align 8, !tbaa !9
  %95 = load ptr, ptr %15, align 8, !tbaa !9
  %96 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN3glm3matILi4ELi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(32) %14, i32 noundef 0)
  %97 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(8) %96, i32 noundef 0)
  %98 = icmp eq ptr %95, %97
  %99 = zext i1 %98 to i64
  %100 = select i1 %98, i32 0, i32 1
  %101 = load i32, ptr %1, align 4, !tbaa !5
  %102 = add nsw i32 %101, %100
  store i32 %102, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %16) #6
  call void @llvm.memset.p0.i64(ptr align 4 %16, i8 0, i64 48, i1 false)
  %103 = getelementptr inbounds %"struct.glm::mat.28", ptr %16, i32 0, i32 0
  %104 = getelementptr inbounds [4 x %"struct.glm::vec.1"], ptr %103, i32 0, i32 0
  %105 = getelementptr inbounds %"struct.glm::vec.1", ptr %104, i32 0, i32 0
  %106 = getelementptr inbounds %union.anon.2, ptr %105, i32 0, i32 0
  store float 1.000000e+00, ptr %106, align 4
  %107 = getelementptr inbounds [4 x %"struct.glm::vec.1"], ptr %103, i32 0, i32 1
  %108 = getelementptr inbounds %"struct.glm::vec.1", ptr %107, i32 0, i32 1
  %109 = getelementptr inbounds %union.anon.3, ptr %108, i32 0, i32 0
  store float 1.000000e+00, ptr %109, align 4
  %110 = getelementptr inbounds [4 x %"struct.glm::vec.1"], ptr %103, i32 0, i32 2
  %111 = getelementptr inbounds %"struct.glm::vec.1", ptr %110, i32 0, i32 2
  %112 = getelementptr inbounds %union.anon.4, ptr %111, i32 0, i32 0
  store float 1.000000e+00, ptr %112, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %113 = call noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi4ELi3ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(48) %16)
  store ptr %113, ptr %17, align 8, !tbaa !9
  %114 = load ptr, ptr %17, align 8, !tbaa !9
  %115 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm3matILi4ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(48) %16, i32 noundef 0)
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(12) %115, i32 noundef 0)
  %117 = icmp eq ptr %114, %116
  %118 = zext i1 %117 to i64
  %119 = select i1 %117, i32 0, i32 1
  %120 = load i32, ptr %1, align 4, !tbaa !5
  %121 = add nsw i32 %120, %119
  store i32 %121, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %18) #6
  call void @llvm.memset.p0.i64(ptr align 4 %18, i8 0, i64 64, i1 false)
  %122 = getelementptr inbounds %"struct.glm::mat.29", ptr %18, i32 0, i32 0
  %123 = getelementptr inbounds [4 x %"struct.glm::vec.5"], ptr %122, i32 0, i32 0
  %124 = getelementptr inbounds %"struct.glm::vec.5", ptr %123, i32 0, i32 0
  %125 = getelementptr inbounds %union.anon.6, ptr %124, i32 0, i32 0
  store float 1.000000e+00, ptr %125, align 4
  %126 = getelementptr inbounds [4 x %"struct.glm::vec.5"], ptr %122, i32 0, i32 1
  %127 = getelementptr inbounds %"struct.glm::vec.5", ptr %126, i32 0, i32 1
  %128 = getelementptr inbounds %union.anon.7, ptr %127, i32 0, i32 0
  store float 1.000000e+00, ptr %128, align 4
  %129 = getelementptr inbounds [4 x %"struct.glm::vec.5"], ptr %122, i32 0, i32 2
  %130 = getelementptr inbounds %"struct.glm::vec.5", ptr %129, i32 0, i32 2
  %131 = getelementptr inbounds %union.anon.8, ptr %130, i32 0, i32 0
  store float 1.000000e+00, ptr %131, align 4
  %132 = getelementptr inbounds [4 x %"struct.glm::vec.5"], ptr %122, i32 0, i32 3
  %133 = getelementptr inbounds %"struct.glm::vec.5", ptr %132, i32 0, i32 3
  %134 = getelementptr inbounds %union.anon.9, ptr %133, i32 0, i32 0
  store float 1.000000e+00, ptr %134, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %135 = call noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi4ELi4ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(64) %18)
  store ptr %135, ptr %19, align 8, !tbaa !9
  %136 = load ptr, ptr %19, align 8, !tbaa !9
  %137 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(64) %18, i32 noundef 0)
  %138 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(16) %137, i32 noundef 0)
  %139 = icmp eq ptr %136, %138
  %140 = zext i1 %139 to i64
  %141 = select i1 %139, i32 0, i32 1
  %142 = load i32, ptr %1, align 4, !tbaa !5
  %143 = add nsw i32 %142, %141
  store i32 %143, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %18) #6
  %144 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret i32 %144
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi2ELi2ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN3glm3matILi2ELi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi2ELi3ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(24)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm3matILi2ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(24), i32 noundef) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi2ELi4ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(32)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm3matILi2ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(32), i32 noundef) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi3ELi2ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(24)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN3glm3matILi3ELi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(24), i32 noundef) #4 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi3ELi3ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(36)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm3matILi3ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(36), i32 noundef) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi3ELi4ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(48)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm3matILi3ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(48), i32 noundef) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi4ELi2ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(32)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN3glm3matILi4ELi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(32), i32 noundef) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi4ELi3ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(48)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm3matILi4ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(48), i32 noundef) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi4ELi4ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(64)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(64), i32 noundef) #4 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !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" = type { [2 x %"struct.glm::vec"] }
%"struct.glm::vec" = type { %union.anon, %union.anon.0 }
%union.anon = type { float }
%union.anon.0 = type { float }
%"struct.glm::mat.22" = type { [2 x %"struct.glm::vec.1"] }
%"struct.glm::vec.1" = type { %union.anon.2, %union.anon.3, %union.anon.4 }
%union.anon.2 = type { float }
%union.anon.3 = type { float }
%union.anon.4 = type { float }
%"struct.glm::mat.23" = type { [2 x %"struct.glm::vec.5"] }
%"struct.glm::vec.5" = type { %union.anon.6, %union.anon.7, %union.anon.8, %union.anon.9 }
%union.anon.6 = type { float }
%union.anon.7 = type { float }
%union.anon.8 = type { float }
%union.anon.9 = type { float }
%"struct.glm::mat.24" = type { [3 x %"struct.glm::vec"] }
%"struct.glm::mat.27" = type { [4 x %"struct.glm::vec"] }
%"struct.glm::mat.25" = type { [3 x %"struct.glm::vec.1"] }
%"struct.glm::mat.26" = type { [3 x %"struct.glm::vec.5"] }
%"struct.glm::mat.28" = type { [4 x %"struct.glm::vec.1"] }
%"struct.glm::mat.29" = type { [4 x %"struct.glm::vec.5"] }

@__const._Z18test_value_ptr_matv.m = external hidden unnamed_addr constant %"struct.glm::mat", align 4
@__const._Z18test_value_ptr_matv.m.11 = external hidden unnamed_addr constant %"struct.glm::mat.22", align 4
@__const._Z18test_value_ptr_matv.m.12 = external hidden unnamed_addr constant %"struct.glm::mat.23", align 4
@__const._Z18test_value_ptr_matv.m.13 = external hidden unnamed_addr constant %"struct.glm::mat.24", align 4
@__const._Z18test_value_ptr_matv.m.14 = external hidden unnamed_addr constant %"struct.glm::mat.27", align 4

; 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: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef) local_unnamed_addr #2 align 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 nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 10) i32 @_Z18test_value_ptr_matv() local_unnamed_addr #3 {
  %1 = alloca %"struct.glm::mat", align 4
  %2 = alloca %"struct.glm::mat.22", align 4
  %3 = alloca %"struct.glm::mat.23", align 4
  %4 = alloca %"struct.glm::mat.24", align 4
  %5 = alloca %"struct.glm::mat.25", align 4
  %6 = alloca %"struct.glm::mat.26", align 4
  %7 = alloca %"struct.glm::mat.27", align 4
  %8 = alloca %"struct.glm::mat.28", align 4
  %9 = alloca %"struct.glm::mat.29", align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(16) @__const._Z18test_value_ptr_matv.m, i64 16, i1 false)
  %10 = call noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi2ELi2ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16) %1)
  %11 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN3glm3matILi2ELi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(16) %1, i32 noundef 0)
  %12 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(8) %11, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(24) %2, ptr noundef nonnull align 4 dereferenceable(24) @__const._Z18test_value_ptr_matv.m.11, i64 24, i1 false)
  %13 = call noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi2ELi3ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(24) %2)
  %14 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm3matILi2ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(24) %2, i32 noundef 0)
  %15 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(12) %14, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(32) %3, ptr noundef nonnull align 4 dereferenceable(32) @__const._Z18test_value_ptr_matv.m.12, i64 32, i1 false)
  %16 = call noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi2ELi4ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(32) %3)
  %17 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm3matILi2ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(32) %3, i32 noundef 0)
  %18 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(16) %17, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(24) %4, ptr noundef nonnull align 4 dereferenceable(24) @__const._Z18test_value_ptr_matv.m.13, i64 24, i1 false)
  %19 = call noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi3ELi2ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(24) %4)
  %20 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN3glm3matILi3ELi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(24) %4, i32 noundef 0)
  %21 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(8) %20, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %5) #7
  %22 = getelementptr inbounds i8, ptr %5, i64 4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %22, i8 0, i64 28, i1 false)
  store float 1.000000e+00, ptr %5, align 4
  %23 = getelementptr inbounds i8, ptr %5, i64 16
  store float 1.000000e+00, ptr %23, align 4
  %24 = getelementptr inbounds i8, ptr %5, i64 32
  store float 1.000000e+00, ptr %24, align 4
  %25 = call noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi3ELi3ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(36) %5)
  %26 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm3matILi3ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(36) %5, i32 noundef 0)
  %27 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(12) %26, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #7
  %28 = getelementptr inbounds i8, ptr %6, i64 4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(48) %28, i8 0, i64 44, i1 false)
  store float 1.000000e+00, ptr %6, align 4
  %29 = getelementptr inbounds i8, ptr %6, i64 20
  store float 1.000000e+00, ptr %29, align 4
  %30 = getelementptr inbounds i8, ptr %6, i64 40
  store float 1.000000e+00, ptr %30, align 4
  %31 = call noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi3ELi4ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(48) %6)
  %32 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm3matILi3ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(48) %6, i32 noundef 0)
  %33 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(16) %32, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(32) %7, ptr noundef nonnull align 4 dereferenceable(32) @__const._Z18test_value_ptr_matv.m.14, i64 32, i1 false)
  %34 = call noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi4ELi2ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(32) %7)
  %35 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN3glm3matILi4ELi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(32) %7, i32 noundef 0)
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(8) %35, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #7
  %37 = getelementptr inbounds i8, ptr %8, i64 4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(48) %37, i8 0, i64 44, i1 false)
  store float 1.000000e+00, ptr %8, align 4
  %38 = getelementptr inbounds i8, ptr %8, i64 16
  store float 1.000000e+00, ptr %38, align 4
  %39 = getelementptr inbounds i8, ptr %8, i64 32
  store float 1.000000e+00, ptr %39, align 4
  %40 = call noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi4ELi3ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(48) %8)
  %41 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm3matILi4ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(48) %8, i32 noundef 0)
  %42 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(12) %41, i32 noundef 0)
  %43 = insertelement <8 x ptr> poison, ptr %13, i64 0
  %44 = insertelement <8 x ptr> %43, ptr %10, i64 1
  %45 = insertelement <8 x ptr> %44, ptr %16, i64 2
  %46 = insertelement <8 x ptr> %45, ptr %19, i64 3
  %47 = insertelement <8 x ptr> %46, ptr %25, i64 4
  %48 = insertelement <8 x ptr> %47, ptr %31, i64 5
  %49 = insertelement <8 x ptr> %48, ptr %34, i64 6
  %50 = insertelement <8 x ptr> %49, ptr %40, i64 7
  %51 = insertelement <8 x ptr> poison, ptr %15, i64 0
  %52 = insertelement <8 x ptr> %51, ptr %12, i64 1
  %53 = insertelement <8 x ptr> %52, ptr %18, i64 2
  %54 = insertelement <8 x ptr> %53, ptr %21, i64 3
  %55 = insertelement <8 x ptr> %54, ptr %27, i64 4
  %56 = insertelement <8 x ptr> %55, ptr %33, i64 5
  %57 = insertelement <8 x ptr> %56, ptr %36, i64 6
  %58 = insertelement <8 x ptr> %57, ptr %42, i64 7
  %59 = icmp ne <8 x ptr> %50, %58
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #7
  %60 = getelementptr inbounds i8, ptr %9, i64 4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %60, i8 0, i64 56, i1 false)
  store float 1.000000e+00, ptr %9, align 4
  %61 = getelementptr inbounds i8, ptr %9, i64 20
  store float 1.000000e+00, ptr %61, align 4
  %62 = getelementptr inbounds i8, ptr %9, i64 40
  store float 1.000000e+00, ptr %62, align 4
  %63 = getelementptr inbounds i8, ptr %9, i64 60
  store float 1.000000e+00, ptr %63, align 4
  %64 = call noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi4ELi4ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(64) %9)
  %65 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(64) %9, i32 noundef 0)
  %66 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(16) %65, i32 noundef 0)
  %67 = icmp ne ptr %64, %66
  %68 = zext i1 %67 to i32
  %69 = bitcast <8 x i1> %59 to i8
  %70 = call range(i8 0, 9) i8 @llvm.ctpop.i8(i8 %69)
  %71 = zext nneg i8 %70 to i32
  %op.rdx = add nuw nsw i32 %71, %68
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #7
  ret i32 %op.rdx
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi2ELi2ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN3glm3matILi2ELi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi2ELi3ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(24)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm3matILi2ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(24), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi2ELi4ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(32)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm3matILi2ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(32), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi3ELi2ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(24)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN3glm3matILi3ELi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(24), i32 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi3ELi3ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm3matILi3ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(36), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi3ELi4ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(48)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm3matILi3ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(48), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi4ELi2ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(32)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZN3glm3matILi4ELi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(32), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi4ELi3ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(48)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm3matILi4ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(48), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3glm9value_ptrIfLNS_9qualifierE0EEEPT_RNS_3matILi4ELi4ES2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(64), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i8 @llvm.ctpop.i8(i8) #6

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 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 = { 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 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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)"}


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