; LLVM IR from Dovyski/opengl-demos :: libs/glm-0.9.9.3/test/core/core_func_common.ll (ZN4sign12test_f32vec4Ev)

; 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.sign::type.39" = type { %"struct.glm::vec.21", %"struct.glm::vec.21" }
%"struct.glm::vec.21" = type { %union.anon.22 }
%union.anon.22 = type { %struct.anon.23 }
%struct.anon.23 = type { float, float, float, float }
%"struct.glm::vec.27" = type { %union.anon.28 }
%union.anon.28 = type { %struct.anon.29 }
%struct.anon.29 = type { i8, i8, i8, i8 }

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

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

; 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 nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4)) #0

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN4sign12test_f32vec4Ev() #2 {
  %1 = alloca [7 x %"struct.sign::type.39"], align 16
  %2 = alloca i32, align 4
  %3 = alloca i64, align 8
  %4 = alloca %"struct.glm::vec.21", align 4
  %5 = alloca %"struct.glm::vec.27", align 1
  call void @llvm.lifetime.start.p0(i64 224, ptr %1) #5
  %6 = getelementptr inbounds %"struct.sign::type.39", ptr %1, i32 0, i32 0
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %6, float noundef 1.000000e+00)
  %7 = getelementptr inbounds %"struct.sign::type.39", ptr %1, i32 0, i32 1
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %7, float noundef 1.000000e+00)
  %8 = getelementptr inbounds %"struct.sign::type.39", ptr %1, i64 1
  %9 = getelementptr inbounds %"struct.sign::type.39", ptr %8, i32 0, i32 0
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %9, float noundef 0.000000e+00)
  %10 = getelementptr inbounds %"struct.sign::type.39", ptr %8, i32 0, i32 1
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %10, float noundef 0.000000e+00)
  %11 = getelementptr inbounds %"struct.sign::type.39", ptr %1, i64 2
  %12 = getelementptr inbounds %"struct.sign::type.39", ptr %11, i32 0, i32 0
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %12, float noundef 2.000000e+00)
  %13 = getelementptr inbounds %"struct.sign::type.39", ptr %11, i32 0, i32 1
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %13, float noundef 1.000000e+00)
  %14 = getelementptr inbounds %"struct.sign::type.39", ptr %1, i64 3
  %15 = getelementptr inbounds %"struct.sign::type.39", ptr %14, i32 0, i32 0
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %15, float noundef 3.000000e+00)
  %16 = getelementptr inbounds %"struct.sign::type.39", ptr %14, i32 0, i32 1
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %16, float noundef 1.000000e+00)
  %17 = getelementptr inbounds %"struct.sign::type.39", ptr %1, i64 4
  %18 = getelementptr inbounds %"struct.sign::type.39", ptr %17, i32 0, i32 0
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %18, float noundef -1.000000e+00)
  %19 = getelementptr inbounds %"struct.sign::type.39", ptr %17, i32 0, i32 1
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %19, float noundef -1.000000e+00)
  %20 = getelementptr inbounds %"struct.sign::type.39", ptr %1, i64 5
  %21 = getelementptr inbounds %"struct.sign::type.39", ptr %20, i32 0, i32 0
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %21, float noundef -2.000000e+00)
  %22 = getelementptr inbounds %"struct.sign::type.39", ptr %20, i32 0, i32 1
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %22, float noundef -1.000000e+00)
  %23 = getelementptr inbounds %"struct.sign::type.39", ptr %1, i64 6
  %24 = getelementptr inbounds %"struct.sign::type.39", ptr %23, i32 0, i32 0
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %24, float noundef -3.000000e+00)
  %25 = getelementptr inbounds %"struct.sign::type.39", ptr %23, i32 0, i32 1
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %25, float noundef -1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  store i64 0, ptr %3, align 8, !tbaa !9
  br label %26

26:                                               ; preds = %53, %0
  %27 = load i64, ptr %3, align 8, !tbaa !9
  %28 = icmp ult i64 %27, 7
  br i1 %28, label %30, label %29

29:                                               ; preds = %26
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %56

30:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #5
  %31 = load i64, ptr %3, align 8, !tbaa !9
  %32 = getelementptr inbounds [7 x %"struct.sign::type.39"], ptr %1, i64 0, i64 %31
  %33 = getelementptr inbounds %"struct.sign::type.39", ptr %32, i32 0, i32 0
  %34 = call { <2 x float>, <2 x float> } @_ZN3glm4signILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %33)
  %35 = getelementptr inbounds %"struct.glm::vec.21", ptr %4, i32 0, i32 0
  %36 = getelementptr inbounds %union.anon.22, ptr %35, i32 0, i32 0
  %37 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %36, i32 0, i32 0
  %38 = extractvalue { <2 x float>, <2 x float> } %34, 0
  store <2 x float> %38, ptr %37, align 4
  %39 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %36, i32 0, i32 1
  %40 = extractvalue { <2 x float>, <2 x float> } %34, 1
  store <2 x float> %40, ptr %39, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  %41 = load i64, ptr %3, align 8, !tbaa !9
  %42 = getelementptr inbounds [7 x %"struct.sign::type.39"], ptr %1, i64 0, i64 %41
  %43 = getelementptr inbounds %"struct.sign::type.39", ptr %42, i32 0, i32 1
  %44 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %45 = call i32 @_ZN3glm5equalILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(16) %43, ptr noundef nonnull align 4 dereferenceable(16) %4, float noundef %44)
  %46 = getelementptr inbounds %"struct.glm::vec.27", ptr %5, i32 0, i32 0
  %47 = getelementptr inbounds %union.anon.28, ptr %46, i32 0, i32 0
  store i32 %45, ptr %47, align 1
  %48 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %5)
  %49 = zext i1 %48 to i64
  %50 = select i1 %48, i32 0, i32 1
  %51 = load i32, ptr %2, align 4, !tbaa !5
  %52 = add nsw i32 %51, %50
  store i32 %52, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #5
  br label %53

53:                                               ; preds = %30
  %54 = load i64, ptr %3, align 8, !tbaa !9
  %55 = add i64 %54, 1
  store i64 %55, ptr %3, align 8, !tbaa !9
  br label %26, !llvm.loop !11

56:                                               ; preds = %29
  %57 = load i32, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 224, ptr %1) #5
  ret i32 %57
}

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

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

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { 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 #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; 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.sign::type.39" = type { %"struct.glm::vec.21", %"struct.glm::vec.21" }
%"struct.glm::vec.21" = type { %union.anon.22 }
%union.anon.22 = type { %struct.anon.23 }
%struct.anon.23 = type { float, float, float, float }
%"struct.glm::vec.27" = type { %union.anon.28 }
%union.anon.28 = type { %struct.anon.29 }
%struct.anon.29 = type { i8, i8, i8, i8 }

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

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

; 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 nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN4sign12test_f32vec4Ev() local_unnamed_addr #2 {
  %1 = alloca [7 x %"struct.sign::type.39"], align 16
  %2 = alloca %"struct.glm::vec.21", align 8
  %3 = alloca %"struct.glm::vec.27", align 4
  call void @llvm.lifetime.start.p0(i64 224, ptr nonnull %1) #5
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %1, float noundef 1.000000e+00)
  %4 = getelementptr inbounds i8, ptr %1, i64 16
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %4, float noundef 1.000000e+00)
  %5 = getelementptr inbounds i8, ptr %1, i64 32
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef 0.000000e+00)
  %6 = getelementptr inbounds i8, ptr %1, i64 48
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %6, float noundef 0.000000e+00)
  %7 = getelementptr inbounds i8, ptr %1, i64 64
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %7, float noundef 2.000000e+00)
  %8 = getelementptr inbounds i8, ptr %1, i64 80
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %8, float noundef 1.000000e+00)
  %9 = getelementptr inbounds i8, ptr %1, i64 96
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %9, float noundef 3.000000e+00)
  %10 = getelementptr inbounds i8, ptr %1, i64 112
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %10, float noundef 1.000000e+00)
  %11 = getelementptr inbounds i8, ptr %1, i64 128
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %11, float noundef -1.000000e+00)
  %12 = getelementptr inbounds i8, ptr %1, i64 144
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %12, float noundef -1.000000e+00)
  %13 = getelementptr inbounds i8, ptr %1, i64 160
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %13, float noundef -2.000000e+00)
  %14 = getelementptr inbounds i8, ptr %1, i64 176
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %14, float noundef -1.000000e+00)
  %15 = getelementptr inbounds i8, ptr %1, i64 192
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %15, float noundef -3.000000e+00)
  %16 = getelementptr inbounds i8, ptr %1, i64 208
  call void @_ZN3glm3vecILi4EfLNS_9qualifierE0EEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %16, float noundef -1.000000e+00)
  %17 = getelementptr inbounds i8, ptr %2, i64 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #5
  %18 = call { <2 x float>, <2 x float> } @_ZN3glm4signILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %1)
  %19 = extractvalue { <2 x float>, <2 x float> } %18, 0
  store <2 x float> %19, ptr %2, align 8
  %20 = extractvalue { <2 x float>, <2 x float> } %18, 1
  store <2 x float> %20, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  %21 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %22 = call i32 @_ZN3glm5equalILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(16) %2, float noundef %21)
  store i32 %22, ptr %3, align 4
  %23 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %3)
  %not. = xor i1 %23, true
  %24 = zext i1 %not. to i32
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #5
  %25 = call { <2 x float>, <2 x float> } @_ZN3glm4signILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %5)
  %26 = extractvalue { <2 x float>, <2 x float> } %25, 0
  store <2 x float> %26, ptr %2, align 8
  %27 = extractvalue { <2 x float>, <2 x float> } %25, 1
  store <2 x float> %27, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  %28 = getelementptr inbounds i8, ptr %1, i64 48
  %29 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %30 = call i32 @_ZN3glm5equalILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(16) %28, ptr noundef nonnull align 4 dereferenceable(16) %2, float noundef %29)
  store i32 %30, ptr %3, align 4
  %31 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %3)
  %not..1 = xor i1 %31, true
  %32 = zext i1 %not..1 to i32
  %33 = add nuw nsw i32 %24, %32
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #5
  %34 = call { <2 x float>, <2 x float> } @_ZN3glm4signILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %7)
  %35 = extractvalue { <2 x float>, <2 x float> } %34, 0
  store <2 x float> %35, ptr %2, align 8
  %36 = extractvalue { <2 x float>, <2 x float> } %34, 1
  store <2 x float> %36, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  %37 = getelementptr inbounds i8, ptr %1, i64 80
  %38 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %39 = call i32 @_ZN3glm5equalILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(16) %37, ptr noundef nonnull align 4 dereferenceable(16) %2, float noundef %38)
  store i32 %39, ptr %3, align 4
  %40 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %3)
  %not..2 = xor i1 %40, true
  %41 = zext i1 %not..2 to i32
  %42 = add nuw nsw i32 %33, %41
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #5
  %43 = call { <2 x float>, <2 x float> } @_ZN3glm4signILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %9)
  %44 = extractvalue { <2 x float>, <2 x float> } %43, 0
  store <2 x float> %44, ptr %2, align 8
  %45 = extractvalue { <2 x float>, <2 x float> } %43, 1
  store <2 x float> %45, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  %46 = getelementptr inbounds i8, ptr %1, i64 112
  %47 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %48 = call i32 @_ZN3glm5equalILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(16) %46, ptr noundef nonnull align 4 dereferenceable(16) %2, float noundef %47)
  store i32 %48, ptr %3, align 4
  %49 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %3)
  %not..3 = xor i1 %49, true
  %50 = zext i1 %not..3 to i32
  %51 = add nuw nsw i32 %42, %50
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #5
  %52 = call { <2 x float>, <2 x float> } @_ZN3glm4signILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %11)
  %53 = extractvalue { <2 x float>, <2 x float> } %52, 0
  store <2 x float> %53, ptr %2, align 8
  %54 = extractvalue { <2 x float>, <2 x float> } %52, 1
  store <2 x float> %54, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  %55 = getelementptr inbounds i8, ptr %1, i64 144
  %56 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %57 = call i32 @_ZN3glm5equalILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(16) %55, ptr noundef nonnull align 4 dereferenceable(16) %2, float noundef %56)
  store i32 %57, ptr %3, align 4
  %58 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %3)
  %not..4 = xor i1 %58, true
  %59 = zext i1 %not..4 to i32
  %60 = add nuw nsw i32 %51, %59
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #5
  %61 = call { <2 x float>, <2 x float> } @_ZN3glm4signILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %13)
  %62 = extractvalue { <2 x float>, <2 x float> } %61, 0
  store <2 x float> %62, ptr %2, align 8
  %63 = extractvalue { <2 x float>, <2 x float> } %61, 1
  store <2 x float> %63, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  %64 = getelementptr inbounds i8, ptr %1, i64 176
  %65 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %66 = call i32 @_ZN3glm5equalILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(16) %64, ptr noundef nonnull align 4 dereferenceable(16) %2, float noundef %65)
  store i32 %66, ptr %3, align 4
  %67 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %3)
  %not..5 = xor i1 %67, true
  %68 = zext i1 %not..5 to i32
  %69 = add nuw nsw i32 %60, %68
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #5
  %70 = call { <2 x float>, <2 x float> } @_ZN3glm4signILi4EfLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %15)
  %71 = extractvalue { <2 x float>, <2 x float> } %70, 0
  store <2 x float> %71, ptr %2, align 8
  %72 = extractvalue { <2 x float>, <2 x float> } %70, 1
  store <2 x float> %72, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  %73 = getelementptr inbounds i8, ptr %1, i64 208
  %74 = call noundef float @_ZN3glm7epsilonIfEET_v()
  %75 = call i32 @_ZN3glm5equalILi4EfLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_S4_(ptr noundef nonnull align 4 dereferenceable(16) %73, ptr noundef nonnull align 4 dereferenceable(16) %2, float noundef %74)
  store i32 %75, ptr %3, align 4
  %76 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %3)
  %not..6 = xor i1 %76, true
  %77 = zext i1 %not..6 to i32
  %78 = add nuw nsw i32 %69, %77
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %1) #5
  ret i32 %78
}

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

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

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { 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 #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LICMPass,LoopRotatePass,ReassociatePass,SROAPass,SimplifyCFGPass