; LLVM IR from SimoneTinella/Path-Planning-Robot-over-Voronoi-Diagram :: programma.ll (ZN7Voronoi19getPercorsoVoronoi2E5PuntoS0_)

; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Punto *, std::allocator<Punto *>>::_Vector_impl" }
%"struct.std::_Vector_base<Punto *, std::allocator<Punto *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Punto *, std::allocator<Punto *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Punto *, std::allocator<Punto *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Punto = type { double, double }
%"class.__gnu_cxx::__normal_iterator.16" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.15" = type { ptr }
%class.Voronoi = type { double, double, %"class.std::vector.0", %"class.std::vector", %"class.std::vector" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<Ostacolo *, std::allocator<Ostacolo *>>::_Vector_impl" }
%"struct.std::_Vector_base<Ostacolo *, std::allocator<Ostacolo *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Ostacolo *, std::allocator<Ostacolo *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Ostacolo *, std::allocator<Ostacolo *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN8Ostacolo8DistanzaE5PuntoS0_(double, double, double, double) #0 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Voronoi18getPercorsoVoronoiE5PuntoS0_PSt6vectorIPS0_SaIS2_EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(88), double, double, double, double, ptr noundef) #2 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7Voronoi19getPercorsoVoronoi2E5PuntoS0_(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 8 dereferenceable(88) %1, double %2, double %3, double %4, double %5) #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca %class.Punto, align 8
  %9 = alloca %class.Punto, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i1, align 1
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca double, align 8
  %21 = alloca %class.Punto, align 8
  %22 = alloca %class.Punto, align 8
  %23 = alloca double, align 8
  %24 = alloca %class.Punto, align 8
  %25 = alloca %class.Punto, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  %28 = alloca ptr, align 8
  %29 = alloca double, align 8
  %30 = alloca %class.Punto, align 8
  %31 = alloca %class.Punto, align 8
  %32 = alloca double, align 8
  %33 = alloca %class.Punto, align 8
  %34 = alloca %class.Punto, align 8
  %35 = alloca %"class.std::vector", align 8
  %36 = alloca %class.Punto, align 8
  %37 = alloca %class.Punto, align 8
  %38 = alloca %"class.std::vector", align 8
  %39 = alloca %"class.std::vector", align 8
  %40 = alloca %class.Punto, align 8
  %41 = alloca %class.Punto, align 8
  %42 = alloca %"class.__gnu_cxx::__normal_iterator.16", align 8
  %43 = alloca %"class.__gnu_cxx::__normal_iterator.15", align 8
  %44 = alloca %"class.__gnu_cxx::__normal_iterator.15", align 8
  %45 = alloca %"class.__gnu_cxx::__normal_iterator.15", align 8
  %46 = alloca %"class.__gnu_cxx::__normal_iterator.15", align 8
  store ptr %0, ptr %7, align 8
  %47 = getelementptr inbounds { double, double }, ptr %8, i32 0, i32 0
  store double %2, ptr %47, align 8
  %48 = getelementptr inbounds { double, double }, ptr %8, i32 0, i32 1
  store double %3, ptr %48, align 8
  %49 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 0
  store double %4, ptr %49, align 8
  %50 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 1
  store double %5, ptr %50, align 8
  store ptr %1, ptr %10, align 8, !tbaa !5
  %51 = load ptr, ptr %10, align 8
  store i1 false, ptr %11, align 1
  call void @_ZNSt6vectorIP5PuntoSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  store double 1.000000e+04, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  store double 1.000000e+04, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !11
  br label %52

52:                                               ; preds = %104, %6
  %53 = load i32, ptr %16, align 4, !tbaa !11
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds %class.Voronoi, ptr %51, i32 0, i32 4
  %56 = call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %55) #5
  %57 = icmp ult i64 %54, %56
  br i1 %57, label %59, label %58

58:                                               ; preds = %52
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %107

59:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %60 = getelementptr inbounds %class.Voronoi, ptr %51, i32 0, i32 4
  %61 = load i32, ptr %16, align 4, !tbaa !11
  %62 = sext i32 %61 to i64
  %63 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5PuntoSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef %62)
          to label %64 unwind label %92

64:                                               ; preds = %59
  %65 = load ptr, ptr %63, align 8, !tbaa !5
  store ptr %65, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %66 = load ptr, ptr %17, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 %66, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 %8, i64 16, i1 false), !tbaa.struct !13
  %67 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 0
  %68 = load double, ptr %67, align 8
  %69 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 1
  %70 = load double, ptr %69, align 8
  %71 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 0
  %72 = load double, ptr %71, align 8
  %73 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 1
  %74 = load double, ptr %73, align 8
  %75 = call noundef double @_ZN8Ostacolo8DistanzaE5PuntoS0_(double %68, double %70, double %72, double %74)
  store double %75, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %76 = load ptr, ptr %17, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %24, ptr align 8 %76, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %25, ptr align 8 %9, i64 16, i1 false), !tbaa.struct !13
  %77 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 0
  %78 = load double, ptr %77, align 8
  %79 = getelementptr inbounds { double, double }, ptr %24, i32 0, i32 1
  %80 = load double, ptr %79, align 8
  %81 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 0
  %82 = load double, ptr %81, align 8
  %83 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 1
  %84 = load double, ptr %83, align 8
  %85 = call noundef double @_ZN8Ostacolo8DistanzaE5PuntoS0_(double %78, double %80, double %82, double %84)
  store double %85, ptr %23, align 8, !tbaa !9
  %86 = load double, ptr %20, align 8, !tbaa !9
  %87 = load double, ptr %14, align 8, !tbaa !9
  %88 = fcmp olt double %86, %87
  br i1 %88, label %89, label %96

89:                                               ; preds = %64
  %90 = load double, ptr %20, align 8, !tbaa !9
  store double %90, ptr %14, align 8, !tbaa !9
  %91 = load ptr, ptr %17, align 8, !tbaa !5
  store ptr %91, ptr %12, align 8, !tbaa !5
  br label %96

92:                                               ; preds = %59
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %18, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %217

96:                                               ; preds = %89, %64
  %97 = load double, ptr %23, align 8, !tbaa !9
  %98 = load double, ptr %15, align 8, !tbaa !9
  %99 = fcmp olt double %97, %98
  br i1 %99, label %100, label %103

100:                                              ; preds = %96
  %101 = load double, ptr %23, align 8, !tbaa !9
  store double %101, ptr %15, align 8, !tbaa !9
  %102 = load ptr, ptr %17, align 8, !tbaa !5
  store ptr %102, ptr %13, align 8, !tbaa !5
  br label %103

103:                                              ; preds = %100, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br label %104

104:                                              ; preds = %103
  %105 = load i32, ptr %16, align 4, !tbaa !11
  %106 = add nsw i32 %105, 1
  store i32 %106, ptr %16, align 4, !tbaa !11
  br label %52, !llvm.loop !14

107:                                              ; preds = %58
  store double 1.000000e+04, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  store i32 0, ptr %27, align 4, !tbaa !11
  br label %108

108:                                              ; preds = %161, %107
  %109 = load i32, ptr %27, align 4, !tbaa !11
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds %class.Voronoi, ptr %51, i32 0, i32 4
  %112 = call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %111) #5
  %113 = icmp ult i64 %110, %112
  br i1 %113, label %115, label %114

114:                                              ; preds = %108
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  br label %164

115:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  %116 = getelementptr inbounds %class.Voronoi, ptr %51, i32 0, i32 4
  %117 = load i32, ptr %27, align 4, !tbaa !11
  %118 = sext i32 %117 to i64
  %119 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5PuntoSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %116, i64 noundef %118)
          to label %120 unwind label %156

120:                                              ; preds = %115
  %121 = load ptr, ptr %119, align 8, !tbaa !5
  store ptr %121, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %122 = load ptr, ptr %28, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %30, ptr align 8 %122, i64 16, i1 false), !tbaa.struct !13
  %123 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %31, ptr align 8 %123, i64 16, i1 false), !tbaa.struct !13
  %124 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 0
  %125 = load double, ptr %124, align 8
  %126 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 1
  %127 = load double, ptr %126, align 8
  %128 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 0
  %129 = load double, ptr %128, align 8
  %130 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 1
  %131 = load double, ptr %130, align 8
  %132 = call noundef double @_ZN8Ostacolo8DistanzaE5PuntoS0_(double %125, double %127, double %129, double %131)
  store double %132, ptr %29, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %133 = load ptr, ptr %28, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %33, ptr align 8 %133, i64 16, i1 false), !tbaa.struct !13
  %134 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %34, ptr align 8 %134, i64 16, i1 false), !tbaa.struct !13
  %135 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 0
  %136 = load double, ptr %135, align 8
  %137 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 1
  %138 = load double, ptr %137, align 8
  %139 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 0
  %140 = load double, ptr %139, align 8
  %141 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 1
  %142 = load double, ptr %141, align 8
  %143 = call noundef double @_ZN8Ostacolo8DistanzaE5PuntoS0_(double %136, double %138, double %140, double %142)
  store double %143, ptr %32, align 8, !tbaa !9
  %144 = load double, ptr %29, align 8, !tbaa !9
  %145 = load double, ptr %32, align 8, !tbaa !9
  %146 = fsub double %144, %145
  %147 = call double @llvm.fabs.f64(double %146)
  %148 = load double, ptr %14, align 8, !tbaa !9
  %149 = fcmp olt double %147, %148
  br i1 %149, label %150, label %160

150:                                              ; preds = %120
  %151 = load ptr, ptr %28, align 8, !tbaa !5
  store ptr %151, ptr %26, align 8, !tbaa !5
  %152 = load double, ptr %29, align 8, !tbaa !9
  %153 = load double, ptr %32, align 8, !tbaa !9
  %154 = fsub double %152, %153
  %155 = call double @llvm.fabs.f64(double %154)
  store double %155, ptr %14, align 8, !tbaa !9
  br label %160

156:                                              ; preds = %115
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %18, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  br label %216

160:                                              ; preds = %150, %120
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  br label %161

161:                                              ; preds = %160
  %162 = load i32, ptr %27, align 4, !tbaa !11
  %163 = add nsw i32 %162, 1
  store i32 %163, ptr %27, align 4, !tbaa !11
  br label %108, !llvm.loop !16

164:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %36, ptr align 8 %8, i64 16, i1 false), !tbaa.struct !13
  %165 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %37, ptr align 8 %165, i64 16, i1 false), !tbaa.struct !13
  %166 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 0
  %167 = load double, ptr %166, align 8
  %168 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 1
  %169 = load double, ptr %168, align 8
  %170 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 0
  %171 = load double, ptr %170, align 8
  %172 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 1
  %173 = load double, ptr %172, align 8
  invoke void @_ZN7Voronoi18getPercorsoVoronoiE5PuntoS0_PSt6vectorIPS0_SaIS2_EE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %35, ptr noundef nonnull align 8 dereferenceable(88) %51, double %167, double %169, double %171, double %173, ptr noundef null)
          to label %174 unwind label %203

174:                                              ; preds = %164
  %175 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIP5PuntoSaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %35) #5
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %38) #5
  call void @_ZNSt6vectorIP5PuntoSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %39) #5
  %176 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %40, ptr align 8 %176, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %41, ptr align 8 %9, i64 16, i1 false), !tbaa.struct !13
  %177 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 0
  %178 = load double, ptr %177, align 8
  %179 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 1
  %180 = load double, ptr %179, align 8
  %181 = getelementptr inbounds { double, double }, ptr %41, i32 0, i32 0
  %182 = load double, ptr %181, align 8
  %183 = getelementptr inbounds { double, double }, ptr %41, i32 0, i32 1
  %184 = load double, ptr %183, align 8
  invoke void @_ZN7Voronoi18getPercorsoVoronoiE5PuntoS0_PSt6vectorIPS0_SaIS2_EE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %39, ptr noundef nonnull align 8 dereferenceable(88) %51, double %178, double %180, double %182, double %184, ptr noundef null)
          to label %185 unwind label %207

185:                                              ; preds = %174
  %186 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIP5PuntoSaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 8 dereferenceable(24) %39) #5
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #5
  %187 = call ptr @_ZNSt6vectorIP5PuntoSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %188 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.15", ptr %43, i32 0, i32 0
  store ptr %187, ptr %188, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKP5PuntoSt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %43) #5
  %189 = call ptr @_ZNSt6vectorIP5PuntoSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #5
  %190 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.15", ptr %44, i32 0, i32 0
  store ptr %189, ptr %190, align 8
  %191 = call ptr @_ZNSt6vectorIP5PuntoSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #5
  %192 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.15", ptr %45, i32 0, i32 0
  store ptr %191, ptr %192, align 8
  %193 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.16", ptr %42, i32 0, i32 0
  %194 = load ptr, ptr %193, align 8
  %195 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.15", ptr %44, i32 0, i32 0
  %196 = load ptr, ptr %195, align 8
  %197 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.15", ptr %45, i32 0, i32 0
  %198 = load ptr, ptr %197, align 8
  %199 = invoke ptr @_ZNSt6vectorIP5PuntoSaIS1_EE6insertIN9__gnu_cxx17__normal_iteratorIPS1_S3_EEvEES8_NS6_IPKS1_S3_EET_SC_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %194, ptr %196, ptr %198)
          to label %200 unwind label %211

200:                                              ; preds = %185
  %201 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.15", ptr %46, i32 0, i32 0
  store ptr %199, ptr %201, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #5
  store i1 true, ptr %11, align 1
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  %202 = load i1, ptr %11, align 1
  br i1 %202, label %219, label %218

203:                                              ; preds = %164
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %18, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #5
  br label %216

207:                                              ; preds = %174
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %18, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #5
  br label %215

211:                                              ; preds = %185
  %212 = landingpad { ptr, i32 }
          cleanup
  %213 = extractvalue { ptr, i32 } %212, 0
  store ptr %213, ptr %18, align 8
  %214 = extractvalue { ptr, i32 } %212, 1
  store i32 %214, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #5
  br label %215

215:                                              ; preds = %211, %207
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #5
  br label %216

216:                                              ; preds = %215, %203, %156
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  br label %217

217:                                              ; preds = %216, %92
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  br label %220

218:                                              ; preds = %200
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  br label %219

219:                                              ; preds = %218, %200
  ret void

220:                                              ; preds = %217
  %221 = load ptr, ptr %18, align 8
  %222 = load i32, ptr %19, align 4
  %223 = insertvalue { ptr, i32 } poison, ptr %221, 0
  %224 = insertvalue { ptr, i32 } %223, i32 %222, 1
  resume { ptr, i32 } %224
}

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{i64 0, i64 8, !9, i64 8, i64 8, !9}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}


; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Punto *, std::allocator<Punto *>>::_Vector_impl" }
%"struct.std::_Vector_base<Punto *, std::allocator<Punto *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Punto *, std::allocator<Punto *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Punto *, std::allocator<Punto *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.16" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.15" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Voronoi18getPercorsoVoronoiE5PuntoS0_PSt6vectorIPS0_SaIS2_EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(88), double, double, double, double, ptr noundef) local_unnamed_addr #2 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7Voronoi19getPercorsoVoronoi2E5PuntoS0_(ptr dead_on_unwind noalias nonnull writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 8 dereferenceable(88) %1, double %2, double %3, double %4, double %5) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.16", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.15", align 8
  tail call void @_ZNSt6vectorIP5PuntoSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  %12 = getelementptr inbounds i8, ptr %1, i64 64
  %13 = tail call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #3
  %.not = icmp eq i64 %13, 0
  br i1 %.not, label %.preheader, label %.lr.ph

.preheader:                                       ; preds = %16, %6
  %.059.lcssa = phi ptr [ undef, %6 ], [ %.160, %16 ]
  %.0.lcssa = phi ptr [ undef, %6 ], [ %.1, %16 ]
  %14 = tail call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #3
  %.not96 = icmp eq i64 %14, 0
  br i1 %.not96, label %._crit_edge, label %.lr.ph95

.lr.ph95:                                         ; preds = %.preheader
  %.sroa.216.0..sroa_idx = getelementptr inbounds i8, ptr %.0.lcssa, i64 8
  %.sroa.211.0..sroa_idx = getelementptr inbounds i8, ptr %.059.lcssa, i64 8
  br label %26

.lr.ph:                                           ; preds = %6, %16
  %indvars.iv = phi i64 [ %indvars.iv.next, %16 ], [ 0, %6 ]
  %.090 = phi ptr [ %.1, %16 ], [ undef, %6 ]
  %.05989 = phi ptr [ %.160, %16 ], [ undef, %6 ]
  %.06188 = phi double [ %.162, %16 ], [ 1.000000e+04, %6 ]
  %.06387 = phi double [ %.164, %16 ], [ 1.000000e+04, %6 ]
  %15 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5PuntoSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv)
          to label %16 unwind label %24

16:                                               ; preds = %.lr.ph
  %17 = load ptr, ptr %15, align 8, !tbaa !5
  %.sroa.034.0.copyload = load double, ptr %17, align 8, !tbaa !9
  %.sroa.235.0..sroa_idx = getelementptr inbounds i8, ptr %17, i64 8
  %.sroa.235.0.copyload = load double, ptr %.sroa.235.0..sroa_idx, align 8, !tbaa !9
  %18 = tail call noundef double @_ZN8Ostacolo8DistanzaE5PuntoS0_(double %.sroa.034.0.copyload, double %.sroa.235.0.copyload, double %2, double %3)
  %.sroa.028.0.copyload = load double, ptr %17, align 8, !tbaa !9
  %.sroa.229.0.copyload = load double, ptr %.sroa.235.0..sroa_idx, align 8, !tbaa !9
  %19 = tail call noundef double @_ZN8Ostacolo8DistanzaE5PuntoS0_(double %.sroa.028.0.copyload, double %.sroa.229.0.copyload, double %4, double %5)
  %20 = fcmp olt double %18, %.06188
  %.162 = select i1 %20, double %18, double %.06188
  %.1 = select i1 %20, ptr %17, ptr %.090
  %21 = fcmp olt double %19, %.06387
  %.164 = select i1 %21, double %19, double %.06387
  %.160 = select i1 %21, ptr %17, ptr %.05989
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %22 = tail call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #3
  %23 = icmp ugt i64 %22, %indvars.iv.next
  br i1 %23, label %.lr.ph, label %.preheader, !llvm.loop !11

24:                                               ; preds = %.lr.ph
  %25 = landingpad { ptr, i32 }
          cleanup
  br label %53

._crit_edge:                                      ; preds = %28, %.preheader
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #3
  %.sroa.06.0.copyload = load double, ptr %.059.lcssa, align 8, !tbaa !9
  %.sroa.27.0..sroa_idx = getelementptr inbounds i8, ptr %.059.lcssa, i64 8
  %.sroa.27.0.copyload = load double, ptr %.sroa.27.0..sroa_idx, align 8, !tbaa !9
  invoke void @_ZN7Voronoi18getPercorsoVoronoiE5PuntoS0_PSt6vectorIPS0_SaIS2_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %7, ptr noundef nonnull align 8 dereferenceable(88) %1, double %2, double %3, double %.sroa.06.0.copyload, double %.sroa.27.0.copyload, ptr noundef null)
          to label %36 unwind label %46

26:                                               ; preds = %.lr.ph95, %28
  %indvars.iv98 = phi i64 [ 0, %.lr.ph95 ], [ %indvars.iv.next99, %28 ]
  %27 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5PuntoSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv98)
          to label %28 unwind label %34

28:                                               ; preds = %26
  %29 = load ptr, ptr %27, align 8, !tbaa !5
  %.sroa.017.0.copyload = load double, ptr %29, align 8, !tbaa !9
  %.sroa.218.0..sroa_idx = getelementptr inbounds i8, ptr %29, i64 8
  %.sroa.218.0.copyload = load double, ptr %.sroa.218.0..sroa_idx, align 8, !tbaa !9
  %.sroa.015.0.copyload = load double, ptr %.0.lcssa, align 8, !tbaa !9
  %.sroa.216.0.copyload = load double, ptr %.sroa.216.0..sroa_idx, align 8, !tbaa !9
  %30 = tail call noundef double @_ZN8Ostacolo8DistanzaE5PuntoS0_(double %.sroa.017.0.copyload, double %.sroa.218.0.copyload, double %.sroa.015.0.copyload, double %.sroa.216.0.copyload)
  %.sroa.012.0.copyload = load double, ptr %29, align 8, !tbaa !9
  %.sroa.213.0.copyload = load double, ptr %.sroa.218.0..sroa_idx, align 8, !tbaa !9
  %.sroa.010.0.copyload = load double, ptr %.059.lcssa, align 8, !tbaa !9
  %.sroa.211.0.copyload = load double, ptr %.sroa.211.0..sroa_idx, align 8, !tbaa !9
  %31 = tail call noundef double @_ZN8Ostacolo8DistanzaE5PuntoS0_(double %.sroa.012.0.copyload, double %.sroa.213.0.copyload, double %.sroa.010.0.copyload, double %.sroa.211.0.copyload)
  %indvars.iv.next99 = add nuw nsw i64 %indvars.iv98, 1
  %32 = tail call noundef i64 @_ZNKSt6vectorIP5PuntoSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #3
  %33 = icmp ugt i64 %32, %indvars.iv.next99
  br i1 %33, label %26, label %._crit_edge, !llvm.loop !13

34:                                               ; preds = %26
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %53

36:                                               ; preds = %._crit_edge
  %37 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIP5PuntoSaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %7) #3
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #3
  call void @_ZNSt6vectorIP5PuntoSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #3
  %.sroa.04.0.copyload = load double, ptr %.059.lcssa, align 8, !tbaa !9
  %.sroa.25.0.copyload = load double, ptr %.sroa.27.0..sroa_idx, align 8, !tbaa !9
  invoke void @_ZN7Voronoi18getPercorsoVoronoiE5PuntoS0_PSt6vectorIPS0_SaIS2_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %9, ptr noundef nonnull align 8 dereferenceable(88) %1, double %.sroa.04.0.copyload, double %.sroa.25.0.copyload, double %4, double %5, ptr noundef null)
          to label %38 unwind label %48

38:                                               ; preds = %36
  %39 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIP5PuntoSaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %9) #3
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
  %40 = call ptr @_ZNSt6vectorIP5PuntoSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  store ptr %40, ptr %11, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKP5PuntoSt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #3
  %41 = call ptr @_ZNSt6vectorIP5PuntoSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #3
  %42 = call ptr @_ZNSt6vectorIP5PuntoSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #3
  %43 = load ptr, ptr %10, align 8
  %44 = invoke ptr @_ZNSt6vectorIP5PuntoSaIS1_EE6insertIN9__gnu_cxx17__normal_iteratorIPS1_S3_EEvEES8_NS6_IPKS1_S3_EET_SC_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %43, ptr %41, ptr %42)
          to label %45 unwind label %50

45:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #3
  ret void

46:                                               ; preds = %._crit_edge
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #3
  br label %53

48:                                               ; preds = %36
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #3
  br label %52

50:                                               ; preds = %38
  %51 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
  br label %52

52:                                               ; preds = %50, %48
  %.pn = phi { ptr, i32 } [ %51, %50 ], [ %49, %48 ]
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #3
  br label %53

53:                                               ; preds = %34, %46, %52, %24
  %.pn81 = phi { ptr, i32 } [ %25, %24 ], [ %35, %34 ], [ %.pn, %52 ], [ %47, %46 ]
  call void @_ZNSt6vectorIP5PuntoSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  resume { ptr, i32 } %.pn81
}

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 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 = { 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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


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