; LLVM IR from NavInfoNC/nc-geo :: test/polygon_marker_unittest.ll (ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv)

; 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.Point = type { i32, i32 }
%"class.testing::AssertionResult" = type { i8, %"class.testing::internal::scoped_ptr" }
%"class.testing::internal::scoped_ptr" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%class.StaticPolygon = type { ptr, i32, %struct.Rect, i8, i64 }
%struct.Rect = type { i32, i32, i32, i32 }
%"class.testing::Message" = type { %"class.testing::internal::scoped_ptr.0" }
%"class.testing::internal::scoped_ptr.0" = type { ptr }
%"class.testing::internal::AssertHelper" = type { ptr }

@.str.5 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@__const._ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv.contour = external hidden unnamed_addr constant [4 x %struct.Point], align 16
@__const._ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv.hole1 = external hidden unnamed_addr constant [4 x %struct.Point], align 16
@__const._ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv.hole2 = external hidden unnamed_addr constant [4 x %struct.Point], align 16
@.str.13 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [2 x i8], align 1
@__const._ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv.contour1 = external hidden unnamed_addr constant [4 x %struct.Point], align 16
@__const._ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv.hole3 = external hidden unnamed_addr constant [4 x %struct.Point], align 16
@.str.17 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z6isNear5PointS_i(ptr dead_on_unwind noalias writable sret(%"class.testing::AssertionResult") align 8, i64, i64, i32 noundef) #0

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

declare void @_ZN13PolygonMarkerC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #5

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN13PolygonMarker24setCentralPointPrecisionEi(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef) #6 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) #7

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN13StaticPolygonC2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #6 align 2

declare void @_ZN13StaticPolygon20initWithPointsNoCopyEP5Pointi(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, i32 noundef) #5

declare void @_ZN13PolygonMarker20findCentralMarkPointEPP13StaticPolygoniP5PointPi(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef, i32 noundef, ptr noundef, ptr noundef) #5

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden i64 @_ZL10Point_makeii(i32 noundef, i32 noundef) #6

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

declare void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5

declare void @_ZN7testing8internal30GetBoolAssertionFailureMessageB5cxx11ERKNS_15AssertionResultEPKcS5_S5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef, ptr noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #8 align 2

declare void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef, i32 noundef, ptr noundef) unnamed_addr #5

declare void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: nounwind
declare void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #9

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

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

; Function Attrs: nounwind
declare void @_ZN13PolygonMarkerD1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #9

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv(ptr noundef nonnull align 8 dereferenceable(16) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca [4 x %struct.Point], align 16
  %7 = alloca [4 x %struct.Point], align 16
  %8 = alloca [4 x %struct.Point], align 16
  %9 = alloca %class.StaticPolygon, align 8
  %10 = alloca %class.StaticPolygon, align 8
  %11 = alloca %class.StaticPolygon, align 8
  %12 = alloca %struct.Point, align 4
  %13 = alloca i32, align 4
  %14 = alloca [3 x ptr], align 16
  %15 = alloca %"class.testing::AssertionResult", align 8
  %16 = alloca %struct.Point, align 4
  %17 = alloca %struct.Point, align 4
  %18 = alloca %"class.testing::Message", align 8
  %19 = alloca %"class.testing::internal::AssertHelper", align 8
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.testing::AssertionResult", align 8
  %22 = alloca %"class.testing::Message", align 8
  %23 = alloca %"class.testing::internal::AssertHelper", align 8
  %24 = alloca [4 x %struct.Point], align 16
  %25 = alloca [4 x %struct.Point], align 16
  %26 = alloca %class.StaticPolygon, align 8
  %27 = alloca %class.StaticPolygon, align 8
  %28 = alloca [2 x ptr], align 16
  %29 = alloca %"class.testing::AssertionResult", align 8
  %30 = alloca i32, align 4
  %31 = alloca %"class.testing::Message", align 8
  %32 = alloca %"class.testing::internal::AssertHelper", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %33 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #10
  %34 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 128) #11
  invoke void @_ZN13PolygonMarkerC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %34)
          to label %35 unwind label %58

35:                                               ; preds = %1
  store ptr %34, ptr %3, align 8, !tbaa !5
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN13PolygonMarker24setCentralPointPrecisionEi(ptr noundef nonnull align 8 dereferenceable(128) %36, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const._ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv.contour, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const._ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv.hole1, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const._ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv.hole2, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %9) #10
  call void @_ZN13StaticPolygonC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9)
  call void @llvm.lifetime.start.p0(i64 40, ptr %10) #10
  invoke void @_ZN13StaticPolygonC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10)
          to label %37 unwind label %62

37:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 40, ptr %11) #10
  invoke void @_ZN13StaticPolygonC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11)
          to label %38 unwind label %66

38:                                               ; preds = %37
  %39 = getelementptr inbounds [4 x %struct.Point], ptr %6, i64 0, i64 0
  invoke void @_ZN13StaticPolygon20initWithPointsNoCopyEP5Pointi(ptr noundef nonnull align 8 dereferenceable(40) %9, ptr noundef %39, i32 noundef 4)
          to label %40 unwind label %70

40:                                               ; preds = %38
  %41 = getelementptr inbounds [4 x %struct.Point], ptr %7, i64 0, i64 0
  invoke void @_ZN13StaticPolygon20initWithPointsNoCopyEP5Pointi(ptr noundef nonnull align 8 dereferenceable(40) %10, ptr noundef %41, i32 noundef 4)
          to label %42 unwind label %70

42:                                               ; preds = %40
  %43 = getelementptr inbounds [4 x %struct.Point], ptr %8, i64 0, i64 0
  invoke void @_ZN13StaticPolygon20initWithPointsNoCopyEP5Pointi(ptr noundef nonnull align 8 dereferenceable(40) %11, ptr noundef %43, i32 noundef 4)
          to label %44 unwind label %70

44:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #10
  store ptr %9, ptr %14, align 8, !tbaa !5
  %45 = getelementptr inbounds ptr, ptr %14, i64 1
  store ptr %10, ptr %45, align 8, !tbaa !5
  %46 = getelementptr inbounds ptr, ptr %14, i64 2
  store ptr %11, ptr %46, align 8, !tbaa !5
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds [3 x ptr], ptr %14, i64 0, i64 0
  invoke void @_ZN13PolygonMarker20findCentralMarkPointEPP13StaticPolygoniP5PointPi(ptr noundef nonnull align 8 dereferenceable(128) %47, ptr noundef %48, i32 noundef 3, ptr noundef %12, ptr noundef %13)
          to label %49 unwind label %74

49:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %12, i64 8, i1 false), !tbaa.struct !9
  %50 = invoke i64 @_ZL10Point_makeii(i32 noundef 160, i32 noundef 50)
          to label %51 unwind label %78

51:                                               ; preds = %49
  store i64 %50, ptr %17, align 4
  %52 = load i64, ptr %16, align 4
  %53 = load i64, ptr %17, align 4
  invoke void @_Z6isNear5PointS_i(ptr dead_on_unwind writable sret(%"class.testing::AssertionResult") align 8 %15, i64 %52, i64 %53, i32 noundef 1)
          to label %54 unwind label %78

54:                                               ; preds = %51
  %55 = invoke noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %56 unwind label %82

56:                                               ; preds = %54
  br i1 %55, label %57, label %86

57:                                               ; preds = %56
  br label %111

58:                                               ; preds = %1
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %4, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %34, i64 noundef 128) #12
  br label %224

62:                                               ; preds = %35
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %4, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %5, align 4
  br label %223

66:                                               ; preds = %37
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %4, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %5, align 4
  br label %222

70:                                               ; preds = %42, %40, %38
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %4, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %5, align 4
  br label %221

74:                                               ; preds = %44
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %4, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %5, align 4
  br label %220

78:                                               ; preds = %51, %49
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %4, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %5, align 4
  br label %119

82:                                               ; preds = %54
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %4, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %5, align 4
  br label %118

86:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #10
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %87 unwind label %92

87:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #10
  invoke void @_ZN7testing8internal30GetBoolAssertionFailureMessageB5cxx11ERKNS_15AssertionResultEPKcS5_S5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %20, ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef @.str.13, ptr noundef @.str.7, ptr noundef @.str.8)
          to label %88 unwind label %96

88:                                               ; preds = %87
  %89 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %20) #10
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %19, i32 noundef 1, ptr noundef @.str.5, i32 noundef 94, ptr noundef %89)
          to label %90 unwind label %100

90:                                               ; preds = %88
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %91 unwind label %104

91:                                               ; preds = %90
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  br label %111

92:                                               ; preds = %86
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %4, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %5, align 4
  br label %110

96:                                               ; preds = %87
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %4, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %5, align 4
  br label %109

100:                                              ; preds = %88
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %4, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %5, align 4
  br label %108

104:                                              ; preds = %90
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %4, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %5, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #10
  br label %108

108:                                              ; preds = %104, %100
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #10
  br label %109

109:                                              ; preds = %108, %96
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #10
  br label %110

110:                                              ; preds = %109, %92
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  br label %118

111:                                              ; preds = %91, %57
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #10
  %112 = load i32, ptr %13, align 4, !tbaa !10
  %113 = sitofp i32 %112 to double
  invoke void @_ZN7testing8internal20DoubleNearPredFormatEPKcS2_S2_ddd(ptr dead_on_unwind writable sret(%"class.testing::AssertionResult") align 8 %21, ptr noundef @.str.14, ptr noundef @.str.15, ptr noundef @.str.16, double noundef %113, double noundef 5.000000e+01, double noundef 1.000000e+00)
          to label %114 unwind label %120

114:                                              ; preds = %111
  %115 = invoke noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %116 unwind label %124

116:                                              ; preds = %114
  br i1 %115, label %117, label %128

117:                                              ; preds = %116
  br label %148

118:                                              ; preds = %110, %82
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #10
  br label %119

119:                                              ; preds = %118, %78
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #10
  br label %220

120:                                              ; preds = %111
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %4, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %5, align 4
  br label %164

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

128:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #10
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %129 unwind label %134

129:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  %130 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %131 unwind label %138

131:                                              ; preds = %129
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %23, i32 noundef 1, ptr noundef @.str.5, i32 noundef 95, ptr noundef %130)
          to label %132 unwind label %138

132:                                              ; preds = %131
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %133 unwind label %142

133:                                              ; preds = %132
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  br label %148

134:                                              ; preds = %128
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %4, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %5, align 4
  br label %147

138:                                              ; preds = %131, %129
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %4, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %5, align 4
  br label %146

142:                                              ; preds = %132
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %4, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %5, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #10
  br label %146

146:                                              ; preds = %142, %138
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #10
  br label %147

147:                                              ; preds = %146, %134
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  br label %163

148:                                              ; preds = %133, %117
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %24, ptr align 16 @__const._ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv.contour1, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %25, ptr align 16 @__const._ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv.hole3, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %26) #10
  invoke void @_ZN13StaticPolygonC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %26)
          to label %149 unwind label %165

149:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 40, ptr %27) #10
  invoke void @_ZN13StaticPolygonC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %27)
          to label %150 unwind label %169

150:                                              ; preds = %149
  %151 = getelementptr inbounds [4 x %struct.Point], ptr %24, i64 0, i64 0
  invoke void @_ZN13StaticPolygon20initWithPointsNoCopyEP5Pointi(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef %151, i32 noundef 4)
          to label %152 unwind label %173

152:                                              ; preds = %150
  %153 = getelementptr inbounds [4 x %struct.Point], ptr %25, i64 0, i64 0
  invoke void @_ZN13StaticPolygon20initWithPointsNoCopyEP5Pointi(ptr noundef nonnull align 8 dereferenceable(40) %27, ptr noundef %153, i32 noundef 4)
          to label %154 unwind label %173

154:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #10
  store ptr %26, ptr %28, align 8, !tbaa !5
  %155 = getelementptr inbounds ptr, ptr %28, i64 1
  store ptr %27, ptr %155, align 8, !tbaa !5
  %156 = load ptr, ptr %3, align 8, !tbaa !5
  %157 = getelementptr inbounds [2 x ptr], ptr %28, i64 0, i64 0
  invoke void @_ZN13PolygonMarker20findCentralMarkPointEPP13StaticPolygoniP5PointPi(ptr noundef nonnull align 8 dereferenceable(128) %156, ptr noundef %157, i32 noundef 2, ptr noundef %12, ptr noundef %13)
          to label %158 unwind label %177

158:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #10
  store i32 5, ptr %30, align 4, !tbaa !10
  invoke void @_ZN7testing8internal8EqHelperILb0EE7CompareIiiEENS_15AssertionResultEPKcS6_RKT_RKT0_(ptr dead_on_unwind writable sret(%"class.testing::AssertionResult") align 8 %29, ptr noundef @.str.14, ptr noundef @.str.17, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %30)
          to label %159 unwind label %181

159:                                              ; preds = %158
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #10
  %160 = invoke noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %29)
          to label %161 unwind label %185

161:                                              ; preds = %159
  br i1 %160, label %162, label %189

162:                                              ; preds = %161
  br label %209

163:                                              ; preds = %147, %124
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #10
  br label %164

164:                                              ; preds = %163, %120
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #10
  br label %220

165:                                              ; preds = %148
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %4, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %5, align 4
  br label %219

169:                                              ; preds = %149
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %4, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %5, align 4
  br label %218

173:                                              ; preds = %152, %150
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %4, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %5, align 4
  br label %217

177:                                              ; preds = %154
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %4, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %5, align 4
  br label %216

181:                                              ; preds = %158
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %4, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #10
  br label %215

185:                                              ; preds = %159
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %4, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %5, align 4
  br label %214

189:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #10
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %190 unwind label %195

190:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #10
  %191 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %29)
          to label %192 unwind label %199

192:                                              ; preds = %190
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %32, i32 noundef 1, ptr noundef @.str.5, i32 noundef 117, ptr noundef %191)
          to label %193 unwind label %199

193:                                              ; preds = %192
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %194 unwind label %203

194:                                              ; preds = %193
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %32) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #10
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  br label %209

195:                                              ; preds = %189
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %4, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %5, align 4
  br label %208

199:                                              ; preds = %192, %190
  %200 = landingpad { ptr, i32 }
          cleanup
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %4, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %5, align 4
  br label %207

203:                                              ; preds = %193
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %4, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %5, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %32) #10
  br label %207

207:                                              ; preds = %203, %199
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #10
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #10
  br label %208

208:                                              ; preds = %207, %195
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  br label %214

209:                                              ; preds = %194, %162
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #10
  %210 = load ptr, ptr %3, align 8, !tbaa !5
  %211 = icmp eq ptr %210, null
  br i1 %211, label %213, label %212

212:                                              ; preds = %209
  call void @_ZN13PolygonMarkerD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %210) #10
  call void @_ZdlPvm(ptr noundef %210, i64 noundef 128) #12
  br label %213

213:                                              ; preds = %212, %209
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #10
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %27) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #10
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %26) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #10
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #10
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #10
  ret void

214:                                              ; preds = %208, %185
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #10
  br label %215

215:                                              ; preds = %214, %181
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #10
  br label %216

216:                                              ; preds = %215, %177
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #10
  br label %217

217:                                              ; preds = %216, %173
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %27) #10
  br label %218

218:                                              ; preds = %217, %169
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #10
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %26) #10
  br label %219

219:                                              ; preds = %218, %165
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #10
  br label %220

220:                                              ; preds = %219, %164, %119, %74
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  br label %221

221:                                              ; preds = %220, %70
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #10
  br label %222

222:                                              ; preds = %221, %66
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #10
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #10
  br label %223

223:                                              ; preds = %222, %62
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #10
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #10
  br label %224

224:                                              ; preds = %223, %58
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #10
  br label %225

225:                                              ; preds = %224
  %226 = load ptr, ptr %4, align 8
  %227 = load i32, ptr %5, align 4
  %228 = insertvalue { ptr, i32 } poison, ptr %226, 0
  %229 = insertvalue { ptr, i32 } %228, i32 %227, 1
  resume { ptr, i32 } %229
}

declare void @_ZN7testing8internal20DoubleNearPredFormatEPKcS2_S2_ddd(ptr dead_on_unwind writable sret(%"class.testing::AssertionResult") align 8, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing8internal8EqHelperILb0EE7CompareIiiEENS_15AssertionResultEPKcS6_RKT_RKT0_(ptr dead_on_unwind noalias writable sret(%"class.testing::AssertionResult") align 8, ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #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 = { "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 = { alwaysinline 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { 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 #9 = { 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 #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { 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 = !{i64 0, i64 4, !10, i64 4, i64 4, !10}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}


; 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.Point = type { i32, i32 }
%"class.testing::AssertionResult" = type { i8, %"class.testing::internal::scoped_ptr" }
%"class.testing::internal::scoped_ptr" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%class.StaticPolygon = type { ptr, i32, %struct.Rect, i8, i64 }
%struct.Rect = type { i32, i32, i32, i32 }
%"class.testing::Message" = type { %"class.testing::internal::scoped_ptr.0" }
%"class.testing::internal::scoped_ptr.0" = type { ptr }
%"class.testing::internal::AssertHelper" = type { ptr }

@.str.5 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@__const._ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv.contour = external hidden unnamed_addr constant [4 x %struct.Point], align 16
@__const._ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv.hole1 = external hidden unnamed_addr constant [4 x %struct.Point], align 16
@__const._ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv.hole2 = external hidden unnamed_addr constant [4 x %struct.Point], align 16
@.str.13 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [2 x i8], align 1
@__const._ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv.contour1 = external hidden unnamed_addr constant [4 x %struct.Point], align 16
@__const._ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv.hole3 = external hidden unnamed_addr constant [4 x %struct.Point], align 16
@.str.17 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z6isNear5PointS_i(ptr dead_on_unwind noalias writable sret(%"class.testing::AssertionResult") align 8, i64, i64, i32 noundef) local_unnamed_addr #0

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

declare void @_ZN13PolygonMarkerC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #5

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN13PolygonMarker24setCentralPointPrecisionEi(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef) local_unnamed_addr #6 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) #7

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN13StaticPolygonC2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #6 align 2

declare void @_ZN13StaticPolygon20initWithPointsNoCopyEP5Pointi(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, i32 noundef) local_unnamed_addr #5

declare void @_ZN13PolygonMarker20findCentralMarkPointEPP13StaticPolygoniP5PointPi(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden i64 @_ZL10Point_makeii(i32 noundef, i32 noundef) local_unnamed_addr #6

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

declare void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5

declare void @_ZN7testing8internal30GetBoolAssertionFailureMessageB5cxx11ERKNS_15AssertionResultEPKcS5_S5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

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

declare void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef, i32 noundef, ptr noundef) unnamed_addr #5

declare void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

; Function Attrs: nounwind
declare void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #9

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

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

; Function Attrs: nounwind
declare void @_ZN13PolygonMarkerD1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #9

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(16) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca [4 x %struct.Point], align 16
  %3 = alloca [4 x %struct.Point], align 16
  %4 = alloca [4 x %struct.Point], align 16
  %5 = alloca %class.StaticPolygon, align 8
  %6 = alloca %class.StaticPolygon, align 8
  %7 = alloca %class.StaticPolygon, align 8
  %8 = alloca %struct.Point, align 8
  %9 = alloca i32, align 4
  %10 = alloca [3 x ptr], align 16
  %11 = alloca %"class.testing::AssertionResult", align 8
  %12 = alloca %"class.testing::Message", align 8
  %13 = alloca %"class.testing::internal::AssertHelper", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.testing::AssertionResult", align 8
  %16 = alloca %"class.testing::Message", align 8
  %17 = alloca %"class.testing::internal::AssertHelper", align 8
  %18 = alloca [4 x %struct.Point], align 16
  %19 = alloca [4 x %struct.Point], align 16
  %20 = alloca %class.StaticPolygon, align 8
  %21 = alloca %class.StaticPolygon, align 8
  %22 = alloca [2 x ptr], align 16
  %23 = alloca %"class.testing::AssertionResult", align 8
  %24 = alloca i32, align 4
  %25 = alloca %"class.testing::Message", align 8
  %26 = alloca %"class.testing::internal::AssertHelper", align 8
  %27 = tail call noalias noundef nonnull dereferenceable(128) ptr @_Znwm(i64 noundef 128) #10
  invoke void @_ZN13PolygonMarkerC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %27)
          to label %28 unwind label %38

28:                                               ; preds = %1
  tail call void @_ZN13PolygonMarker24setCentralPointPrecisionEi(ptr noundef nonnull align 8 dereferenceable(128) %27, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %2, ptr noundef nonnull align 16 dereferenceable(32) @__const._ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv.contour, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %3, ptr noundef nonnull align 16 dereferenceable(32) @__const._ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv.hole1, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %4, ptr noundef nonnull align 16 dereferenceable(32) @__const._ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv.hole2, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #11
  call void @_ZN13StaticPolygonC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #11
  call void @_ZN13StaticPolygonC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #11
  call void @_ZN13StaticPolygonC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7)
  invoke void @_ZN13StaticPolygon20initWithPointsNoCopyEP5Pointi(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef nonnull %2, i32 noundef 4)
          to label %29 unwind label %40

29:                                               ; preds = %28
  invoke void @_ZN13StaticPolygon20initWithPointsNoCopyEP5Pointi(ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef nonnull %3, i32 noundef 4)
          to label %30 unwind label %40

30:                                               ; preds = %29
  invoke void @_ZN13StaticPolygon20initWithPointsNoCopyEP5Pointi(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull %4, i32 noundef 4)
          to label %31 unwind label %40

31:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #11
  store ptr %5, ptr %10, align 16, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %10, i64 8
  store ptr %6, ptr %32, align 8, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %10, i64 16
  store ptr %7, ptr %33, align 16, !tbaa !5
  invoke void @_ZN13PolygonMarker20findCentralMarkPointEPP13StaticPolygoniP5PointPi(ptr noundef nonnull align 8 dereferenceable(128) %27, ptr noundef nonnull %10, i32 noundef 3, ptr noundef nonnull %8, ptr noundef nonnull %9)
          to label %34 unwind label %42

34:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #11
  %.sroa.01.0.copyload = load i64, ptr %8, align 8
  %35 = call i64 @_ZL10Point_makeii(i32 noundef 160, i32 noundef 50)
  invoke void @_Z6isNear5PointS_i(ptr dead_on_unwind nonnull writable sret(%"class.testing::AssertionResult") align 8 %11, i64 %.sroa.01.0.copyload, i64 %35, i32 noundef 1)
          to label %36 unwind label %44

36:                                               ; preds = %34
  %37 = call noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
  br i1 %37, label %63, label %46

38:                                               ; preds = %1
  %39 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %27, i64 noundef 128) #12
  br label %119

40:                                               ; preds = %30, %29, %28
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %118

42:                                               ; preds = %31
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %117

44:                                               ; preds = %34
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %68

46:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #11
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %47 unwind label %52

47:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #11
  invoke void @_ZN7testing8internal30GetBoolAssertionFailureMessageB5cxx11ERKNS_15AssertionResultEPKcS5_S5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %14, ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8)
          to label %48 unwind label %54

48:                                               ; preds = %47
  %49 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #11
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %13, i32 noundef 1, ptr noundef nonnull @.str.5, i32 noundef 94, ptr noundef %49)
          to label %50 unwind label %56

50:                                               ; preds = %48
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %51 unwind label %58

51:                                               ; preds = %50
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #11
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #11
  br label %63

52:                                               ; preds = %46
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %62

54:                                               ; preds = %47
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %61

56:                                               ; preds = %48
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %60

58:                                               ; preds = %50
  %59 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #11
  br label %60

60:                                               ; preds = %58, %56
  %.pn = phi { ptr, i32 } [ %59, %58 ], [ %57, %56 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #11
  br label %61

61:                                               ; preds = %60, %54
  %.pn.pn = phi { ptr, i32 } [ %.pn, %60 ], [ %55, %54 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #11
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #11
  br label %62

62:                                               ; preds = %61, %52
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %61 ], [ %53, %52 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #11
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #11
  br label %68

63:                                               ; preds = %36, %51
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #11
  %64 = load i32, ptr %9, align 4, !tbaa !9
  %65 = sitofp i32 %64 to double
  invoke void @_ZN7testing8internal20DoubleNearPredFormatEPKcS2_S2_ddd(ptr dead_on_unwind nonnull writable sret(%"class.testing::AssertionResult") align 8 %15, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.16, double noundef %65, double noundef 5.000000e+01, double noundef 1.000000e+00)
          to label %66 unwind label %69

66:                                               ; preds = %63
  %67 = call noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %15)
  br i1 %67, label %85, label %71

68:                                               ; preds = %62, %44
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %62 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #11
  br label %117

69:                                               ; preds = %63
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %92

71:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #11
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %72 unwind label %77

72:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #11
  %73 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %74 unwind label %79

74:                                               ; preds = %72
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef 1, ptr noundef nonnull @.str.5, i32 noundef 95, ptr noundef %73)
          to label %75 unwind label %79

75:                                               ; preds = %74
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %76 unwind label %81

76:                                               ; preds = %75
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #11
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #11
  br label %85

77:                                               ; preds = %71
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %84

79:                                               ; preds = %74, %72
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %83

81:                                               ; preds = %75
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #11
  br label %83

83:                                               ; preds = %81, %79
  %.pn26 = phi { ptr, i32 } [ %82, %81 ], [ %80, %79 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #11
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #11
  br label %84

84:                                               ; preds = %83, %77
  %.pn26.pn = phi { ptr, i32 } [ %.pn26, %83 ], [ %78, %77 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #11
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #11
  br label %92

85:                                               ; preds = %66, %76
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %18, ptr noundef nonnull align 16 dereferenceable(32) @__const._ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv.contour1, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %19, ptr noundef nonnull align 16 dereferenceable(32) @__const._ZN38PolygonMarkerTest_PolygonWithHole_Test8TestBodyEv.hole3, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %20) #11
  call void @_ZN13StaticPolygonC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %20)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %21) #11
  call void @_ZN13StaticPolygonC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %21)
  invoke void @_ZN13StaticPolygon20initWithPointsNoCopyEP5Pointi(ptr noundef nonnull align 8 dereferenceable(40) %20, ptr noundef nonnull %18, i32 noundef 4)
          to label %86 unwind label %93

86:                                               ; preds = %85
  invoke void @_ZN13StaticPolygon20initWithPointsNoCopyEP5Pointi(ptr noundef nonnull align 8 dereferenceable(40) %21, ptr noundef nonnull %19, i32 noundef 4)
          to label %87 unwind label %93

87:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #11
  store ptr %20, ptr %22, align 16, !tbaa !5
  %88 = getelementptr inbounds i8, ptr %22, i64 8
  store ptr %21, ptr %88, align 8, !tbaa !5
  invoke void @_ZN13PolygonMarker20findCentralMarkPointEPP13StaticPolygoniP5PointPi(ptr noundef nonnull align 8 dereferenceable(128) %27, ptr noundef nonnull %22, i32 noundef 2, ptr noundef nonnull %8, ptr noundef nonnull %9)
          to label %89 unwind label %95

89:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #11
  store i32 5, ptr %24, align 4, !tbaa !9
  invoke void @_ZN7testing8internal8EqHelperILb0EE7CompareIiiEENS_15AssertionResultEPKcS6_RKT_RKT0_(ptr dead_on_unwind nonnull writable sret(%"class.testing::AssertionResult") align 8 %23, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.17, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %24)
          to label %90 unwind label %97

90:                                               ; preds = %89
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #11
  %91 = call noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %23)
  br i1 %91, label %113, label %99

92:                                               ; preds = %84, %69
  %.pn26.pn.pn = phi { ptr, i32 } [ %.pn26.pn, %84 ], [ %70, %69 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #11
  br label %117

93:                                               ; preds = %86, %85
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %116

95:                                               ; preds = %87
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %115

97:                                               ; preds = %89
  %98 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #11
  br label %114

99:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #11
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %100 unwind label %105

100:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #11
  %101 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %23)
          to label %102 unwind label %107

102:                                              ; preds = %100
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %26, i32 noundef 1, ptr noundef nonnull @.str.5, i32 noundef 117, ptr noundef %101)
          to label %103 unwind label %107

103:                                              ; preds = %102
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %104 unwind label %109

104:                                              ; preds = %103
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #11
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #11
  br label %113

105:                                              ; preds = %99
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %112

107:                                              ; preds = %102, %100
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %111

109:                                              ; preds = %103
  %110 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #11
  br label %111

111:                                              ; preds = %109, %107
  %.pn30 = phi { ptr, i32 } [ %110, %109 ], [ %108, %107 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #11
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #11
  br label %112

112:                                              ; preds = %111, %105
  %.pn30.pn = phi { ptr, i32 } [ %.pn30, %111 ], [ %106, %105 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #11
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #11
  br label %114

113:                                              ; preds = %90, %104
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #11
  call void @_ZN13PolygonMarkerD1Ev(ptr noundef nonnull align 8 dereferenceable(128) %27) #11
  call void @_ZdlPvm(ptr noundef nonnull %27, i64 noundef 128) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #11
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %21) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %21) #11
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #11
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #11
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #11
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #11
  ret void

114:                                              ; preds = %112, %97
  %.pn30.pn.pn = phi { ptr, i32 } [ %.pn30.pn, %112 ], [ %98, %97 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #11
  br label %115

115:                                              ; preds = %114, %95
  %.pn30.pn.pn.pn = phi { ptr, i32 } [ %.pn30.pn.pn, %114 ], [ %96, %95 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #11
  br label %116

116:                                              ; preds = %115, %93
  %.pn30.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn30.pn.pn.pn, %115 ], [ %94, %93 ]
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %21) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %21) #11
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #11
  br label %117

117:                                              ; preds = %116, %92, %68, %42
  %.pn30.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn30.pn.pn.pn.pn, %116 ], [ %.pn26.pn.pn, %92 ], [ %.pn.pn.pn.pn, %68 ], [ %43, %42 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #11
  br label %118

118:                                              ; preds = %117, %40
  %.pn30.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn30.pn.pn.pn.pn.pn, %117 ], [ %41, %40 ]
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #11
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #11
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #11
  br label %119

119:                                              ; preds = %118, %38
  %.pn30.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn30.pn.pn.pn.pn.pn.pn, %118 ], [ %39, %38 ]
  resume { ptr, i32 } %.pn30.pn.pn.pn.pn.pn.pn.pn
}

declare void @_ZN7testing8internal20DoubleNearPredFormatEPKcS2_S2_ddd(ptr dead_on_unwind writable sret(%"class.testing::AssertionResult") align 8, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing8internal8EqHelperILb0EE7CompareIiiEENS_15AssertionResultEPKcS6_RKT_RKT0_(ptr dead_on_unwind noalias writable sret(%"class.testing::AssertionResult") align 8, ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #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 = { "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 = { alwaysinline 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { 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 #9 = { 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 #10 = { builtin allocsize(0) }
attributes #11 = { nounwind }
attributes #12 = { 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 = !{!"int", !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass