; LLVM IR from mickypaganini/SSI2016-jet-clustering :: spartyjet-4.0.2_mac/External/fastjet-3.0.0/plugins/CDFCones/CDFcode/JetCluAlgor_548ea808 (af39fcbe)

; 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::cdf::Cluster" = type { %"class.std::vector", %"class.fastjet::cdf::LorentzVector", %"class.fastjet::cdf::Centroid", double }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<fastjet::cdf::PhysicsTower, std::allocator<fastjet::cdf::PhysicsTower>>::_Vector_impl" }
%"struct.std::_Vector_base<fastjet::cdf::PhysicsTower, std::allocator<fastjet::cdf::PhysicsTower>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastjet::cdf::PhysicsTower, std::allocator<fastjet::cdf::PhysicsTower>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastjet::cdf::PhysicsTower, std::allocator<fastjet::cdf::PhysicsTower>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.fastjet::cdf::LorentzVector" = type { double, double, double, double }
%"class.fastjet::cdf::Centroid" = type { double, double, double }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.fastjet::cdf::PhysicsTower" = type <{ %"class.fastjet::cdf::LorentzVector", %"class.fastjet::cdf::CalTower", i32, [4 x i8] }>
%"class.fastjet::cdf::CalTower" = type { double, double, double, i32, i32 }
%"class.__gnu_cxx::__normal_iterator.5" = type { ptr }
%"class.fastjet::cdf::ClusterCentroidEtGreater" = type { i8 }
%"class.fastjet::cdf::JetCluAlgorithm" = type { double, double, i32, i32, i32, double }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7fastjet3cdf15JetCluAlgorithm14makeSeedTowersERSt6vectorINS0_12PhysicsTowerESaIS3_EERS2_INS0_7ClusterESaIS7_EE(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i8, align 1
  %10 = alloca i32, align 4
  %11 = alloca %"class.fastjet::cdf::Cluster", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.fastjet::cdf::PhysicsTower", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %20 = alloca %"class.fastjet::cdf::ClusterCentroidEtGreater", align 1
  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
  %21 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 4, ptr %7, align 4, !tbaa !9
  br label %22

22:                                               ; preds = %119, %3
  %23 = load i32, ptr %7, align 4, !tbaa !9
  %24 = icmp slt i32 %23, 48
  br i1 %24, label %26, label %25

25:                                               ; preds = %22
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %122

26:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #5
  store i8 1, ptr %9, align 1, !tbaa !11
  %27 = load i32, ptr %7, align 4, !tbaa !9
  %28 = icmp sge i32 %27, 8
  br i1 %28, label %29, label %32

29:                                               ; preds = %26
  %30 = load i32, ptr %7, align 4, !tbaa !9
  %31 = icmp slt i32 %30, 14
  br i1 %31, label %38, label %32

32:                                               ; preds = %29, %26
  %33 = load i32, ptr %7, align 4, !tbaa !9
  %34 = icmp sge i32 %33, 38
  br i1 %34, label %35, label %39

35:                                               ; preds = %32
  %36 = load i32, ptr %7, align 4, !tbaa !9
  %37 = icmp slt i32 %36, 44
  br i1 %37, label %38, label %39

38:                                               ; preds = %35, %29
  store i8 0, ptr %9, align 1, !tbaa !11
  br label %39

39:                                               ; preds = %38, %35, %32
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %40

40:                                               ; preds = %114, %39
  %41 = load i32, ptr %10, align 4, !tbaa !9
  %42 = icmp slt i32 %41, 24
  br i1 %42, label %44, label %43

43:                                               ; preds = %40
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %118

44:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 88, ptr %11) #5
  call void @_ZN7fastjet3cdf7ClusterC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %11)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = call ptr @_ZNSt6vectorIN7fastjet3cdf12PhysicsTowerESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #5
  %47 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  store ptr %46, ptr %47, align 8
  br label %48

48:                                               ; preds = %96, %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = call ptr @_ZNSt6vectorIN7fastjet3cdf12PhysicsTowerESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %49) #5
  %51 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %50, ptr %51, align 8
  %52 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br i1 %52, label %54, label %53

53:                                               ; preds = %48
  store i32 8, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %99

54:                                               ; preds = %48
  %55 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  %56 = invoke noundef i32 @_ZNK7fastjet3cdf12PhysicsTower4iEtaEv(ptr noundef nonnull align 8 dereferenceable(68) %55)
          to label %57 unwind label %91

57:                                               ; preds = %54
  %58 = load i32, ptr %7, align 4, !tbaa !9
  %59 = icmp eq i32 %56, %58
  br i1 %59, label %60, label %95

60:                                               ; preds = %57
  %61 = load i8, ptr %9, align 1, !tbaa !11, !range !13, !noundef !14
  %62 = trunc i8 %61 to i1
  br i1 %62, label %63, label %69

63:                                               ; preds = %60
  %64 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  %65 = invoke noundef i32 @_ZNK7fastjet3cdf12PhysicsTower4iPhiEv(ptr noundef nonnull align 8 dereferenceable(68) %64)
          to label %66 unwind label %91

66:                                               ; preds = %63
  %67 = load i32, ptr %10, align 4, !tbaa !9
  %68 = icmp eq i32 %65, %67
  br i1 %68, label %87, label %69

69:                                               ; preds = %66, %60
  %70 = load i8, ptr %9, align 1, !tbaa !11, !range !13, !noundef !14
  %71 = trunc i8 %70 to i1
  br i1 %71, label %95, label %72

72:                                               ; preds = %69
  %73 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  %74 = invoke noundef i32 @_ZNK7fastjet3cdf12PhysicsTower4iPhiEv(ptr noundef nonnull align 8 dereferenceable(68) %73)
          to label %75 unwind label %91

75:                                               ; preds = %72
  %76 = load i32, ptr %10, align 4, !tbaa !9
  %77 = mul nsw i32 2, %76
  %78 = icmp eq i32 %74, %77
  br i1 %78, label %87, label %79

79:                                               ; preds = %75
  %80 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  %81 = invoke noundef i32 @_ZNK7fastjet3cdf12PhysicsTower4iPhiEv(ptr noundef nonnull align 8 dereferenceable(68) %80)
          to label %82 unwind label %91

82:                                               ; preds = %79
  %83 = load i32, ptr %10, align 4, !tbaa !9
  %84 = mul nsw i32 2, %83
  %85 = add nsw i32 %84, 1
  %86 = icmp eq i32 %81, %85
  br i1 %86, label %87, label %95

87:                                               ; preds = %82, %75, %66
  %88 = call noundef nonnull align 8 dereferenceable(68) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  invoke void @_ZN7fastjet3cdf12PhysicsTowerC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(68) %16, ptr noundef nonnull align 8 dereferenceable(68) %88)
          to label %89 unwind label %91

89:                                               ; preds = %87
  invoke void @_ZN7fastjet3cdf7Cluster8addTowerENS0_12PhysicsTowerE(ptr noundef nonnull align 8 dereferenceable(88) %11, ptr noundef %16)
          to label %90 unwind label %91

90:                                               ; preds = %89
  br label %95

91:                                               ; preds = %89, %87, %79, %72, %63, %54
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %14, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %117

95:                                               ; preds = %90, %82, %69, %57
  br label %96

96:                                               ; preds = %95
  %97 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %12, i32 noundef 0) #5
  %98 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %97, ptr %98, align 8
  br label %48, !llvm.loop !15

99:                                               ; preds = %53
  %100 = getelementptr inbounds %"class.fastjet::cdf::Cluster", ptr %11, i32 0, i32 2
  %101 = getelementptr inbounds %"class.fastjet::cdf::Centroid", ptr %100, i32 0, i32 0
  %102 = load double, ptr %101, align 8, !tbaa !17
  %103 = getelementptr inbounds %"class.fastjet::cdf::JetCluAlgorithm", ptr %21, i32 0, i32 0
  %104 = load double, ptr %103, align 8, !tbaa !26
  %105 = fcmp ogt double %102, %104
  br i1 %105, label %106, label %113

106:                                              ; preds = %99
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIN7fastjet3cdf7ClusterESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %107, ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %108 unwind label %109

108:                                              ; preds = %106
  br label %113

109:                                              ; preds = %106
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %14, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %15, align 4
  br label %117

113:                                              ; preds = %108, %99
  call void @_ZN7fastjet3cdf7ClusterD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %11) #5
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #5
  br label %114

114:                                              ; preds = %113
  %115 = load i32, ptr %10, align 4, !tbaa !9
  %116 = add nsw i32 %115, 1
  store i32 %116, ptr %10, align 4, !tbaa !9
  br label %40, !llvm.loop !28

117:                                              ; preds = %109, %91
  call void @_ZN7fastjet3cdf7ClusterD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %11) #5
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %133

118:                                              ; preds = %43
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #5
  br label %119

119:                                              ; preds = %118
  %120 = load i32, ptr %7, align 4, !tbaa !9
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %7, align 4, !tbaa !9
  br label %22, !llvm.loop !29

122:                                              ; preds = %25
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  %124 = call ptr @_ZNSt6vectorIN7fastjet3cdf7ClusterESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %123) #5
  %125 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %18, i32 0, i32 0
  store ptr %124, ptr %125, align 8
  %126 = load ptr, ptr %6, align 8, !tbaa !5
  %127 = call ptr @_ZNSt6vectorIN7fastjet3cdf7ClusterESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %126) #5
  %128 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %19, i32 0, i32 0
  store ptr %127, ptr %128, align 8
  %129 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %18, i32 0, i32 0
  %130 = load ptr, ptr %129, align 8
  %131 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %19, i32 0, i32 0
  %132 = load ptr, ptr %131, align 8
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7fastjet3cdf7ClusterESt6vectorIS4_SaIS4_EEEENS3_24ClusterCentroidEtGreaterEEvT_SB_T0_(ptr %130, ptr %132)
  ret void

133:                                              ; preds = %117
  %134 = load ptr, ptr %14, align 8
  %135 = load i32, ptr %15, align 4
  %136 = insertvalue { ptr, i32 } poison, ptr %134, 0
  %137 = insertvalue { ptr, i32 } %136, i32 %135, 1
  resume { ptr, i32 } %137
}

; 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 void @_ZN7fastjet3cdf7ClusterC2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #0 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIN7fastjet3cdf12PhysicsTowerESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 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: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7fastjet3cdf7Cluster8addTowerENS0_12PhysicsTowerE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7fastjet3cdf12PhysicsTowerC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(68), ptr noundef nonnull align 8 dereferenceable(68)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN7fastjet3cdf7ClusterESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(88)) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7fastjet3cdf7ClusterD2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7fastjet3cdf7ClusterESt6vectorIS4_SaIS4_EEEENS3_24ClusterCentroidEtGreaterEEvT_SB_T0_(ptr, ptr) #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIN7fastjet3cdf7ClusterESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 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 = { 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 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !24, i64 56}
!18 = !{!"_ZTSN7fastjet3cdf7ClusterE", !19, i64 0, !23, i64 24, !25, i64 56, !24, i64 80}
!19 = !{!"_ZTSSt6vectorIN7fastjet3cdf12PhysicsTowerESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN7fastjet3cdf12PhysicsTowerESaIS2_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN7fastjet3cdf12PhysicsTowerESaIS2_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN7fastjet3cdf12PhysicsTowerESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSN7fastjet3cdf13LorentzVectorE", !24, i64 0, !24, i64 8, !24, i64 16, !24, i64 24}
!24 = !{!"double", !7, i64 0}
!25 = !{!"_ZTSN7fastjet3cdf8CentroidE", !24, i64 0, !24, i64 8, !24, i64 16}
!26 = !{!27, !24, i64 0}
!27 = !{!"_ZTSN7fastjet3cdf15JetCluAlgorithmE", !24, i64 0, !24, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !24, i64 32}
!28 = distinct !{!28, !16}
!29 = distinct !{!29, !16}


; 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::cdf::Cluster" = type { %"class.std::vector", %"class.fastjet::cdf::LorentzVector", %"class.fastjet::cdf::Centroid", double }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<fastjet::cdf::PhysicsTower, std::allocator<fastjet::cdf::PhysicsTower>>::_Vector_impl" }
%"struct.std::_Vector_base<fastjet::cdf::PhysicsTower, std::allocator<fastjet::cdf::PhysicsTower>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastjet::cdf::PhysicsTower, std::allocator<fastjet::cdf::PhysicsTower>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastjet::cdf::PhysicsTower, std::allocator<fastjet::cdf::PhysicsTower>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.fastjet::cdf::LorentzVector" = type { double, double, double, double }
%"class.fastjet::cdf::Centroid" = type { double, double, double }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.fastjet::cdf::PhysicsTower" = type <{ %"class.fastjet::cdf::LorentzVector", %"class.fastjet::cdf::CalTower", i32, [4 x i8] }>
%"class.fastjet::cdf::CalTower" = type { double, double, double, i32, i32 }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7fastjet3cdf15JetCluAlgorithm14makeSeedTowersERSt6vectorINS0_12PhysicsTowerESaIS3_EERS2_INS0_7ClusterESaIS7_EE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(40) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.fastjet::cdf::Cluster", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.fastjet::cdf::PhysicsTower", align 8
  %8 = getelementptr inbounds i8, ptr %4, i64 56
  br label %12

9:                                                ; preds = %.split40.us
  %10 = call ptr @_ZNSt6vectorIN7fastjet3cdf7ClusterESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %11 = call ptr @_ZNSt6vectorIN7fastjet3cdf7ClusterESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7fastjet3cdf7ClusterESt6vectorIS4_SaIS4_EEEENS3_24ClusterCentroidEtGreaterEEvT_SB_T0_(ptr %10, ptr %11)
  ret void

12:                                               ; preds = %3, %.split40.us
  %.042 = phi i32 [ 4, %3 ], [ %38, %.split40.us ]
  switch i32 %.042, label %.split35.us [
    i32 43, label %.split35.critedge.preheader
    i32 42, label %.split35.critedge.preheader
    i32 41, label %.split35.critedge.preheader
    i32 40, label %.split35.critedge.preheader
    i32 39, label %.split35.critedge.preheader
    i32 38, label %.split35.critedge.preheader
    i32 13, label %.split35.critedge.preheader
    i32 12, label %.split35.critedge.preheader
    i32 11, label %.split35.critedge.preheader
    i32 10, label %.split35.critedge.preheader
    i32 9, label %.split35.critedge.preheader
    i32 8, label %.split35.critedge.preheader
  ]

.split35.critedge.preheader:                      ; preds = %12, %12, %12, %12, %12, %12, %12, %12, %12, %12, %12, %12
  br label %.split35.critedge

.split35.us:                                      ; preds = %12, %20
  %.02933.us = phi i32 [ %21, %20 ], [ 0, %12 ]
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %4) #5
  call void @_ZN7fastjet3cdf7ClusterC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %4)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %13 = call ptr @_ZNSt6vectorIN7fastjet3cdf12PhysicsTowerESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  store ptr %13, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %14 = call ptr @_ZNSt6vectorIN7fastjet3cdf12PhysicsTowerESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  store ptr %14, ptr %6, align 8
  %15 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br i1 %15, label %.lr.ph.us, label %._crit_edge.split.us.us

._crit_edge.split.us.us:                          ; preds = %32, %.split35.us
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  %16 = load double, ptr %8, align 8, !tbaa !5
  %17 = load double, ptr %0, align 8, !tbaa !17
  %18 = fcmp ogt double %16, %17
  br i1 %18, label %19, label %20

19:                                               ; preds = %._crit_edge.split.us.us
  invoke void @_ZNSt6vectorIN7fastjet3cdf7ClusterESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %20 unwind label %.split37.us

20:                                               ; preds = %19, %._crit_edge.split.us.us
  call void @_ZN7fastjet3cdf7ClusterD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %4) #5
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %4) #5
  %21 = add nuw nsw i32 %.02933.us, 1
  %exitcond45.not = icmp eq i32 %21, 24
  br i1 %exitcond45.not, label %.split40.us, label %.split35.us, !llvm.loop !20

.lr.ph.us:                                        ; preds = %.split35.us, %32
  %22 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %23 = call noundef i32 @_ZNK7fastjet3cdf12PhysicsTower4iEtaEv(ptr noundef nonnull align 8 dereferenceable(68) %22)
  %24 = icmp eq i32 %23, %.042
  br i1 %24, label %25, label %32

25:                                               ; preds = %.lr.ph.us
  %26 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %27 = call noundef i32 @_ZNK7fastjet3cdf12PhysicsTower4iPhiEv(ptr noundef nonnull align 8 dereferenceable(68) %26)
  %28 = icmp eq i32 %27, %.02933.us
  br i1 %28, label %29, label %32

29:                                               ; preds = %25
  %30 = call noundef nonnull align 8 dereferenceable(68) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  invoke void @_ZN7fastjet3cdf12PhysicsTowerC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(68) %7, ptr noundef nonnull align 8 dereferenceable(68) %30)
          to label %31 unwind label %.split.us.split.us

31:                                               ; preds = %29
  invoke void @_ZN7fastjet3cdf7Cluster8addTowerENS0_12PhysicsTowerE(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull %7)
          to label %32 unwind label %.split.us.split.us

32:                                               ; preds = %31, %25, %.lr.ph.us
  %33 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %5, i32 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %34 = call ptr @_ZNSt6vectorIN7fastjet3cdf12PhysicsTowerESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  store ptr %34, ptr %6, align 8
  %35 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br i1 %35, label %.lr.ph.us, label %._crit_edge.split.us.us, !llvm.loop !22

.split37.us:                                      ; preds = %19
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %71

.split.us.split.us:                               ; preds = %31, %29
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %62

.split40.us:                                      ; preds = %69, %20
  %38 = add nuw nsw i32 %.042, 1
  %exitcond46.not = icmp eq i32 %38, 48
  br i1 %exitcond46.not, label %9, label %12, !llvm.loop !23

.split35.critedge:                                ; preds = %.split35.critedge.preheader, %69
  %.02933 = phi i32 [ %70, %69 ], [ 0, %.split35.critedge.preheader ]
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %4) #5
  call void @_ZN7fastjet3cdf7ClusterC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %4)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %39 = call ptr @_ZNSt6vectorIN7fastjet3cdf12PhysicsTowerESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  store ptr %39, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %40 = call ptr @_ZNSt6vectorIN7fastjet3cdf12PhysicsTowerESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  store ptr %40, ptr %6, align 8
  %41 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br i1 %41, label %.lr.ph, label %._crit_edge.split

.lr.ph:                                           ; preds = %.split35.critedge
  %42 = shl nuw nsw i32 %.02933, 1
  %43 = or disjoint i32 %42, 1
  br label %47

._crit_edge.split:                                ; preds = %63, %.split35.critedge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  %44 = load double, ptr %8, align 8, !tbaa !5
  %45 = load double, ptr %0, align 8, !tbaa !17
  %46 = fcmp ogt double %44, %45
  br i1 %46, label %67, label %69

47:                                               ; preds = %.lr.ph, %63
  %48 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %49 = call noundef i32 @_ZNK7fastjet3cdf12PhysicsTower4iEtaEv(ptr noundef nonnull align 8 dereferenceable(68) %48)
  %50 = icmp eq i32 %49, %.042
  br i1 %50, label %.critedge, label %63

.critedge:                                        ; preds = %47
  %51 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %52 = call noundef i32 @_ZNK7fastjet3cdf12PhysicsTower4iPhiEv(ptr noundef nonnull align 8 dereferenceable(68) %51)
  %53 = icmp eq i32 %52, %42
  br i1 %53, label %58, label %54

54:                                               ; preds = %.critedge
  %55 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %56 = call noundef i32 @_ZNK7fastjet3cdf12PhysicsTower4iPhiEv(ptr noundef nonnull align 8 dereferenceable(68) %55)
  %57 = icmp eq i32 %56, %43
  br i1 %57, label %58, label %63

58:                                               ; preds = %54, %.critedge
  %59 = call noundef nonnull align 8 dereferenceable(68) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  invoke void @_ZN7fastjet3cdf12PhysicsTowerC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(68) %7, ptr noundef nonnull align 8 dereferenceable(68) %59)
          to label %60 unwind label %.split

60:                                               ; preds = %58
  invoke void @_ZN7fastjet3cdf7Cluster8addTowerENS0_12PhysicsTowerE(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull %7)
          to label %63 unwind label %.split

.split:                                           ; preds = %60, %58
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %62

62:                                               ; preds = %.split.us.split.us, %.split
  %.us-phi = phi { ptr, i32 } [ %61, %.split ], [ %37, %.split.us.split.us ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br label %71

63:                                               ; preds = %47, %54, %60
  %64 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %5, i32 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %65 = call ptr @_ZNSt6vectorIN7fastjet3cdf12PhysicsTowerESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  store ptr %65, ptr %6, align 8
  %66 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br i1 %66, label %47, label %._crit_edge.split, !llvm.loop !22

67:                                               ; preds = %._crit_edge.split
  invoke void @_ZNSt6vectorIN7fastjet3cdf7ClusterESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %69 unwind label %.split37

.split37:                                         ; preds = %67
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %71

69:                                               ; preds = %67, %._crit_edge.split
  call void @_ZN7fastjet3cdf7ClusterD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %4) #5
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %4) #5
  %70 = add nuw nsw i32 %.02933, 1
  %exitcond.not = icmp eq i32 %70, 24
  br i1 %exitcond.not, label %.split40.us, label %.split35.critedge, !llvm.loop !20

71:                                               ; preds = %.split37, %.split37.us, %62
  %.pn = phi { ptr, i32 } [ %.us-phi, %62 ], [ %68, %.split37 ], [ %36, %.split37.us ]
  call void @_ZN7fastjet3cdf7ClusterD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %4) #5
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %4) #5
  resume { ptr, i32 } %.pn
}

; 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 void @_ZN7fastjet3cdf7ClusterC2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #0 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIN7fastjet3cdf12PhysicsTowerESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 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: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7fastjet3cdf12PhysicsTowerESt6vectorIS3_SaIS3_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7fastjet3cdf7Cluster8addTowerENS0_12PhysicsTowerE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7fastjet3cdf12PhysicsTowerC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(68), ptr noundef nonnull align 8 dereferenceable(68)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN7fastjet3cdf7ClusterESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7fastjet3cdf7ClusterD2Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7fastjet3cdf7ClusterESt6vectorIS4_SaIS4_EEEENS3_24ClusterCentroidEtGreaterEEvT_SB_T0_(ptr, ptr) local_unnamed_addr #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIN7fastjet3cdf7ClusterESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 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 = { 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 = { 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, !15, i64 56}
!6 = !{!"_ZTSN7fastjet3cdf7ClusterE", !7, i64 0, !14, i64 24, !16, i64 56, !15, i64 80}
!7 = !{!"_ZTSSt6vectorIN7fastjet3cdf12PhysicsTowerESaIS2_EE", !8, i64 0}
!8 = !{!"_ZTSSt12_Vector_baseIN7fastjet3cdf12PhysicsTowerESaIS2_EE", !9, i64 0}
!9 = !{!"_ZTSNSt12_Vector_baseIN7fastjet3cdf12PhysicsTowerESaIS2_EE12_Vector_implE", !10, i64 0}
!10 = !{!"_ZTSNSt12_Vector_baseIN7fastjet3cdf12PhysicsTowerESaIS2_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"_ZTSN7fastjet3cdf13LorentzVectorE", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24}
!15 = !{!"double", !12, i64 0}
!16 = !{!"_ZTSN7fastjet3cdf8CentroidE", !15, i64 0, !15, i64 8, !15, i64 16}
!17 = !{!18, !15, i64 0}
!18 = !{!"_ZTSN7fastjet3cdf15JetCluAlgorithmE", !15, i64 0, !15, i64 8, !19, i64 16, !19, i64 20, !19, i64 24, !15, i64 32}
!19 = !{!"int", !12, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = distinct !{!23, !21}


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