; LLVM IR from tommasocerruti/algolab-2024 :: src/week11/worldcup (solution)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::vector.114" = type { %"struct.std::_Vector_base.115" }
%"struct.std::_Vector_base.115" = type { %"struct.std::_Vector_base<CGAL::Circle_2<CGAL::Epick>, std::allocator<CGAL::Circle_2<CGAL::Epick>>>::_Vector_impl" }
%"struct.std::_Vector_base<CGAL::Circle_2<CGAL::Epick>, std::allocator<CGAL::Circle_2<CGAL::Epick>>>::_Vector_impl" = type { %"struct.std::_Vector_base<CGAL::Circle_2<CGAL::Epick>, std::allocator<CGAL::Circle_2<CGAL::Epick>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<CGAL::Circle_2<CGAL::Epick>, std::allocator<CGAL::Circle_2<CGAL::Epick>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.CGAL::Circle_2" = type { %"class.CGAL::CircleC2" }
%"class.CGAL::CircleC2" = type { %"class.boost::tuples::tuple" }
%"class.boost::tuples::tuple" = type { %"struct.boost::tuples::cons" }
%"struct.boost::tuples::cons" = type { %"class.CGAL::Point_2", %"struct.boost::tuples::cons.119" }
%"class.CGAL::Point_2" = type { %"class.CGAL::PointC2" }
%"class.CGAL::PointC2" = type { %"class.CGAL::Vector_2" }
%"class.CGAL::Vector_2" = type { %"class.CGAL::VectorC2" }
%"class.CGAL::VectorC2" = type { %"struct.std::array" }
%"struct.std::array" = type { [2 x double] }
%"struct.boost::tuples::cons.119" = type <{ double, %"struct.boost::tuples::cons.120", [4 x i8] }>
%"struct.boost::tuples::cons.120" = type { i32 }
%"class.std::vector.126" = type { %"struct.std::_Vector_base.127" }
%"struct.std::_Vector_base.127" = type { %"struct.std::_Vector_base<std::unordered_set<int>, std::allocator<std::unordered_set<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unordered_set<int>, std::allocator<std::unordered_set<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unordered_set<int>, std::allocator<std::unordered_set<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unordered_set<int>, std::allocator<std::unordered_set<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.128" = type { i8 }
%"struct.std::pair" = type <{ %"struct.std::__detail::_Node_iterator", i8, [7 x i8] }>
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%struct.contour_t = type { i32, i32, i64 }
%struct.beer_t = type { i32, i32, i32, i32 }
%struct.stadium_t = type { i32, i32, i32, i32 }

@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@c = external dso_local global i32, align 4

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z12update_costsRSt6vectorI6beer_tSaIS0_EERS_I9stadium_tSaIS4_EERS_IS_IiSaIiEESaIS9_EERS_I9contour_tSaISD_EE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3) #2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.std::vector.114", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"class.CGAL::Circle_2", align 8
  %14 = alloca %"class.CGAL::Point_2", align 8
  %15 = alloca double, align 8
  %16 = alloca %"class.std::vector.126", align 8
  %17 = alloca %"class.std::allocator.128", align 1
  %18 = alloca %"class.std::vector.126", align 8
  %19 = alloca %"class.std::allocator.128", align 1
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %"class.CGAL::Point_2", align 8
  %23 = alloca i32, align 4
  %24 = alloca %"struct.std::pair", align 8
  %25 = alloca i32, align 4
  %26 = alloca %"class.CGAL::Point_2", align 8
  %27 = alloca i32, align 4
  %28 = alloca %"struct.std::pair", align 8
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca ptr, align 8
  %33 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %34 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %35 = alloca i32, align 4
  %36 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %37 = alloca %"struct.std::__detail::_Node_iterator", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #3
  call void @_ZNSt6vectorIN4CGAL8Circle_2INS0_5EpickEEESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #3
  %38 = load i32, ptr @c, align 4, !tbaa !9
  %39 = sext i32 %38 to i64
  invoke void @_ZNSt6vectorIN4CGAL8Circle_2INS0_5EpickEEESaIS3_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %39)
          to label %40 unwind label %46

40:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %72, %40
  %42 = load i32, ptr %12, align 4, !tbaa !9
  %43 = load i32, ptr @c, align 4, !tbaa !9
  %44 = icmp slt i32 %42, %43
  br i1 %44, label %50, label %45

45:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  br label %84

46:                                               ; preds = %4
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %10, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %11, align 4
  br label %304

50:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #3
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = load i32, ptr %12, align 4, !tbaa !9
  %53 = sext i32 %52 to i64
  %54 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI9contour_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %53) #3
  %55 = getelementptr inbounds %struct.contour_t, ptr %54, i32 0, i32 0
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = load i32, ptr %12, align 4, !tbaa !9
  %58 = sext i32 %57 to i64
  %59 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI9contour_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %58) #3
  %60 = getelementptr inbounds %struct.contour_t, ptr %59, i32 0, i32 1
  invoke void @_ZN4CGAL7Point_2INS_5EpickEEC2IiiEERKT_RKT0_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(4) %55, ptr noundef nonnull align 4 dereferenceable(4) %60)
          to label %61 unwind label %75

61:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = load i32, ptr %12, align 4, !tbaa !9
  %64 = sext i32 %63 to i64
  %65 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI9contour_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %64) #3
  %66 = getelementptr inbounds %struct.contour_t, ptr %65, i32 0, i32 2
  %67 = load i64, ptr %66, align 8, !tbaa !11
  %68 = sitofp i64 %67 to double
  store double %68, ptr %15, align 8, !tbaa !14
  invoke void @_ZN4CGAL8Circle_2INS_5EpickEEC2ERKNS_7Point_2IS1_EERKd(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %69 unwind label %79

69:                                               ; preds = %61
  %70 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN4CGAL8Circle_2INS0_5EpickEEESaIS3_EE12emplace_backIJS3_EEERS3_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %71 unwind label %79

71:                                               ; preds = %69
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #3
  br label %72

72:                                               ; preds = %71
  %73 = load i32, ptr %12, align 4, !tbaa !9
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %12, align 4, !tbaa !9
  br label %41, !llvm.loop !16

75:                                               ; preds = %50
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %10, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %11, align 4
  br label %83

79:                                               ; preds = %69, %61
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %10, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  br label %83

83:                                               ; preds = %79, %75
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  br label %304

84:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #3
  %85 = load i32, ptr @n, align 4, !tbaa !9
  %86 = sext i32 %85 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #3
  call void @_ZNSaISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #3
  invoke void @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EEC2EmRKS7_(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %86, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %87 unwind label %96

87:                                               ; preds = %84
  call void @_ZNSt15__new_allocatorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #3
  %88 = load i32, ptr @m, align 4, !tbaa !9
  %89 = sext i32 %88 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #3
  call void @_ZNSaISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #3
  invoke void @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EEC2EmRKS7_(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %89, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %90 unwind label %100

90:                                               ; preds = %87
  call void @_ZNSt15__new_allocatorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %91

91:                                               ; preds = %150, %90
  %92 = load i32, ptr %20, align 4, !tbaa !9
  %93 = load i32, ptr @n, align 4, !tbaa !9
  %94 = icmp slt i32 %92, %93
  br i1 %94, label %104, label %95

95:                                               ; preds = %91
  store i32 5, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  br label %154

96:                                               ; preds = %84
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %10, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %11, align 4
  call void @_ZNSt15__new_allocatorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #3
  br label %303

100:                                              ; preds = %87
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %10, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %11, align 4
  call void @_ZNSt15__new_allocatorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #3
  br label %302

104:                                              ; preds = %91
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #3
  %105 = load ptr, ptr %5, align 8, !tbaa !5
  %106 = load i32, ptr %20, align 4, !tbaa !9
  %107 = sext i32 %106 to i64
  %108 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6beer_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %107) #3
  %109 = getelementptr inbounds %struct.beer_t, ptr %108, i32 0, i32 0
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = load i32, ptr %20, align 4, !tbaa !9
  %112 = sext i32 %111 to i64
  %113 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6beer_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %110, i64 noundef %112) #3
  %114 = getelementptr inbounds %struct.beer_t, ptr %113, i32 0, i32 1
  invoke void @_ZN4CGAL7Point_2INS_5EpickEEC2IiiEERKT_RKT0_(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 4 dereferenceable(4) %109, ptr noundef nonnull align 4 dereferenceable(4) %114)
          to label %115 unwind label %121

115:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #3
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %116

116:                                              ; preds = %146, %115
  %117 = load i32, ptr %23, align 4, !tbaa !9
  %118 = load i32, ptr @c, align 4, !tbaa !9
  %119 = icmp slt i32 %117, %118
  br i1 %119, label %125, label %120

120:                                              ; preds = %116
  store i32 8, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #3
  br label %149

121:                                              ; preds = %104
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %10, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %11, align 4
  br label %153

125:                                              ; preds = %116
  %126 = load i32, ptr %23, align 4, !tbaa !9
  %127 = sext i32 %126 to i64
  %128 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN4CGAL8Circle_2INS0_5EpickEEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %127) #3
  %129 = invoke noundef zeroext i1 @_ZNK4CGAL8Circle_2INS_5EpickEE19has_on_bounded_sideERKNS_7Point_2IS1_EE(ptr noundef nonnull align 8 dereferenceable(32) %128, ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %130 unwind label %141

130:                                              ; preds = %125
  br i1 %129, label %131, label %145

131:                                              ; preds = %130
  %132 = load i32, ptr %20, align 4, !tbaa !9
  %133 = sext i32 %132 to i64
  %134 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %133) #3
  %135 = invoke { ptr, i8 } @_ZNSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(56) %134, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %136 unwind label %141

136:                                              ; preds = %131
  %137 = getelementptr inbounds { ptr, i8 }, ptr %24, i32 0, i32 0
  %138 = extractvalue { ptr, i8 } %135, 0
  store ptr %138, ptr %137, align 8
  %139 = getelementptr inbounds { ptr, i8 }, ptr %24, i32 0, i32 1
  %140 = extractvalue { ptr, i8 } %135, 1
  store i8 %140, ptr %139, align 8
  br label %145

141:                                              ; preds = %131, %125
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %10, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #3
  br label %153

145:                                              ; preds = %136, %130
  br label %146

146:                                              ; preds = %145
  %147 = load i32, ptr %23, align 4, !tbaa !9
  %148 = add nsw i32 %147, 1
  store i32 %148, ptr %23, align 4, !tbaa !9
  br label %116, !llvm.loop !18

149:                                              ; preds = %120
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #3
  br label %150

150:                                              ; preds = %149
  %151 = load i32, ptr %20, align 4, !tbaa !9
  %152 = add nsw i32 %151, 1
  store i32 %152, ptr %20, align 4, !tbaa !9
  br label %91, !llvm.loop !19

153:                                              ; preds = %141, %121
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  br label %301

154:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #3
  store i32 0, ptr %25, align 4, !tbaa !9
  br label %155

155:                                              ; preds = %206, %154
  %156 = load i32, ptr %25, align 4, !tbaa !9
  %157 = load i32, ptr @m, align 4, !tbaa !9
  %158 = icmp slt i32 %156, %157
  br i1 %158, label %160, label %159

159:                                              ; preds = %155
  store i32 11, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #3
  br label %210

160:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #3
  %161 = load ptr, ptr %6, align 8, !tbaa !5
  %162 = load i32, ptr %25, align 4, !tbaa !9
  %163 = sext i32 %162 to i64
  %164 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI9stadium_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %161, i64 noundef %163) #3
  %165 = getelementptr inbounds %struct.stadium_t, ptr %164, i32 0, i32 0
  %166 = load ptr, ptr %6, align 8, !tbaa !5
  %167 = load i32, ptr %25, align 4, !tbaa !9
  %168 = sext i32 %167 to i64
  %169 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI9stadium_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %166, i64 noundef %168) #3
  %170 = getelementptr inbounds %struct.stadium_t, ptr %169, i32 0, i32 1
  invoke void @_ZN4CGAL7Point_2INS_5EpickEEC2IiiEERKT_RKT0_(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 4 dereferenceable(4) %165, ptr noundef nonnull align 4 dereferenceable(4) %170)
          to label %171 unwind label %177

171:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #3
  store i32 0, ptr %27, align 4, !tbaa !9
  br label %172

172:                                              ; preds = %202, %171
  %173 = load i32, ptr %27, align 4, !tbaa !9
  %174 = load i32, ptr @c, align 4, !tbaa !9
  %175 = icmp slt i32 %173, %174
  br i1 %175, label %181, label %176

176:                                              ; preds = %172
  store i32 14, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #3
  br label %205

177:                                              ; preds = %160
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %10, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %11, align 4
  br label %209

181:                                              ; preds = %172
  %182 = load i32, ptr %27, align 4, !tbaa !9
  %183 = sext i32 %182 to i64
  %184 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN4CGAL8Circle_2INS0_5EpickEEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %183) #3
  %185 = invoke noundef zeroext i1 @_ZNK4CGAL8Circle_2INS_5EpickEE19has_on_bounded_sideERKNS_7Point_2IS1_EE(ptr noundef nonnull align 8 dereferenceable(32) %184, ptr noundef nonnull align 8 dereferenceable(16) %26)
          to label %186 unwind label %197

186:                                              ; preds = %181
  br i1 %185, label %187, label %201

187:                                              ; preds = %186
  %188 = load i32, ptr %25, align 4, !tbaa !9
  %189 = sext i32 %188 to i64
  %190 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %189) #3
  %191 = invoke { ptr, i8 } @_ZNSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(56) %190, ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %192 unwind label %197

192:                                              ; preds = %187
  %193 = getelementptr inbounds { ptr, i8 }, ptr %28, i32 0, i32 0
  %194 = extractvalue { ptr, i8 } %191, 0
  store ptr %194, ptr %193, align 8
  %195 = getelementptr inbounds { ptr, i8 }, ptr %28, i32 0, i32 1
  %196 = extractvalue { ptr, i8 } %191, 1
  store i8 %196, ptr %195, align 8
  br label %201

197:                                              ; preds = %187, %181
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %10, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #3
  br label %209

201:                                              ; preds = %192, %186
  br label %202

202:                                              ; preds = %201
  %203 = load i32, ptr %27, align 4, !tbaa !9
  %204 = add nsw i32 %203, 1
  store i32 %204, ptr %27, align 4, !tbaa !9
  br label %172, !llvm.loop !20

205:                                              ; preds = %176
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #3
  br label %206

206:                                              ; preds = %205
  %207 = load i32, ptr %25, align 4, !tbaa !9
  %208 = add nsw i32 %207, 1
  store i32 %208, ptr %25, align 4, !tbaa !9
  br label %155, !llvm.loop !21

209:                                              ; preds = %197, %177
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #3
  br label %301

210:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #3
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %211

211:                                              ; preds = %297, %210
  %212 = load i32, ptr %29, align 4, !tbaa !9
  %213 = load i32, ptr @n, align 4, !tbaa !9
  %214 = icmp slt i32 %212, %213
  br i1 %214, label %216, label %215

215:                                              ; preds = %211
  store i32 17, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #3
  br label %300

216:                                              ; preds = %211
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #3
  store i32 0, ptr %30, align 4, !tbaa !9
  br label %217

217:                                              ; preds = %293, %216
  %218 = load i32, ptr %30, align 4, !tbaa !9
  %219 = load i32, ptr @m, align 4, !tbaa !9
  %220 = icmp slt i32 %218, %219
  br i1 %220, label %222, label %221

221:                                              ; preds = %217
  store i32 20, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #3
  br label %296

222:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #3
  %223 = load i32, ptr %29, align 4, !tbaa !9
  %224 = sext i32 %223 to i64
  %225 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %224) #3
  %226 = call noundef i64 @_ZNKSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %225) #3
  %227 = load i32, ptr %30, align 4, !tbaa !9
  %228 = sext i32 %227 to i64
  %229 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %228) #3
  %230 = call noundef i64 @_ZNKSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %229) #3
  %231 = add i64 %226, %230
  %232 = trunc i64 %231 to i32
  store i32 %232, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #3
  %233 = load i32, ptr %29, align 4, !tbaa !9
  %234 = sext i32 %233 to i64
  %235 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %234) #3
  store ptr %235, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #3
  %236 = load ptr, ptr %32, align 8, !tbaa !5
  %237 = call ptr @_ZNSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %236) #3
  %238 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %33, i32 0, i32 0
  %239 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %238, i32 0, i32 0
  store ptr %237, ptr %239, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #3
  %240 = load ptr, ptr %32, align 8, !tbaa !5
  %241 = call ptr @_ZNSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %240) #3
  %242 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %34, i32 0, i32 0
  %243 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %242, i32 0, i32 0
  store ptr %241, ptr %243, align 8
  br label %244

244:                                              ; preds = %272, %222
  %245 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseIiLb0EEES3_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #3
  br i1 %245, label %247, label %246

246:                                              ; preds = %244
  store i32 23, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #3
  br label %274

247:                                              ; preds = %244
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #3
  %248 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt8__detail14_Node_iteratorIiLb1ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #3
  %249 = load i32, ptr %248, align 4, !tbaa !9
  store i32 %249, ptr %35, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #3
  %250 = load i32, ptr %30, align 4, !tbaa !9
  %251 = sext i32 %250 to i64
  %252 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %251) #3
  %253 = invoke ptr @_ZNSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE4findERKi(ptr noundef nonnull align 8 dereferenceable(56) %252, ptr noundef nonnull align 4 dereferenceable(4) %35)
          to label %254 unwind label %267

254:                                              ; preds = %247
  %255 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %36, i32 0, i32 0
  %256 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %255, i32 0, i32 0
  store ptr %253, ptr %256, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #3
  %257 = load i32, ptr %30, align 4, !tbaa !9
  %258 = sext i32 %257 to i64
  %259 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %258) #3
  %260 = call ptr @_ZNSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %259) #3
  %261 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %37, i32 0, i32 0
  %262 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %261, i32 0, i32 0
  store ptr %260, ptr %262, align 8
  %263 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseIiLb0EEES3_(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(8) %37) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #3
  br i1 %263, label %264, label %271

264:                                              ; preds = %254
  %265 = load i32, ptr %31, align 4, !tbaa !9
  %266 = sub nsw i32 %265, 2
  store i32 %266, ptr %31, align 4, !tbaa !9
  br label %271

267:                                              ; preds = %247
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %10, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #3
  br label %301

271:                                              ; preds = %264, %254
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #3
  br label %272

272:                                              ; preds = %271
  %273 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorIiLb1ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #3
  br label %244

274:                                              ; preds = %246
  %275 = load ptr, ptr %7, align 8, !tbaa !5
  %276 = load i32, ptr %29, align 4, !tbaa !9
  %277 = sext i32 %276 to i64
  %278 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %275, i64 noundef %277) #3
  %279 = load i32, ptr %30, align 4, !tbaa !9
  %280 = sext i32 %279 to i64
  %281 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %278, i64 noundef %280) #3
  %282 = load i32, ptr %281, align 4, !tbaa !9
  %283 = mul nsw i32 %282, 100
  %284 = load i32, ptr %31, align 4, !tbaa !9
  %285 = sub nsw i32 %283, %284
  %286 = load ptr, ptr %7, align 8, !tbaa !5
  %287 = load i32, ptr %29, align 4, !tbaa !9
  %288 = sext i32 %287 to i64
  %289 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %286, i64 noundef %288) #3
  %290 = load i32, ptr %30, align 4, !tbaa !9
  %291 = sext i32 %290 to i64
  %292 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %289, i64 noundef %291) #3
  store i32 %285, ptr %292, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #3
  br label %293

293:                                              ; preds = %274
  %294 = load i32, ptr %30, align 4, !tbaa !9
  %295 = add nsw i32 %294, 1
  store i32 %295, ptr %30, align 4, !tbaa !9
  br label %217, !llvm.loop !22

296:                                              ; preds = %221
  br label %297

297:                                              ; preds = %296
  %298 = load i32, ptr %29, align 4, !tbaa !9
  %299 = add nsw i32 %298, 1
  store i32 %299, ptr %29, align 4, !tbaa !9
  br label %211, !llvm.loop !23

300:                                              ; preds = %215
  call void @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #3
  call void @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #3
  call void @_ZNSt6vectorIN4CGAL8Circle_2INS0_5EpickEEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #3
  ret void

301:                                              ; preds = %267, %209, %153
  call void @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #3
  br label %302

302:                                              ; preds = %301, %100
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #3
  call void @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #3
  br label %303

303:                                              ; preds = %302, %96
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #3
  br label %304

304:                                              ; preds = %303, %83, %46
  call void @_ZNSt6vectorIN4CGAL8Circle_2INS0_5EpickEEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #3
  br label %305

305:                                              ; preds = %304
  %306 = load ptr, ptr %10, align 8
  %307 = load i32, ptr %11, align 4
  %308 = insertvalue { ptr, i32 } poison, ptr %306, 0
  %309 = insertvalue { ptr, i32 } %308, i32 %307, 1
  resume { ptr, i32 } %309
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4CGAL8Circle_2INS_5EpickEEC2ERKNS_7Point_2IS1_EERKd(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4CGAL8Circle_2INS_5EpickEE19has_on_bounded_sideERKNS_7Point_2IS1_EE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56)) #1 align 2

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

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

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

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::vector.114" = type { %"struct.std::_Vector_base.115" }
%"struct.std::_Vector_base.115" = type { %"struct.std::_Vector_base<CGAL::Circle_2<CGAL::Epick>, std::allocator<CGAL::Circle_2<CGAL::Epick>>>::_Vector_impl" }
%"struct.std::_Vector_base<CGAL::Circle_2<CGAL::Epick>, std::allocator<CGAL::Circle_2<CGAL::Epick>>>::_Vector_impl" = type { %"struct.std::_Vector_base<CGAL::Circle_2<CGAL::Epick>, std::allocator<CGAL::Circle_2<CGAL::Epick>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<CGAL::Circle_2<CGAL::Epick>, std::allocator<CGAL::Circle_2<CGAL::Epick>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.CGAL::Circle_2" = type { %"class.CGAL::CircleC2" }
%"class.CGAL::CircleC2" = type { %"class.boost::tuples::tuple" }
%"class.boost::tuples::tuple" = type { %"struct.boost::tuples::cons" }
%"struct.boost::tuples::cons" = type { %"class.CGAL::Point_2", %"struct.boost::tuples::cons.119" }
%"class.CGAL::Point_2" = type { %"class.CGAL::PointC2" }
%"class.CGAL::PointC2" = type { %"class.CGAL::Vector_2" }
%"class.CGAL::Vector_2" = type { %"class.CGAL::VectorC2" }
%"class.CGAL::VectorC2" = type { %"struct.std::array" }
%"struct.std::array" = type { [2 x double] }
%"struct.boost::tuples::cons.119" = type <{ double, %"struct.boost::tuples::cons.120", [4 x i8] }>
%"struct.boost::tuples::cons.120" = type { i32 }
%"class.std::vector.126" = type { %"struct.std::_Vector_base.127" }
%"struct.std::_Vector_base.127" = type { %"struct.std::_Vector_base<std::unordered_set<int>, std::allocator<std::unordered_set<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unordered_set<int>, std::allocator<std::unordered_set<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unordered_set<int>, std::allocator<std::unordered_set<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unordered_set<int>, std::allocator<std::unordered_set<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.128" = type { i8 }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }

@n = external dso_local local_unnamed_addr global i32, align 4
@m = external dso_local local_unnamed_addr global i32, align 4
@c = external dso_local local_unnamed_addr global i32, align 4

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z12update_costsRSt6vectorI6beer_tSaIS0_EERS_I9stadium_tSaIS4_EERS_IS_IiSaIiEESaIS9_EERS_I9contour_tSaISD_EE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::vector.114", align 8
  %6 = alloca %"class.CGAL::Circle_2", align 8
  %7 = alloca %"class.CGAL::Point_2", align 8
  %8 = alloca double, align 8
  %9 = alloca %"class.std::vector.126", align 8
  %10 = alloca %"class.std::allocator.128", align 1
  %11 = alloca %"class.std::vector.126", align 8
  %12 = alloca %"class.std::allocator.128", align 1
  %13 = alloca %"class.CGAL::Point_2", align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.CGAL::Point_2", align 8
  %16 = alloca i32, align 4
  %17 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %18 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %19 = alloca i32, align 4
  %20 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %21 = alloca %"struct.std::__detail::_Node_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #3
  call void @_ZNSt6vectorIN4CGAL8Circle_2INS0_5EpickEEESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #3
  %22 = load i32, ptr @c, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  invoke void @_ZNSt6vectorIN4CGAL8Circle_2INS0_5EpickEEESaIS3_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %23)
          to label %.preheader72 unwind label %28

.preheader72:                                     ; preds = %4
  %24 = load i32, ptr @c, align 4, !tbaa !5
  %25 = icmp sgt i32 %24, 0
  br i1 %25, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %40, %.preheader72
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #3
  %26 = load i32, ptr @n, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #3
  call void @_ZNSaISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #3
  invoke void @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EEC2EmRKS7_(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %27, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %49 unwind label %58

28:                                               ; preds = %4
  %29 = landingpad { ptr, i32 }
          cleanup
  br label %161

.lr.ph:                                           ; preds = %.preheader72, %40
  %indvars.iv = phi i64 [ %indvars.iv.next, %40 ], [ 0, %.preheader72 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #3
  %30 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI9contour_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #3
  %31 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI9contour_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #3
  %32 = getelementptr inbounds i8, ptr %31, i64 4
  invoke void @_ZN4CGAL7Point_2INS_5EpickEEC2IiiEERKT_RKT0_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(4) %32)
          to label %33 unwind label %44

33:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
  %34 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI9contour_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #3
  %35 = getelementptr inbounds i8, ptr %34, i64 8
  %36 = load i64, ptr %35, align 8, !tbaa !9
  %37 = sitofp i64 %36 to double
  store double %37, ptr %8, align 8, !tbaa !12
  invoke void @_ZN4CGAL8Circle_2INS_5EpickEEC2ERKNS_7Point_2IS1_EERKd(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %38 unwind label %46

38:                                               ; preds = %33
  %39 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN4CGAL8Circle_2INS0_5EpickEEESaIS3_EE12emplace_backIJS3_EEERS3_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %40 unwind label %46

40:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #3
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %41 = load i32, ptr @c, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = icmp slt i64 %indvars.iv.next, %42
  br i1 %43, label %.lr.ph, label %._crit_edge, !llvm.loop !14

44:                                               ; preds = %.lr.ph
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %48

46:                                               ; preds = %38, %33
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  br label %48

48:                                               ; preds = %46, %44
  %.pn67 = phi { ptr, i32 } [ %47, %46 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #3
  br label %161

49:                                               ; preds = %._crit_edge
  call void @_ZNSt15__new_allocatorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #3
  %50 = load i32, ptr @m, align 4, !tbaa !5
  %51 = sext i32 %50 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #3
  call void @_ZNSaISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #3
  invoke void @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EEC2EmRKS7_(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %51, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %52 unwind label %60

52:                                               ; preds = %49
  call void @_ZNSt15__new_allocatorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #3
  %53 = load i32, ptr @n, align 4, !tbaa !5
  %54 = icmp sgt i32 %53, 0
  br i1 %54, label %.lr.ph81, label %.preheader71

.preheader71:                                     ; preds = %._crit_edge78, %52
  %55 = phi i32 [ %53, %52 ], [ %68, %._crit_edge78 ]
  %56 = load i32, ptr @m, align 4, !tbaa !5
  %57 = icmp sgt i32 %56, 0
  br i1 %57, label %.lr.ph87, label %.preheader70

58:                                               ; preds = %._crit_edge
  %59 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #3
  br label %160

60:                                               ; preds = %49
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #3
  br label %159

.lr.ph81:                                         ; preds = %52, %._crit_edge78
  %indvars.iv99 = phi i64 [ %indvars.iv.next100, %._crit_edge78 ], [ 0, %52 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #3
  %62 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6beer_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv99) #3
  %63 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6beer_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv99) #3
  %64 = getelementptr inbounds i8, ptr %63, i64 4
  invoke void @_ZN4CGAL7Point_2INS_5EpickEEC2IiiEERKT_RKT0_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(4) %62, ptr noundef nonnull align 4 dereferenceable(4) %64)
          to label %65 unwind label %71

65:                                               ; preds = %.lr.ph81
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #3
  store i32 0, ptr %14, align 4, !tbaa !5
  %66 = load i32, ptr @c, align 4, !tbaa !5
  %67 = icmp sgt i32 %66, 0
  br i1 %67, label %.lr.ph77, label %._crit_edge78

._crit_edge78:                                    ; preds = %82, %65
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #3
  %indvars.iv.next100 = add nuw nsw i64 %indvars.iv99, 1
  %68 = load i32, ptr @n, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = icmp slt i64 %indvars.iv.next100, %69
  br i1 %70, label %.lr.ph81, label %.preheader71, !llvm.loop !16

71:                                               ; preds = %.lr.ph81
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %87

.lr.ph77:                                         ; preds = %65, %82
  %storemerge6175 = phi i32 [ %84, %82 ], [ 0, %65 ]
  %73 = sext i32 %storemerge6175 to i64
  %74 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN4CGAL8Circle_2INS0_5EpickEEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %73) #3
  %75 = invoke noundef zeroext i1 @_ZNK4CGAL8Circle_2INS_5EpickEE19has_on_bounded_sideERKNS_7Point_2IS1_EE(ptr noundef nonnull align 8 dereferenceable(32) %74, ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %76 unwind label %80

76:                                               ; preds = %.lr.ph77
  br i1 %75, label %77, label %82

77:                                               ; preds = %76
  %78 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv99) #3
  %79 = invoke { ptr, i8 } @_ZNSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(56) %78, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %82 unwind label %80

80:                                               ; preds = %77, %.lr.ph77
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #3
  br label %87

82:                                               ; preds = %77, %76
  %83 = load i32, ptr %14, align 4, !tbaa !5
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %14, align 4, !tbaa !5
  %85 = load i32, ptr @c, align 4, !tbaa !5
  %86 = icmp slt i32 %84, %85
  br i1 %86, label %.lr.ph77, label %._crit_edge78, !llvm.loop !17

87:                                               ; preds = %80, %71
  %.pn62 = phi { ptr, i32 } [ %81, %80 ], [ %72, %71 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #3
  br label %158

.preheader70.loopexit:                            ; preds = %._crit_edge85
  %.pre = load i32, ptr @n, align 4, !tbaa !5
  br label %.preheader70

.preheader70:                                     ; preds = %.preheader70.loopexit, %.preheader71
  %88 = phi i32 [ %98, %.preheader70.loopexit ], [ %56, %.preheader71 ]
  %89 = phi i32 [ %.pre, %.preheader70.loopexit ], [ %55, %.preheader71 ]
  %90 = icmp sgt i32 %89, 0
  %91 = icmp sgt i32 %88, 0
  %or.cond = and i1 %90, %91
  br i1 %or.cond, label %.preheader, label %._crit_edge96

.lr.ph87:                                         ; preds = %.preheader71, %._crit_edge85
  %indvars.iv102 = phi i64 [ %indvars.iv.next103, %._crit_edge85 ], [ 0, %.preheader71 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #3
  %92 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI9stadium_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv102) #3
  %93 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI9stadium_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv102) #3
  %94 = getelementptr inbounds i8, ptr %93, i64 4
  invoke void @_ZN4CGAL7Point_2INS_5EpickEEC2IiiEERKT_RKT0_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(4) %92, ptr noundef nonnull align 4 dereferenceable(4) %94)
          to label %95 unwind label %101

95:                                               ; preds = %.lr.ph87
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #3
  store i32 0, ptr %16, align 4, !tbaa !5
  %96 = load i32, ptr @c, align 4, !tbaa !5
  %97 = icmp sgt i32 %96, 0
  br i1 %97, label %.lr.ph84, label %._crit_edge85

._crit_edge85:                                    ; preds = %112, %95
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #3
  %indvars.iv.next103 = add nuw nsw i64 %indvars.iv102, 1
  %98 = load i32, ptr @m, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = icmp slt i64 %indvars.iv.next103, %99
  br i1 %100, label %.lr.ph87, label %.preheader70.loopexit, !llvm.loop !18

101:                                              ; preds = %.lr.ph87
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %117

.lr.ph84:                                         ; preds = %95, %112
  %storemerge82 = phi i32 [ %114, %112 ], [ 0, %95 ]
  %103 = sext i32 %storemerge82 to i64
  %104 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN4CGAL8Circle_2INS0_5EpickEEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %103) #3
  %105 = invoke noundef zeroext i1 @_ZNK4CGAL8Circle_2INS_5EpickEE19has_on_bounded_sideERKNS_7Point_2IS1_EE(ptr noundef nonnull align 8 dereferenceable(32) %104, ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %106 unwind label %110

106:                                              ; preds = %.lr.ph84
  br i1 %105, label %107, label %112

107:                                              ; preds = %106
  %108 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv102) #3
  %109 = invoke { ptr, i8 } @_ZNSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(56) %108, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %112 unwind label %110

110:                                              ; preds = %107, %.lr.ph84
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #3
  br label %117

112:                                              ; preds = %107, %106
  %113 = load i32, ptr %16, align 4, !tbaa !5
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %16, align 4, !tbaa !5
  %115 = load i32, ptr @c, align 4, !tbaa !5
  %116 = icmp slt i32 %114, %115
  br i1 %116, label %.lr.ph84, label %._crit_edge85, !llvm.loop !19

117:                                              ; preds = %110, %101
  %.pn = phi { ptr, i32 } [ %111, %110 ], [ %102, %101 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #3
  br label %158

.preheader:                                       ; preds = %.preheader70, %._crit_edge94
  %118 = phi i32 [ %121, %._crit_edge94 ], [ %89, %.preheader70 ]
  %119 = phi i32 [ %122, %._crit_edge94 ], [ %88, %.preheader70 ]
  %indvars.iv108 = phi i64 [ %indvars.iv.next109, %._crit_edge94 ], [ 0, %.preheader70 ]
  %120 = icmp sgt i32 %119, 0
  br i1 %120, label %.lr.ph93, label %._crit_edge94

._crit_edge96:                                    ; preds = %._crit_edge94, %.preheader70
  call void @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #3
  call void @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #3
  call void @_ZNSt6vectorIN4CGAL8Circle_2INS0_5EpickEEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #3
  ret void

._crit_edge94.loopexit:                           ; preds = %._crit_edge91
  %.pre111 = load i32, ptr @n, align 4, !tbaa !5
  br label %._crit_edge94

._crit_edge94:                                    ; preds = %._crit_edge94.loopexit, %.preheader
  %121 = phi i32 [ %.pre111, %._crit_edge94.loopexit ], [ %118, %.preheader ]
  %122 = phi i32 [ %142, %._crit_edge94.loopexit ], [ %119, %.preheader ]
  %indvars.iv.next109 = add nuw nsw i64 %indvars.iv108, 1
  %123 = sext i32 %121 to i64
  %124 = icmp slt i64 %indvars.iv.next109, %123
  br i1 %124, label %.preheader, label %._crit_edge96, !llvm.loop !20

.lr.ph93:                                         ; preds = %.preheader, %._crit_edge91
  %indvars.iv105 = phi i64 [ %indvars.iv.next106, %._crit_edge91 ], [ 0, %.preheader ]
  %125 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv108) #3
  %126 = call noundef i64 @_ZNKSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %125) #3
  %127 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv105) #3
  %128 = call noundef i64 @_ZNKSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %127) #3
  %129 = add i64 %128, %126
  %130 = trunc i64 %129 to i32
  %131 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv108) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #3
  %132 = call ptr @_ZNSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %131) #3
  store ptr %132, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #3
  %133 = call ptr @_ZNSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %131) #3
  store ptr %133, ptr %18, align 8
  %134 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseIiLb0EEES3_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #3
  br i1 %134, label %.lr.ph90, label %._crit_edge91

._crit_edge91:                                    ; preds = %149, %.lr.ph93
  %.044.lcssa = phi i32 [ %130, %.lr.ph93 ], [ %spec.select, %149 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #3
  %135 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv108) #3
  %136 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %135, i64 noundef %indvars.iv105) #3
  %137 = load i32, ptr %136, align 4, !tbaa !5
  %138 = mul nsw i32 %137, 100
  %139 = sub nsw i32 %138, %.044.lcssa
  %140 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv108) #3
  %141 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %140, i64 noundef %indvars.iv105) #3
  store i32 %139, ptr %141, align 4, !tbaa !5
  %indvars.iv.next106 = add nuw nsw i64 %indvars.iv105, 1
  %142 = load i32, ptr @m, align 4, !tbaa !5
  %143 = sext i32 %142 to i64
  %144 = icmp slt i64 %indvars.iv.next106, %143
  br i1 %144, label %.lr.ph93, label %._crit_edge94.loopexit, !llvm.loop !22

.lr.ph90:                                         ; preds = %.lr.ph93, %149
  %.04488 = phi i32 [ %spec.select, %149 ], [ %130, %.lr.ph93 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #3
  %145 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt8__detail14_Node_iteratorIiLb1ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #3
  %146 = load i32, ptr %145, align 4, !tbaa !5
  store i32 %146, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #3
  %147 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv105) #3
  %148 = invoke ptr @_ZNSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE4findERKi(ptr noundef nonnull align 8 dereferenceable(56) %147, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %149 unwind label %156

149:                                              ; preds = %.lr.ph90
  store ptr %148, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #3
  %150 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv105) #3
  %151 = call ptr @_ZNSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %150) #3
  store ptr %151, ptr %21, align 8
  %152 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseIiLb0EEES3_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #3
  %153 = add nsw i32 %.04488, -2
  %spec.select = select i1 %152, i32 %153, i32 %.04488
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #3
  %154 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorIiLb1ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #3
  %155 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseIiLb0EEES3_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #3
  br i1 %155, label %.lr.ph90, label %._crit_edge91

156:                                              ; preds = %.lr.ph90
  %157 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #3
  br label %158

158:                                              ; preds = %156, %117, %87
  %.pn62.pn = phi { ptr, i32 } [ %.pn62, %87 ], [ %.pn, %117 ], [ %157, %156 ]
  call void @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #3
  br label %159

159:                                              ; preds = %158, %60
  %.pn62.pn.pn = phi { ptr, i32 } [ %.pn62.pn, %158 ], [ %61, %60 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #3
  call void @_ZNSt6vectorISt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #3
  br label %160

160:                                              ; preds = %159, %58
  %.pn62.pn.pn.pn = phi { ptr, i32 } [ %.pn62.pn.pn, %159 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #3
  br label %161

161:                                              ; preds = %160, %48, %28
  %.pn67.pn = phi { ptr, i32 } [ %.pn67, %48 ], [ %.pn62.pn.pn.pn, %160 ], [ %29, %28 ]
  call void @_ZNSt6vectorIN4CGAL8Circle_2INS0_5EpickEEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #3
  resume { ptr, i32 } %.pn67.pn
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4CGAL8Circle_2INS_5EpickEEC2ERKNS_7Point_2IS1_EERKd(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4CGAL8Circle_2INS_5EpickEE19has_on_bounded_sideERKNS_7Point_2IS1_EE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

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

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass