; LLVM IR from mackorone/mms :: old/v2/src/lib/polypartition (polypartition)

; 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::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<TPPLPoly, std::allocator<TPPLPoly>>::_List_impl" }
%"struct.std::__cxx11::_List_base<TPPLPoly, std::allocator<TPPLPoly>>::_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 }
%"struct.std::_List_iterator" = type { ptr }
%class.TPPLPoly = type <{ ptr, i64, i8, [7 x i8] }>
%struct.TPPLPoint = type { double, double }
%"struct.std::_List_const_iterator" = type { ptr }

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

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

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPolyixEi(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef) #3 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN13TPPLPartition14Triangulate_ECEP8TPPLPolyPNSt7__cxx114listIS0_SaIS0_EEE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef) #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN13TPPLPartition18ConvexPartition_HMEP8TPPLPolyPNSt7__cxx114listIS0_SaIS0_EEE(ptr noundef nonnull align 1 dereferenceable(1) %0, ptr noundef %1, ptr noundef %2) #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.std::__cxx11::list", align 8
  %9 = alloca %"struct.std::_List_iterator", align 8
  %10 = alloca %"struct.std::_List_iterator", align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %class.TPPLPoly, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca %struct.TPPLPoint, align 8
  %17 = alloca %struct.TPPLPoint, align 8
  %18 = alloca %struct.TPPLPoint, align 8
  %19 = alloca %struct.TPPLPoint, align 8
  %20 = alloca %struct.TPPLPoint, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i8, align 1
  %30 = alloca i64, align 8
  %31 = alloca i32, align 4
  %32 = alloca %"struct.std::_List_iterator", align 8
  %33 = alloca %"struct.std::_List_iterator", align 8
  %34 = alloca %"struct.std::_List_iterator", align 8
  %35 = alloca %"struct.std::_List_iterator", align 8
  %36 = alloca %"struct.std::_List_const_iterator", align 8
  %37 = alloca %"struct.std::_List_iterator", align 8
  %38 = alloca %"struct.std::_List_iterator", align 8
  %39 = alloca %"struct.std::_List_iterator", align 8
  %40 = alloca %"struct.std::_List_iterator", align 8
  %41 = alloca %"struct.std::_List_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
  %42 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #4
  call void @_ZNSt7__cxx114listI8TPPLPolySaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @_ZNSt14_List_iteratorI8TPPLPolyEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  call void @_ZNSt14_List_iteratorI8TPPLPolyEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #4
  invoke void @_ZN8TPPLPolyC1Ev(ptr noundef nonnull align 8 dereferenceable(17) %13)
          to label %43 unwind label %58

43:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  store i64 0, ptr %30, align 8, !tbaa !9
  store i64 0, ptr %21, align 8, !tbaa !9
  br label %44

44:                                               ; preds = %96, %43
  %45 = load i64, ptr %21, align 8, !tbaa !9
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = invoke noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %46)
          to label %48 unwind label %62

48:                                               ; preds = %44
  %49 = icmp slt i64 %45, %47
  br i1 %49, label %50, label %99

50:                                               ; preds = %48
  %51 = load i64, ptr %21, align 8, !tbaa !9
  %52 = icmp eq i64 %51, 0
  br i1 %52, label %53, label %66

53:                                               ; preds = %50
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = invoke noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %54)
          to label %56 unwind label %62

56:                                               ; preds = %53
  %57 = sub nsw i64 %55, 1
  store i64 %57, ptr %22, align 8, !tbaa !9
  br label %69

58:                                               ; preds = %3
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %14, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %15, align 4
  br label %385

62:                                               ; preds = %375, %352, %345, %338, %334, %321, %314, %310, %301, %298, %295, %288, %280, %273, %262, %258, %251, %240, %236, %228, %221, %194, %183, %178, %167, %157, %151, %136, %131, %127, %121, %106, %102, %88, %84, %80, %69, %53, %44
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %14, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #4
  call void @_ZN8TPPLPolyD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %13) #4
  br label %385

66:                                               ; preds = %50
  %67 = load i64, ptr %21, align 8, !tbaa !9
  %68 = sub nsw i64 %67, 1
  store i64 %68, ptr %22, align 8, !tbaa !9
  br label %69

69:                                               ; preds = %66, %56
  %70 = load i64, ptr %21, align 8, !tbaa !9
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = invoke noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %71)
          to label %73 unwind label %62

73:                                               ; preds = %69
  %74 = sub nsw i64 %72, 1
  %75 = icmp eq i64 %70, %74
  br i1 %75, label %76, label %77

76:                                               ; preds = %73
  store i64 0, ptr %25, align 8, !tbaa !9
  br label %80

77:                                               ; preds = %73
  %78 = load i64, ptr %21, align 8, !tbaa !9
  %79 = add nsw i64 %78, 1
  store i64 %79, ptr %25, align 8, !tbaa !9
  br label %80

80:                                               ; preds = %77, %76
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  %82 = load i64, ptr %22, align 8, !tbaa !9
  %83 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %81, i64 noundef %82)
          to label %84 unwind label %62

84:                                               ; preds = %80
  %85 = load ptr, ptr %6, align 8, !tbaa !5
  %86 = load i64, ptr %21, align 8, !tbaa !9
  %87 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %85, i64 noundef %86)
          to label %88 unwind label %62

88:                                               ; preds = %84
  %89 = load ptr, ptr %6, align 8, !tbaa !5
  %90 = load i64, ptr %25, align 8, !tbaa !9
  %91 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %89, i64 noundef %90)
          to label %92 unwind label %62

92:                                               ; preds = %88
  %93 = call noundef zeroext i1 @_ZN13TPPLPartition8IsReflexER9TPPLPointS1_S1_(ptr noundef nonnull align 1 dereferenceable(1) %42, ptr noundef nonnull align 8 dereferenceable(16) %83, ptr noundef nonnull align 8 dereferenceable(16) %87, ptr noundef nonnull align 8 dereferenceable(16) %91)
  br i1 %93, label %94, label %95

94:                                               ; preds = %92
  store i64 1, ptr %30, align 8, !tbaa !9
  br label %99

95:                                               ; preds = %92
  br label %96

96:                                               ; preds = %95
  %97 = load i64, ptr %21, align 8, !tbaa !9
  %98 = add nsw i64 %97, 1
  store i64 %98, ptr %21, align 8, !tbaa !9
  br label %44, !llvm.loop !11

99:                                               ; preds = %94, %48
  %100 = load i64, ptr %30, align 8, !tbaa !9
  %101 = icmp eq i64 %100, 0
  br i1 %101, label %102, label %106

102:                                              ; preds = %99
  %103 = load ptr, ptr %7, align 8, !tbaa !5
  %104 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZNSt7__cxx114listI8TPPLPolySaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %103, ptr noundef nonnull align 8 dereferenceable(17) %104)
          to label %105 unwind label %62

105:                                              ; preds = %102
  store i32 1, ptr %4, align 4
  store i32 1, ptr %31, align 4
  br label %383

106:                                              ; preds = %99
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = invoke noundef i32 @_ZN13TPPLPartition14Triangulate_ECEP8TPPLPolyPNSt7__cxx114listIS0_SaIS0_EEE(ptr noundef nonnull align 1 dereferenceable(1) %42, ptr noundef %107, ptr noundef %8)
          to label %109 unwind label %62

109:                                              ; preds = %106
  %110 = icmp ne i32 %108, 0
  br i1 %110, label %112, label %111

111:                                              ; preds = %109
  store i32 0, ptr %4, align 4
  store i32 1, ptr %31, align 4
  br label %383

112:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #4
  %113 = call ptr @_ZNSt7__cxx114listI8TPPLPolySaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  %114 = getelementptr inbounds %"struct.std::_List_iterator", ptr %32, i32 0, i32 0
  store ptr %113, ptr %114, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %32, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  br label %115

115:                                              ; preds = %365, %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #4
  %116 = call ptr @_ZNSt7__cxx114listI8TPPLPolySaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  %117 = getelementptr inbounds %"struct.std::_List_iterator", ptr %33, i32 0, i32 0
  store ptr %116, ptr %117, align 8
  %118 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorI8TPPLPolyES3_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %33) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #4
  br i1 %118, label %119, label %368

119:                                              ; preds = %115
  %120 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNKSt14_List_iteratorI8TPPLPolyEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #4
  store ptr %120, ptr %11, align 8, !tbaa !5
  store i64 0, ptr %21, align 8, !tbaa !9
  br label %121

121:                                              ; preds = %361, %119
  %122 = load i64, ptr %21, align 8, !tbaa !9
  %123 = load ptr, ptr %11, align 8, !tbaa !5
  %124 = invoke noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %123)
          to label %125 unwind label %62

125:                                              ; preds = %121
  %126 = icmp slt i64 %122, %124
  br i1 %126, label %127, label %364

127:                                              ; preds = %125
  %128 = load ptr, ptr %11, align 8, !tbaa !5
  %129 = load i64, ptr %21, align 8, !tbaa !9
  %130 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %128, i64 noundef %129)
          to label %131 unwind label %62

131:                                              ; preds = %127
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 %130, i64 16, i1 false), !tbaa.struct !14
  %132 = load i64, ptr %21, align 8, !tbaa !9
  %133 = add nsw i64 %132, 1
  %134 = load ptr, ptr %11, align 8, !tbaa !5
  %135 = invoke noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %134)
          to label %136 unwind label %62

136:                                              ; preds = %131
  %137 = srem i64 %133, %135
  store i64 %137, ptr %22, align 8, !tbaa !9
  %138 = load ptr, ptr %11, align 8, !tbaa !5
  %139 = load i64, ptr %22, align 8, !tbaa !9
  %140 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %138, i64 noundef %139)
          to label %141 unwind label %62

141:                                              ; preds = %136
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %140, i64 16, i1 false), !tbaa.struct !14
  store i8 0, ptr %29, align 1, !tbaa !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %9, i64 8, i1 false), !tbaa.struct !13
  br label %142

142:                                              ; preds = %214, %141
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #4
  %143 = call ptr @_ZNSt7__cxx114listI8TPPLPolySaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  %144 = getelementptr inbounds %"struct.std::_List_iterator", ptr %34, i32 0, i32 0
  store ptr %143, ptr %144, align 8
  %145 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorI8TPPLPolyES3_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %34) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #4
  br i1 %145, label %146, label %217

146:                                              ; preds = %142
  %147 = call noundef zeroext i1 @_ZSteqRKSt14_List_iteratorI8TPPLPolyES3_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #4
  br i1 %147, label %148, label %149

148:                                              ; preds = %146
  br label %214

149:                                              ; preds = %146
  %150 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNKSt14_List_iteratorI8TPPLPolyEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #4
  store ptr %150, ptr %12, align 8, !tbaa !5
  store i64 0, ptr %23, align 8, !tbaa !9
  br label %151

151:                                              ; preds = %206, %149
  %152 = load i64, ptr %23, align 8, !tbaa !9
  %153 = load ptr, ptr %12, align 8, !tbaa !5
  %154 = invoke noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %153)
          to label %155 unwind label %62

155:                                              ; preds = %151
  %156 = icmp slt i64 %152, %154
  br i1 %156, label %157, label %209

157:                                              ; preds = %155
  %158 = getelementptr inbounds %struct.TPPLPoint, ptr %17, i32 0, i32 0
  %159 = load double, ptr %158, align 8, !tbaa !19
  %160 = load ptr, ptr %12, align 8, !tbaa !5
  %161 = load i64, ptr %23, align 8, !tbaa !9
  %162 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %160, i64 noundef %161)
          to label %163 unwind label %62

163:                                              ; preds = %157
  %164 = getelementptr inbounds %struct.TPPLPoint, ptr %162, i32 0, i32 0
  %165 = load double, ptr %164, align 8, !tbaa !19
  %166 = fcmp une double %159, %165
  br i1 %166, label %177, label %167

167:                                              ; preds = %163
  %168 = getelementptr inbounds %struct.TPPLPoint, ptr %17, i32 0, i32 1
  %169 = load double, ptr %168, align 8, !tbaa !21
  %170 = load ptr, ptr %12, align 8, !tbaa !5
  %171 = load i64, ptr %23, align 8, !tbaa !9
  %172 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %170, i64 noundef %171)
          to label %173 unwind label %62

173:                                              ; preds = %167
  %174 = getelementptr inbounds %struct.TPPLPoint, ptr %172, i32 0, i32 1
  %175 = load double, ptr %174, align 8, !tbaa !21
  %176 = fcmp une double %169, %175
  br i1 %176, label %177, label %178

177:                                              ; preds = %173, %163
  br label %206

178:                                              ; preds = %173
  %179 = load i64, ptr %23, align 8, !tbaa !9
  %180 = add nsw i64 %179, 1
  %181 = load ptr, ptr %12, align 8, !tbaa !5
  %182 = invoke noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %181)
          to label %183 unwind label %62

183:                                              ; preds = %178
  %184 = srem i64 %180, %182
  store i64 %184, ptr %24, align 8, !tbaa !9
  %185 = getelementptr inbounds %struct.TPPLPoint, ptr %16, i32 0, i32 0
  %186 = load double, ptr %185, align 8, !tbaa !19
  %187 = load ptr, ptr %12, align 8, !tbaa !5
  %188 = load i64, ptr %24, align 8, !tbaa !9
  %189 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %187, i64 noundef %188)
          to label %190 unwind label %62

190:                                              ; preds = %183
  %191 = getelementptr inbounds %struct.TPPLPoint, ptr %189, i32 0, i32 0
  %192 = load double, ptr %191, align 8, !tbaa !19
  %193 = fcmp une double %186, %192
  br i1 %193, label %204, label %194

194:                                              ; preds = %190
  %195 = getelementptr inbounds %struct.TPPLPoint, ptr %16, i32 0, i32 1
  %196 = load double, ptr %195, align 8, !tbaa !21
  %197 = load ptr, ptr %12, align 8, !tbaa !5
  %198 = load i64, ptr %24, align 8, !tbaa !9
  %199 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %197, i64 noundef %198)
          to label %200 unwind label %62

200:                                              ; preds = %194
  %201 = getelementptr inbounds %struct.TPPLPoint, ptr %199, i32 0, i32 1
  %202 = load double, ptr %201, align 8, !tbaa !21
  %203 = fcmp une double %196, %202
  br i1 %203, label %204, label %205

204:                                              ; preds = %200, %190
  br label %206

205:                                              ; preds = %200
  store i8 1, ptr %29, align 1, !tbaa !17
  br label %209

206:                                              ; preds = %204, %177
  %207 = load i64, ptr %23, align 8, !tbaa !9
  %208 = add nsw i64 %207, 1
  store i64 %208, ptr %23, align 8, !tbaa !9
  br label %151, !llvm.loop !22

209:                                              ; preds = %205, %155
  %210 = load i8, ptr %29, align 1, !tbaa !17, !range !23, !noundef !24
  %211 = trunc i8 %210 to i1
  br i1 %211, label %212, label %213

212:                                              ; preds = %209
  br label %217

213:                                              ; preds = %209
  br label %214

214:                                              ; preds = %213, %148
  %215 = call ptr @_ZNSt14_List_iteratorI8TPPLPolyEppEi(ptr noundef nonnull align 8 dereferenceable(8) %10, i32 noundef 0) #4
  %216 = getelementptr inbounds %"struct.std::_List_iterator", ptr %35, i32 0, i32 0
  store ptr %215, ptr %216, align 8
  br label %142, !llvm.loop !25

217:                                              ; preds = %212, %142
  %218 = load i8, ptr %29, align 1, !tbaa !17, !range !23, !noundef !24
  %219 = trunc i8 %218 to i1
  br i1 %219, label %221, label %220

220:                                              ; preds = %217
  br label %361

221:                                              ; preds = %217
  %222 = load ptr, ptr %11, align 8, !tbaa !5
  %223 = load i64, ptr %21, align 8, !tbaa !9
  %224 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %222, i64 noundef %223)
          to label %225 unwind label %62

225:                                              ; preds = %221
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %19, ptr align 8 %224, i64 16, i1 false), !tbaa.struct !14
  %226 = load i64, ptr %21, align 8, !tbaa !9
  %227 = icmp eq i64 %226, 0
  br i1 %227, label %228, label %233

228:                                              ; preds = %225
  %229 = load ptr, ptr %11, align 8, !tbaa !5
  %230 = invoke noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %229)
          to label %231 unwind label %62

231:                                              ; preds = %228
  %232 = sub nsw i64 %230, 1
  store i64 %232, ptr %25, align 8, !tbaa !9
  br label %236

233:                                              ; preds = %225
  %234 = load i64, ptr %21, align 8, !tbaa !9
  %235 = sub nsw i64 %234, 1
  store i64 %235, ptr %25, align 8, !tbaa !9
  br label %236

236:                                              ; preds = %233, %231
  %237 = load ptr, ptr %11, align 8, !tbaa !5
  %238 = load i64, ptr %25, align 8, !tbaa !9
  %239 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %237, i64 noundef %238)
          to label %240 unwind label %62

240:                                              ; preds = %236
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %18, ptr align 8 %239, i64 16, i1 false), !tbaa.struct !14
  %241 = load i64, ptr %24, align 8, !tbaa !9
  %242 = load ptr, ptr %12, align 8, !tbaa !5
  %243 = invoke noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %242)
          to label %244 unwind label %62

244:                                              ; preds = %240
  %245 = sub nsw i64 %243, 1
  %246 = icmp eq i64 %241, %245
  br i1 %246, label %247, label %248

247:                                              ; preds = %244
  store i64 0, ptr %26, align 8, !tbaa !9
  br label %251

248:                                              ; preds = %244
  %249 = load i64, ptr %24, align 8, !tbaa !9
  %250 = add nsw i64 %249, 1
  store i64 %250, ptr %26, align 8, !tbaa !9
  br label %251

251:                                              ; preds = %248, %247
  %252 = load ptr, ptr %12, align 8, !tbaa !5
  %253 = load i64, ptr %26, align 8, !tbaa !9
  %254 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %252, i64 noundef %253)
          to label %255 unwind label %62

255:                                              ; preds = %251
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %254, i64 16, i1 false), !tbaa.struct !14
  %256 = call noundef zeroext i1 @_ZN13TPPLPartition8IsConvexER9TPPLPointS1_S1_(ptr noundef nonnull align 1 dereferenceable(1) %42, ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %20)
  br i1 %256, label %258, label %257

257:                                              ; preds = %255
  br label %361

258:                                              ; preds = %255
  %259 = load ptr, ptr %11, align 8, !tbaa !5
  %260 = load i64, ptr %22, align 8, !tbaa !9
  %261 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %259, i64 noundef %260)
          to label %262 unwind label %62

262:                                              ; preds = %258
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %19, ptr align 8 %261, i64 16, i1 false), !tbaa.struct !14
  %263 = load i64, ptr %22, align 8, !tbaa !9
  %264 = load ptr, ptr %11, align 8, !tbaa !5
  %265 = invoke noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %264)
          to label %266 unwind label %62

266:                                              ; preds = %262
  %267 = sub nsw i64 %265, 1
  %268 = icmp eq i64 %263, %267
  br i1 %268, label %269, label %270

269:                                              ; preds = %266
  store i64 0, ptr %25, align 8, !tbaa !9
  br label %273

270:                                              ; preds = %266
  %271 = load i64, ptr %22, align 8, !tbaa !9
  %272 = add nsw i64 %271, 1
  store i64 %272, ptr %25, align 8, !tbaa !9
  br label %273

273:                                              ; preds = %270, %269
  %274 = load ptr, ptr %11, align 8, !tbaa !5
  %275 = load i64, ptr %25, align 8, !tbaa !9
  %276 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %274, i64 noundef %275)
          to label %277 unwind label %62

277:                                              ; preds = %273
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %276, i64 16, i1 false), !tbaa.struct !14
  %278 = load i64, ptr %23, align 8, !tbaa !9
  %279 = icmp eq i64 %278, 0
  br i1 %279, label %280, label %285

280:                                              ; preds = %277
  %281 = load ptr, ptr %12, align 8, !tbaa !5
  %282 = invoke noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %281)
          to label %283 unwind label %62

283:                                              ; preds = %280
  %284 = sub nsw i64 %282, 1
  store i64 %284, ptr %26, align 8, !tbaa !9
  br label %288

285:                                              ; preds = %277
  %286 = load i64, ptr %23, align 8, !tbaa !9
  %287 = sub nsw i64 %286, 1
  store i64 %287, ptr %26, align 8, !tbaa !9
  br label %288

288:                                              ; preds = %285, %283
  %289 = load ptr, ptr %12, align 8, !tbaa !5
  %290 = load i64, ptr %26, align 8, !tbaa !9
  %291 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %289, i64 noundef %290)
          to label %292 unwind label %62

292:                                              ; preds = %288
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %18, ptr align 8 %291, i64 16, i1 false), !tbaa.struct !14
  %293 = call noundef zeroext i1 @_ZN13TPPLPartition8IsConvexER9TPPLPointS1_S1_(ptr noundef nonnull align 1 dereferenceable(1) %42, ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %20)
  br i1 %293, label %295, label %294

294:                                              ; preds = %292
  br label %361

295:                                              ; preds = %292
  %296 = load ptr, ptr %11, align 8, !tbaa !5
  %297 = invoke noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %296)
          to label %298 unwind label %62

298:                                              ; preds = %295
  %299 = load ptr, ptr %12, align 8, !tbaa !5
  %300 = invoke noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %299)
          to label %301 unwind label %62

301:                                              ; preds = %298
  %302 = add nsw i64 %297, %300
  %303 = sub nsw i64 %302, 2
  invoke void @_ZN8TPPLPoly4InitEl(ptr noundef nonnull align 8 dereferenceable(17) %13, i64 noundef %303)
          to label %304 unwind label %62

304:                                              ; preds = %301
  store i64 0, ptr %28, align 8, !tbaa !9
  %305 = load i64, ptr %22, align 8, !tbaa !9
  store i64 %305, ptr %27, align 8, !tbaa !9
  br label %306

306:                                              ; preds = %326, %304
  %307 = load i64, ptr %27, align 8, !tbaa !9
  %308 = load i64, ptr %21, align 8, !tbaa !9
  %309 = icmp ne i64 %307, %308
  br i1 %309, label %310, label %328

310:                                              ; preds = %306
  %311 = load ptr, ptr %11, align 8, !tbaa !5
  %312 = load i64, ptr %27, align 8, !tbaa !9
  %313 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %311, i64 noundef %312)
          to label %314 unwind label %62

314:                                              ; preds = %310
  %315 = load i64, ptr %28, align 8, !tbaa !9
  %316 = trunc i64 %315 to i32
  %317 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPolyixEi(ptr noundef nonnull align 8 dereferenceable(17) %13, i32 noundef %316)
          to label %318 unwind label %62

318:                                              ; preds = %314
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %317, ptr align 8 %313, i64 16, i1 false), !tbaa.struct !14
  %319 = load i64, ptr %28, align 8, !tbaa !9
  %320 = add nsw i64 %319, 1
  store i64 %320, ptr %28, align 8, !tbaa !9
  br label %321

321:                                              ; preds = %318
  %322 = load i64, ptr %27, align 8, !tbaa !9
  %323 = add nsw i64 %322, 1
  %324 = load ptr, ptr %11, align 8, !tbaa !5
  %325 = invoke noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %324)
          to label %326 unwind label %62

326:                                              ; preds = %321
  %327 = srem i64 %323, %325
  store i64 %327, ptr %27, align 8, !tbaa !9
  br label %306, !llvm.loop !26

328:                                              ; preds = %306
  %329 = load i64, ptr %24, align 8, !tbaa !9
  store i64 %329, ptr %27, align 8, !tbaa !9
  br label %330

330:                                              ; preds = %350, %328
  %331 = load i64, ptr %27, align 8, !tbaa !9
  %332 = load i64, ptr %23, align 8, !tbaa !9
  %333 = icmp ne i64 %331, %332
  br i1 %333, label %334, label %352

334:                                              ; preds = %330
  %335 = load ptr, ptr %12, align 8, !tbaa !5
  %336 = load i64, ptr %27, align 8, !tbaa !9
  %337 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %335, i64 noundef %336)
          to label %338 unwind label %62

338:                                              ; preds = %334
  %339 = load i64, ptr %28, align 8, !tbaa !9
  %340 = trunc i64 %339 to i32
  %341 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPolyixEi(ptr noundef nonnull align 8 dereferenceable(17) %13, i32 noundef %340)
          to label %342 unwind label %62

342:                                              ; preds = %338
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %341, ptr align 8 %337, i64 16, i1 false), !tbaa.struct !14
  %343 = load i64, ptr %28, align 8, !tbaa !9
  %344 = add nsw i64 %343, 1
  store i64 %344, ptr %28, align 8, !tbaa !9
  br label %345

345:                                              ; preds = %342
  %346 = load i64, ptr %27, align 8, !tbaa !9
  %347 = add nsw i64 %346, 1
  %348 = load ptr, ptr %12, align 8, !tbaa !5
  %349 = invoke noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %348)
          to label %350 unwind label %62

350:                                              ; preds = %345
  %351 = srem i64 %347, %349
  store i64 %351, ptr %27, align 8, !tbaa !9
  br label %330, !llvm.loop !27

352:                                              ; preds = %330
  call void @_ZNSt20_List_const_iteratorI8TPPLPolyEC2ERKSt14_List_iteratorIS0_E(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(8) %10) #4
  %353 = getelementptr inbounds %"struct.std::_List_const_iterator", ptr %36, i32 0, i32 0
  %354 = load ptr, ptr %353, align 8
  %355 = call ptr @_ZNSt7__cxx114listI8TPPLPolySaIS1_EE5eraseESt20_List_const_iteratorIS1_E(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr %354) #4
  %356 = getelementptr inbounds %"struct.std::_List_iterator", ptr %37, i32 0, i32 0
  store ptr %355, ptr %356, align 8
  %357 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNKSt14_List_iteratorI8TPPLPolyEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #4
  %358 = invoke noundef nonnull align 8 dereferenceable(17) ptr @_ZN8TPPLPolyaSERKS_(ptr noundef nonnull align 8 dereferenceable(17) %357, ptr noundef nonnull align 8 dereferenceable(17) %13)
          to label %359 unwind label %62

359:                                              ; preds = %352
  %360 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNKSt14_List_iteratorI8TPPLPolyEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #4
  store ptr %360, ptr %11, align 8, !tbaa !5
  store i64 -1, ptr %21, align 8, !tbaa !9
  br label %361

361:                                              ; preds = %359, %294, %257, %220
  %362 = load i64, ptr %21, align 8, !tbaa !9
  %363 = add nsw i64 %362, 1
  store i64 %363, ptr %21, align 8, !tbaa !9
  br label %121, !llvm.loop !28

364:                                              ; preds = %125
  br label %365

365:                                              ; preds = %364
  %366 = call ptr @_ZNSt14_List_iteratorI8TPPLPolyEppEi(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef 0) #4
  %367 = getelementptr inbounds %"struct.std::_List_iterator", ptr %38, i32 0, i32 0
  store ptr %366, ptr %367, align 8
  br label %115, !llvm.loop !29

368:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #4
  %369 = call ptr @_ZNSt7__cxx114listI8TPPLPolySaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  %370 = getelementptr inbounds %"struct.std::_List_iterator", ptr %39, i32 0, i32 0
  store ptr %369, ptr %370, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %39, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #4
  br label %371

371:                                              ; preds = %379, %368
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #4
  %372 = call ptr @_ZNSt7__cxx114listI8TPPLPolySaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  %373 = getelementptr inbounds %"struct.std::_List_iterator", ptr %40, i32 0, i32 0
  store ptr %372, ptr %373, align 8
  %374 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorI8TPPLPolyES3_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %40) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #4
  br i1 %374, label %375, label %382

375:                                              ; preds = %371
  %376 = load ptr, ptr %7, align 8, !tbaa !5
  %377 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNKSt14_List_iteratorI8TPPLPolyEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #4
  invoke void @_ZNSt7__cxx114listI8TPPLPolySaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %376, ptr noundef nonnull align 8 dereferenceable(17) %377)
          to label %378 unwind label %62

378:                                              ; preds = %375
  br label %379

379:                                              ; preds = %378
  %380 = call ptr @_ZNSt14_List_iteratorI8TPPLPolyEppEi(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef 0) #4
  %381 = getelementptr inbounds %"struct.std::_List_iterator", ptr %41, i32 0, i32 0
  store ptr %380, ptr %381, align 8
  br label %371, !llvm.loop !30

382:                                              ; preds = %371
  store i32 1, ptr %4, align 4
  store i32 1, ptr %31, align 4
  br label %383

383:                                              ; preds = %382, %111, %105
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #4
  call void @_ZN8TPPLPolyD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %13) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @_ZNSt7__cxx1110_List_baseI8TPPLPolySaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #4
  %384 = load i32, ptr %4, align 4
  ret i32 %384

385:                                              ; preds = %62, %58
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @_ZNSt7__cxx1110_List_baseI8TPPLPolySaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #4
  br label %386

386:                                              ; preds = %385
  %387 = load ptr, ptr %14, align 8
  %388 = load i32, ptr %15, align 4
  %389 = insertvalue { ptr, i32 } poison, ptr %387, 0
  %390 = insertvalue { ptr, i32 } %389, i32 %388, 1
  resume { ptr, i32 } %390
}

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

declare void @_ZN8TPPLPolyC1Ev(ptr)

declare void @_ZN8TPPLPolyD1Ev(ptr)

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

!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 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{i64 0, i64 8, !5}
!14 = !{i64 0, i64 8, !15, i64 8, i64 8, !15}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"bool", !7, i64 0}
!19 = !{!20, !16, i64 0}
!20 = !{!"_ZTS9TPPLPoint", !16, i64 0, !16, i64 8}
!21 = !{!20, !16, i64 8}
!22 = distinct !{!22, !12}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = distinct !{!25, !12}
!26 = distinct !{!26, !12}
!27 = distinct !{!27, !12}
!28 = distinct !{!28, !12}
!29 = distinct !{!29, !12}
!30 = distinct !{!30, !12}


; 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::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<TPPLPoly, std::allocator<TPPLPoly>>::_List_impl" }
%"struct.std::__cxx11::_List_base<TPPLPoly, std::allocator<TPPLPoly>>::_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 }
%"struct.std::_List_iterator" = type { ptr }
%class.TPPLPoly = type <{ ptr, i64, i8, [7 x i8] }>
%struct.TPPLPoint = type { double, double }
%"struct.std::_List_const_iterator" = type { ptr }

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

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

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPolyixEi(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef) local_unnamed_addr #3 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN13TPPLPartition14Triangulate_ECEP8TPPLPolyPNSt7__cxx114listIS0_SaIS0_EEE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 2) i32 @_ZN13TPPLPartition18ConvexPartition_HMEP8TPPLPolyPNSt7__cxx114listIS0_SaIS0_EEE(ptr noundef nonnull align 1 dereferenceable(1) %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::__cxx11::list", align 8
  %5 = alloca %"struct.std::_List_iterator", align 8
  %6 = alloca %"struct.std::_List_iterator", align 8
  %7 = alloca %class.TPPLPoly, align 8
  %8 = alloca %struct.TPPLPoint, align 8
  %9 = alloca %struct.TPPLPoint, align 8
  %10 = alloca %struct.TPPLPoint, align 8
  %11 = alloca %"struct.std::_List_iterator", align 8
  %12 = alloca %"struct.std::_List_iterator", align 8
  %13 = alloca %"struct.std::_List_const_iterator", align 8
  %14 = alloca %"struct.std::_List_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #4
  call void @_ZNSt7__cxx114listI8TPPLPolySaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  call void @_ZNSt14_List_iteratorI8TPPLPolyEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  call void @_ZNSt14_List_iteratorI8TPPLPolyEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #4
  invoke void @_ZN8TPPLPolyC1Ev(ptr noundef nonnull align 8 dereferenceable(17) %7)
          to label %.peel.begin unwind label %25

.peel.begin:                                      ; preds = %3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #4
  %15 = call noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
  %.not.peel = icmp sgt i64 %15, 0
  br i1 %.not.peel, label %16, label %.critedge

16:                                               ; preds = %.peel.begin
  %17 = call noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
  %.0132.peel = add nsw i64 %17, -1
  %18 = call noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
  %19 = icmp ne i64 %18, 1
  %.0118.peel = zext i1 %19 to i64
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %1, i64 noundef %.0132.peel)
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %1, i64 noundef 0)
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %1, i64 noundef %.0118.peel)
  %23 = call noundef zeroext i1 @_ZN13TPPLPartition8IsReflexER9TPPLPointS1_S1_(ptr noundef nonnull align 1 dereferenceable(1) %0, ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(16) %22)
  br i1 %23, label %.loopexit210, label %.peel.next

.peel.next:                                       ; preds = %16, %27
  %.0104 = phi i64 [ %31, %27 ], [ 1, %16 ]
  %24 = call noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
  %.not = icmp slt i64 %.0104, %24
  br i1 %.not, label %27, label %.critedge

25:                                               ; preds = %3
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %149

.loopexit151:                                     ; preds = %.lr.ph204
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %._crit_edge, %110
  %lpad.loopexit155 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp:             ; preds = %.loopexit210, %.critedge
  %lpad.loopexit.split-lp156 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp:                               ; preds = %.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp, %.loopexit151
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit151 ], [ %lpad.loopexit155, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp156, %.loopexit.split-lp.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #4
  call void @_ZN8TPPLPolyD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %7) #4
  br label %149

27:                                               ; preds = %.peel.next
  %.0132 = add nsw i64 %.0104, -1
  %28 = call noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
  %29 = add nsw i64 %28, -1
  %30 = icmp eq i64 %.0104, %29
  %31 = add nuw nsw i64 %.0104, 1
  %.0118 = select i1 %30, i64 0, i64 %31
  %32 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %1, i64 noundef %.0132)
  %33 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %1, i64 noundef %.0104)
  %34 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %1, i64 noundef %.0118)
  %35 = call noundef zeroext i1 @_ZN13TPPLPartition8IsReflexER9TPPLPointS1_S1_(ptr noundef nonnull align 1 dereferenceable(1) %0, ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 8 dereferenceable(16) %34)
  br i1 %35, label %.loopexit210, label %.peel.next, !llvm.loop !5

.critedge:                                        ; preds = %.peel.next, %.peel.begin
  invoke void @_ZNSt7__cxx114listI8TPPLPolySaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %.loopexit unwind label %.loopexit.split-lp.loopexit.split-lp

.loopexit210:                                     ; preds = %27, %16
  %36 = invoke noundef i32 @_ZN13TPPLPartition14Triangulate_ECEP8TPPLPolyPNSt7__cxx114listIS0_SaIS0_EEE(ptr noundef nonnull align 1 dereferenceable(1) %0, ptr noundef nonnull %1, ptr noundef nonnull %4)
          to label %37 unwind label %.loopexit.split-lp.loopexit.split-lp

37:                                               ; preds = %.loopexit210
  %.not134 = icmp eq i32 %36, 0
  br i1 %.not134, label %.loopexit, label %38

38:                                               ; preds = %37
  %39 = call ptr @_ZNSt7__cxx114listI8TPPLPolySaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  store ptr %39, ptr %5, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  %40 = call ptr @_ZNSt7__cxx114listI8TPPLPolySaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  store ptr %40, ptr %11, align 8
  %41 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorI8TPPLPolyES3_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  br i1 %41, label %.lr.ph201, label %._crit_edge202

.lr.ph201:                                        ; preds = %38, %._crit_edge193
  %42 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNKSt14_List_iteratorI8TPPLPolyEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  %43 = call noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %42)
  %44 = icmp sgt i64 %43, 0
  br i1 %44, label %.lr.ph192, label %._crit_edge193

.lr.ph192:                                        ; preds = %.lr.ph201, %.loopexit154
  %.099190 = phi ptr [ %.1, %.loopexit154 ], [ %42, %.lr.ph201 ]
  %.1105188 = phi i64 [ %135, %.loopexit154 ], [ 0, %.lr.ph201 ]
  %45 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %.099190, i64 noundef %.1105188)
  %.sroa.058.0.copyload = load double, ptr %45, align 8, !tbaa !12
  %.sroa.559.0..sroa_idx = getelementptr inbounds i8, ptr %45, i64 8
  %.sroa.559.0.copyload = load double, ptr %.sroa.559.0..sroa_idx, align 8, !tbaa !12
  %46 = add nsw i64 %.1105188, 1
  %47 = call noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %.099190)
  %48 = srem i64 %46, %47
  %49 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %.099190, i64 noundef %48)
  %.sroa.057.0.copyload = load double, ptr %49, align 8, !tbaa !12
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %49, i64 8
  %.sroa.5.0.copyload = load double, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !12
  %50 = load i64, ptr %5, align 8, !tbaa !8
  store i64 %50, ptr %6, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #4
  %51 = call ptr @_ZNSt7__cxx114listI8TPPLPolySaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  store ptr %51, ptr %12, align 8
  %52 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorI8TPPLPolyES3_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #4
  br i1 %52, label %.lr.ph173, label %.loopexit154

.lr.ph173:                                        ; preds = %.lr.ph192, %.loopexit152
  %53 = call noundef zeroext i1 @_ZSteqRKSt14_List_iteratorI8TPPLPolyES3_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #4
  br i1 %53, label %.loopexit152, label %54

54:                                               ; preds = %.lr.ph173
  %55 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNKSt14_List_iteratorI8TPPLPolyEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #4
  %56 = call noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %55)
  %57 = icmp sgt i64 %56, 0
  br i1 %57, label %.lr.ph, label %.loopexit152

.lr.ph:                                           ; preds = %54, %78
  %.3129167 = phi i64 [ %79, %78 ], [ 0, %54 ]
  %58 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %55, i64 noundef %.3129167)
  %59 = load double, ptr %58, align 8, !tbaa !14
  %60 = fcmp une double %.sroa.057.0.copyload, %59
  br i1 %60, label %78, label %61

61:                                               ; preds = %.lr.ph
  %62 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %55, i64 noundef %.3129167)
  %63 = getelementptr inbounds i8, ptr %62, i64 8
  %64 = load double, ptr %63, align 8, !tbaa !16
  %65 = fcmp une double %.sroa.5.0.copyload, %64
  br i1 %65, label %78, label %66

66:                                               ; preds = %61
  %67 = add nuw nsw i64 %.3129167, 1
  %68 = call noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %55)
  %69 = srem i64 %67, %68
  %70 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %55, i64 noundef %69)
  %71 = load double, ptr %70, align 8, !tbaa !14
  %72 = fcmp une double %.sroa.058.0.copyload, %71
  br i1 %72, label %78, label %73

73:                                               ; preds = %66
  %74 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %55, i64 noundef %69)
  %75 = getelementptr inbounds i8, ptr %74, i64 8
  %76 = load double, ptr %75, align 8, !tbaa !16
  %77 = fcmp une double %.sroa.559.0.copyload, %76
  br i1 %77, label %78, label %.thread140

78:                                               ; preds = %66, %73, %.lr.ph, %61
  %79 = add nuw nsw i64 %.3129167, 1
  %80 = call noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %55)
  %81 = icmp slt i64 %79, %80
  br i1 %81, label %.lr.ph, label %.loopexit152, !llvm.loop !17

.loopexit152:                                     ; preds = %78, %54, %.lr.ph173
  %82 = call ptr @_ZNSt14_List_iteratorI8TPPLPolyEppEi(ptr noundef nonnull align 8 dereferenceable(8) %6, i32 noundef 0) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #4
  %83 = call ptr @_ZNSt7__cxx114listI8TPPLPolySaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  store ptr %83, ptr %12, align 8
  %84 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorI8TPPLPolyES3_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #4
  br i1 %84, label %.lr.ph173, label %.loopexit154, !llvm.loop !18

.thread140:                                       ; preds = %73
  %85 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %.099190, i64 noundef %.1105188)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %85, i64 16, i1 false), !tbaa.struct !19
  %86 = icmp eq i64 %.1105188, 0
  br i1 %86, label %87, label %89

87:                                               ; preds = %.thread140
  %88 = call noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %.099190)
  br label %89

89:                                               ; preds = %.thread140, %87
  %.1119.in = phi i64 [ %88, %87 ], [ %.1105188, %.thread140 ]
  %.1119 = add nsw i64 %.1119.in, -1
  %90 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %.099190, i64 noundef %.1119)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %90, i64 16, i1 false), !tbaa.struct !19
  %91 = call noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %55)
  %92 = add nsw i64 %91, -1
  %93 = icmp eq i64 %69, %92
  %94 = add nuw nsw i64 %69, 1
  %.0116 = select i1 %93, i64 0, i64 %94
  %95 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %55, i64 noundef %.0116)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %95, i64 16, i1 false), !tbaa.struct !19
  %96 = call noundef zeroext i1 @_ZN13TPPLPartition8IsConvexER9TPPLPointS1_S1_(ptr noundef nonnull align 1 dereferenceable(1) %0, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %10)
  br i1 %96, label %97, label %.loopexit154

97:                                               ; preds = %89
  %98 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %.099190, i64 noundef %48)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %98, i64 16, i1 false), !tbaa.struct !19
  %99 = call noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %.099190)
  %100 = add nsw i64 %99, -1
  %101 = icmp eq i64 %48, %100
  %102 = add nsw i64 %48, 1
  %.2120 = select i1 %101, i64 0, i64 %102
  %103 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %.099190, i64 noundef %.2120)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %103, i64 16, i1 false), !tbaa.struct !19
  %104 = icmp eq i64 %.3129167, 0
  br i1 %104, label %105, label %107

105:                                              ; preds = %97
  %106 = call noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %55)
  br label %107

107:                                              ; preds = %97, %105
  %.1117.in = phi i64 [ %106, %105 ], [ %.3129167, %97 ]
  %.1117 = add nsw i64 %.1117.in, -1
  %108 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %55, i64 noundef %.1117)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %108, i64 16, i1 false), !tbaa.struct !19
  %109 = call noundef zeroext i1 @_ZN13TPPLPartition8IsConvexER9TPPLPointS1_S1_(ptr noundef nonnull align 1 dereferenceable(1) %0, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %10)
  br i1 %109, label %110, label %.loopexit154

110:                                              ; preds = %107
  %111 = call noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %.099190)
  %112 = call noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %55)
  %113 = add i64 %111, -2
  %114 = add i64 %113, %112
  invoke void @_ZN8TPPLPoly4InitEl(ptr noundef nonnull align 8 dereferenceable(17) %7, i64 noundef %114)
          to label %.preheader153 unwind label %.loopexit.split-lp.loopexit

.preheader153:                                    ; preds = %110
  %.not135177 = icmp eq i64 %48, %.1105188
  br i1 %.not135177, label %.preheader, label %.lr.ph180

.preheader:                                       ; preds = %.lr.ph180, %.preheader153
  %.0112.lcssa = phi i64 [ 0, %.preheader153 ], [ %118, %.lr.ph180 ]
  %.not136182 = icmp eq i64 %69, %.3129167
  br i1 %.not136182, label %._crit_edge, label %.lr.ph185

.lr.ph180:                                        ; preds = %.preheader153, %.lr.ph180
  %.0112179 = phi i64 [ %118, %.lr.ph180 ], [ 0, %.preheader153 ]
  %.0114178 = phi i64 [ %121, %.lr.ph180 ], [ %48, %.preheader153 ]
  %115 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %.099190, i64 noundef %.0114178)
  %116 = trunc i64 %.0112179 to i32
  %117 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPolyixEi(ptr noundef nonnull align 8 dereferenceable(17) %7, i32 noundef %116)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %117, ptr noundef nonnull align 8 dereferenceable(16) %115, i64 16, i1 false), !tbaa.struct !19
  %118 = add nuw nsw i64 %.0112179, 1
  %119 = add nsw i64 %.0114178, 1
  %120 = call noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %.099190)
  %121 = srem i64 %119, %120
  %.not135 = icmp eq i64 %121, %.1105188
  br i1 %.not135, label %.preheader, label %.lr.ph180, !llvm.loop !20

.lr.ph185:                                        ; preds = %.preheader, %.lr.ph185
  %.1113184 = phi i64 [ %125, %.lr.ph185 ], [ %.0112.lcssa, %.preheader ]
  %.1115183 = phi i64 [ %128, %.lr.ph185 ], [ %69, %.preheader ]
  %122 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPoly8GetPointEl(ptr noundef nonnull align 8 dereferenceable(17) %55, i64 noundef %.1115183)
  %123 = trunc i64 %.1113184 to i32
  %124 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8TPPLPolyixEi(ptr noundef nonnull align 8 dereferenceable(17) %7, i32 noundef %123)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %124, ptr noundef nonnull align 8 dereferenceable(16) %122, i64 16, i1 false), !tbaa.struct !19
  %125 = add nuw nsw i64 %.1113184, 1
  %126 = add nsw i64 %.1115183, 1
  %127 = call noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %55)
  %128 = srem i64 %126, %127
  %.not136 = icmp eq i64 %128, %.3129167
  br i1 %.not136, label %._crit_edge, label %.lr.ph185, !llvm.loop !21

._crit_edge:                                      ; preds = %.lr.ph185, %.preheader
  call void @_ZNSt20_List_const_iteratorI8TPPLPolyEC2ERKSt14_List_iteratorIS0_E(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %6) #4
  %129 = load ptr, ptr %13, align 8
  %130 = call ptr @_ZNSt7__cxx114listI8TPPLPolySaIS1_EE5eraseESt20_List_const_iteratorIS1_E(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr %129) #4
  %131 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNKSt14_List_iteratorI8TPPLPolyEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  %132 = invoke noundef nonnull align 8 dereferenceable(17) ptr @_ZN8TPPLPolyaSERKS_(ptr noundef nonnull align 8 dereferenceable(17) %131, ptr noundef nonnull align 8 dereferenceable(17) %7)
          to label %133 unwind label %.loopexit.split-lp.loopexit

133:                                              ; preds = %._crit_edge
  %134 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNKSt14_List_iteratorI8TPPLPolyEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  br label %.loopexit154

.loopexit154:                                     ; preds = %.loopexit152, %.lr.ph192, %107, %89, %133
  %.2106 = phi i64 [ -1, %133 ], [ %.1105188, %107 ], [ %.1105188, %89 ], [ %.1105188, %.lr.ph192 ], [ %.1105188, %.loopexit152 ]
  %.1 = phi ptr [ %134, %133 ], [ %.099190, %107 ], [ %.099190, %89 ], [ %.099190, %.lr.ph192 ], [ %.099190, %.loopexit152 ]
  %135 = add nsw i64 %.2106, 1
  %136 = call noundef i64 @_ZN8TPPLPoly12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(17) %.1)
  %137 = icmp slt i64 %135, %136
  br i1 %137, label %.lr.ph192, label %._crit_edge193, !llvm.loop !22

._crit_edge193:                                   ; preds = %.loopexit154, %.lr.ph201
  %138 = call ptr @_ZNSt14_List_iteratorI8TPPLPolyEppEi(ptr noundef nonnull align 8 dereferenceable(8) %5, i32 noundef 0) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  %139 = call ptr @_ZNSt7__cxx114listI8TPPLPolySaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  store ptr %139, ptr %11, align 8
  %140 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorI8TPPLPolyES3_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  br i1 %140, label %.lr.ph201, label %._crit_edge202, !llvm.loop !23

._crit_edge202:                                   ; preds = %._crit_edge193, %38
  %141 = call ptr @_ZNSt7__cxx114listI8TPPLPolySaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  store ptr %141, ptr %5, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #4
  %142 = call ptr @_ZNSt7__cxx114listI8TPPLPolySaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  store ptr %142, ptr %14, align 8
  %143 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorI8TPPLPolyES3_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #4
  br i1 %143, label %.lr.ph204, label %.loopexit

.lr.ph204:                                        ; preds = %._crit_edge202, %145
  %144 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNKSt14_List_iteratorI8TPPLPolyEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  invoke void @_ZNSt7__cxx114listI8TPPLPolySaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(17) %144)
          to label %145 unwind label %.loopexit151

145:                                              ; preds = %.lr.ph204
  %146 = call ptr @_ZNSt14_List_iteratorI8TPPLPolyEppEi(ptr noundef nonnull align 8 dereferenceable(8) %5, i32 noundef 0) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #4
  %147 = call ptr @_ZNSt7__cxx114listI8TPPLPolySaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  store ptr %147, ptr %14, align 8
  %148 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorI8TPPLPolyES3_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #4
  br i1 %148, label %.lr.ph204, label %.loopexit, !llvm.loop !24

.loopexit:                                        ; preds = %145, %._crit_edge202, %37, %.critedge
  %.0 = phi i32 [ 1, %.critedge ], [ 0, %37 ], [ 1, %._crit_edge202 ], [ 1, %145 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #4
  call void @_ZN8TPPLPolyD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %7) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @_ZNSt7__cxx1110_List_baseI8TPPLPolySaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4
  ret i32 %.0

149:                                              ; preds = %.loopexit.split-lp, %25
  %.pn = phi { ptr, i32 } [ %lpad.phi, %.loopexit.split-lp ], [ %26, %25 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @_ZNSt7__cxx1110_List_baseI8TPPLPolySaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4
  resume { ptr, i32 } %.pn
}

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

declare void @_ZN8TPPLPolyC1Ev(ptr) local_unnamed_addr

declare void @_ZN8TPPLPolyD1Ev(ptr) local_unnamed_addr

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

!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 = distinct !{!5, !6, !7}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!"llvm.loop.peeled.count", i32 1}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!13, !13, i64 0}
!13 = !{!"double", !10, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"_ZTS9TPPLPoint", !13, i64 0, !13, i64 8}
!16 = !{!15, !13, i64 8}
!17 = distinct !{!17, !6}
!18 = distinct !{!18, !6}
!19 = !{i64 0, i64 8, !12, i64 8, i64 8, !12}
!20 = distinct !{!20, !6}
!21 = distinct !{!21, !6}
!22 = distinct !{!22, !6}
!23 = distinct !{!23, !6}
!24 = distinct !{!24, !6}


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