; LLVM IR from Dovyski/opengl-demos :: libs/glm-0.9.9.3/test/gtc/gtc_matrix_inverse.ll (Z11test_affinev)

; 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 { [3 x %"struct.glm::vec"] }
%"struct.glm::vec" = type { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { float, float, float }
%"struct.glm::vec.2" = type { %union.anon.3 }
%union.anon.3 = type { %struct.anon.4 }
%struct.anon.4 = type { i8, i8, i8 }
%"struct.glm::mat.7" = type { [4 x %"struct.glm::vec.8"] }
%"struct.glm::vec.8" = type { %union.anon.9 }
%union.anon.9 = type { %struct.anon.10 }
%struct.anon.10 = type { float, float, float, float }
%"struct.glm::vec.13" = type { %union.anon.14 }
%union.anon.14 = type { %struct.anon.15 }
%struct.anon.15 = type { i8, i8, i8, i8 }

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z11test_affinev() #0 {
  %1 = alloca i32, align 4
  %2 = alloca %"struct.glm::mat", align 4
  %3 = alloca %"struct.glm::mat", align 4
  %4 = alloca %"struct.glm::mat", align 4
  %5 = alloca %"struct.glm::mat", align 4
  %6 = alloca i32, align 4
  %7 = alloca %"struct.glm::vec.2", align 1
  %8 = alloca float, align 4
  %9 = alloca %"struct.glm::vec.2", align 1
  %10 = alloca float, align 4
  %11 = alloca %"struct.glm::mat.7", align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca float, align 4
  %28 = alloca %"struct.glm::mat.7", align 4
  %29 = alloca %"struct.glm::mat.7", align 4
  %30 = alloca %"struct.glm::mat.7", align 4
  %31 = alloca i32, align 4
  %32 = alloca %"struct.glm::vec.13", align 1
  %33 = alloca float, align 4
  %34 = alloca %"struct.glm::vec.13", align 1
  %35 = alloca float, 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 36, ptr %2) #6
  call void @_ZN3glm3matILi3ELi3EfLNS_9qualifierE0EEC2Efffffffff(ptr noundef nonnull align 4 dereferenceable(36) %2, float noundef 2.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 2.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 36, ptr %3) #6
  call void @_ZN3glm13affineInverseIfLNS_9qualifierE0EEENS_3matILi3ELi3ET_XT0_EEERKS4_(ptr dead_on_unwind writable sret(%"struct.glm::mat") align 4 %3, ptr noundef nonnull align 4 dereferenceable(36) %2)
  call void @llvm.lifetime.start.p0(i64 36, ptr %4) #6
  call void @_ZN3glm7inverseILi3ELi3EfLNS_9qualifierE0EEENS_3matIXT_EXT0_ET1_XT2_EEERKS4_(ptr dead_on_unwind writable sret(%"struct.glm::mat") align 4 %4, ptr noundef nonnull align 4 dereferenceable(36) %2)
  call void @llvm.lifetime.start.p0(i64 36, ptr %5) #6
  call void @_ZN3glm13affineInverseIfLNS_9qualifierE0EEENS_3matILi3ELi3ET_XT0_EEERKS4_(ptr dead_on_unwind writable sret(%"struct.glm::mat") align 4 %5, ptr noundef nonnull align 4 dereferenceable(36) %3)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %36

36:                                               ; preds = %66, %0
  %37 = load i32, ptr %6, align 4, !tbaa !5
  %38 = call noundef i32 @_ZN3glm3matILi3ELi3EfLNS_9qualifierE0EE6lengthEv()
  %39 = icmp slt i32 %37, %38
  br i1 %39, label %41, label %40

40:                                               ; preds = %36
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %69

41:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 3, ptr %7) #6
  %42 = load i32, ptr %6, align 4, !tbaa !5
  %43 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3glm3matILi3ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(36) %2, i32 noundef %42)
  %44 = load i32, ptr %6, align 4, !tbaa !5
  %45 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3glm3matILi3ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(36) %5, i32 noundef %44)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store float 0x3F847AE140000000, ptr %8, align 4, !tbaa !9
  %46 = call i24 @_ZN3glm12epsilonEqualILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(12) %43, ptr noundef nonnull align 4 dereferenceable(12) %45, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %47 = getelementptr inbounds %"struct.glm::vec.2", ptr %7, i32 0, i32 0
  %48 = getelementptr inbounds %union.anon.3, ptr %47, i32 0, i32 0
  store i24 %46, ptr %48, align 1
  %49 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %7)
  %50 = zext i1 %49 to i64
  %51 = select i1 %49, i32 0, i32 1
  %52 = load i32, ptr %1, align 4, !tbaa !5
  %53 = add nsw i32 %52, %51
  store i32 %53, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 3, ptr %9) #6
  %54 = load i32, ptr %6, align 4, !tbaa !5
  %55 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3glm3matILi3ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(36) %3, i32 noundef %54)
  %56 = load i32, ptr %6, align 4, !tbaa !5
  %57 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3glm3matILi3ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(36) %4, i32 noundef %56)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store float 0x3F847AE140000000, ptr %10, align 4, !tbaa !9
  %58 = call i24 @_ZN3glm12epsilonEqualILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(12) %55, ptr noundef nonnull align 4 dereferenceable(12) %57, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %59 = getelementptr inbounds %"struct.glm::vec.2", ptr %9, i32 0, i32 0
  %60 = getelementptr inbounds %union.anon.3, ptr %59, i32 0, i32 0
  store i24 %58, ptr %60, align 1
  %61 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %9)
  %62 = zext i1 %61 to i64
  %63 = select i1 %61, i32 0, i32 1
  %64 = load i32, ptr %1, align 4, !tbaa !5
  %65 = add nsw i32 %64, %63
  store i32 %65, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr %9) #6
  br label %66

66:                                               ; preds = %41
  %67 = load i32, ptr %6, align 4, !tbaa !5
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %6, align 4, !tbaa !5
  br label %36, !llvm.loop !11

69:                                               ; preds = %40
  call void @llvm.lifetime.end.p0(i64 36, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store float 2.000000e+00, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store float 0.000000e+00, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store float 0.000000e+00, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store float 0.000000e+00, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store float 0.000000e+00, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store float 2.000000e+00, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store float 0.000000e+00, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store float 0.000000e+00, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  store float 0.000000e+00, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store float 0.000000e+00, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store float 2.000000e+00, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store float 0.000000e+00, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  store float 0.000000e+00, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  store float 0.000000e+00, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  store float 0.000000e+00, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  store float 1.000000e+00, ptr %27, align 4, !tbaa !9
  call void @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EEC2ERKfS4_S4_S4_S4_S4_S4_S4_S4_S4_S4_S4_S4_S4_S4_S4_(ptr noundef nonnull align 4 dereferenceable(64) %11, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 4 dereferenceable(4) %27)
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %28) #6
  call void @_ZN3glm13affineInverseIfLNS_9qualifierE0EEENS_3matILi4ELi4ET_XT0_EEERKS4_(ptr dead_on_unwind writable sret(%"struct.glm::mat.7") align 4 %28, ptr noundef nonnull align 4 dereferenceable(64) %11)
  call void @llvm.lifetime.start.p0(i64 64, ptr %29) #6
  call void @_ZN3glm7inverseILi4ELi4EfLNS_9qualifierE0EEENS_3matIXT_EXT0_ET1_XT2_EEERKS4_(ptr dead_on_unwind writable sret(%"struct.glm::mat.7") align 4 %29, ptr noundef nonnull align 4 dereferenceable(64) %11)
  call void @llvm.lifetime.start.p0(i64 64, ptr %30) #6
  call void @_ZN3glm13affineInverseIfLNS_9qualifierE0EEENS_3matILi4ELi4ET_XT0_EEERKS4_(ptr dead_on_unwind writable sret(%"struct.glm::mat.7") align 4 %30, ptr noundef nonnull align 4 dereferenceable(64) %28)
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  store i32 0, ptr %31, align 4, !tbaa !5
  br label %70

70:                                               ; preds = %100, %69
  %71 = load i32, ptr %31, align 4, !tbaa !5
  %72 = call noundef i32 @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EE6lengthEv()
  %73 = icmp slt i32 %71, %72
  br i1 %73, label %75, label %74

74:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  br label %103

75:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  %76 = load i32, ptr %31, align 4, !tbaa !5
  %77 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK3glm3matILi4ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(64) %11, i32 noundef %76)
  %78 = load i32, ptr %31, align 4, !tbaa !5
  %79 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK3glm3matILi4ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(64) %30, i32 noundef %78)
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  store float 0x3F847AE140000000, ptr %33, align 4, !tbaa !9
  %80 = call i32 @_ZN3glm12epsilonEqualILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(16) %77, ptr noundef nonnull align 4 dereferenceable(16) %79, ptr noundef nonnull align 4 dereferenceable(4) %33)
  %81 = getelementptr inbounds %"struct.glm::vec.13", ptr %32, i32 0, i32 0
  %82 = getelementptr inbounds %union.anon.14, ptr %81, i32 0, i32 0
  store i32 %80, ptr %82, align 1
  %83 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %32)
  %84 = zext i1 %83 to i64
  %85 = select i1 %83, i32 0, i32 1
  %86 = load i32, ptr %1, align 4, !tbaa !5
  %87 = add nsw i32 %86, %85
  store i32 %87, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #6
  %88 = load i32, ptr %31, align 4, !tbaa !5
  %89 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK3glm3matILi4ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(64) %28, i32 noundef %88)
  %90 = load i32, ptr %31, align 4, !tbaa !5
  %91 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK3glm3matILi4ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(64) %29, i32 noundef %90)
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  store float 0x3F847AE140000000, ptr %35, align 4, !tbaa !9
  %92 = call i32 @_ZN3glm12epsilonEqualILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(16) %89, ptr noundef nonnull align 4 dereferenceable(16) %91, ptr noundef nonnull align 4 dereferenceable(4) %35)
  %93 = getelementptr inbounds %"struct.glm::vec.13", ptr %34, i32 0, i32 0
  %94 = getelementptr inbounds %union.anon.14, ptr %93, i32 0, i32 0
  store i32 %92, ptr %94, align 1
  %95 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %34)
  %96 = zext i1 %95 to i64
  %97 = select i1 %95, i32 0, i32 1
  %98 = load i32, ptr %1, align 4, !tbaa !5
  %99 = add nsw i32 %98, %97
  store i32 %99, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  br label %100

100:                                              ; preds = %75
  %101 = load i32, ptr %31, align 4, !tbaa !5
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %31, align 4, !tbaa !5
  br label %70, !llvm.loop !13

103:                                              ; preds = %74
  call void @llvm.lifetime.end.p0(i64 64, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %11) #6
  %104 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret i32 %104
}

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

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

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

; 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") align 4, ptr noundef nonnull align 4 dereferenceable(36)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3glm3matILi3ELi3EfLNS_9qualifierE0EE6lengthEv() #4 align 2

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

; 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)) #3

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

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

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

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

; 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.7") align 4, ptr noundef nonnull align 4 dereferenceable(64)) #2

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

; 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)) #3

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

attributes #0 = { 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 #1 = { nocallback nofree nosync 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 = { 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 #4 = { 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 = { 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 = { 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}


; 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 { [3 x %"struct.glm::vec"] }
%"struct.glm::vec" = type { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { float, float, float }
%"struct.glm::vec.2" = type { %union.anon.3 }
%union.anon.3 = type { %struct.anon.4 }
%struct.anon.4 = type { i8, i8, i8 }
%"struct.glm::mat.7" = type { [4 x %"struct.glm::vec.8"] }
%"struct.glm::vec.8" = type { %union.anon.9 }
%union.anon.9 = type { %struct.anon.10 }
%struct.anon.10 = type { float, float, float, float }
%"struct.glm::vec.13" = type { %union.anon.14 }
%union.anon.14 = type { %struct.anon.15 }
%struct.anon.15 = type { i8, i8, i8, i8 }

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z11test_affinev() local_unnamed_addr #0 {
  %1 = alloca %"struct.glm::mat", align 4
  %2 = alloca %"struct.glm::mat", align 4
  %3 = alloca %"struct.glm::mat", align 4
  %4 = alloca %"struct.glm::mat", align 4
  %5 = alloca %"struct.glm::vec.2", align 4
  %6 = alloca float, align 4
  %7 = alloca %"struct.glm::vec.2", align 4
  %8 = alloca float, align 4
  %9 = alloca %"struct.glm::mat.7", align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca float, align 4
  %26 = alloca %"struct.glm::mat.7", align 4
  %27 = alloca %"struct.glm::mat.7", align 4
  %28 = alloca %"struct.glm::mat.7", align 4
  %29 = alloca %"struct.glm::vec.13", align 4
  %30 = alloca float, align 4
  %31 = alloca %"struct.glm::vec.13", align 4
  %32 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %1) #6
  call void @_ZN3glm3matILi3ELi3EfLNS_9qualifierE0EEC2Efffffffff(ptr noundef nonnull align 4 dereferenceable(36) %1, float noundef 2.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 2.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %2) #6
  call void @_ZN3glm13affineInverseIfLNS_9qualifierE0EEENS_3matILi3ELi3ET_XT0_EEERKS4_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat") align 4 %2, ptr noundef nonnull align 4 dereferenceable(36) %1)
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %3) #6
  call void @_ZN3glm7inverseILi3ELi3EfLNS_9qualifierE0EEENS_3matIXT_EXT0_ET1_XT2_EEERKS4_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat") align 4 %3, ptr noundef nonnull align 4 dereferenceable(36) %1)
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %4) #6
  call void @_ZN3glm13affineInverseIfLNS_9qualifierE0EEENS_3matILi3ELi3ET_XT0_EEERKS4_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat") align 4 %4, ptr noundef nonnull align 4 dereferenceable(36) %2)
  %33 = call noundef i32 @_ZN3glm3matILi3ELi3EfLNS_9qualifierE0EE6lengthEv()
  %34 = icmp sgt i32 %33, 0
  br i1 %34, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %0
  %.018.lcssa = phi i32 [ 0, %0 ], [ %48, %.lr.ph ]
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  store float 2.000000e+00, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #6
  store float 0.000000e+00, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #6
  store float 0.000000e+00, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  store float 0.000000e+00, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #6
  store float 0.000000e+00, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #6
  store float 2.000000e+00, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #6
  store float 0.000000e+00, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #6
  store float 0.000000e+00, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #6
  store float 0.000000e+00, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #6
  store float 0.000000e+00, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #6
  store float 2.000000e+00, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #6
  store float 0.000000e+00, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #6
  store float 0.000000e+00, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #6
  store float 0.000000e+00, ptr %23, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #6
  store float 0.000000e+00, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #6
  store float 1.000000e+00, ptr %25, align 4, !tbaa !5
  call void @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EEC2ERKfS4_S4_S4_S4_S4_S4_S4_S4_S4_S4_S4_S4_S4_S4_S4_(ptr noundef nonnull align 4 dereferenceable(64) %9, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef nonnull align 4 dereferenceable(4) %25)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %26) #6
  call void @_ZN3glm13affineInverseIfLNS_9qualifierE0EEENS_3matILi4ELi4ET_XT0_EEERKS4_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat.7") align 4 %26, ptr noundef nonnull align 4 dereferenceable(64) %9)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %27) #6
  call void @_ZN3glm7inverseILi4ELi4EfLNS_9qualifierE0EEENS_3matIXT_EXT0_ET1_XT2_EEERKS4_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat.7") align 4 %27, ptr noundef nonnull align 4 dereferenceable(64) %9)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %28) #6
  call void @_ZN3glm13affineInverseIfLNS_9qualifierE0EEENS_3matILi4ELi4ET_XT0_EEERKS4_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat.7") align 4 %28, ptr noundef nonnull align 4 dereferenceable(64) %26)
  %35 = call noundef i32 @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EE6lengthEv()
  %36 = icmp sgt i32 %35, 0
  br i1 %36, label %.lr.ph27, label %._crit_edge28

.lr.ph:                                           ; preds = %0, %.lr.ph
  %.01723 = phi i32 [ %49, %.lr.ph ], [ 0, %0 ]
  %.01822 = phi i32 [ %48, %.lr.ph ], [ 0, %0 ]
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %5) #6
  %37 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3glm3matILi3ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(36) %1, i32 noundef %.01723)
  %38 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3glm3matILi3ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(36) %4, i32 noundef %.01723)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  store float 0x3F847AE140000000, ptr %6, align 4, !tbaa !5
  %39 = call i24 @_ZN3glm12epsilonEqualILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(12) %37, ptr noundef nonnull align 4 dereferenceable(12) %38, ptr noundef nonnull align 4 dereferenceable(4) %6)
  store i24 %39, ptr %5, align 4
  %40 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %5)
  %not.20 = xor i1 %40, true
  %41 = zext i1 %not.20 to i32
  %42 = add nsw i32 %.01822, %41
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %7) #6
  %43 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3glm3matILi3ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(36) %2, i32 noundef %.01723)
  %44 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3glm3matILi3ELi3EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(36) %3, i32 noundef %.01723)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #6
  store float 0x3F847AE140000000, ptr %8, align 4, !tbaa !5
  %45 = call i24 @_ZN3glm12epsilonEqualILi3EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(12) %43, ptr noundef nonnull align 4 dereferenceable(12) %44, ptr noundef nonnull align 4 dereferenceable(4) %8)
  store i24 %45, ptr %7, align 4
  %46 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %7)
  %not.21 = xor i1 %46, true
  %47 = zext i1 %not.21 to i32
  %48 = add nsw i32 %42, %47
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %7) #6
  %49 = add nuw nsw i32 %.01723, 1
  %50 = call noundef i32 @_ZN3glm3matILi3ELi3EfLNS_9qualifierE0EE6lengthEv()
  %51 = icmp slt i32 %49, %50
  br i1 %51, label %.lr.ph, label %._crit_edge, !llvm.loop !9

._crit_edge28:                                    ; preds = %.lr.ph27, %._crit_edge
  %.1.lcssa = phi i32 [ %.018.lcssa, %._crit_edge ], [ %63, %.lr.ph27 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #6
  ret i32 %.1.lcssa

.lr.ph27:                                         ; preds = %._crit_edge, %.lr.ph27
  %.025 = phi i32 [ %64, %.lr.ph27 ], [ 0, %._crit_edge ]
  %.124 = phi i32 [ %63, %.lr.ph27 ], [ %.018.lcssa, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #6
  %52 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK3glm3matILi4ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(64) %9, i32 noundef %.025)
  %53 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK3glm3matILi4ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(64) %28, i32 noundef %.025)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %30) #6
  store float 0x3F847AE140000000, ptr %30, align 4, !tbaa !5
  %54 = call i32 @_ZN3glm12epsilonEqualILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_RKS4_(ptr noundef nonnull align 4 dereferenceable(16) %52, ptr noundef nonnull align 4 dereferenceable(16) %53, ptr noundef nonnull align 4 dereferenceable(4) %30)
  store i32 %54, ptr %29, align 4
  %55 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %29)
  %not. = xor i1 %55, true
  %56 = zext i1 %not. to i32
  %57 = add nsw i32 %.124, %56
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #6
  %58 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK3glm3matILi4ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(64) %26, i32 noundef %.025)
  %59 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK3glm3matILi4ELi4EfLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(64) %27, i32 noundef %.025)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %32) #6
  store float 0x3F847AE140000000, ptr %32, align 4, !tbaa !5
  %60 = 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) %59, ptr noundef nonnull align 4 dereferenceable(4) %32)
  store i32 %60, ptr %31, align 4
  %61 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %31)
  %not.19 = xor i1 %61, true
  %62 = zext i1 %not.19 to i32
  %63 = add nsw i32 %57, %62
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %32) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #6
  %64 = add nuw nsw i32 %.025, 1
  %65 = call noundef i32 @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EE6lengthEv()
  %66 = icmp slt i32 %64, %65
  br i1 %66, label %.lr.ph27, label %._crit_edge28, !llvm.loop !11
}

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

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

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

; 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") align 4, ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3glm3matILi3ELi3EfLNS_9qualifierE0EE6lengthEv() local_unnamed_addr #4 align 2

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

; 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 #3

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

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

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

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

; 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.7") align 4, ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #2

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

; 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 #3

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync 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 = { 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 #4 = { 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 = { 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 = { 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}


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