; LLVM IR from tangjz/acm-icpc :: hdu/1154.ll (Z5solve4Line)

; 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.Line = type { %struct.Point, %struct.Point }
%struct.Point = type { double, double }
%struct.Node = type { i32, %struct.Point }

@n = external dso_local global i32, align 4
@tot = external dso_local global i32, align 4
@line = external dso_local global [1001 x %struct.Line], align 16
@ins = external dso_local global [2003 x %struct.Node], align 16
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [62 x i8], align 1
@__PRETTY_FUNCTION__._Z5solve4Line = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_Z5solve4Line(ptr noundef byval(%struct.Line) align 8 %0) #0 {
  %2 = alloca double, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %struct.Point, align 8
  %6 = alloca %struct.Node, align 8
  %7 = alloca %struct.Node, align 8
  %8 = alloca %struct.Node, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %struct.Point, align 8
  %12 = alloca [4 x i32], align 16
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %struct.Point, align 8
  %18 = alloca %struct.Line, align 8
  %19 = alloca %struct.Point, align 8
  %20 = alloca %struct.Point, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca %struct.Line, align 8
  %24 = alloca %struct.Point, align 8
  %25 = alloca %struct.Point, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #6
  store double 0.000000e+00, ptr %2, align 8, !tbaa !5
  store i32 0, ptr @tot, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %26

26:                                               ; preds = %92, %1
  %27 = load i32, ptr %3, align 4, !tbaa !9
  %28 = load i32, ptr @n, align 4, !tbaa !9
  %29 = icmp slt i32 %27, %28
  br i1 %29, label %31, label %30

30:                                               ; preds = %26
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %95

31:                                               ; preds = %26
  %32 = load i32, ptr %3, align 4, !tbaa !9
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %33
  %35 = call noundef zeroext i1 @_ZNK4Line8parallelERKS_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %34)
  br i1 %35, label %61, label %36

36:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #6
  %37 = load i32, ptr %3, align 4, !tbaa !9
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %38
  %40 = call { double, double } @_ZNK4Line9intersectERKS_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %39)
  %41 = getelementptr inbounds { double, double }, ptr %5, i32 0, i32 0
  %42 = extractvalue { double, double } %40, 0
  store double %42, ptr %41, align 8
  %43 = getelementptr inbounds { double, double }, ptr %5, i32 0, i32 1
  %44 = extractvalue { double, double } %40, 1
  store double %44, ptr %43, align 8
  %45 = load i32, ptr %3, align 4, !tbaa !9
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %46
  %48 = call noundef zeroext i1 @_ZNK4Line6on_segERK5Point(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull align 8 dereferenceable(16) %5)
  br i1 %48, label %50, label %49

49:                                               ; preds = %36
  store i32 4, ptr %4, align 4
  br label %58

50:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #6
  %51 = getelementptr inbounds %struct.Node, ptr %6, i32 0, i32 0
  %52 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %52, ptr %51, align 8, !tbaa !11
  %53 = getelementptr inbounds %struct.Node, ptr %6, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %53, ptr align 8 %5, i64 16, i1 false), !tbaa.struct !14
  %54 = load i32, ptr @tot, align 4, !tbaa !9
  %55 = add nsw i32 %54, 1
  store i32 %55, ptr @tot, align 4, !tbaa !9
  %56 = sext i32 %54 to i64
  %57 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %56
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %57, ptr align 8 %6, i64 24, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  store i32 0, ptr %4, align 4
  br label %58

58:                                               ; preds = %50, %49
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #6
  %59 = load i32, ptr %4, align 4
  switch i32 %59, label %410 [
    i32 0, label %60
    i32 4, label %92
  ]

60:                                               ; preds = %58
  br label %91

61:                                               ; preds = %31
  %62 = load i32, ptr %3, align 4, !tbaa !9
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %63
  %65 = getelementptr inbounds %struct.Line, ptr %64, i32 0, i32 0
  %66 = call noundef zeroext i1 @_ZNK4Line7on_lineERK5Point(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(16) %65)
  br i1 %66, label %67, label %90

67:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #6
  %68 = getelementptr inbounds %struct.Node, ptr %7, i32 0, i32 0
  %69 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %69, ptr %68, align 8, !tbaa !11
  %70 = getelementptr inbounds %struct.Node, ptr %7, i32 0, i32 1
  %71 = load i32, ptr %3, align 4, !tbaa !9
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %72
  %74 = getelementptr inbounds %struct.Line, ptr %73, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %70, ptr align 16 %74, i64 16, i1 false), !tbaa.struct !14
  %75 = load i32, ptr @tot, align 4, !tbaa !9
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr @tot, align 4, !tbaa !9
  %77 = sext i32 %75 to i64
  %78 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %77
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %78, ptr align 8 %7, i64 24, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #6
  %79 = getelementptr inbounds %struct.Node, ptr %8, i32 0, i32 0
  %80 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %80, ptr %79, align 8, !tbaa !11
  %81 = getelementptr inbounds %struct.Node, ptr %8, i32 0, i32 1
  %82 = load i32, ptr %3, align 4, !tbaa !9
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %83
  %85 = getelementptr inbounds %struct.Line, ptr %84, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %81, ptr align 16 %85, i64 16, i1 false), !tbaa.struct !14
  %86 = load i32, ptr @tot, align 4, !tbaa !9
  %87 = add nsw i32 %86, 1
  store i32 %87, ptr @tot, align 4, !tbaa !9
  %88 = sext i32 %86 to i64
  %89 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %88
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %89, ptr align 8 %8, i64 24, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #6
  br label %90

90:                                               ; preds = %67, %61
  br label %91

91:                                               ; preds = %90, %60
  br label %92

92:                                               ; preds = %91, %58
  %93 = load i32, ptr %3, align 4, !tbaa !9
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %3, align 4, !tbaa !9
  br label %26, !llvm.loop !16

95:                                               ; preds = %30
  %96 = load i32, ptr @tot, align 4, !tbaa !9
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds %struct.Node, ptr @ins, i64 %97
  call void @_ZSt4sortIP4NodeEvT_S2_(ptr noundef @ins, ptr noundef %98)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %99

99:                                               ; preds = %405, %95
  %100 = load i32, ptr %9, align 4, !tbaa !9
  %101 = load i32, ptr @tot, align 4, !tbaa !9
  %102 = icmp slt i32 %100, %101
  br i1 %102, label %104, label %103

103:                                              ; preds = %99
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %408

104:                                              ; preds = %99
  %105 = load i32, ptr %10, align 4, !tbaa !9
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %107, label %125

107:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #6
  %108 = load i32, ptr %9, align 4, !tbaa !9
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %109
  %111 = getelementptr inbounds %struct.Node, ptr %110, i32 0, i32 1
  %112 = load i32, ptr %9, align 4, !tbaa !9
  %113 = sub nsw i32 %112, 1
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %114
  %116 = getelementptr inbounds %struct.Node, ptr %115, i32 0, i32 1
  %117 = call { double, double } @_ZNK5PointmiERKS_(ptr noundef nonnull align 8 dereferenceable(16) %111, ptr noundef nonnull align 8 dereferenceable(16) %116)
  %118 = getelementptr inbounds { double, double }, ptr %11, i32 0, i32 0
  %119 = extractvalue { double, double } %117, 0
  store double %119, ptr %118, align 8
  %120 = getelementptr inbounds { double, double }, ptr %11, i32 0, i32 1
  %121 = extractvalue { double, double } %117, 1
  store double %121, ptr %120, align 8
  %122 = call noundef double @_ZNK5Point4normEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
  %123 = load double, ptr %2, align 8, !tbaa !5
  %124 = fadd double %123, %122
  store double %124, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  br label %126

125:                                              ; preds = %104
  br label %126

126:                                              ; preds = %125, %107
  %127 = load i32, ptr %9, align 4, !tbaa !9
  %128 = add nsw i32 %127, 1
  %129 = load i32, ptr @tot, align 4, !tbaa !9
  %130 = icmp slt i32 %128, %129
  br i1 %130, label %131, label %402

131:                                              ; preds = %126
  %132 = load i32, ptr %9, align 4, !tbaa !9
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %133
  %135 = getelementptr inbounds %struct.Node, ptr %134, i32 0, i32 1
  %136 = load i32, ptr %9, align 4, !tbaa !9
  %137 = add nsw i32 %136, 1
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %138
  %140 = getelementptr inbounds %struct.Node, ptr %139, i32 0, i32 1
  %141 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %135, ptr noundef nonnull align 8 dereferenceable(16) %140)
  br i1 %141, label %142, label %402

142:                                              ; preds = %131
  %143 = load i32, ptr %9, align 4, !tbaa !9
  %144 = add nsw i32 %143, 3
  %145 = load i32, ptr @tot, align 4, !tbaa !9
  %146 = icmp slt i32 %144, %145
  br i1 %146, label %147, label %340

147:                                              ; preds = %142
  %148 = load i32, ptr %9, align 4, !tbaa !9
  %149 = add nsw i32 %148, 2
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %150
  %152 = getelementptr inbounds %struct.Node, ptr %151, i32 0, i32 1
  %153 = load i32, ptr %9, align 4, !tbaa !9
  %154 = add nsw i32 %153, 3
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %155
  %157 = getelementptr inbounds %struct.Node, ptr %156, i32 0, i32 1
  %158 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %152, ptr noundef nonnull align 8 dereferenceable(16) %157)
  br i1 %158, label %159, label %340

159:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #6
  %160 = load i32, ptr %9, align 4, !tbaa !9
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %161
  %163 = getelementptr inbounds %struct.Node, ptr %162, i32 0, i32 0
  %164 = load i32, ptr %163, align 8, !tbaa !11
  store i32 %164, ptr %12, align 4, !tbaa !9
  %165 = getelementptr inbounds i32, ptr %12, i64 1
  %166 = load i32, ptr %9, align 4, !tbaa !9
  %167 = add nsw i32 %166, 1
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %168
  %170 = getelementptr inbounds %struct.Node, ptr %169, i32 0, i32 0
  %171 = load i32, ptr %170, align 8, !tbaa !11
  store i32 %171, ptr %165, align 4, !tbaa !9
  %172 = getelementptr inbounds i32, ptr %12, i64 2
  %173 = load i32, ptr %9, align 4, !tbaa !9
  %174 = add nsw i32 %173, 2
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %175
  %177 = getelementptr inbounds %struct.Node, ptr %176, i32 0, i32 0
  %178 = load i32, ptr %177, align 8, !tbaa !11
  store i32 %178, ptr %172, align 4, !tbaa !9
  %179 = getelementptr inbounds i32, ptr %12, i64 3
  %180 = load i32, ptr %9, align 4, !tbaa !9
  %181 = add nsw i32 %180, 3
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %182
  %184 = getelementptr inbounds %struct.Node, ptr %183, i32 0, i32 0
  %185 = load i32, ptr %184, align 8, !tbaa !11
  store i32 %185, ptr %179, align 4, !tbaa !9
  %186 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 0
  %187 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 0
  %188 = getelementptr inbounds i32, ptr %187, i64 4
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef %186, ptr noundef %188)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 -1, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 1, ptr %14, align 4, !tbaa !9
  br label %189

189:                                              ; preds = %216, %159
  %190 = load i32, ptr %14, align 4, !tbaa !9
  %191 = icmp slt i32 %190, 4
  br i1 %191, label %193, label %192

192:                                              ; preds = %189
  store i32 8, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %219

193:                                              ; preds = %189
  %194 = load i32, ptr %14, align 4, !tbaa !9
  %195 = sub nsw i32 %194, 1
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 %196
  %198 = load i32, ptr %197, align 4, !tbaa !9
  %199 = load i32, ptr %14, align 4, !tbaa !9
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 %200
  %202 = load i32, ptr %201, align 4, !tbaa !9
  %203 = icmp eq i32 %198, %202
  br i1 %203, label %204, label %215

204:                                              ; preds = %193
  %205 = load i32, ptr %13, align 4, !tbaa !9
  %206 = icmp eq i32 %205, -1
  br i1 %206, label %207, label %208

207:                                              ; preds = %204
  br label %210

208:                                              ; preds = %204
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 136, ptr noundef @__PRETTY_FUNCTION__._Z5solve4Line) #7
  unreachable

209:                                              ; No predecessors!
  br label %210

210:                                              ; preds = %209, %207
  %211 = load i32, ptr %14, align 4, !tbaa !9
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 %212
  %214 = load i32, ptr %213, align 4, !tbaa !9
  store i32 %214, ptr %13, align 4, !tbaa !9
  br label %215

215:                                              ; preds = %210, %193
  br label %216

216:                                              ; preds = %215
  %217 = load i32, ptr %14, align 4, !tbaa !9
  %218 = add nsw i32 %217, 1
  store i32 %218, ptr %14, align 4, !tbaa !9
  br label %189, !llvm.loop !18

219:                                              ; preds = %192
  %220 = load i32, ptr %13, align 4, !tbaa !9
  %221 = icmp sge i32 %220, 0
  br i1 %221, label %222, label %336

222:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %223 = load i32, ptr %9, align 4, !tbaa !9
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %224
  %226 = getelementptr inbounds %struct.Node, ptr %225, i32 0, i32 0
  %227 = load i32, ptr %226, align 8, !tbaa !11
  %228 = load i32, ptr %13, align 4, !tbaa !9
  %229 = icmp eq i32 %227, %228
  br i1 %229, label %230, label %237

230:                                              ; preds = %222
  %231 = load i32, ptr %9, align 4, !tbaa !9
  %232 = add nsw i32 %231, 1
  %233 = sext i32 %232 to i64
  %234 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %233
  %235 = getelementptr inbounds %struct.Node, ptr %234, i32 0, i32 0
  %236 = load i32, ptr %235, align 8, !tbaa !11
  br label %243

237:                                              ; preds = %222
  %238 = load i32, ptr %9, align 4, !tbaa !9
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %239
  %241 = getelementptr inbounds %struct.Node, ptr %240, i32 0, i32 0
  %242 = load i32, ptr %241, align 8, !tbaa !11
  br label %243

243:                                              ; preds = %237, %230
  %244 = phi i32 [ %236, %230 ], [ %242, %237 ]
  store i32 %244, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %245 = load i32, ptr %9, align 4, !tbaa !9
  %246 = add nsw i32 %245, 2
  %247 = sext i32 %246 to i64
  %248 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %247
  %249 = getelementptr inbounds %struct.Node, ptr %248, i32 0, i32 0
  %250 = load i32, ptr %249, align 8, !tbaa !11
  %251 = load i32, ptr %13, align 4, !tbaa !9
  %252 = icmp eq i32 %250, %251
  br i1 %252, label %253, label %260

253:                                              ; preds = %243
  %254 = load i32, ptr %9, align 4, !tbaa !9
  %255 = add nsw i32 %254, 3
  %256 = sext i32 %255 to i64
  %257 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %256
  %258 = getelementptr inbounds %struct.Node, ptr %257, i32 0, i32 0
  %259 = load i32, ptr %258, align 8, !tbaa !11
  br label %267

260:                                              ; preds = %243
  %261 = load i32, ptr %9, align 4, !tbaa !9
  %262 = add nsw i32 %261, 2
  %263 = sext i32 %262 to i64
  %264 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %263
  %265 = getelementptr inbounds %struct.Node, ptr %264, i32 0, i32 0
  %266 = load i32, ptr %265, align 8, !tbaa !11
  br label %267

267:                                              ; preds = %260, %253
  %268 = phi i32 [ %259, %253 ], [ %266, %260 ]
  store i32 %268, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  %269 = load i32, ptr %9, align 4, !tbaa !9
  %270 = add nsw i32 %269, 2
  %271 = sext i32 %270 to i64
  %272 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %271
  %273 = getelementptr inbounds %struct.Node, ptr %272, i32 0, i32 1
  %274 = load i32, ptr %9, align 4, !tbaa !9
  %275 = sext i32 %274 to i64
  %276 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %275
  %277 = getelementptr inbounds %struct.Node, ptr %276, i32 0, i32 1
  %278 = call { double, double } @_ZNK5PointmiERKS_(ptr noundef nonnull align 8 dereferenceable(16) %273, ptr noundef nonnull align 8 dereferenceable(16) %277)
  %279 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 0
  %280 = extractvalue { double, double } %278, 0
  store double %280, ptr %279, align 8
  %281 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 1
  %282 = extractvalue { double, double } %278, 1
  store double %282, ptr %281, align 8
  %283 = call noundef double @_ZNK5Point4normEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
  %284 = load double, ptr %2, align 8, !tbaa !5
  %285 = fadd double %284, %283
  store double %285, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #6
  %286 = load i32, ptr %15, align 4, !tbaa !9
  %287 = sext i32 %286 to i64
  %288 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %287
  %289 = getelementptr inbounds %struct.Line, ptr %288, i32 0, i32 0
  %290 = load i32, ptr %9, align 4, !tbaa !9
  %291 = sext i32 %290 to i64
  %292 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %291
  %293 = getelementptr inbounds %struct.Node, ptr %292, i32 0, i32 1
  %294 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %289, ptr noundef nonnull align 8 dereferenceable(16) %293)
  br i1 %294, label %295, label %300

295:                                              ; preds = %267
  %296 = load i32, ptr %15, align 4, !tbaa !9
  %297 = sext i32 %296 to i64
  %298 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %297
  %299 = getelementptr inbounds %struct.Line, ptr %298, i32 0, i32 1
  br label %305

300:                                              ; preds = %267
  %301 = load i32, ptr %15, align 4, !tbaa !9
  %302 = sext i32 %301 to i64
  %303 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %302
  %304 = getelementptr inbounds %struct.Line, ptr %303, i32 0, i32 0
  br label %305

305:                                              ; preds = %300, %295
  %306 = phi ptr [ %299, %295 ], [ %304, %300 ]
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %19, ptr align 16 %306, i64 16, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #6
  %307 = load i32, ptr %16, align 4, !tbaa !9
  %308 = sext i32 %307 to i64
  %309 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %308
  %310 = getelementptr inbounds %struct.Line, ptr %309, i32 0, i32 0
  %311 = load i32, ptr %9, align 4, !tbaa !9
  %312 = add nsw i32 %311, 2
  %313 = sext i32 %312 to i64
  %314 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %313
  %315 = getelementptr inbounds %struct.Node, ptr %314, i32 0, i32 1
  %316 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %310, ptr noundef nonnull align 8 dereferenceable(16) %315)
  br i1 %316, label %317, label %322

317:                                              ; preds = %305
  %318 = load i32, ptr %16, align 4, !tbaa !9
  %319 = sext i32 %318 to i64
  %320 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %319
  %321 = getelementptr inbounds %struct.Line, ptr %320, i32 0, i32 1
  br label %327

322:                                              ; preds = %305
  %323 = load i32, ptr %16, align 4, !tbaa !9
  %324 = sext i32 %323 to i64
  %325 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %324
  %326 = getelementptr inbounds %struct.Line, ptr %325, i32 0, i32 0
  br label %327

327:                                              ; preds = %322, %317
  %328 = phi ptr [ %321, %317 ], [ %326, %322 ]
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 16 %328, i64 16, i1 false), !tbaa.struct !14
  call void @_ZN4Line4initERK5PointS2_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %20)
  %329 = call noundef zeroext i1 @_ZNK4Line13has_intersectERKS_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %18)
  br i1 %329, label %330, label %333

330:                                              ; preds = %327
  %331 = load i32, ptr %10, align 4, !tbaa !9
  %332 = xor i32 %331, 1
  store i32 %332, ptr %10, align 4, !tbaa !9
  br label %333

333:                                              ; preds = %330, %327
  %334 = load i32, ptr %9, align 4, !tbaa !9
  %335 = add nsw i32 %334, 3
  store i32 %335, ptr %9, align 4, !tbaa !9
  store i32 7, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %337

336:                                              ; preds = %219
  store i32 0, ptr %4, align 4
  br label %337

337:                                              ; preds = %336, %333
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  %338 = load i32, ptr %4, align 4
  switch i32 %338, label %410 [
    i32 0, label %339
    i32 7, label %405
  ]

339:                                              ; preds = %337
  br label %340

340:                                              ; preds = %339, %147, %142
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %341 = load i32, ptr %9, align 4, !tbaa !9
  %342 = sext i32 %341 to i64
  %343 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %342
  %344 = getelementptr inbounds %struct.Node, ptr %343, i32 0, i32 0
  %345 = load i32, ptr %344, align 8, !tbaa !11
  store i32 %345, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %346 = load i32, ptr %9, align 4, !tbaa !9
  %347 = add nsw i32 %346, 1
  %348 = sext i32 %347 to i64
  %349 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %348
  %350 = getelementptr inbounds %struct.Node, ptr %349, i32 0, i32 0
  %351 = load i32, ptr %350, align 8, !tbaa !11
  store i32 %351, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #6
  %352 = load i32, ptr %21, align 4, !tbaa !9
  %353 = sext i32 %352 to i64
  %354 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %353
  %355 = getelementptr inbounds %struct.Line, ptr %354, i32 0, i32 0
  %356 = load i32, ptr %9, align 4, !tbaa !9
  %357 = sext i32 %356 to i64
  %358 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %357
  %359 = getelementptr inbounds %struct.Node, ptr %358, i32 0, i32 1
  %360 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %355, ptr noundef nonnull align 8 dereferenceable(16) %359)
  br i1 %360, label %361, label %366

361:                                              ; preds = %340
  %362 = load i32, ptr %21, align 4, !tbaa !9
  %363 = sext i32 %362 to i64
  %364 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %363
  %365 = getelementptr inbounds %struct.Line, ptr %364, i32 0, i32 1
  br label %371

366:                                              ; preds = %340
  %367 = load i32, ptr %21, align 4, !tbaa !9
  %368 = sext i32 %367 to i64
  %369 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %368
  %370 = getelementptr inbounds %struct.Line, ptr %369, i32 0, i32 0
  br label %371

371:                                              ; preds = %366, %361
  %372 = phi ptr [ %365, %361 ], [ %370, %366 ]
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %24, ptr align 16 %372, i64 16, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #6
  %373 = load i32, ptr %22, align 4, !tbaa !9
  %374 = sext i32 %373 to i64
  %375 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %374
  %376 = getelementptr inbounds %struct.Line, ptr %375, i32 0, i32 0
  %377 = load i32, ptr %9, align 4, !tbaa !9
  %378 = add nsw i32 %377, 1
  %379 = sext i32 %378 to i64
  %380 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %379
  %381 = getelementptr inbounds %struct.Node, ptr %380, i32 0, i32 1
  %382 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %376, ptr noundef nonnull align 8 dereferenceable(16) %381)
  br i1 %382, label %383, label %388

383:                                              ; preds = %371
  %384 = load i32, ptr %22, align 4, !tbaa !9
  %385 = sext i32 %384 to i64
  %386 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %385
  %387 = getelementptr inbounds %struct.Line, ptr %386, i32 0, i32 1
  br label %393

388:                                              ; preds = %371
  %389 = load i32, ptr %22, align 4, !tbaa !9
  %390 = sext i32 %389 to i64
  %391 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %390
  %392 = getelementptr inbounds %struct.Line, ptr %391, i32 0, i32 0
  br label %393

393:                                              ; preds = %388, %383
  %394 = phi ptr [ %387, %383 ], [ %392, %388 ]
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %25, ptr align 16 %394, i64 16, i1 false), !tbaa.struct !14
  call void @_ZN4Line4initERK5PointS2_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(16) %25)
  %395 = call noundef zeroext i1 @_ZNK4Line13has_intersectERKS_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %23)
  br i1 %395, label %396, label %399

396:                                              ; preds = %393
  %397 = load i32, ptr %10, align 4, !tbaa !9
  %398 = xor i32 %397, 1
  store i32 %398, ptr %10, align 4, !tbaa !9
  br label %399

399:                                              ; preds = %396, %393
  %400 = load i32, ptr %9, align 4, !tbaa !9
  %401 = add nsw i32 %400, 1
  store i32 %401, ptr %9, align 4, !tbaa !9
  store i32 7, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %405

402:                                              ; preds = %131, %126
  %403 = load i32, ptr %10, align 4, !tbaa !9
  %404 = xor i32 %403, 1
  store i32 %404, ptr %10, align 4, !tbaa !9
  br label %405

405:                                              ; preds = %402, %399, %337
  %406 = load i32, ptr %9, align 4, !tbaa !9
  %407 = add nsw i32 %406, 1
  store i32 %407, ptr %9, align 4, !tbaa !9
  br label %99, !llvm.loop !19

408:                                              ; preds = %103
  %409 = load double, ptr %2, align 8, !tbaa !5
  store i32 1, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  ret double %409

410:                                              ; preds = %337, %58
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4Line8parallelERKS_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK4Line9intersectERKS_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4Line6on_segERK5Point(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4Line7on_lineERK5Point(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIP4NodeEvT_S2_(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { double, double } @_ZNK5PointmiERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPiEvT_S1_(ptr noundef, ptr noundef) #3

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4Line4initERK5PointS2_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4Line13has_intersectERKS_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { noreturn 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 #6 = { nounwind }
attributes #7 = { noreturn 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTS4Node", !10, i64 0, !13, i64 8}
!13 = !{!"_ZTS5Point", !6, i64 0, !6, i64 8}
!14 = !{i64 0, i64 8, !5, i64 8, i64 8, !5}
!15 = !{i64 0, i64 4, !9, i64 8, i64 8, !5, i64 16, i64 8, !5}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}


; 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.Line = type { %struct.Point, %struct.Point }
%struct.Point = type { double, double }
%struct.Node = type { i32, %struct.Point }

@n = external dso_local local_unnamed_addr global i32, align 4
@tot = external dso_local local_unnamed_addr global i32, align 4
@line = external dso_local global [1001 x %struct.Line], align 16
@ins = external dso_local global [2003 x %struct.Node], align 16
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [62 x i8], align 1
@__PRETTY_FUNCTION__._Z5solve4Line = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_Z5solve4Line(ptr noundef byval(%struct.Line) align 8 %0) local_unnamed_addr #0 {
  %2 = alloca %struct.Point, align 8
  %.sroa.458 = alloca [20 x i8], align 4
  %.sroa.456 = alloca [20 x i8], align 4
  %.sroa.4 = alloca [20 x i8], align 4
  %3 = alloca %struct.Point, align 8
  %4 = alloca [4 x i32], align 16
  %5 = alloca %struct.Point, align 8
  %6 = alloca %struct.Line, align 8
  %7 = alloca %struct.Point, align 8
  %8 = alloca %struct.Point, align 8
  %9 = alloca %struct.Line, align 8
  %10 = alloca %struct.Point, align 8
  %11 = alloca %struct.Point, align 8
  store i32 0, ptr @tot, align 4, !tbaa !5
  %12 = load i32, ptr @n, align 4, !tbaa !5
  %13 = icmp sgt i32 %12, 0
  br i1 %13, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %1
  %14 = getelementptr inbounds i8, ptr %2, i64 8
  %.sroa.458.8.sroa_idx = getelementptr inbounds i8, ptr %.sroa.458, i64 4
  %.sroa.456.8.sroa_idx = getelementptr inbounds i8, ptr %.sroa.456, i64 4
  %.sroa.4.8.sroa_idx = getelementptr inbounds i8, ptr %.sroa.4, i64 4
  br label %26

._crit_edge.loopexit:                             ; preds = %53
  %.pre = load i32, ptr @tot, align 4, !tbaa !5
  %15 = sext i32 %.pre to i64
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %1
  %16 = phi i64 [ %15, %._crit_edge.loopexit ], [ 0, %1 ]
  %17 = getelementptr inbounds %struct.Node, ptr @ins, i64 %16
  call void @_ZSt4sortIP4NodeEvT_S2_(ptr noundef nonnull @ins, ptr noundef nonnull %17)
  %18 = load i32, ptr @tot, align 4, !tbaa !5
  %19 = icmp sgt i32 %18, 0
  br i1 %19, label %.lr.ph110, label %._crit_edge111

.lr.ph110:                                        ; preds = %._crit_edge
  %20 = getelementptr inbounds i8, ptr %3, i64 8
  %21 = getelementptr inbounds i8, ptr %4, i64 4
  %22 = getelementptr inbounds i8, ptr %4, i64 8
  %23 = getelementptr inbounds i8, ptr %4, i64 12
  %24 = getelementptr inbounds i8, ptr %4, i64 16
  %25 = getelementptr inbounds i8, ptr %5, i64 8
  br label %57

26:                                               ; preds = %.lr.ph, %53
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %53 ]
  %27 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %indvars.iv
  %28 = call noundef zeroext i1 @_ZNK4Line8parallelERKS_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %27)
  br i1 %28, label %41, label %29

29:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #6
  %30 = call { double, double } @_ZNK4Line9intersectERKS_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %27)
  %31 = extractvalue { double, double } %30, 0
  store double %31, ptr %2, align 8
  %32 = extractvalue { double, double } %30, 1
  store double %32, ptr %14, align 8
  %33 = call noundef zeroext i1 @_ZNK4Line6on_segERK5Point(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(16) %2)
  br i1 %33, label %34, label %40

34:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %.sroa.458)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %.sroa.458.8.sroa_idx, ptr noundef nonnull align 8 dereferenceable(16) %2, i64 16, i1 false), !tbaa.struct !9
  %35 = load i32, ptr @tot, align 4, !tbaa !5
  %36 = add nsw i32 %35, 1
  store i32 %36, ptr @tot, align 4, !tbaa !5
  %37 = sext i32 %35 to i64
  %38 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %37
  %39 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %39, ptr %38, align 8, !tbaa !5
  %.sroa.458.0..sroa_idx = getelementptr inbounds i8, ptr %38, i64 4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(20) %.sroa.458.0..sroa_idx, ptr noundef nonnull align 4 dereferenceable(20) %.sroa.458, i64 20, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %.sroa.458)
  br label %40

40:                                               ; preds = %29, %34
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #6
  br label %53

41:                                               ; preds = %26
  %42 = call noundef zeroext i1 @_ZNK4Line7on_lineERK5Point(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(16) %27)
  br i1 %42, label %43, label %53

43:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %.sroa.456)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %.sroa.456.8.sroa_idx, ptr noundef nonnull align 16 dereferenceable(16) %27, i64 16, i1 false), !tbaa.struct !9
  %44 = load i32, ptr @tot, align 4, !tbaa !5
  %45 = add nsw i32 %44, 1
  %46 = sext i32 %44 to i64
  %47 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %46
  %48 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %48, ptr %47, align 8, !tbaa !5
  %.sroa.456.0..sroa_idx = getelementptr inbounds i8, ptr %47, i64 4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(20) %.sroa.456.0..sroa_idx, ptr noundef nonnull align 4 dereferenceable(20) %.sroa.456, i64 20, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %.sroa.456)
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %.sroa.4)
  %49 = getelementptr inbounds i8, ptr %27, i64 16
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %.sroa.4.8.sroa_idx, ptr noundef nonnull align 16 dereferenceable(16) %49, i64 16, i1 false), !tbaa.struct !9
  %50 = add nsw i32 %44, 2
  store i32 %50, ptr @tot, align 4, !tbaa !5
  %51 = sext i32 %45 to i64
  %52 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %51
  store i32 %48, ptr %52, align 8, !tbaa !5
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %52, i64 4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(20) %.sroa.4.0..sroa_idx, ptr noundef nonnull align 4 dereferenceable(20) %.sroa.4, i64 20, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %.sroa.4)
  br label %53

53:                                               ; preds = %40, %43, %41
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %54 = load i32, ptr @n, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = icmp slt i64 %indvars.iv.next, %55
  br i1 %56, label %26, label %._crit_edge.loopexit, !llvm.loop !13

._crit_edge111:                                   ; preds = %154, %._crit_edge
  %.0.lcssa = phi double [ 0.000000e+00, %._crit_edge ], [ %.4, %154 ]
  ret double %.0.lcssa

57:                                               ; preds = %.lr.ph110, %154
  %58 = phi i32 [ %18, %.lr.ph110 ], [ %156, %154 ]
  %.0108 = phi double [ 0.000000e+00, %.lr.ph110 ], [ %.4, %154 ]
  %.075107 = phi i32 [ 0, %.lr.ph110 ], [ %155, %154 ]
  %.082106 = phi i32 [ 0, %.lr.ph110 ], [ %.5, %154 ]
  %.not = icmp eq i32 %.082106, 0
  br i1 %.not, label %70, label %59

59:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  %60 = sext i32 %.075107 to i64
  %61 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %60, i32 1
  %62 = add nsw i32 %.075107, -1
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %63, i32 1
  %65 = call { double, double } @_ZNK5PointmiERKS_(ptr noundef nonnull align 8 dereferenceable(16) %61, ptr noundef nonnull align 8 dereferenceable(16) %64)
  %66 = extractvalue { double, double } %65, 0
  store double %66, ptr %3, align 8
  %67 = extractvalue { double, double } %65, 1
  store double %67, ptr %20, align 8
  %68 = call noundef double @_ZNK5Point4normEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  %69 = fadd double %.0108, %68
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  %.pre116 = load i32, ptr @tot, align 4, !tbaa !5
  br label %70

70:                                               ; preds = %57, %59
  %71 = phi i32 [ %.pre116, %59 ], [ %58, %57 ]
  %.1 = phi double [ %69, %59 ], [ %.0108, %57 ]
  %72 = add nsw i32 %.075107, 1
  %73 = icmp slt i32 %72, %71
  br i1 %73, label %74, label %154

74:                                               ; preds = %70
  %75 = sext i32 %.075107 to i64
  %76 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %75
  %77 = getelementptr inbounds i8, ptr %76, i64 8
  %78 = sext i32 %72 to i64
  %79 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %78
  %80 = getelementptr inbounds i8, ptr %79, i64 8
  %81 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %77, ptr noundef nonnull align 8 dereferenceable(16) %80)
  br i1 %81, label %82, label %154

82:                                               ; preds = %74
  %83 = add nsw i32 %.075107, 3
  %84 = load i32, ptr @tot, align 4, !tbaa !5
  %85 = icmp slt i32 %83, %84
  br i1 %85, label %86, label %142

86:                                               ; preds = %82
  %87 = add nsw i32 %.075107, 2
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %88
  %90 = getelementptr inbounds i8, ptr %89, i64 8
  %91 = sext i32 %83 to i64
  %92 = getelementptr inbounds [2003 x %struct.Node], ptr @ins, i64 0, i64 %91
  %93 = getelementptr inbounds i8, ptr %92, i64 8
  %94 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %90, ptr noundef nonnull align 8 dereferenceable(16) %93)
  br i1 %94, label %95, label %142

95:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  %96 = load i32, ptr %76, align 8, !tbaa !15
  store i32 %96, ptr %4, align 16, !tbaa !5
  %97 = load i32, ptr %79, align 8, !tbaa !15
  store i32 %97, ptr %21, align 4, !tbaa !5
  %98 = load i32, ptr %89, align 8, !tbaa !15
  store i32 %98, ptr %22, align 8, !tbaa !5
  %99 = load i32, ptr %92, align 8, !tbaa !15
  store i32 %99, ptr %23, align 4, !tbaa !5
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef nonnull %4, ptr noundef nonnull %24)
  %100 = load i32, ptr %4, align 16, !tbaa !5
  %101 = load i32, ptr %21, align 4, !tbaa !5
  %102 = icmp eq i32 %100, %101
  %103 = load i32, ptr %22, align 8, !tbaa !5
  %104 = icmp eq i32 %101, %103
  br i1 %102, label %105, label %.thread118

.thread:                                          ; preds = %.thread123, %.thread126
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  br label %142

split:                                            ; preds = %112, %106
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 136, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5solve4Line) #7
  unreachable

105:                                              ; preds = %95
  br i1 %104, label %106, label %.thread121

.thread118:                                       ; preds = %95
  br i1 %104, label %.thread121, label %.thread123

106:                                              ; preds = %105
  %107 = icmp eq i32 %100, -1
  br i1 %107, label %.thread121, label %split

.thread121:                                       ; preds = %.thread118, %106, %105
  %.181.1 = phi i32 [ %100, %105 ], [ %101, %106 ], [ %101, %.thread118 ]
  %108 = load i32, ptr %23, align 4, !tbaa !5
  %109 = icmp eq i32 %103, %108
  br i1 %109, label %112, label %.thread126

.thread123:                                       ; preds = %.thread118
  %110 = load i32, ptr %23, align 4, !tbaa !5
  %111 = icmp eq i32 %103, %110
  br i1 %111, label %.thread126, label %.thread

112:                                              ; preds = %.thread121
  %113 = icmp eq i32 %.181.1, -1
  br i1 %113, label %.thread126, label %split

.thread126:                                       ; preds = %.thread123, %112, %.thread121
  %.181.2 = phi i32 [ %.181.1, %.thread121 ], [ %103, %112 ], [ %103, %.thread123 ]
  %114 = icmp sgt i32 %.181.2, -1
  br i1 %114, label %115, label %.thread

115:                                              ; preds = %.thread126
  %116 = load i32, ptr %76, align 8, !tbaa !15
  %117 = icmp eq i32 %116, %.181.2
  br i1 %117, label %118, label %120

118:                                              ; preds = %115
  %119 = load i32, ptr %79, align 8, !tbaa !15
  br label %120

120:                                              ; preds = %115, %118
  %121 = phi i32 [ %119, %118 ], [ %116, %115 ]
  %122 = load i32, ptr %89, align 8, !tbaa !15
  %123 = icmp eq i32 %122, %.181.2
  br i1 %123, label %124, label %126

124:                                              ; preds = %120
  %125 = load i32, ptr %92, align 8, !tbaa !15
  br label %126

126:                                              ; preds = %124, %120
  %127 = phi i32 [ %125, %124 ], [ %122, %120 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  %128 = call { double, double } @_ZNK5PointmiERKS_(ptr noundef nonnull align 8 dereferenceable(16) %90, ptr noundef nonnull align 8 dereferenceable(16) %77)
  %129 = extractvalue { double, double } %128, 0
  store double %129, ptr %5, align 8
  %130 = extractvalue { double, double } %128, 1
  store double %130, ptr %25, align 8
  %131 = call noundef double @_ZNK5Point4normEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
  %132 = fadd double %.1, %131
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  %133 = sext i32 %121 to i64
  %134 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %133
  %135 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %134, ptr noundef nonnull align 8 dereferenceable(16) %77)
  %.idx = select i1 %135, i64 16, i64 0
  %136 = getelementptr inbounds i8, ptr %134, i64 %.idx
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 16 dereferenceable(16) %136, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  %137 = sext i32 %127 to i64
  %138 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %137
  %139 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %138, ptr noundef nonnull align 8 dereferenceable(16) %90)
  %.idx92 = select i1 %139, i64 16, i64 0
  %140 = getelementptr inbounds i8, ptr %138, i64 %.idx92
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 16 dereferenceable(16) %140, i64 16, i1 false), !tbaa.struct !9
  call void @_ZN4Line4initERK5PointS2_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %8)
  %141 = call noundef zeroext i1 @_ZNK4Line13has_intersectERKS_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %6)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  br label %154

142:                                              ; preds = %.thread, %86, %82
  %143 = load i32, ptr %76, align 8, !tbaa !15
  %144 = load i32, ptr %79, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  %145 = sext i32 %143 to i64
  %146 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %145
  %147 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %146, ptr noundef nonnull align 8 dereferenceable(16) %77)
  %.idx93 = select i1 %147, i64 16, i64 0
  %148 = getelementptr inbounds i8, ptr %146, i64 %.idx93
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 16 dereferenceable(16) %148, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #6
  %149 = sext i32 %144 to i64
  %150 = getelementptr inbounds [1001 x %struct.Line], ptr @line, i64 0, i64 %149
  %151 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 8 dereferenceable(16) %150, ptr noundef nonnull align 8 dereferenceable(16) %80)
  %.idx94 = select i1 %151, i64 16, i64 0
  %152 = getelementptr inbounds i8, ptr %150, i64 %.idx94
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 16 dereferenceable(16) %152, i64 16, i1 false), !tbaa.struct !9
  call void @_ZN4Line4initERK5PointS2_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %11)
  %153 = call noundef zeroext i1 @_ZNK4Line13has_intersectERKS_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %9)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #6
  br label %154

154:                                              ; preds = %70, %74, %126, %142
  %.pn.shrunk = phi i1 [ %141, %126 ], [ %153, %142 ], [ true, %74 ], [ true, %70 ]
  %.378 = phi i32 [ %83, %126 ], [ %72, %142 ], [ %.075107, %74 ], [ %.075107, %70 ]
  %.4 = phi double [ %132, %126 ], [ %.1, %142 ], [ %.1, %74 ], [ %.1, %70 ]
  %.pn = zext i1 %.pn.shrunk to i32
  %.5 = xor i32 %.082106, %.pn
  %155 = add nsw i32 %.378, 1
  %156 = load i32, ptr @tot, align 4, !tbaa !5
  %157 = icmp slt i32 %155, %156
  br i1 %157, label %57, label %._crit_edge111, !llvm.loop !18
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4Line8parallelERKS_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK4Line9intersectERKS_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIP4NodeEvT_S2_(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { double, double } @_ZNK5PointmiERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPiEvT_S1_(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4Line4initERK5PointS2_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4Line13has_intersectERKS_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { noreturn 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 #6 = { nounwind }
attributes #7 = { noreturn 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i64 0, i64 8, !10, i64 8, i64 8, !10}
!10 = !{!11, !11, i64 0}
!11 = !{!"double", !7, i64 0}
!12 = !{i64 4, i64 8, !10, i64 12, i64 8, !10}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !6, i64 0}
!16 = !{!"_ZTS4Node", !6, i64 0, !17, i64 8}
!17 = !{!"_ZTS5Point", !11, i64 0, !11, i64 8}
!18 = distinct !{!18, !14}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass