; LLVM IR from PaddlePaddle/Serving :: core/predictor/tools/ocrtools/clipper.ll (ZN10ClipperLib7Clipper18BuildIntersectListEx)

; 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"

%"struct.ClipperLib::IntPoint" = type { i64, i64 }
%"class.ClipperLib::ClipperBase" = type { ptr, %"class.__gnu_cxx::__normal_iterator", %"class.std::vector.5", i8, %"class.std::vector.10", i8, i8, %"class.std::vector.15", ptr, %"class.std::priority_queue" }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<ClipperLib::LocalMinimum, std::allocator<ClipperLib::LocalMinimum>>::_Vector_impl" }
%"struct.std::_Vector_base<ClipperLib::LocalMinimum, std::allocator<ClipperLib::LocalMinimum>>::_Vector_impl" = type { %"struct.std::_Vector_base<ClipperLib::LocalMinimum, std::allocator<ClipperLib::LocalMinimum>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ClipperLib::LocalMinimum, std::allocator<ClipperLib::LocalMinimum>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<ClipperLib::TEdge *, std::allocator<ClipperLib::TEdge *>>::_Vector_impl" }
%"struct.std::_Vector_base<ClipperLib::TEdge *, std::allocator<ClipperLib::TEdge *>>::_Vector_impl" = type { %"struct.std::_Vector_base<ClipperLib::TEdge *, std::allocator<ClipperLib::TEdge *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ClipperLib::TEdge *, std::allocator<ClipperLib::TEdge *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<ClipperLib::OutRec *, std::allocator<ClipperLib::OutRec *>>::_Vector_impl" }
%"struct.std::_Vector_base<ClipperLib::OutRec *, std::allocator<ClipperLib::OutRec *>>::_Vector_impl" = type { %"struct.std::_Vector_base<ClipperLib::OutRec *, std::allocator<ClipperLib::OutRec *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ClipperLib::OutRec *, std::allocator<ClipperLib::OutRec *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::priority_queue" = type <{ %"class.std::vector.20", [8 x i8] }>
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.ClipperLib::Clipper" = type <{ ptr, %"class.std::vector.33", %"class.std::vector.33", %"class.std::vector.38", i32, [4 x i8], %"class.std::__cxx11::list", ptr, i8, [3 x i8], i32, i32, i8, i8, i8, i8, %"class.ClipperLib::ClipperBase" }>
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<ClipperLib::Join *, std::allocator<ClipperLib::Join *>>::_Vector_impl" }
%"struct.std::_Vector_base<ClipperLib::Join *, std::allocator<ClipperLib::Join *>>::_Vector_impl" = type { %"struct.std::_Vector_base<ClipperLib::Join *, std::allocator<ClipperLib::Join *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ClipperLib::Join *, std::allocator<ClipperLib::Join *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.38" = type { %"struct.std::_Vector_base.39" }
%"struct.std::_Vector_base.39" = type { %"struct.std::_Vector_base<ClipperLib::IntersectNode *, std::allocator<ClipperLib::IntersectNode *>>::_Vector_impl" }
%"struct.std::_Vector_base<ClipperLib::IntersectNode *, std::allocator<ClipperLib::IntersectNode *>>::_Vector_impl" = type { %"struct.std::_Vector_base<ClipperLib::IntersectNode *, std::allocator<ClipperLib::IntersectNode *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ClipperLib::IntersectNode *, std::allocator<ClipperLib::IntersectNode *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<long long, std::allocator<long long>>::_List_impl" }
%"struct.std::__cxx11::_List_base<long long, std::allocator<long long>>::_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.ClipperLib::TEdge" = type { %"struct.ClipperLib::IntPoint", %"struct.ClipperLib::IntPoint", %"struct.ClipperLib::IntPoint", double, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%"struct.ClipperLib::IntersectNode" = type { ptr, ptr, %"struct.ClipperLib::IntPoint" }

; 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: 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 void @_ZN10ClipperLib14IntersectPointERNS_5TEdgeES1_RNS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef nonnull align 8 dereferenceable(136), ptr noundef nonnull align 8 dereferenceable(16)) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN10ClipperLib4TopXERNS_5TEdgeEx(ptr noundef nonnull align 8 dereferenceable(136), i64 noundef) #3

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10ClipperLib8IntPointC2Exx(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i64 noundef) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10ClipperLib7Clipper18SwapPositionsInSELEPNS_5TEdgeES2_(ptr noundef nonnull align 8 dereferenceable(135), ptr noundef, ptr noundef) #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10ClipperLib7Clipper18BuildIntersectListEx(ptr noundef nonnull align 8 dereferenceable(135) %0, i64 noundef %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca ptr, align 8
  %8 = alloca %"struct.ClipperLib::IntPoint", align 8
  %9 = alloca %"struct.ClipperLib::IntPoint", align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i64 %1, ptr %4, align 8, !tbaa !9
  %13 = load ptr, ptr %3, align 8
  %14 = load ptr, ptr %13, align 8, !tbaa !11
  %15 = getelementptr i8, ptr %14, i64 -24
  %16 = load i64, ptr %15, align 8
  %17 = getelementptr inbounds i8, ptr %13, i64 %16
  %18 = getelementptr inbounds %"class.ClipperLib::ClipperBase", ptr %17, i32 0, i32 8
  %19 = load ptr, ptr %18, align 8, !tbaa !13
  %20 = icmp ne ptr %19, null
  br i1 %20, label %22, label %21

21:                                               ; preds = %2
  br label %126

22:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %23 = load ptr, ptr %13, align 8, !tbaa !11
  %24 = getelementptr i8, ptr %23, i64 -24
  %25 = load i64, ptr %24, align 8
  %26 = getelementptr inbounds i8, ptr %13, i64 %25
  %27 = getelementptr inbounds %"class.ClipperLib::ClipperBase", ptr %26, i32 0, i32 8
  %28 = load ptr, ptr %27, align 8, !tbaa !13
  store ptr %28, ptr %5, align 8, !tbaa !5
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %"class.ClipperLib::Clipper", ptr %13, i32 0, i32 7
  store ptr %29, ptr %30, align 8, !tbaa !35
  br label %31

31:                                               ; preds = %34, %22
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = icmp ne ptr %32, null
  br i1 %33, label %34, label %54

34:                                               ; preds = %31
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %35, i32 0, i32 14
  %37 = load ptr, ptr %36, align 8, !tbaa !53
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %38, i32 0, i32 16
  store ptr %37, ptr %39, align 8, !tbaa !60
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %40, i32 0, i32 13
  %42 = load ptr, ptr %41, align 8, !tbaa !61
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %43, i32 0, i32 15
  store ptr %42, ptr %44, align 8, !tbaa !62
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = load i64, ptr %4, align 8, !tbaa !9
  %47 = call noundef i64 @_ZN10ClipperLib4TopXERNS_5TEdgeEx(ptr noundef nonnull align 8 dereferenceable(136) %45, i64 noundef %46)
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %48, i32 0, i32 1
  %50 = getelementptr inbounds %"struct.ClipperLib::IntPoint", ptr %49, i32 0, i32 0
  store i64 %47, ptr %50, align 8, !tbaa !63
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %51, i32 0, i32 13
  %53 = load ptr, ptr %52, align 8, !tbaa !61
  store ptr %53, ptr %5, align 8, !tbaa !5
  br label %31, !llvm.loop !64

54:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #7
  br label %55

55:                                               ; preds = %121, %54
  store i8 0, ptr %6, align 1, !tbaa !66
  %56 = getelementptr inbounds %"class.ClipperLib::Clipper", ptr %13, i32 0, i32 7
  %57 = load ptr, ptr %56, align 8, !tbaa !35
  store ptr %57, ptr %5, align 8, !tbaa !5
  br label %58

58:                                               ; preds = %108, %55
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %59, i32 0, i32 15
  %61 = load ptr, ptr %60, align 8, !tbaa !62
  %62 = icmp ne ptr %61, null
  br i1 %62, label %63, label %109

63:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %64, i32 0, i32 15
  %66 = load ptr, ptr %65, align 8, !tbaa !62
  store ptr %66, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #7
  call void @_ZN10ClipperLib8IntPointC2Exx(ptr noundef nonnull align 8 dereferenceable(16) %8, i64 noundef 0, i64 noundef 0)
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %67, i32 0, i32 1
  %69 = getelementptr inbounds %"struct.ClipperLib::IntPoint", ptr %68, i32 0, i32 0
  %70 = load i64, ptr %69, align 8, !tbaa !63
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  %72 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %71, i32 0, i32 1
  %73 = getelementptr inbounds %"struct.ClipperLib::IntPoint", ptr %72, i32 0, i32 0
  %74 = load i64, ptr %73, align 8, !tbaa !63
  %75 = icmp sgt i64 %70, %74
  br i1 %75, label %76, label %106

76:                                               ; preds = %63
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN10ClipperLib14IntersectPointERNS_5TEdgeES1_RNS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(136) %77, ptr noundef nonnull align 8 dereferenceable(136) %78, ptr noundef nonnull align 8 dereferenceable(16) %8)
  %79 = getelementptr inbounds %"struct.ClipperLib::IntPoint", ptr %8, i32 0, i32 1
  %80 = load i64, ptr %79, align 8, !tbaa !67
  %81 = load i64, ptr %4, align 8, !tbaa !9
  %82 = icmp slt i64 %80, %81
  br i1 %82, label %83, label %88

83:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #7
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = load i64, ptr %4, align 8, !tbaa !9
  %86 = call noundef i64 @_ZN10ClipperLib4TopXERNS_5TEdgeEx(ptr noundef nonnull align 8 dereferenceable(136) %84, i64 noundef %85)
  %87 = load i64, ptr %4, align 8, !tbaa !9
  call void @_ZN10ClipperLib8IntPointC2Exx(ptr noundef nonnull align 8 dereferenceable(16) %9, i64 noundef %86, i64 noundef %87)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %9, i64 16, i1 false), !tbaa.struct !68
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  br label %88

88:                                               ; preds = %83, %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %89 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #8
  invoke void @_ZN10ClipperLib13IntersectNodeC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %89)
          to label %90 unwind label %102

90:                                               ; preds = %88
  store ptr %89, ptr %10, align 8, !tbaa !5
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = load ptr, ptr %10, align 8, !tbaa !5
  %93 = getelementptr inbounds %"struct.ClipperLib::IntersectNode", ptr %92, i32 0, i32 0
  store ptr %91, ptr %93, align 8, !tbaa !69
  %94 = load ptr, ptr %7, align 8, !tbaa !5
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  %96 = getelementptr inbounds %"struct.ClipperLib::IntersectNode", ptr %95, i32 0, i32 1
  store ptr %94, ptr %96, align 8, !tbaa !71
  %97 = load ptr, ptr %10, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.ClipperLib::IntersectNode", ptr %97, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %98, ptr align 8 %8, i64 16, i1 false), !tbaa.struct !68
  %99 = getelementptr inbounds %"class.ClipperLib::Clipper", ptr %13, i32 0, i32 3
  call void @_ZNSt6vectorIPN10ClipperLib13IntersectNodeESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %99, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN10ClipperLib7Clipper18SwapPositionsInSELEPNS_5TEdgeES2_(ptr noundef nonnull align 8 dereferenceable(135) %13, ptr noundef %100, ptr noundef %101)
  store i8 1, ptr %6, align 1, !tbaa !66
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %108

102:                                              ; preds = %88
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %11, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %12, align 4
  call void @_ZdlPvm(ptr noundef %89, i64 noundef 32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %127

106:                                              ; preds = %63
  %107 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %107, ptr %5, align 8, !tbaa !5
  br label %108

108:                                              ; preds = %106, %90
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  br label %58, !llvm.loop !72

109:                                              ; preds = %58
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %110, i32 0, i32 16
  %112 = load ptr, ptr %111, align 8, !tbaa !60
  %113 = icmp ne ptr %112, null
  br i1 %113, label %114, label %119

114:                                              ; preds = %109
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %115, i32 0, i32 16
  %117 = load ptr, ptr %116, align 8, !tbaa !60
  %118 = getelementptr inbounds %"struct.ClipperLib::TEdge", ptr %117, i32 0, i32 15
  store ptr null, ptr %118, align 8, !tbaa !62
  br label %120

119:                                              ; preds = %109
  br label %124

120:                                              ; preds = %114
  br label %121

121:                                              ; preds = %120
  %122 = load i8, ptr %6, align 1, !tbaa !66, !range !73, !noundef !74
  %123 = trunc i8 %122 to i1
  br i1 %123, label %55, label %124, !llvm.loop !75

124:                                              ; preds = %121, %119
  %125 = getelementptr inbounds %"class.ClipperLib::Clipper", ptr %13, i32 0, i32 7
  store ptr null, ptr %125, align 8, !tbaa !35
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %126

126:                                              ; preds = %124, %21
  ret void

127:                                              ; preds = %102
  %128 = load ptr, ptr %11, align 8
  %129 = load i32, ptr %12, align 4
  %130 = insertvalue { ptr, i32 } poison, ptr %128, 0
  %131 = insertvalue { ptr, i32 } %130, i32 %129, 1
  resume { ptr, i32 } %131
}

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { builtin 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 long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !6, i64 104}
!14 = !{!"_ZTSN10ClipperLib11ClipperBaseE", !15, i64 8, !16, i64 16, !20, i64 40, !21, i64 48, !20, i64 72, !20, i64 73, !25, i64 80, !6, i64 104, !29, i64 112}
!15 = !{!"_ZTSN9__gnu_cxx17__normal_iteratorIPN10ClipperLib12LocalMinimumESt6vectorIS2_SaIS2_EEEE", !6, i64 0}
!16 = !{!"_ZTSSt6vectorIN10ClipperLib12LocalMinimumESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN10ClipperLib12LocalMinimumESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN10ClipperLib12LocalMinimumESaIS1_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN10ClipperLib12LocalMinimumESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"bool", !7, i64 0}
!21 = !{!"_ZTSSt6vectorIPN10ClipperLib5TEdgeESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIPN10ClipperLib5TEdgeESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib5TEdgeESaIS2_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib5TEdgeESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSSt6vectorIPN10ClipperLib6OutRecESaIS2_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIPN10ClipperLib6OutRecESaIS2_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib6OutRecESaIS2_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib6OutRecESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"_ZTSSt14priority_queueIxSt6vectorIxSaIxEESt4lessIxEE", !30, i64 0, !34, i64 24}
!30 = !{!"_ZTSSt6vectorIxSaIxEE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIxSaIxEE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIxSaIxEE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIxSaIxEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!"_ZTSSt4lessIxE"}
!35 = !{!36, !6, i64 112}
!36 = !{!"_ZTSN10ClipperLib7ClipperE", !37, i64 8, !37, i64 32, !41, i64 56, !45, i64 80, !46, i64 88, !6, i64 112, !20, i64 120, !52, i64 124, !52, i64 128, !20, i64 132, !20, i64 133, !20, i64 134}
!37 = !{!"_ZTSSt6vectorIPN10ClipperLib4JoinESaIS2_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIPN10ClipperLib4JoinESaIS2_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib4JoinESaIS2_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib4JoinESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!"_ZTSSt6vectorIPN10ClipperLib13IntersectNodeESaIS2_EE", !42, i64 0}
!42 = !{!"_ZTSSt12_Vector_baseIPN10ClipperLib13IntersectNodeESaIS2_EE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib13IntersectNodeESaIS2_EE12_Vector_implE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib13IntersectNodeESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!45 = !{!"_ZTSN10ClipperLib8ClipTypeE", !7, i64 0}
!46 = !{!"_ZTSNSt7__cxx114listIxSaIxEEE", !47, i64 0}
!47 = !{!"_ZTSNSt7__cxx1110_List_baseIxSaIxEEE", !48, i64 0}
!48 = !{!"_ZTSNSt7__cxx1110_List_baseIxSaIxEE10_List_implE", !49, i64 0}
!49 = !{!"_ZTSNSt8__detail17_List_node_headerE", !50, i64 0, !51, i64 16}
!50 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!51 = !{!"long", !7, i64 0}
!52 = !{!"_ZTSN10ClipperLib12PolyFillTypeE", !7, i64 0}
!53 = !{!54, !6, i64 112}
!54 = !{!"_ZTSN10ClipperLib5TEdgeE", !55, i64 0, !55, i64 16, !55, i64 32, !56, i64 48, !57, i64 56, !58, i64 60, !59, i64 64, !59, i64 68, !59, i64 72, !59, i64 76, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128}
!55 = !{!"_ZTSN10ClipperLib8IntPointE", !10, i64 0, !10, i64 8}
!56 = !{!"double", !7, i64 0}
!57 = !{!"_ZTSN10ClipperLib8PolyTypeE", !7, i64 0}
!58 = !{!"_ZTSN10ClipperLib8EdgeSideE", !7, i64 0}
!59 = !{!"int", !7, i64 0}
!60 = !{!54, !6, i64 128}
!61 = !{!54, !6, i64 104}
!62 = !{!54, !6, i64 120}
!63 = !{!54, !10, i64 16}
!64 = distinct !{!64, !65}
!65 = !{!"llvm.loop.mustprogress"}
!66 = !{!20, !20, i64 0}
!67 = !{!55, !10, i64 8}
!68 = !{i64 0, i64 8, !9, i64 8, i64 8, !9}
!69 = !{!70, !6, i64 0}
!70 = !{!"_ZTSN10ClipperLib13IntersectNodeE", !6, i64 0, !6, i64 8, !55, i64 16}
!71 = !{!70, !6, i64 8}
!72 = distinct !{!72, !65}
!73 = !{i8 0, i8 2}
!74 = !{}
!75 = distinct !{!75, !65}


; 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"

%"struct.ClipperLib::IntPoint" = type { i64, i64 }

; 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 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 void @_ZN10ClipperLib14IntersectPointERNS_5TEdgeES1_RNS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef nonnull align 8 dereferenceable(136), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN10ClipperLib4TopXERNS_5TEdgeEx(ptr noundef nonnull align 8 dereferenceable(136), i64 noundef) local_unnamed_addr #3

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10ClipperLib8IntPointC2Exx(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i64 noundef) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10ClipperLib7Clipper18SwapPositionsInSELEPNS_5TEdgeES2_(ptr noundef nonnull align 8 dereferenceable(135), ptr noundef, ptr noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10ClipperLib7Clipper18BuildIntersectListEx(ptr noundef nonnull align 8 dereferenceable(135) %0, i64 noundef %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.ClipperLib::IntPoint", align 8
  %4 = alloca %"struct.ClipperLib::IntPoint", align 8
  %5 = alloca ptr, align 8
  %6 = load ptr, ptr %0, align 8, !tbaa !5
  %7 = getelementptr i8, ptr %6, i64 -24
  %8 = load i64, ptr %7, align 8
  %9 = getelementptr inbounds i8, ptr %0, i64 %8
  %10 = getelementptr inbounds i8, ptr %9, i64 104
  %11 = load ptr, ptr %10, align 8, !tbaa !8
  %.not = icmp eq ptr %11, null
  br i1 %.not, label %55, label %12

12:                                               ; preds = %2
  %13 = getelementptr inbounds i8, ptr %0, i64 112
  store ptr %11, ptr %13, align 8, !tbaa !32
  br label %16

.preheader:                                       ; preds = %16
  %14 = getelementptr inbounds i8, ptr %3, i64 8
  %15 = getelementptr inbounds i8, ptr %0, i64 56
  br label %23

16:                                               ; preds = %12, %16
  %.041 = phi ptr [ %11, %12 ], [ %22, %16 ]
  %17 = getelementptr inbounds i8, ptr %.041, i64 104
  %18 = getelementptr inbounds i8, ptr %.041, i64 120
  %19 = load <2 x ptr>, ptr %17, align 8, !tbaa !50
  store <2 x ptr> %19, ptr %18, align 8, !tbaa !50
  %20 = tail call noundef i64 @_ZN10ClipperLib4TopXERNS_5TEdgeEx(ptr noundef nonnull align 8 dereferenceable(136) %.041, i64 noundef %1)
  %21 = getelementptr inbounds i8, ptr %.041, i64 16
  store i64 %20, ptr %21, align 8, !tbaa !51
  %22 = load ptr, ptr %17, align 8, !tbaa !59
  %.not36 = icmp eq ptr %22, null
  br i1 %.not36, label %.preheader, label %16, !llvm.loop !60

23:                                               ; preds = %.preheader, %53
  %24 = load ptr, ptr %13, align 8, !tbaa !32
  %25 = getelementptr inbounds i8, ptr %24, i64 120
  %26 = load ptr, ptr %25, align 8, !tbaa !62
  %.not3742 = icmp eq ptr %26, null
  br i1 %.not3742, label %._crit_edge.thread, label %.lr.ph

.lr.ph:                                           ; preds = %23, %45
  %27 = phi ptr [ %47, %45 ], [ %26, %23 ]
  %.144 = phi ptr [ %.2, %45 ], [ %24, %23 ]
  %.03043 = phi i1 [ %.131, %45 ], [ false, %23 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  call void @_ZN10ClipperLib8IntPointC2Exx(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 noundef 0, i64 noundef 0)
  %28 = getelementptr inbounds i8, ptr %.144, i64 16
  %29 = load i64, ptr %28, align 8, !tbaa !51
  %30 = getelementptr inbounds i8, ptr %27, i64 16
  %31 = load i64, ptr %30, align 8, !tbaa !51
  %32 = icmp sgt i64 %29, %31
  br i1 %32, label %33, label %45

33:                                               ; preds = %.lr.ph
  call void @_ZN10ClipperLib14IntersectPointERNS_5TEdgeES1_RNS_8IntPointE(ptr noundef nonnull align 8 dereferenceable(136) %.144, ptr noundef nonnull align 8 dereferenceable(136) %27, ptr noundef nonnull align 8 dereferenceable(16) %3)
  %34 = load i64, ptr %14, align 8, !tbaa !63
  %35 = icmp slt i64 %34, %1
  br i1 %35, label %36, label %38

36:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  %37 = call noundef i64 @_ZN10ClipperLib4TopXERNS_5TEdgeEx(ptr noundef nonnull align 8 dereferenceable(136) %.144, i64 noundef %1)
  call void @_ZN10ClipperLib8IntPointC2Exx(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %37, i64 noundef %1)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %4, i64 16, i1 false), !tbaa.struct !64
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  br label %38

38:                                               ; preds = %36, %33
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %39 = call noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #8
  invoke void @_ZN10ClipperLib13IntersectNodeC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39)
          to label %40 unwind label %43

40:                                               ; preds = %38
  store ptr %39, ptr %5, align 8, !tbaa !50
  store ptr %.144, ptr %39, align 8, !tbaa !66
  %41 = getelementptr inbounds i8, ptr %39, i64 8
  store ptr %27, ptr %41, align 8, !tbaa !68
  %42 = getelementptr inbounds i8, ptr %39, i64 16
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef nonnull align 8 dereferenceable(16) %3, i64 16, i1 false), !tbaa.struct !64
  call void @_ZNSt6vectorIPN10ClipperLib13IntersectNodeESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @_ZN10ClipperLib7Clipper18SwapPositionsInSELEPNS_5TEdgeES2_(ptr noundef nonnull align 8 dereferenceable(135) %0, ptr noundef nonnull %.144, ptr noundef nonnull %27)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br label %45

43:                                               ; preds = %38
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %39, i64 noundef 32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  resume { ptr, i32 } %44

45:                                               ; preds = %.lr.ph, %40
  %.131 = phi i1 [ true, %40 ], [ %.03043, %.lr.ph ]
  %.2 = phi ptr [ %.144, %40 ], [ %27, %.lr.ph ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  %46 = getelementptr inbounds i8, ptr %.2, i64 120
  %47 = load ptr, ptr %46, align 8, !tbaa !62
  %.not37 = icmp eq ptr %47, null
  br i1 %.not37, label %._crit_edge, label %.lr.ph, !llvm.loop !69

._crit_edge:                                      ; preds = %45
  %48 = getelementptr inbounds i8, ptr %.2, i64 128
  %49 = load ptr, ptr %48, align 8, !tbaa !70
  %.not38 = icmp eq ptr %49, null
  br i1 %.not38, label %.loopexit, label %53

._crit_edge.thread:                               ; preds = %23
  %50 = getelementptr inbounds i8, ptr %24, i64 128
  %51 = load ptr, ptr %50, align 8, !tbaa !70
  %.not3848 = icmp eq ptr %51, null
  br i1 %.not3848, label %.loopexit, label %.thread

.thread:                                          ; preds = %._crit_edge.thread
  %52 = getelementptr inbounds i8, ptr %51, i64 120
  store ptr null, ptr %52, align 8, !tbaa !62
  br label %.loopexit

53:                                               ; preds = %._crit_edge
  %54 = getelementptr inbounds i8, ptr %49, i64 120
  store ptr null, ptr %54, align 8, !tbaa !62
  br i1 %.131, label %23, label %.loopexit, !llvm.loop !71

.loopexit:                                        ; preds = %._crit_edge, %53, %.thread, %._crit_edge.thread
  store ptr null, ptr %13, align 8, !tbaa !32
  br label %55

55:                                               ; preds = %2, %.loopexit
  ret void
}

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { builtin 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !11, i64 104}
!9 = !{!"_ZTSN10ClipperLib11ClipperBaseE", !10, i64 8, !13, i64 16, !17, i64 40, !18, i64 48, !17, i64 72, !17, i64 73, !22, i64 80, !11, i64 104, !26, i64 112}
!10 = !{!"_ZTSN9__gnu_cxx17__normal_iteratorIPN10ClipperLib12LocalMinimumESt6vectorIS2_SaIS2_EEEE", !11, i64 0}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !7, i64 0}
!13 = !{!"_ZTSSt6vectorIN10ClipperLib12LocalMinimumESaIS1_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIN10ClipperLib12LocalMinimumESaIS1_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIN10ClipperLib12LocalMinimumESaIS1_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN10ClipperLib12LocalMinimumESaIS1_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!17 = !{!"bool", !12, i64 0}
!18 = !{!"_ZTSSt6vectorIPN10ClipperLib5TEdgeESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIPN10ClipperLib5TEdgeESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib5TEdgeESaIS2_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib5TEdgeESaIS2_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!22 = !{!"_ZTSSt6vectorIPN10ClipperLib6OutRecESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIPN10ClipperLib6OutRecESaIS2_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib6OutRecESaIS2_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib6OutRecESaIS2_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!26 = !{!"_ZTSSt14priority_queueIxSt6vectorIxSaIxEESt4lessIxEE", !27, i64 0, !31, i64 24}
!27 = !{!"_ZTSSt6vectorIxSaIxEE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIxSaIxEE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIxSaIxEE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIxSaIxEE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!31 = !{!"_ZTSSt4lessIxE"}
!32 = !{!33, !11, i64 112}
!33 = !{!"_ZTSN10ClipperLib7ClipperE", !34, i64 8, !34, i64 32, !38, i64 56, !42, i64 80, !43, i64 88, !11, i64 112, !17, i64 120, !49, i64 124, !49, i64 128, !17, i64 132, !17, i64 133, !17, i64 134}
!34 = !{!"_ZTSSt6vectorIPN10ClipperLib4JoinESaIS2_EE", !35, i64 0}
!35 = !{!"_ZTSSt12_Vector_baseIPN10ClipperLib4JoinESaIS2_EE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib4JoinESaIS2_EE12_Vector_implE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib4JoinESaIS2_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!38 = !{!"_ZTSSt6vectorIPN10ClipperLib13IntersectNodeESaIS2_EE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseIPN10ClipperLib13IntersectNodeESaIS2_EE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib13IntersectNodeESaIS2_EE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib13IntersectNodeESaIS2_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!42 = !{!"_ZTSN10ClipperLib8ClipTypeE", !12, i64 0}
!43 = !{!"_ZTSNSt7__cxx114listIxSaIxEEE", !44, i64 0}
!44 = !{!"_ZTSNSt7__cxx1110_List_baseIxSaIxEEE", !45, i64 0}
!45 = !{!"_ZTSNSt7__cxx1110_List_baseIxSaIxEE10_List_implE", !46, i64 0}
!46 = !{!"_ZTSNSt8__detail17_List_node_headerE", !47, i64 0, !48, i64 16}
!47 = !{!"_ZTSNSt8__detail15_List_node_baseE", !11, i64 0, !11, i64 8}
!48 = !{!"long", !12, i64 0}
!49 = !{!"_ZTSN10ClipperLib12PolyFillTypeE", !12, i64 0}
!50 = !{!11, !11, i64 0}
!51 = !{!52, !54, i64 16}
!52 = !{!"_ZTSN10ClipperLib5TEdgeE", !53, i64 0, !53, i64 16, !53, i64 32, !55, i64 48, !56, i64 56, !57, i64 60, !58, i64 64, !58, i64 68, !58, i64 72, !58, i64 76, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128}
!53 = !{!"_ZTSN10ClipperLib8IntPointE", !54, i64 0, !54, i64 8}
!54 = !{!"long long", !12, i64 0}
!55 = !{!"double", !12, i64 0}
!56 = !{!"_ZTSN10ClipperLib8PolyTypeE", !12, i64 0}
!57 = !{!"_ZTSN10ClipperLib8EdgeSideE", !12, i64 0}
!58 = !{!"int", !12, i64 0}
!59 = !{!52, !11, i64 104}
!60 = distinct !{!60, !61}
!61 = !{!"llvm.loop.mustprogress"}
!62 = !{!52, !11, i64 120}
!63 = !{!53, !54, i64 8}
!64 = !{i64 0, i64 8, !65, i64 8, i64 8, !65}
!65 = !{!54, !54, i64 0}
!66 = !{!67, !11, i64 0}
!67 = !{!"_ZTSN10ClipperLib13IntersectNodeE", !11, i64 0, !11, i64 8, !53, i64 16}
!68 = !{!67, !11, i64 8}
!69 = distinct !{!69, !61}
!70 = !{!52, !11, i64 128}
!71 = distinct !{!71, !61}


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