; LLVM IR from Slingshot-Physics/slingshot-community :: common/geometry/src (mesh)

; 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.Vector3 = type { [3 x float] }
%"struct.geometry::types::pointBaryCoord_t" = type { %class.Vector3, %class.Vector4 }
%class.Vector4 = type { [4 x float] }
%"struct.geometry::mesh::pointOnMesh_t" = type { %class.Vector3, %class.Vector4, i32 }
%"struct.geometry::types::triangleMesh_t" = type { i32, i32, [1000 x %"struct.geometry::types::meshTriangle_t"], [500 x %class.Vector3] }
%"struct.geometry::types::meshTriangle_t" = type { [3 x i32], %class.Vector3 }

; 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
declare dso_local void @_ZNK7Vector3miERKS_(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #1 align 2

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

declare void @_ZN8geometry8triangle19closestPointToPointERK7Vector3S3_S3_S3_(ptr dead_on_unwind writable sret(%"struct.geometry::types::pointBaryCoord_t") align 4, 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)) #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8geometry4mesh19closestPointToPointERKNS_5types14triangleMesh_tERK7Vector3(ptr dead_on_unwind noalias writable sret(%"struct.geometry::mesh::pointOnMesh_t") align 4 %0, ptr noundef nonnull align 4 dereferenceable(30008) %1, ptr noundef nonnull align 4 dereferenceable(12) %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca float, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"struct.geometry::types::pointBaryCoord_t", align 4
  %10 = alloca float, align 4
  %11 = alloca %class.Vector3, align 4
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @_ZN8geometry4mesh13pointOnMesh_tC2Ev(ptr noundef nonnull align 4 dereferenceable(32) %0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store float 0x47EFFFFFE0000000, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !11
  br label %12

12:                                               ; preds = %74, %3
  %13 = load i32, ptr %8, align 4, !tbaa !11
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = getelementptr inbounds %"struct.geometry::types::triangleMesh_t", ptr %14, i32 0, i32 0
  %16 = load i32, ptr %15, align 4, !tbaa !13
  %17 = icmp ult i32 %13, %16
  br i1 %17, label %19, label %18

18:                                               ; preds = %12
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %77

19:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 28, ptr %9) #5
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = getelementptr inbounds %"struct.geometry::types::triangleMesh_t", ptr %20, i32 0, i32 3
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds %"struct.geometry::types::triangleMesh_t", ptr %22, i32 0, i32 2
  %24 = load i32, ptr %8, align 4, !tbaa !11
  %25 = zext i32 %24 to i64
  %26 = getelementptr inbounds [1000 x %"struct.geometry::types::meshTriangle_t"], ptr %23, i64 0, i64 %25
  %27 = getelementptr inbounds %"struct.geometry::types::meshTriangle_t", ptr %26, i32 0, i32 0
  %28 = getelementptr inbounds [3 x i32], ptr %27, i64 0, i64 0
  %29 = load i32, ptr %28, align 4, !tbaa !11
  %30 = zext i32 %29 to i64
  %31 = getelementptr inbounds [500 x %class.Vector3], ptr %21, i64 0, i64 %30
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.geometry::types::triangleMesh_t", ptr %32, i32 0, i32 3
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = getelementptr inbounds %"struct.geometry::types::triangleMesh_t", ptr %34, i32 0, i32 2
  %36 = load i32, ptr %8, align 4, !tbaa !11
  %37 = zext i32 %36 to i64
  %38 = getelementptr inbounds [1000 x %"struct.geometry::types::meshTriangle_t"], ptr %35, i64 0, i64 %37
  %39 = getelementptr inbounds %"struct.geometry::types::meshTriangle_t", ptr %38, i32 0, i32 0
  %40 = getelementptr inbounds [3 x i32], ptr %39, i64 0, i64 1
  %41 = load i32, ptr %40, align 4, !tbaa !11
  %42 = zext i32 %41 to i64
  %43 = getelementptr inbounds [500 x %class.Vector3], ptr %33, i64 0, i64 %42
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.geometry::types::triangleMesh_t", ptr %44, i32 0, i32 3
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.geometry::types::triangleMesh_t", ptr %46, i32 0, i32 2
  %48 = load i32, ptr %8, align 4, !tbaa !11
  %49 = zext i32 %48 to i64
  %50 = getelementptr inbounds [1000 x %"struct.geometry::types::meshTriangle_t"], ptr %47, i64 0, i64 %49
  %51 = getelementptr inbounds %"struct.geometry::types::meshTriangle_t", ptr %50, i32 0, i32 0
  %52 = getelementptr inbounds [3 x i32], ptr %51, i64 0, i64 2
  %53 = load i32, ptr %52, align 4, !tbaa !11
  %54 = zext i32 %53 to i64
  %55 = getelementptr inbounds [500 x %class.Vector3], ptr %45, i64 0, i64 %54
  %56 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN8geometry8triangle19closestPointToPointERK7Vector3S3_S3_S3_(ptr dead_on_unwind writable sret(%"struct.geometry::types::pointBaryCoord_t") align 4 %9, ptr noundef nonnull align 4 dereferenceable(12) %31, ptr noundef nonnull align 4 dereferenceable(12) %43, ptr noundef nonnull align 4 dereferenceable(12) %55, ptr noundef nonnull align 4 dereferenceable(12) %56)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %11) #5
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %9, i32 0, i32 0
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %11, ptr noundef nonnull align 4 dereferenceable(12) %57, ptr noundef nonnull align 4 dereferenceable(12) %58)
  %59 = call noundef float @_ZNK7Vector39magnitudeEv(ptr noundef nonnull align 4 dereferenceable(12) %11)
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #5
  store float %59, ptr %10, align 4, !tbaa !9
  %60 = load float, ptr %10, align 4, !tbaa !9
  %61 = load float, ptr %7, align 4, !tbaa !9
  %62 = fcmp olt float %60, %61
  br i1 %62, label %63, label %73

63:                                               ; preds = %19
  %64 = load float, ptr %10, align 4, !tbaa !9
  store float %64, ptr %7, align 4, !tbaa !9
  %65 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %9, i32 0, i32 0
  %66 = getelementptr inbounds %"struct.geometry::mesh::pointOnMesh_t", ptr %0, i32 0, i32 0
  %67 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %66, ptr noundef nonnull align 4 dereferenceable(12) %65)
  %68 = getelementptr inbounds %"struct.geometry::types::pointBaryCoord_t", ptr %9, i32 0, i32 1
  %69 = getelementptr inbounds %"struct.geometry::mesh::pointOnMesh_t", ptr %0, i32 0, i32 1
  %70 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector4aSERKS_(ptr noundef nonnull align 4 dereferenceable(16) %69, ptr noundef nonnull align 4 dereferenceable(16) %68)
  %71 = load i32, ptr %8, align 4, !tbaa !11
  %72 = getelementptr inbounds %"struct.geometry::mesh::pointOnMesh_t", ptr %0, i32 0, i32 2
  store i32 %71, ptr %72, align 4, !tbaa !15
  br label %73

73:                                               ; preds = %63, %19
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 28, ptr %9) #5
  br label %74

74:                                               ; preds = %73
  %75 = load i32, ptr %8, align 4, !tbaa !11
  %76 = add i32 %75, 1
  store i32 %76, ptr %8, align 4, !tbaa !11
  br label %12, !llvm.loop !19

77:                                               ; preds = %18
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8geometry4mesh13pointOnMesh_tC2Ev(ptr noundef nonnull align 4 dereferenceable(32)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector4aSERKS_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #1 align 2

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 = { 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 = { "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 = { 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 = { 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, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"_ZTSN8geometry5types14triangleMesh_tE", !12, i64 0, !12, i64 4, !7, i64 8, !7, i64 24008}
!15 = !{!16, !12, i64 28}
!16 = !{!"_ZTSN8geometry4mesh13pointOnMesh_tE", !17, i64 0, !18, i64 12, !12, i64 28}
!17 = !{!"_ZTS7Vector3", !7, i64 0}
!18 = !{!"_ZTS7Vector4", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"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"

%class.Vector3 = type { [3 x float] }
%"struct.geometry::types::pointBaryCoord_t" = type { %class.Vector3, %class.Vector4 }
%class.Vector4 = type { [4 x float] }
%"struct.geometry::mesh::pointOnMesh_t" = type { %class.Vector3, %class.Vector4, i32 }
%"struct.geometry::types::meshTriangle_t" = type { [3 x i32], %class.Vector3 }

; 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
declare dso_local void @_ZNK7Vector3miERKS_(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(12), 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(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2 align 2

declare void @_ZN8geometry8triangle19closestPointToPointERK7Vector3S3_S3_S3_(ptr dead_on_unwind writable sret(%"struct.geometry::types::pointBaryCoord_t") align 4, 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)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8geometry4mesh19closestPointToPointERKNS_5types14triangleMesh_tERK7Vector3(ptr dead_on_unwind noalias nonnull writable sret(%"struct.geometry::mesh::pointOnMesh_t") align 4 %0, ptr noundef nonnull align 4 dereferenceable(30008) %1, ptr noundef nonnull align 4 dereferenceable(12) %2) local_unnamed_addr #1 {
  %4 = alloca %"struct.geometry::types::pointBaryCoord_t", align 4
  %5 = alloca %class.Vector3, align 4
  tail call void @_ZN8geometry4mesh13pointOnMesh_tC2Ev(ptr noundef nonnull align 4 dereferenceable(32) %0)
  %6 = load i32, ptr %1, align 4, !tbaa !5
  %.not = icmp eq i32 %6, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %3
  %7 = getelementptr inbounds i8, ptr %1, i64 24008
  %8 = getelementptr inbounds i8, ptr %1, i64 8
  %9 = getelementptr inbounds i8, ptr %4, i64 12
  %10 = getelementptr inbounds i8, ptr %0, i64 12
  %11 = getelementptr inbounds i8, ptr %0, i64 28
  br label %12

._crit_edge:                                      ; preds = %31, %3
  ret void

12:                                               ; preds = %.lr.ph, %31
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %31 ]
  %.020 = phi float [ 0x47EFFFFFE0000000, %.lr.ph ], [ %.1, %31 ]
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %4) #5
  %13 = getelementptr inbounds [1000 x %"struct.geometry::types::meshTriangle_t"], ptr %8, i64 0, i64 %indvars.iv
  %14 = load i32, ptr %13, align 4, !tbaa !10
  %15 = zext i32 %14 to i64
  %16 = getelementptr inbounds [500 x %class.Vector3], ptr %7, i64 0, i64 %15
  %17 = getelementptr inbounds i8, ptr %13, i64 4
  %18 = load i32, ptr %17, align 4, !tbaa !10
  %19 = zext i32 %18 to i64
  %20 = getelementptr inbounds [500 x %class.Vector3], ptr %7, i64 0, i64 %19
  %21 = getelementptr inbounds i8, ptr %13, i64 8
  %22 = load i32, ptr %21, align 4, !tbaa !10
  %23 = zext i32 %22 to i64
  %24 = getelementptr inbounds [500 x %class.Vector3], ptr %7, i64 0, i64 %23
  call void @_ZN8geometry8triangle19closestPointToPointERK7Vector3S3_S3_S3_(ptr dead_on_unwind nonnull writable sret(%"struct.geometry::types::pointBaryCoord_t") align 4 %4, ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %20, ptr noundef nonnull align 4 dereferenceable(12) %24, ptr noundef nonnull align 4 dereferenceable(12) %2)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #5
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %5, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %4)
  %25 = call noundef float @_ZNK7Vector39magnitudeEv(ptr noundef nonnull align 4 dereferenceable(12) %5)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #5
  %26 = fcmp olt float %25, %.020
  br i1 %26, label %27, label %31

27:                                               ; preds = %12
  %28 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %0, ptr noundef nonnull align 4 dereferenceable(12) %4)
  %29 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector4aSERKS_(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(16) %9)
  %30 = trunc nuw i64 %indvars.iv to i32
  store i32 %30, ptr %11, align 4, !tbaa !11
  br label %31

31:                                               ; preds = %27, %12
  %.1 = phi float [ %25, %27 ], [ %.020, %12 ]
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %4) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %32 = load i32, ptr %1, align 4, !tbaa !5
  %33 = zext i32 %32 to i64
  %34 = icmp ult i64 %indvars.iv.next, %33
  br i1 %34, label %12, label %._crit_edge, !llvm.loop !15
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8geometry4mesh13pointOnMesh_tC2Ev(ptr noundef nonnull align 4 dereferenceable(32)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZN7Vector4aSERKS_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #1 align 2

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 = { 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 = { "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 = { 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 = { 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, !7, i64 0}
!6 = !{!"_ZTSN8geometry5types14triangleMesh_tE", !7, i64 0, !7, i64 4, !8, i64 8, !8, i64 24008}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !7, i64 28}
!12 = !{!"_ZTSN8geometry4mesh13pointOnMesh_tE", !13, i64 0, !14, i64 12, !7, i64 28}
!13 = !{!"_ZTS7Vector3", !8, i64 0}
!14 = !{!"_ZTS7Vector4", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass