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

; 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.siscone::Cvicinity" = type { ptr, double, double, double, double, double, double, i32, %"class.std::vector", %"class.std::vector.3", ptr, %"class.std::vector.8", 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.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = 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.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = 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::Cmomentum" = type <{ double, double, double, double, double, double, i32, i32, %"class.siscone::Creference", [4 x i8] }>
%"class.siscone::Creference" = type { [3 x i32] }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN7siscone7ve_lessEPNS_13Cvicinity_elmES1_(ptr noundef, ptr noundef) #0

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7siscone9Cvicinity5buildEPNS_9CmomentumEd(ptr noundef nonnull align 8 dereferenceable(168) %0, ptr noundef %1, double noundef %2) #2 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca double, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store double %2, ptr %6, align 8, !tbaa !9
  %10 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %11 = load ptr, ptr %5, align 8, !tbaa !5
  %12 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 0
  store ptr %11, ptr %12, align 8, !tbaa !11
  %13 = load double, ptr %6, align 8, !tbaa !9
  %14 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 1
  store double %13, ptr %14, align 8, !tbaa !26
  %15 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 1
  %16 = load double, ptr %15, align 8, !tbaa !26
  %17 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 1
  %18 = load double, ptr %17, align 8, !tbaa !26
  %19 = fmul double %16, %18
  %20 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 2
  store double %19, ptr %20, align 8, !tbaa !27
  %21 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 2
  %22 = load double, ptr %21, align 8, !tbaa !27
  %23 = fmul double 2.500000e-01, %22
  %24 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 4
  store double %23, ptr %24, align 8, !tbaa !28
  %25 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 1
  %26 = load double, ptr %25, align 8, !tbaa !26
  %27 = fmul double 5.000000e-01, %26
  %28 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 3
  store double %27, ptr %28, align 8, !tbaa !29
  %29 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 3
  %30 = load double, ptr %29, align 8, !tbaa !29
  %31 = fdiv double 1.000000e+00, %30
  %32 = fdiv double %31, 0x3D719799812DEA11
  %33 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 5
  store double %32, ptr %33, align 8, !tbaa !30
  %34 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 3
  %35 = load double, ptr %34, align 8, !tbaa !29
  %36 = fdiv double 5.000000e-01, %35
  %37 = fdiv double %36, 0x3D719799812DEA11
  %38 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 6
  store double %37, ptr %38, align 8, !tbaa !31
  %39 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 11
  call void @_ZNSt6vectorIPN7siscone13Cvicinity_elmESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #4
  %40 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 0
  %41 = load ptr, ptr %40, align 8, !tbaa !11
  %42 = getelementptr inbounds %"class.siscone::Cmomentum", ptr %41, i32 0, i32 4
  %43 = load double, ptr %42, align 8, !tbaa !32
  %44 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 13
  store double %43, ptr %44, align 8, !tbaa !35
  %45 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 0
  %46 = load ptr, ptr %45, align 8, !tbaa !11
  %47 = getelementptr inbounds %"class.siscone::Cmomentum", ptr %46, i32 0, i32 5
  %48 = load double, ptr %47, align 8, !tbaa !36
  %49 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 14
  store double %48, ptr %49, align 8, !tbaa !37
  store i32 0, ptr %7, align 4, !tbaa !38
  br label %50

50:                                               ; preds = %60, %3
  %51 = load i32, ptr %7, align 4, !tbaa !38
  %52 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 7
  %53 = load i32, ptr %52, align 8, !tbaa !39
  %54 = icmp slt i32 %51, %53
  br i1 %54, label %55, label %63

55:                                               ; preds = %50
  %56 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 8
  %57 = load i32, ptr %7, align 4, !tbaa !38
  %58 = sext i32 %57 to i64
  %59 = call noundef nonnull align 8 dereferenceable(68) ptr @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %58) #4
  call void @_ZN7siscone9Cvicinity18append_to_vicinityEPNS_9CmomentumE(ptr noundef nonnull align 8 dereferenceable(168) %10, ptr noundef %59)
  br label %60

60:                                               ; preds = %55
  %61 = load i32, ptr %7, align 4, !tbaa !38
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %7, align 4, !tbaa !38
  br label %50, !llvm.loop !40

63:                                               ; preds = %50
  %64 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 11
  %65 = call ptr @_ZNSt6vectorIPN7siscone13Cvicinity_elmESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #4
  %66 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %8, i32 0, i32 0
  store ptr %65, ptr %66, align 8
  %67 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 11
  %68 = call ptr @_ZNSt6vectorIPN7siscone13Cvicinity_elmESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %67) #4
  %69 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %9, i32 0, i32 0
  store ptr %68, ptr %69, align 8
  %70 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %8, i32 0, i32 0
  %71 = load ptr, ptr %70, align 8
  %72 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %9, i32 0, i32 0
  %73 = load ptr, ptr %72, align 8
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPPN7siscone13Cvicinity_elmESt6vectorIS4_SaIS4_EEEEPFbS4_S4_EEvT_SC_T0_(ptr %71, ptr %73, ptr noundef @_ZN7siscone7ve_lessEPNS_13Cvicinity_elmES1_)
  %74 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 11
  %75 = call noundef i64 @_ZNKSt6vectorIPN7siscone13Cvicinity_elmESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %74) #4
  %76 = trunc i64 %75 to i32
  %77 = getelementptr inbounds %"class.siscone::Cvicinity", ptr %10, i32 0, i32 12
  store i32 %76, ptr %77, align 8, !tbaa !42
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  ret void
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPPN7siscone13Cvicinity_elmESt6vectorIS4_SaIS4_EEEEPFbS4_S4_EEvT_SC_T0_(ptr, ptr, ptr noundef) #3

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

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

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { 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, !6, i64 0}
!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 = !{!12, !10, i64 8}
!27 = !{!12, !10, i64 16}
!28 = !{!12, !10, i64 32}
!29 = !{!12, !10, i64 24}
!30 = !{!12, !10, i64 40}
!31 = !{!12, !10, i64 48}
!32 = !{!33, !10, i64 32}
!33 = !{!"_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, !34, i64 56}
!34 = !{!"_ZTSN7siscone10CreferenceE", !7, i64 0}
!35 = !{!12, !10, i64 152}
!36 = !{!33, !10, i64 40}
!37 = !{!12, !10, i64 160}
!38 = !{!13, !13, i64 0}
!39 = !{!12, !13, i64 56}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.mustprogress"}
!42 = !{!12, !13, i64 144}


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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN7siscone7ve_lessEPNS_13Cvicinity_elmES1_(ptr noundef, ptr noundef) #0

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

; 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 #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7siscone9Cvicinity5buildEPNS_9CmomentumEd(ptr noundef nonnull align 8 dereferenceable(168) %0, ptr noundef %1, double noundef %2) local_unnamed_addr #1 align 2 {
  store ptr %1, ptr %0, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %0, i64 8
  store double %2, ptr %4, align 8, !tbaa !24
  %5 = fmul double %2, %2
  %6 = getelementptr inbounds i8, ptr %0, i64 16
  store double %5, ptr %6, align 8, !tbaa !25
  %7 = getelementptr inbounds i8, ptr %0, i64 24
  %8 = insertelement <2 x double> poison, double %2, i64 0
  %9 = insertelement <2 x double> %8, double %5, i64 1
  %10 = fmul <2 x double> %9, <double 5.000000e-01, double 2.500000e-01>
  store <2 x double> %10, ptr %7, align 8, !tbaa !26
  %11 = getelementptr inbounds i8, ptr %0, i64 40
  %12 = shufflevector <2 x double> %10, <2 x double> poison, <2 x i32> zeroinitializer
  %13 = fdiv <2 x double> <double 1.000000e+00, double 5.000000e-01>, %12
  %14 = fdiv <2 x double> %13, <double 0x3D719799812DEA11, double 0x3D719799812DEA11>
  store <2 x double> %14, ptr %11, align 8, !tbaa !26
  %15 = getelementptr inbounds i8, ptr %0, i64 120
  tail call void @_ZNSt6vectorIPN7siscone13Cvicinity_elmESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #3
  %16 = load ptr, ptr %0, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %16, i64 32
  %18 = getelementptr inbounds i8, ptr %0, i64 152
  %19 = load <2 x double>, ptr %17, align 8, !tbaa !26
  store <2 x double> %19, ptr %18, align 8, !tbaa !26
  %20 = getelementptr inbounds i8, ptr %0, i64 56
  %21 = load i32, ptr %20, align 8, !tbaa !27
  %22 = icmp sgt i32 %21, 0
  br i1 %22, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %3
  %23 = getelementptr inbounds i8, ptr %0, i64 64
  br label %24

24:                                               ; preds = %.lr.ph, %24
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %24 ]
  %25 = tail call noundef nonnull align 8 dereferenceable(68) ptr @_ZNSt6vectorIN7siscone9CmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %indvars.iv) #3
  tail call void @_ZN7siscone9Cvicinity18append_to_vicinityEPNS_9CmomentumE(ptr noundef nonnull align 8 dereferenceable(168) %0, ptr noundef nonnull %25)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %26 = load i32, ptr %20, align 8, !tbaa !27
  %27 = sext i32 %26 to i64
  %28 = icmp slt i64 %indvars.iv.next, %27
  br i1 %28, label %24, label %._crit_edge, !llvm.loop !28

._crit_edge:                                      ; preds = %24, %3
  %29 = tail call ptr @_ZNSt6vectorIPN7siscone13Cvicinity_elmESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #3
  %30 = tail call ptr @_ZNSt6vectorIPN7siscone13Cvicinity_elmESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #3
  tail call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPPN7siscone13Cvicinity_elmESt6vectorIS4_SaIS4_EEEEPFbS4_S4_EEvT_SC_T0_(ptr %29, ptr %30, ptr noundef nonnull @_ZN7siscone7ve_lessEPNS_13Cvicinity_elmES1_)
  %31 = tail call noundef i64 @_ZNKSt6vectorIPN7siscone13Cvicinity_elmESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #3
  %32 = trunc i64 %31 to i32
  %33 = getelementptr inbounds i8, ptr %0, i64 144
  store i32 %32, ptr %33, align 8, !tbaa !30
  ret void
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPPN7siscone13Cvicinity_elmESt6vectorIS4_SaIS4_EEEEPFbS4_S4_EEvT_SC_T0_(ptr, ptr, ptr noundef) local_unnamed_addr #2

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

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

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

attributes #0 = { 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 #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 = { 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 #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!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 = !{!6, !10, i64 8}
!25 = !{!6, !10, i64 16}
!26 = !{!10, !10, i64 0}
!27 = !{!6, !11, i64 56}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!6, !11, i64 144}


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