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

; 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.33" = type { %"struct.glm::vec.34", %"struct.glm::vec.34" }
%"struct.glm::vec.34" = type { %union.anon.35 }
%union.anon.35 = type { %struct.anon.36 }
%struct.anon.36 = type { i32, i32, i32, i32 }
%"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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

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

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

26:                                               ; preds = %52, %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) #4
  br label %55

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i64 } @_ZN3glm4signILi4EiLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16)) #3

; Function Attrs: inlinehint mustprogress nounwind 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 @_ZN3glm5equalILi4EiLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_(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 = { 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 #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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.33" = type { %"struct.glm::vec.34", %"struct.glm::vec.34" }
%"struct.glm::vec.34" = type { %union.anon.35 }
%union.anon.35 = type { %struct.anon.36 }
%struct.anon.36 = type { i32, i32, i32, i32 }
%"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: 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i64 } @_ZN3glm4signILi4EiLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN3glm5equalILi4EiLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_(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 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 #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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