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

; 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_inclusion" = type { i8, i8 }
%"class.siscone_spherical::CSphvicinity" = type { ptr, double, double, double, double, double, double, double, double, double, i32, %"class.std::vector", %"class.std::vector.3", ptr, %"class.std::vector.8", i32, [4 x i8], %"class.siscone_spherical::CSph3vector", %"class.siscone_spherical::CSph3vector", %"class.siscone_spherical::CSph3vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<siscone_spherical::CSphmomentum, std::allocator<siscone_spherical::CSphmomentum>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone_spherical::CSphmomentum, std::allocator<siscone_spherical::CSphmomentum>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone_spherical::CSphmomentum, std::allocator<siscone_spherical::CSphmomentum>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone_spherical::CSphmomentum, std::allocator<siscone_spherical::CSphmomentum>>::_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_spherical::CSphvicinity_elm *, std::allocator<siscone_spherical::CSphvicinity_elm *>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone_spherical::CSphvicinity_elm *, std::allocator<siscone_spherical::CSphvicinity_elm *>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone_spherical::CSphvicinity_elm *, std::allocator<siscone_spherical::CSphvicinity_elm *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone_spherical::CSphvicinity_elm *, std::allocator<siscone_spherical::CSphvicinity_elm *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.siscone_spherical::CSph3vector" = type <{ double, double, double, double, double, double, %"class.siscone::Creference", [4 x i8] }>
%"class.siscone::Creference" = type { [3 x i32] }
%"class.siscone_spherical::CSphvicinity_elm" = type { ptr, ptr, %"class.siscone_spherical::CSph3vector", double, i8, double, %"class.std::__cxx11::list" }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<siscone_spherical::CSphvicinity_elm *, std::allocator<siscone_spherical::CSphvicinity_elm *>>::_List_impl" }
%"struct.std::__cxx11::_List_base<siscone_spherical::CSphvicinity_elm *, std::allocator<siscone_spherical::CSphvicinity_elm *>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.siscone_spherical::CSphmomentum" = type { %"class.siscone_spherical::CSph3vector.base", double, i32, i32 }
%"class.siscone_spherical::CSph3vector.base" = type <{ double, double, double, double, double, double, %"class.siscone::Creference" }>

declare i32 @__gxx_personality_v0(...)

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

14:                                               ; preds = %2
  %15 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity", ptr %10, i32 0, i32 13
  %16 = load ptr, ptr %15, align 8, !tbaa !9
  %17 = icmp eq ptr %16, null
  br i1 %17, label %30, label %18

18:                                               ; preds = %14
  %19 = getelementptr inbounds i8, ptr %16, i64 -8
  %20 = load i64, ptr %19, align 8
  %21 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity_elm", ptr %16, i64 %20
  %22 = icmp eq ptr %16, %21
  br i1 %22, label %27, label %23

23:                                               ; preds = %23, %18
  %24 = phi ptr [ %21, %18 ], [ %25, %23 ]
  %25 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity_elm", ptr %24, i64 -1
  call void @_ZN17siscone_spherical16CSphvicinity_elmD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %25) #9
  %26 = icmp eq ptr %25, %16
  br i1 %26, label %27, label %23

27:                                               ; preds = %23, %18
  %28 = mul i64 128, %20
  %29 = add i64 %28, 8
  call void @_ZdaPvm(ptr noundef %19, i64 noundef %29) #10
  br label %30

30:                                               ; preds = %27, %14
  br label %31

31:                                               ; preds = %30, %2
  %32 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity", ptr %10, i32 0, i32 14
  call void @_ZNSt6vectorIPN17siscone_spherical16CSphvicinity_elmESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #9
  %33 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity", ptr %10, i32 0, i32 10
  store i32 0, ptr %33, align 8, !tbaa !27
  %34 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity", ptr %10, i32 0, i32 11
  call void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #9
  %35 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity", ptr %10, i32 0, i32 12
  call void @_ZNSt6vectorIN7siscone19Cvicinity_inclusionESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #9
  store i32 0, ptr %5, align 4, !tbaa !28
  br label %36

36:                                               ; preds = %66, %31
  %37 = load i32, ptr %5, align 4, !tbaa !28
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = call noundef i64 @_ZNKSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #9
  %40 = trunc i64 %39 to i32
  %41 = icmp slt i32 %37, %40
  br i1 %41, label %42, label %69

42:                                               ; preds = %36
  %43 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity", ptr %10, i32 0, i32 11
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = load i32, ptr %5, align 4, !tbaa !28
  %46 = sext i32 %45 to i64
  %47 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %46) #9
  call void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 8 dereferenceable(80) %47)
  %48 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity", ptr %10, i32 0, i32 12
  call void @llvm.lifetime.start.p0(i64 2, ptr %7) #9
  call void @_ZN7siscone19Cvicinity_inclusionC2Ev(ptr noundef nonnull align 1 dereferenceable(2) %7)
  call void @_ZNSt6vectorIN7siscone19Cvicinity_inclusionESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %48, ptr noundef nonnull align 1 dereferenceable(2) %7)
  call void @llvm.lifetime.end.p0(i64 2, ptr %7) #9
  %49 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity", ptr %10, i32 0, i32 10
  %50 = load i32, ptr %49, align 8, !tbaa !27
  %51 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity", ptr %10, i32 0, i32 11
  %52 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity", ptr %10, i32 0, i32 10
  %53 = load i32, ptr %52, align 8, !tbaa !27
  %54 = sext i32 %53 to i64
  %55 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %54) #9
  %56 = getelementptr inbounds %"class.siscone_spherical::CSphmomentum", ptr %55, i32 0, i32 3
  store i32 %50, ptr %56, align 4, !tbaa !29
  %57 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity", ptr %10, i32 0, i32 11
  %58 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity", ptr %10, i32 0, i32 10
  %59 = load i32, ptr %58, align 8, !tbaa !27
  %60 = sext i32 %59 to i64
  %61 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %57, i64 noundef %60) #9
  %62 = getelementptr inbounds %"class.siscone_spherical::CSph3vector", ptr %61, i32 0, i32 6
  call void @_ZN7siscone10Creference9randomizeEv(ptr noundef nonnull align 4 dereferenceable(12) %62)
  %63 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity", ptr %10, i32 0, i32 10
  %64 = load i32, ptr %63, align 8, !tbaa !27
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %63, align 8, !tbaa !27
  br label %66

66:                                               ; preds = %42
  %67 = load i32, ptr %5, align 4, !tbaa !28
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %5, align 4, !tbaa !28
  br label %36, !llvm.loop !31

69:                                               ; preds = %36
  %70 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity", ptr %10, i32 0, i32 10
  %71 = load i32, ptr %70, align 8, !tbaa !27
  %72 = mul nsw i32 2, %71
  %73 = sext i32 %72 to i64
  %74 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %73, i64 128)
  %75 = extractvalue { i64, i1 } %74, 1
  %76 = extractvalue { i64, i1 } %74, 0
  %77 = call { i64, i1 } @llvm.uadd.with.overflow.i64(i64 %76, i64 8)
  %78 = extractvalue { i64, i1 } %77, 1
  %79 = or i1 %75, %78
  %80 = extractvalue { i64, i1 } %77, 0
  %81 = select i1 %79, i64 -1, i64 %80
  %82 = call noalias noundef nonnull ptr @_Znam(i64 noundef %81) #11
  store i64 %73, ptr %82, align 16
  %83 = getelementptr inbounds i8, ptr %82, i64 8
  %84 = icmp eq i64 %73, 0
  br i1 %84, label %92, label %85

85:                                               ; preds = %69
  %86 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity_elm", ptr %83, i64 %73
  br label %87

87:                                               ; preds = %89, %85
  %88 = phi ptr [ %83, %85 ], [ %90, %89 ]
  invoke void @_ZN17siscone_spherical16CSphvicinity_elmC2Ev(ptr noundef nonnull align 8 dereferenceable(128) %88)
          to label %89 unwind label %139

89:                                               ; preds = %87
  %90 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity_elm", ptr %88, i64 1
  %91 = icmp eq ptr %90, %86
  br i1 %91, label %92, label %87

92:                                               ; preds = %89, %69
  %93 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity", ptr %10, i32 0, i32 13
  store ptr %83, ptr %93, align 8, !tbaa !9
  store i32 0, ptr %6, align 4, !tbaa !28
  store i32 0, ptr %5, align 4, !tbaa !28
  br label %94

94:                                               ; preds = %136, %92
  %95 = load i32, ptr %5, align 4, !tbaa !28
  %96 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity", ptr %10, i32 0, i32 10
  %97 = load i32, ptr %96, align 8, !tbaa !27
  %98 = icmp slt i32 %95, %97
  br i1 %98, label %99, label %149

99:                                               ; preds = %94
  %100 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity", ptr %10, i32 0, i32 11
  %101 = load i32, ptr %5, align 4, !tbaa !28
  %102 = sext i32 %101 to i64
  %103 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %100, i64 noundef %102) #9
  %104 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity", ptr %10, i32 0, i32 13
  %105 = load ptr, ptr %104, align 8, !tbaa !9
  %106 = load i32, ptr %6, align 4, !tbaa !28
  %107 = add nsw i32 %106, 1
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity_elm", ptr %105, i64 %108
  %110 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity_elm", ptr %109, i32 0, i32 0
  store ptr %103, ptr %110, align 8, !tbaa !33
  %111 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity", ptr %10, i32 0, i32 13
  %112 = load ptr, ptr %111, align 8, !tbaa !9
  %113 = load i32, ptr %6, align 4, !tbaa !28
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity_elm", ptr %112, i64 %114
  %116 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity_elm", ptr %115, i32 0, i32 0
  store ptr %103, ptr %116, align 8, !tbaa !33
  %117 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity", ptr %10, i32 0, i32 12
  %118 = load i32, ptr %5, align 4, !tbaa !28
  %119 = sext i32 %118 to i64
  %120 = call noundef nonnull align 1 dereferenceable(2) ptr @_ZNSt6vectorIN7siscone19Cvicinity_inclusionESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %117, i64 noundef %119) #9
  %121 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity", ptr %10, i32 0, i32 13
  %122 = load ptr, ptr %121, align 8, !tbaa !9
  %123 = load i32, ptr %6, align 4, !tbaa !28
  %124 = add nsw i32 %123, 1
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity_elm", ptr %122, i64 %125
  %127 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity_elm", ptr %126, i32 0, i32 1
  store ptr %120, ptr %127, align 8, !tbaa !42
  %128 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity", ptr %10, i32 0, i32 13
  %129 = load ptr, ptr %128, align 8, !tbaa !9
  %130 = load i32, ptr %6, align 4, !tbaa !28
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity_elm", ptr %129, i64 %131
  %133 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity_elm", ptr %132, i32 0, i32 1
  store ptr %120, ptr %133, align 8, !tbaa !42
  %134 = load i32, ptr %6, align 4, !tbaa !28
  %135 = add nsw i32 %134, 2
  store i32 %135, ptr %6, align 4, !tbaa !28
  br label %136

136:                                              ; preds = %99
  %137 = load i32, ptr %5, align 4, !tbaa !28
  %138 = add nsw i32 %137, 1
  store i32 %138, ptr %5, align 4, !tbaa !28
  br label %94, !llvm.loop !43

139:                                              ; preds = %87
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %8, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %9, align 4
  %143 = icmp eq ptr %83, %88
  br i1 %143, label %148, label %144

144:                                              ; preds = %144, %139
  %145 = phi ptr [ %88, %139 ], [ %146, %144 ]
  %146 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity_elm", ptr %145, i64 -1
  call void @_ZN17siscone_spherical16CSphvicinity_elmD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %146) #9
  %147 = icmp eq ptr %146, %83
  br i1 %147, label %148, label %144

148:                                              ; preds = %144, %139
  call void @_ZdaPvm(ptr noundef %82, i64 noundef %81) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #9
  br label %150

149:                                              ; preds = %94
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #9
  ret void

150:                                              ; preds = %148
  %151 = load ptr, ptr %8, align 8
  %152 = load i32, ptr %9, align 4
  %153 = insertvalue { ptr, i32 } poison, ptr %151, 0
  %154 = insertvalue { ptr, i32 } %153, i32 %152, 1
  resume { ptr, i32 } %154
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN17siscone_spherical16CSphvicinity_elmD2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7siscone19Cvicinity_inclusionC2Ev(ptr noundef nonnull align 1 dereferenceable(2)) unnamed_addr #4 align 2

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

declare void @_ZN7siscone10Creference9randomizeEv(ptr noundef nonnull align 4 dereferenceable(12)) #5

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.uadd.with.overflow.i64(i64, i64) #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN17siscone_spherical16CSphvicinity_elmC2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #8 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(2) ptr @_ZNSt6vectorIN7siscone19Cvicinity_inclusionESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #4 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 = { 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 #2 = { 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 #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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 #8 = { 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 #9 = { nounwind }
attributes #10 = { builtin nounwind }
attributes #11 = { builtin allocsize(0) }

!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, !6, i64 136}
!10 = !{!"_ZTSN17siscone_spherical12CSphvicinityE", !6, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !12, i64 80, !13, i64 88, !17, i64 112, !6, i64 136, !21, i64 144, !12, i64 168, !25, i64 176, !25, i64 240, !25, i64 304}
!11 = !{!"double", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTSSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIN17siscone_spherical12CSphmomentumESaIS1_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIN17siscone_spherical12CSphmomentumESaIS1_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN17siscone_spherical12CSphmomentumESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"_ZTSSt6vectorIN7siscone19Cvicinity_inclusionESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIN7siscone19Cvicinity_inclusionESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN7siscone19Cvicinity_inclusionESaIS1_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN7siscone19Cvicinity_inclusionESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSSt6vectorIPN17siscone_spherical16CSphvicinity_elmESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIPN17siscone_spherical16CSphvicinity_elmESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIPN17siscone_spherical16CSphvicinity_elmESaIS2_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIPN17siscone_spherical16CSphvicinity_elmESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSN17siscone_spherical11CSph3vectorE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !26, i64 48}
!26 = !{!"_ZTSN7siscone10CreferenceE", !7, i64 0}
!27 = !{!10, !12, i64 80}
!28 = !{!12, !12, i64 0}
!29 = !{!30, !12, i64 76}
!30 = !{!"_ZTSN17siscone_spherical12CSphmomentumE", !25, i64 0, !11, i64 64, !12, i64 72, !12, i64 76}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = !{!34, !6, i64 0}
!34 = !{!"_ZTSN17siscone_spherical16CSphvicinity_elmE", !6, i64 0, !6, i64 8, !25, i64 16, !11, i64 80, !35, i64 88, !11, i64 96, !36, i64 104}
!35 = !{!"bool", !7, i64 0}
!36 = !{!"_ZTSNSt7__cxx114listIPN17siscone_spherical16CSphvicinity_elmESaIS3_EEE", !37, i64 0}
!37 = !{!"_ZTSNSt7__cxx1110_List_baseIPN17siscone_spherical16CSphvicinity_elmESaIS3_EEE", !38, i64 0}
!38 = !{!"_ZTSNSt7__cxx1110_List_baseIPN17siscone_spherical16CSphvicinity_elmESaIS3_EE10_List_implE", !39, i64 0}
!39 = !{!"_ZTSNSt8__detail17_List_node_headerE", !40, i64 0, !41, i64 16}
!40 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!41 = !{!"long", !7, i64 0}
!42 = !{!34, !6, i64 8}
!43 = distinct !{!43, !32}


; 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.siscone::Cvicinity_inclusion" = type { i8, i8 }
%"class.siscone_spherical::CSphvicinity_elm" = type { ptr, ptr, %"class.siscone_spherical::CSph3vector", double, i8, double, %"class.std::__cxx11::list" }
%"class.siscone_spherical::CSph3vector" = type <{ double, double, double, double, double, double, %"class.siscone::Creference", [4 x i8] }>
%"class.siscone::Creference" = type { [3 x i32] }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<siscone_spherical::CSphvicinity_elm *, std::allocator<siscone_spherical::CSphvicinity_elm *>>::_List_impl" }
%"struct.std::__cxx11::_List_base<siscone_spherical::CSphvicinity_elm *, std::allocator<siscone_spherical::CSphvicinity_elm *>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN17siscone_spherical12CSphvicinity17set_particle_listERSt6vectorINS_12CSphmomentumESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(368) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.siscone::Cvicinity_inclusion", align 1
  %4 = getelementptr inbounds i8, ptr %0, i64 136
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %.not = icmp eq ptr %5, null
  br i1 %.not, label %16, label %6

6:                                                ; preds = %2
  %7 = getelementptr inbounds i8, ptr %5, i64 -8
  %8 = load i64, ptr %7, align 8
  %9 = icmp eq i64 %8, 0
  br i1 %9, label %.loopexit30, label %.preheader29.preheader

.preheader29.preheader:                           ; preds = %6
  %10 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity_elm", ptr %5, i64 %8
  br label %.preheader29

.preheader29:                                     ; preds = %.preheader29.preheader, %.preheader29
  %11 = phi ptr [ %12, %.preheader29 ], [ %10, %.preheader29.preheader ]
  %12 = getelementptr inbounds i8, ptr %11, i64 -128
  tail call void @_ZN17siscone_spherical16CSphvicinity_elmD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %12) #8
  %13 = icmp eq ptr %12, %5
  br i1 %13, label %.loopexit30, label %.preheader29

.loopexit30:                                      ; preds = %.preheader29, %6
  %14 = shl i64 %8, 7
  %15 = or disjoint i64 %14, 8
  tail call void @_ZdaPvm(ptr noundef nonnull %7, i64 noundef %15) #9
  br label %16

16:                                               ; preds = %.loopexit30, %2
  %17 = getelementptr inbounds i8, ptr %0, i64 144
  tail call void @_ZNSt6vectorIPN17siscone_spherical16CSphvicinity_elmESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  %18 = getelementptr inbounds i8, ptr %0, i64 80
  store i32 0, ptr %18, align 8, !tbaa !26
  %19 = getelementptr inbounds i8, ptr %0, i64 88
  tail call void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  %20 = getelementptr inbounds i8, ptr %0, i64 112
  tail call void @_ZNSt6vectorIN7siscone19Cvicinity_inclusionESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  %21 = tail call noundef i64 @_ZNKSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #8
  %22 = trunc i64 %21 to i32
  %23 = icmp sgt i32 %22, 0
  br i1 %23, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %16, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %16 ]
  %24 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv) #8
  call void @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(80) %24)
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %3) #8
  call void @_ZN7siscone19Cvicinity_inclusionC2Ev(ptr noundef nonnull align 1 dereferenceable(2) %3)
  call void @_ZNSt6vectorIN7siscone19Cvicinity_inclusionESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 1 dereferenceable(2) %3)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %3) #8
  %25 = load i32, ptr %18, align 8, !tbaa !26
  %26 = sext i32 %25 to i64
  %27 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %26) #8
  %28 = getelementptr inbounds i8, ptr %27, i64 76
  store i32 %25, ptr %28, align 4, !tbaa !27
  %29 = load i32, ptr %18, align 8, !tbaa !26
  %30 = sext i32 %29 to i64
  %31 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %30) #8
  %32 = getelementptr inbounds i8, ptr %31, i64 48
  call void @_ZN7siscone10Creference9randomizeEv(ptr noundef nonnull align 4 dereferenceable(12) %32)
  %33 = load i32, ptr %18, align 8, !tbaa !26
  %34 = add nsw i32 %33, 1
  store i32 %34, ptr %18, align 8, !tbaa !26
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %35 = call noundef i64 @_ZNKSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #8
  %sext = shl i64 %35, 32
  %36 = ashr exact i64 %sext, 32
  %37 = icmp slt i64 %indvars.iv.next, %36
  br i1 %37, label %.lr.ph, label %._crit_edge, !llvm.loop !29

._crit_edge:                                      ; preds = %.lr.ph, %16
  %38 = load i32, ptr %18, align 8, !tbaa !26
  %39 = shl nsw i32 %38, 1
  %40 = sext i32 %39 to i64
  %41 = icmp slt i32 %38, 0
  %42 = shl nsw i64 %40, 7
  %43 = or disjoint i64 %42, 8
  %44 = select i1 %41, i64 -1, i64 %43
  %45 = call noalias noundef nonnull ptr @_Znam(i64 noundef %44) #10
  store i64 %40, ptr %45, align 16
  %.ptr23 = getelementptr inbounds i8, ptr %45, i64 8
  %46 = icmp eq i32 %38, 0
  br i1 %46, label %.loopexit28.thread, label %47

.loopexit28.thread:                               ; preds = %._crit_edge
  store ptr %.ptr23, ptr %4, align 8, !tbaa !5
  br label %._crit_edge37

47:                                               ; preds = %._crit_edge
  %48 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity_elm", ptr %.ptr23, i64 %40
  br label %49

49:                                               ; preds = %50, %47
  %.idx = phi i64 [ 8, %47 ], [ %.add, %50 ]
  %.ptr.ptr = getelementptr inbounds i8, ptr %45, i64 %.idx
  invoke void @_ZN17siscone_spherical16CSphvicinity_elmC2Ev(ptr noundef nonnull align 8 dereferenceable(128) %.ptr.ptr)
          to label %50 unwind label %65

50:                                               ; preds = %49
  %.add = add nuw nsw i64 %.idx, 128
  %.ptr22 = getelementptr inbounds i8, ptr %45, i64 %.add
  %51 = icmp eq ptr %.ptr22, %48
  br i1 %51, label %.loopexit28, label %49

.loopexit28:                                      ; preds = %50
  %.pre = load i32, ptr %18, align 8, !tbaa !26
  %52 = icmp sgt i32 %.pre, 0
  store ptr %.ptr23, ptr %4, align 8, !tbaa !5
  br i1 %52, label %.lr.ph36, label %._crit_edge37

.lr.ph36:                                         ; preds = %.loopexit28, %.lr.ph36
  %indvars.iv42 = phi i64 [ %indvars.iv.next43, %.lr.ph36 ], [ 0, %.loopexit28 ]
  %indvars.iv40 = phi i64 [ %indvars.iv.next41, %.lr.ph36 ], [ 0, %.loopexit28 ]
  %53 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %indvars.iv40) #8
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = or disjoint i64 %indvars.iv42, 1
  %56 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity_elm", ptr %54, i64 %55
  store ptr %53, ptr %56, align 8, !tbaa !31
  %57 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity_elm", ptr %54, i64 %indvars.iv42
  store ptr %53, ptr %57, align 8, !tbaa !31
  %58 = call noundef nonnull align 1 dereferenceable(2) ptr @_ZNSt6vectorIN7siscone19Cvicinity_inclusionESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %indvars.iv40) #8
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity_elm", ptr %59, i64 %55, i32 1
  store ptr %58, ptr %60, align 8, !tbaa !40
  %61 = getelementptr inbounds %"class.siscone_spherical::CSphvicinity_elm", ptr %59, i64 %indvars.iv42, i32 1
  store ptr %58, ptr %61, align 8, !tbaa !40
  %indvars.iv.next43 = add nuw nsw i64 %indvars.iv42, 2
  %indvars.iv.next41 = add nuw nsw i64 %indvars.iv40, 1
  %62 = load i32, ptr %18, align 8, !tbaa !26
  %63 = sext i32 %62 to i64
  %64 = icmp slt i64 %indvars.iv.next41, %63
  br i1 %64, label %.lr.ph36, label %._crit_edge37, !llvm.loop !41

65:                                               ; preds = %49
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = icmp eq i64 %.idx, 8
  br i1 %67, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %65, %.preheader
  %.idx24 = phi i64 [ %.add25, %.preheader ], [ %.idx, %65 ]
  %.add25 = add nsw i64 %.idx24, -128
  %.ptr27 = getelementptr inbounds i8, ptr %45, i64 %.add25
  call void @_ZN17siscone_spherical16CSphvicinity_elmD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %.ptr27) #8
  %68 = icmp eq i64 %.add25, 8
  br i1 %68, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %65
  call void @_ZdaPvm(ptr noundef nonnull %45, i64 noundef %44) #9
  resume { ptr, i32 } %66

._crit_edge37:                                    ; preds = %.lr.ph36, %.loopexit28.thread, %.loopexit28
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN17siscone_spherical16CSphvicinity_elmD2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7siscone19Cvicinity_inclusionC2Ev(ptr noundef nonnull align 1 dereferenceable(2)) unnamed_addr #4 align 2

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

declare void @_ZN7siscone10Creference9randomizeEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN17siscone_spherical16CSphvicinity_elmC2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(2) ptr @_ZNSt6vectorIN7siscone19Cvicinity_inclusionESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #4 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 = { 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 #2 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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 = { 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { builtin nounwind }
attributes #10 = { builtin allocsize(0) }

!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 136}
!6 = !{!"_ZTSN17siscone_spherical12CSphvicinityE", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !11, i64 80, !12, i64 88, !16, i64 112, !7, i64 136, !20, i64 144, !11, i64 168, !24, i64 176, !24, i64 240, !24, i64 304}
!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 = !{!"_ZTSSt6vectorIN17siscone_spherical12CSphmomentumESaIS1_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIN17siscone_spherical12CSphmomentumESaIS1_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIN17siscone_spherical12CSphmomentumESaIS1_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIN17siscone_spherical12CSphmomentumESaIS1_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 = !{!"_ZTSSt6vectorIPN17siscone_spherical16CSphvicinity_elmESaIS2_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIPN17siscone_spherical16CSphvicinity_elmESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIPN17siscone_spherical16CSphvicinity_elmESaIS2_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIPN17siscone_spherical16CSphvicinity_elmESaIS2_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!24 = !{!"_ZTSN17siscone_spherical11CSph3vectorE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !25, i64 48}
!25 = !{!"_ZTSN7siscone10CreferenceE", !8, i64 0}
!26 = !{!6, !11, i64 80}
!27 = !{!28, !11, i64 76}
!28 = !{!"_ZTSN17siscone_spherical12CSphmomentumE", !24, i64 0, !10, i64 64, !11, i64 72, !11, i64 76}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!32, !7, i64 0}
!32 = !{!"_ZTSN17siscone_spherical16CSphvicinity_elmE", !7, i64 0, !7, i64 8, !24, i64 16, !10, i64 80, !33, i64 88, !10, i64 96, !34, i64 104}
!33 = !{!"bool", !8, i64 0}
!34 = !{!"_ZTSNSt7__cxx114listIPN17siscone_spherical16CSphvicinity_elmESaIS3_EEE", !35, i64 0}
!35 = !{!"_ZTSNSt7__cxx1110_List_baseIPN17siscone_spherical16CSphvicinity_elmESaIS3_EEE", !36, i64 0}
!36 = !{!"_ZTSNSt7__cxx1110_List_baseIPN17siscone_spherical16CSphvicinity_elmESaIS3_EE10_List_implE", !37, i64 0}
!37 = !{!"_ZTSNSt8__detail17_List_node_headerE", !38, i64 0, !39, i64 16}
!38 = !{!"_ZTSNSt8__detail15_List_node_baseE", !7, i64 0, !7, i64 8}
!39 = !{!"long", !8, i64 0}
!40 = !{!32, !7, i64 8}
!41 = distinct !{!41, !30}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass