; LLVM IR from VastoLorde95/Competitive-Programming :: Codeforces/185 Division 1/Problem B (B)

; 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.convexHull = type { [100100 x %struct.line], [100100 x double], i32, i32 }
%struct.line = type { i64, i64 }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@p = external dso_local global i32, align 4
@ans = external dso_local global i64, align 8
@d = external dso_local global [100100 x i64], align 16
@h = external dso_local global [100100 x i64], align 16
@t = external dso_local global [100100 x i64], align 16
@s = external dso_local global [100100 x i64], align 16
@dp = external dso_local global [101 x [100100 x i64]], align 16
@inf = external dso_local global i64, align 8
@c = external dso_local global %struct.convexHull, align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %10 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %11 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %12 = getelementptr i8, ptr %11, i64 -24
  %13 = load i64, ptr %12, align 8
  %14 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %13
  %15 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %14, ptr noundef null)
  %16 = load ptr, ptr @_ZSt4cerr, align 8, !tbaa !5
  %17 = getelementptr i8, ptr %16, i64 -24
  %18 = load i64, ptr %17, align 8
  %19 = getelementptr inbounds i8, ptr @_ZSt4cerr, i64 %18
  %20 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %19, ptr noundef null)
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @n)
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 4 dereferenceable(4) @m)
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 4 dereferenceable(4) @p)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  store i32 2, ptr %2, align 4, !tbaa !8
  br label %24

24:                                               ; preds = %44, %0
  %25 = load i32, ptr %2, align 4, !tbaa !8
  %26 = load i32, ptr @n, align 4, !tbaa !8
  %27 = icmp sle i32 %25, %26
  br i1 %27, label %29, label %28

28:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  br label %47

29:                                               ; preds = %24
  %30 = load i32, ptr %2, align 4, !tbaa !8
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [100100 x i64], ptr @d, i64 0, i64 %31
  %33 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %32)
  %34 = load i32, ptr %2, align 4, !tbaa !8
  %35 = sub nsw i32 %34, 1
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [100100 x i64], ptr @d, i64 0, i64 %36
  %38 = load i64, ptr %37, align 8, !tbaa !11
  %39 = load i32, ptr %2, align 4, !tbaa !8
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [100100 x i64], ptr @d, i64 0, i64 %40
  %42 = load i64, ptr %41, align 8, !tbaa !11
  %43 = add nsw i64 %42, %38
  store i64 %43, ptr %41, align 8, !tbaa !11
  br label %44

44:                                               ; preds = %29
  %45 = load i32, ptr %2, align 4, !tbaa !8
  %46 = add nsw i32 %45, 1
  store i32 %46, ptr %2, align 4, !tbaa !8
  br label %24, !llvm.loop !13

47:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  store i32 1, ptr %3, align 4, !tbaa !8
  br label %48

48:                                               ; preds = %76, %47
  %49 = load i32, ptr %3, align 4, !tbaa !8
  %50 = load i32, ptr @m, align 4, !tbaa !8
  %51 = icmp sle i32 %49, %50
  br i1 %51, label %53, label %52

52:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  br label %79

53:                                               ; preds = %48
  %54 = load i32, ptr %3, align 4, !tbaa !8
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [100100 x i64], ptr @h, i64 0, i64 %55
  %57 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %56)
  %58 = load i32, ptr %3, align 4, !tbaa !8
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [100100 x i64], ptr @t, i64 0, i64 %59
  %61 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %57, ptr noundef nonnull align 8 dereferenceable(8) %60)
  %62 = load i32, ptr %3, align 4, !tbaa !8
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [100100 x i64], ptr @t, i64 0, i64 %63
  %65 = load i64, ptr %64, align 8, !tbaa !11
  %66 = load i32, ptr %3, align 4, !tbaa !8
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [100100 x i64], ptr @h, i64 0, i64 %67
  %69 = load i64, ptr %68, align 8, !tbaa !11
  %70 = getelementptr inbounds [100100 x i64], ptr @d, i64 0, i64 %69
  %71 = load i64, ptr %70, align 8, !tbaa !11
  %72 = sub nsw i64 %65, %71
  %73 = load i32, ptr %3, align 4, !tbaa !8
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds [100100 x i64], ptr @t, i64 0, i64 %74
  store i64 %72, ptr %75, align 8, !tbaa !11
  br label %76

76:                                               ; preds = %53
  %77 = load i32, ptr %3, align 4, !tbaa !8
  %78 = add nsw i32 %77, 1
  store i32 %78, ptr %3, align 4, !tbaa !8
  br label %48, !llvm.loop !15

79:                                               ; preds = %52
  %80 = load i32, ptr @m, align 4, !tbaa !8
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds i64, ptr @t, i64 %81
  %83 = getelementptr inbounds i64, ptr %82, i64 1
  call void @_ZSt4sortIPxEvT_S1_(ptr noundef getelementptr inbounds (i64, ptr @t, i64 1), ptr noundef %83)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  store i32 1, ptr %4, align 4, !tbaa !8
  br label %84

84:                                               ; preds = %103, %79
  %85 = load i32, ptr %4, align 4, !tbaa !8
  %86 = load i32, ptr @m, align 4, !tbaa !8
  %87 = icmp sle i32 %85, %86
  br i1 %87, label %89, label %88

88:                                               ; preds = %84
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  br label %106

89:                                               ; preds = %84
  %90 = load i32, ptr %4, align 4, !tbaa !8
  %91 = sub nsw i32 %90, 1
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [100100 x i64], ptr @s, i64 0, i64 %92
  %94 = load i64, ptr %93, align 8, !tbaa !11
  %95 = load i32, ptr %4, align 4, !tbaa !8
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [100100 x i64], ptr @t, i64 0, i64 %96
  %98 = load i64, ptr %97, align 8, !tbaa !11
  %99 = add nsw i64 %94, %98
  %100 = load i32, ptr %4, align 4, !tbaa !8
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [100100 x i64], ptr @s, i64 0, i64 %101
  store i64 %99, ptr %102, align 8, !tbaa !11
  br label %103

103:                                              ; preds = %89
  %104 = load i32, ptr %4, align 4, !tbaa !8
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %4, align 4, !tbaa !8
  br label %84, !llvm.loop !16

106:                                              ; preds = %88
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  store i32 1, ptr %5, align 4, !tbaa !8
  br label %107

107:                                              ; preds = %117, %106
  %108 = load i32, ptr %5, align 4, !tbaa !8
  %109 = load i32, ptr @m, align 4, !tbaa !8
  %110 = icmp sle i32 %108, %109
  br i1 %110, label %112, label %111

111:                                              ; preds = %107
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %120

112:                                              ; preds = %107
  %113 = load i64, ptr @inf, align 8, !tbaa !11
  %114 = load i32, ptr %5, align 4, !tbaa !8
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [100100 x i64], ptr @dp, i64 0, i64 %115
  store i64 %113, ptr %116, align 8, !tbaa !11
  br label %117

117:                                              ; preds = %112
  %118 = load i32, ptr %5, align 4, !tbaa !8
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr %5, align 4, !tbaa !8
  br label %107, !llvm.loop !17

120:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 1, ptr %6, align 4, !tbaa !8
  br label %121

121:                                              ; preds = %181, %120
  %122 = load i32, ptr %6, align 4, !tbaa !8
  %123 = load i32, ptr @p, align 4, !tbaa !8
  %124 = icmp sle i32 %122, %123
  br i1 %124, label %126, label %125

125:                                              ; preds = %121
  store i32 14, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %184

126:                                              ; preds = %121
  call void @_ZN10convexHull5resetEv(ptr noundef nonnull align 8 dereferenceable(2402408) @c)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 1, ptr %8, align 4, !tbaa !8
  br label %127

127:                                              ; preds = %177, %126
  %128 = load i32, ptr %8, align 4, !tbaa !8
  %129 = load i32, ptr @m, align 4, !tbaa !8
  %130 = icmp sle i32 %128, %129
  br i1 %130, label %132, label %131

131:                                              ; preds = %127
  store i32 17, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %180

132:                                              ; preds = %127
  %133 = load i32, ptr %8, align 4, !tbaa !8
  %134 = sub nsw i32 %133, 1
  %135 = sub nsw i32 0, %134
  %136 = sext i32 %135 to i64
  %137 = load i32, ptr %6, align 4, !tbaa !8
  %138 = sub nsw i32 %137, 1
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [101 x [100100 x i64]], ptr @dp, i64 0, i64 %139
  %141 = load i32, ptr %8, align 4, !tbaa !8
  %142 = sub nsw i32 %141, 1
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [100100 x i64], ptr %140, i64 0, i64 %143
  %145 = load i64, ptr %144, align 8, !tbaa !11
  %146 = load i32, ptr %8, align 4, !tbaa !8
  %147 = sub nsw i32 %146, 1
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds [100100 x i64], ptr @s, i64 0, i64 %148
  %150 = load i64, ptr %149, align 8, !tbaa !11
  %151 = add nsw i64 %145, %150
  call void @_ZN10convexHull6insertExx(ptr noundef nonnull align 8 dereferenceable(2402408) @c, i64 noundef %136, i64 noundef %151)
  %152 = load i32, ptr %8, align 4, !tbaa !8
  %153 = sext i32 %152 to i64
  %154 = mul nsw i64 1, %153
  %155 = load i32, ptr %8, align 4, !tbaa !8
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds [100100 x i64], ptr @t, i64 0, i64 %156
  %158 = load i64, ptr %157, align 8, !tbaa !11
  %159 = mul nsw i64 %154, %158
  %160 = load i32, ptr %8, align 4, !tbaa !8
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds [100100 x i64], ptr @s, i64 0, i64 %161
  %163 = load i64, ptr %162, align 8, !tbaa !11
  %164 = sub nsw i64 %159, %163
  %165 = load i32, ptr %8, align 4, !tbaa !8
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds [100100 x i64], ptr @t, i64 0, i64 %166
  %168 = load i64, ptr %167, align 8, !tbaa !11
  %169 = call noundef i64 @_ZN10convexHull6getMinEx(ptr noundef nonnull align 8 dereferenceable(2402408) @c, i64 noundef %168)
  %170 = add nsw i64 %164, %169
  %171 = load i32, ptr %6, align 4, !tbaa !8
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds [101 x [100100 x i64]], ptr @dp, i64 0, i64 %172
  %174 = load i32, ptr %8, align 4, !tbaa !8
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds [100100 x i64], ptr %173, i64 0, i64 %175
  store i64 %170, ptr %176, align 8, !tbaa !11
  br label %177

177:                                              ; preds = %132
  %178 = load i32, ptr %8, align 4, !tbaa !8
  %179 = add nsw i32 %178, 1
  store i32 %179, ptr %8, align 4, !tbaa !8
  br label %127, !llvm.loop !18

180:                                              ; preds = %131
  br label %181

181:                                              ; preds = %180
  %182 = load i32, ptr %6, align 4, !tbaa !8
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr %6, align 4, !tbaa !8
  br label %121, !llvm.loop !19

184:                                              ; preds = %125
  %185 = load i64, ptr @inf, align 8, !tbaa !11
  store i64 %185, ptr @ans, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 0, ptr %9, align 4, !tbaa !8
  br label %186

186:                                              ; preds = %200, %184
  %187 = load i32, ptr %9, align 4, !tbaa !8
  %188 = load i32, ptr @p, align 4, !tbaa !8
  %189 = icmp sle i32 %187, %188
  br i1 %189, label %191, label %190

190:                                              ; preds = %186
  store i32 20, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %203

191:                                              ; preds = %186
  %192 = load i32, ptr %9, align 4, !tbaa !8
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds [101 x [100100 x i64]], ptr @dp, i64 0, i64 %193
  %195 = load i32, ptr @m, align 4, !tbaa !8
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds [100100 x i64], ptr %194, i64 0, i64 %196
  %198 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) @ans, ptr noundef nonnull align 8 dereferenceable(8) %197)
  %199 = load i64, ptr %198, align 8, !tbaa !11
  store i64 %199, ptr @ans, align 8, !tbaa !11
  br label %200

200:                                              ; preds = %191
  %201 = load i32, ptr %9, align 4, !tbaa !8
  %202 = add nsw i32 %201, 1
  store i32 %202, ptr %9, align 4, !tbaa !8
  br label %186, !llvm.loop !20

203:                                              ; preds = %190
  %204 = load i64, ptr @ans, align 8, !tbaa !11
  %205 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %204)
  %206 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %205, i8 noundef signext 10)
  ret i32 0
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #1

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) #2 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #1

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #4 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: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPxEvT_S1_(ptr noundef, ptr noundef) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10convexHull6insertExx(ptr noundef nonnull align 8 dereferenceable(2402408), i64 noundef, i64 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN10convexHull6getMinEx(ptr noundef nonnull align 8 dereferenceable(2402408), i64 noundef) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #6

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #5

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #4 align 2

attributes #0 = { mustprogress norecurse 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { 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 #6 = { 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 #7 = { 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 = !{!"long long", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}


; 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.convexHull = type { [100100 x %struct.line], [100100 x double], i32, i32 }
%struct.line = type { i64, i64 }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@p = external dso_local global i32, align 4
@ans = external dso_local global i64, align 8
@d = external dso_local global [100100 x i64], align 16
@h = external dso_local global [100100 x i64], align 16
@t = external dso_local global [100100 x i64], align 16
@s = external dso_local local_unnamed_addr global [100100 x i64], align 16
@dp = external dso_local global [101 x [100100 x i64]], align 16
@inf = external dso_local local_unnamed_addr global i64, align 8
@c = external dso_local global %struct.convexHull, align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %2 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %3 = getelementptr i8, ptr %2, i64 -24
  %4 = load i64, ptr %3, align 8
  %5 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %4
  %6 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %5, ptr noundef null)
  %7 = load ptr, ptr @_ZSt4cerr, align 8, !tbaa !5
  %8 = getelementptr i8, ptr %7, i64 -24
  %9 = load i64, ptr %8, align 8
  %10 = getelementptr inbounds i8, ptr @_ZSt4cerr, i64 %9
  %11 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %10, ptr noundef null)
  %12 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @n)
  %13 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(4) @m)
  %14 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(4) @p)
  %15 = load i32, ptr @n, align 4, !tbaa !8
  %.not53 = icmp slt i32 %15, 2
  br i1 %.not53, label %.preheader51, label %.lr.ph

.preheader51:                                     ; preds = %.lr.ph, %0
  %16 = load i32, ptr @m, align 4, !tbaa !8
  %.not4455 = icmp slt i32 %16, 1
  br i1 %.not4455, label %.preheader51.._crit_edge_crit_edge, label %.lr.ph57

.preheader51.._crit_edge_crit_edge:               ; preds = %.preheader51
  %.pre101 = sext i32 %16 to i64
  br label %._crit_edge

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 2, %0 ]
  %17 = getelementptr inbounds [100100 x i64], ptr @d, i64 0, i64 %indvars.iv
  %18 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %17)
  %19 = add nsw i64 %indvars.iv, -1
  %20 = getelementptr inbounds [100100 x i64], ptr @d, i64 0, i64 %19
  %21 = load i64, ptr %20, align 8, !tbaa !11
  %22 = load i64, ptr %17, align 8, !tbaa !11
  %23 = add nsw i64 %22, %21
  store i64 %23, ptr %17, align 8, !tbaa !11
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %24 = load i32, ptr @n, align 4, !tbaa !8
  %25 = sext i32 %24 to i64
  %.not.not = icmp slt i64 %indvars.iv, %25
  br i1 %.not.not, label %.lr.ph, label %.preheader51, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph57, %.preheader51.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre101, %.preheader51.._crit_edge_crit_edge ], [ %41, %.lr.ph57 ]
  %26 = getelementptr inbounds i64, ptr @t, i64 %.pre-phi
  %27 = getelementptr inbounds i8, ptr %26, i64 8
  tail call void @_ZSt4sortIPxEvT_S1_(ptr noundef nonnull getelementptr inbounds (i8, ptr @t, i64 8), ptr noundef nonnull %27)
  %28 = load i32, ptr @m, align 4, !tbaa !8
  %.not4558 = icmp slt i32 %28, 1
  br i1 %.not4558, label %.preheader, label %.lr.ph61.preheader

.lr.ph61.preheader:                               ; preds = %._crit_edge
  %.pre = load i64, ptr @s, align 16, !tbaa !11
  %29 = zext nneg i32 %28 to i64
  %xtraiter = and i64 %29, 3
  %30 = icmp ult i32 %28, 4
  br i1 %30, label %.preheader50.unr-lcssa, label %.lr.ph61.preheader.new

.lr.ph61.preheader.new:                           ; preds = %.lr.ph61.preheader
  %unroll_iter = and i64 %29, 2147483644
  br label %.lr.ph61

.lr.ph57:                                         ; preds = %.preheader51, %.lr.ph57
  %indvars.iv81 = phi i64 [ %indvars.iv.next82, %.lr.ph57 ], [ 1, %.preheader51 ]
  %31 = getelementptr inbounds [100100 x i64], ptr @h, i64 0, i64 %indvars.iv81
  %32 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %31)
  %33 = getelementptr inbounds [100100 x i64], ptr @t, i64 0, i64 %indvars.iv81
  %34 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull align 8 dereferenceable(8) %33)
  %35 = load i64, ptr %33, align 8, !tbaa !11
  %36 = load i64, ptr %31, align 8, !tbaa !11
  %37 = getelementptr inbounds [100100 x i64], ptr @d, i64 0, i64 %36
  %38 = load i64, ptr %37, align 8, !tbaa !11
  %39 = sub nsw i64 %35, %38
  store i64 %39, ptr %33, align 8, !tbaa !11
  %indvars.iv.next82 = add nuw nsw i64 %indvars.iv81, 1
  %40 = load i32, ptr @m, align 4, !tbaa !8
  %41 = sext i32 %40 to i64
  %.not44.not = icmp slt i64 %indvars.iv81, %41
  br i1 %.not44.not, label %.lr.ph57, label %._crit_edge, !llvm.loop !15

.preheader50.unr-lcssa:                           ; preds = %.lr.ph61, %.lr.ph61.preheader
  %.unr = phi i64 [ %.pre, %.lr.ph61.preheader ], [ %68, %.lr.ph61 ]
  %indvars.iv84.unr = phi i64 [ 1, %.lr.ph61.preheader ], [ %indvars.iv.next85.3, %.lr.ph61 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader50, label %.lr.ph61.epil

.lr.ph61.epil:                                    ; preds = %.preheader50.unr-lcssa, %.lr.ph61.epil
  %42 = phi i64 [ %45, %.lr.ph61.epil ], [ %.unr, %.preheader50.unr-lcssa ]
  %indvars.iv84.epil = phi i64 [ %indvars.iv.next85.epil, %.lr.ph61.epil ], [ %indvars.iv84.unr, %.preheader50.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph61.epil ], [ 0, %.preheader50.unr-lcssa ]
  %43 = getelementptr inbounds [100100 x i64], ptr @t, i64 0, i64 %indvars.iv84.epil
  %44 = load i64, ptr %43, align 8, !tbaa !11
  %45 = add nsw i64 %44, %42
  %46 = getelementptr inbounds [100100 x i64], ptr @s, i64 0, i64 %indvars.iv84.epil
  store i64 %45, ptr %46, align 8, !tbaa !11
  %indvars.iv.next85.epil = add nuw nsw i64 %indvars.iv84.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.preheader50, label %.lr.ph61.epil, !llvm.loop !16

.preheader50:                                     ; preds = %.lr.ph61.epil, %.preheader50.unr-lcssa
  br i1 %.not4558, label %.preheader, label %.lr.ph65

.lr.ph65:                                         ; preds = %.preheader50
  %47 = load i64, ptr @inf, align 8, !tbaa !11
  %48 = add nuw i32 %28, 1
  %wide.trip.count90 = zext i32 %48 to i64
  %49 = zext nneg i32 %28 to i64
  %min.iters.check = icmp ult i32 %28, 4
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph65
  %indvars.iv87.ph = phi i64 [ 1, %.lr.ph65 ], [ %ind.end, %middle.block ]
  br label %scalar.ph

vector.ph:                                        ; preds = %.lr.ph65
  %n.vec = and i64 %49, 2147483644
  %ind.end = or disjoint i64 %n.vec, 1
  %broadcast.splatinsert = insertelement <2 x i64> poison, i64 %47, i64 0
  %broadcast.splat = shufflevector <2 x i64> %broadcast.splatinsert, <2 x i64> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = or disjoint i64 %index, 1
  %50 = getelementptr inbounds [100100 x i64], ptr @dp, i64 0, i64 %offset.idx
  %51 = getelementptr inbounds i8, ptr %50, i64 16
  store <2 x i64> %broadcast.splat, ptr %50, align 8, !tbaa !11
  store <2 x i64> %broadcast.splat, ptr %51, align 8, !tbaa !11
  %index.next = add nuw i64 %index, 4
  %52 = icmp eq i64 %index.next, %n.vec
  br i1 %52, label %middle.block, label %vector.body, !llvm.loop !18

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %49
  br i1 %cmp.n, label %.preheader, label %scalar.ph.preheader

.lr.ph61:                                         ; preds = %.lr.ph61, %.lr.ph61.preheader.new
  %53 = phi i64 [ %.pre, %.lr.ph61.preheader.new ], [ %68, %.lr.ph61 ]
  %indvars.iv84 = phi i64 [ 1, %.lr.ph61.preheader.new ], [ %indvars.iv.next85.3, %.lr.ph61 ]
  %niter = phi i64 [ 0, %.lr.ph61.preheader.new ], [ %niter.next.3, %.lr.ph61 ]
  %54 = getelementptr inbounds [100100 x i64], ptr @t, i64 0, i64 %indvars.iv84
  %55 = load i64, ptr %54, align 8, !tbaa !11
  %56 = add nsw i64 %55, %53
  %57 = getelementptr inbounds [100100 x i64], ptr @s, i64 0, i64 %indvars.iv84
  store i64 %56, ptr %57, align 8, !tbaa !11
  %indvars.iv.next85 = add nuw nsw i64 %indvars.iv84, 1
  %58 = getelementptr inbounds [100100 x i64], ptr @t, i64 0, i64 %indvars.iv.next85
  %59 = load i64, ptr %58, align 8, !tbaa !11
  %60 = add nsw i64 %59, %56
  %61 = getelementptr inbounds [100100 x i64], ptr @s, i64 0, i64 %indvars.iv.next85
  store i64 %60, ptr %61, align 8, !tbaa !11
  %indvars.iv.next85.1 = add nuw nsw i64 %indvars.iv84, 2
  %62 = getelementptr inbounds [100100 x i64], ptr @t, i64 0, i64 %indvars.iv.next85.1
  %63 = load i64, ptr %62, align 8, !tbaa !11
  %64 = add nsw i64 %63, %60
  %65 = getelementptr inbounds [100100 x i64], ptr @s, i64 0, i64 %indvars.iv.next85.1
  store i64 %64, ptr %65, align 8, !tbaa !11
  %indvars.iv.next85.2 = add nuw nsw i64 %indvars.iv84, 3
  %66 = getelementptr inbounds [100100 x i64], ptr @t, i64 0, i64 %indvars.iv.next85.2
  %67 = load i64, ptr %66, align 8, !tbaa !11
  %68 = add nsw i64 %67, %64
  %69 = getelementptr inbounds [100100 x i64], ptr @s, i64 0, i64 %indvars.iv.next85.2
  store i64 %68, ptr %69, align 8, !tbaa !11
  %indvars.iv.next85.3 = add nuw nsw i64 %indvars.iv84, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.preheader50.unr-lcssa, label %.lr.ph61, !llvm.loop !21

.preheader:                                       ; preds = %scalar.ph, %middle.block, %._crit_edge, %.preheader50
  %70 = load i32, ptr @p, align 4, !tbaa !8
  %.not4771 = icmp slt i32 %70, 1
  br i1 %.not4771, label %._crit_edge74, label %.lr.ph73

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv87 = phi i64 [ %indvars.iv.next88, %scalar.ph ], [ %indvars.iv87.ph, %scalar.ph.preheader ]
  %71 = getelementptr inbounds [100100 x i64], ptr @dp, i64 0, i64 %indvars.iv87
  store i64 %47, ptr %71, align 8, !tbaa !11
  %indvars.iv.next88 = add nuw nsw i64 %indvars.iv87, 1
  %exitcond91.not = icmp eq i64 %indvars.iv.next88, %wide.trip.count90
  br i1 %exitcond91.not, label %.preheader, label %scalar.ph, !llvm.loop !22

._crit_edge74:                                    ; preds = %._crit_edge70, %.preheader
  %72 = phi i32 [ %70, %.preheader ], [ %76, %._crit_edge70 ]
  %73 = load i64, ptr @inf, align 8, !tbaa !11
  store i64 %73, ptr @ans, align 8, !tbaa !11
  %.not4875 = icmp slt i32 %72, 0
  br i1 %.not4875, label %._crit_edge79, label %.lr.ph78

.lr.ph73:                                         ; preds = %.preheader, %._crit_edge70
  %indvars.iv95 = phi i64 [ %indvars.iv.next96, %._crit_edge70 ], [ 1, %.preheader ]
  tail call void @_ZN10convexHull5resetEv(ptr noundef nonnull align 8 dereferenceable(2402408) @c)
  %74 = load i32, ptr @m, align 4, !tbaa !8
  %.not4966 = icmp slt i32 %74, 1
  br i1 %.not4966, label %._crit_edge70, label %.lr.ph69

.lr.ph69:                                         ; preds = %.lr.ph73
  %75 = add nsw i64 %indvars.iv95, -1
  br label %78

._crit_edge70:                                    ; preds = %78, %.lr.ph73
  %indvars.iv.next96 = add nuw nsw i64 %indvars.iv95, 1
  %76 = load i32, ptr @p, align 4, !tbaa !8
  %77 = sext i32 %76 to i64
  %.not47.not = icmp slt i64 %indvars.iv95, %77
  br i1 %.not47.not, label %.lr.ph73, label %._crit_edge74, !llvm.loop !23

78:                                               ; preds = %.lr.ph69, %78
  %indvars.iv92 = phi i64 [ 1, %.lr.ph69 ], [ %indvars.iv.next93, %78 ]
  %79 = add nsw i64 %indvars.iv92, -1
  %80 = sub nsw i64 1, %indvars.iv92
  %81 = getelementptr inbounds [101 x [100100 x i64]], ptr @dp, i64 0, i64 %75, i64 %79
  %82 = load i64, ptr %81, align 8, !tbaa !11
  %83 = getelementptr inbounds [100100 x i64], ptr @s, i64 0, i64 %79
  %84 = load i64, ptr %83, align 8, !tbaa !11
  %85 = add nsw i64 %84, %82
  tail call void @_ZN10convexHull6insertExx(ptr noundef nonnull align 8 dereferenceable(2402408) @c, i64 noundef %80, i64 noundef %85)
  %86 = getelementptr inbounds [100100 x i64], ptr @t, i64 0, i64 %indvars.iv92
  %87 = load i64, ptr %86, align 8, !tbaa !11
  %88 = mul nsw i64 %87, %indvars.iv92
  %89 = getelementptr inbounds [100100 x i64], ptr @s, i64 0, i64 %indvars.iv92
  %90 = load i64, ptr %89, align 8, !tbaa !11
  %91 = sub i64 %88, %90
  %92 = tail call noundef i64 @_ZN10convexHull6getMinEx(ptr noundef nonnull align 8 dereferenceable(2402408) @c, i64 noundef %87)
  %93 = add nsw i64 %91, %92
  %94 = getelementptr inbounds [101 x [100100 x i64]], ptr @dp, i64 0, i64 %indvars.iv95, i64 %indvars.iv92
  store i64 %93, ptr %94, align 8, !tbaa !11
  %indvars.iv.next93 = add nuw nsw i64 %indvars.iv92, 1
  %95 = load i32, ptr @m, align 4, !tbaa !8
  %96 = sext i32 %95 to i64
  %.not49.not = icmp slt i64 %indvars.iv92, %96
  br i1 %.not49.not, label %78, label %._crit_edge70, !llvm.loop !24

._crit_edge79:                                    ; preds = %.lr.ph78, %._crit_edge74
  %97 = phi i64 [ %73, %._crit_edge74 ], [ %104, %.lr.ph78 ]
  %98 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %97)
  %99 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %98, i8 noundef signext 10)
  ret i32 0

.lr.ph78:                                         ; preds = %._crit_edge74, %.lr.ph78
  %indvars.iv98 = phi i64 [ %indvars.iv.next99, %.lr.ph78 ], [ 0, %._crit_edge74 ]
  %100 = load i32, ptr @m, align 4, !tbaa !8
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [101 x [100100 x i64]], ptr @dp, i64 0, i64 %indvars.iv98, i64 %101
  %103 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) @ans, ptr noundef nonnull align 8 dereferenceable(8) %102)
  %104 = load i64, ptr %103, align 8, !tbaa !11
  store i64 %104, ptr @ans, align 8, !tbaa !11
  %indvars.iv.next99 = add nuw nsw i64 %indvars.iv98, 1
  %105 = load i32, ptr @p, align 4, !tbaa !8
  %106 = sext i32 %105 to i64
  %.not48.not = icmp slt i64 %indvars.iv98, %106
  br i1 %.not48.not, label %.lr.ph78, label %._crit_edge79, !llvm.loop !25
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #1

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10convexHull5resetEv(ptr noundef nonnull align 8 dereferenceable(2402408)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10convexHull6insertExx(ptr noundef nonnull align 8 dereferenceable(2402408), i64 noundef, i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN10convexHull6getMinEx(ptr noundef nonnull align 8 dereferenceable(2402408), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #3 align 2

attributes #0 = { mustprogress norecurse 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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" }

!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 = !{!"long long", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.unroll.disable"}
!18 = distinct !{!18, !14, !19, !20}
!19 = !{!"llvm.loop.isvectorized", i32 1}
!20 = !{!"llvm.loop.unroll.runtime.disable"}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14, !20, !19}
!23 = distinct !{!23, !14}
!24 = distinct !{!24, !14}
!25 = distinct !{!25, !14}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass