; LLVM IR from jpvt/Computer_Graphics :: Assignment #3/third_party/glm/test/gtx/gtx_range.ll (Z8test_vecv)

; 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::vec" = type { %union.anon, %union.anon.0, %union.anon.1 }
%union.anon = type { i32 }
%union.anon.0 = type { i32 }
%union.anon.1 = type { i32 }
%"struct.glm::vec.2" = type { %union.anon.3, %union.anon.4, %union.anon.5 }
%union.anon.3 = type { i8 }
%union.anon.4 = type { i8 }
%union.anon.5 = type { i8 }

@__const._Z8test_vecv.v = external hidden unnamed_addr constant %"struct.glm::vec", align 4
@__const._Z8test_vecv.v.1 = external hidden unnamed_addr constant %"struct.glm::vec", align 4

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z8test_vecv() #0 {
  %1 = alloca i32, align 4
  %2 = alloca %"struct.glm::vec", align 4
  %3 = alloca i32, align 4
  %4 = alloca %"struct.glm::vec", align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"struct.glm::vec", align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"struct.glm::vec.2", align 1
  %15 = alloca %"struct.glm::vec", 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 12, ptr %2) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const._Z8test_vecv.v, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 0, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %4) #6
  call void @llvm.memset.p0.i64(ptr align 4 %4, i8 0, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  store ptr %2, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %16 = load ptr, ptr %5, align 8, !tbaa !9
  %17 = call noundef ptr @_ZN3glm5beginINS_3vecILi3EiLNS_9qualifierE0EEEEEPKNT_10value_typeERKS4_(ptr noundef nonnull align 4 dereferenceable(12) %16)
  store ptr %17, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %18 = load ptr, ptr %5, align 8, !tbaa !9
  %19 = call noundef ptr @_ZN3glm3endINS_3vecILi3EiLNS_9qualifierE0EEEEEPKNT_10value_typeERKS4_(ptr noundef nonnull align 4 dereferenceable(12) %18)
  store ptr %19, ptr %7, align 8, !tbaa !9
  br label %20

20:                                               ; preds = %33, %0
  %21 = load ptr, ptr %6, align 8, !tbaa !9
  %22 = load ptr, ptr %7, align 8, !tbaa !9
  %23 = icmp ne ptr %21, %22
  br i1 %23, label %25, label %24

24:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %36

25:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %26 = load ptr, ptr %6, align 8, !tbaa !9
  %27 = load i32, ptr %26, align 4, !tbaa !5
  store i32 %27, ptr %8, align 4, !tbaa !5
  %28 = load i32, ptr %8, align 4, !tbaa !5
  %29 = load i32, ptr %3, align 4, !tbaa !5
  %30 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi3EiLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(12) %4, i32 noundef %29)
  store i32 %28, ptr %30, align 4, !tbaa !5
  %31 = load i32, ptr %3, align 4, !tbaa !5
  %32 = add nsw i32 %31, 1
  store i32 %32, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %33

33:                                               ; preds = %25
  %34 = load ptr, ptr %6, align 8, !tbaa !9
  %35 = getelementptr inbounds i32, ptr %34, i32 1
  store ptr %35, ptr %6, align 8, !tbaa !9
  br label %20

36:                                               ; preds = %24
  %37 = load i32, ptr %3, align 4, !tbaa !5
  %38 = icmp eq i32 %37, 3
  %39 = zext i1 %38 to i64
  %40 = select i1 %38, i32 0, i32 1
  %41 = load i32, ptr %1, align 4, !tbaa !5
  %42 = add nsw i32 %41, %40
  store i32 %42, ptr %1, align 4, !tbaa !5
  %43 = call noundef zeroext i1 @_ZN3glmeqIiLNS_9qualifierE0EEEbRKNS_3vecILi3ET_XT0_EEES6_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %4)
  %44 = zext i1 %43 to i64
  %45 = select i1 %43, i32 0, i32 1
  %46 = load i32, ptr %1, align 4, !tbaa !5
  %47 = add nsw i32 %46, %45
  store i32 %47, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 12, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %9) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 @__const._Z8test_vecv.v.1, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  store ptr %9, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %48 = load ptr, ptr %10, align 8, !tbaa !9
  %49 = call noundef ptr @_ZN3glm5beginINS_3vecILi3EiLNS_9qualifierE0EEEEEPNT_10value_typeERS4_(ptr noundef nonnull align 4 dereferenceable(12) %48)
  store ptr %49, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %50 = load ptr, ptr %10, align 8, !tbaa !9
  %51 = call noundef ptr @_ZN3glm3endINS_3vecILi3EiLNS_9qualifierE0EEEEEPNT_10value_typeERS4_(ptr noundef nonnull align 4 dereferenceable(12) %50)
  store ptr %51, ptr %12, align 8, !tbaa !9
  br label %52

52:                                               ; preds = %60, %36
  %53 = load ptr, ptr %11, align 8, !tbaa !9
  %54 = load ptr, ptr %12, align 8, !tbaa !9
  %55 = icmp ne ptr %53, %54
  br i1 %55, label %57, label %56

56:                                               ; preds = %52
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %63

57:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %58 = load ptr, ptr %11, align 8, !tbaa !9
  store ptr %58, ptr %13, align 8, !tbaa !9
  %59 = load ptr, ptr %13, align 8, !tbaa !9
  store i32 0, ptr %59, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %60

60:                                               ; preds = %57
  %61 = load ptr, ptr %11, align 8, !tbaa !9
  %62 = getelementptr inbounds i32, ptr %61, i32 1
  store ptr %62, ptr %11, align 8, !tbaa !9
  br label %52

63:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 3, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %15) #6
  call void @_ZN3glm3vecILi3EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(12) %15, i32 noundef 0)
  %64 = call i24 @_ZN3glm5equalILi3EiLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %15)
  store i24 %64, ptr %14, align 1
  %65 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %14)
  %66 = zext i1 %65 to i64
  %67 = select i1 %65, i32 0, i32 1
  %68 = load i32, ptr %1, align 4, !tbaa !5
  %69 = add nsw i32 %68, %67
  store i32 %69, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 12, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %9) #6
  %70 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret i32 %70
}

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm3vecILi3EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef) 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { 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 = !{!"any pointer", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.glm::vec" = type { %union.anon, %union.anon.0, %union.anon.1 }
%union.anon = type { i32 }
%union.anon.0 = type { i32 }
%union.anon.1 = type { i32 }
%"struct.glm::vec.2" = type { %union.anon.3, %union.anon.4, %union.anon.5 }
%union.anon.3 = type { i8 }
%union.anon.4 = type { i8 }
%union.anon.5 = type { i8 }

@__const._Z8test_vecv.v = external hidden unnamed_addr constant %"struct.glm::vec", align 4
@__const._Z8test_vecv.v.1 = external hidden unnamed_addr constant %"struct.glm::vec", align 4

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 4) i32 @_Z8test_vecv() local_unnamed_addr #0 {
  %1 = alloca %"struct.glm::vec", align 4
  %2 = alloca %"struct.glm::vec", align 4
  %3 = alloca %"struct.glm::vec", align 4
  %4 = alloca %"struct.glm::vec.2", align 4
  %5 = alloca %"struct.glm::vec", align 4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %1) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) @__const._Z8test_vecv.v, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %2, i8 0, i64 12, i1 false)
  %6 = call noundef ptr @_ZN3glm5beginINS_3vecILi3EiLNS_9qualifierE0EEEEEPKNT_10value_typeERKS4_(ptr noundef nonnull align 4 dereferenceable(12) %1)
  %7 = call noundef ptr @_ZN3glm3endINS_3vecILi3EiLNS_9qualifierE0EEEEEPKNT_10value_typeERKS4_(ptr noundef nonnull align 4 dereferenceable(12) %1)
  %.not24 = icmp eq ptr %6, %7
  br i1 %.not24, label %._crit_edge, label %.lr.ph

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %8 = icmp ne i32 %21, 3
  %9 = zext i1 %8 to i32
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %0
  %.0.lcssa = phi i32 [ 1, %0 ], [ %9, %._crit_edge.loopexit ]
  %10 = call noundef zeroext i1 @_ZN3glmeqIiLNS_9qualifierE0EEEbRKNS_3vecILi3ET_XT0_EEES6_(ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %2)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) @__const._Z8test_vecv.v.1, i64 12, i1 false)
  %11 = call noundef ptr @_ZN3glm5beginINS_3vecILi3EiLNS_9qualifierE0EEEEEPNT_10value_typeERS4_(ptr noundef nonnull align 4 dereferenceable(12) %3)
  %12 = call noundef ptr @_ZN3glm3endINS_3vecILi3EiLNS_9qualifierE0EEEEEPNT_10value_typeERS4_(ptr noundef nonnull align 4 dereferenceable(12) %3)
  %.not2227 = icmp eq ptr %11, %12
  br i1 %.not2227, label %._crit_edge31, label %.lr.ph30.preheader

.lr.ph30.preheader:                               ; preds = %._crit_edge
  %13 = ptrtoint ptr %12 to i64
  %14 = ptrtoint ptr %11 to i64
  %15 = add i64 %13, -4
  %16 = sub i64 %15, %14
  %17 = and i64 %16, -4
  %18 = add i64 %17, 4
  call void @llvm.memset.p0.i64(ptr align 4 %11, i8 0, i64 %18, i1 false), !tbaa !5
  br label %._crit_edge31

.lr.ph:                                           ; preds = %0, %.lr.ph
  %.026 = phi i32 [ %21, %.lr.ph ], [ 0, %0 ]
  %.02125 = phi ptr [ %22, %.lr.ph ], [ %6, %0 ]
  %19 = load i32, ptr %.02125, align 4, !tbaa !5
  %20 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3glm3vecILi3EiLNS_9qualifierE0EEixEi(ptr noundef nonnull align 4 dereferenceable(12) %2, i32 noundef %.026)
  store i32 %19, ptr %20, align 4, !tbaa !5
  %21 = add nuw nsw i32 %.026, 1
  %22 = getelementptr inbounds i8, ptr %.02125, i64 4
  %.not = icmp eq ptr %22, %7
  br i1 %.not, label %._crit_edge.loopexit, label %.lr.ph

._crit_edge31:                                    ; preds = %.lr.ph30.preheader, %._crit_edge
  %not. = xor i1 %10, true
  %23 = zext i1 %not. to i32
  %24 = add nuw nsw i32 %.0.lcssa, %23
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #6
  call void @_ZN3glm3vecILi3EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(12) %5, i32 noundef 0)
  %25 = call i24 @_ZN3glm5equalILi3EiLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %5)
  store i24 %25, ptr %4, align 4
  %26 = call noundef zeroext i1 @_ZN3glm3allILi3ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(3) %4)
  %not.23 = xor i1 %26, true
  %27 = zext i1 %not.23 to i32
  %28 = add nuw nsw i32 %24, %27
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #6
  ret i32 %28
}

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm3vecILi3EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef) 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { 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"}


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