; LLVM IR from doyubkim/fluid-engine-dev :: src/jet (point_hash_grid_searcher2)

; 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.jet::Point" = type { i64, i64 }
%"class.jet::PointHashGridSearcher2" = type { %"class.jet::PointNeighborSearcher2", double, %"class.jet::Point", %"class.std::vector", %"class.std::vector.0" }
%"class.jet::PointNeighborSearcher2" = type { %"class.jet::Serializable" }
%"class.jet::Serializable" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.jet::Vector" = type { double, double }

; 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
define dso_local void @_ZNK3jet22PointHashGridSearcher213getNearbyKeysERKNS_6VectorIdLm2EEEPm(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef %2) #1 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.jet::Point", align 8
  %8 = alloca [4 x %"class.jet::Point"], align 16
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %11 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #3
  %12 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZNK3jet22PointHashGridSearcher214getBucketIndexERKNS_6VectorIdLm2EEE(ptr dead_on_unwind writable sret(%"class.jet::Point") align 8 %7, ptr noundef nonnull align 8 dereferenceable(80) %11, ptr noundef nonnull align 8 dereferenceable(16) %12)
  call void @llvm.lifetime.start.p0(i64 64, ptr %8) #3
  %13 = getelementptr inbounds [4 x %"class.jet::Point"], ptr %8, i32 0, i32 0
  %14 = getelementptr inbounds %"class.jet::Point", ptr %13, i64 4
  br label %15

15:                                               ; preds = %15, %3
  %16 = phi ptr [ %13, %3 ], [ %17, %15 ]
  call void @_ZN3jet5PointIlLm2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16)
  %17 = getelementptr inbounds %"class.jet::Point", ptr %16, i64 1
  %18 = icmp eq ptr %17, %14
  br i1 %18, label %19, label %15

19:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %20

20:                                               ; preds = %29, %19
  %21 = load i32, ptr %9, align 4, !tbaa !9
  %22 = icmp slt i32 %21, 4
  br i1 %22, label %24, label %23

23:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  br label %32

24:                                               ; preds = %20
  %25 = load i32, ptr %9, align 4, !tbaa !9
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [4 x %"class.jet::Point"], ptr %8, i64 0, i64 %26
  %28 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5PointIlLm2EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(16) %7)
  br label %29

29:                                               ; preds = %24
  %30 = load i32, ptr %9, align 4, !tbaa !9
  %31 = add nsw i32 %30, 1
  store i32 %31, ptr %9, align 4, !tbaa !9
  br label %20, !llvm.loop !11

32:                                               ; preds = %23
  %33 = getelementptr inbounds %"class.jet::Point", ptr %7, i32 0, i32 0
  %34 = load i64, ptr %33, align 8, !tbaa !13
  %35 = sitofp i64 %34 to float
  %36 = fadd float %35, 5.000000e-01
  %37 = fpext float %36 to double
  %38 = getelementptr inbounds %"class.jet::PointHashGridSearcher2", ptr %11, i32 0, i32 1
  %39 = load double, ptr %38, align 8, !tbaa !16
  %40 = fmul double %37, %39
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = getelementptr inbounds %"class.jet::Vector", ptr %41, i32 0, i32 0
  %43 = load double, ptr %42, align 8, !tbaa !29
  %44 = fcmp ole double %40, %43
  br i1 %44, label %45, label %54

45:                                               ; preds = %32
  %46 = getelementptr inbounds [4 x %"class.jet::Point"], ptr %8, i64 0, i64 2
  %47 = getelementptr inbounds %"class.jet::Point", ptr %46, i32 0, i32 0
  %48 = load i64, ptr %47, align 16, !tbaa !13
  %49 = add nsw i64 %48, 1
  store i64 %49, ptr %47, align 16, !tbaa !13
  %50 = getelementptr inbounds [4 x %"class.jet::Point"], ptr %8, i64 0, i64 3
  %51 = getelementptr inbounds %"class.jet::Point", ptr %50, i32 0, i32 0
  %52 = load i64, ptr %51, align 16, !tbaa !13
  %53 = add nsw i64 %52, 1
  store i64 %53, ptr %51, align 16, !tbaa !13
  br label %63

54:                                               ; preds = %32
  %55 = getelementptr inbounds [4 x %"class.jet::Point"], ptr %8, i64 0, i64 2
  %56 = getelementptr inbounds %"class.jet::Point", ptr %55, i32 0, i32 0
  %57 = load i64, ptr %56, align 16, !tbaa !13
  %58 = sub nsw i64 %57, 1
  store i64 %58, ptr %56, align 16, !tbaa !13
  %59 = getelementptr inbounds [4 x %"class.jet::Point"], ptr %8, i64 0, i64 3
  %60 = getelementptr inbounds %"class.jet::Point", ptr %59, i32 0, i32 0
  %61 = load i64, ptr %60, align 16, !tbaa !13
  %62 = sub nsw i64 %61, 1
  store i64 %62, ptr %60, align 16, !tbaa !13
  br label %63

63:                                               ; preds = %54, %45
  %64 = getelementptr inbounds %"class.jet::Point", ptr %7, i32 0, i32 1
  %65 = load i64, ptr %64, align 8, !tbaa !31
  %66 = sitofp i64 %65 to float
  %67 = fadd float %66, 5.000000e-01
  %68 = fpext float %67 to double
  %69 = getelementptr inbounds %"class.jet::PointHashGridSearcher2", ptr %11, i32 0, i32 1
  %70 = load double, ptr %69, align 8, !tbaa !16
  %71 = fmul double %68, %70
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = getelementptr inbounds %"class.jet::Vector", ptr %72, i32 0, i32 1
  %74 = load double, ptr %73, align 8, !tbaa !32
  %75 = fcmp ole double %71, %74
  br i1 %75, label %76, label %85

76:                                               ; preds = %63
  %77 = getelementptr inbounds [4 x %"class.jet::Point"], ptr %8, i64 0, i64 1
  %78 = getelementptr inbounds %"class.jet::Point", ptr %77, i32 0, i32 1
  %79 = load i64, ptr %78, align 8, !tbaa !31
  %80 = add nsw i64 %79, 1
  store i64 %80, ptr %78, align 8, !tbaa !31
  %81 = getelementptr inbounds [4 x %"class.jet::Point"], ptr %8, i64 0, i64 3
  %82 = getelementptr inbounds %"class.jet::Point", ptr %81, i32 0, i32 1
  %83 = load i64, ptr %82, align 8, !tbaa !31
  %84 = add nsw i64 %83, 1
  store i64 %84, ptr %82, align 8, !tbaa !31
  br label %94

85:                                               ; preds = %63
  %86 = getelementptr inbounds [4 x %"class.jet::Point"], ptr %8, i64 0, i64 1
  %87 = getelementptr inbounds %"class.jet::Point", ptr %86, i32 0, i32 1
  %88 = load i64, ptr %87, align 8, !tbaa !31
  %89 = sub nsw i64 %88, 1
  store i64 %89, ptr %87, align 8, !tbaa !31
  %90 = getelementptr inbounds [4 x %"class.jet::Point"], ptr %8, i64 0, i64 3
  %91 = getelementptr inbounds %"class.jet::Point", ptr %90, i32 0, i32 1
  %92 = load i64, ptr %91, align 8, !tbaa !31
  %93 = sub nsw i64 %92, 1
  store i64 %93, ptr %91, align 8, !tbaa !31
  br label %94

94:                                               ; preds = %85, %76
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %95

95:                                               ; preds = %108, %94
  %96 = load i32, ptr %10, align 4, !tbaa !9
  %97 = icmp slt i32 %96, 4
  br i1 %97, label %99, label %98

98:                                               ; preds = %95
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  br label %111

99:                                               ; preds = %95
  %100 = load i32, ptr %10, align 4, !tbaa !9
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [4 x %"class.jet::Point"], ptr %8, i64 0, i64 %101
  %103 = call noundef i64 @_ZNK3jet22PointHashGridSearcher225getHashKeyFromBucketIndexERKNS_5PointIlLm2EEE(ptr noundef nonnull align 8 dereferenceable(80) %11, ptr noundef nonnull align 8 dereferenceable(16) %102)
  %104 = load ptr, ptr %6, align 8, !tbaa !5
  %105 = load i32, ptr %10, align 4, !tbaa !9
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds i64, ptr %104, i64 %106
  store i64 %103, ptr %107, align 8, !tbaa !33
  br label %108

108:                                              ; preds = %99
  %109 = load i32, ptr %10, align 4, !tbaa !9
  %110 = add nsw i32 %109, 1
  store i32 %110, ptr %10, align 4, !tbaa !9
  br label %95, !llvm.loop !34

111:                                              ; preds = %98
  call void @llvm.lifetime.end.p0(i64 64, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #3
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3jet22PointHashGridSearcher214getBucketIndexERKNS_6VectorIdLm2EEE(ptr dead_on_unwind noalias writable sret(%"class.jet::Point") align 8, ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3jet5PointIlLm2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK3jet22PointHashGridSearcher225getHashKeyFromBucketIndexERKNS_5PointIlLm2EEE(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5PointIlLm2EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 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 = { 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 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !15, i64 0}
!14 = !{!"_ZTSN3jet5PointIlLm2EEE", !15, i64 0, !15, i64 8}
!15 = !{!"long", !7, i64 0}
!16 = !{!17, !20, i64 8}
!17 = !{!"_ZTSN3jet22PointHashGridSearcher2E", !18, i64 0, !20, i64 8, !14, i64 16, !21, i64 32, !25, i64 56}
!18 = !{!"_ZTSN3jet22PointNeighborSearcher2E", !19, i64 0}
!19 = !{!"_ZTSN3jet12SerializableE"}
!20 = !{!"double", !7, i64 0}
!21 = !{!"_ZTSSt6vectorIN3jet6VectorIdLm2EEESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSSt6vectorIS_ImSaImEESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseISt6vectorImSaImEESaIS2_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseISt6vectorImSaImEESaIS2_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseISt6vectorImSaImEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!30, !20, i64 0}
!30 = !{!"_ZTSN3jet6VectorIdLm2EEE", !20, i64 0, !20, i64 8}
!31 = !{!14, !15, i64 8}
!32 = !{!30, !20, i64 8}
!33 = !{!15, !15, i64 0}
!34 = distinct !{!34, !12}


; 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.jet::Point" = type { i64, i64 }

; 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
define dso_local void @_ZNK3jet22PointHashGridSearcher213getNearbyKeysERKNS_6VectorIdLm2EEEPm(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #1 align 2 {
.preheader.preheader:
  %3 = alloca %"class.jet::Point", align 16
  %4 = alloca [4 x %"class.jet::Point"], align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
  call void @_ZNK3jet22PointHashGridSearcher214getBucketIndexERKNS_6VectorIdLm2EEE(ptr dead_on_unwind nonnull writable sret(%"class.jet::Point") align 8 %3, ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef nonnull align 8 dereferenceable(16) %1)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #3
  call void @_ZN3jet5PointIlLm2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %.ptr.1 = getelementptr inbounds i8, ptr %4, i64 16
  call void @_ZN3jet5PointIlLm2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.1)
  %.ptr.2 = getelementptr inbounds i8, ptr %4, i64 32
  call void @_ZN3jet5PointIlLm2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.2)
  %.ptr.3 = getelementptr inbounds i8, ptr %4, i64 48
  call void @_ZN3jet5PointIlLm2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.3)
  %5 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5PointIlLm2EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %3)
  %6 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5PointIlLm2EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.1, ptr noundef nonnull align 8 dereferenceable(16) %3)
  %7 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5PointIlLm2EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.2, ptr noundef nonnull align 8 dereferenceable(16) %3)
  %8 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5PointIlLm2EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %.ptr.3, ptr noundef nonnull align 8 dereferenceable(16) %3)
  %9 = getelementptr inbounds i8, ptr %0, i64 8
  %10 = load <2 x double>, ptr %9, align 8
  %11 = getelementptr inbounds i8, ptr %4, i64 24
  %12 = load <2 x i64>, ptr %3, align 16, !tbaa !5
  %13 = sitofp <2 x i64> %12 to <2 x float>
  %14 = fadd <2 x float> %13, <float 5.000000e-01, float 5.000000e-01>
  %15 = fpext <2 x float> %14 to <2 x double>
  %16 = shufflevector <2 x double> %10, <2 x double> poison, <2 x i32> zeroinitializer
  %17 = fmul <2 x double> %16, %15
  %18 = load <2 x double>, ptr %1, align 8, !tbaa !9
  %19 = fcmp ugt <2 x double> %17, %18
  %20 = select <2 x i1> %19, <2 x i64> <i64 -1, i64 -1>, <2 x i64> <i64 1, i64 1>
  %21 = shufflevector <2 x i64> %20, <2 x i64> poison, <2 x i32> <i32 1, i32 0>
  %22 = load <2 x i64>, ptr %11, align 8, !tbaa !5
  %23 = add nsw <2 x i64> %22, %21
  store <2 x i64> %23, ptr %11, align 8, !tbaa !5
  %24 = load <2 x i64>, ptr %.ptr.3, align 16, !tbaa !5
  %25 = add nsw <2 x i64> %24, %20
  store <2 x i64> %25, ptr %.ptr.3, align 16, !tbaa !5
  %26 = call noundef i64 @_ZNK3jet22PointHashGridSearcher225getHashKeyFromBucketIndexERKNS_5PointIlLm2EEE(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef nonnull align 8 dereferenceable(16) %4)
  store i64 %26, ptr %2, align 8, !tbaa !5
  %27 = call noundef i64 @_ZNK3jet22PointHashGridSearcher225getHashKeyFromBucketIndexERKNS_5PointIlLm2EEE(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef nonnull align 8 dereferenceable(16) %.ptr.1)
  %28 = getelementptr inbounds i8, ptr %2, i64 8
  store i64 %27, ptr %28, align 8, !tbaa !5
  %29 = call noundef i64 @_ZNK3jet22PointHashGridSearcher225getHashKeyFromBucketIndexERKNS_5PointIlLm2EEE(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef nonnull align 8 dereferenceable(16) %.ptr.2)
  %30 = getelementptr inbounds i8, ptr %2, i64 16
  store i64 %29, ptr %30, align 8, !tbaa !5
  %31 = call noundef i64 @_ZNK3jet22PointHashGridSearcher225getHashKeyFromBucketIndexERKNS_5PointIlLm2EEE(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef nonnull align 8 dereferenceable(16) %.ptr.3)
  %32 = getelementptr inbounds i8, ptr %2, i64 24
  store i64 %31, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3jet22PointHashGridSearcher214getBucketIndexERKNS_6VectorIdLm2EEE(ptr dead_on_unwind noalias writable sret(%"class.jet::Point") align 8, ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3jet5PointIlLm2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK3jet22PointHashGridSearcher225getHashKeyFromBucketIndexERKNS_5PointIlLm2EEE(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet5PointIlLm2EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 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 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,VectorCombinePass