; LLVM IR from mickypaganini/SSI2016-jet-clustering :: spartyjet-4.0.2_mac/External/fastjet-3.0.0/src (ClosestPair2D)

; 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.fastjet::Coord2D" = type { double, double }
%"class.fastjet::ClosestPair2D::Point" = type <{ %"class.fastjet::Coord2D", ptr, double, %"class.fastjet::ClosestPair2D::triplet", i32, [4 x i8] }>
%"class.fastjet::ClosestPair2D::triplet" = type { [3 x %"class.fastjet::SearchTree<fastjet::ClosestPair2D::Shuffle>::circulator"] }
%"class.fastjet::SearchTree<fastjet::ClosestPair2D::Shuffle>::circulator" = type { ptr }
%"class.fastjet::ClosestPair2D" = type <{ %"class.fastjet::ClosestPair2DBase", %"class.fastjet::ClosestPair2D::triplet.0", %"class.std::auto_ptr.1", %"class.std::vector", %"class.std::stack", %"class.std::vector.5", %"class.fastjet::Coord2D", double, %"class.fastjet::ClosestPair2D::triplet.7", %"class.fastjet::ClosestPair2D::triplet.7", i32, [4 x i8] }>
%"class.fastjet::ClosestPair2DBase" = type { ptr }
%"class.fastjet::ClosestPair2D::triplet.0" = type { [3 x %"class.std::auto_ptr"] }
%"class.std::auto_ptr" = type { ptr }
%"class.std::auto_ptr.1" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<fastjet::ClosestPair2D::Point, std::allocator<fastjet::ClosestPair2D::Point>>::_Vector_impl" }
%"struct.std::_Vector_base<fastjet::ClosestPair2D::Point, std::allocator<fastjet::ClosestPair2D::Point>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastjet::ClosestPair2D::Point, std::allocator<fastjet::ClosestPair2D::Point>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastjet::ClosestPair2D::Point, std::allocator<fastjet::ClosestPair2D::Point>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<fastjet::ClosestPair2D::Point *, std::allocator<fastjet::ClosestPair2D::Point *>>::_Deque_impl" }
%"struct.std::_Deque_base<fastjet::ClosestPair2D::Point *, std::allocator<fastjet::ClosestPair2D::Point *>>::_Deque_impl" = type { %"struct.std::_Deque_base<fastjet::ClosestPair2D::Point *, std::allocator<fastjet::ClosestPair2D::Point *>>::_Deque_impl_data" }
%"struct.std::_Deque_base<fastjet::ClosestPair2D::Point *, std::allocator<fastjet::ClosestPair2D::Point *>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<fastjet::ClosestPair2D::Point *, std::allocator<fastjet::ClosestPair2D::Point *>>::_Vector_impl" }
%"struct.std::_Vector_base<fastjet::ClosestPair2D::Point *, std::allocator<fastjet::ClosestPair2D::Point *>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastjet::ClosestPair2D::Point *, std::allocator<fastjet::ClosestPair2D::Point *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastjet::ClosestPair2D::Point *, std::allocator<fastjet::ClosestPair2D::Point *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.fastjet::ClosestPair2D::triplet.7" = type { [3 x i32] }
%"class.fastjet::ClosestPair2D::Shuffle" = type { i32, i32, ptr }

@.str = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [134 x i8], align 1
@__PRETTY_FUNCTION__._ZN7fastjet13ClosestPair2D14_point2shuffleERNS0_5PointERNS0_7ShuffleEj = external hidden unnamed_addr constant [78 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7fastjet13ClosestPair2D14_point2shuffleERNS0_5PointERNS0_7ShuffleEj(ptr noundef nonnull align 8 dereferenceable(220) %0, ptr noundef nonnull align 8 dereferenceable(60) %1, ptr noundef nonnull align 8 dereferenceable(16) %2, i32 noundef %3) #0 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.fastjet::Coord2D", align 8
  %10 = alloca %"class.fastjet::Coord2D", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store i32 %3, ptr %8, align 4, !tbaa !9
  %11 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #3
  %12 = load ptr, ptr %6, align 8, !tbaa !5
  %13 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Point", ptr %12, i32 0, i32 0
  %14 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %11, i32 0, i32 6
  %15 = call { double, double } @_ZNK7fastjet7Coord2DmiERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %14)
  %16 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 0
  %17 = extractvalue { double, double } %15, 0
  store double %17, ptr %16, align 8
  %18 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 1
  %19 = extractvalue { double, double } %15, 1
  store double %19, ptr %18, align 8
  %20 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %11, i32 0, i32 7
  %21 = load double, ptr %20, align 8, !tbaa !11
  %22 = call { double, double } @_ZNK7fastjet7Coord2DdvEd(ptr noundef nonnull align 8 dereferenceable(16) %10, double noundef %21)
  %23 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 0
  %24 = extractvalue { double, double } %22, 0
  store double %24, ptr %23, align 8
  %25 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 1
  %26 = extractvalue { double, double } %22, 1
  store double %26, ptr %25, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #3
  %27 = getelementptr inbounds %"class.fastjet::Coord2D", ptr %9, i32 0, i32 0
  %28 = load double, ptr %27, align 8, !tbaa !34
  %29 = fcmp oge double %28, 0.000000e+00
  br i1 %29, label %30, label %31

30:                                               ; preds = %4
  br label %33

31:                                               ; preds = %4
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 51, ptr noundef @__PRETTY_FUNCTION__._ZN7fastjet13ClosestPair2D14_point2shuffleERNS0_5PointERNS0_7ShuffleEj) #4
  unreachable

32:                                               ; No predecessors!
  br label %33

33:                                               ; preds = %32, %30
  %34 = getelementptr inbounds %"class.fastjet::Coord2D", ptr %9, i32 0, i32 0
  %35 = load double, ptr %34, align 8, !tbaa !34
  %36 = fcmp ole double %35, 1.000000e+00
  br i1 %36, label %37, label %38

37:                                               ; preds = %33
  br label %40

38:                                               ; preds = %33
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 52, ptr noundef @__PRETTY_FUNCTION__._ZN7fastjet13ClosestPair2D14_point2shuffleERNS0_5PointERNS0_7ShuffleEj) #4
  unreachable

39:                                               ; No predecessors!
  br label %40

40:                                               ; preds = %39, %37
  %41 = getelementptr inbounds %"class.fastjet::Coord2D", ptr %9, i32 0, i32 1
  %42 = load double, ptr %41, align 8, !tbaa !35
  %43 = fcmp oge double %42, 0.000000e+00
  br i1 %43, label %44, label %45

44:                                               ; preds = %40
  br label %47

45:                                               ; preds = %40
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 53, ptr noundef @__PRETTY_FUNCTION__._ZN7fastjet13ClosestPair2D14_point2shuffleERNS0_5PointERNS0_7ShuffleEj) #4
  unreachable

46:                                               ; No predecessors!
  br label %47

47:                                               ; preds = %46, %44
  %48 = getelementptr inbounds %"class.fastjet::Coord2D", ptr %9, i32 0, i32 1
  %49 = load double, ptr %48, align 8, !tbaa !35
  %50 = fcmp ole double %49, 1.000000e+00
  br i1 %50, label %51, label %52

51:                                               ; preds = %47
  br label %54

52:                                               ; preds = %47
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 54, ptr noundef @__PRETTY_FUNCTION__._ZN7fastjet13ClosestPair2D14_point2shuffleERNS0_5PointERNS0_7ShuffleEj) #4
  unreachable

53:                                               ; No predecessors!
  br label %54

54:                                               ; preds = %53, %51
  %55 = getelementptr inbounds %"class.fastjet::Coord2D", ptr %9, i32 0, i32 0
  %56 = load double, ptr %55, align 8, !tbaa !34
  %57 = fmul double 0x41E0000000000000, %56
  %58 = fptoui double %57 to i32
  %59 = load i32, ptr %8, align 4, !tbaa !9
  %60 = add i32 %58, %59
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Shuffle", ptr %61, i32 0, i32 0
  store i32 %60, ptr %62, align 8, !tbaa !36
  %63 = getelementptr inbounds %"class.fastjet::Coord2D", ptr %9, i32 0, i32 1
  %64 = load double, ptr %63, align 8, !tbaa !35
  %65 = fmul double 0x41E0000000000000, %64
  %66 = fptoui double %65 to i32
  %67 = load i32, ptr %8, align 4, !tbaa !9
  %68 = add i32 %66, %67
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Shuffle", ptr %69, i32 0, i32 1
  store i32 %68, ptr %70, align 4, !tbaa !38
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = load ptr, ptr %7, align 8, !tbaa !5
  %73 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Shuffle", ptr %72, i32 0, i32 2
  store ptr %71, ptr %73, align 8, !tbaa !39
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #3
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK7fastjet7Coord2DmiERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK7fastjet7Coord2DdvEd(ptr noundef nonnull align 8 dereferenceable(16), double noundef) #0 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn nounwind "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 }
attributes #4 = { noreturn 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 = !{!12, !32, i64 184}
!12 = !{!"_ZTSN7fastjet13ClosestPair2DE", !13, i64 0, !14, i64 8, !15, i64 32, !16, i64 40, !20, i64 64, !27, i64 144, !31, i64 168, !32, i64 184, !33, i64 192, !33, i64 204, !10, i64 216}
!13 = !{!"_ZTSN7fastjet17ClosestPair2DBaseE"}
!14 = !{!"_ZTSN7fastjet13ClosestPair2D7tripletISt8auto_ptrINS_10SearchTreeINS0_7ShuffleEEEEEE", !7, i64 0}
!15 = !{!"_ZTSSt8auto_ptrIN7fastjet7MinHeapEE", !6, i64 0}
!16 = !{!"_ZTSSt6vectorIN7fastjet13ClosestPair2D5PointESaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN7fastjet13ClosestPair2D5PointESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN7fastjet13ClosestPair2D5PointESaIS2_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN7fastjet13ClosestPair2D5PointESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTSSt5stackIPN7fastjet13ClosestPair2D5PointESt5dequeIS3_SaIS3_EEE", !21, i64 0}
!21 = !{!"_ZTSSt5dequeIPN7fastjet13ClosestPair2D5PointESaIS3_EE", !22, i64 0}
!22 = !{!"_ZTSSt11_Deque_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE", !23, i64 0}
!23 = !{!"_ZTSNSt11_Deque_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE11_Deque_implE", !24, i64 0}
!24 = !{!"_ZTSNSt11_Deque_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE16_Deque_impl_dataE", !6, i64 0, !25, i64 8, !26, i64 16, !26, i64 48}
!25 = !{!"long", !7, i64 0}
!26 = !{!"_ZTSSt15_Deque_iteratorIPN7fastjet13ClosestPair2D5PointERS3_PS3_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!27 = !{!"_ZTSSt6vectorIPN7fastjet13ClosestPair2D5PointESaIS3_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!"_ZTSN7fastjet7Coord2DE", !32, i64 0, !32, i64 8}
!32 = !{!"double", !7, i64 0}
!33 = !{!"_ZTSN7fastjet13ClosestPair2D7tripletIjEE", !7, i64 0}
!34 = !{!31, !32, i64 0}
!35 = !{!31, !32, i64 8}
!36 = !{!37, !10, i64 0}
!37 = !{!"_ZTSN7fastjet13ClosestPair2D7ShuffleE", !10, i64 0, !10, i64 4, !6, i64 8}
!38 = !{!37, !10, i64 4}
!39 = !{!37, !6, 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.fastjet::Coord2D" = type { double, double }

@.str = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [134 x i8], align 1
@__PRETTY_FUNCTION__._ZN7fastjet13ClosestPair2D14_point2shuffleERNS0_5PointERNS0_7ShuffleEj = external hidden unnamed_addr constant [78 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7fastjet13ClosestPair2D14_point2shuffleERNS0_5PointERNS0_7ShuffleEj(ptr noundef nonnull align 8 dereferenceable(220) %0, ptr noundef nonnull align 8 dereferenceable(60) %1, ptr nocapture noundef nonnull writeonly align 8 dereferenceable(16) %2, i32 noundef %3) local_unnamed_addr #0 align 2 {
  %5 = alloca %"class.fastjet::Coord2D", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3
  %6 = getelementptr inbounds i8, ptr %0, i64 168
  %7 = tail call { double, double } @_ZNK7fastjet7Coord2DmiERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(16) %6)
  %8 = extractvalue { double, double } %7, 0
  store double %8, ptr %5, align 8
  %9 = getelementptr inbounds i8, ptr %5, i64 8
  %10 = extractvalue { double, double } %7, 1
  store double %10, ptr %9, align 8
  %11 = getelementptr inbounds i8, ptr %0, i64 184
  %12 = load double, ptr %11, align 8, !tbaa !5
  %13 = call { double, double } @_ZNK7fastjet7Coord2DdvEd(ptr noundef nonnull align 8 dereferenceable(16) %5, double noundef %12)
  %14 = extractvalue { double, double } %13, 0
  %15 = extractvalue { double, double } %13, 1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3
  %16 = fcmp ult double %14, 0.000000e+00
  br i1 %16, label %17, label %18

17:                                               ; preds = %4
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 51, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7fastjet13ClosestPair2D14_point2shuffleERNS0_5PointERNS0_7ShuffleEj) #4
  unreachable

18:                                               ; preds = %4
  %19 = fcmp ugt double %14, 1.000000e+00
  br i1 %19, label %20, label %21

20:                                               ; preds = %18
  call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 52, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7fastjet13ClosestPair2D14_point2shuffleERNS0_5PointERNS0_7ShuffleEj) #4
  unreachable

21:                                               ; preds = %18
  %22 = fcmp ult double %15, 0.000000e+00
  br i1 %22, label %23, label %24

23:                                               ; preds = %21
  call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 53, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7fastjet13ClosestPair2D14_point2shuffleERNS0_5PointERNS0_7ShuffleEj) #4
  unreachable

24:                                               ; preds = %21
  %25 = fcmp ugt double %15, 1.000000e+00
  br i1 %25, label %26, label %27

26:                                               ; preds = %24
  call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, i32 noundef 54, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7fastjet13ClosestPair2D14_point2shuffleERNS0_5PointERNS0_7ShuffleEj) #4
  unreachable

27:                                               ; preds = %24
  %28 = insertelement <2 x double> poison, double %14, i64 0
  %29 = insertelement <2 x double> %28, double %15, i64 1
  %30 = fmul <2 x double> %29, <double 0x41E0000000000000, double 0x41E0000000000000>
  %31 = fptoui <2 x double> %30 to <2 x i32>
  %32 = insertelement <2 x i32> poison, i32 %3, i64 0
  %33 = shufflevector <2 x i32> %32, <2 x i32> poison, <2 x i32> zeroinitializer
  %34 = add <2 x i32> %33, %31
  store <2 x i32> %34, ptr %2, align 8, !tbaa !32
  %35 = getelementptr inbounds i8, ptr %2, i64 8
  store ptr %1, ptr %35, align 8, !tbaa !33
  ret void
}

; 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 uwtable
declare dso_local { double, double } @_ZNK7fastjet7Coord2DmiERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK7fastjet7Coord2DdvEd(ptr noundef nonnull align 8 dereferenceable(16), double noundef) local_unnamed_addr #0 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn nounwind "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 }
attributes #4 = { noreturn 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, !29, i64 184}
!6 = !{!"_ZTSN7fastjet13ClosestPair2DE", !7, i64 0, !8, i64 8, !11, i64 32, !13, i64 40, !17, i64 64, !24, i64 144, !28, i64 168, !29, i64 184, !30, i64 192, !30, i64 204, !31, i64 216}
!7 = !{!"_ZTSN7fastjet17ClosestPair2DBaseE"}
!8 = !{!"_ZTSN7fastjet13ClosestPair2D7tripletISt8auto_ptrINS_10SearchTreeINS0_7ShuffleEEEEEE", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSSt8auto_ptrIN7fastjet7MinHeapEE", !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!"_ZTSSt6vectorIN7fastjet13ClosestPair2D5PointESaIS2_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIN7fastjet13ClosestPair2D5PointESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIN7fastjet13ClosestPair2D5PointESaIS2_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN7fastjet13ClosestPair2D5PointESaIS2_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!17 = !{!"_ZTSSt5stackIPN7fastjet13ClosestPair2D5PointESt5dequeIS3_SaIS3_EEE", !18, i64 0}
!18 = !{!"_ZTSSt5dequeIPN7fastjet13ClosestPair2D5PointESaIS3_EE", !19, i64 0}
!19 = !{!"_ZTSSt11_Deque_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE", !20, i64 0}
!20 = !{!"_ZTSNSt11_Deque_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE11_Deque_implE", !21, i64 0}
!21 = !{!"_ZTSNSt11_Deque_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE16_Deque_impl_dataE", !12, i64 0, !22, i64 8, !23, i64 16, !23, i64 48}
!22 = !{!"long", !9, i64 0}
!23 = !{!"_ZTSSt15_Deque_iteratorIPN7fastjet13ClosestPair2D5PointERS3_PS3_E", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!24 = !{!"_ZTSSt6vectorIPN7fastjet13ClosestPair2D5PointESaIS3_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIPN7fastjet13ClosestPair2D5PointESaIS3_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!28 = !{!"_ZTSN7fastjet7Coord2DE", !29, i64 0, !29, i64 8}
!29 = !{!"double", !9, i64 0}
!30 = !{!"_ZTSN7fastjet13ClosestPair2D7tripletIjEE", !9, i64 0}
!31 = !{!"int", !9, i64 0}
!32 = !{!31, !31, i64 0}
!33 = !{!34, !12, i64 8}
!34 = !{!"_ZTSN7fastjet13ClosestPair2D7ShuffleE", !31, i64 0, !31, i64 4, !12, i64 8}


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