; 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::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::Coord2D" = type { double, double }
%"class.fastjet::ClosestPair2D::triplet.7" = type { [3 x i32] }
%"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::ClosestPair2D::Shuffle" = type { i32, i32, ptr }

@.str.1 = external hidden unnamed_addr constant [134 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [48 x i8], align 1
@__PRETTY_FUNCTION__._ZN7fastjet13ClosestPair2D27_deal_with_points_to_reviewEv = external hidden unnamed_addr constant [59 x i8], align 1

; 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE3maxEv() #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorptEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet13ClosestPair2D7tripletINS_10SearchTreeINS0_7ShuffleEE10circulatorEEixEj(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorppEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZNK7fastjet13ClosestPair2D5Point9distance2ERKS1_(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(60)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt8auto_ptrIN7fastjet7MinHeapEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7fastjet13ClosestPair2D3_IDEPKNS0_5PointE(ptr noundef nonnull align 8 dereferenceable(220), ptr noundef) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7fastjet13ClosestPair2D27_deal_with_points_to_reviewEv(ptr noundef nonnull align 8 dereferenceable(220) %0) #5 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %"class.fastjet::SearchTree<fastjet::ClosestPair2D::Shuffle>::circulator", align 8
  %9 = alloca i32, align 4
  %10 = alloca double, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %11 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  %12 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %11, i32 0, i32 10
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  %13 = load ptr, ptr %11, align 8, !tbaa !9
  %14 = getelementptr inbounds ptr, ptr %13, i64 5
  %15 = load ptr, ptr %14, align 8
  %16 = call noundef i32 %15(ptr noundef nonnull align 8 dereferenceable(220) %11)
  %17 = sub i32 %16, 1
  store i32 %17, ptr %4, align 4, !tbaa !11
  %18 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %19 = load i32, ptr %18, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  store i32 %19, ptr %3, align 4, !tbaa !11
  br label %20

20:                                               ; preds = %111, %1
  %21 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %11, i32 0, i32 5
  %22 = call noundef i64 @_ZNKSt6vectorIPN7fastjet13ClosestPair2D5PointESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  %23 = icmp ugt i64 %22, 0
  br i1 %23, label %24, label %114

24:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %25 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %11, i32 0, i32 5
  %26 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet13ClosestPair2D5PointESaIS3_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #7
  %27 = load ptr, ptr %26, align 8, !tbaa !5
  store ptr %27, ptr %5, align 8, !tbaa !5
  %28 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %11, i32 0, i32 5
  call void @_ZNSt6vectorIPN7fastjet13ClosestPair2D5PointESaIS3_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Point", ptr %29, i32 0, i32 4
  %31 = load i32, ptr %30, align 8, !tbaa !13
  %32 = and i32 %31, 1
  %33 = icmp ne i32 %32, 0
  br i1 %33, label %34, label %49

34:                                               ; preds = %24
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Point", ptr %35, i32 0, i32 4
  %37 = load i32, ptr %36, align 8, !tbaa !13
  %38 = xor i32 %37, 1
  %39 = icmp ne i32 %38, 0
  %40 = xor i1 %39, true
  br i1 %40, label %41, label %42

41:                                               ; preds = %34
  br label %44

42:                                               ; preds = %34
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 310, ptr noundef @__PRETTY_FUNCTION__._ZN7fastjet13ClosestPair2D27_deal_with_points_to_reviewEv) #8
  unreachable

43:                                               ; No predecessors!
  br label %44

44:                                               ; preds = %43, %41
  %45 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %11, i32 0, i32 2
  %46 = call noundef ptr @_ZNKSt8auto_ptrIN7fastjet7MinHeapEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %45) #7
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = call noundef i32 @_ZNK7fastjet13ClosestPair2D3_IDEPKNS0_5PointE(ptr noundef nonnull align 8 dereferenceable(220) %11, ptr noundef %47)
  call void @_ZN7fastjet7MinHeap6removeEj(ptr noundef nonnull align 8 dereferenceable(24) %46, i32 noundef %48)
  br label %111

49:                                               ; preds = %24
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Point", ptr %50, i32 0, i32 4
  %52 = load i32, ptr %51, align 8, !tbaa !13
  %53 = and i32 %52, 4
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %103

55:                                               ; preds = %49
  %56 = call noundef double @_ZNSt14numeric_limitsIdE3maxEv() #7
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Point", ptr %57, i32 0, i32 2
  store double %56, ptr %58, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 0, ptr %6, align 4, !tbaa !11
  br label %59

59:                                               ; preds = %99, %55
  %60 = load i32, ptr %6, align 4, !tbaa !11
  %61 = icmp ult i32 %60, 3
  br i1 %61, label %63, label %62

62:                                               ; preds = %59
  store i32 4, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %102

63:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Point", ptr %64, i32 0, i32 3
  %66 = load i32, ptr %6, align 4, !tbaa !11
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet13ClosestPair2D7tripletINS_10SearchTreeINS0_7ShuffleEE10circulatorEEixEj(ptr noundef nonnull align 8 dereferenceable(24) %65, i32 noundef %66)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %67, i64 8, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 0, ptr %9, align 4, !tbaa !11
  br label %68

68:                                               ; preds = %95, %63
  %69 = load i32, ptr %9, align 4, !tbaa !11
  %70 = load i32, ptr %3, align 4, !tbaa !11
  %71 = icmp ult i32 %69, %70
  br i1 %71, label %73, label %72

72:                                               ; preds = %68
  store i32 7, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %98

73:                                               ; preds = %68
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorppEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %75 = load ptr, ptr %5, align 8, !tbaa !5
  %76 = call noundef ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorptEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
  %77 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Shuffle", ptr %76, i32 0, i32 2
  %78 = load ptr, ptr %77, align 8, !tbaa !20
  %79 = call noundef double @_ZNK7fastjet13ClosestPair2D5Point9distance2ERKS1_(ptr noundef nonnull align 8 dereferenceable(60) %75, ptr noundef nonnull align 8 dereferenceable(60) %78)
  store double %79, ptr %10, align 8, !tbaa !22
  %80 = load double, ptr %10, align 8, !tbaa !22
  %81 = load ptr, ptr %5, align 8, !tbaa !5
  %82 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Point", ptr %81, i32 0, i32 2
  %83 = load double, ptr %82, align 8, !tbaa !18
  %84 = fcmp olt double %80, %83
  br i1 %84, label %85, label %94

85:                                               ; preds = %73
  %86 = load double, ptr %10, align 8, !tbaa !22
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Point", ptr %87, i32 0, i32 2
  store double %86, ptr %88, align 8, !tbaa !18
  %89 = call noundef ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorptEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
  %90 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Shuffle", ptr %89, i32 0, i32 2
  %91 = load ptr, ptr %90, align 8, !tbaa !20
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Point", ptr %92, i32 0, i32 1
  store ptr %91, ptr %93, align 8, !tbaa !23
  br label %94

94:                                               ; preds = %85, %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %95

95:                                               ; preds = %94
  %96 = load i32, ptr %9, align 4, !tbaa !11
  %97 = add i32 %96, 1
  store i32 %97, ptr %9, align 4, !tbaa !11
  br label %68, !llvm.loop !24

98:                                               ; preds = %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %99

99:                                               ; preds = %98
  %100 = load i32, ptr %6, align 4, !tbaa !11
  %101 = add i32 %100, 1
  store i32 %101, ptr %6, align 4, !tbaa !11
  br label %59, !llvm.loop !26

102:                                              ; preds = %62
  br label %103

103:                                              ; preds = %102, %49
  %104 = getelementptr inbounds %"class.fastjet::ClosestPair2D", ptr %11, i32 0, i32 2
  %105 = call noundef ptr @_ZNKSt8auto_ptrIN7fastjet7MinHeapEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104) #7
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = call noundef i32 @_ZNK7fastjet13ClosestPair2D3_IDEPKNS0_5PointE(ptr noundef nonnull align 8 dereferenceable(220) %11, ptr noundef %106)
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Point", ptr %108, i32 0, i32 2
  %110 = load double, ptr %109, align 8, !tbaa !18
  call void @_ZN7fastjet7MinHeap6updateEjd(ptr noundef nonnull align 8 dereferenceable(24) %105, i32 noundef %107, double noundef %110)
  br label %111

111:                                              ; preds = %103, %44
  %112 = load ptr, ptr %5, align 8, !tbaa !5
  %113 = getelementptr inbounds %"class.fastjet::ClosestPair2D::Point", ptr %112, i32 0, i32 4
  store i32 0, ptr %113, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %20, !llvm.loop !27

114:                                              ; preds = %20
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIPN7fastjet13ClosestPair2D5PointESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet13ClosestPair2D5PointESaIS3_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIPN7fastjet13ClosestPair2D5PointESaIS3_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7fastjet7MinHeap6removeEj(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #5 align 2

declare void @_ZN7fastjet7MinHeap6updateEjd(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, double noundef) #6

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { inlinehint 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 #5 = { 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 #6 = { "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 #7 = { nounwind }
attributes #8 = { 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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 56}
!14 = !{!"_ZTSN7fastjet13ClosestPair2D5PointE", !15, i64 0, !6, i64 16, !16, i64 24, !17, i64 32, !12, i64 56}
!15 = !{!"_ZTSN7fastjet7Coord2DE", !16, i64 0, !16, i64 8}
!16 = !{!"double", !7, i64 0}
!17 = !{!"_ZTSN7fastjet13ClosestPair2D7tripletINS_10SearchTreeINS0_7ShuffleEE10circulatorEEE", !7, i64 0}
!18 = !{!14, !16, i64 24}
!19 = !{i64 0, i64 8, !5}
!20 = !{!21, !6, i64 8}
!21 = !{!"_ZTSN7fastjet13ClosestPair2D7ShuffleE", !12, i64 0, !12, i64 4, !6, i64 8}
!22 = !{!16, !16, i64 0}
!23 = !{!14, !6, i64 16}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}
!27 = distinct !{!27, !25}


; 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::SearchTree<fastjet::ClosestPair2D::Shuffle>::circulator" = type { ptr }

@.str.1 = external hidden unnamed_addr constant [134 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [48 x i8], align 1
@__PRETTY_FUNCTION__._ZN7fastjet13ClosestPair2D27_deal_with_points_to_reviewEv = external hidden unnamed_addr constant [59 x i8], align 1

; 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE3maxEv() local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet13ClosestPair2D7tripletINS_10SearchTreeINS0_7ShuffleEE10circulatorEEixEj(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZNK7fastjet13ClosestPair2D5Point9distance2ERKS1_(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(60)) local_unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7fastjet13ClosestPair2D3_IDEPKNS0_5PointE(ptr noundef nonnull align 8 dereferenceable(220), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7fastjet13ClosestPair2D27_deal_with_points_to_reviewEv(ptr noundef nonnull align 8 dereferenceable(220) %0) local_unnamed_addr #4 align 2 {
  %2 = alloca i32, align 4
  %3 = alloca %"class.fastjet::SearchTree<fastjet::ClosestPair2D::Shuffle>::circulator", align 8
  %4 = getelementptr inbounds i8, ptr %0, i64 216
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  %5 = load ptr, ptr %0, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %5, i64 40
  %7 = load ptr, ptr %6, align 8
  %8 = tail call noundef i32 %7(ptr noundef nonnull align 8 dereferenceable(220) %0)
  %9 = add i32 %8, -1
  store i32 %9, ptr %2, align 4, !tbaa !8
  %10 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %11 = load i32, ptr %10, align 4, !tbaa !8
  %.fr31 = freeze i32 %11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  %12 = getelementptr inbounds i8, ptr %0, i64 144
  %13 = call noundef i64 @_ZNKSt6vectorIPN7fastjet13ClosestPair2D5PointESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %.not28 = icmp eq i64 %13, 0
  br i1 %.not28, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %1
  %14 = getelementptr inbounds i8, ptr %0, i64 32
  %.not32 = icmp eq i32 %.fr31, 0
  br i1 %.not32, label %.lr.ph.split, label %.lr.ph.split.us

.lr.ph.split.us:                                  ; preds = %.lr.ph, %36
  %15 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet13ClosestPair2D5PointESaIS3_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %16 = load ptr, ptr %15, align 8, !tbaa !11
  call void @_ZNSt6vectorIPN7fastjet13ClosestPair2D5PointESaIS3_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %17 = getelementptr inbounds i8, ptr %16, i64 56
  %18 = load i32, ptr %17, align 8, !tbaa !13
  %19 = and i32 %18, 1
  %.not23.us = icmp eq i32 %19, 0
  br i1 %.not23.us, label %24, label %20

20:                                               ; preds = %.lr.ph.split.us
  %.not25.us = icmp ult i32 %18, 2
  br i1 %.not25.us, label %21, label %.split30.us

21:                                               ; preds = %20
  %22 = call noundef ptr @_ZNKSt8auto_ptrIN7fastjet7MinHeapEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  %23 = call noundef i32 @_ZNK7fastjet13ClosestPair2D3_IDEPKNS0_5PointE(ptr noundef nonnull align 8 dereferenceable(220) %0, ptr noundef nonnull %16)
  call void @_ZN7fastjet7MinHeap6removeEj(ptr noundef nonnull align 8 dereferenceable(24) %22, i32 noundef %23)
  br label %36

24:                                               ; preds = %.lr.ph.split.us
  %25 = and i32 %18, 4
  %.not24.us = icmp eq i32 %25, 0
  br i1 %.not24.us, label %.loopexit.split.us.us, label %.split.us.us

.split.us.us:                                     ; preds = %24
  %26 = call noundef double @_ZNSt14numeric_limitsIdE3maxEv() #6
  %27 = getelementptr inbounds i8, ptr %16, i64 24
  store double %26, ptr %27, align 8, !tbaa !18
  %28 = getelementptr inbounds i8, ptr %16, i64 32
  %29 = getelementptr inbounds i8, ptr %16, i64 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet13ClosestPair2D7tripletINS_10SearchTreeINS0_7ShuffleEE10circulatorEEixEj(ptr noundef nonnull align 8 dereferenceable(24) %28, i32 noundef 0)
  %31 = load i64, ptr %30, align 8, !tbaa !11
  store i64 %31, ptr %3, align 8, !tbaa !11
  br label %38

.loopexit.split.us.us:                            ; preds = %._crit_edge.us.us.2, %24
  %32 = call noundef ptr @_ZNKSt8auto_ptrIN7fastjet7MinHeapEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  %33 = call noundef i32 @_ZNK7fastjet13ClosestPair2D3_IDEPKNS0_5PointE(ptr noundef nonnull align 8 dereferenceable(220) %0, ptr noundef nonnull %16)
  %34 = getelementptr inbounds i8, ptr %16, i64 24
  %35 = load double, ptr %34, align 8, !tbaa !18
  call void @_ZN7fastjet7MinHeap6updateEjd(ptr noundef nonnull align 8 dereferenceable(24) %32, i32 noundef %33, double noundef %35)
  br label %36

36:                                               ; preds = %.loopexit.split.us.us, %21
  store i32 0, ptr %17, align 8, !tbaa !13
  %37 = call noundef i64 @_ZNKSt6vectorIPN7fastjet13ClosestPair2D5PointESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %.not.us = icmp eq i64 %37, 0
  br i1 %.not.us, label %._crit_edge, label %.lr.ph.split.us, !llvm.loop !19

38:                                               ; preds = %50, %.split.us.us
  %.02126.us.us = phi i32 [ 0, %.split.us.us ], [ %51, %50 ]
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorppEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %40 = call noundef ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorptEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %41 = getelementptr inbounds i8, ptr %40, i64 8
  %42 = load ptr, ptr %41, align 8, !tbaa !21
  %43 = call noundef double @_ZNK7fastjet13ClosestPair2D5Point9distance2ERKS1_(ptr noundef nonnull align 8 dereferenceable(60) %16, ptr noundef nonnull align 8 dereferenceable(60) %42)
  %44 = load double, ptr %27, align 8, !tbaa !18
  %45 = fcmp olt double %43, %44
  br i1 %45, label %46, label %50

46:                                               ; preds = %38
  store double %43, ptr %27, align 8, !tbaa !18
  %47 = call noundef ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorptEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %48 = getelementptr inbounds i8, ptr %47, i64 8
  %49 = load ptr, ptr %48, align 8, !tbaa !21
  store ptr %49, ptr %29, align 8, !tbaa !23
  br label %50

50:                                               ; preds = %46, %38
  %51 = add nuw i32 %.02126.us.us, 1
  %exitcond.not = icmp eq i32 %51, %.fr31
  br i1 %exitcond.not, label %._crit_edge.us.us, label %38, !llvm.loop !24

._crit_edge.us.us:                                ; preds = %50
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet13ClosestPair2D7tripletINS_10SearchTreeINS0_7ShuffleEE10circulatorEEixEj(ptr noundef nonnull align 8 dereferenceable(24) %28, i32 noundef 1)
  %53 = load i64, ptr %52, align 8, !tbaa !11
  store i64 %53, ptr %3, align 8, !tbaa !11
  br label %54

54:                                               ; preds = %66, %._crit_edge.us.us
  %.02126.us.us.1 = phi i32 [ 0, %._crit_edge.us.us ], [ %67, %66 ]
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorppEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %56 = call noundef ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorptEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %57 = getelementptr inbounds i8, ptr %56, i64 8
  %58 = load ptr, ptr %57, align 8, !tbaa !21
  %59 = call noundef double @_ZNK7fastjet13ClosestPair2D5Point9distance2ERKS1_(ptr noundef nonnull align 8 dereferenceable(60) %16, ptr noundef nonnull align 8 dereferenceable(60) %58)
  %60 = load double, ptr %27, align 8, !tbaa !18
  %61 = fcmp olt double %59, %60
  br i1 %61, label %62, label %66

62:                                               ; preds = %54
  store double %59, ptr %27, align 8, !tbaa !18
  %63 = call noundef ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorptEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %64 = getelementptr inbounds i8, ptr %63, i64 8
  %65 = load ptr, ptr %64, align 8, !tbaa !21
  store ptr %65, ptr %29, align 8, !tbaa !23
  br label %66

66:                                               ; preds = %62, %54
  %67 = add nuw i32 %.02126.us.us.1, 1
  %exitcond.1.not = icmp eq i32 %67, %.fr31
  br i1 %exitcond.1.not, label %._crit_edge.us.us.1, label %54, !llvm.loop !24

._crit_edge.us.us.1:                              ; preds = %66
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet13ClosestPair2D7tripletINS_10SearchTreeINS0_7ShuffleEE10circulatorEEixEj(ptr noundef nonnull align 8 dereferenceable(24) %28, i32 noundef 2)
  %69 = load i64, ptr %68, align 8, !tbaa !11
  store i64 %69, ptr %3, align 8, !tbaa !11
  br label %70

70:                                               ; preds = %82, %._crit_edge.us.us.1
  %.02126.us.us.2 = phi i32 [ 0, %._crit_edge.us.us.1 ], [ %83, %82 ]
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorppEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %72 = call noundef ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorptEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %73 = getelementptr inbounds i8, ptr %72, i64 8
  %74 = load ptr, ptr %73, align 8, !tbaa !21
  %75 = call noundef double @_ZNK7fastjet13ClosestPair2D5Point9distance2ERKS1_(ptr noundef nonnull align 8 dereferenceable(60) %16, ptr noundef nonnull align 8 dereferenceable(60) %74)
  %76 = load double, ptr %27, align 8, !tbaa !18
  %77 = fcmp olt double %75, %76
  br i1 %77, label %78, label %82

78:                                               ; preds = %70
  store double %75, ptr %27, align 8, !tbaa !18
  %79 = call noundef ptr @_ZN7fastjet10SearchTreeINS_13ClosestPair2D7ShuffleEE10circulatorptEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %80 = getelementptr inbounds i8, ptr %79, i64 8
  %81 = load ptr, ptr %80, align 8, !tbaa !21
  store ptr %81, ptr %29, align 8, !tbaa !23
  br label %82

82:                                               ; preds = %78, %70
  %83 = add nuw i32 %.02126.us.us.2, 1
  %exitcond.2.not = icmp eq i32 %83, %.fr31
  br i1 %exitcond.2.not, label %._crit_edge.us.us.2, label %70, !llvm.loop !24

._crit_edge.us.us.2:                              ; preds = %82
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  br label %.loopexit.split.us.us

.lr.ph.split:                                     ; preds = %.lr.ph, %105
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet13ClosestPair2D5PointESaIS3_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %85 = load ptr, ptr %84, align 8, !tbaa !11
  call void @_ZNSt6vectorIPN7fastjet13ClosestPair2D5PointESaIS3_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %86 = getelementptr inbounds i8, ptr %85, i64 56
  %87 = load i32, ptr %86, align 8, !tbaa !13
  %88 = and i32 %87, 1
  %.not23 = icmp eq i32 %88, 0
  br i1 %.not23, label %93, label %89

89:                                               ; preds = %.lr.ph.split
  %.not25 = icmp ult i32 %87, 2
  br i1 %.not25, label %90, label %.split30.us

.split30.us:                                      ; preds = %20, %89
  call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 310, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7fastjet13ClosestPair2D27_deal_with_points_to_reviewEv) #7
  unreachable

90:                                               ; preds = %89
  %91 = call noundef ptr @_ZNKSt8auto_ptrIN7fastjet7MinHeapEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  %92 = call noundef i32 @_ZNK7fastjet13ClosestPair2D3_IDEPKNS0_5PointE(ptr noundef nonnull align 8 dereferenceable(220) %0, ptr noundef nonnull %85)
  call void @_ZN7fastjet7MinHeap6removeEj(ptr noundef nonnull align 8 dereferenceable(24) %91, i32 noundef %92)
  br label %105

93:                                               ; preds = %.lr.ph.split
  %94 = and i32 %87, 4
  %.not24 = icmp eq i32 %94, 0
  br i1 %.not24, label %.loopexit.split, label %.split

.split:                                           ; preds = %93
  %95 = call noundef double @_ZNSt14numeric_limitsIdE3maxEv() #6
  %96 = getelementptr inbounds i8, ptr %85, i64 24
  store double %95, ptr %96, align 8, !tbaa !18
  %97 = getelementptr inbounds i8, ptr %85, i64 32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet13ClosestPair2D7tripletINS_10SearchTreeINS0_7ShuffleEE10circulatorEEixEj(ptr noundef nonnull align 8 dereferenceable(24) %97, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet13ClosestPair2D7tripletINS_10SearchTreeINS0_7ShuffleEE10circulatorEEixEj(ptr noundef nonnull align 8 dereferenceable(24) %97, i32 noundef 1)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN7fastjet13ClosestPair2D7tripletINS_10SearchTreeINS0_7ShuffleEE10circulatorEEixEj(ptr noundef nonnull align 8 dereferenceable(24) %97, i32 noundef 2)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  br label %.loopexit.split

.loopexit.split:                                  ; preds = %.split, %93
  %101 = call noundef ptr @_ZNKSt8auto_ptrIN7fastjet7MinHeapEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  %102 = call noundef i32 @_ZNK7fastjet13ClosestPair2D3_IDEPKNS0_5PointE(ptr noundef nonnull align 8 dereferenceable(220) %0, ptr noundef nonnull %85)
  %103 = getelementptr inbounds i8, ptr %85, i64 24
  %104 = load double, ptr %103, align 8, !tbaa !18
  call void @_ZN7fastjet7MinHeap6updateEjd(ptr noundef nonnull align 8 dereferenceable(24) %101, i32 noundef %102, double noundef %104)
  br label %105

105:                                              ; preds = %.loopexit.split, %90
  store i32 0, ptr %86, align 8, !tbaa !13
  %106 = call noundef i64 @_ZNKSt6vectorIPN7fastjet13ClosestPair2D5PointESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %.not = icmp eq i64 %106, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph.split, !llvm.loop !19

._crit_edge:                                      ; preds = %36, %105, %1
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIPN7fastjet13ClosestPair2D5PointESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7fastjet13ClosestPair2D5PointESaIS3_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIPN7fastjet13ClosestPair2D5PointESaIS3_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7fastjet7MinHeap6removeEj(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #4 align 2

declare void @_ZN7fastjet7MinHeap6updateEjd(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, double noundef) local_unnamed_addr #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { inlinehint 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 #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 = { "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 #6 = { nounwind }
attributes #7 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!14, !9, i64 56}
!14 = !{!"_ZTSN7fastjet13ClosestPair2D5PointE", !15, i64 0, !12, i64 16, !16, i64 24, !17, i64 32, !9, i64 56}
!15 = !{!"_ZTSN7fastjet7Coord2DE", !16, i64 0, !16, i64 8}
!16 = !{!"double", !10, i64 0}
!17 = !{!"_ZTSN7fastjet13ClosestPair2D7tripletINS_10SearchTreeINS0_7ShuffleEE10circulatorEEE", !10, i64 0}
!18 = !{!14, !16, i64 24}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!22, !12, i64 8}
!22 = !{!"_ZTSN7fastjet13ClosestPair2D7ShuffleE", !9, i64 0, !9, i64 4, !12, i64 8}
!23 = !{!14, !12, i64 16}
!24 = distinct !{!24, !20}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass