; LLVM IR from jpvt/Computer_Graphics :: Assignment #3/third_party/glm/test/core/core_func_matrix.ll (Z12test_inversev)

; 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.27" = 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 }
%"struct.glm::mat.24" = type { [3 x %"struct.glm::vec.5"] }
%"struct.glm::vec.5" = type { %union.anon.6, %union.anon.7, %union.anon.8 }
%union.anon.6 = type { float }
%union.anon.7 = type { float }
%union.anon.8 = type { float }
%"struct.glm::vec.9" = type { %union.anon.10, %union.anon.11, %union.anon.12 }
%union.anon.10 = type { i8 }
%union.anon.11 = type { i8 }
%union.anon.12 = type { i8 }
%"struct.glm::vec.1" = type { %union.anon.2, %union.anon.3 }
%union.anon.2 = type { i8 }
%union.anon.3 = type { i8 }

@__const._Z12test_inversev.A2x2 = external hidden unnamed_addr constant %"struct.glm::mat", align 4
@__const._Z12test_inversev.Identity = external hidden unnamed_addr constant %"struct.glm::mat", 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: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3glm3matILi2ELi2EfLNS_9qualifierE0EE6lengthEv() #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i16 @_ZN3glm12epsilonEqualILi2EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3glm7epsilonIfEET_v() #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i24 @_ZN3glm12epsilonEqualILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4)) #4

; 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 @_ZN3glm12epsilonEqualILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3glm3matILi3ELi3EfLNS_9qualifierE0EE6lengthEv() #2 align 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) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EE6lengthEv() #2 align 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) #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z12test_inversev() #6 {
  %1 = alloca i32, align 4
  %2 = alloca %"struct.glm::mat.27", align 4
  %3 = alloca %"struct.glm::mat.27", align 4
  %4 = alloca %"struct.glm::mat.27", align 4
  %5 = alloca %"struct.glm::mat.27", align 4
  %6 = alloca i32, align 4
  %7 = alloca %"struct.glm::vec.19", align 1
  %8 = alloca float, align 4
  %9 = alloca %"struct.glm::mat.24", align 4
  %10 = alloca %"struct.glm::mat.24", align 4
  %11 = alloca %"struct.glm::mat.24", align 4
  %12 = alloca %"struct.glm::mat.24", align 4
  %13 = alloca i32, align 4
  %14 = alloca %"struct.glm::vec.9", align 1
  %15 = alloca float, align 4
  %16 = alloca %"struct.glm::mat", align 4
  %17 = alloca %"struct.glm::mat", align 4
  %18 = alloca %"struct.glm::mat", align 4
  %19 = alloca %"struct.glm::mat", align 4
  %20 = alloca i32, align 4
  %21 = alloca %"struct.glm::vec.1", align 1
  %22 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #8
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %2) #8
  call void @llvm.memset.p0.i64(ptr align 4 %2, i8 0, i64 64, i1 false)
  %23 = getelementptr inbounds %"struct.glm::mat.27", 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 %"struct.glm::vec.14", ptr %24, i32 0, i32 2
  %28 = getelementptr inbounds %union.anon.17, ptr %27, i32 0, i32 0
  store float 1.000000e+00, ptr %28, align 4
  %29 = getelementptr inbounds [4 x %"struct.glm::vec.14"], ptr %23, i32 0, i32 1
  %30 = getelementptr inbounds %"struct.glm::vec.14", ptr %29, i32 0, i32 1
  %31 = getelementptr inbounds %union.anon.16, ptr %30, i32 0, i32 0
  store float 1.000000e+00, ptr %31, align 4
  %32 = getelementptr inbounds [4 x %"struct.glm::vec.14"], ptr %23, i32 0, i32 2
  %33 = getelementptr inbounds %"struct.glm::vec.14", ptr %32, i32 0, i32 2
  %34 = getelementptr inbounds %union.anon.17, ptr %33, i32 0, i32 0
  store float 1.000000e+00, ptr %34, align 4
  %35 = getelementptr inbounds [4 x %"struct.glm::vec.14"], ptr %23, i32 0, i32 3
  %36 = getelementptr inbounds %"struct.glm::vec.14", ptr %35, i32 0, i32 3
  %37 = getelementptr inbounds %union.anon.18, ptr %36, i32 0, i32 0
  store float 1.000000e+00, ptr %37, align 4
  call void @llvm.lifetime.start.p0(i64 64, ptr %3) #8
  call void @_ZN3glm7inverseILi4ELi4EfLNS_9qualifierE0EEENS_3matIXT_EXT0_ET1_XT2_EEERKS4_(ptr dead_on_unwind writable sret(%"struct.glm::mat.27") align 4 %3, ptr noundef nonnull align 4 dereferenceable(64) %2)
  call void @llvm.lifetime.start.p0(i64 64, ptr %4) #8
  call void @_ZN3glmmlIfLNS_9qualifierE0EEENS_3matILi4ELi4ET_XT0_EEERKS4_S6_(ptr dead_on_unwind writable sret(%"struct.glm::mat.27") align 4 %4, ptr noundef nonnull align 4 dereferenceable(64) %2, ptr noundef nonnull align 4 dereferenceable(64) %3)
  call void @llvm.lifetime.start.p0(i64 64, ptr %5) #8
  call void @llvm.memset.p0.i64(ptr align 4 %5, i8 0, i64 64, i1 false)
  %38 = getelementptr inbounds %"struct.glm::mat.27", ptr %5, i32 0, i32 0
  %39 = getelementptr inbounds [4 x %"struct.glm::vec.14"], ptr %38, i32 0, i32 0
  %40 = getelementptr inbounds %"struct.glm::vec.14", ptr %39, i32 0, i32 0
  %41 = getelementptr inbounds %union.anon.15, ptr %40, i32 0, i32 0
  store float 1.000000e+00, ptr %41, align 4
  %42 = getelementptr inbounds [4 x %"struct.glm::vec.14"], ptr %38, i32 0, i32 1
  %43 = getelementptr inbounds %"struct.glm::vec.14", ptr %42, i32 0, i32 1
  %44 = getelementptr inbounds %union.anon.16, ptr %43, i32 0, i32 0
  store float 1.000000e+00, ptr %44, align 4
  %45 = getelementptr inbounds [4 x %"struct.glm::vec.14"], ptr %38, i32 0, i32 2
  %46 = getelementptr inbounds %"struct.glm::vec.14", ptr %45, i32 0, i32 2
  %47 = getelementptr inbounds %union.anon.17, ptr %46, i32 0, i32 0
  store float 1.000000e+00, ptr %47, align 4
  %48 = getelementptr inbounds [4 x %"struct.glm::vec.14"], ptr %38, i32 0, i32 3
  %49 = getelementptr inbounds %"struct.glm::vec.14", ptr %48, i32 0, i32 3
  %50 = getelementptr inbounds %union.anon.18, ptr %49, i32 0, i32 0
  store float 1.000000e+00, ptr %50, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %51

51:                                               ; preds = %68, %0
  %52 = load i32, ptr %6, align 4, !tbaa !5
  %53 = call noundef i32 @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EE6lengthEv()
  %54 = icmp slt i32 %52, %53
  br i1 %54, label %56, label %55

55:                                               ; preds = %51
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  br label %71

56:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  %57 = load i32, ptr %6, align 4, !tbaa !5
  %58 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(64) %4, i32 noundef %57)
  %59 = load i32, ptr %6, align 4, !tbaa !5
  %60 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(64) %5, i32 noundef %59)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  %61 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %61, ptr %8, align 4, !tbaa !9
  %62 = call i32 @_ZN3glm12epsilonEqualILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(16) %58, ptr noundef nonnull align 4 dereferenceable(16) %60, ptr noundef nonnull align 4 dereferenceable(4) %8)
  store i32 %62, ptr %7, align 1
  %63 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %7)
  %64 = zext i1 %63 to i64
  %65 = select i1 %63, i32 0, i32 1
  %66 = load i32, ptr %1, align 4, !tbaa !5
  %67 = add nsw i32 %66, %65
  store i32 %67, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  br label %68

68:                                               ; preds = %56
  %69 = load i32, ptr %6, align 4, !tbaa !5
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %6, align 4, !tbaa !5
  br label %51, !llvm.loop !11

71:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 64, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %2) #8
  call void @llvm.lifetime.start.p0(i64 36, ptr %9) #8
  call void @llvm.memset.p0.i64(ptr align 4 %9, i8 0, i64 36, i1 false)
  %72 = getelementptr inbounds %"struct.glm::mat.24", ptr %9, i32 0, i32 0
  %73 = getelementptr inbounds [3 x %"struct.glm::vec.5"], ptr %72, i32 0, i32 0
  %74 = getelementptr inbounds %"struct.glm::vec.5", ptr %73, i32 0, i32 0
  %75 = getelementptr inbounds %union.anon.6, ptr %74, i32 0, i32 0
  store float 1.000000e+00, ptr %75, align 4
  %76 = getelementptr inbounds %"struct.glm::vec.5", ptr %73, i32 0, i32 2
  %77 = getelementptr inbounds %union.anon.8, ptr %76, i32 0, i32 0
  store float 1.000000e+00, ptr %77, align 4
  %78 = getelementptr inbounds [3 x %"struct.glm::vec.5"], ptr %72, i32 0, i32 1
  %79 = getelementptr inbounds %"struct.glm::vec.5", ptr %78, i32 0, i32 1
  %80 = getelementptr inbounds %union.anon.7, ptr %79, i32 0, i32 0
  store float 1.000000e+00, ptr %80, align 4
  %81 = getelementptr inbounds [3 x %"struct.glm::vec.5"], ptr %72, i32 0, i32 2
  %82 = getelementptr inbounds %"struct.glm::vec.5", ptr %81, i32 0, i32 2
  %83 = getelementptr inbounds %union.anon.8, ptr %82, i32 0, i32 0
  store float 1.000000e+00, ptr %83, align 4
  call void @llvm.lifetime.start.p0(i64 36, ptr %10) #8
  call void @_ZN3glm7inverseILi3ELi3EfLNS_9qualifierE0EEENS_3matIXT_EXT0_ET1_XT2_EEERKS4_(ptr dead_on_unwind writable sret(%"struct.glm::mat.24") align 4 %10, ptr noundef nonnull align 4 dereferenceable(36) %9)
  call void @llvm.lifetime.start.p0(i64 36, ptr %11) #8
  call void @_ZN3glmmlIfLNS_9qualifierE0EEENS_3matILi3ELi3ET_XT0_EEERKS4_S6_(ptr dead_on_unwind writable sret(%"struct.glm::mat.24") align 4 %11, ptr noundef nonnull align 4 dereferenceable(36) %9, ptr noundef nonnull align 4 dereferenceable(36) %10)
  call void @llvm.lifetime.start.p0(i64 36, ptr %12) #8
  call void @llvm.memset.p0.i64(ptr align 4 %12, i8 0, i64 36, i1 false)
  %84 = getelementptr inbounds %"struct.glm::mat.24", ptr %12, i32 0, i32 0
  %85 = getelementptr inbounds [3 x %"struct.glm::vec.5"], ptr %84, i32 0, i32 0
  %86 = getelementptr inbounds %"struct.glm::vec.5", ptr %85, i32 0, i32 0
  %87 = getelementptr inbounds %union.anon.6, ptr %86, i32 0, i32 0
  store float 1.000000e+00, ptr %87, align 4
  %88 = getelementptr inbounds [3 x %"struct.glm::vec.5"], ptr %84, i32 0, i32 1
  %89 = getelementptr inbounds %"struct.glm::vec.5", ptr %88, i32 0, i32 1
  %90 = getelementptr inbounds %union.anon.7, ptr %89, i32 0, i32 0
  store float 1.000000e+00, ptr %90, align 4
  %91 = getelementptr inbounds [3 x %"struct.glm::vec.5"], ptr %84, i32 0, i32 2
  %92 = getelementptr inbounds %"struct.glm::vec.5", ptr %91, i32 0, i32 2
  %93 = getelementptr inbounds %union.anon.8, ptr %92, i32 0, i32 0
  store float 1.000000e+00, ptr %93, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %94

94:                                               ; preds = %111, %71
  %95 = load i32, ptr %13, align 4, !tbaa !5
  %96 = call noundef i32 @_ZN3glm3matILi3ELi3EfLNS_9qualifierE0EE6lengthEv()
  %97 = icmp slt i32 %95, %96
  br i1 %97, label %99, label %98

98:                                               ; preds = %94
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br label %114

99:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 3, ptr %14) #8
  %100 = load i32, ptr %13, align 4, !tbaa !5
  %101 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm3matILi3ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(36) %11, i32 noundef %100)
  %102 = load i32, ptr %13, align 4, !tbaa !5
  %103 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm3matILi3ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(36) %12, i32 noundef %102)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %104 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %104, ptr %15, align 4, !tbaa !9
  %105 = call i24 @_ZN3glm12epsilonEqualILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(12) %101, ptr noundef nonnull align 4 dereferenceable(12) %103, ptr noundef nonnull align 4 dereferenceable(4) %15)
  store i24 %105, ptr %14, align 1
  %106 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %14)
  %107 = zext i1 %106 to i64
  %108 = select i1 %106, i32 0, i32 1
  %109 = load i32, ptr %1, align 4, !tbaa !5
  %110 = add nsw i32 %109, %108
  store i32 %110, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 3, ptr %14) #8
  br label %111

111:                                              ; preds = %99
  %112 = load i32, ptr %13, align 4, !tbaa !5
  %113 = add nsw i32 %112, 1
  store i32 %113, ptr %13, align 4, !tbaa !5
  br label %94, !llvm.loop !13

114:                                              ; preds = %98
  call void @llvm.lifetime.end.p0(i64 36, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 @__const._Z12test_inversev.A2x2, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #8
  %115 = call { <2 x float>, <2 x float> } @_ZN3glm7inverseILi2ELi2EfLNS_9qualifierE0EEENS_3matIXT_EXT0_ET1_XT2_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %16)
  %116 = getelementptr inbounds %"struct.glm::mat", ptr %17, i32 0, i32 0
  %117 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %116, i32 0, i32 0
  %118 = extractvalue { <2 x float>, <2 x float> } %115, 0
  store <2 x float> %118, ptr %117, align 4
  %119 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %116, i32 0, i32 1
  %120 = extractvalue { <2 x float>, <2 x float> } %115, 1
  store <2 x float> %120, ptr %119, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #8
  %121 = call { <2 x float>, <2 x float> } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3matILi2ELi2ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(16) %16, ptr noundef nonnull align 4 dereferenceable(16) %17)
  %122 = getelementptr inbounds %"struct.glm::mat", ptr %18, i32 0, i32 0
  %123 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %122, i32 0, i32 0
  %124 = extractvalue { <2 x float>, <2 x float> } %121, 0
  store <2 x float> %124, ptr %123, align 4
  %125 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %122, i32 0, i32 1
  %126 = extractvalue { <2 x float>, <2 x float> } %121, 1
  store <2 x float> %126, ptr %125, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 @__const._Z12test_inversev.Identity, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %127

127:                                              ; preds = %144, %114
  %128 = load i32, ptr %20, align 4, !tbaa !5
  %129 = call noundef i32 @_ZN3glm3matILi2ELi2EfLNS_9qualifierE0EE6lengthEv()
  %130 = icmp slt i32 %128, %129
  br i1 %130, label %132, label %131

131:                                              ; preds = %127
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %147

132:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 2, ptr %21) #8
  %133 = load i32, ptr %20, align 4, !tbaa !5
  %134 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN3glm3matILi2ELi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(16) %18, i32 noundef %133)
  %135 = load i32, ptr %20, align 4, !tbaa !5
  %136 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN3glm3matILi2ELi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(16) %19, i32 noundef %135)
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  %137 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %137, ptr %22, align 4, !tbaa !9
  %138 = call i16 @_ZN3glm12epsilonEqualILi2EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(8) %134, ptr noundef nonnull align 4 dereferenceable(8) %136, ptr noundef nonnull align 4 dereferenceable(4) %22)
  store i16 %138, ptr %21, align 1
  %139 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %21)
  %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 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 2, ptr %21) #8
  br label %144

144:                                              ; preds = %132
  %145 = load i32, ptr %20, align 4, !tbaa !5
  %146 = add nsw i32 %145, 1
  store i32 %146, ptr %20, align 4, !tbaa !5
  br label %127, !llvm.loop !14

147:                                              ; preds = %131
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  %148 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #8
  ret i32 %148
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm7inverseILi4ELi4EfLNS_9qualifierE0EEENS_3matIXT_EXT0_ET1_XT2_EEERKS4_(ptr dead_on_unwind noalias writable sret(%"struct.glm::mat.27") align 4, ptr noundef nonnull align 4 dereferenceable(64)) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm7inverseILi3ELi3EfLNS_9qualifierE0EEENS_3matIXT_EXT0_ET1_XT2_EEERKS4_(ptr dead_on_unwind noalias writable sret(%"struct.glm::mat.24") align 4, ptr noundef nonnull align 4 dereferenceable(36)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glmmlIfLNS_9qualifierE0EEENS_3matILi3ELi3ET_XT0_EEERKS4_S6_(ptr dead_on_unwind noalias writable sret(%"struct.glm::mat.24") align 4, ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(36)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN3glm7inverseILi2ELi2EfLNS_9qualifierE0EEENS_3matIXT_EXT0_ET1_XT2_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3matILi2ELi2ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { 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 #7 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { 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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}


; 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.27" = 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 }
%"struct.glm::mat.24" = type { [3 x %"struct.glm::vec.5"] }
%"struct.glm::vec.5" = type { %union.anon.6, %union.anon.7, %union.anon.8 }
%union.anon.6 = type { float }
%union.anon.7 = type { float }
%union.anon.8 = type { float }
%"struct.glm::vec.9" = type { %union.anon.10, %union.anon.11, %union.anon.12 }
%union.anon.10 = type { i8 }
%union.anon.11 = type { i8 }
%union.anon.12 = type { i8 }
%"struct.glm::vec.1" = type { %union.anon.2, %union.anon.3 }
%union.anon.2 = type { i8 }
%union.anon.3 = type { i8 }

@__const._Z12test_inversev.A2x2 = external hidden unnamed_addr constant %"struct.glm::mat", align 4
@__const._Z12test_inversev.Identity = external hidden unnamed_addr constant %"struct.glm::mat", 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: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3glm3matILi2ELi2EfLNS_9qualifierE0EE6lengthEv() local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i16 @_ZN3glm12epsilonEqualILi2EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3glm7epsilonIfEET_v() local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_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 @_ZN3glm12epsilonEqualILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

; 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 @_ZN3glm12epsilonEqualILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3glm3matILi3ELi3EfLNS_9qualifierE0EE6lengthEv() local_unnamed_addr #2 align 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 #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EE6lengthEv() local_unnamed_addr #2 align 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 #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z12test_inversev() local_unnamed_addr #6 {
  %1 = alloca %"struct.glm::mat.27", align 4
  %2 = alloca %"struct.glm::mat.27", align 4
  %3 = alloca %"struct.glm::mat.27", align 4
  %4 = alloca %"struct.glm::mat.27", align 4
  %5 = alloca %"struct.glm::vec.19", align 4
  %6 = alloca float, align 4
  %7 = alloca %"struct.glm::mat.24", align 4
  %8 = alloca %"struct.glm::mat.24", align 4
  %9 = alloca %"struct.glm::mat.24", align 4
  %10 = alloca %"struct.glm::mat.24", align 4
  %11 = alloca %"struct.glm::vec.9", align 4
  %12 = alloca float, align 4
  %13 = alloca %"struct.glm::mat", align 4
  %14 = alloca %"struct.glm::mat", align 8
  %15 = alloca %"struct.glm::mat", align 8
  %16 = alloca %"struct.glm::mat", align 4
  %17 = alloca %"struct.glm::vec.1", align 2
  %18 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #8
  %19 = getelementptr inbounds i8, ptr %1, i64 4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %19, i8 0, i64 56, i1 false)
  store float 1.000000e+00, ptr %1, align 4
  %20 = getelementptr inbounds i8, ptr %1, i64 8
  store float 1.000000e+00, ptr %20, align 4
  %21 = getelementptr inbounds i8, ptr %1, i64 20
  store float 1.000000e+00, ptr %21, align 4
  %22 = getelementptr inbounds i8, ptr %1, i64 40
  store float 1.000000e+00, ptr %22, align 4
  %23 = getelementptr inbounds i8, ptr %1, i64 60
  store float 1.000000e+00, ptr %23, align 4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #8
  call void @_ZN3glm7inverseILi4ELi4EfLNS_9qualifierE0EEENS_3matIXT_EXT0_ET1_XT2_EEERKS4_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat.27") align 4 %2, ptr noundef nonnull align 4 dereferenceable(64) %1)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #8
  call void @_ZN3glmmlIfLNS_9qualifierE0EEENS_3matILi4ELi4ET_XT0_EEERKS4_S6_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat.27") align 4 %3, ptr noundef nonnull align 4 dereferenceable(64) %1, ptr noundef nonnull align 4 dereferenceable(64) %2)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #8
  %24 = getelementptr inbounds i8, ptr %4, i64 4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %24, i8 0, i64 56, i1 false)
  store float 1.000000e+00, ptr %4, align 4
  %25 = getelementptr inbounds i8, ptr %4, i64 20
  store float 1.000000e+00, ptr %25, align 4
  %26 = getelementptr inbounds i8, ptr %4, i64 40
  store float 1.000000e+00, ptr %26, align 4
  %27 = getelementptr inbounds i8, ptr %4, i64 60
  store float 1.000000e+00, ptr %27, align 4
  %28 = call noundef i32 @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EE6lengthEv()
  %29 = icmp sgt i32 %28, 0
  br i1 %29, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %0
  %.018.lcssa = phi i32 [ 0, %0 ], [ %45, %.lr.ph ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #8
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %7) #8
  %30 = getelementptr inbounds i8, ptr %7, i64 4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %30, i8 0, i64 28, i1 false)
  store float 1.000000e+00, ptr %7, align 4
  %31 = getelementptr inbounds i8, ptr %7, i64 8
  store float 1.000000e+00, ptr %31, align 4
  %32 = getelementptr inbounds i8, ptr %7, i64 16
  store float 1.000000e+00, ptr %32, align 4
  %33 = getelementptr inbounds i8, ptr %7, i64 32
  store float 1.000000e+00, ptr %33, align 4
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %8) #8
  call void @_ZN3glm7inverseILi3ELi3EfLNS_9qualifierE0EEENS_3matIXT_EXT0_ET1_XT2_EEERKS4_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat.24") align 4 %8, ptr noundef nonnull align 4 dereferenceable(36) %7)
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %9) #8
  call void @_ZN3glmmlIfLNS_9qualifierE0EEENS_3matILi3ELi3ET_XT0_EEERKS4_S6_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat.24") align 4 %9, ptr noundef nonnull align 4 dereferenceable(36) %7, ptr noundef nonnull align 4 dereferenceable(36) %8)
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %10) #8
  %34 = getelementptr inbounds i8, ptr %10, i64 4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %34, i8 0, i64 28, i1 false)
  store float 1.000000e+00, ptr %10, align 4
  %35 = getelementptr inbounds i8, ptr %10, i64 16
  store float 1.000000e+00, ptr %35, align 4
  %36 = getelementptr inbounds i8, ptr %10, i64 32
  store float 1.000000e+00, ptr %36, align 4
  %37 = call noundef i32 @_ZN3glm3matILi3ELi3EfLNS_9qualifierE0EE6lengthEv()
  %38 = icmp sgt i32 %37, 0
  br i1 %38, label %.lr.ph26, label %._crit_edge27

.lr.ph:                                           ; preds = %0, %.lr.ph
  %.01722 = phi i32 [ %46, %.lr.ph ], [ 0, %0 ]
  %.01821 = phi i32 [ %45, %.lr.ph ], [ 0, %0 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #8
  %39 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(64) %3, i32 noundef %.01722)
  %40 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(64) %4, i32 noundef %.01722)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #8
  %41 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %41, ptr %6, align 4, !tbaa !5
  %42 = call i32 @_ZN3glm12epsilonEqualILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(16) %39, ptr noundef nonnull align 4 dereferenceable(16) %40, ptr noundef nonnull align 4 dereferenceable(4) %6)
  store i32 %42, ptr %5, align 4
  %43 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %5)
  %not.20 = xor i1 %43, true
  %44 = zext i1 %not.20 to i32
  %45 = add nuw nsw i32 %.01821, %44
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  %46 = add nuw nsw i32 %.01722, 1
  %47 = call noundef i32 @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EE6lengthEv()
  %48 = icmp slt i32 %46, %47
  br i1 %48, label %.lr.ph, label %._crit_edge, !llvm.loop !9

._crit_edge27:                                    ; preds = %.lr.ph26, %._crit_edge
  %.1.lcssa = phi i32 [ %.018.lcssa, %._crit_edge ], [ %65, %.lr.ph26 ]
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(16) @__const._Z12test_inversev.A2x2, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #8
  %49 = call { <2 x float>, <2 x float> } @_ZN3glm7inverseILi2ELi2EfLNS_9qualifierE0EEENS_3matIXT_EXT0_ET1_XT2_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %13)
  %50 = extractvalue { <2 x float>, <2 x float> } %49, 0
  store <2 x float> %50, ptr %14, align 8
  %51 = getelementptr inbounds i8, ptr %14, i64 8
  %52 = extractvalue { <2 x float>, <2 x float> } %49, 1
  store <2 x float> %52, ptr %51, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #8
  %53 = call { <2 x float>, <2 x float> } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3matILi2ELi2ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(16) %14)
  %54 = extractvalue { <2 x float>, <2 x float> } %53, 0
  store <2 x float> %54, ptr %15, align 8
  %55 = getelementptr inbounds i8, ptr %15, i64 8
  %56 = extractvalue { <2 x float>, <2 x float> } %53, 1
  store <2 x float> %56, ptr %55, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %16, ptr noundef nonnull align 4 dereferenceable(16) @__const._Z12test_inversev.Identity, i64 16, i1 false)
  %57 = call noundef i32 @_ZN3glm3matILi2ELi2EfLNS_9qualifierE0EE6lengthEv()
  %58 = icmp sgt i32 %57, 0
  br i1 %58, label %.lr.ph32, label %._crit_edge33

.lr.ph26:                                         ; preds = %._crit_edge, %.lr.ph26
  %.01624 = phi i32 [ %66, %.lr.ph26 ], [ 0, %._crit_edge ]
  %.123 = phi i32 [ %65, %.lr.ph26 ], [ %.018.lcssa, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %11) #8
  %59 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm3matILi3ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(36) %9, i32 noundef %.01624)
  %60 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm3matILi3ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(36) %10, i32 noundef %.01624)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #8
  %61 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %61, ptr %12, align 4, !tbaa !5
  %62 = call i24 @_ZN3glm12epsilonEqualILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(12) %59, ptr noundef nonnull align 4 dereferenceable(12) %60, ptr noundef nonnull align 4 dereferenceable(4) %12)
  store i24 %62, ptr %11, align 4
  %63 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %11)
  %not.19 = xor i1 %63, true
  %64 = zext i1 %not.19 to i32
  %65 = add nuw nsw i32 %.123, %64
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %11) #8
  %66 = add nuw nsw i32 %.01624, 1
  %67 = call noundef i32 @_ZN3glm3matILi3ELi3EfLNS_9qualifierE0EE6lengthEv()
  %68 = icmp slt i32 %66, %67
  br i1 %68, label %.lr.ph26, label %._crit_edge27, !llvm.loop !11

._crit_edge33:                                    ; preds = %.lr.ph32, %._crit_edge27
  %.2.lcssa = phi i32 [ %.1.lcssa, %._crit_edge27 ], [ %75, %.lr.ph32 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #8
  ret i32 %.2.lcssa

.lr.ph32:                                         ; preds = %._crit_edge27, %.lr.ph32
  %.030 = phi i32 [ %76, %.lr.ph32 ], [ 0, %._crit_edge27 ]
  %.229 = phi i32 [ %75, %.lr.ph32 ], [ %.1.lcssa, %._crit_edge27 ]
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %17) #8
  %69 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN3glm3matILi2ELi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(16) %15, i32 noundef %.030)
  %70 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN3glm3matILi2ELi2EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(16) %16, i32 noundef %.030)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #8
  %71 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %71, ptr %18, align 4, !tbaa !5
  %72 = call i16 @_ZN3glm12epsilonEqualILi2EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(8) %69, ptr noundef nonnull align 4 dereferenceable(8) %70, ptr noundef nonnull align 4 dereferenceable(4) %18)
  store i16 %72, ptr %17, align 2
  %73 = call noundef zeroext i1 @_ZN3glm3allILi2ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(2) %17)
  %not. = xor i1 %73, true
  %74 = zext i1 %not. to i32
  %75 = add nuw nsw i32 %.229, %74
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %17) #8
  %76 = add nuw nsw i32 %.030, 1
  %77 = call noundef i32 @_ZN3glm3matILi2ELi2EfLNS_9qualifierE0EE6lengthEv()
  %78 = icmp slt i32 %76, %77
  br i1 %78, label %.lr.ph32, label %._crit_edge33, !llvm.loop !12
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm7inverseILi4ELi4EfLNS_9qualifierE0EEENS_3matIXT_EXT0_ET1_XT2_EEERKS4_(ptr dead_on_unwind noalias writable sret(%"struct.glm::mat.27") align 4, ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm7inverseILi3ELi3EfLNS_9qualifierE0EEENS_3matIXT_EXT0_ET1_XT2_EEERKS4_(ptr dead_on_unwind noalias writable sret(%"struct.glm::mat.24") align 4, ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glmmlIfLNS_9qualifierE0EEENS_3matILi3ELi3ET_XT0_EEERKS4_S6_(ptr dead_on_unwind noalias writable sret(%"struct.glm::mat.24") align 4, ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN3glm7inverseILi2ELi2EfLNS_9qualifierE0EEENS_3matIXT_EXT0_ET1_XT2_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3matILi2ELi2ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) 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 = { 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass