; LLVM IR from google/benchmark :: src/complexity.ll (ZN9benchmark14MinimalLeastSqERKSt6vectorIlSaIlEERKS0_IdSaIdEENS_4BigOE)

; 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.benchmark::LeastSq" = type <{ double, double, i32, [4 x i8] }>
%"class.benchmark::internal::CheckHandler" = type { ptr }
%"class.std::basic_string_view" = type { i64, ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<benchmark::BigO, std::allocator<benchmark::BigO>>::_Vector_impl" }
%"struct.std::_Vector_base<benchmark::BigO, std::allocator<benchmark::BigO>>::_Vector_impl" = type { %"struct.std::_Vector_base<benchmark::BigO, std::allocator<benchmark::BigO>>::_Vector_impl_data" }
%"struct.std::_Vector_base<benchmark::BigO, std::allocator<benchmark::BigO>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::allocator.20" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@.str.8 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [68 x i8], align 1
@__func__._ZN9benchmark14MinimalLeastSqERKSt6vectorIlSaIlEERKS0_IdSaIdEENS_4BigOE = external hidden unnamed_addr constant [15 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [24 x i8], align 1
@constinit = external hidden constant [5 x i32], align 4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN9benchmark12FittingCurveENS_4BigOE(i32 noundef) #0

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9benchmark14MinimalLeastSqERKSt6vectorIlSaIlEERKS0_IdSaIdEEPFdlE(ptr dead_on_unwind noalias writable sret(%"struct.benchmark::LeastSq") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) #2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9benchmark14MinimalLeastSqERKSt6vectorIlSaIlEERKS0_IdSaIdEENS_4BigOE(ptr dead_on_unwind noalias writable sret(%"struct.benchmark::LeastSq") align 8 %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %3) #2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.benchmark::internal::CheckHandler", align 8
  %9 = alloca i1, align 1
  %10 = alloca %"class.std::basic_string_view", align 8
  %11 = alloca %"class.std::basic_string_view", align 8
  %12 = alloca %"class.std::basic_string_view", align 8
  %13 = alloca i1, align 1
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.benchmark::internal::CheckHandler", align 8
  %17 = alloca i1, align 1
  %18 = alloca %"class.std::basic_string_view", align 8
  %19 = alloca %"class.std::basic_string_view", align 8
  %20 = alloca %"class.std::basic_string_view", align 8
  %21 = alloca i1, align 1
  %22 = alloca %"class.benchmark::internal::CheckHandler", align 8
  %23 = alloca i1, align 1
  %24 = alloca %"class.std::basic_string_view", align 8
  %25 = alloca %"class.std::basic_string_view", align 8
  %26 = alloca %"class.std::basic_string_view", align 8
  %27 = alloca i1, align 1
  %28 = alloca %"class.std::vector.18", align 8
  %29 = alloca %"class.std::initializer_list", align 8
  %30 = alloca [5 x i32], align 4
  %31 = alloca %"class.std::allocator.20", align 1
  %32 = alloca %"struct.benchmark::LeastSq", align 8
  %33 = alloca ptr, align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %36 = alloca ptr, align 8
  %37 = alloca %"struct.benchmark::LeastSq", align 8
  %38 = alloca %"struct.benchmark::LeastSq", align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  store i32 %3, ptr %7, align 4, !tbaa !9
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = call noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #8
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %41) #8
  %43 = icmp eq i64 %40, %42
  store i1 false, ptr %9, align 1
  store i1 false, ptr %13, align 1
  br i1 %43, label %44, label %46

44:                                               ; preds = %4
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internal18GetNullLogInstanceEv()
  br label %57

46:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  store i1 true, ptr %9, align 1
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef @.str.8) #8
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef @.str.9) #8
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef @__func__._ZN9benchmark14MinimalLeastSqERKSt6vectorIlSaIlEERKS0_IdSaIdEENS_4BigOE) #8
  %47 = getelementptr inbounds { i64, ptr }, ptr %10, i32 0, i32 0
  %48 = load i64, ptr %47, align 8
  %49 = getelementptr inbounds { i64, ptr }, ptr %10, i32 0, i32 1
  %50 = load ptr, ptr %49, align 8
  %51 = getelementptr inbounds { i64, ptr }, ptr %11, i32 0, i32 0
  %52 = load i64, ptr %51, align 8
  %53 = getelementptr inbounds { i64, ptr }, ptr %11, i32 0, i32 1
  %54 = load ptr, ptr %53, align 8
  call void @_ZN9benchmark8internal12CheckHandlerC2ESt17basic_string_viewIcSt11char_traitsIcEES5_S5_i(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 %48, ptr %50, i64 %52, ptr %54, ptr noundef byval(%"class.std::basic_string_view") align 8 %12, i32 noundef 125)
  store i1 true, ptr %13, align 1
  %55 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internal12CheckHandler6GetLogEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %56 unwind label %61

56:                                               ; preds = %46
  br label %57

57:                                               ; preds = %56, %44
  %58 = phi ptr [ %45, %44 ], [ %55, %56 ]
  %59 = load i1, ptr %13, align 1
  br i1 %59, label %60, label %67

60:                                               ; preds = %57
  call void @_ZN9benchmark8internal12CheckHandlerD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  unreachable

61:                                               ; preds = %46
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %14, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %15, align 4
  %65 = load i1, ptr %13, align 1
  br i1 %65, label %91, label %94

66:                                               ; No predecessors!
  br label %67

67:                                               ; preds = %66, %57
  %68 = load i1, ptr %9, align 1
  br i1 %68, label %69, label %70

69:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  br label %70

70:                                               ; preds = %69, %67
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = call noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %71) #8
  %73 = icmp uge i64 %72, 2
  store i1 false, ptr %17, align 1
  store i1 false, ptr %21, align 1
  br i1 %73, label %74, label %76

74:                                               ; preds = %70
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internal18GetNullLogInstanceEv()
  br label %87

76:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  store i1 true, ptr %17, align 1
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef @.str.10) #8
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef @.str.9) #8
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef @__func__._ZN9benchmark14MinimalLeastSqERKSt6vectorIlSaIlEERKS0_IdSaIdEENS_4BigOE) #8
  %77 = getelementptr inbounds { i64, ptr }, ptr %18, i32 0, i32 0
  %78 = load i64, ptr %77, align 8
  %79 = getelementptr inbounds { i64, ptr }, ptr %18, i32 0, i32 1
  %80 = load ptr, ptr %79, align 8
  %81 = getelementptr inbounds { i64, ptr }, ptr %19, i32 0, i32 0
  %82 = load i64, ptr %81, align 8
  %83 = getelementptr inbounds { i64, ptr }, ptr %19, i32 0, i32 1
  %84 = load ptr, ptr %83, align 8
  call void @_ZN9benchmark8internal12CheckHandlerC2ESt17basic_string_viewIcSt11char_traitsIcEES5_S5_i(ptr noundef nonnull align 8 dereferenceable(8) %16, i64 %78, ptr %80, i64 %82, ptr %84, ptr noundef byval(%"class.std::basic_string_view") align 8 %20, i32 noundef 126)
  store i1 true, ptr %21, align 1
  %85 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internal12CheckHandler6GetLogEv(ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %86 unwind label %98

86:                                               ; preds = %76
  br label %87

87:                                               ; preds = %86, %74
  %88 = phi ptr [ %75, %74 ], [ %85, %86 ]
  %89 = load i1, ptr %21, align 1
  br i1 %89, label %90, label %104

90:                                               ; preds = %87
  call void @_ZN9benchmark8internal12CheckHandlerD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #9
  unreachable

91:                                               ; preds = %61
  invoke void @_ZN9benchmark8internal12CheckHandlerD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
          to label %92 unwind label %223

92:                                               ; preds = %91
  unreachable

93:                                               ; No predecessors!
  br label %94

94:                                               ; preds = %93, %61
  %95 = load i1, ptr %9, align 1
  br i1 %95, label %96, label %97

96:                                               ; preds = %94
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  br label %97

97:                                               ; preds = %96, %94
  br label %218

98:                                               ; preds = %76
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %14, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %15, align 4
  %102 = load i1, ptr %21, align 1
  br i1 %102, label %127, label %130

103:                                              ; No predecessors!
  br label %104

104:                                              ; preds = %103, %87
  %105 = load i1, ptr %17, align 1
  br i1 %105, label %106, label %107

106:                                              ; preds = %104
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %107

107:                                              ; preds = %106, %104
  %108 = load i32, ptr %7, align 4, !tbaa !9
  %109 = icmp ne i32 %108, 0
  store i1 false, ptr %23, align 1
  store i1 false, ptr %27, align 1
  br i1 %109, label %110, label %112

110:                                              ; preds = %107
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internal18GetNullLogInstanceEv()
  br label %123

112:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  store i1 true, ptr %23, align 1
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef @.str.11) #8
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef @.str.9) #8
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef @__func__._ZN9benchmark14MinimalLeastSqERKSt6vectorIlSaIlEERKS0_IdSaIdEENS_4BigOE) #8
  %113 = getelementptr inbounds { i64, ptr }, ptr %24, i32 0, i32 0
  %114 = load i64, ptr %113, align 8
  %115 = getelementptr inbounds { i64, ptr }, ptr %24, i32 0, i32 1
  %116 = load ptr, ptr %115, align 8
  %117 = getelementptr inbounds { i64, ptr }, ptr %25, i32 0, i32 0
  %118 = load i64, ptr %117, align 8
  %119 = getelementptr inbounds { i64, ptr }, ptr %25, i32 0, i32 1
  %120 = load ptr, ptr %119, align 8
  call void @_ZN9benchmark8internal12CheckHandlerC2ESt17basic_string_viewIcSt11char_traitsIcEES5_S5_i(ptr noundef nonnull align 8 dereferenceable(8) %22, i64 %114, ptr %116, i64 %118, ptr %120, ptr noundef byval(%"class.std::basic_string_view") align 8 %26, i32 noundef 128)
  store i1 true, ptr %27, align 1
  %121 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internal12CheckHandler6GetLogEv(ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %122 unwind label %134

122:                                              ; preds = %112
  br label %123

123:                                              ; preds = %122, %110
  %124 = phi ptr [ %111, %110 ], [ %121, %122 ]
  %125 = load i1, ptr %27, align 1
  br i1 %125, label %126, label %140

126:                                              ; preds = %123
  call void @_ZN9benchmark8internal12CheckHandlerD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #9
  unreachable

127:                                              ; preds = %98
  invoke void @_ZN9benchmark8internal12CheckHandlerD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #9
          to label %128 unwind label %223

128:                                              ; preds = %127
  unreachable

129:                                              ; No predecessors!
  br label %130

130:                                              ; preds = %129, %98
  %131 = load i1, ptr %17, align 1
  br i1 %131, label %132, label %133

132:                                              ; preds = %130
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %133

133:                                              ; preds = %132, %130
  br label %218

134:                                              ; preds = %112
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %14, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %15, align 4
  %138 = load i1, ptr %27, align 1
  br i1 %138, label %168, label %171

139:                                              ; No predecessors!
  br label %140

140:                                              ; preds = %139, %123
  %141 = load i1, ptr %23, align 1
  br i1 %141, label %142, label %143

142:                                              ; preds = %140
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %143

143:                                              ; preds = %142, %140
  call void @_ZN9benchmark7LeastSqC2Ev(ptr noundef nonnull align 8 dereferenceable(20) %0)
  %144 = load i32, ptr %7, align 4, !tbaa !9
  %145 = icmp eq i32 %144, 7
  br i1 %145, label %146, label %210

146:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #8
  call void @llvm.lifetime.start.p0(i64 20, ptr %30) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 @constinit, i64 20, i1 false), !tbaa.struct !11
  %147 = getelementptr inbounds %"class.std::initializer_list", ptr %29, i32 0, i32 0
  store ptr %30, ptr %147, align 8, !tbaa !13
  %148 = getelementptr inbounds %"class.std::initializer_list", ptr %29, i32 0, i32 1
  store i64 5, ptr %148, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #8
  call void @_ZNSaIN9benchmark4BigOEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #8
  %149 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 0
  %150 = load ptr, ptr %149, align 8
  %151 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 1
  %152 = load i64, ptr %151, align 8
  invoke void @_ZNSt6vectorIN9benchmark4BigOESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr %150, i64 %152, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %153 unwind label %175

153:                                              ; preds = %146
  call void @_ZNSt15__new_allocatorIN9benchmark4BigOEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #8
  %154 = load ptr, ptr %5, align 8, !tbaa !5
  %155 = load ptr, ptr %6, align 8, !tbaa !5
  %156 = call noundef ptr @_ZN9benchmark12FittingCurveENS_4BigOE(i32 noundef 1)
  invoke void @_ZN9benchmark14MinimalLeastSqERKSt6vectorIlSaIlEERKS0_IdSaIdEEPFdlE(ptr dead_on_unwind writable sret(%"struct.benchmark::LeastSq") align 8 %32, ptr noundef nonnull align 8 dereferenceable(24) %154, ptr noundef nonnull align 8 dereferenceable(24) %155, ptr noundef %156)
          to label %157 unwind label %179

157:                                              ; preds = %153
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %0, ptr align 8 %32, i64 20, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #8
  %158 = getelementptr inbounds %"struct.benchmark::LeastSq", ptr %0, i32 0, i32 2
  store i32 1, ptr %158, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  store ptr %28, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %159 = load ptr, ptr %33, align 8, !tbaa !5
  %160 = call ptr @_ZNSt6vectorIN9benchmark4BigOESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %159) #8
  %161 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %34, i32 0, i32 0
  store ptr %160, ptr %161, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %162 = load ptr, ptr %33, align 8, !tbaa !5
  %163 = call ptr @_ZNSt6vectorIN9benchmark4BigOESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %162) #8
  %164 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %35, i32 0, i32 0
  store ptr %163, ptr %164, align 8
  br label %165

165:                                              ; preds = %205, %157
  %166 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN9benchmark4BigOESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #8
  br i1 %166, label %183, label %167

167:                                              ; preds = %165
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %207

168:                                              ; preds = %134
  invoke void @_ZN9benchmark8internal12CheckHandlerD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #9
          to label %169 unwind label %223

169:                                              ; preds = %168
  unreachable

170:                                              ; No predecessors!
  br label %171

171:                                              ; preds = %170, %134
  %172 = load i1, ptr %23, align 1
  br i1 %172, label %173, label %174

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

174:                                              ; preds = %173, %171
  br label %218

175:                                              ; preds = %146
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %14, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %15, align 4
  call void @_ZNSt15__new_allocatorIN9benchmark4BigOEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 20, ptr %30) #8
  br label %209

179:                                              ; preds = %153
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %14, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #8
  br label %208

183:                                              ; preds = %165
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %184 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN9benchmark4BigOESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  store ptr %184, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %37) #8
  %185 = load ptr, ptr %5, align 8, !tbaa !5
  %186 = load ptr, ptr %6, align 8, !tbaa !5
  %187 = load ptr, ptr %36, align 8, !tbaa !5
  %188 = load i32, ptr %187, align 4, !tbaa !9
  %189 = call noundef ptr @_ZN9benchmark12FittingCurveENS_4BigOE(i32 noundef %188)
  invoke void @_ZN9benchmark14MinimalLeastSqERKSt6vectorIlSaIlEERKS0_IdSaIdEEPFdlE(ptr dead_on_unwind writable sret(%"struct.benchmark::LeastSq") align 8 %37, ptr noundef nonnull align 8 dereferenceable(24) %185, ptr noundef nonnull align 8 dereferenceable(24) %186, ptr noundef %189)
          to label %190 unwind label %200

190:                                              ; preds = %183
  %191 = getelementptr inbounds %"struct.benchmark::LeastSq", ptr %37, i32 0, i32 1
  %192 = load double, ptr %191, align 8, !tbaa !22
  %193 = getelementptr inbounds %"struct.benchmark::LeastSq", ptr %0, i32 0, i32 1
  %194 = load double, ptr %193, align 8, !tbaa !22
  %195 = fcmp olt double %192, %194
  br i1 %195, label %196, label %204

196:                                              ; preds = %190
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %0, ptr align 8 %37, i64 20, i1 false), !tbaa.struct !17
  %197 = load ptr, ptr %36, align 8, !tbaa !5
  %198 = load i32, ptr %197, align 4, !tbaa !9
  %199 = getelementptr inbounds %"struct.benchmark::LeastSq", ptr %0, i32 0, i32 2
  store i32 %198, ptr %199, align 8, !tbaa !20
  br label %204

200:                                              ; preds = %183
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %14, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %208

204:                                              ; preds = %196, %190
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %205

205:                                              ; preds = %204
  %206 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN9benchmark4BigOESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  br label %165

207:                                              ; preds = %167
  call void @_ZNSt6vectorIN9benchmark4BigOESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #8
  br label %217

208:                                              ; preds = %200, %179
  call void @_ZNSt6vectorIN9benchmark4BigOESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #8
  br label %209

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

210:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 24, ptr %38) #8
  %211 = load ptr, ptr %5, align 8, !tbaa !5
  %212 = load ptr, ptr %6, align 8, !tbaa !5
  %213 = load i32, ptr %7, align 4, !tbaa !9
  %214 = call noundef ptr @_ZN9benchmark12FittingCurveENS_4BigOE(i32 noundef %213)
  call void @_ZN9benchmark14MinimalLeastSqERKSt6vectorIlSaIlEERKS0_IdSaIdEEPFdlE(ptr dead_on_unwind writable sret(%"struct.benchmark::LeastSq") align 8 %38, ptr noundef nonnull align 8 dereferenceable(24) %211, ptr noundef nonnull align 8 dereferenceable(24) %212, ptr noundef %214)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %0, ptr align 8 %38, i64 20, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #8
  %215 = load i32, ptr %7, align 4, !tbaa !9
  %216 = getelementptr inbounds %"struct.benchmark::LeastSq", ptr %0, i32 0, i32 2
  store i32 %215, ptr %216, align 8, !tbaa !20
  br label %217

217:                                              ; preds = %210, %207
  ret void

218:                                              ; preds = %209, %174, %133, %97
  %219 = load ptr, ptr %14, align 8
  %220 = load i32, ptr %15, align 4
  %221 = insertvalue { ptr, i32 } poison, ptr %219, 0
  %222 = insertvalue { ptr, i32 } %221, i32 %220, 1
  resume { ptr, i32 } %222

223:                                              ; preds = %168, %127, %91
  %224 = landingpad { ptr, i32 }
          catch ptr null
  %225 = extractvalue { ptr, i32 } %224, 0
  call void @__clang_call_terminate(ptr %225) #10
  unreachable
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internal18GetNullLogInstanceEv() #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9benchmark8internal12CheckHandlerC2ESt17basic_string_viewIcSt11char_traitsIcEES5_S5_i(ptr noundef nonnull align 8 dereferenceable(8), i64, ptr, i64, ptr, ptr noundef byval(%"class.std::basic_string_view") align 8, i32 noundef) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress noreturn uwtable
declare dso_local void @_ZN9benchmark8internal12CheckHandlerD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 align 2

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIN9benchmark4BigOEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN9benchmark4BigOESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN9benchmark4BigOESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #7

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIN9benchmark4BigOEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 noreturn 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 = { noinline noreturn nounwind uwtable "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { noreturn }
attributes #10 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTSN9benchmark4BigOE", !7, i64 0}
!11 = !{i64 0, i64 20, !12}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTSSt16initializer_listIN9benchmark4BigOEE", !6, i64 0, !15, i64 8}
!15 = !{!"long", !7, i64 0}
!16 = !{!14, !15, i64 8}
!17 = !{i64 0, i64 8, !18, i64 8, i64 8, !18, i64 16, i64 4, !9}
!18 = !{!19, !19, i64 0}
!19 = !{!"double", !7, i64 0}
!20 = !{!21, !10, i64 16}
!21 = !{!"_ZTSN9benchmark7LeastSqE", !19, i64 0, !19, i64 8, !10, i64 16}
!22 = !{!21, !19, i64 8}


; 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.benchmark::LeastSq" = type <{ double, double, i32, [4 x i8] }>
%"class.benchmark::internal::CheckHandler" = type { ptr }
%"class.std::basic_string_view" = type { i64, ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<benchmark::BigO, std::allocator<benchmark::BigO>>::_Vector_impl" }
%"struct.std::_Vector_base<benchmark::BigO, std::allocator<benchmark::BigO>>::_Vector_impl" = type { %"struct.std::_Vector_base<benchmark::BigO, std::allocator<benchmark::BigO>>::_Vector_impl_data" }
%"struct.std::_Vector_base<benchmark::BigO, std::allocator<benchmark::BigO>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.20" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@.str.8 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [68 x i8], align 1
@__func__._ZN9benchmark14MinimalLeastSqERKSt6vectorIlSaIlEERKS0_IdSaIdEENS_4BigOE = external hidden unnamed_addr constant [15 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [24 x i8], align 1
@constinit = external hidden local_unnamed_addr constant [5 x i32], align 4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN9benchmark12FittingCurveENS_4BigOE(i32 noundef) local_unnamed_addr #0

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9benchmark14MinimalLeastSqERKSt6vectorIlSaIlEERKS0_IdSaIdEEPFdlE(ptr dead_on_unwind noalias writable sret(%"struct.benchmark::LeastSq") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9benchmark14MinimalLeastSqERKSt6vectorIlSaIlEERKS0_IdSaIdEENS_4BigOE(ptr dead_on_unwind noalias writable sret(%"struct.benchmark::LeastSq") align 8 %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %3) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.benchmark::internal::CheckHandler", align 8
  %6 = alloca %"class.std::basic_string_view", align 8
  %7 = alloca %"class.std::basic_string_view", align 8
  %8 = alloca %"class.std::basic_string_view", align 8
  %9 = alloca %"class.benchmark::internal::CheckHandler", align 8
  %10 = alloca %"class.std::basic_string_view", align 8
  %11 = alloca %"class.std::basic_string_view", align 8
  %12 = alloca %"class.std::basic_string_view", align 8
  %13 = alloca %"class.benchmark::internal::CheckHandler", align 8
  %14 = alloca %"class.std::basic_string_view", align 8
  %15 = alloca %"class.std::basic_string_view", align 8
  %16 = alloca %"class.std::basic_string_view", align 8
  %17 = alloca %"class.std::vector.18", align 8
  %18 = alloca [5 x i32], align 4
  %19 = alloca %"class.std::allocator.20", align 1
  %20 = alloca %"struct.benchmark::LeastSq", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %23 = alloca %"struct.benchmark::LeastSq", align 8
  %24 = alloca %"struct.benchmark::LeastSq", align 8
  %25 = tail call noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %26 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %.not = icmp eq i64 %25, %26
  br i1 %.not, label %35, label %27

27:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef @.str.8) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef @.str.9) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef @__func__._ZN9benchmark14MinimalLeastSqERKSt6vectorIlSaIlEERKS0_IdSaIdEENS_4BigOE) #7
  %28 = load i64, ptr %6, align 8
  %29 = getelementptr inbounds i8, ptr %6, i64 8
  %30 = load ptr, ptr %29, align 8
  %31 = load i64, ptr %7, align 8
  %32 = getelementptr inbounds i8, ptr %7, i64 8
  %33 = load ptr, ptr %32, align 8
  call void @_ZN9benchmark8internal12CheckHandlerC2ESt17basic_string_viewIcSt11char_traitsIcEES5_S5_i(ptr noundef nonnull align 8 dereferenceable(8) %5, i64 %28, ptr %30, i64 %31, ptr %33, ptr noundef nonnull byval(%"class.std::basic_string_view") align 8 %8, i32 noundef 125)
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internal12CheckHandler6GetLogEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @_ZN9benchmark8internal12CheckHandlerD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  unreachable

35:                                               ; preds = %4
  %36 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internal18GetNullLogInstanceEv()
  %37 = tail call noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %38 = icmp ult i64 %37, 2
  br i1 %38, label %39, label %47

39:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef @.str.10) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef @.str.9) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef @__func__._ZN9benchmark14MinimalLeastSqERKSt6vectorIlSaIlEERKS0_IdSaIdEENS_4BigOE) #7
  %40 = load i64, ptr %10, align 8
  %41 = getelementptr inbounds i8, ptr %10, i64 8
  %42 = load ptr, ptr %41, align 8
  %43 = load i64, ptr %11, align 8
  %44 = getelementptr inbounds i8, ptr %11, i64 8
  %45 = load ptr, ptr %44, align 8
  call void @_ZN9benchmark8internal12CheckHandlerC2ESt17basic_string_viewIcSt11char_traitsIcEES5_S5_i(ptr noundef nonnull align 8 dereferenceable(8) %9, i64 %40, ptr %42, i64 %43, ptr %45, ptr noundef nonnull byval(%"class.std::basic_string_view") align 8 %12, i32 noundef 126)
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internal12CheckHandler6GetLogEv(ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @_ZN9benchmark8internal12CheckHandlerD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  unreachable

47:                                               ; preds = %35
  %48 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internal18GetNullLogInstanceEv()
  %.not33 = icmp eq i32 %3, 0
  br i1 %.not33, label %49, label %57

49:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef @.str.11) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef @.str.9) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef @__func__._ZN9benchmark14MinimalLeastSqERKSt6vectorIlSaIlEERKS0_IdSaIdEENS_4BigOE) #7
  %50 = load i64, ptr %14, align 8
  %51 = getelementptr inbounds i8, ptr %14, i64 8
  %52 = load ptr, ptr %51, align 8
  %53 = load i64, ptr %15, align 8
  %54 = getelementptr inbounds i8, ptr %15, i64 8
  %55 = load ptr, ptr %54, align 8
  call void @_ZN9benchmark8internal12CheckHandlerC2ESt17basic_string_viewIcSt11char_traitsIcEES5_S5_i(ptr noundef nonnull align 8 dereferenceable(8) %13, i64 %50, ptr %52, i64 %53, ptr %55, ptr noundef nonnull byval(%"class.std::basic_string_view") align 8 %16, i32 noundef 128)
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internal12CheckHandler6GetLogEv(ptr noundef nonnull align 8 dereferenceable(8) %13)
  call void @_ZN9benchmark8internal12CheckHandlerD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  unreachable

57:                                               ; preds = %47
  %58 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internal18GetNullLogInstanceEv()
  tail call void @_ZN9benchmark7LeastSqC2Ev(ptr noundef nonnull align 8 dereferenceable(20) %0)
  %59 = icmp eq i32 %3, 7
  br i1 %59, label %60, label %91

60:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %18) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(20) %18, ptr noundef nonnull align 4 dereferenceable(20) @constinit, i64 20, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #7
  call void @_ZNSaIN9benchmark4BigOEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  invoke void @_ZNSt6vectorIN9benchmark4BigOESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr nonnull %18, i64 5, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %61 unwind label %70

61:                                               ; preds = %60
  call void @_ZNSt15__new_allocatorIN9benchmark4BigOEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #7
  %62 = call noundef ptr @_ZN9benchmark12FittingCurveENS_4BigOE(i32 noundef 1)
  invoke void @_ZN9benchmark14MinimalLeastSqERKSt6vectorIlSaIlEERKS0_IdSaIdEEPFdlE(ptr dead_on_unwind nonnull writable sret(%"struct.benchmark::LeastSq") align 8 %20, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef %62)
          to label %63 unwind label %72

63:                                               ; preds = %61
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(20) %20, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #7
  %64 = getelementptr inbounds i8, ptr %0, i64 16
  store i32 1, ptr %64, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  %65 = call ptr @_ZNSt6vectorIN9benchmark4BigOESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  store ptr %65, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #7
  %66 = call ptr @_ZNSt6vectorIN9benchmark4BigOESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  store ptr %66, ptr %22, align 8
  %67 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN9benchmark4BigOESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  br i1 %67, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %63
  %68 = getelementptr inbounds i8, ptr %23, i64 8
  %69 = getelementptr inbounds i8, ptr %0, i64 8
  br label %74

._crit_edge:                                      ; preds = %86, %63
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  call void @_ZNSt6vectorIN9benchmark4BigOESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #7
  br label %94

70:                                               ; preds = %60
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIN9benchmark4BigOEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %18) #7
  br label %90

72:                                               ; preds = %61
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #7
  br label %89

74:                                               ; preds = %.lr.ph, %86
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN9benchmark4BigOESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #7
  %76 = load i32, ptr %75, align 4, !tbaa !12
  %77 = call noundef ptr @_ZN9benchmark12FittingCurveENS_4BigOE(i32 noundef %76)
  invoke void @_ZN9benchmark14MinimalLeastSqERKSt6vectorIlSaIlEERKS0_IdSaIdEEPFdlE(ptr dead_on_unwind nonnull writable sret(%"struct.benchmark::LeastSq") align 8 %23, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef %77)
          to label %78 unwind label %84

78:                                               ; preds = %74
  %79 = load double, ptr %68, align 8, !tbaa !16
  %80 = load double, ptr %69, align 8, !tbaa !16
  %81 = fcmp olt double %79, %80
  br i1 %81, label %82, label %86

82:                                               ; preds = %78
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(20) %23, i64 20, i1 false), !tbaa.struct !9
  %83 = load i32, ptr %75, align 4, !tbaa !12
  store i32 %83, ptr %64, align 8, !tbaa !14
  br label %86

84:                                               ; preds = %74
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  br label %89

86:                                               ; preds = %82, %78
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #7
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN9benchmark4BigOESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  %88 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN9benchmark4BigOESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  br i1 %88, label %74, label %._crit_edge

89:                                               ; preds = %84, %72
  %.pn = phi { ptr, i32 } [ %85, %84 ], [ %73, %72 ]
  call void @_ZNSt6vectorIN9benchmark4BigOESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  br label %90

90:                                               ; preds = %89, %70
  %.pn.pn = phi { ptr, i32 } [ %.pn, %89 ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #7
  resume { ptr, i32 } %.pn.pn

91:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %24) #7
  %92 = tail call noundef ptr @_ZN9benchmark12FittingCurveENS_4BigOE(i32 noundef %3)
  call void @_ZN9benchmark14MinimalLeastSqERKSt6vectorIlSaIlEERKS0_IdSaIdEEPFdlE(ptr dead_on_unwind nonnull writable sret(%"struct.benchmark::LeastSq") align 8 %24, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef %92)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(20) %24, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #7
  %93 = getelementptr inbounds i8, ptr %0, i64 16
  store i32 %3, ptr %93, align 8, !tbaa !14
  br label %94

94:                                               ; preds = %91, %._crit_edge
  ret void
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9benchmark8internal18GetNullLogInstanceEv() local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9benchmark8internal12CheckHandlerC2ESt17basic_string_viewIcSt11char_traitsIcEES5_S5_i(ptr noundef nonnull align 8 dereferenceable(8), i64, ptr, i64, ptr, ptr noundef byval(%"class.std::basic_string_view") align 8, i32 noundef) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress noreturn uwtable
declare dso_local void @_ZN9benchmark8internal12CheckHandlerD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 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) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIN9benchmark4BigOEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN9benchmark4BigOESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIN9benchmark4BigOEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 noreturn 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 }
attributes #8 = { noreturn }

!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 = !{i64 0, i64 20, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i64 0, i64 8, !10, i64 8, i64 8, !10, i64 16, i64 4, !12}
!10 = !{!11, !11, i64 0}
!11 = !{!"double", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"_ZTSN9benchmark4BigOE", !7, i64 0}
!14 = !{!15, !13, i64 16}
!15 = !{!"_ZTSN9benchmark7LeastSqE", !11, i64 0, !11, i64 8, !13, i64 16}
!16 = !{!15, !11, i64 8}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass