; LLVM IR from Razakhel/RaZ :: src/RaZ/Utils/Shape.ll (ZNK3Raz4Quad18computeBoundingBoxEv)

; 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"

%"class.Raz::AABB" = type { %"class.Raz::Shape", %"class.Raz::Vector", %"class.Raz::Vector" }
%"class.Raz::Shape" = type { ptr }
%"class.Raz::Vector" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x float] }
%"struct.std::pair.0" = type { float, float }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.Raz::Quad" = type { %"class.Raz::Shape", %"class.Raz::Vector", %"class.Raz::Vector", %"class.Raz::Vector", %"class.Raz::Vector" }

; 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 nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1xEv(ptr noundef nonnull align 4 dereferenceable(12)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1yEv(ptr noundef nonnull align 4 dereferenceable(12)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1zEv(ptr noundef nonnull align 4 dereferenceable(12)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3Raz6VectorIfLm3EEC2IJRKfS4_S4_EvvEEDpOT_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3Raz4AABBC2ERKNS_6VectorIfLm3EEES4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZSt6minmaxIfESt4pairIT_S1_ESt16initializer_listIS1_E(ptr, i64) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EffEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS4_(ptr noundef nonnull align 4 dereferenceable(8)) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1EffEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS4_(ptr noundef nonnull align 4 dereferenceable(8)) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3Raz4Quad18computeBoundingBoxEv(ptr dead_on_unwind noalias writable sret(%"class.Raz::AABB") align 8 %0, ptr noundef nonnull align 8 dereferenceable(56) %1) unnamed_addr #3 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.std::pair.0", align 4
  %6 = alloca %"class.std::initializer_list", align 8
  %7 = alloca [4 x float], align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"struct.std::pair.0", align 4
  %11 = alloca %"class.std::initializer_list", align 8
  %12 = alloca [4 x float], align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"struct.std::pair.0", align 4
  %16 = alloca %"class.std::initializer_list", align 8
  %17 = alloca [4 x float], align 4
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"class.Raz::Vector", align 4
  %21 = alloca %"class.Raz::Vector", align 4
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %22 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #4
  %23 = getelementptr inbounds %"class.Raz::Quad", ptr %22, i32 0, i32 1
  %24 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1xEv(ptr noundef nonnull align 4 dereferenceable(12) %23) #4
  %25 = load float, ptr %24, align 4, !tbaa !9
  store float %25, ptr %7, align 4, !tbaa !9
  %26 = getelementptr inbounds float, ptr %7, i64 1
  %27 = getelementptr inbounds %"class.Raz::Quad", ptr %22, i32 0, i32 2
  %28 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1xEv(ptr noundef nonnull align 4 dereferenceable(12) %27) #4
  %29 = load float, ptr %28, align 4, !tbaa !9
  store float %29, ptr %26, align 4, !tbaa !9
  %30 = getelementptr inbounds float, ptr %7, i64 2
  %31 = getelementptr inbounds %"class.Raz::Quad", ptr %22, i32 0, i32 3
  %32 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1xEv(ptr noundef nonnull align 4 dereferenceable(12) %31) #4
  %33 = load float, ptr %32, align 4, !tbaa !9
  store float %33, ptr %30, align 4, !tbaa !9
  %34 = getelementptr inbounds float, ptr %7, i64 3
  %35 = getelementptr inbounds %"class.Raz::Quad", ptr %22, i32 0, i32 4
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1xEv(ptr noundef nonnull align 4 dereferenceable(12) %35) #4
  %37 = load float, ptr %36, align 4, !tbaa !9
  store float %37, ptr %34, align 4, !tbaa !9
  %38 = getelementptr inbounds %"class.std::initializer_list", ptr %6, i32 0, i32 0
  store ptr %7, ptr %38, align 8, !tbaa !11
  %39 = getelementptr inbounds %"class.std::initializer_list", ptr %6, i32 0, i32 1
  store i64 4, ptr %39, align 8, !tbaa !14
  %40 = getelementptr inbounds { ptr, i64 }, ptr %6, i32 0, i32 0
  %41 = load ptr, ptr %40, align 8
  %42 = getelementptr inbounds { ptr, i64 }, ptr %6, i32 0, i32 1
  %43 = load i64, ptr %42, align 8
  %44 = call <2 x float> @_ZSt6minmaxIfESt4pairIT_S1_ESt16initializer_listIS1_E(ptr %41, i64 %43)
  store <2 x float> %44, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %45 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EffEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS4_(ptr noundef nonnull align 4 dereferenceable(8) %5) #4
  store ptr %45, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %46 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1EffEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS4_(ptr noundef nonnull align 4 dereferenceable(8) %5) #4
  store ptr %46, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #4
  %47 = getelementptr inbounds %"class.Raz::Quad", ptr %22, i32 0, i32 1
  %48 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1yEv(ptr noundef nonnull align 4 dereferenceable(12) %47) #4
  %49 = load float, ptr %48, align 4, !tbaa !9
  store float %49, ptr %12, align 4, !tbaa !9
  %50 = getelementptr inbounds float, ptr %12, i64 1
  %51 = getelementptr inbounds %"class.Raz::Quad", ptr %22, i32 0, i32 2
  %52 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1yEv(ptr noundef nonnull align 4 dereferenceable(12) %51) #4
  %53 = load float, ptr %52, align 4, !tbaa !9
  store float %53, ptr %50, align 4, !tbaa !9
  %54 = getelementptr inbounds float, ptr %12, i64 2
  %55 = getelementptr inbounds %"class.Raz::Quad", ptr %22, i32 0, i32 3
  %56 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1yEv(ptr noundef nonnull align 4 dereferenceable(12) %55) #4
  %57 = load float, ptr %56, align 4, !tbaa !9
  store float %57, ptr %54, align 4, !tbaa !9
  %58 = getelementptr inbounds float, ptr %12, i64 3
  %59 = getelementptr inbounds %"class.Raz::Quad", ptr %22, i32 0, i32 4
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1yEv(ptr noundef nonnull align 4 dereferenceable(12) %59) #4
  %61 = load float, ptr %60, align 4, !tbaa !9
  store float %61, ptr %58, align 4, !tbaa !9
  %62 = getelementptr inbounds %"class.std::initializer_list", ptr %11, i32 0, i32 0
  store ptr %12, ptr %62, align 8, !tbaa !11
  %63 = getelementptr inbounds %"class.std::initializer_list", ptr %11, i32 0, i32 1
  store i64 4, ptr %63, align 8, !tbaa !14
  %64 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 0
  %65 = load ptr, ptr %64, align 8
  %66 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 1
  %67 = load i64, ptr %66, align 8
  %68 = call <2 x float> @_ZSt6minmaxIfESt4pairIT_S1_ESt16initializer_listIS1_E(ptr %65, i64 %67)
  store <2 x float> %68, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %69 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EffEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS4_(ptr noundef nonnull align 4 dereferenceable(8) %10) #4
  store ptr %69, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %70 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1EffEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS4_(ptr noundef nonnull align 4 dereferenceable(8) %10) #4
  store ptr %70, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #4
  %71 = getelementptr inbounds %"class.Raz::Quad", ptr %22, i32 0, i32 1
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1zEv(ptr noundef nonnull align 4 dereferenceable(12) %71) #4
  %73 = load float, ptr %72, align 4, !tbaa !9
  store float %73, ptr %17, align 4, !tbaa !9
  %74 = getelementptr inbounds float, ptr %17, i64 1
  %75 = getelementptr inbounds %"class.Raz::Quad", ptr %22, i32 0, i32 2
  %76 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1zEv(ptr noundef nonnull align 4 dereferenceable(12) %75) #4
  %77 = load float, ptr %76, align 4, !tbaa !9
  store float %77, ptr %74, align 4, !tbaa !9
  %78 = getelementptr inbounds float, ptr %17, i64 2
  %79 = getelementptr inbounds %"class.Raz::Quad", ptr %22, i32 0, i32 3
  %80 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1zEv(ptr noundef nonnull align 4 dereferenceable(12) %79) #4
  %81 = load float, ptr %80, align 4, !tbaa !9
  store float %81, ptr %78, align 4, !tbaa !9
  %82 = getelementptr inbounds float, ptr %17, i64 3
  %83 = getelementptr inbounds %"class.Raz::Quad", ptr %22, i32 0, i32 4
  %84 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1zEv(ptr noundef nonnull align 4 dereferenceable(12) %83) #4
  %85 = load float, ptr %84, align 4, !tbaa !9
  store float %85, ptr %82, align 4, !tbaa !9
  %86 = getelementptr inbounds %"class.std::initializer_list", ptr %16, i32 0, i32 0
  store ptr %17, ptr %86, align 8, !tbaa !11
  %87 = getelementptr inbounds %"class.std::initializer_list", ptr %16, i32 0, i32 1
  store i64 4, ptr %87, align 8, !tbaa !14
  %88 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 0
  %89 = load ptr, ptr %88, align 8
  %90 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 1
  %91 = load i64, ptr %90, align 8
  %92 = call <2 x float> @_ZSt6minmaxIfESt4pairIT_S1_ESt16initializer_listIS1_E(ptr %89, i64 %91)
  store <2 x float> %92, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %93 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EffEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS4_(ptr noundef nonnull align 4 dereferenceable(8) %15) #4
  store ptr %93, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %94 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1EffEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS4_(ptr noundef nonnull align 4 dereferenceable(8) %15) #4
  store ptr %94, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %20) #4
  %95 = load ptr, ptr %8, align 8, !tbaa !5
  %96 = load ptr, ptr %13, align 8, !tbaa !5
  %97 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN3Raz6VectorIfLm3EEC2IJRKfS4_S4_EvvEEDpOT_(ptr noundef nonnull align 4 dereferenceable(12) %20, ptr noundef nonnull align 4 dereferenceable(4) %95, ptr noundef nonnull align 4 dereferenceable(4) %96, ptr noundef nonnull align 4 dereferenceable(4) %97) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr %21) #4
  %98 = load ptr, ptr %9, align 8, !tbaa !5
  %99 = load ptr, ptr %14, align 8, !tbaa !5
  %100 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN3Raz6VectorIfLm3EEC2IJRKfS4_S4_EvvEEDpOT_(ptr noundef nonnull align 4 dereferenceable(12) %21, ptr noundef nonnull align 4 dereferenceable(4) %98, ptr noundef nonnull align 4 dereferenceable(4) %99, ptr noundef nonnull align 4 dereferenceable(4) %100) #4
  call void @_ZN3Raz4AABBC2ERKNS_6VectorIfLm3EEES4_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 4 dereferenceable(12) %20, ptr noundef nonnull align 4 dereferenceable(12) %21) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 = { 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 = !{!"any pointer", !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, !6, i64 0}
!12 = !{!"_ZTSSt16initializer_listIfE", !6, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !13, i64 8}


; 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"

%"class.Raz::AABB" = type { %"class.Raz::Shape", %"class.Raz::Vector", %"class.Raz::Vector" }
%"class.Raz::Shape" = type { ptr }
%"class.Raz::Vector" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x float] }
%"struct.std::pair.0" = type { float, float }

; 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 nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1xEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1yEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1zEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3Raz6VectorIfLm3EEC2IJRKfS4_S4_EvvEEDpOT_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3Raz4AABBC2ERKNS_6VectorIfLm3EEES4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZSt6minmaxIfESt4pairIT_S1_ESt16initializer_listIS1_E(ptr, i64) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EffEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS4_(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1EffEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS4_(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3Raz4Quad18computeBoundingBoxEv(ptr dead_on_unwind noalias writable sret(%"class.Raz::AABB") align 8 %0, ptr noundef nonnull align 8 dereferenceable(56) %1) unnamed_addr #3 align 2 {
  %3 = alloca %"struct.std::pair.0", align 8
  %4 = alloca [4 x float], align 4
  %5 = alloca %"struct.std::pair.0", align 8
  %6 = alloca [4 x float], align 4
  %7 = alloca %"struct.std::pair.0", align 8
  %8 = alloca [4 x float], align 4
  %9 = alloca %"class.Raz::Vector", align 4
  %10 = alloca %"class.Raz::Vector", align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
  %11 = getelementptr inbounds i8, ptr %1, i64 8
  %12 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1xEv(ptr noundef nonnull align 4 dereferenceable(12) %11) #4
  %13 = load float, ptr %12, align 4, !tbaa !5
  store float %13, ptr %4, align 4, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %4, i64 4
  %15 = getelementptr inbounds i8, ptr %1, i64 20
  %16 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1xEv(ptr noundef nonnull align 4 dereferenceable(12) %15) #4
  %17 = load float, ptr %16, align 4, !tbaa !5
  store float %17, ptr %14, align 4, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %4, i64 8
  %19 = getelementptr inbounds i8, ptr %1, i64 32
  %20 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1xEv(ptr noundef nonnull align 4 dereferenceable(12) %19) #4
  %21 = load float, ptr %20, align 4, !tbaa !5
  store float %21, ptr %18, align 4, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %4, i64 12
  %23 = getelementptr inbounds i8, ptr %1, i64 44
  %24 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1xEv(ptr noundef nonnull align 4 dereferenceable(12) %23) #4
  %25 = load float, ptr %24, align 4, !tbaa !5
  store float %25, ptr %22, align 4, !tbaa !5
  %26 = call <2 x float> @_ZSt6minmaxIfESt4pairIT_S1_ESt16initializer_listIS1_E(ptr nonnull %4, i64 4)
  store <2 x float> %26, ptr %3, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
  %27 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EffEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS4_(ptr noundef nonnull align 4 dereferenceable(8) %3) #4
  %28 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1EffEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS4_(ptr noundef nonnull align 4 dereferenceable(8) %3) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4
  %29 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1yEv(ptr noundef nonnull align 4 dereferenceable(12) %11) #4
  %30 = load float, ptr %29, align 4, !tbaa !5
  store float %30, ptr %6, align 4, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %6, i64 4
  %32 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1yEv(ptr noundef nonnull align 4 dereferenceable(12) %15) #4
  %33 = load float, ptr %32, align 4, !tbaa !5
  store float %33, ptr %31, align 4, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %6, i64 8
  %35 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1yEv(ptr noundef nonnull align 4 dereferenceable(12) %19) #4
  %36 = load float, ptr %35, align 4, !tbaa !5
  store float %36, ptr %34, align 4, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %6, i64 12
  %38 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1yEv(ptr noundef nonnull align 4 dereferenceable(12) %23) #4
  %39 = load float, ptr %38, align 4, !tbaa !5
  store float %39, ptr %37, align 4, !tbaa !5
  %40 = call <2 x float> @_ZSt6minmaxIfESt4pairIT_S1_ESt16initializer_listIS1_E(ptr nonnull %6, i64 4)
  store <2 x float> %40, ptr %5, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EffEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS4_(ptr noundef nonnull align 4 dereferenceable(8) %5) #4
  %42 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1EffEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS4_(ptr noundef nonnull align 4 dereferenceable(8) %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #4
  %43 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1zEv(ptr noundef nonnull align 4 dereferenceable(12) %11) #4
  %44 = load float, ptr %43, align 4, !tbaa !5
  store float %44, ptr %8, align 4, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %8, i64 4
  %46 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1zEv(ptr noundef nonnull align 4 dereferenceable(12) %15) #4
  %47 = load float, ptr %46, align 4, !tbaa !5
  store float %47, ptr %45, align 4, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %8, i64 8
  %49 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1zEv(ptr noundef nonnull align 4 dereferenceable(12) %19) #4
  %50 = load float, ptr %49, align 4, !tbaa !5
  store float %50, ptr %48, align 4, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %8, i64 12
  %52 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3Raz6VectorIfLm3EE1zEv(ptr noundef nonnull align 4 dereferenceable(12) %23) #4
  %53 = load float, ptr %52, align 4, !tbaa !5
  store float %53, ptr %51, align 4, !tbaa !5
  %54 = call <2 x float> @_ZSt6minmaxIfESt4pairIT_S1_ESt16initializer_listIS1_E(ptr nonnull %8, i64 4)
  store <2 x float> %54, ptr %7, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #4
  %55 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EffEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS4_(ptr noundef nonnull align 4 dereferenceable(8) %7) #4
  %56 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1EffEOKNSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOKS4_(ptr noundef nonnull align 4 dereferenceable(8) %7) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #4
  call void @_ZN3Raz6VectorIfLm3EEC2IJRKfS4_S4_EvvEEDpOT_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %41, ptr noundef nonnull align 4 dereferenceable(4) %55) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %10) #4
  call void @_ZN3Raz6VectorIfLm3EEC2IJRKfS4_S4_EvvEEDpOT_(ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %42, ptr noundef nonnull align 4 dereferenceable(4) %56) #4
  call void @_ZN3Raz4AABBC2ERKNS_6VectorIfLm3EEES4_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %10) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 = { 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,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,TailCallElimPass