; LLVM IR from NavInfoNC/nc-geo :: test/polygon_tile_splitter_unittest.ll (ZN30PolygonTileSplitter_basic_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.StaticPolygon = type { ptr, i32, %struct.Rect, i8, i64 }
%struct.Rect = type { i32, i32, i32, i32 }
%"class.testing::AssertionResult" = type { i8, %"class.testing::internal::scoped_ptr" }
%"class.testing::internal::scoped_ptr" = type { ptr }
%"class.testing::Message" = type { %"class.testing::internal::scoped_ptr.0" }
%"class.testing::internal::scoped_ptr.0" = type { ptr }
%"class.testing::internal::AssertHelper" = type { ptr }

@__const._ZN30PolygonTileSplitter_basic_Test8TestBodyEv.points = external hidden unnamed_addr constant [3 x %struct.Point], align 16
@__const._ZN30PolygonTileSplitter_basic_Test8TestBodyEv.results = external hidden unnamed_addr constant [3 x [7 x %struct.Point]], align 16
@__const._ZN30PolygonTileSplitter_basic_Test8TestBodyEv.resultLen = external hidden unnamed_addr constant [3 x i32], align 4
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [8 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN30PolygonTileSplitter_basic_Test8TestBodyEv(ptr noundef nonnull align 8 dereferenceable(16) %0) unnamed_addr #2 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 ptr, align 8
  %7 = alloca [3 x %struct.Point], align 16
  %8 = alloca [3 x [7 x %struct.Point]], align 16
  %9 = alloca [3 x i32], align 4
  %10 = alloca %class.StaticPolygon, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.testing::AssertionResult", align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.testing::Message", align 8
  %15 = alloca %"class.testing::internal::AssertHelper", align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i8, align 1
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %"class.testing::AssertionResult", align 8
  %23 = alloca i32, align 4
  %24 = alloca %"class.testing::Message", align 8
  %25 = alloca %"class.testing::internal::AssertHelper", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %26 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #11
  %27 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 16) #12
  invoke void @_ZN19PolygonTileSplitterC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %27)
          to label %28 unwind label %46

28:                                               ; preds = %1
  store ptr %27, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const._ZN30PolygonTileSplitter_basic_Test8TestBodyEv.points, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 168, ptr %8) #11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const._ZN30PolygonTileSplitter_basic_Test8TestBodyEv.results, i64 168, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %9) #11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 @__const._ZN30PolygonTileSplitter_basic_Test8TestBodyEv.resultLen, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %10) #11
  call void @_ZN13StaticPolygonC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10)
  %29 = getelementptr inbounds [3 x %struct.Point], ptr %7, i64 0, i64 0
  invoke void @_ZN13StaticPolygon20initWithPointsNoCopyEP5Pointi(ptr noundef nonnull align 8 dereferenceable(40) %10, ptr noundef %29, i32 noundef 3)
          to label %30 unwind label %50

30:                                               ; preds = %28
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = load ptr, ptr %31, align 8, !tbaa !9
  %33 = getelementptr inbounds ptr, ptr %32, i64 0
  %34 = load ptr, ptr %33, align 8
  invoke void %34(ptr noundef nonnull align 8 dereferenceable(16) %31, i32 noundef 50)
          to label %35 unwind label %50

35:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #11
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = load ptr, ptr %36, align 8, !tbaa !9
  %38 = getelementptr inbounds ptr, ptr %37, i64 1
  %39 = load ptr, ptr %38, align 8
  %40 = invoke noundef ptr %39(ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef %10, ptr noundef %11)
          to label %41 unwind label %54

41:                                               ; preds = %35
  store ptr %40, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #11
  store i32 3, ptr %13, align 4, !tbaa !11
  invoke void @_ZN7testing8internal8EqHelperILb0EE7CompareIiiEENS_15AssertionResultEPKcS6_RKT_RKT0_(ptr dead_on_unwind writable sret(%"class.testing::AssertionResult") align 8 %12, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %42 unwind label %58

42:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #11
  %43 = invoke noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %44 unwind label %62

44:                                               ; preds = %42
  br i1 %43, label %45, label %66

45:                                               ; preds = %44
  br label %86

46:                                               ; preds = %1
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %4, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %27, i64 noundef 16) #13
  br label %221

50:                                               ; preds = %30, %28
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %4, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %5, align 4
  br label %220

54:                                               ; preds = %35
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %4, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %5, align 4
  br label %219

58:                                               ; preds = %41
  %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 @llvm.lifetime.end.p0(i64 4, ptr %13) #11
  br label %95

62:                                               ; preds = %42
  %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 %94

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

67:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #11
  %68 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %69 unwind label %76

69:                                               ; preds = %67
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %15, i32 noundef 1, ptr noundef @.str.5, i32 noundef 22, ptr noundef %68)
          to label %70 unwind label %76

70:                                               ; preds = %69
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %71 unwind label %80

71:                                               ; preds = %70
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #11
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #11
  br label %86

72:                                               ; preds = %66
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %4, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %5, align 4
  br label %85

76:                                               ; preds = %69, %67
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %4, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %5, align 4
  br label %84

80:                                               ; preds = %70
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %4, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %5, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #11
  br label %84

84:                                               ; preds = %80, %76
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #11
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #11
  br label %85

85:                                               ; preds = %84, %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #11
  br label %94

86:                                               ; preds = %71, %45
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #11
  %87 = load i32, ptr %11, align 4, !tbaa !11
  %88 = icmp eq i32 %87, 3
  br i1 %88, label %89, label %214

89:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #11
  store i32 0, ptr %16, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #11
  store i32 0, ptr %17, align 4, !tbaa !11
  br label %90

90:                                               ; preds = %174, %89
  %91 = load i32, ptr %17, align 4, !tbaa !11
  %92 = icmp slt i32 %91, 3
  br i1 %92, label %96, label %93

93:                                               ; preds = %90
  store i32 2, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #11
  br label %177

94:                                               ; preds = %85, %62
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #11
  br label %95

95:                                               ; preds = %94, %58
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #11
  br label %219

96:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #11
  store i8 0, ptr %19, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #11
  store i32 0, ptr %20, align 4, !tbaa !11
  br label %97

97:                                               ; preds = %168, %96
  %98 = load i32, ptr %20, align 4, !tbaa !11
  %99 = icmp slt i32 %98, 3
  br i1 %99, label %101, label %100

100:                                              ; preds = %97
  store i32 5, ptr %18, align 4
  br label %171

101:                                              ; preds = %97
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = load i32, ptr %20, align 4, !tbaa !11
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds ptr, ptr %102, i64 %104
  %106 = load ptr, ptr %105, align 8, !tbaa !5
  %107 = invoke noundef i32 @_ZN13StaticPolygon11pointNumberEv(ptr noundef nonnull align 8 dereferenceable(40) %106)
          to label %108 unwind label %123

108:                                              ; preds = %101
  %109 = load i32, ptr %17, align 4, !tbaa !11
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 %110
  %112 = load i32, ptr %111, align 4, !tbaa !11
  %113 = icmp eq i32 %107, %112
  br i1 %113, label %114, label %163

114:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #11
  store i32 0, ptr %21, align 4, !tbaa !11
  br label %115

115:                                              ; preds = %158, %114
  %116 = load i32, ptr %21, align 4, !tbaa !11
  %117 = load i32, ptr %17, align 4, !tbaa !11
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 %118
  %120 = load i32, ptr %119, align 4, !tbaa !11
  %121 = icmp slt i32 %116, %120
  br i1 %121, label %127, label %122

122:                                              ; preds = %115
  store i32 8, ptr %18, align 4
  br label %161

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

127:                                              ; preds = %115
  %128 = load i32, ptr %17, align 4, !tbaa !11
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds [3 x [7 x %struct.Point]], ptr %8, i64 0, i64 %129
  %131 = getelementptr inbounds [7 x %struct.Point], ptr %130, i64 0, i64 0
  %132 = load i32, ptr %21, align 4, !tbaa !11
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds %struct.Point, ptr %131, i64 %133
  %135 = load ptr, ptr %6, align 8, !tbaa !5
  %136 = load i32, ptr %20, align 4, !tbaa !11
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds ptr, ptr %135, i64 %137
  %139 = load ptr, ptr %138, align 8, !tbaa !5
  %140 = invoke noundef ptr @_ZN13StaticPolygon6pointsEv(ptr noundef nonnull align 8 dereferenceable(40) %139)
          to label %141 unwind label %153

141:                                              ; preds = %127
  %142 = load i32, ptr %17, align 4, !tbaa !11
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 %143
  %145 = load i32, ptr %144, align 4, !tbaa !11
  %146 = sext i32 %145 to i64
  %147 = mul i64 %146, 8
  %148 = call i32 @memcmp(ptr noundef %134, ptr noundef %140, i64 noundef %147) #14
  %149 = icmp eq i32 %148, 0
  br i1 %149, label %150, label %157

150:                                              ; preds = %141
  %151 = load i32, ptr %16, align 4, !tbaa !11
  %152 = add nsw i32 %151, 1
  store i32 %152, ptr %16, align 4, !tbaa !11
  store i8 1, ptr %19, align 1, !tbaa !13
  store i32 8, ptr %18, align 4
  br label %161

153:                                              ; preds = %127
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %4, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #11
  br label %172

157:                                              ; preds = %141
  br label %158

158:                                              ; preds = %157
  %159 = load i32, ptr %21, align 4, !tbaa !11
  %160 = add nsw i32 %159, 1
  store i32 %160, ptr %21, align 4, !tbaa !11
  br label %115, !llvm.loop !15

161:                                              ; preds = %150, %122
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #11
  br label %162

162:                                              ; preds = %161
  br label %163

163:                                              ; preds = %162, %108
  %164 = load i8, ptr %19, align 1, !tbaa !13, !range !17, !noundef !18
  %165 = trunc i8 %164 to i1
  br i1 %165, label %166, label %167

166:                                              ; preds = %163
  store i32 5, ptr %18, align 4
  br label %171

167:                                              ; preds = %163
  br label %168

168:                                              ; preds = %167
  %169 = load i32, ptr %20, align 4, !tbaa !11
  %170 = add nsw i32 %169, 1
  store i32 %170, ptr %20, align 4, !tbaa !11
  br label %97, !llvm.loop !19

171:                                              ; preds = %166, %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #11
  br label %173

172:                                              ; preds = %153, %123
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #11
  br label %213

173:                                              ; preds = %171
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #11
  br label %174

174:                                              ; preds = %173
  %175 = load i32, ptr %17, align 4, !tbaa !11
  %176 = add nsw i32 %175, 1
  store i32 %176, ptr %17, align 4, !tbaa !11
  br label %90, !llvm.loop !20

177:                                              ; preds = %93
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #11
  store i32 3, ptr %23, align 4, !tbaa !11
  invoke void @_ZN7testing8internal8EqHelperILb0EE7CompareIiiEENS_15AssertionResultEPKcS6_RKT_RKT0_(ptr dead_on_unwind writable sret(%"class.testing::AssertionResult") align 8 %22, ptr noundef @.str.6, ptr noundef @.str.3, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %178 unwind label %182

178:                                              ; preds = %177
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #11
  %179 = invoke noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %180 unwind label %186

180:                                              ; preds = %178
  br i1 %179, label %181, label %190

181:                                              ; preds = %180
  br label %210

182:                                              ; preds = %177
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %4, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #11
  br label %212

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

190:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #11
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %191 unwind label %196

191:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #11
  %192 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %193 unwind label %200

193:                                              ; preds = %191
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %25, i32 noundef 1, ptr noundef @.str.5, i32 noundef 47, ptr noundef %192)
          to label %194 unwind label %200

194:                                              ; preds = %193
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %195 unwind label %204

195:                                              ; preds = %194
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #11
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #11
  br label %210

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

200:                                              ; preds = %193, %191
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %4, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %5, align 4
  br label %208

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

208:                                              ; preds = %204, %200
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #11
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #11
  br label %209

209:                                              ; preds = %208, %196
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #11
  br label %211

210:                                              ; preds = %195, %181
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #11
  br label %214

211:                                              ; preds = %209, %186
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #11
  br label %212

212:                                              ; preds = %211, %182
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #11
  br label %213

213:                                              ; preds = %212, %172
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #11
  br label %219

214:                                              ; preds = %210, %86
  %215 = load ptr, ptr %3, align 8, !tbaa !5
  %216 = icmp eq ptr %215, null
  br i1 %216, label %218, label %217

217:                                              ; preds = %214
  call void @_ZN19PolygonTileSplitterD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %215) #11
  call void @_ZdlPvm(ptr noundef %215, i64 noundef 16) #13
  br label %218

218:                                              ; preds = %217, %214
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #11
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #11
  call void @llvm.lifetime.end.p0(i64 12, ptr %9) #11
  call void @llvm.lifetime.end.p0(i64 168, ptr %8) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #11
  ret void

219:                                              ; preds = %213, %95, %54
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #11
  br label %220

220:                                              ; preds = %219, %50
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #11
  call void @llvm.lifetime.end.p0(i64 12, ptr %9) #11
  call void @llvm.lifetime.end.p0(i64 168, ptr %8) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #11
  br label %221

221:                                              ; preds = %220, %46
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #11
  br label %222

222:                                              ; preds = %221
  %223 = load ptr, ptr %4, align 8
  %224 = load i32, ptr %5, align 4
  %225 = insertvalue { ptr, i32 } poison, ptr %223, 0
  %226 = insertvalue { ptr, i32 } %225, i32 %224, 1
  resume { ptr, i32 } %226
}

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

declare void @_ZN19PolygonTileSplitterC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

; 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) #5

; 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) #4

; 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)) #2 align 2

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #10

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

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

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

attributes #0 = { 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 #1 = { 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 #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 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 #8 = { 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 #9 = { 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 #10 = { nounwind willreturn memory(read) "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 #11 = { nounwind }
attributes #12 = { builtin allocsize(0) }
attributes #13 = { builtin nounwind }
attributes #14 = { nounwind willreturn memory(read) }

!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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = distinct !{!19, !16}
!20 = distinct !{!20, !16}


; 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.StaticPolygon = type { ptr, i32, %struct.Rect, i8, i64 }
%struct.Rect = type { i32, i32, i32, i32 }
%"class.testing::AssertionResult" = type { i8, %"class.testing::internal::scoped_ptr" }
%"class.testing::internal::scoped_ptr" = type { ptr }
%"class.testing::Message" = type { %"class.testing::internal::scoped_ptr.0" }
%"class.testing::internal::scoped_ptr.0" = type { ptr }
%"class.testing::internal::AssertHelper" = type { ptr }

@__const._ZN30PolygonTileSplitter_basic_Test8TestBodyEv.points = external hidden unnamed_addr constant [3 x %struct.Point], align 16
@__const._ZN30PolygonTileSplitter_basic_Test8TestBodyEv.results = external hidden unnamed_addr constant [3 x [7 x %struct.Point]], align 16
@__const._ZN30PolygonTileSplitter_basic_Test8TestBodyEv.resultLen = external hidden unnamed_addr constant [3 x i32], align 4
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [8 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN30PolygonTileSplitter_basic_Test8TestBodyEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(16) %0) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca [3 x %struct.Point], align 16
  %3 = alloca %class.StaticPolygon, align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.testing::AssertionResult", align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.testing::Message", align 8
  %8 = alloca %"class.testing::internal::AssertHelper", align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.testing::AssertionResult", align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.testing::Message", align 8
  %13 = alloca %"class.testing::internal::AssertHelper", align 8
  %14 = tail call noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #11
  invoke void @_ZN19PolygonTileSplitterC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %15 unwind label %27

15:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #12
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %2, ptr noundef nonnull align 16 dereferenceable(24) @__const._ZN30PolygonTileSplitter_basic_Test8TestBodyEv.points, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #12
  call void @_ZN13StaticPolygonC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3)
  invoke void @_ZN13StaticPolygon20initWithPointsNoCopyEP5Pointi(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef nonnull %2, i32 noundef 3)
          to label %16 unwind label %29

16:                                               ; preds = %15
  %17 = load ptr, ptr %14, align 8, !tbaa !5
  %18 = load ptr, ptr %17, align 8
  invoke void %18(ptr noundef nonnull align 8 dereferenceable(16) %14, i32 noundef 50)
          to label %19 unwind label %29

19:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #12
  %20 = load ptr, ptr %14, align 8, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %20, i64 8
  %22 = load ptr, ptr %21, align 8
  %23 = invoke noundef ptr %22(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull %3, ptr noundef nonnull %4)
          to label %24 unwind label %31

24:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #12
  store i32 3, ptr %6, align 4, !tbaa !8
  invoke void @_ZN7testing8internal8EqHelperILb0EE7CompareIiiEENS_15AssertionResultEPKcS6_RKT_RKT0_(ptr dead_on_unwind nonnull writable sret(%"class.testing::AssertionResult") align 8 %5, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %25 unwind label %33

25:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #12
  %26 = call noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
  br i1 %26, label %49, label %35

27:                                               ; preds = %1
  %28 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %14, i64 noundef 16) #13
  br label %191

29:                                               ; preds = %16, %15
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %190

31:                                               ; preds = %19
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %189

33:                                               ; preds = %24
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #12
  br label %57

35:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #12
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %36 unwind label %41

36:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #12
  %37 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %38 unwind label %43

38:                                               ; preds = %36
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef 1, ptr noundef nonnull @.str.5, i32 noundef 22, ptr noundef %37)
          to label %39 unwind label %43

39:                                               ; preds = %38
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %40 unwind label %45

40:                                               ; preds = %39
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #12
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #12
  br label %49

41:                                               ; preds = %35
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %48

43:                                               ; preds = %38, %36
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %47

45:                                               ; preds = %39
  %46 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #12
  br label %47

47:                                               ; preds = %45, %43
  %.pn = phi { ptr, i32 } [ %46, %45 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #12
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #12
  br label %48

48:                                               ; preds = %47, %41
  %.pn.pn = phi { ptr, i32 } [ %.pn, %47 ], [ %42, %41 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #12
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #12
  br label %57

49:                                               ; preds = %25, %40
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #12
  %50 = load i32, ptr %4, align 4, !tbaa !8
  %51 = icmp eq i32 %50, 3
  br i1 %51, label %.preheader47, label %188

.preheader47:                                     ; preds = %49
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #12
  store i32 0, ptr %9, align 4, !tbaa !8
  %52 = load ptr, ptr %23, align 8, !tbaa !11
  %53 = call noundef i32 @_ZN13StaticPolygon11pointNumberEv(ptr noundef nonnull align 8 dereferenceable(40) %52)
  %54 = load i32, ptr @__const._ZN30PolygonTileSplitter_basic_Test8TestBodyEv.resultLen, align 4, !tbaa !8
  %55 = icmp eq i32 %53, %54
  %56 = icmp sgt i32 %54, 0
  %or.cond = and i1 %55, %56
  br i1 %or.cond, label %.lr.ph, label %.loopexit

57:                                               ; preds = %48, %33
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %48 ], [ %34, %33 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #12
  br label %189

.lr.ph:                                           ; preds = %.preheader47
  %58 = zext i32 %53 to i64
  %59 = shl nuw nsw i64 %58, 3
  br label %61

60:                                               ; preds = %61
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %58
  br i1 %exitcond.not, label %.loopexit, label %61, !llvm.loop !13

61:                                               ; preds = %.lr.ph, %60
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %60 ]
  %62 = getelementptr inbounds %struct.Point, ptr @__const._ZN30PolygonTileSplitter_basic_Test8TestBodyEv.results, i64 %indvars.iv
  %63 = load ptr, ptr %23, align 8, !tbaa !11
  %64 = call noundef ptr @_ZN13StaticPolygon6pointsEv(ptr noundef nonnull align 8 dereferenceable(40) %63)
  %bcmp = call i32 @bcmp(ptr nonnull %62, ptr %64, i64 %59)
  %65 = icmp eq i32 %bcmp, 0
  br i1 %65, label %.thread, label %60

.thread:                                          ; preds = %61, %72, %84
  store i32 1, ptr %9, align 4, !tbaa !8
  br label %.loopexit48

.loopexit:                                        ; preds = %60, %.preheader47
  %66 = getelementptr inbounds i8, ptr %23, i64 8
  %67 = load ptr, ptr %66, align 8, !tbaa !11
  %68 = call noundef i32 @_ZN13StaticPolygon11pointNumberEv(ptr noundef nonnull align 8 dereferenceable(40) %67)
  %69 = icmp eq i32 %68, %54
  %or.cond.1 = and i1 %69, %56
  br i1 %or.cond.1, label %.lr.ph.1, label %.loopexit.1

.lr.ph.1:                                         ; preds = %.loopexit
  %70 = zext nneg i32 %54 to i64
  %71 = shl nuw nsw i64 %70, 3
  br label %72

72:                                               ; preds = %77, %.lr.ph.1
  %indvars.iv.1 = phi i64 [ 0, %.lr.ph.1 ], [ %indvars.iv.next.1, %77 ]
  %73 = getelementptr inbounds %struct.Point, ptr @__const._ZN30PolygonTileSplitter_basic_Test8TestBodyEv.results, i64 %indvars.iv.1
  %74 = load ptr, ptr %66, align 8, !tbaa !11
  %75 = call noundef ptr @_ZN13StaticPolygon6pointsEv(ptr noundef nonnull align 8 dereferenceable(40) %74)
  %bcmp.1 = call i32 @bcmp(ptr nonnull %73, ptr %75, i64 %71)
  %76 = icmp eq i32 %bcmp.1, 0
  br i1 %76, label %.thread, label %77

77:                                               ; preds = %72
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv.1, 1
  %exitcond.1.not = icmp eq i64 %indvars.iv.next.1, %70
  br i1 %exitcond.1.not, label %.loopexit.1, label %72, !llvm.loop !13

.loopexit.1:                                      ; preds = %77, %.loopexit
  %78 = getelementptr inbounds i8, ptr %23, i64 16
  %79 = load ptr, ptr %78, align 8, !tbaa !11
  %80 = call noundef i32 @_ZN13StaticPolygon11pointNumberEv(ptr noundef nonnull align 8 dereferenceable(40) %79)
  %81 = icmp eq i32 %80, %54
  %or.cond.2 = and i1 %81, %56
  br i1 %or.cond.2, label %.lr.ph.2, label %.loopexit48

.lr.ph.2:                                         ; preds = %.loopexit.1
  %82 = zext nneg i32 %54 to i64
  %83 = shl nuw nsw i64 %82, 3
  br label %84

84:                                               ; preds = %89, %.lr.ph.2
  %indvars.iv.2 = phi i64 [ 0, %.lr.ph.2 ], [ %indvars.iv.next.2, %89 ]
  %85 = getelementptr inbounds %struct.Point, ptr @__const._ZN30PolygonTileSplitter_basic_Test8TestBodyEv.results, i64 %indvars.iv.2
  %86 = load ptr, ptr %78, align 8, !tbaa !11
  %87 = call noundef ptr @_ZN13StaticPolygon6pointsEv(ptr noundef nonnull align 8 dereferenceable(40) %86)
  %bcmp.2 = call i32 @bcmp(ptr nonnull %85, ptr %87, i64 %83)
  %88 = icmp eq i32 %bcmp.2, 0
  br i1 %88, label %.thread, label %89

89:                                               ; preds = %84
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv.2, 1
  %exitcond.2.not = icmp eq i64 %indvars.iv.next.2, %82
  br i1 %exitcond.2.not, label %.loopexit48, label %84, !llvm.loop !13

.loopexit48:                                      ; preds = %89, %.loopexit.1, %.thread
  %90 = phi i32 [ 1, %.thread ], [ 0, %.loopexit.1 ], [ 0, %89 ]
  %91 = load ptr, ptr %23, align 8, !tbaa !11
  %92 = call noundef i32 @_ZN13StaticPolygon11pointNumberEv(ptr noundef nonnull align 8 dereferenceable(40) %91)
  %93 = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN30PolygonTileSplitter_basic_Test8TestBodyEv.resultLen, i64 4), align 4, !tbaa !8
  %94 = icmp eq i32 %92, %93
  %95 = icmp sgt i32 %93, 0
  %or.cond.163 = and i1 %94, %95
  br i1 %or.cond.163, label %.lr.ph.165, label %.loopexit.171

.lr.ph.165:                                       ; preds = %.loopexit48
  %96 = zext i32 %92 to i64
  %97 = shl nuw nsw i64 %96, 3
  br label %98

98:                                               ; preds = %103, %.lr.ph.165
  %indvars.iv.166 = phi i64 [ 0, %.lr.ph.165 ], [ %indvars.iv.next.168, %103 ]
  %99 = getelementptr inbounds %struct.Point, ptr getelementptr inbounds (i8, ptr @__const._ZN30PolygonTileSplitter_basic_Test8TestBodyEv.results, i64 56), i64 %indvars.iv.166
  %100 = load ptr, ptr %23, align 8, !tbaa !11
  %101 = call noundef ptr @_ZN13StaticPolygon6pointsEv(ptr noundef nonnull align 8 dereferenceable(40) %100)
  %bcmp.167 = call i32 @bcmp(ptr nonnull %99, ptr %101, i64 %97)
  %102 = icmp eq i32 %bcmp.167, 0
  br i1 %102, label %.thread.1, label %103

103:                                              ; preds = %98
  %indvars.iv.next.168 = add nuw nsw i64 %indvars.iv.166, 1
  %exitcond.169.not = icmp eq i64 %indvars.iv.next.168, %96
  br i1 %exitcond.169.not, label %.loopexit.171, label %98, !llvm.loop !13

.loopexit.171:                                    ; preds = %103, %.loopexit48
  %104 = getelementptr inbounds i8, ptr %23, i64 8
  %105 = load ptr, ptr %104, align 8, !tbaa !11
  %106 = call noundef i32 @_ZN13StaticPolygon11pointNumberEv(ptr noundef nonnull align 8 dereferenceable(40) %105)
  %107 = icmp eq i32 %106, %93
  %or.cond.1.1 = and i1 %107, %95
  br i1 %or.cond.1.1, label %.lr.ph.1.1, label %.loopexit.1.1

.lr.ph.1.1:                                       ; preds = %.loopexit.171
  %108 = zext nneg i32 %93 to i64
  %109 = shl nuw nsw i64 %108, 3
  br label %110

110:                                              ; preds = %115, %.lr.ph.1.1
  %indvars.iv.1.1 = phi i64 [ 0, %.lr.ph.1.1 ], [ %indvars.iv.next.1.1, %115 ]
  %111 = getelementptr inbounds %struct.Point, ptr getelementptr inbounds (i8, ptr @__const._ZN30PolygonTileSplitter_basic_Test8TestBodyEv.results, i64 56), i64 %indvars.iv.1.1
  %112 = load ptr, ptr %104, align 8, !tbaa !11
  %113 = call noundef ptr @_ZN13StaticPolygon6pointsEv(ptr noundef nonnull align 8 dereferenceable(40) %112)
  %bcmp.1.1 = call i32 @bcmp(ptr nonnull %111, ptr %113, i64 %109)
  %114 = icmp eq i32 %bcmp.1.1, 0
  br i1 %114, label %.thread.1, label %115

115:                                              ; preds = %110
  %indvars.iv.next.1.1 = add nuw nsw i64 %indvars.iv.1.1, 1
  %exitcond.1.1.not = icmp eq i64 %indvars.iv.next.1.1, %108
  br i1 %exitcond.1.1.not, label %.loopexit.1.1, label %110, !llvm.loop !13

.loopexit.1.1:                                    ; preds = %115, %.loopexit.171
  %116 = getelementptr inbounds i8, ptr %23, i64 16
  %117 = load ptr, ptr %116, align 8, !tbaa !11
  %118 = call noundef i32 @_ZN13StaticPolygon11pointNumberEv(ptr noundef nonnull align 8 dereferenceable(40) %117)
  %119 = icmp eq i32 %118, %93
  %or.cond.2.1 = and i1 %119, %95
  br i1 %or.cond.2.1, label %.lr.ph.2.1, label %.loopexit48.1

.lr.ph.2.1:                                       ; preds = %.loopexit.1.1
  %120 = zext nneg i32 %93 to i64
  %121 = shl nuw nsw i64 %120, 3
  br label %122

122:                                              ; preds = %127, %.lr.ph.2.1
  %indvars.iv.2.1 = phi i64 [ 0, %.lr.ph.2.1 ], [ %indvars.iv.next.2.1, %127 ]
  %123 = getelementptr inbounds %struct.Point, ptr getelementptr inbounds (i8, ptr @__const._ZN30PolygonTileSplitter_basic_Test8TestBodyEv.results, i64 56), i64 %indvars.iv.2.1
  %124 = load ptr, ptr %116, align 8, !tbaa !11
  %125 = call noundef ptr @_ZN13StaticPolygon6pointsEv(ptr noundef nonnull align 8 dereferenceable(40) %124)
  %bcmp.2.1 = call i32 @bcmp(ptr nonnull %123, ptr %125, i64 %121)
  %126 = icmp eq i32 %bcmp.2.1, 0
  br i1 %126, label %.thread.1, label %127

127:                                              ; preds = %122
  %indvars.iv.next.2.1 = add nuw nsw i64 %indvars.iv.2.1, 1
  %exitcond.2.1.not = icmp eq i64 %indvars.iv.next.2.1, %120
  br i1 %exitcond.2.1.not, label %.loopexit48.1, label %122, !llvm.loop !13

.thread.1:                                        ; preds = %98, %110, %122
  %128 = add nuw nsw i32 %90, 1
  store i32 %128, ptr %9, align 4, !tbaa !8
  br label %.loopexit48.1

.loopexit48.1:                                    ; preds = %127, %.loopexit.1.1, %.thread.1
  %129 = phi i32 [ %128, %.thread.1 ], [ %90, %.loopexit.1.1 ], [ %90, %127 ]
  %130 = load ptr, ptr %23, align 8, !tbaa !11
  %131 = call noundef i32 @_ZN13StaticPolygon11pointNumberEv(ptr noundef nonnull align 8 dereferenceable(40) %130)
  %132 = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN30PolygonTileSplitter_basic_Test8TestBodyEv.resultLen, i64 8), align 4, !tbaa !8
  %133 = icmp eq i32 %131, %132
  %134 = icmp sgt i32 %132, 0
  %or.cond.272 = and i1 %133, %134
  br i1 %or.cond.272, label %.lr.ph.274, label %.loopexit.280

.lr.ph.274:                                       ; preds = %.loopexit48.1
  %135 = zext i32 %131 to i64
  %136 = shl nuw nsw i64 %135, 3
  br label %137

137:                                              ; preds = %142, %.lr.ph.274
  %indvars.iv.275 = phi i64 [ 0, %.lr.ph.274 ], [ %indvars.iv.next.277, %142 ]
  %138 = getelementptr inbounds %struct.Point, ptr getelementptr inbounds (i8, ptr @__const._ZN30PolygonTileSplitter_basic_Test8TestBodyEv.results, i64 112), i64 %indvars.iv.275
  %139 = load ptr, ptr %23, align 8, !tbaa !11
  %140 = call noundef ptr @_ZN13StaticPolygon6pointsEv(ptr noundef nonnull align 8 dereferenceable(40) %139)
  %bcmp.276 = call i32 @bcmp(ptr nonnull %138, ptr %140, i64 %136)
  %141 = icmp eq i32 %bcmp.276, 0
  br i1 %141, label %.thread.2, label %142

142:                                              ; preds = %137
  %indvars.iv.next.277 = add nuw nsw i64 %indvars.iv.275, 1
  %exitcond.278.not = icmp eq i64 %indvars.iv.next.277, %135
  br i1 %exitcond.278.not, label %.loopexit.280, label %137, !llvm.loop !13

.loopexit.280:                                    ; preds = %142, %.loopexit48.1
  %143 = getelementptr inbounds i8, ptr %23, i64 8
  %144 = load ptr, ptr %143, align 8, !tbaa !11
  %145 = call noundef i32 @_ZN13StaticPolygon11pointNumberEv(ptr noundef nonnull align 8 dereferenceable(40) %144)
  %146 = icmp eq i32 %145, %132
  %or.cond.1.2 = and i1 %146, %134
  br i1 %or.cond.1.2, label %.lr.ph.1.2, label %.loopexit.1.2

.lr.ph.1.2:                                       ; preds = %.loopexit.280
  %147 = zext nneg i32 %132 to i64
  %148 = shl nuw nsw i64 %147, 3
  br label %149

149:                                              ; preds = %154, %.lr.ph.1.2
  %indvars.iv.1.2 = phi i64 [ 0, %.lr.ph.1.2 ], [ %indvars.iv.next.1.2, %154 ]
  %150 = getelementptr inbounds %struct.Point, ptr getelementptr inbounds (i8, ptr @__const._ZN30PolygonTileSplitter_basic_Test8TestBodyEv.results, i64 112), i64 %indvars.iv.1.2
  %151 = load ptr, ptr %143, align 8, !tbaa !11
  %152 = call noundef ptr @_ZN13StaticPolygon6pointsEv(ptr noundef nonnull align 8 dereferenceable(40) %151)
  %bcmp.1.2 = call i32 @bcmp(ptr nonnull %150, ptr %152, i64 %148)
  %153 = icmp eq i32 %bcmp.1.2, 0
  br i1 %153, label %.thread.2, label %154

154:                                              ; preds = %149
  %indvars.iv.next.1.2 = add nuw nsw i64 %indvars.iv.1.2, 1
  %exitcond.1.2.not = icmp eq i64 %indvars.iv.next.1.2, %147
  br i1 %exitcond.1.2.not, label %.loopexit.1.2, label %149, !llvm.loop !13

.loopexit.1.2:                                    ; preds = %154, %.loopexit.280
  %155 = getelementptr inbounds i8, ptr %23, i64 16
  %156 = load ptr, ptr %155, align 8, !tbaa !11
  %157 = call noundef i32 @_ZN13StaticPolygon11pointNumberEv(ptr noundef nonnull align 8 dereferenceable(40) %156)
  %158 = icmp eq i32 %157, %132
  %or.cond.2.2 = and i1 %158, %134
  br i1 %or.cond.2.2, label %.lr.ph.2.2, label %.loopexit48.2

.lr.ph.2.2:                                       ; preds = %.loopexit.1.2
  %159 = zext nneg i32 %132 to i64
  %160 = shl nuw nsw i64 %159, 3
  br label %161

161:                                              ; preds = %166, %.lr.ph.2.2
  %indvars.iv.2.2 = phi i64 [ 0, %.lr.ph.2.2 ], [ %indvars.iv.next.2.2, %166 ]
  %162 = getelementptr inbounds %struct.Point, ptr getelementptr inbounds (i8, ptr @__const._ZN30PolygonTileSplitter_basic_Test8TestBodyEv.results, i64 112), i64 %indvars.iv.2.2
  %163 = load ptr, ptr %155, align 8, !tbaa !11
  %164 = call noundef ptr @_ZN13StaticPolygon6pointsEv(ptr noundef nonnull align 8 dereferenceable(40) %163)
  %bcmp.2.2 = call i32 @bcmp(ptr nonnull %162, ptr %164, i64 %160)
  %165 = icmp eq i32 %bcmp.2.2, 0
  br i1 %165, label %.thread.2, label %166

166:                                              ; preds = %161
  %indvars.iv.next.2.2 = add nuw nsw i64 %indvars.iv.2.2, 1
  %exitcond.2.2.not = icmp eq i64 %indvars.iv.next.2.2, %159
  br i1 %exitcond.2.2.not, label %.loopexit48.2, label %161, !llvm.loop !13

.thread.2:                                        ; preds = %137, %149, %161
  %167 = add nuw nsw i32 %129, 1
  store i32 %167, ptr %9, align 4, !tbaa !8
  br label %.loopexit48.2

.loopexit48.2:                                    ; preds = %166, %.loopexit.1.2, %.thread.2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #12
  store i32 3, ptr %11, align 4, !tbaa !8
  invoke void @_ZN7testing8internal8EqHelperILb0EE7CompareIiiEENS_15AssertionResultEPKcS6_RKT_RKT0_(ptr dead_on_unwind nonnull writable sret(%"class.testing::AssertionResult") align 8 %10, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.3, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %168 unwind label %170

168:                                              ; preds = %.loopexit48.2
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #12
  %169 = call noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  br i1 %169, label %186, label %172

170:                                              ; preds = %.loopexit48.2
  %171 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #12
  br label %187

172:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #12
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %173 unwind label %178

173:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #12
  %174 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %175 unwind label %180

175:                                              ; preds = %173
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %13, i32 noundef 1, ptr noundef nonnull @.str.5, i32 noundef 47, ptr noundef %174)
          to label %176 unwind label %180

176:                                              ; preds = %175
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %177 unwind label %182

177:                                              ; preds = %176
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #12
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #12
  br label %186

178:                                              ; preds = %172
  %179 = landingpad { ptr, i32 }
          cleanup
  br label %185

180:                                              ; preds = %175, %173
  %181 = landingpad { ptr, i32 }
          cleanup
  br label %184

182:                                              ; preds = %176
  %183 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #12
  br label %184

184:                                              ; preds = %182, %180
  %.pn39 = phi { ptr, i32 } [ %183, %182 ], [ %181, %180 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #12
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #12
  br label %185

185:                                              ; preds = %184, %178
  %.pn39.pn = phi { ptr, i32 } [ %.pn39, %184 ], [ %179, %178 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #12
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #12
  br label %187

186:                                              ; preds = %168, %177
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #12
  br label %188

187:                                              ; preds = %185, %170
  %.pn39.pn.pn = phi { ptr, i32 } [ %.pn39.pn, %185 ], [ %171, %170 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #12
  br label %189

188:                                              ; preds = %49, %186
  call void @_ZN19PolygonTileSplitterD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #12
  call void @_ZdlPvm(ptr noundef nonnull %14, i64 noundef 16) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #12
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #12
  ret void

189:                                              ; preds = %187, %57, %31
  %.pn39.pn.pn.pn = phi { ptr, i32 } [ %.pn39.pn.pn, %187 ], [ %.pn.pn.pn, %57 ], [ %32, %31 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #12
  br label %190

190:                                              ; preds = %189, %29
  %.pn39.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn39.pn.pn.pn, %189 ], [ %30, %29 ]
  call void @_ZN13StaticPolygonD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #12
  br label %191

191:                                              ; preds = %190, %27
  %.pn39.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn39.pn.pn.pn.pn, %190 ], [ %28, %27 ]
  resume { ptr, i32 } %.pn39.pn.pn.pn.pn.pn
}

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

declare void @_ZN19PolygonTileSplitterC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

; 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) #5

; 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 #4

; 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 #2 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN13StaticPolygon11pointNumberEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #6 align 2

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

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

; 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: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #10

attributes #0 = { 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 #1 = { 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 #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 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 #8 = { 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 #9 = { 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 #10 = { nofree nounwind willreturn memory(argmem: read) }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { nounwind }
attributes #13 = { builtin nounwind }

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass