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

; 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 { float }
%union.anon.0 = type { float }
%union.anon.1 = type { float }

@__const._Z22test_intersectRayPlanev.PlaneOrigin = external hidden unnamed_addr constant %"struct.glm::vec", align 4
@__const._Z22test_intersectRayPlanev.PlaneNormal = external hidden unnamed_addr constant %"struct.glm::vec", align 4
@__const._Z22test_intersectRayPlanev.RayDir = external hidden unnamed_addr constant %"struct.glm::vec", align 4

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z22test_intersectRayPlanev() #0 {
  %1 = alloca i32, align 4
  %2 = alloca %"struct.glm::vec", align 4
  %3 = alloca %"struct.glm::vec", align 4
  %4 = alloca %"struct.glm::vec", align 4
  %5 = alloca %"struct.glm::vec", align 4
  %6 = alloca float, align 4
  %7 = alloca i8, align 1
  %8 = alloca float, align 4
  %9 = alloca i8, align 1
  %10 = alloca %"struct.glm::vec", align 4
  %11 = alloca { <2 x float>, float }, align 8
  %12 = alloca float, align 4
  %13 = alloca i8, align 1
  %14 = alloca %"struct.glm::vec", align 4
  %15 = alloca { <2 x float>, float }, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #7
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %2) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const._Z22test_intersectRayPlanev.PlaneOrigin, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %3) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 @__const._Z22test_intersectRayPlanev.PlaneNormal, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %4) #7
  call void @llvm.memset.p0.i64(ptr align 4 %4, i8 0, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %5) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 @__const._Z22test_intersectRayPlanev.RayDir, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store float 0.000000e+00, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #7
  %16 = call noundef zeroext i1 @_ZN3glm17intersectRayPlaneINS_3vecILi3EfLNS_9qualifierE0EEEEEbRKT_S6_S6_S6_RNS4_10value_typeE(ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %17 = zext i1 %16 to i8
  store i8 %17, ptr %7, align 1, !tbaa !11
  %18 = load float, ptr %6, align 4, !tbaa !9
  %19 = fsub float %18, 1.000000e+00
  %20 = call noundef float @_ZN3glm3absIfEET_S1_(float noundef %19)
  %21 = call noundef float @_ZNSt14numeric_limitsIfE7epsilonEv() #7
  %22 = fcmp ole float %20, %21
  %23 = zext i1 %22 to i64
  %24 = select i1 %22, i32 0, i32 1
  %25 = load i32, ptr %1, align 4, !tbaa !5
  %26 = add nsw i32 %25, %24
  store i32 %26, ptr %1, align 4, !tbaa !5
  %27 = load i8, ptr %7, align 1, !tbaa !11, !range !13, !noundef !14
  %28 = trunc i8 %27 to i1
  %29 = zext i1 %28 to i64
  %30 = select i1 %28, i32 0, i32 1
  %31 = load i32, ptr %1, align 4, !tbaa !5
  %32 = add nsw i32 %31, %30
  store i32 %32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store float 0.000000e+00, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %10) #7
  %33 = call { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef -1.000000e+00, ptr noundef nonnull align 4 dereferenceable(12) %3)
  store { <2 x float>, float } %33, ptr %11, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 8 %11, i64 12, i1 false)
  %34 = call noundef zeroext i1 @_ZN3glm17intersectRayPlaneINS_3vecILi3EfLNS_9qualifierE0EEEEEbRKT_S6_S6_S6_RNS4_10value_typeE(ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(4) %8)
  call void @llvm.lifetime.end.p0(i64 12, ptr %10) #7
  %35 = zext i1 %34 to i8
  store i8 %35, ptr %9, align 1, !tbaa !11
  %36 = load float, ptr %8, align 4, !tbaa !9
  %37 = fsub float %36, 1.000000e+00
  %38 = call noundef float @_ZN3glm3absIfEET_S1_(float noundef %37)
  %39 = call noundef float @_ZNSt14numeric_limitsIfE7epsilonEv() #7
  %40 = fcmp ole float %38, %39
  %41 = zext i1 %40 to i64
  %42 = select i1 %40, i32 0, i32 1
  %43 = load i32, ptr %1, align 4, !tbaa !5
  %44 = add nsw i32 %43, %42
  store i32 %44, ptr %1, align 4, !tbaa !5
  %45 = load i8, ptr %9, align 1, !tbaa !11, !range !13, !noundef !14
  %46 = trunc i8 %45 to i1
  %47 = zext i1 %46 to i64
  %48 = select i1 %46, i32 0, i32 1
  %49 = load i32, ptr %1, align 4, !tbaa !5
  %50 = add nsw i32 %49, %48
  store i32 %50, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  store float 0x4023FFF2E0000000, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %14) #7
  %51 = call { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef -1.000000e+00, ptr noundef nonnull align 4 dereferenceable(12) %2)
  store { <2 x float>, float } %51, ptr %15, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 8 %15, i64 12, i1 false)
  %52 = call noundef zeroext i1 @_ZN3glm17intersectRayPlaneINS_3vecILi3EfLNS_9qualifierE0EEEEEbRKT_S6_S6_S6_RNS4_10value_typeE(ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %14, ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(4) %12)
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #7
  %53 = zext i1 %52 to i8
  store i8 %53, ptr %13, align 1, !tbaa !11
  %54 = load float, ptr %12, align 4, !tbaa !9
  %55 = fsub float %54, 0x4023FFF2E0000000
  %56 = call noundef float @_ZN3glm3absIfEET_S1_(float noundef %55)
  %57 = call noundef float @_ZNSt14numeric_limitsIfE7epsilonEv() #7
  %58 = fcmp ole float %56, %57
  %59 = zext i1 %58 to i64
  %60 = select i1 %58, i32 0, i32 1
  %61 = load i32, ptr %1, align 4, !tbaa !5
  %62 = add nsw i32 %61, %60
  store i32 %62, ptr %1, align 4, !tbaa !5
  %63 = load i8, ptr %13, align 1, !tbaa !11, !range !13, !noundef !14
  %64 = trunc i8 %63 to i1
  %65 = zext i1 %64 to i64
  %66 = select i1 %64, i32 1, i32 0
  %67 = load i32, ptr %1, align 4, !tbaa !5
  %68 = add nsw i32 %67, %66
  store i32 %68, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  %69 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 12, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #7
  ret i32 %69
}

; 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 zeroext i1 @_ZN3glm17intersectRayPlaneINS_3vecILi3EfLNS_9qualifierE0EEEEEbRKT_S6_S6_S6_RNS4_10value_typeE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4)) #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNSt14numeric_limitsIfE7epsilonEv() #6 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 { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef, ptr noundef nonnull align 4 dereferenceable(12)) #5

attributes #0 = { 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 #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"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress 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 #7 = { 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 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}


; 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 { float }
%union.anon.0 = type { float }
%union.anon.1 = type { float }

@__const._Z22test_intersectRayPlanev.PlaneOrigin = external hidden unnamed_addr constant %"struct.glm::vec", align 4
@__const._Z22test_intersectRayPlanev.PlaneNormal = external hidden unnamed_addr constant %"struct.glm::vec", align 4
@__const._Z22test_intersectRayPlanev.RayDir = external hidden unnamed_addr constant %"struct.glm::vec", align 4

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 7) i32 @_Z22test_intersectRayPlanev() 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", align 4
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  %7 = alloca %"struct.glm::vec", align 8
  %8 = alloca float, align 4
  %9 = alloca %"struct.glm::vec", align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %1) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) @__const._Z22test_intersectRayPlanev.PlaneOrigin, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) @__const._Z22test_intersectRayPlanev.PlaneNormal, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %3, i8 0, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) @__const._Z22test_intersectRayPlanev.RayDir, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  store float 0.000000e+00, ptr %5, align 4, !tbaa !5
  %10 = call noundef zeroext i1 @_ZN3glm17intersectRayPlaneINS_3vecILi3EfLNS_9qualifierE0EEEEEbRKT_S6_S6_S6_RNS4_10value_typeE(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %11 = load float, ptr %5, align 4, !tbaa !5
  %12 = fadd float %11, -1.000000e+00
  %13 = call noundef float @_ZN3glm3absIfEET_S1_(float noundef %12)
  %14 = call noundef float @_ZNSt14numeric_limitsIfE7epsilonEv() #7
  %15 = fcmp ugt float %13, %14
  %16 = zext i1 %15 to i32
  %not. = xor i1 %10, true
  %17 = zext i1 %not. to i32
  %18 = add nuw nsw i32 %16, %17
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  store float 0.000000e+00, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #7
  %19 = call { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef -1.000000e+00, ptr noundef nonnull align 4 dereferenceable(12) %2)
  %.fca.0.extract1 = extractvalue { <2 x float>, float } %19, 0
  %.fca.1.extract2 = extractvalue { <2 x float>, float } %19, 1
  store <2 x float> %.fca.0.extract1, ptr %7, align 8
  %.sroa.24.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  store float %.fca.1.extract2, ptr %.sroa.24.0..sroa_idx, align 8
  %20 = call noundef zeroext i1 @_ZN3glm17intersectRayPlaneINS_3vecILi3EfLNS_9qualifierE0EEEEEbRKT_S6_S6_S6_RNS4_10value_typeE(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #7
  %21 = load float, ptr %6, align 4, !tbaa !5
  %22 = fadd float %21, -1.000000e+00
  %23 = call noundef float @_ZN3glm3absIfEET_S1_(float noundef %22)
  %24 = call noundef float @_ZNSt14numeric_limitsIfE7epsilonEv() #7
  %25 = fcmp ugt float %23, %24
  %26 = zext i1 %25 to i32
  %not.15 = xor i1 %20, true
  %27 = zext i1 %not.15 to i32
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  store float 0x4023FFF2E0000000, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #7
  %28 = call { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef -1.000000e+00, ptr noundef nonnull align 4 dereferenceable(12) %1)
  %.fca.0.extract = extractvalue { <2 x float>, float } %28, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %28, 1
  store <2 x float> %.fca.0.extract, ptr %9, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %9, i64 8
  store float %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  %29 = call noundef zeroext i1 @_ZN3glm17intersectRayPlaneINS_3vecILi3EfLNS_9qualifierE0EEEEEbRKT_S6_S6_S6_RNS4_10value_typeE(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(4) %8)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #7
  %30 = load float, ptr %8, align 4, !tbaa !5
  %31 = fadd float %30, 0xC023FFF2E0000000
  %32 = call noundef float @_ZN3glm3absIfEET_S1_(float noundef %31)
  %33 = call noundef float @_ZNSt14numeric_limitsIfE7epsilonEv() #7
  %34 = fcmp ugt float %32, %33
  %35 = zext i1 %34 to i32
  %36 = zext i1 %29 to i32
  %37 = add nuw nsw i32 %18, %27
  %38 = add nuw nsw i32 %37, %26
  %39 = add nuw nsw i32 %38, %36
  %40 = add nuw nsw i32 %39, %35
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %1) #7
  ret i32 %40
}

; 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 zeroext i1 @_ZN3glm17intersectRayPlaneINS_3vecILi3EfLNS_9qualifierE0EEEEEbRKT_S6_S6_S6_RNS4_10value_typeE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNSt14numeric_limitsIfE7epsilonEv() local_unnamed_addr #6 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 { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef, ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5

attributes #0 = { 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 #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"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress 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 #7 = { 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"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass