; LLVM IR from mickypaganini/SSI2016-jet-clustering :: spartyjet-4.0.2_mac/External/fastjet-3.0.0/plugins/SISCone/siscone/siscone/pro_77d71576 (conesEd)

; 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.siscone::Cvicinity" = type { ptr, double, double, double, double, double, double, i32, %"class.std::vector", %"class.std::vector.0", ptr, %"class.std::vector.5", i32, double, double }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<siscone::Cmomentum, std::allocator<siscone::Cmomentum>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cmomentum, std::allocator<siscone::Cmomentum>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cmomentum, std::allocator<siscone::Cmomentum>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cmomentum, std::allocator<siscone::Cmomentum>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<siscone::Cvicinity_inclusion, std::allocator<siscone::Cvicinity_inclusion>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cvicinity_inclusion, std::allocator<siscone::Cvicinity_inclusion>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cvicinity_inclusion, std::allocator<siscone::Cvicinity_inclusion>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cvicinity_inclusion, std::allocator<siscone::Cvicinity_inclusion>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<siscone::Cvicinity_elm *, std::allocator<siscone::Cvicinity_elm *>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cvicinity_elm *, std::allocator<siscone::Cvicinity_elm *>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cvicinity_elm *, std::allocator<siscone::Cvicinity_elm *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cvicinity_elm *, std::allocator<siscone::Cvicinity_elm *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.siscone::Cstable_cones" = type { %"class.siscone::Cvicinity", %"class.std::vector", ptr, i32, double, double, %"class.siscone::Cmomentum", ptr, ptr, i32, i32, %"class.siscone::Cmomentum", %"class.std::vector.10", %"class.std::vector.15", double }
%"class.siscone::Cmomentum" = type <{ double, double, double, double, double, double, i32, i32, %"class.siscone::Creference", [4 x i8] }>
%"class.siscone::Creference" = type { [3 x i32] }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<siscone::Cmomentum *, std::allocator<siscone::Cmomentum *>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cmomentum *, std::allocator<siscone::Cmomentum *>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cmomentum *, std::allocator<siscone::Cmomentum *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cmomentum *, std::allocator<siscone::Cmomentum *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<std::pair<siscone::Creference, siscone::Creference>, std::allocator<std::pair<siscone::Creference, siscone::Creference>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<siscone::Creference, siscone::Creference>, std::allocator<std::pair<siscone::Creference, siscone::Creference>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<siscone::Creference, siscone::Creference>, std::allocator<std::pair<siscone::Creference, siscone::Creference>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<siscone::Creference, siscone::Creference>, std::allocator<std::pair<siscone::Creference, siscone::Creference>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #0

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7siscone13Cstable_cones16get_stable_conesEd(ptr noundef nonnull align 8 dereferenceable(448) %0, double noundef %1) #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca double, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store double %1, ptr %5, align 8, !tbaa !9
  %10 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  %11 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 7
  %12 = load i32, ptr %11, align 8, !tbaa !11
  %13 = icmp eq i32 %12, 0
  br i1 %13, label %14, label %15

14:                                               ; preds = %2
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %69

15:                                               ; preds = %2
  %16 = load double, ptr %5, align 8, !tbaa !9
  %17 = getelementptr inbounds %"class.siscone::Cstable_cones", ptr %10, i32 0, i32 4
  store double %16, ptr %17, align 8, !tbaa !26
  %18 = getelementptr inbounds %"class.siscone::Cstable_cones", ptr %10, i32 0, i32 4
  %19 = load double, ptr %18, align 8, !tbaa !26
  %20 = getelementptr inbounds %"class.siscone::Cstable_cones", ptr %10, i32 0, i32 4
  %21 = load double, ptr %20, align 8, !tbaa !26
  %22 = fmul double %19, %21
  %23 = getelementptr inbounds %"class.siscone::Cstable_cones", ptr %10, i32 0, i32 5
  store double %22, ptr %23, align 8, !tbaa !38
  %24 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #7
  %25 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 7
  %26 = load i32, ptr %25, align 8, !tbaa !11
  %27 = getelementptr inbounds %"class.siscone::Cstable_cones", ptr %10, i32 0, i32 5
  %28 = load double, ptr %27, align 8, !tbaa !38
  invoke void @_ZN7siscone10hash_conesC1Eid(ptr noundef nonnull align 8 dereferenceable(24) %24, i32 noundef %26, double noundef %28)
          to label %29 unwind label %51

29:                                               ; preds = %15
  %30 = getelementptr inbounds %"class.siscone::Cstable_cones", ptr %10, i32 0, i32 2
  store ptr %24, ptr %30, align 8, !tbaa !39
  store i32 0, ptr %6, align 4, !tbaa !40
  br label %31

31:                                               ; preds = %64, %29
  %32 = load i32, ptr %6, align 4, !tbaa !40
  %33 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 7
  %34 = load i32, ptr %33, align 8, !tbaa !11
  %35 = icmp slt i32 %32, %34
  br i1 %35, label %36, label %67

36:                                               ; preds = %31
  %37 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 8
  %38 = load i32, ptr %6, align 4, !tbaa !40
  %39 = sext i32 %38 to i64
  %40 = call noundef nonnull align 8 dereferenceable(68) ptr @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %39) #6
  %41 = getelementptr inbounds %"class.siscone::Cstable_cones", ptr %10, i32 0, i32 4
  %42 = load double, ptr %41, align 8, !tbaa !26
  %43 = fmul double 2.000000e+00, %42
  call void @_ZN7siscone9Cvicinity5buildEPNS_9CmomentumEd(ptr noundef nonnull align 8 dereferenceable(168) %10, ptr noundef %40, double noundef %43)
  %44 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 12
  %45 = load i32, ptr %44, align 8, !tbaa !41
  %46 = icmp eq i32 %45, 0
  br i1 %46, label %47, label %55

47:                                               ; preds = %36
  %48 = getelementptr inbounds %"class.siscone::Cstable_cones", ptr %10, i32 0, i32 1
  %49 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 0
  %50 = load ptr, ptr %49, align 8, !tbaa !42
  call void @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %48, ptr noundef nonnull align 8 dereferenceable(68) %50)
  br label %64

51:                                               ; preds = %15
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %8, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %24, i64 noundef 24) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %71

55:                                               ; preds = %36
  %56 = call noundef i32 @_ZN7siscone13Cstable_cones9init_coneEv(ptr noundef nonnull align 8 dereferenceable(448) %10)
  br label %57

57:                                               ; preds = %59, %55
  %58 = call noundef i32 @_ZN7siscone13Cstable_cones9test_coneEv(ptr noundef nonnull align 8 dereferenceable(448) %10)
  br label %59

59:                                               ; preds = %57
  %60 = call noundef i32 @_ZN7siscone13Cstable_cones11update_coneEv(ptr noundef nonnull align 8 dereferenceable(448) %10)
  %61 = icmp ne i32 %60, 0
  %62 = xor i1 %61, true
  br i1 %62, label %57, label %63, !llvm.loop !43

63:                                               ; preds = %59
  br label %64

64:                                               ; preds = %63, %47
  %65 = load i32, ptr %6, align 4, !tbaa !40
  %66 = add nsw i32 %65, 1
  store i32 %66, ptr %6, align 4, !tbaa !40
  br label %31, !llvm.loop !45

67:                                               ; preds = %31
  %68 = call noundef i32 @_ZN7siscone13Cstable_cones22proceed_with_stabilityEv(ptr noundef nonnull align 8 dereferenceable(448) %10)
  store i32 %68, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %69

69:                                               ; preds = %67, %14
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  %70 = load i32, ptr %3, align 4
  ret i32 %70

71:                                               ; preds = %51
  %72 = load ptr, ptr %8, align 8
  %73 = load i32, ptr %9, align 4
  %74 = insertvalue { ptr, i32 } poison, ptr %72, 0
  %75 = insertvalue { ptr, i32 } %74, i32 %73, 1
  resume { ptr, i32 } %75
}

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #3

declare void @_ZN7siscone10hash_conesC1Eid(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, double noundef) unnamed_addr #4

declare void @_ZN7siscone9Cvicinity5buildEPNS_9CmomentumEd(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef, double noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(68) ptr @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(68)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7siscone13Cstable_cones9init_coneEv(ptr noundef nonnull align 8 dereferenceable(448)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7siscone13Cstable_cones9test_coneEv(ptr noundef nonnull align 8 dereferenceable(448)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7siscone13Cstable_cones11update_coneEv(ptr noundef nonnull align 8 dereferenceable(448)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7siscone13Cstable_cones22proceed_with_stabilityEv(ptr noundef nonnull align 8 dereferenceable(448)) #1 align 2

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

attributes #0 = { nobuiltin 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 #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nobuiltin allocsize(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 = { "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 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 #6 = { nounwind }
attributes #7 = { builtin allocsize(0) }
attributes #8 = { builtin 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 = !{!"double", !7, i64 0}
!11 = !{!12, !13, i64 56}
!12 = !{!"_ZTSN7siscone9CvicinityE", !6, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !13, i64 56, !14, i64 64, !18, i64 88, !6, i64 112, !22, i64 120, !13, i64 144, !10, i64 152, !10, i64 160}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTSSt6vectorIN7siscone9CmomentumESaIS1_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIN7siscone9CmomentumESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN7siscone9CmomentumESaIS1_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN7siscone9CmomentumESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!"_ZTSSt6vectorIN7siscone19Cvicinity_inclusionESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIN7siscone19Cvicinity_inclusionESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN7siscone19Cvicinity_inclusionESaIS1_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN7siscone19Cvicinity_inclusionESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSSt6vectorIPN7siscone13Cvicinity_elmESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIPN7siscone13Cvicinity_elmESaIS2_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIPN7siscone13Cvicinity_elmESaIS2_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIPN7siscone13Cvicinity_elmESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!27, !10, i64 208}
!27 = !{!"_ZTSN7siscone13Cstable_conesE", !12, i64 0, !14, i64 168, !6, i64 192, !13, i64 200, !10, i64 208, !10, i64 216, !28, i64 224, !6, i64 296, !6, i64 304, !13, i64 312, !13, i64 316, !28, i64 320, !30, i64 392, !34, i64 416, !10, i64 440}
!28 = !{!"_ZTSN7siscone9CmomentumE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !13, i64 48, !13, i64 52, !29, i64 56}
!29 = !{!"_ZTSN7siscone10CreferenceE", !7, i64 0}
!30 = !{!"_ZTSSt6vectorIPN7siscone9CmomentumESaIS2_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIPN7siscone9CmomentumESaIS2_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIPN7siscone9CmomentumESaIS2_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIPN7siscone9CmomentumESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!"_ZTSSt6vectorISt4pairIN7siscone10CreferenceES2_ESaIS3_EE", !35, i64 0}
!35 = !{!"_ZTSSt12_Vector_baseISt4pairIN7siscone10CreferenceES2_ESaIS3_EE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseISt4pairIN7siscone10CreferenceES2_ESaIS3_EE12_Vector_implE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseISt4pairIN7siscone10CreferenceES2_ESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!38 = !{!27, !10, i64 216}
!39 = !{!27, !6, i64 192}
!40 = !{!13, !13, i64 0}
!41 = !{!12, !13, i64 144}
!42 = !{!12, !6, i64 0}
!43 = distinct !{!43, !44}
!44 = !{!"llvm.loop.mustprogress"}
!45 = distinct !{!45, !44}


; 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"

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7siscone13Cstable_cones16get_stable_conesEd(ptr noundef nonnull align 8 dereferenceable(448) %0, double noundef %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = getelementptr inbounds i8, ptr %0, i64 56
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = icmp eq i32 %4, 0
  br i1 %5, label %37, label %6

6:                                                ; preds = %2
  %7 = getelementptr inbounds i8, ptr %0, i64 208
  store double %1, ptr %7, align 8, !tbaa !24
  %8 = fmul double %1, %1
  %9 = getelementptr inbounds i8, ptr %0, i64 216
  store double %8, ptr %9, align 8, !tbaa !36
  %10 = tail call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #5
  invoke void @_ZN7siscone10hash_conesC1Eid(ptr noundef nonnull align 8 dereferenceable(24) %10, i32 noundef %4, double noundef %8)
          to label %11 unwind label %26

11:                                               ; preds = %6
  %12 = getelementptr inbounds i8, ptr %0, i64 192
  store ptr %10, ptr %12, align 8, !tbaa !37
  %13 = load i32, ptr %3, align 8, !tbaa !5
  %14 = icmp sgt i32 %13, 0
  br i1 %14, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %11
  %15 = getelementptr inbounds i8, ptr %0, i64 64
  %16 = getelementptr inbounds i8, ptr %0, i64 144
  %17 = getelementptr inbounds i8, ptr %0, i64 168
  br label %18

18:                                               ; preds = %.lr.ph, %.loopexit
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %.loopexit ]
  %19 = tail call noundef nonnull align 8 dereferenceable(68) ptr @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv) #6
  %20 = load double, ptr %7, align 8, !tbaa !24
  %21 = fmul double %20, 2.000000e+00
  tail call void @_ZN7siscone9Cvicinity5buildEPNS_9CmomentumEd(ptr noundef nonnull align 8 dereferenceable(168) %0, ptr noundef nonnull %19, double noundef %21)
  %22 = load i32, ptr %16, align 8, !tbaa !38
  %23 = icmp eq i32 %22, 0
  br i1 %23, label %24, label %28

24:                                               ; preds = %18
  %25 = load ptr, ptr %0, align 8, !tbaa !39
  tail call void @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(68) %25)
  br label %.loopexit

26:                                               ; preds = %6
  %27 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %10, i64 noundef 24) #7
  resume { ptr, i32 } %27

28:                                               ; preds = %18
  %29 = tail call noundef i32 @_ZN7siscone13Cstable_cones9init_coneEv(ptr noundef nonnull align 8 dereferenceable(448) %0)
  br label %30

30:                                               ; preds = %30, %28
  %31 = tail call noundef i32 @_ZN7siscone13Cstable_cones9test_coneEv(ptr noundef nonnull align 8 dereferenceable(448) %0)
  %32 = tail call noundef i32 @_ZN7siscone13Cstable_cones11update_coneEv(ptr noundef nonnull align 8 dereferenceable(448) %0)
  %.not = icmp eq i32 %32, 0
  br i1 %.not, label %30, label %.loopexit, !llvm.loop !40

.loopexit:                                        ; preds = %30, %24
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %33 = load i32, ptr %3, align 8, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = icmp slt i64 %indvars.iv.next, %34
  br i1 %35, label %18, label %._crit_edge, !llvm.loop !42

._crit_edge:                                      ; preds = %.loopexit, %11
  %36 = tail call noundef i32 @_ZN7siscone13Cstable_cones22proceed_with_stabilityEv(ptr noundef nonnull align 8 dereferenceable(448) %0)
  br label %37

37:                                               ; preds = %2, %._crit_edge
  %.0 = phi i32 [ %36, %._crit_edge ], [ 0, %2 ]
  ret i32 %.0
}

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #2

declare void @_ZN7siscone10hash_conesC1Eid(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, double noundef) unnamed_addr #3

declare void @_ZN7siscone9Cvicinity5buildEPNS_9CmomentumEd(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef, double noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(68)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7siscone13Cstable_cones9init_coneEv(ptr noundef nonnull align 8 dereferenceable(448)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7siscone13Cstable_cones9test_coneEv(ptr noundef nonnull align 8 dereferenceable(448)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7siscone13Cstable_cones11update_coneEv(ptr noundef nonnull align 8 dereferenceable(448)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7siscone13Cstable_cones22proceed_with_stabilityEv(ptr noundef nonnull align 8 dereferenceable(448)) local_unnamed_addr #1 align 2

attributes #0 = { nobuiltin 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 #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { builtin allocsize(0) }
attributes #6 = { nounwind }
attributes #7 = { builtin 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, !11, i64 56}
!6 = !{!"_ZTSN7siscone9CvicinityE", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !11, i64 56, !12, i64 64, !16, i64 88, !7, i64 112, !20, i64 120, !11, i64 144, !10, i64 152, !10, i64 160}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"_ZTSSt6vectorIN7siscone9CmomentumESaIS1_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIN7siscone9CmomentumESaIS1_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIN7siscone9CmomentumESaIS1_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIN7siscone9CmomentumESaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!16 = !{!"_ZTSSt6vectorIN7siscone19Cvicinity_inclusionESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN7siscone19Cvicinity_inclusionESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN7siscone19Cvicinity_inclusionESaIS1_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN7siscone19Cvicinity_inclusionESaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!20 = !{!"_ZTSSt6vectorIPN7siscone13Cvicinity_elmESaIS2_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIPN7siscone13Cvicinity_elmESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIPN7siscone13Cvicinity_elmESaIS2_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIPN7siscone13Cvicinity_elmESaIS2_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!24 = !{!25, !10, i64 208}
!25 = !{!"_ZTSN7siscone13Cstable_conesE", !6, i64 0, !12, i64 168, !7, i64 192, !11, i64 200, !10, i64 208, !10, i64 216, !26, i64 224, !7, i64 296, !7, i64 304, !11, i64 312, !11, i64 316, !26, i64 320, !28, i64 392, !32, i64 416, !10, i64 440}
!26 = !{!"_ZTSN7siscone9CmomentumE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !11, i64 48, !11, i64 52, !27, i64 56}
!27 = !{!"_ZTSN7siscone10CreferenceE", !8, i64 0}
!28 = !{!"_ZTSSt6vectorIPN7siscone9CmomentumESaIS2_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIPN7siscone9CmomentumESaIS2_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIPN7siscone9CmomentumESaIS2_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIPN7siscone9CmomentumESaIS2_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!32 = !{!"_ZTSSt6vectorISt4pairIN7siscone10CreferenceES2_ESaIS3_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseISt4pairIN7siscone10CreferenceES2_ESaIS3_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseISt4pairIN7siscone10CreferenceES2_ESaIS3_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseISt4pairIN7siscone10CreferenceES2_ESaIS3_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!36 = !{!25, !10, i64 216}
!37 = !{!25, !7, i64 192}
!38 = !{!6, !11, i64 144}
!39 = !{!6, !7, i64 0}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.mustprogress"}
!42 = distinct !{!42, !41}


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