; LLVM IR from goldest-star/seawave-animation :: src/vcl/interaction/picking/ray (picking_ray)

; 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.vcl::ray" = type { %"struct.vcl::buffer_stack", %"struct.vcl::buffer_stack" }
%"struct.vcl::buffer_stack" = type { float, float, float }
%"struct.vcl::buffer_stack.1" = type { float, float, float, float }
%"struct.vcl::mat.2" = type { float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float }
%"struct.vcl::buffer_stack.0" = type { float, float }
%"struct.vcl::camera_scene" = type { float, %"struct.vcl::buffer_stack", %"struct.vcl::mat", %"struct.vcl::perspective_structure", i32, %"struct.vcl::buffer_stack.0" }
%"struct.vcl::mat" = type { float, float, float, float, float, float, float, float, float }
%"struct.vcl::perspective_structure" = type { float, float, float, float }

declare void @_ZN3vcl12buffer_stackIfLm3EEC1Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #0

; 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) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3vcl11picking_rayERKNS_12camera_sceneERKNS_12buffer_stackIfLm2EEE(ptr dead_on_unwind noalias writable sret(%"struct.vcl::ray") align 4 %0, ptr noundef nonnull align 4 dereferenceable(80) %1, ptr noundef nonnull align 4 dereferenceable(8) %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"struct.vcl::buffer_stack", align 4
  %7 = alloca { <2 x float>, float }, align 8
  %8 = alloca %"struct.vcl::buffer_stack.1", align 4
  %9 = alloca %"struct.vcl::mat.2", align 4
  %10 = alloca %"struct.vcl::mat.2", align 4
  %11 = alloca %"struct.vcl::buffer_stack.1", align 4
  %12 = alloca %"struct.vcl::buffer_stack.1", align 4
  %13 = alloca %"struct.vcl::buffer_stack.1", align 4
  %14 = alloca %"struct.vcl::buffer_stack", align 4
  %15 = alloca %"struct.vcl::buffer_stack", align 4
  %16 = alloca { <2 x float>, float }, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  store ptr %2, ptr %5, align 8, !tbaa !5
  call void @_ZN3vcl3rayC1Ev(ptr noundef nonnull align 4 dereferenceable(24) %0)
  call void @llvm.lifetime.start.p0(i64 12, ptr %6) #5
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = call { <2 x float>, float } @_ZNK3vcl12camera_scene15camera_positionEv(ptr noundef nonnull align 4 dereferenceable(80) %17)
  store { <2 x float>, float } %18, ptr %7, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 8 %7, i64 12, i1 false)
  %19 = getelementptr inbounds %"struct.vcl::ray", ptr %0, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %6, i64 12, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 12, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #5
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = getelementptr inbounds %"struct.vcl::buffer_stack.0", ptr %20, i32 0, i32 0
  %22 = load float, ptr %21, align 4, !tbaa !12
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = getelementptr inbounds %"struct.vcl::buffer_stack.0", ptr %23, i32 0, i32 1
  %25 = load float, ptr %24, align 4, !tbaa !14
  call void @_ZN3vcl12buffer_stackIfLm4EEC1Effff(ptr noundef nonnull align 4 dereferenceable(16) %8, float noundef %22, float noundef %25, float noundef -1.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 64, ptr %9) #5
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %"struct.vcl::camera_scene", ptr %26, i32 0, i32 3
  call void @_ZNK3vcl21perspective_structure14matrix_inverseEv(ptr dead_on_unwind writable sret(%"struct.vcl::mat.2") align 4 %9, ptr noundef nonnull align 4 dereferenceable(16) %27)
  call void @llvm.lifetime.start.p0(i64 64, ptr %10) #5
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3vcl12camera_scene13camera_matrixEv(ptr dead_on_unwind writable sret(%"struct.vcl::mat.2") align 4 %10, ptr noundef nonnull align 4 dereferenceable(80) %28)
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  %29 = call { <2 x float>, <2 x float> } @_ZN3vclmlILm4ELm4EEENS_12buffer_stackIfXT_EEERKNS_3matIXT_EXT0_EEERKNS1_IfXT0_EEE(ptr noundef nonnull align 4 dereferenceable(64) %9, ptr noundef nonnull align 4 dereferenceable(16) %8)
  %30 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %11, i32 0, i32 0
  %31 = extractvalue { <2 x float>, <2 x float> } %29, 0
  store <2 x float> %31, ptr %30, align 4
  %32 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %11, i32 0, i32 1
  %33 = extractvalue { <2 x float>, <2 x float> } %29, 1
  store <2 x float> %33, ptr %32, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  %34 = getelementptr inbounds %"struct.vcl::buffer_stack.1", ptr %11, i32 0, i32 0
  %35 = load float, ptr %34, align 4, !tbaa !15
  %36 = getelementptr inbounds %"struct.vcl::buffer_stack.1", ptr %11, i32 0, i32 1
  %37 = load float, ptr %36, align 4, !tbaa !17
  call void @_ZN3vcl12buffer_stackIfLm4EEC1Effff(ptr noundef nonnull align 4 dereferenceable(16) %13, float noundef %35, float noundef %37, float noundef -1.000000e+00, float noundef 0.000000e+00)
  %38 = call { <2 x float>, <2 x float> } @_ZN3vclmlILm4ELm4EEENS_12buffer_stackIfXT_EEERKNS_3matIXT_EXT0_EEERKNS1_IfXT0_EEE(ptr noundef nonnull align 4 dereferenceable(64) %10, ptr noundef nonnull align 4 dereferenceable(16) %13)
  %39 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %12, i32 0, i32 0
  %40 = extractvalue { <2 x float>, <2 x float> } %38, 0
  store <2 x float> %40, ptr %39, align 4
  %41 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %12, i32 0, i32 1
  %42 = extractvalue { <2 x float>, <2 x float> } %38, 1
  store <2 x float> %42, ptr %41, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %15) #5
  %43 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3vcl12buffer_stackIfLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %12, i64 noundef 0)
  %44 = load float, ptr %43, align 4, !tbaa !10
  %45 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3vcl12buffer_stackIfLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %12, i64 noundef 1)
  %46 = load float, ptr %45, align 4, !tbaa !10
  %47 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3vcl12buffer_stackIfLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %12, i64 noundef 2)
  %48 = load float, ptr %47, align 4, !tbaa !10
  call void @_ZN3vcl12buffer_stackIfLm3EEC1Efff(ptr noundef nonnull align 4 dereferenceable(12) %15, float noundef %44, float noundef %46, float noundef %48)
  %49 = call { <2 x float>, float } @_ZN3vcl9normalizeILm3EEENS_12buffer_stackIfXT_EEERKS2_(ptr noundef nonnull align 4 dereferenceable(12) %15)
  store { <2 x float>, float } %49, ptr %16, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 8 %16, i64 12, i1 false)
  %50 = getelementptr inbounds %"struct.vcl::ray", ptr %0, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 4 %14, i64 12, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 12, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #5
  ret void
}

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

declare { <2 x float>, float } @_ZNK3vcl12camera_scene15camera_positionEv(ptr noundef nonnull align 4 dereferenceable(80)) #0

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

declare void @_ZN3vcl12buffer_stackIfLm4EEC1Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #0

declare void @_ZNK3vcl21perspective_structure14matrix_inverseEv(ptr dead_on_unwind writable sret(%"struct.vcl::mat.2") align 4, ptr noundef nonnull align 4 dereferenceable(16)) #0

declare void @_ZNK3vcl12camera_scene13camera_matrixEv(ptr dead_on_unwind writable sret(%"struct.vcl::mat.2") align 4, ptr noundef nonnull align 4 dereferenceable(80)) #0

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

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

declare noundef nonnull align 4 dereferenceable(4) ptr @_ZN3vcl12buffer_stackIfLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16), i64 noundef) #0

declare void @_ZN3vcl3rayC1Ev(ptr)

attributes #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 nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i64 0, i64 4, !10, i64 4, i64 4, !10, i64 8, i64 4, !10}
!10 = !{!11, !11, i64 0}
!11 = !{!"float", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"_ZTSN3vcl12buffer_stackIfLm2EEE", !11, i64 0, !11, i64 4}
!14 = !{!13, !11, i64 4}
!15 = !{!16, !11, i64 0}
!16 = !{!"_ZTSN3vcl12buffer_stackIfLm4EEE", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!17 = !{!16, !11, i64 4}


; 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.vcl::ray" = type { %"struct.vcl::buffer_stack", %"struct.vcl::buffer_stack" }
%"struct.vcl::buffer_stack" = type { float, float, float }
%"struct.vcl::buffer_stack.1" = type { float, float, float, float }
%"struct.vcl::mat.2" = type { float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float }

declare void @_ZN3vcl12buffer_stackIfLm3EEC1Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3vcl11picking_rayERKNS_12camera_sceneERKNS_12buffer_stackIfLm2EEE(ptr dead_on_unwind noalias writable sret(%"struct.vcl::ray") align 4 %0, ptr noundef nonnull align 4 dereferenceable(80) %1, ptr nocapture noundef nonnull readonly align 4 dereferenceable(8) %2) local_unnamed_addr #1 {
  %4 = alloca %"struct.vcl::buffer_stack.1", align 4
  %5 = alloca %"struct.vcl::mat.2", align 4
  %6 = alloca %"struct.vcl::mat.2", align 4
  %7 = alloca %"struct.vcl::buffer_stack.1", align 8
  %8 = alloca %"struct.vcl::buffer_stack.1", align 4
  %9 = alloca %"struct.vcl::buffer_stack", align 4
  tail call void @_ZN3vcl3rayC1Ev(ptr noundef nonnull align 4 dereferenceable(24) %0)
  %10 = tail call { <2 x float>, float } @_ZNK3vcl12camera_scene15camera_positionEv(ptr noundef nonnull align 4 dereferenceable(80) %1)
  %.fca.0.extract3 = extractvalue { <2 x float>, float } %10, 0
  %.fca.1.extract4 = extractvalue { <2 x float>, float } %10, 1
  store <2 x float> %.fca.0.extract3, ptr %0, align 4
  %.sroa.48.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 8
  store float %.fca.1.extract4, ptr %.sroa.48.0..sroa_idx, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
  %11 = load float, ptr %2, align 4, !tbaa !9
  %12 = getelementptr inbounds i8, ptr %2, i64 4
  %13 = load float, ptr %12, align 4, !tbaa !11
  call void @_ZN3vcl12buffer_stackIfLm4EEC1Effff(ptr noundef nonnull align 4 dereferenceable(16) %4, float noundef %11, float noundef %13, float noundef -1.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #4
  %14 = getelementptr inbounds i8, ptr %1, i64 52
  call void @_ZNK3vcl21perspective_structure14matrix_inverseEv(ptr dead_on_unwind nonnull writable sret(%"struct.vcl::mat.2") align 4 %5, ptr noundef nonnull align 4 dereferenceable(16) %14)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #4
  call void @_ZNK3vcl12camera_scene13camera_matrixEv(ptr dead_on_unwind nonnull writable sret(%"struct.vcl::mat.2") align 4 %6, ptr noundef nonnull align 4 dereferenceable(80) %1)
  %15 = call { <2 x float>, <2 x float> } @_ZN3vclmlILm4ELm4EEENS_12buffer_stackIfXT_EEERKNS_3matIXT_EXT0_EEERKNS1_IfXT0_EEE(ptr noundef nonnull align 4 dereferenceable(64) %5, ptr noundef nonnull align 4 dereferenceable(16) %4)
  %16 = extractvalue { <2 x float>, <2 x float> } %15, 0
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #4
  %.sroa.02.0.vec.extract = extractelement <2 x float> %16, i64 0
  %.sroa.02.4.vec.extract = extractelement <2 x float> %16, i64 1
  call void @_ZN3vcl12buffer_stackIfLm4EEC1Effff(ptr noundef nonnull align 4 dereferenceable(16) %8, float noundef %.sroa.02.0.vec.extract, float noundef %.sroa.02.4.vec.extract, float noundef -1.000000e+00, float noundef 0.000000e+00)
  %17 = call { <2 x float>, <2 x float> } @_ZN3vclmlILm4ELm4EEENS_12buffer_stackIfXT_EEERKNS_3matIXT_EXT0_EEERKNS1_IfXT0_EEE(ptr noundef nonnull align 4 dereferenceable(64) %6, ptr noundef nonnull align 4 dereferenceable(16) %8)
  %18 = extractvalue { <2 x float>, <2 x float> } %17, 0
  store <2 x float> %18, ptr %7, align 8
  %19 = getelementptr inbounds i8, ptr %7, i64 8
  %20 = extractvalue { <2 x float>, <2 x float> } %17, 1
  store <2 x float> %20, ptr %19, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #4
  %21 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3vcl12buffer_stackIfLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %7, i64 noundef 0)
  %22 = load float, ptr %21, align 4, !tbaa !5
  %23 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3vcl12buffer_stackIfLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %7, i64 noundef 1)
  %24 = load float, ptr %23, align 4, !tbaa !5
  %25 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3vcl12buffer_stackIfLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16) %7, i64 noundef 2)
  %26 = load float, ptr %25, align 4, !tbaa !5
  call void @_ZN3vcl12buffer_stackIfLm3EEC1Efff(ptr noundef nonnull align 4 dereferenceable(12) %9, float noundef %22, float noundef %24, float noundef %26)
  %27 = call { <2 x float>, float } @_ZN3vcl9normalizeILm3EEENS_12buffer_stackIfXT_EEERKS2_(ptr noundef nonnull align 4 dereferenceable(12) %9)
  %.fca.0.extract = extractvalue { <2 x float>, float } %27, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %27, 1
  %28 = getelementptr inbounds i8, ptr %0, i64 12
  store <2 x float> %.fca.0.extract, ptr %28, align 4
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 20
  store float %.fca.1.extract, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
  ret void
}

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

declare { <2 x float>, float } @_ZNK3vcl12camera_scene15camera_positionEv(ptr noundef nonnull align 4 dereferenceable(80)) local_unnamed_addr #0

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

declare void @_ZN3vcl12buffer_stackIfLm4EEC1Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #0

declare void @_ZNK3vcl21perspective_structure14matrix_inverseEv(ptr dead_on_unwind writable sret(%"struct.vcl::mat.2") align 4, ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #0

declare void @_ZNK3vcl12camera_scene13camera_matrixEv(ptr dead_on_unwind writable sret(%"struct.vcl::mat.2") align 4, ptr noundef nonnull align 4 dereferenceable(80)) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3vcl9normalizeILm3EEENS_12buffer_stackIfXT_EEERKS2_(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1

declare noundef nonnull align 4 dereferenceable(4) ptr @_ZN3vcl12buffer_stackIfLm4EEixEm(ptr noundef nonnull align 4 dereferenceable(16), i64 noundef) local_unnamed_addr #0

declare void @_ZN3vcl3rayC1Ev(ptr) local_unnamed_addr

attributes #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 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTSN3vcl12buffer_stackIfLm2EEE", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 4}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,TailCallElimPass