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

; 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.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 }
%"struct.ClipperLib::OutRec" = type { i32, i8, i8, ptr, ptr, ptr, ptr }
%"struct.ClipperLib::OutPt" = type { i32, %"struct.ClipperLib::IntPoint", ptr, ptr }
%"struct.ClipperLib::IntPoint" = type { i64, i64 }
%"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 }

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN10ClipperLibeqERKNS_8IntPointES2_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN10ClipperLib18Poly2ContainsPoly1EPNS_5OutPtES1_(ptr noundef, ptr noundef) #2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10ClipperLib7Clipper16DoSimplePolygonsEv(ptr noundef nonnull align 8 dereferenceable(135) %0) #3 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %11 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  store i64 0, ptr %3, align 8, !tbaa !9
  br label %12

12:                                               ; preds = %207, %205, %1
  %13 = load i64, ptr %3, align 8, !tbaa !9
  %14 = load ptr, ptr %11, align 8, !tbaa !11
  %15 = getelementptr i8, ptr %14, i64 -24
  %16 = load i64, ptr %15, align 8
  %17 = getelementptr inbounds i8, ptr %11, i64 %16
  %18 = getelementptr inbounds %"class.ClipperLib::ClipperBase", ptr %17, i32 0, i32 7
  %19 = call noundef i64 @_ZNKSt6vectorIPN10ClipperLib6OutRecESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #4
  %20 = icmp ult i64 %13, %19
  br i1 %20, label %21, label %208

21:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  %22 = load ptr, ptr %11, align 8, !tbaa !11
  %23 = getelementptr i8, ptr %22, i64 -24
  %24 = load i64, ptr %23, align 8
  %25 = getelementptr inbounds i8, ptr %11, i64 %24
  %26 = getelementptr inbounds %"class.ClipperLib::ClipperBase", ptr %25, i32 0, i32 7
  %27 = load i64, ptr %3, align 8, !tbaa !9
  %28 = add i64 %27, 1
  store i64 %28, ptr %3, align 8, !tbaa !9
  %29 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN10ClipperLib6OutRecESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %27) #4
  %30 = load ptr, ptr %29, align 8, !tbaa !5
  store ptr %30, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %31, i32 0, i32 5
  %33 = load ptr, ptr %32, align 8, !tbaa !13
  store ptr %33, ptr %5, align 8, !tbaa !5
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = icmp ne ptr %34, null
  br i1 %35, label %36, label %41

36:                                               ; preds = %21
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %37, i32 0, i32 2
  %39 = load i8, ptr %38, align 1, !tbaa !17, !range !18, !noundef !19
  %40 = trunc i8 %39 to i1
  br i1 %40, label %41, label %42

41:                                               ; preds = %36, %21
  store i32 2, ptr %6, align 4
  br label %205, !llvm.loop !20

42:                                               ; preds = %36
  br label %43

43:                                               ; preds = %198, %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.ClipperLib::OutPt", ptr %44, i32 0, i32 2
  %46 = load ptr, ptr %45, align 8, !tbaa !22
  store ptr %46, ptr %7, align 8, !tbaa !5
  br label %47

47:                                               ; preds = %190, %43
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %49, i32 0, i32 5
  %51 = load ptr, ptr %50, align 8, !tbaa !13
  %52 = icmp ne ptr %48, %51
  br i1 %52, label %53, label %194

53:                                               ; preds = %47
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.ClipperLib::OutPt", ptr %54, i32 0, i32 1
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.ClipperLib::OutPt", ptr %56, i32 0, i32 1
  %58 = call noundef zeroext i1 @_ZN10ClipperLibeqERKNS_8IntPointES2_(ptr noundef nonnull align 8 dereferenceable(16) %55, ptr noundef nonnull align 8 dereferenceable(16) %57)
  br i1 %58, label %59, label %190

59:                                               ; preds = %53
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = getelementptr inbounds %"struct.ClipperLib::OutPt", ptr %60, i32 0, i32 2
  %62 = load ptr, ptr %61, align 8, !tbaa !22
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = icmp ne ptr %62, %63
  br i1 %64, label %65, label %190

65:                                               ; preds = %59
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = getelementptr inbounds %"struct.ClipperLib::OutPt", ptr %66, i32 0, i32 3
  %68 = load ptr, ptr %67, align 8, !tbaa !26
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = icmp ne ptr %68, %69
  br i1 %70, label %71, label %190

71:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = getelementptr inbounds %"struct.ClipperLib::OutPt", ptr %72, i32 0, i32 3
  %74 = load ptr, ptr %73, align 8, !tbaa !26
  store ptr %74, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %75 = load ptr, ptr %7, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.ClipperLib::OutPt", ptr %75, i32 0, i32 3
  %77 = load ptr, ptr %76, align 8, !tbaa !26
  store ptr %77, ptr %9, align 8, !tbaa !5
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = getelementptr inbounds %"struct.ClipperLib::OutPt", ptr %79, i32 0, i32 3
  store ptr %78, ptr %80, align 8, !tbaa !26
  %81 = load ptr, ptr %5, align 8, !tbaa !5
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.ClipperLib::OutPt", ptr %82, i32 0, i32 2
  store ptr %81, ptr %83, align 8, !tbaa !22
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.ClipperLib::OutPt", ptr %85, i32 0, i32 3
  store ptr %84, ptr %86, align 8, !tbaa !26
  %87 = load ptr, ptr %7, align 8, !tbaa !5
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  %89 = getelementptr inbounds %"struct.ClipperLib::OutPt", ptr %88, i32 0, i32 2
  store ptr %87, ptr %89, align 8, !tbaa !22
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %91, i32 0, i32 5
  store ptr %90, ptr %92, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %93 = load ptr, ptr %11, align 8, !tbaa !11
  %94 = getelementptr i8, ptr %93, i64 -24
  %95 = load i64, ptr %94, align 8
  %96 = getelementptr inbounds i8, ptr %11, i64 %95
  %97 = call noundef ptr @_ZN10ClipperLib11ClipperBase12CreateOutRecEv(ptr noundef nonnull align 8 dereferenceable(144) %96)
  store ptr %97, ptr %10, align 8, !tbaa !5
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = load ptr, ptr %10, align 8, !tbaa !5
  %100 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %99, i32 0, i32 5
  store ptr %98, ptr %100, align 8, !tbaa !13
  %101 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN10ClipperLib15UpdateOutPtIdxsERNS_6OutRecE(ptr noundef nonnull align 8 dereferenceable(40) %101)
  %102 = load ptr, ptr %10, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %102, i32 0, i32 5
  %104 = load ptr, ptr %103, align 8, !tbaa !13
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %105, i32 0, i32 5
  %107 = load ptr, ptr %106, align 8, !tbaa !13
  %108 = call noundef zeroext i1 @_ZN10ClipperLib18Poly2ContainsPoly1EPNS_5OutPtES1_(ptr noundef %104, ptr noundef %107)
  br i1 %108, label %109, label %128

109:                                              ; preds = %71
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  %111 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %110, i32 0, i32 1
  %112 = load i8, ptr %111, align 4, !tbaa !27, !range !18, !noundef !19
  %113 = trunc i8 %112 to i1
  %114 = xor i1 %113, true
  %115 = load ptr, ptr %10, align 8, !tbaa !5
  %116 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %115, i32 0, i32 1
  %117 = zext i1 %114 to i8
  store i8 %117, ptr %116, align 4, !tbaa !27
  %118 = load ptr, ptr %4, align 8, !tbaa !5
  %119 = load ptr, ptr %10, align 8, !tbaa !5
  %120 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %119, i32 0, i32 3
  store ptr %118, ptr %120, align 8, !tbaa !28
  %121 = getelementptr inbounds %"class.ClipperLib::Clipper", ptr %11, i32 0, i32 13
  %122 = load i8, ptr %121, align 1, !tbaa !29, !range !18, !noundef !19
  %123 = trunc i8 %122 to i1
  br i1 %123, label %124, label %127

124:                                              ; preds = %109
  %125 = load ptr, ptr %10, align 8, !tbaa !5
  %126 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN10ClipperLib7Clipper16FixupFirstLefts2EPNS_6OutRecES2_(ptr noundef nonnull align 8 dereferenceable(135) %11, ptr noundef %125, ptr noundef %126)
  br label %127

127:                                              ; preds = %124, %109
  br label %188

128:                                              ; preds = %71
  %129 = load ptr, ptr %4, align 8, !tbaa !5
  %130 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %129, i32 0, i32 5
  %131 = load ptr, ptr %130, align 8, !tbaa !13
  %132 = load ptr, ptr %10, align 8, !tbaa !5
  %133 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %132, i32 0, i32 5
  %134 = load ptr, ptr %133, align 8, !tbaa !13
  %135 = call noundef zeroext i1 @_ZN10ClipperLib18Poly2ContainsPoly1EPNS_5OutPtES1_(ptr noundef %131, ptr noundef %134)
  br i1 %135, label %136, label %167

136:                                              ; preds = %128
  %137 = load ptr, ptr %4, align 8, !tbaa !5
  %138 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %137, i32 0, i32 1
  %139 = load i8, ptr %138, align 4, !tbaa !27, !range !18, !noundef !19
  %140 = trunc i8 %139 to i1
  %141 = load ptr, ptr %10, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %141, i32 0, i32 1
  %143 = zext i1 %140 to i8
  store i8 %143, ptr %142, align 4, !tbaa !27
  %144 = load ptr, ptr %10, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %144, i32 0, i32 1
  %146 = load i8, ptr %145, align 4, !tbaa !27, !range !18, !noundef !19
  %147 = trunc i8 %146 to i1
  %148 = xor i1 %147, true
  %149 = load ptr, ptr %4, align 8, !tbaa !5
  %150 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %149, i32 0, i32 1
  %151 = zext i1 %148 to i8
  store i8 %151, ptr %150, align 4, !tbaa !27
  %152 = load ptr, ptr %4, align 8, !tbaa !5
  %153 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %152, i32 0, i32 3
  %154 = load ptr, ptr %153, align 8, !tbaa !28
  %155 = load ptr, ptr %10, align 8, !tbaa !5
  %156 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %155, i32 0, i32 3
  store ptr %154, ptr %156, align 8, !tbaa !28
  %157 = load ptr, ptr %10, align 8, !tbaa !5
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %158, i32 0, i32 3
  store ptr %157, ptr %159, align 8, !tbaa !28
  %160 = getelementptr inbounds %"class.ClipperLib::Clipper", ptr %11, i32 0, i32 13
  %161 = load i8, ptr %160, align 1, !tbaa !29, !range !18, !noundef !19
  %162 = trunc i8 %161 to i1
  br i1 %162, label %163, label %166

163:                                              ; preds = %136
  %164 = load ptr, ptr %4, align 8, !tbaa !5
  %165 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN10ClipperLib7Clipper16FixupFirstLefts2EPNS_6OutRecES2_(ptr noundef nonnull align 8 dereferenceable(135) %11, ptr noundef %164, ptr noundef %165)
  br label %166

166:                                              ; preds = %163, %136
  br label %187

167:                                              ; preds = %128
  %168 = load ptr, ptr %4, align 8, !tbaa !5
  %169 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %168, i32 0, i32 1
  %170 = load i8, ptr %169, align 4, !tbaa !27, !range !18, !noundef !19
  %171 = trunc i8 %170 to i1
  %172 = load ptr, ptr %10, align 8, !tbaa !5
  %173 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %172, i32 0, i32 1
  %174 = zext i1 %171 to i8
  store i8 %174, ptr %173, align 4, !tbaa !27
  %175 = load ptr, ptr %4, align 8, !tbaa !5
  %176 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %175, i32 0, i32 3
  %177 = load ptr, ptr %176, align 8, !tbaa !28
  %178 = load ptr, ptr %10, align 8, !tbaa !5
  %179 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %178, i32 0, i32 3
  store ptr %177, ptr %179, align 8, !tbaa !28
  %180 = getelementptr inbounds %"class.ClipperLib::Clipper", ptr %11, i32 0, i32 13
  %181 = load i8, ptr %180, align 1, !tbaa !29, !range !18, !noundef !19
  %182 = trunc i8 %181 to i1
  br i1 %182, label %183, label %186

183:                                              ; preds = %167
  %184 = load ptr, ptr %4, align 8, !tbaa !5
  %185 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN10ClipperLib7Clipper16FixupFirstLefts1EPNS_6OutRecES2_(ptr noundef nonnull align 8 dereferenceable(135) %11, ptr noundef %184, ptr noundef %185)
  br label %186

186:                                              ; preds = %183, %167
  br label %187

187:                                              ; preds = %186, %166
  br label %188

188:                                              ; preds = %187, %127
  %189 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %189, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br label %190

190:                                              ; preds = %188, %65, %59, %53
  %191 = load ptr, ptr %7, align 8, !tbaa !5
  %192 = getelementptr inbounds %"struct.ClipperLib::OutPt", ptr %191, i32 0, i32 2
  %193 = load ptr, ptr %192, align 8, !tbaa !22
  store ptr %193, ptr %7, align 8, !tbaa !5
  br label %47, !llvm.loop !46

194:                                              ; preds = %47
  %195 = load ptr, ptr %5, align 8, !tbaa !5
  %196 = getelementptr inbounds %"struct.ClipperLib::OutPt", ptr %195, i32 0, i32 2
  %197 = load ptr, ptr %196, align 8, !tbaa !22
  store ptr %197, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %198

198:                                              ; preds = %194
  %199 = load ptr, ptr %5, align 8, !tbaa !5
  %200 = load ptr, ptr %4, align 8, !tbaa !5
  %201 = getelementptr inbounds %"struct.ClipperLib::OutRec", ptr %200, i32 0, i32 5
  %202 = load ptr, ptr %201, align 8, !tbaa !13
  %203 = icmp ne ptr %199, %202
  br i1 %203, label %43, label %204, !llvm.loop !47

204:                                              ; preds = %198
  store i32 0, ptr %6, align 4
  br label %205

205:                                              ; preds = %204, %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  %206 = load i32, ptr %6, align 4
  switch i32 %206, label %209 [
    i32 0, label %207
    i32 2, label %12
  ]

207:                                              ; preds = %205
  br label %12, !llvm.loop !20

208:                                              ; preds = %12
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  ret void

209:                                              ; preds = %205
  unreachable
}

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10ClipperLib15UpdateOutPtIdxsERNS_6OutRecE(ptr noundef nonnull align 8 dereferenceable(40)) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 = { 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 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !6, i64 24}
!14 = !{!"_ZTSN10ClipperLib6OutRecE", !15, i64 0, !16, i64 4, !16, i64 5, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!15 = !{!"int", !7, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{!14, !16, i64 5}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!23, !6, i64 24}
!23 = !{!"_ZTSN10ClipperLib5OutPtE", !15, i64 0, !24, i64 8, !6, i64 24, !6, i64 32}
!24 = !{!"_ZTSN10ClipperLib8IntPointE", !25, i64 0, !25, i64 8}
!25 = !{!"long long", !7, i64 0}
!26 = !{!23, !6, i64 32}
!27 = !{!14, !16, i64 4}
!28 = !{!14, !6, i64 8}
!29 = !{!30, !16, i64 133}
!30 = !{!"_ZTSN10ClipperLib7ClipperE", !31, i64 8, !31, i64 32, !35, i64 56, !39, i64 80, !40, i64 88, !6, i64 112, !16, i64 120, !45, i64 124, !45, i64 128, !16, i64 132, !16, i64 133, !16, i64 134}
!31 = !{!"_ZTSSt6vectorIPN10ClipperLib4JoinESaIS2_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIPN10ClipperLib4JoinESaIS2_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib4JoinESaIS2_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib4JoinESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!35 = !{!"_ZTSSt6vectorIPN10ClipperLib13IntersectNodeESaIS2_EE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseIPN10ClipperLib13IntersectNodeESaIS2_EE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib13IntersectNodeESaIS2_EE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib13IntersectNodeESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!39 = !{!"_ZTSN10ClipperLib8ClipTypeE", !7, i64 0}
!40 = !{!"_ZTSNSt7__cxx114listIxSaIxEEE", !41, i64 0}
!41 = !{!"_ZTSNSt7__cxx1110_List_baseIxSaIxEEE", !42, i64 0}
!42 = !{!"_ZTSNSt7__cxx1110_List_baseIxSaIxEE10_List_implE", !43, i64 0}
!43 = !{!"_ZTSNSt8__detail17_List_node_headerE", !44, i64 0, !10, i64 16}
!44 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!45 = !{!"_ZTSN10ClipperLib12PolyFillTypeE", !7, i64 0}
!46 = distinct !{!46, !21}
!47 = distinct !{!47, !21}


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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN10ClipperLib18Poly2ContainsPoly1EPNS_5OutPtES1_(ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10ClipperLib7Clipper16DoSimplePolygonsEv(ptr noundef nonnull align 8 dereferenceable(135) %0) local_unnamed_addr #2 align 2 {
  %invariant.gep = getelementptr inbounds i8, ptr %0, i64 80
  %2 = load ptr, ptr %0, align 8, !tbaa !5
  %3 = getelementptr i8, ptr %2, i64 -24
  %4 = load i64, ptr %3, align 8
  %gep75 = getelementptr i8, ptr %invariant.gep, i64 %4
  %5 = tail call noundef i64 @_ZNKSt6vectorIPN10ClipperLib6OutRecESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %gep75) #3
  %.not80 = icmp eq i64 %5, 0
  br i1 %.not80, label %._crit_edge79, label %.lr.ph78

.lr.ph78:                                         ; preds = %1
  %6 = getelementptr inbounds i8, ptr %0, i64 133
  br label %7

7:                                                ; preds = %.lr.ph78, %.loopexit
  %.076 = phi i64 [ 0, %.lr.ph78 ], [ %11, %.loopexit ]
  %8 = load ptr, ptr %0, align 8, !tbaa !5
  %9 = getelementptr i8, ptr %8, i64 -24
  %10 = load i64, ptr %9, align 8
  %gep74 = getelementptr i8, ptr %invariant.gep, i64 %10
  %11 = add nuw i64 %.076, 1
  %12 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN10ClipperLib6OutRecESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %gep74, i64 noundef %.076) #3
  %13 = load ptr, ptr %12, align 8, !tbaa !8
  %14 = getelementptr inbounds i8, ptr %13, i64 24
  %15 = load ptr, ptr %14, align 8, !tbaa !11
  %.not = icmp eq ptr %15, null
  br i1 %.not, label %.loopexit, label %16, !llvm.loop !15

16:                                               ; preds = %7
  %17 = getelementptr inbounds i8, ptr %13, i64 5
  %18 = load i8, ptr %17, align 1, !tbaa !17, !range !18, !noundef !19
  %19 = trunc nuw i8 %18 to i1
  br i1 %19, label %.loopexit, label %.preheader, !llvm.loop !15

.preheader:                                       ; preds = %16
  %20 = getelementptr inbounds i8, ptr %13, i64 4
  %21 = getelementptr inbounds i8, ptr %13, i64 8
  br label %22

22:                                               ; preds = %.preheader, %._crit_edge
  %23 = phi ptr [ %80, %._crit_edge ], [ %15, %.preheader ]
  %.060 = phi ptr [ %79, %._crit_edge ], [ %15, %.preheader ]
  %24 = getelementptr inbounds i8, ptr %.060, i64 24
  %.06170 = load ptr, ptr %24, align 8, !tbaa !20
  %.not6671 = icmp eq ptr %.06170, %23
  br i1 %.not6671, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %22
  %25 = getelementptr inbounds i8, ptr %.060, i64 8
  %26 = getelementptr inbounds i8, ptr %.060, i64 32
  br label %27

27:                                               ; preds = %.lr.ph, %76
  %.06172 = phi ptr [ %.06170, %.lr.ph ], [ %.061, %76 ]
  %28 = getelementptr inbounds i8, ptr %.06172, i64 8
  %29 = tail call noundef zeroext i1 @_ZN10ClipperLibeqERKNS_8IntPointES2_(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %28)
  br i1 %29, label %30, label %76

30:                                               ; preds = %27
  %31 = getelementptr inbounds i8, ptr %.06172, i64 24
  %32 = load ptr, ptr %31, align 8, !tbaa !20
  %.not68 = icmp eq ptr %32, %.060
  br i1 %.not68, label %76, label %33

33:                                               ; preds = %30
  %34 = getelementptr inbounds i8, ptr %.06172, i64 32
  %35 = load ptr, ptr %34, align 8, !tbaa !24
  %.not69 = icmp eq ptr %35, %.060
  br i1 %.not69, label %76, label %36

36:                                               ; preds = %33
  %37 = load ptr, ptr %26, align 8, !tbaa !24
  store ptr %35, ptr %26, align 8, !tbaa !24
  %38 = getelementptr inbounds i8, ptr %35, i64 24
  store ptr %.060, ptr %38, align 8, !tbaa !20
  store ptr %37, ptr %34, align 8, !tbaa !24
  %39 = getelementptr inbounds i8, ptr %37, i64 24
  store ptr %.06172, ptr %39, align 8, !tbaa !20
  store ptr %.060, ptr %14, align 8, !tbaa !11
  %40 = load ptr, ptr %0, align 8, !tbaa !5
  %41 = getelementptr i8, ptr %40, i64 -24
  %42 = load i64, ptr %41, align 8
  %43 = getelementptr inbounds i8, ptr %0, i64 %42
  %44 = tail call noundef ptr @_ZN10ClipperLib11ClipperBase12CreateOutRecEv(ptr noundef nonnull align 8 dereferenceable(144) %43)
  %45 = getelementptr inbounds i8, ptr %44, i64 24
  store ptr %.06172, ptr %45, align 8, !tbaa !11
  tail call void @_ZN10ClipperLib15UpdateOutPtIdxsERNS_6OutRecE(ptr noundef nonnull align 8 dereferenceable(40) %44)
  %46 = load ptr, ptr %45, align 8, !tbaa !11
  %47 = load ptr, ptr %14, align 8, !tbaa !11
  %48 = tail call noundef zeroext i1 @_ZN10ClipperLib18Poly2ContainsPoly1EPNS_5OutPtES1_(ptr noundef %46, ptr noundef %47)
  br i1 %48, label %49, label %57

49:                                               ; preds = %36
  %50 = load i8, ptr %20, align 4, !tbaa !25, !range !18, !noundef !19
  %51 = xor i8 %50, 1
  %52 = getelementptr inbounds i8, ptr %44, i64 4
  store i8 %51, ptr %52, align 4, !tbaa !25
  %53 = getelementptr inbounds i8, ptr %44, i64 8
  store ptr %13, ptr %53, align 8, !tbaa !26
  %54 = load i8, ptr %6, align 1, !tbaa !27, !range !18, !noundef !19
  %55 = trunc nuw i8 %54 to i1
  br i1 %55, label %56, label %76

56:                                               ; preds = %49
  tail call void @_ZN10ClipperLib7Clipper16FixupFirstLefts2EPNS_6OutRecES2_(ptr noundef nonnull align 8 dereferenceable(135) %0, ptr noundef nonnull %44, ptr noundef nonnull %13)
  br label %76

57:                                               ; preds = %36
  %58 = load ptr, ptr %14, align 8, !tbaa !11
  %59 = load ptr, ptr %45, align 8, !tbaa !11
  %60 = tail call noundef zeroext i1 @_ZN10ClipperLib18Poly2ContainsPoly1EPNS_5OutPtES1_(ptr noundef %58, ptr noundef %59)
  %61 = load i8, ptr %20, align 4, !tbaa !25, !range !18, !noundef !19
  %62 = getelementptr inbounds i8, ptr %44, i64 4
  store i8 %61, ptr %62, align 4, !tbaa !25
  br i1 %60, label %63, label %70

63:                                               ; preds = %57
  %64 = xor i8 %61, 1
  store i8 %64, ptr %20, align 4, !tbaa !25
  %65 = load ptr, ptr %21, align 8, !tbaa !26
  %66 = getelementptr inbounds i8, ptr %44, i64 8
  store ptr %65, ptr %66, align 8, !tbaa !26
  store ptr %44, ptr %21, align 8, !tbaa !26
  %67 = load i8, ptr %6, align 1, !tbaa !27, !range !18, !noundef !19
  %68 = trunc nuw i8 %67 to i1
  br i1 %68, label %69, label %76

69:                                               ; preds = %63
  tail call void @_ZN10ClipperLib7Clipper16FixupFirstLefts2EPNS_6OutRecES2_(ptr noundef nonnull align 8 dereferenceable(135) %0, ptr noundef nonnull %13, ptr noundef nonnull %44)
  br label %76

70:                                               ; preds = %57
  %71 = load ptr, ptr %21, align 8, !tbaa !26
  %72 = getelementptr inbounds i8, ptr %44, i64 8
  store ptr %71, ptr %72, align 8, !tbaa !26
  %73 = load i8, ptr %6, align 1, !tbaa !27, !range !18, !noundef !19
  %74 = trunc nuw i8 %73 to i1
  br i1 %74, label %75, label %76

75:                                               ; preds = %70
  tail call void @_ZN10ClipperLib7Clipper16FixupFirstLefts1EPNS_6OutRecES2_(ptr noundef nonnull align 8 dereferenceable(135) %0, ptr noundef nonnull %13, ptr noundef nonnull %44)
  br label %76

76:                                               ; preds = %56, %49, %70, %75, %63, %69, %33, %30, %27
  %.1 = phi ptr [ %.06172, %33 ], [ %.06172, %30 ], [ %.06172, %27 ], [ %.060, %69 ], [ %.060, %63 ], [ %.060, %75 ], [ %.060, %70 ], [ %.060, %49 ], [ %.060, %56 ]
  %77 = getelementptr inbounds i8, ptr %.1, i64 24
  %.061 = load ptr, ptr %77, align 8, !tbaa !20
  %78 = load ptr, ptr %14, align 8, !tbaa !11
  %.not66 = icmp eq ptr %.061, %78
  br i1 %.not66, label %._crit_edge.loopexit, label %27, !llvm.loop !45

._crit_edge.loopexit:                             ; preds = %76
  %.pre = load ptr, ptr %24, align 8, !tbaa !20
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %22
  %79 = phi ptr [ %.06170, %22 ], [ %.pre, %._crit_edge.loopexit ]
  %80 = phi ptr [ %23, %22 ], [ %.061, %._crit_edge.loopexit ]
  %.not67 = icmp eq ptr %79, %80
  br i1 %.not67, label %.loopexit, label %22, !llvm.loop !46

.loopexit:                                        ; preds = %._crit_edge, %7, %16
  %81 = load ptr, ptr %0, align 8, !tbaa !5
  %82 = getelementptr i8, ptr %81, i64 -24
  %83 = load i64, ptr %82, align 8
  %gep = getelementptr i8, ptr %invariant.gep, i64 %83
  %84 = tail call noundef i64 @_ZNKSt6vectorIPN10ClipperLib6OutRecESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %gep) #3
  %85 = icmp ult i64 %11, %84
  br i1 %85, label %7, label %._crit_edge79

._crit_edge79:                                    ; preds = %.loopexit, %1
  ret void
}

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10ClipperLib15UpdateOutPtIdxsERNS_6OutRecE(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0

attributes #0 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !9, i64 24}
!12 = !{!"_ZTSN10ClipperLib6OutRecE", !13, i64 0, !14, i64 4, !14, i64 5, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32}
!13 = !{!"int", !10, i64 0}
!14 = !{!"bool", !10, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!12, !14, i64 5}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!21, !9, i64 24}
!21 = !{!"_ZTSN10ClipperLib5OutPtE", !13, i64 0, !22, i64 8, !9, i64 24, !9, i64 32}
!22 = !{!"_ZTSN10ClipperLib8IntPointE", !23, i64 0, !23, i64 8}
!23 = !{!"long long", !10, i64 0}
!24 = !{!21, !9, i64 32}
!25 = !{!12, !14, i64 4}
!26 = !{!12, !9, i64 8}
!27 = !{!28, !14, i64 133}
!28 = !{!"_ZTSN10ClipperLib7ClipperE", !29, i64 8, !29, i64 32, !33, i64 56, !37, i64 80, !38, i64 88, !9, i64 112, !14, i64 120, !44, i64 124, !44, i64 128, !14, i64 132, !14, i64 133, !14, i64 134}
!29 = !{!"_ZTSSt6vectorIPN10ClipperLib4JoinESaIS2_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIPN10ClipperLib4JoinESaIS2_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib4JoinESaIS2_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib4JoinESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!33 = !{!"_ZTSSt6vectorIPN10ClipperLib13IntersectNodeESaIS2_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIPN10ClipperLib13IntersectNodeESaIS2_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib13IntersectNodeESaIS2_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIPN10ClipperLib13IntersectNodeESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!37 = !{!"_ZTSN10ClipperLib8ClipTypeE", !10, i64 0}
!38 = !{!"_ZTSNSt7__cxx114listIxSaIxEEE", !39, i64 0}
!39 = !{!"_ZTSNSt7__cxx1110_List_baseIxSaIxEEE", !40, i64 0}
!40 = !{!"_ZTSNSt7__cxx1110_List_baseIxSaIxEE10_List_implE", !41, i64 0}
!41 = !{!"_ZTSNSt8__detail17_List_node_headerE", !42, i64 0, !43, i64 16}
!42 = !{!"_ZTSNSt8__detail15_List_node_baseE", !9, i64 0, !9, i64 8}
!43 = !{!"long", !10, i64 0}
!44 = !{!"_ZTSN10ClipperLib12PolyFillTypeE", !10, i64 0}
!45 = distinct !{!45, !16}
!46 = distinct !{!46, !16}


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