; LLVM IR from asydorchuk/loba2d :: example (delaunay_graph_example)

; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::mersenne_twister_engine" = type { [624 x i64], i64 }
%"class.boost::polygon::voronoi_builder" = type { [8 x i8], %"class.std::vector", %"class.__gnu_cxx::__normal_iterator", %"class.std::priority_queue", %"class.boost::polygon::detail::ordered_queue", %"class.std::map", %"class.boost::polygon::detail::voronoi_predicates<boost::polygon::detail::voronoi_ctype_traits<int32>>::circle_formation_predicate", i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<boost::polygon::detail::site_event<int>, std::allocator<boost::polygon::detail::site_event<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<boost::polygon::detail::site_event<int>, std::allocator<boost::polygon::detail::site_event<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<boost::polygon::detail::site_event<int>, std::allocator<boost::polygon::detail::site_event<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<boost::polygon::detail::site_event<int>, std::allocator<boost::polygon::detail::site_event<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::priority_queue" = type <{ %"class.std::vector.0", [8 x i8] }>
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::pair<boost::polygon::detail::point_2d<int>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>, std::allocator<std::pair<boost::polygon::detail::point_2d<int>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<boost::polygon::detail::point_2d<int>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>, std::allocator<std::pair<boost::polygon::detail::point_2d<int>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<boost::polygon::detail::point_2d<int>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>, std::allocator<std::pair<boost::polygon::detail::point_2d<int>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<boost::polygon::detail::point_2d<int>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>, std::allocator<std::pair<boost::polygon::detail::point_2d<int>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.boost::polygon::detail::ordered_queue" = type { %"class.std::priority_queue.5", %"class.std::__cxx11::list" }
%"class.std::priority_queue.5" = type <{ %"class.std::vector.6", [8 x i8] }>
%"class.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = type { %"struct.std::_Vector_base<std::_List_iterator<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>, std::allocator<std::_List_iterator<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::_List_iterator<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>, std::allocator<std::_List_iterator<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::_List_iterator<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>, std::allocator<std::_List_iterator<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::_List_iterator<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>, std::allocator<std::_List_iterator<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>, std::allocator<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>>::_List_impl" }
%"struct.std::__cxx11::_List_base<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>, std::allocator<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>>::_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.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>, std::_Select1st<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>, boost::polygon::detail::voronoi_predicates<boost::polygon::detail::voronoi_ctype_traits<int32>>::node_comparison_predicate<boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>, std::_Select1st<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>, boost::polygon::detail::voronoi_predicates<boost::polygon::detail::voronoi_ctype_traits<int32>>::node_comparison_predicate<boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.boost::polygon::detail::voronoi_predicates<boost::polygon::detail::voronoi_ctype_traits<int32>>::circle_formation_predicate" = type { [4 x i8], %"class.boost::polygon::detail::voronoi_predicates<boost::polygon::detail::voronoi_ctype_traits<int32>>::lazy_circle_formation_functor" }
%"class.boost::polygon::detail::voronoi_predicates<boost::polygon::detail::voronoi_ctype_traits<int32>>::lazy_circle_formation_functor" = type { %"class.boost::polygon::detail::voronoi_predicates<boost::polygon::detail::voronoi_ctype_traits<int32>>::mp_circle_formation_functor", [4 x i8] }
%"class.boost::polygon::detail::voronoi_predicates<boost::polygon::detail::voronoi_ctype_traits<int32>>::mp_circle_formation_functor" = type { %"class.boost::polygon::detail::robust_sqrt_expr", [4 x i8] }
%"class.boost::polygon::detail::robust_sqrt_expr" = type <{ [5 x %"class.boost::polygon::detail::extended_int"], [5 x %"class.boost::polygon::detail::extended_int"], [4 x i8] }>
%"class.boost::polygon::detail::extended_int" = type { [64 x i32], i32 }
%"class.loba2d::delaunay_graph" = type { %"class.std::vector.18", %"class.std::vector.23", %"class.std::vector.28" }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<loba2d::delaunay_graph_vertex, std::allocator<loba2d::delaunay_graph_vertex>>::_Vector_impl" }
%"struct.std::_Vector_base<loba2d::delaunay_graph_vertex, std::allocator<loba2d::delaunay_graph_vertex>>::_Vector_impl" = type { %"struct.std::_Vector_base<loba2d::delaunay_graph_vertex, std::allocator<loba2d::delaunay_graph_vertex>>::_Vector_impl_data" }
%"struct.std::_Vector_base<loba2d::delaunay_graph_vertex, std::allocator<loba2d::delaunay_graph_vertex>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<loba2d::delaunay_graph_triangle, std::allocator<loba2d::delaunay_graph_triangle>>::_Vector_impl" }
%"struct.std::_Vector_base<loba2d::delaunay_graph_triangle, std::allocator<loba2d::delaunay_graph_triangle>>::_Vector_impl" = type { %"struct.std::_Vector_base<loba2d::delaunay_graph_triangle, std::allocator<loba2d::delaunay_graph_triangle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<loba2d::delaunay_graph_triangle, std::allocator<loba2d::delaunay_graph_triangle>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<loba2d::delaunay_graph_edge, std::allocator<loba2d::delaunay_graph_edge>>::_Vector_impl" }
%"struct.std::_Vector_base<loba2d::delaunay_graph_edge, std::allocator<loba2d::delaunay_graph_edge>>::_Vector_impl" = type { %"struct.std::_Vector_base<loba2d::delaunay_graph_edge, std::allocator<loba2d::delaunay_graph_edge>>::_Vector_impl_data" }
%"struct.std::_Vector_base<loba2d::delaunay_graph_edge, std::allocator<loba2d::delaunay_graph_edge>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { i32, i32 }
%"class.__gnu_cxx::__normal_iterator.38" = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [32 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.std::mersenne_twister_engine", align 8
  %3 = alloca %"class.boost::polygon::voronoi_builder", align 8
  %4 = alloca %"class.loba2d::delaunay_graph", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::vector.33", align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"struct.std::pair", align 4
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 5000, ptr %2) #8
  call void @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEC2Em(ptr noundef nonnull align 8 dereferenceable(5000) %2, i64 noundef 27)
  call void @llvm.lifetime.start.p0(i64 2800, ptr %3) #8
  call void @_ZN5boost7polygon15voronoi_builderIiNS0_6detail20voronoi_ctype_traitsIiEENS2_18voronoi_predicatesIS4_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(2800) %3)
  call void @llvm.lifetime.start.p0(i64 72, ptr %4) #8
  invoke void @_ZN6loba2d14delaunay_graphC2Ev(ptr noundef nonnull align 8 dereferenceable(72) %4)
          to label %20 unwind label %25

20:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %21

21:                                               ; preds = %43, %20
  %22 = load i32, ptr %8, align 4, !tbaa !5
  %23 = icmp slt i32 %22, 1000000
  br i1 %23, label %29, label %24

24:                                               ; preds = %21
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  br label %60

25:                                               ; preds = %0
  %26 = landingpad { ptr, i32 }
          cleanup
  %27 = extractvalue { ptr, i32 } %26, 0
  store ptr %27, ptr %5, align 8
  %28 = extractvalue { ptr, i32 } %26, 1
  store i32 %28, ptr %6, align 4
  br label %203

29:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  %30 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEclEv(ptr noundef nonnull align 8 dereferenceable(5000) %2)
          to label %31 unwind label %46

31:                                               ; preds = %29
  %32 = and i64 %30, 1073741823
  %33 = trunc i64 %32 to i32
  store i32 %33, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  %34 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEclEv(ptr noundef nonnull align 8 dereferenceable(5000) %2)
          to label %35 unwind label %50

35:                                               ; preds = %31
  %36 = and i64 %34, 1073741823
  %37 = trunc i64 %36 to i32
  store i32 %37, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %38 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %39 unwind label %54

39:                                               ; preds = %35
  store i64 %38, ptr %11, align 4
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(8) %11)
          to label %40 unwind label %54

40:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  %41 = invoke noundef i64 @_ZN5boost7polygon15voronoi_builderIiNS0_6detail20voronoi_ctype_traitsIiEENS2_18voronoi_predicatesIS4_EEE12insert_pointERKiS9_(ptr noundef nonnull align 8 dereferenceable(2800) %3, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %42 unwind label %50

42:                                               ; preds = %40
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  br label %43

43:                                               ; preds = %42
  %44 = load i32, ptr %8, align 4, !tbaa !5
  %45 = add nsw i32 %44, 1
  store i32 %45, ptr %8, align 4, !tbaa !5
  br label %21, !llvm.loop !9

46:                                               ; preds = %29
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %5, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %6, align 4
  br label %59

50:                                               ; preds = %40, %31
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %5, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %6, align 4
  br label %58

54:                                               ; preds = %39, %35
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %5, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br label %58

58:                                               ; preds = %54, %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  br label %59

59:                                               ; preds = %58, %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  br label %202

60:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %61 = call i64 @clock() #8
  %62 = sitofp i64 %61 to double
  store double %62, ptr %12, align 8, !tbaa !11
  invoke void @_ZN5boost7polygon15voronoi_builderIiNS0_6detail20voronoi_ctype_traitsIiEENS2_18voronoi_predicatesIS4_EEE9constructIN6loba2d14delaunay_graphEEEvPT_(ptr noundef nonnull align 8 dereferenceable(2800) %3, ptr noundef %4)
          to label %63 unwind label %124

63:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %64 = call i64 @clock() #8
  %65 = sitofp i64 %64 to double
  %66 = load double, ptr %12, align 8, !tbaa !11
  %67 = fsub double %65, %66
  %68 = fdiv double %67, 1.000000e+06
  store double %68, ptr %13, align 8, !tbaa !11
  %69 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %70 unwind label %128

70:                                               ; preds = %63
  %71 = load double, ptr %13, align 8, !tbaa !11
  %72 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %69, double noundef %71)
          to label %73 unwind label %128

73:                                               ; preds = %70
  %74 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef @.str.1)
          to label %75 unwind label %128

75:                                               ; preds = %73
  %76 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %74, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %77 unwind label %128

77:                                               ; preds = %75
  %78 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
          to label %79 unwind label %128

79:                                               ; preds = %77
  %80 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6loba2d14delaunay_graph8verticesEv(ptr noundef nonnull align 8 dereferenceable(72) %4)
          to label %81 unwind label %128

81:                                               ; preds = %79
  %82 = call noundef i64 @_ZNKSt6vectorIN6loba2d21delaunay_graph_vertexESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %80) #8
  %83 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %78, i64 noundef %82)
          to label %84 unwind label %128

84:                                               ; preds = %81
  %85 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %83, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %86 unwind label %128

86:                                               ; preds = %84
  %87 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %88 unwind label %128

88:                                               ; preds = %86
  %89 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6loba2d14delaunay_graph9trianglesEv(ptr noundef nonnull align 8 dereferenceable(72) %4)
          to label %90 unwind label %128

90:                                               ; preds = %88
  %91 = call noundef i64 @_ZNKSt6vectorIN6loba2d23delaunay_graph_triangleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %89) #8
  %92 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %87, i64 noundef %91)
          to label %93 unwind label %128

93:                                               ; preds = %90
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %92, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %95 unwind label %128

95:                                               ; preds = %93
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.4)
          to label %97 unwind label %128

97:                                               ; preds = %95
  %98 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6loba2d14delaunay_graph5edgesEv(ptr noundef nonnull align 8 dereferenceable(72) %4)
          to label %99 unwind label %128

99:                                               ; preds = %97
  %100 = call noundef i64 @_ZNKSt6vectorIN6loba2d19delaunay_graph_edgeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %98) #8
  %101 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %96, i64 noundef %100)
          to label %102 unwind label %128

102:                                              ; preds = %99
  %103 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %101, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %104 unwind label %128

104:                                              ; preds = %102
  %105 = invoke noundef i64 @_ZNK6loba2d14delaunay_graph13num_trianglesEv(ptr noundef nonnull align 8 dereferenceable(72) %4)
          to label %106 unwind label %128

106:                                              ; preds = %104
  %107 = icmp ule i64 %105, 10
  br i1 %107, label %108, label %198

108:                                              ; preds = %106
  %109 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.5)
          to label %110 unwind label %128

110:                                              ; preds = %108
  %111 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %109, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %112 unwind label %128

112:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %113 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6loba2d14delaunay_graph9trianglesEv(ptr noundef nonnull align 8 dereferenceable(72) %4)
          to label %114 unwind label %132

114:                                              ; preds = %112
  %115 = call ptr @_ZNKSt6vectorIN6loba2d23delaunay_graph_triangleESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %113) #8
  %116 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.38", ptr %14, i32 0, i32 0
  store ptr %115, ptr %116, align 8
  br label %117

117:                                              ; preds = %193, %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %118 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6loba2d14delaunay_graph9trianglesEv(ptr noundef nonnull align 8 dereferenceable(72) %4)
          to label %119 unwind label %136

119:                                              ; preds = %117
  %120 = call ptr @_ZNKSt6vectorIN6loba2d23delaunay_graph_triangleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %118) #8
  %121 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.38", ptr %15, i32 0, i32 0
  store ptr %120, ptr %121, align 8
  %122 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN6loba2d23delaunay_graph_triangleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br i1 %122, label %140, label %123

123:                                              ; preds = %119
  store i32 5, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %197

124:                                              ; preds = %60
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %5, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %6, align 4
  br label %201

128:                                              ; preds = %110, %108, %104, %102, %99, %97, %95, %93, %90, %88, %86, %84, %81, %79, %77, %75, %73, %70, %63
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %5, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %6, align 4
  br label %200

132:                                              ; preds = %112
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %5, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %6, align 4
  br label %196

136:                                              ; preds = %117
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %5, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %196

140:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %141 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN6loba2d23delaunay_graph_triangleESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  %142 = invoke noundef ptr @_ZNK6loba2d23delaunay_graph_triangle13incident_edgeEv(ptr noundef nonnull align 8 dereferenceable(8) %141)
          to label %143 unwind label %150

143:                                              ; preds = %140
  store ptr %142, ptr %17, align 8, !tbaa !13
  %144 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.6)
          to label %145 unwind label %150

145:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %146

146:                                              ; preds = %181, %145
  %147 = load i32, ptr %18, align 4, !tbaa !5
  %148 = icmp slt i32 %147, 3
  br i1 %148, label %154, label %149

149:                                              ; preds = %146
  store i32 8, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %188

150:                                              ; preds = %190, %188, %143, %140
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %5, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %6, align 4
  br label %195

154:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %155 = load ptr, ptr %17, align 8, !tbaa !13
  %156 = invoke noundef ptr @_ZNK6loba2d19delaunay_graph_edge7vertex0Ev(ptr noundef nonnull align 8 dereferenceable(24) %155)
          to label %157 unwind label %184

157:                                              ; preds = %154
  %158 = invoke noundef i64 @_ZNK6loba2d21delaunay_graph_vertex12source_indexEv(ptr noundef nonnull align 8 dereferenceable(16) %156)
          to label %159 unwind label %184

159:                                              ; preds = %157
  store i64 %158, ptr %19, align 8, !tbaa !15
  %160 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.7)
          to label %161 unwind label %184

161:                                              ; preds = %159
  %162 = load i64, ptr %19, align 8, !tbaa !15
  %163 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %162) #8
  %164 = getelementptr inbounds %"struct.std::pair", ptr %163, i32 0, i32 0
  %165 = load i32, ptr %164, align 4, !tbaa !17
  %166 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %160, i32 noundef %165)
          to label %167 unwind label %184

167:                                              ; preds = %161
  %168 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %166, ptr noundef @.str.8)
          to label %169 unwind label %184

169:                                              ; preds = %167
  %170 = load i64, ptr %19, align 8, !tbaa !15
  %171 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %170) #8
  %172 = getelementptr inbounds %"struct.std::pair", ptr %171, i32 0, i32 1
  %173 = load i32, ptr %172, align 4, !tbaa !19
  %174 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %168, i32 noundef %173)
          to label %175 unwind label %184

175:                                              ; preds = %169
  %176 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %174, ptr noundef @.str.9)
          to label %177 unwind label %184

177:                                              ; preds = %175
  %178 = load ptr, ptr %17, align 8, !tbaa !13
  %179 = invoke noundef ptr @_ZNK6loba2d19delaunay_graph_edge4nextEv(ptr noundef nonnull align 8 dereferenceable(24) %178)
          to label %180 unwind label %184

180:                                              ; preds = %177
  store ptr %179, ptr %17, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %181

181:                                              ; preds = %180
  %182 = load i32, ptr %18, align 4, !tbaa !5
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr %18, align 4, !tbaa !5
  br label %146, !llvm.loop !20

184:                                              ; preds = %177, %175, %169, %167, %161, %159, %157, %154
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %5, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %195

188:                                              ; preds = %149
  %189 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.10)
          to label %190 unwind label %150

190:                                              ; preds = %188
  %191 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %189, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %192 unwind label %150

192:                                              ; preds = %190
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %193

193:                                              ; preds = %192
  %194 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN6loba2d23delaunay_graph_triangleESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  br label %117, !llvm.loop !21

195:                                              ; preds = %184, %150
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %196

196:                                              ; preds = %195, %136, %132
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %200

197:                                              ; preds = %123
  br label %198

198:                                              ; preds = %197, %106
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #8
  call void @_ZN6loba2d14delaunay_graphD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %4) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr %4) #8
  call void @_ZN5boost7polygon15voronoi_builderIiNS0_6detail20voronoi_ctype_traitsIiEENS2_18voronoi_predicatesIS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(2800) %3) #8
  call void @llvm.lifetime.end.p0(i64 2800, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 5000, ptr %2) #8
  %199 = load i32, ptr %1, align 4
  ret i32 %199

200:                                              ; preds = %196, %128
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %201

201:                                              ; preds = %200, %124
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %202

202:                                              ; preds = %201, %59
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #8
  call void @_ZN6loba2d14delaunay_graphD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %4) #8
  br label %203

203:                                              ; preds = %202, %25
  call void @llvm.lifetime.end.p0(i64 72, ptr %4) #8
  call void @_ZN5boost7polygon15voronoi_builderIiNS0_6detail20voronoi_ctype_traitsIiEENS2_18voronoi_predicatesIS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(2800) %3) #8
  call void @llvm.lifetime.end.p0(i64 2800, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 5000, ptr %2) #8
  br label %204

204:                                              ; preds = %203
  %205 = load ptr, ptr %5, align 8
  %206 = load i32, ptr %6, align 4
  %207 = insertvalue { ptr, i32 } poison, ptr %205, 0
  %208 = insertvalue { ptr, i32 } %207, i32 %206, 1
  resume { ptr, i32 } %208
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEC2Em(ptr noundef nonnull align 8 dereferenceable(5000), i64 noundef) unnamed_addr #2 align 2

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #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
declare dso_local noundef i64 @_ZN5boost7polygon15voronoi_builderIiNS0_6detail20voronoi_ctype_traitsIiEENS2_18voronoi_predicatesIS4_EEE12insert_pointERKiS9_(ptr noundef nonnull align 8 dereferenceable(2800), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

; Function Attrs: nounwind
declare i64 @clock() #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK6loba2d14delaunay_graph13num_trianglesEv(ptr noundef nonnull align 8 dereferenceable(72)) #3 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK6loba2d21delaunay_graph_vertex12source_indexEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #7

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6loba2d14delaunay_graphD2Ev(ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5boost7polygon15voronoi_builderIiNS0_6detail20voronoi_ctype_traitsIiEENS2_18voronoi_predicatesIS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(2800)) unnamed_addr #6 align 2

attributes #0 = { mustprogress norecurse 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 #6 = { 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 #7 = { "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 }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!18, !6, i64 0}
!18 = !{!"_ZTSSt4pairIiiE", !6, i64 0, !6, i64 4}
!19 = !{!18, !6, i64 4}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}


; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::mersenne_twister_engine" = type { [624 x i64], i64 }
%"class.boost::polygon::voronoi_builder" = type { [8 x i8], %"class.std::vector", %"class.__gnu_cxx::__normal_iterator", %"class.std::priority_queue", %"class.boost::polygon::detail::ordered_queue", %"class.std::map", %"class.boost::polygon::detail::voronoi_predicates<boost::polygon::detail::voronoi_ctype_traits<int32>>::circle_formation_predicate", i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<boost::polygon::detail::site_event<int>, std::allocator<boost::polygon::detail::site_event<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<boost::polygon::detail::site_event<int>, std::allocator<boost::polygon::detail::site_event<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<boost::polygon::detail::site_event<int>, std::allocator<boost::polygon::detail::site_event<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<boost::polygon::detail::site_event<int>, std::allocator<boost::polygon::detail::site_event<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::priority_queue" = type <{ %"class.std::vector.0", [8 x i8] }>
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::pair<boost::polygon::detail::point_2d<int>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>, std::allocator<std::pair<boost::polygon::detail::point_2d<int>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<boost::polygon::detail::point_2d<int>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>, std::allocator<std::pair<boost::polygon::detail::point_2d<int>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<boost::polygon::detail::point_2d<int>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>, std::allocator<std::pair<boost::polygon::detail::point_2d<int>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<boost::polygon::detail::point_2d<int>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>, std::allocator<std::pair<boost::polygon::detail::point_2d<int>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.boost::polygon::detail::ordered_queue" = type { %"class.std::priority_queue.5", %"class.std::__cxx11::list" }
%"class.std::priority_queue.5" = type <{ %"class.std::vector.6", [8 x i8] }>
%"class.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = type { %"struct.std::_Vector_base<std::_List_iterator<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>, std::allocator<std::_List_iterator<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::_List_iterator<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>, std::allocator<std::_List_iterator<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::_List_iterator<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>, std::allocator<std::_List_iterator<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::_List_iterator<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>, std::allocator<std::_List_iterator<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>, std::allocator<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>>::_List_impl" }
%"struct.std::__cxx11::_List_base<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>, std::allocator<std::pair<boost::polygon::detail::circle_event<double>, std::_Rb_tree_iterator<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>>>>::_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.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>, std::_Select1st<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>, boost::polygon::detail::voronoi_predicates<boost::polygon::detail::voronoi_ctype_traits<int32>>::node_comparison_predicate<boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>, std::_Select1st<std::pair<const boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>, boost::polygon::detail::beach_line_node_data<void, boost::polygon::detail::circle_event<double>>>>, boost::polygon::detail::voronoi_predicates<boost::polygon::detail::voronoi_ctype_traits<int32>>::node_comparison_predicate<boost::polygon::detail::beach_line_node_key<boost::polygon::detail::site_event<int>>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.boost::polygon::detail::voronoi_predicates<boost::polygon::detail::voronoi_ctype_traits<int32>>::circle_formation_predicate" = type { [4 x i8], %"class.boost::polygon::detail::voronoi_predicates<boost::polygon::detail::voronoi_ctype_traits<int32>>::lazy_circle_formation_functor" }
%"class.boost::polygon::detail::voronoi_predicates<boost::polygon::detail::voronoi_ctype_traits<int32>>::lazy_circle_formation_functor" = type { %"class.boost::polygon::detail::voronoi_predicates<boost::polygon::detail::voronoi_ctype_traits<int32>>::mp_circle_formation_functor", [4 x i8] }
%"class.boost::polygon::detail::voronoi_predicates<boost::polygon::detail::voronoi_ctype_traits<int32>>::mp_circle_formation_functor" = type { %"class.boost::polygon::detail::robust_sqrt_expr", [4 x i8] }
%"class.boost::polygon::detail::robust_sqrt_expr" = type <{ [5 x %"class.boost::polygon::detail::extended_int"], [5 x %"class.boost::polygon::detail::extended_int"], [4 x i8] }>
%"class.boost::polygon::detail::extended_int" = type { [64 x i32], i32 }
%"class.loba2d::delaunay_graph" = type { %"class.std::vector.18", %"class.std::vector.23", %"class.std::vector.28" }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<loba2d::delaunay_graph_vertex, std::allocator<loba2d::delaunay_graph_vertex>>::_Vector_impl" }
%"struct.std::_Vector_base<loba2d::delaunay_graph_vertex, std::allocator<loba2d::delaunay_graph_vertex>>::_Vector_impl" = type { %"struct.std::_Vector_base<loba2d::delaunay_graph_vertex, std::allocator<loba2d::delaunay_graph_vertex>>::_Vector_impl_data" }
%"struct.std::_Vector_base<loba2d::delaunay_graph_vertex, std::allocator<loba2d::delaunay_graph_vertex>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<loba2d::delaunay_graph_triangle, std::allocator<loba2d::delaunay_graph_triangle>>::_Vector_impl" }
%"struct.std::_Vector_base<loba2d::delaunay_graph_triangle, std::allocator<loba2d::delaunay_graph_triangle>>::_Vector_impl" = type { %"struct.std::_Vector_base<loba2d::delaunay_graph_triangle, std::allocator<loba2d::delaunay_graph_triangle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<loba2d::delaunay_graph_triangle, std::allocator<loba2d::delaunay_graph_triangle>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<loba2d::delaunay_graph_edge, std::allocator<loba2d::delaunay_graph_edge>>::_Vector_impl" }
%"struct.std::_Vector_base<loba2d::delaunay_graph_edge, std::allocator<loba2d::delaunay_graph_edge>>::_Vector_impl" = type { %"struct.std::_Vector_base<loba2d::delaunay_graph_edge, std::allocator<loba2d::delaunay_graph_edge>>::_Vector_impl_data" }
%"struct.std::_Vector_base<loba2d::delaunay_graph_edge, std::allocator<loba2d::delaunay_graph_edge>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { i32, i32 }
%"class.__gnu_cxx::__normal_iterator.38" = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [32 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::mersenne_twister_engine", align 8
  %2 = alloca %"class.boost::polygon::voronoi_builder", align 8
  %3 = alloca %"class.loba2d::delaunay_graph", align 8
  %4 = alloca %"class.std::vector.33", align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %"struct.std::pair", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  call void @llvm.lifetime.start.p0(i64 5000, ptr nonnull %1) #8
  call void @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEC2Em(ptr noundef nonnull align 8 dereferenceable(5000) %1, i64 noundef 27)
  call void @llvm.lifetime.start.p0(i64 2800, ptr nonnull %2) #8
  call void @_ZN5boost7polygon15voronoi_builderIiNS0_6detail20voronoi_ctype_traitsIiEENS2_18voronoi_predicatesIS4_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(2800) %2)
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %3) #8
  call void @_ZN6loba2d14delaunay_graphC2Ev(ptr noundef nonnull align 8 dereferenceable(72) %3)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  br label %12

10:                                               ; preds = %25
  %11 = call i64 @clock() #8
  invoke void @_ZN5boost7polygon15voronoi_builderIiNS0_6detail20voronoi_ctype_traitsIiEENS2_18voronoi_predicatesIS4_EEE9constructIN6loba2d14delaunay_graphEEEvPT_(ptr noundef nonnull align 8 dereferenceable(2800) %2, ptr noundef nonnull %3)
          to label %35 unwind label %85

12:                                               ; preds = %0, %25
  %.02028 = phi i32 [ 0, %0 ], [ %26, %25 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #8
  %13 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEclEv(ptr noundef nonnull align 8 dereferenceable(5000) %1)
          to label %14 unwind label %27

14:                                               ; preds = %12
  %15 = trunc i64 %13 to i32
  %16 = and i32 %15, 1073741823
  store i32 %16, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #8
  %17 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEclEv(ptr noundef nonnull align 8 dereferenceable(5000) %1)
          to label %18 unwind label %29

18:                                               ; preds = %14
  %19 = trunc i64 %17 to i32
  %20 = and i32 %19, 1073741823
  store i32 %20, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  %21 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %22 unwind label %31

22:                                               ; preds = %18
  store i64 %21, ptr %7, align 8
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 4 dereferenceable(8) %7)
          to label %23 unwind label %31

23:                                               ; preds = %22
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  %24 = invoke noundef i64 @_ZN5boost7polygon15voronoi_builderIiNS0_6detail20voronoi_ctype_traitsIiEENS2_18voronoi_predicatesIS4_EEE12insert_pointERKiS9_(ptr noundef nonnull align 8 dereferenceable(2800) %2, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %25 unwind label %29

25:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  %26 = add nuw nsw i32 %.02028, 1
  %exitcond.not = icmp eq i32 %26, 1000000
  br i1 %exitcond.not, label %10, label %12, !llvm.loop !9

27:                                               ; preds = %12
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %34

29:                                               ; preds = %23, %14
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %33

31:                                               ; preds = %22, %18
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  br label %33

33:                                               ; preds = %31, %29
  %.pn24 = phi { ptr, i32 } [ %30, %29 ], [ %32, %31 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #8
  br label %34

34:                                               ; preds = %33, %27
  %.pn24.pn = phi { ptr, i32 } [ %.pn24, %33 ], [ %28, %27 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  br label %158

35:                                               ; preds = %10
  %36 = call i64 @clock() #8
  %37 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
          to label %38 unwind label %87

38:                                               ; preds = %35
  %39 = sitofp i64 %36 to double
  %40 = sitofp i64 %11 to double
  %41 = fsub double %39, %40
  %42 = fdiv double %41, 1.000000e+06
  %43 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %37, double noundef %42)
          to label %44 unwind label %87

44:                                               ; preds = %38
  %45 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull @.str.1)
          to label %46 unwind label %87

46:                                               ; preds = %44
  %47 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %48 unwind label %87

48:                                               ; preds = %46
  %49 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.2)
          to label %50 unwind label %87

50:                                               ; preds = %48
  %51 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6loba2d14delaunay_graph8verticesEv(ptr noundef nonnull align 8 dereferenceable(72) %3)
  %52 = call noundef i64 @_ZNKSt6vectorIN6loba2d21delaunay_graph_vertexESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #8
  %53 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %49, i64 noundef %52)
          to label %54 unwind label %87

54:                                               ; preds = %50
  %55 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %56 unwind label %87

56:                                               ; preds = %54
  %57 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
          to label %58 unwind label %87

58:                                               ; preds = %56
  %59 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6loba2d14delaunay_graph9trianglesEv(ptr noundef nonnull align 8 dereferenceable(72) %3)
  %60 = call noundef i64 @_ZNKSt6vectorIN6loba2d23delaunay_graph_triangleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #8
  %61 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %57, i64 noundef %60)
          to label %62 unwind label %87

62:                                               ; preds = %58
  %63 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %64 unwind label %87

64:                                               ; preds = %62
  %65 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.4)
          to label %66 unwind label %87

66:                                               ; preds = %64
  %67 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6loba2d14delaunay_graph5edgesEv(ptr noundef nonnull align 8 dereferenceable(72) %3)
  %68 = call noundef i64 @_ZNKSt6vectorIN6loba2d19delaunay_graph_edgeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %67) #8
  %69 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %65, i64 noundef %68)
          to label %70 unwind label %87

70:                                               ; preds = %66
  %71 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %72 unwind label %87

72:                                               ; preds = %70
  %73 = call noundef i64 @_ZNK6loba2d14delaunay_graph13num_trianglesEv(ptr noundef nonnull align 8 dereferenceable(72) %3)
  %74 = icmp ult i64 %73, 11
  br i1 %74, label %75, label %157

75:                                               ; preds = %72
  %76 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.5)
          to label %77 unwind label %87

77:                                               ; preds = %75
  %78 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %79 unwind label %87

79:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  %80 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6loba2d14delaunay_graph9trianglesEv(ptr noundef nonnull align 8 dereferenceable(72) %3)
  %81 = call ptr @_ZNKSt6vectorIN6loba2d23delaunay_graph_triangleESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %80) #8
  store ptr %81, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  %82 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6loba2d14delaunay_graph9trianglesEv(ptr noundef nonnull align 8 dereferenceable(72) %3)
  %83 = call ptr @_ZNKSt6vectorIN6loba2d23delaunay_graph_triangleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %82) #8
  store ptr %83, ptr %9, align 8
  %84 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN6loba2d23delaunay_graph_triangleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  br i1 %84, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %151, %79
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  br label %157

85:                                               ; preds = %10
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %158

87:                                               ; preds = %77, %75, %70, %66, %64, %62, %58, %56, %54, %50, %48, %46, %44, %38, %35
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %158

.lr.ph:                                           ; preds = %79, %151
  %89 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN6loba2d23delaunay_graph_triangleESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  %90 = call noundef ptr @_ZNK6loba2d23delaunay_graph_triangle13incident_edgeEv(ptr noundef nonnull align 8 dereferenceable(8) %89)
  %91 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.6)
          to label %.preheader.preheader unwind label %95

.preheader.preheader:                             ; preds = %.lr.ph
  %92 = call noundef ptr @_ZNK6loba2d19delaunay_graph_edge7vertex0Ev(ptr noundef nonnull align 8 dereferenceable(24) %90)
  %93 = call noundef i64 @_ZNK6loba2d21delaunay_graph_vertex12source_indexEv(ptr noundef nonnull align 8 dereferenceable(16) %92)
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.7)
          to label %97 unwind label %147

95:                                               ; preds = %149, %144, %.lr.ph
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %156

97:                                               ; preds = %.preheader.preheader
  %98 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %93) #8
  %99 = load i32, ptr %98, align 4, !tbaa !11
  %100 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %94, i32 noundef %99)
          to label %101 unwind label %147

101:                                              ; preds = %97
  %102 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %100, ptr noundef nonnull @.str.8)
          to label %103 unwind label %147

103:                                              ; preds = %101
  %104 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %93) #8
  %105 = getelementptr inbounds i8, ptr %104, i64 4
  %106 = load i32, ptr %105, align 4, !tbaa !13
  %107 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %102, i32 noundef %106)
          to label %108 unwind label %147

108:                                              ; preds = %103
  %109 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %107, ptr noundef nonnull @.str.9)
          to label %.preheader.1 unwind label %147

.preheader.1:                                     ; preds = %108
  %110 = call noundef ptr @_ZNK6loba2d19delaunay_graph_edge4nextEv(ptr noundef nonnull align 8 dereferenceable(24) %90)
  %111 = call noundef ptr @_ZNK6loba2d19delaunay_graph_edge7vertex0Ev(ptr noundef nonnull align 8 dereferenceable(24) %110)
  %112 = call noundef i64 @_ZNK6loba2d21delaunay_graph_vertex12source_indexEv(ptr noundef nonnull align 8 dereferenceable(16) %111)
  %113 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.7)
          to label %114 unwind label %147

114:                                              ; preds = %.preheader.1
  %115 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %112) #8
  %116 = load i32, ptr %115, align 4, !tbaa !11
  %117 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %113, i32 noundef %116)
          to label %118 unwind label %147

118:                                              ; preds = %114
  %119 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %117, ptr noundef nonnull @.str.8)
          to label %120 unwind label %147

120:                                              ; preds = %118
  %121 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %112) #8
  %122 = getelementptr inbounds i8, ptr %121, i64 4
  %123 = load i32, ptr %122, align 4, !tbaa !13
  %124 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %119, i32 noundef %123)
          to label %125 unwind label %147

125:                                              ; preds = %120
  %126 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %124, ptr noundef nonnull @.str.9)
          to label %.preheader.2 unwind label %147

.preheader.2:                                     ; preds = %125
  %127 = call noundef ptr @_ZNK6loba2d19delaunay_graph_edge4nextEv(ptr noundef nonnull align 8 dereferenceable(24) %110)
  %128 = call noundef ptr @_ZNK6loba2d19delaunay_graph_edge7vertex0Ev(ptr noundef nonnull align 8 dereferenceable(24) %127)
  %129 = call noundef i64 @_ZNK6loba2d21delaunay_graph_vertex12source_indexEv(ptr noundef nonnull align 8 dereferenceable(16) %128)
  %130 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.7)
          to label %131 unwind label %147

131:                                              ; preds = %.preheader.2
  %132 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %129) #8
  %133 = load i32, ptr %132, align 4, !tbaa !11
  %134 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %130, i32 noundef %133)
          to label %135 unwind label %147

135:                                              ; preds = %131
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %134, ptr noundef nonnull @.str.8)
          to label %137 unwind label %147

137:                                              ; preds = %135
  %138 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %129) #8
  %139 = getelementptr inbounds i8, ptr %138, i64 4
  %140 = load i32, ptr %139, align 4, !tbaa !13
  %141 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %136, i32 noundef %140)
          to label %142 unwind label %147

142:                                              ; preds = %137
  %143 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %141, ptr noundef nonnull @.str.9)
          to label %144 unwind label %147

144:                                              ; preds = %142
  %145 = call noundef ptr @_ZNK6loba2d19delaunay_graph_edge4nextEv(ptr noundef nonnull align 8 dereferenceable(24) %127)
  %146 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.10)
          to label %149 unwind label %95

147:                                              ; preds = %142, %137, %135, %131, %.preheader.2, %125, %120, %118, %114, %.preheader.1, %108, %103, %101, %97, %.preheader.preheader
  %148 = landingpad { ptr, i32 }
          cleanup
  br label %156

149:                                              ; preds = %144
  %150 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %146, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %151 unwind label %95

151:                                              ; preds = %149
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN6loba2d23delaunay_graph_triangleESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  %153 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6loba2d14delaunay_graph9trianglesEv(ptr noundef nonnull align 8 dereferenceable(72) %3)
  %154 = call ptr @_ZNKSt6vectorIN6loba2d23delaunay_graph_triangleESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %153) #8
  store ptr %154, ptr %9, align 8
  %155 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN6loba2d23delaunay_graph_triangleESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  br i1 %155, label %.lr.ph, label %._crit_edge, !llvm.loop !14

156:                                              ; preds = %147, %95
  %.pn = phi { ptr, i32 } [ %148, %147 ], [ %96, %95 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  br label %158

157:                                              ; preds = %._crit_edge, %72
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  call void @_ZN6loba2d14delaunay_graphD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %3) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %3) #8
  call void @_ZN5boost7polygon15voronoi_builderIiNS0_6detail20voronoi_ctype_traitsIiEENS2_18voronoi_predicatesIS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(2800) %2) #8
  call void @llvm.lifetime.end.p0(i64 2800, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %1) #8
  ret i32 0

158:                                              ; preds = %85, %156, %87, %34
  %.pn24.pn.pn = phi { ptr, i32 } [ %.pn24.pn, %34 ], [ %86, %85 ], [ %.pn, %156 ], [ %88, %87 ]
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  call void @_ZN6loba2d14delaunay_graphD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %3) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %3) #8
  call void @_ZN5boost7polygon15voronoi_builderIiNS0_6detail20voronoi_ctype_traitsIiEENS2_18voronoi_predicatesIS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(2800) %2) #8
  call void @llvm.lifetime.end.p0(i64 2800, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %1) #8
  resume { ptr, i32 } %.pn24.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEC2Em(ptr noundef nonnull align 8 dereferenceable(5000), i64 noundef) unnamed_addr #2 align 2

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #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 uwtable
declare dso_local noundef i64 @_ZN5boost7polygon15voronoi_builderIiNS0_6detail20voronoi_ctype_traitsIiEENS2_18voronoi_predicatesIS4_EEE12insert_pointERKiS9_(ptr noundef nonnull align 8 dereferenceable(2800), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: nounwind
declare i64 @clock() local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK6loba2d14delaunay_graph13num_trianglesEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #3 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK6loba2d21delaunay_graph_vertex12source_indexEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #7

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6loba2d14delaunay_graphD2Ev(ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5boost7polygon15voronoi_builderIiNS0_6detail20voronoi_ctype_traitsIiEENS2_18voronoi_predicatesIS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(2800)) unnamed_addr #6 align 2

attributes #0 = { mustprogress norecurse 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 #6 = { 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 #7 = { "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 }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSSt4pairIiiE", !6, i64 0, !6, i64 4}
!13 = !{!12, !6, i64 4}
!14 = distinct !{!14, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass