; LLVM IR from TheAlgorithms/C-Plus-Plus :: numerical_methods/qr_eigen_values.ll (Z5test1v)

; 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"

%"class.std::basic_ostream" = type { ptr, %"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::valarray.0" = type { i64, ptr }
%"class.std::valarray" = type { i64, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::initializer_list.1" = type { ptr, i64 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@__const._Z5test1v.y = external hidden unnamed_addr constant [2 x double], align 16
@.str.6 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [97 x i8], align 1
@__PRETTY_FUNCTION__._Z5test1v = external hidden unnamed_addr constant [13 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [16 x i8], align 1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12qr_algorithm12eigen_valuesEPSt8valarrayIS0_IdEEb(ptr dead_on_unwind noalias writable sret(%"class.std::valarray.0") align 8, ptr noundef, i1 noundef zeroext) #2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) #1

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5test1v() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::valarray", align 8
  %2 = alloca %"class.std::initializer_list", align 8
  %3 = alloca [2 x %"class.std::valarray.0"], align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::initializer_list.1", align 8
  %6 = alloca [2 x double], align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::initializer_list.1", align 8
  %10 = alloca [2 x double], align 8
  %11 = alloca i1, align 1
  %12 = alloca [2 x double], align 16
  %13 = alloca %"class.std::valarray.0", align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i8, align 1
  %17 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %1) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %3) #7
  store i1 true, ptr %11, align 1
  store ptr %3, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #7
  store double 5.000000e+00, ptr %6, align 8, !tbaa !5
  %18 = getelementptr inbounds double, ptr %6, i64 1
  store double 7.000000e+00, ptr %18, align 8, !tbaa !5
  %19 = getelementptr inbounds %"class.std::initializer_list.1", ptr %5, i32 0, i32 0
  store ptr %6, ptr %19, align 8, !tbaa !9
  %20 = getelementptr inbounds %"class.std::initializer_list.1", ptr %5, i32 0, i32 1
  store i64 2, ptr %20, align 8, !tbaa !13
  %21 = getelementptr inbounds { ptr, i64 }, ptr %5, i32 0, i32 0
  %22 = load ptr, ptr %21, align 8
  %23 = getelementptr inbounds { ptr, i64 }, ptr %5, i32 0, i32 1
  %24 = load i64, ptr %23, align 8
  invoke void @_ZNSt8valarrayIdEC2ESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr %22, i64 %24)
          to label %25 unwind label %58

25:                                               ; preds = %0
  %26 = getelementptr inbounds %"class.std::valarray.0", ptr %3, i64 1
  store ptr %26, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #7
  store double 7.000000e+00, ptr %10, align 8, !tbaa !5
  %27 = getelementptr inbounds double, ptr %10, i64 1
  store double 1.100000e+01, ptr %27, align 8, !tbaa !5
  %28 = getelementptr inbounds %"class.std::initializer_list.1", ptr %9, i32 0, i32 0
  store ptr %10, ptr %28, align 8, !tbaa !9
  %29 = getelementptr inbounds %"class.std::initializer_list.1", ptr %9, i32 0, i32 1
  store i64 2, ptr %29, align 8, !tbaa !13
  %30 = getelementptr inbounds { ptr, i64 }, ptr %9, i32 0, i32 0
  %31 = load ptr, ptr %30, align 8
  %32 = getelementptr inbounds { ptr, i64 }, ptr %9, i32 0, i32 1
  %33 = load i64, ptr %32, align 8
  invoke void @_ZNSt8valarrayIdEC2ESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr %31, i64 %33)
          to label %34 unwind label %62

34:                                               ; preds = %25
  store i1 false, ptr %11, align 1
  %35 = getelementptr inbounds %"class.std::initializer_list", ptr %2, i32 0, i32 0
  store ptr %3, ptr %35, align 8, !tbaa !14
  %36 = getelementptr inbounds %"class.std::initializer_list", ptr %2, i32 0, i32 1
  store i64 2, ptr %36, align 8, !tbaa !16
  %37 = getelementptr inbounds { ptr, i64 }, ptr %2, i32 0, i32 0
  %38 = load ptr, ptr %37, align 8
  %39 = getelementptr inbounds { ptr, i64 }, ptr %2, i32 0, i32 1
  %40 = load i64, ptr %39, align 8
  invoke void @_ZNSt8valarrayIS_IdEEC2ESt16initializer_listIS0_E(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr %38, i64 %40)
          to label %41 unwind label %66

41:                                               ; preds = %34
  %42 = getelementptr inbounds [2 x %"class.std::valarray.0"], ptr %3, i32 0, i32 0
  %43 = getelementptr inbounds %"class.std::valarray.0", ptr %42, i64 2
  br label %44

44:                                               ; preds = %44, %41
  %45 = phi ptr [ %43, %41 ], [ %46, %44 ]
  %46 = getelementptr inbounds %"class.std::valarray.0", ptr %45, i64 -1
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %46) #7
  %47 = icmp eq ptr %46, %42
  br i1 %47, label %48, label %44

48:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const._Z5test1v.y, i64 16, i1 false)
  %49 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.6)
          to label %50 unwind label %89

50:                                               ; preds = %48
  %51 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %52 unwind label %89

52:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #7
  invoke void @_ZN12qr_algorithm12eigen_valuesEPSt8valarrayIS0_IdEEb(ptr dead_on_unwind writable sret(%"class.std::valarray.0") align 8 %13, ptr noundef %1, i1 noundef zeroext false)
          to label %53 unwind label %93

53:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 0, ptr %14, align 4, !tbaa !17
  br label %54

54:                                               ; preds = %167, %53
  %55 = load i32, ptr %14, align 4, !tbaa !17
  %56 = icmp slt i32 %55, 2
  br i1 %56, label %97, label %57

57:                                               ; preds = %54
  store i32 2, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %176

58:                                               ; preds = %0
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %7, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %8, align 4
  br label %78

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

66:                                               ; preds = %34
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %7, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %8, align 4
  %70 = getelementptr inbounds [2 x %"class.std::valarray.0"], ptr %3, i32 0, i32 0
  %71 = getelementptr inbounds %"class.std::valarray.0", ptr %70, i64 2
  br label %72

72:                                               ; preds = %72, %66
  %73 = phi ptr [ %71, %66 ], [ %74, %72 ]
  %74 = getelementptr inbounds %"class.std::valarray.0", ptr %73, i64 -1
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %74) #7
  %75 = icmp eq ptr %74, %70
  br i1 %75, label %76, label %72

76:                                               ; preds = %72
  br label %77

77:                                               ; preds = %76, %62
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  br label %78

78:                                               ; preds = %77, %58
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #7
  %79 = load i1, ptr %11, align 1
  br i1 %79, label %80, label %88

80:                                               ; preds = %78
  %81 = load ptr, ptr %4, align 8
  %82 = icmp eq ptr %3, %81
  br i1 %82, label %87, label %83

83:                                               ; preds = %83, %80
  %84 = phi ptr [ %81, %80 ], [ %85, %83 ]
  %85 = getelementptr inbounds %"class.std::valarray.0", ptr %84, i64 -1
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %85) #7
  %86 = icmp eq ptr %85, %3
  br i1 %86, label %87, label %83

87:                                               ; preds = %83, %80
  br label %88

88:                                               ; preds = %87, %78
  call void @llvm.lifetime.end.p0(i64 32, ptr %3) #7
  br label %186

89:                                               ; preds = %50, %48
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %7, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %8, align 4
  br label %185

93:                                               ; preds = %52
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %7, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %8, align 4
  br label %184

97:                                               ; preds = %54
  %98 = load i32, ptr %14, align 4, !tbaa !17
  %99 = add nsw i32 %98, 1
  %100 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %99)
          to label %101 unwind label %122

101:                                              ; preds = %97
  %102 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %100, ptr noundef @.str.7)
          to label %103 unwind label %122

103:                                              ; preds = %101
  %104 = load i32, ptr %14, align 4, !tbaa !17
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [2 x double], ptr %12, i64 0, i64 %105
  %107 = load double, ptr %106, align 8, !tbaa !5
  %108 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %102, double noundef %107)
          to label %109 unwind label %122

109:                                              ; preds = %103
  %110 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %108, ptr noundef @.str.8)
          to label %111 unwind label %122

111:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #7
  store i8 0, ptr %16, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 0, ptr %17, align 4, !tbaa !17
  br label %112

112:                                              ; preds = %155, %111
  %113 = load i32, ptr %17, align 4, !tbaa !17
  %114 = icmp slt i32 %113, 2
  br i1 %114, label %115, label %119

115:                                              ; preds = %112
  %116 = load i8, ptr %16, align 1, !tbaa !19, !range !21, !noundef !22
  %117 = trunc i8 %116 to i1
  %118 = xor i1 %117, true
  br label %119

119:                                              ; preds = %115, %112
  %120 = phi i1 [ false, %112 ], [ %118, %115 ]
  br i1 %120, label %126, label %121

121:                                              ; preds = %119
  store i32 5, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %158

122:                                              ; preds = %109, %103, %101, %97
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %7, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %8, align 4
  br label %175

126:                                              ; preds = %119
  %127 = load i32, ptr %14, align 4, !tbaa !17
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [2 x double], ptr %12, i64 0, i64 %128
  %130 = load double, ptr %129, align 8, !tbaa !5
  %131 = load i32, ptr %17, align 4, !tbaa !17
  %132 = sext i32 %131 to i64
  %133 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %13, i64 noundef %132) #7
  %134 = load double, ptr %133, align 8, !tbaa !5
  %135 = fsub double %130, %134
  %136 = invoke noundef double @_ZSt3absd(double noundef %135)
          to label %137 unwind label %150

137:                                              ; preds = %126
  %138 = fcmp olt double %136, 1.000000e-01
  br i1 %138, label %139, label %154

139:                                              ; preds = %137
  store i8 1, ptr %16, align 1, !tbaa !19
  %140 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.9)
          to label %141 unwind label %150

141:                                              ; preds = %139
  %142 = load i32, ptr %17, align 4, !tbaa !17
  %143 = sext i32 %142 to i64
  %144 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %13, i64 noundef %143) #7
  %145 = load double, ptr %144, align 8, !tbaa !5
  %146 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %140, double noundef %145)
          to label %147 unwind label %150

147:                                              ; preds = %141
  %148 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %146, ptr noundef @.str.10)
          to label %149 unwind label %150

149:                                              ; preds = %147
  br label %154

150:                                              ; preds = %147, %141, %139, %126
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %7, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %174

154:                                              ; preds = %149, %137
  br label %155

155:                                              ; preds = %154
  %156 = load i32, ptr %17, align 4, !tbaa !17
  %157 = add nsw i32 %156, 1
  store i32 %157, ptr %17, align 4, !tbaa !17
  br label %112, !llvm.loop !23

158:                                              ; preds = %121
  %159 = load i8, ptr %16, align 1, !tbaa !19, !range !21, !noundef !22
  %160 = trunc i8 %159 to i1
  br i1 %160, label %161, label %162

161:                                              ; preds = %158
  br label %164

162:                                              ; preds = %158
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.12, i32 noundef 193, ptr noundef @__PRETTY_FUNCTION__._Z5test1v) #8
  unreachable

163:                                              ; No predecessors!
  br label %164

164:                                              ; preds = %163, %161
  %165 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.13)
          to label %166 unwind label %170

166:                                              ; preds = %164
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  br label %167

167:                                              ; preds = %166
  %168 = load i32, ptr %14, align 4, !tbaa !17
  %169 = add nsw i32 %168, 1
  store i32 %169, ptr %14, align 4, !tbaa !17
  br label %54, !llvm.loop !25

170:                                              ; preds = %164
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %7, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %8, align 4
  br label %174

174:                                              ; preds = %170, %150
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  br label %175

175:                                              ; preds = %174, %122
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %183

176:                                              ; preds = %57
  %177 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.14)
          to label %178 unwind label %179

178:                                              ; preds = %176
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  call void @_ZNSt8valarrayIS_IdEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %1) #7
  ret void

179:                                              ; preds = %176
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %7, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %8, align 4
  br label %183

183:                                              ; preds = %179, %175
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  br label %184

184:                                              ; preds = %183, %93
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  br label %185

185:                                              ; preds = %184, %89
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  call void @_ZNSt8valarrayIS_IdEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  br label %186

186:                                              ; preds = %185, %88
  call void @llvm.lifetime.end.p0(i64 16, ptr %1) #7
  br label %187

187:                                              ; preds = %186
  %188 = load ptr, ptr %7, align 8
  %189 = load i32, ptr %8, align 4
  %190 = insertvalue { ptr, i32 } poison, ptr %188, 0
  %191 = insertvalue { ptr, i32 } %190, i32 %189, 1
  resume { ptr, i32 } %191
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt8valarrayIdEC2ESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(16), ptr, i64) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt8valarrayIS_IdEEC2ESt16initializer_listIS0_E(ptr noundef nonnull align 8 dereferenceable(16), ptr, i64) unnamed_addr #3 align 2

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

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #5

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSSt16initializer_listIdE", !11, i64 0, !12, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !12, i64 8}
!14 = !{!15, !11, i64 0}
!15 = !{!"_ZTSSt16initializer_listISt8valarrayIdEE", !11, i64 0, !12, i64 8}
!16 = !{!15, !12, i64 8}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !7, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}


; 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"

%"class.std::basic_ostream" = type { ptr, %"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::valarray.0" = type { i64, ptr }
%"class.std::valarray" = type { i64, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@__const._Z5test1v.y = external hidden unnamed_addr constant [2 x double], align 16
@.str.6 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [97 x i8], align 1
@__PRETTY_FUNCTION__._Z5test1v = external hidden unnamed_addr constant [13 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [16 x i8], align 1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12qr_algorithm12eigen_valuesEPSt8valarrayIS0_IdEEb(ptr dead_on_unwind noalias writable sret(%"class.std::valarray.0") align 8, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) local_unnamed_addr #1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5test1v() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::valarray", align 8
  %2 = alloca [2 x %"class.std::valarray.0"], align 8
  %3 = alloca [2 x double], align 16
  %4 = alloca [2 x double], align 16
  %5 = alloca %"class.std::valarray.0", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  store <2 x double> <double 5.000000e+00, double 7.000000e+00>, ptr %3, align 16, !tbaa !5
  invoke void @_ZNSt8valarrayIdEC2ESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr nonnull %3, i64 2)
          to label %6 unwind label %.thread

6:                                                ; preds = %0
  %7 = getelementptr inbounds i8, ptr %2, i64 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  store <2 x double> <double 7.000000e+00, double 1.100000e+01>, ptr %4, align 16, !tbaa !5
  invoke void @_ZNSt8valarrayIdEC2ESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr nonnull %4, i64 2)
          to label %8 unwind label %.loopexit.loopexit

8:                                                ; preds = %6
  invoke void @_ZNSt8valarrayIS_IdEEC2ESt16initializer_listIS0_E(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr nonnull %2, i64 2)
          to label %9 unwind label %.thread50

9:                                                ; preds = %8
  %10 = getelementptr inbounds i8, ptr %2, i64 16
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #6
  %11 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.6)
          to label %12 unwind label %21

12:                                               ; preds = %9
  %13 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %14 unwind label %21

14:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  invoke void @_ZN12qr_algorithm12eigen_valuesEPSt8valarrayIS0_IdEEb(ptr dead_on_unwind nonnull writable sret(%"class.std::valarray.0") align 8 %5, ptr noundef nonnull %1, i1 noundef zeroext false)
          to label %.preheader53 unwind label %23

.preheader53:                                     ; preds = %14, %57
  %indvars.iv57 = phi i64 [ %indvars.iv.next58, %57 ], [ 0, %14 ]
  %exitcond.not = icmp eq i64 %indvars.iv57, 2
  br i1 %exitcond.not, label %15, label %25

15:                                               ; preds = %.preheader53
  %16 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.14)
          to label %61 unwind label %62

.thread:                                          ; preds = %0
  %17 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  br label %.loopexit

.thread50:                                        ; preds = %8
  %18 = landingpad { ptr, i32 }
          cleanup
  %19 = getelementptr inbounds i8, ptr %2, i64 16
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  br label %.loopexit

.loopexit.loopexit:                               ; preds = %6
  %20 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #6
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %.thread50, %.thread
  %.pn.pn49 = phi { ptr, i32 } [ %17, %.thread ], [ %18, %.thread50 ], [ %20, %.loopexit.loopexit ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #6
  br label %67

21:                                               ; preds = %12, %9
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %66

23:                                               ; preds = %14
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %65

25:                                               ; preds = %.preheader53
  %indvars.iv.next58 = add nuw nsw i64 %indvars.iv57, 1
  %26 = trunc nuw nsw i64 %indvars.iv.next58 to i32
  %27 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %26)
          to label %28 unwind label %41

28:                                               ; preds = %25
  %29 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull @.str.7)
          to label %30 unwind label %41

30:                                               ; preds = %28
  %31 = getelementptr inbounds [2 x double], ptr @__const._Z5test1v.y, i64 0, i64 %indvars.iv57
  %32 = load double, ptr %31, align 8, !tbaa !5
  %33 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %29, double noundef %32)
          to label %34 unwind label %41

34:                                               ; preds = %30
  %35 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull @.str.8)
          to label %.preheader.peel unwind label %41

.preheader.peel:                                  ; preds = %34
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef 0) #6
  %37 = load double, ptr %36, align 8, !tbaa !5
  %38 = fsub double %32, %37
  %39 = call noundef double @_ZSt3absd(double noundef %38)
  %40 = fcmp olt double %39, 1.000000e-01
  br i1 %40, label %.loopexit68, label %.preheader

41:                                               ; preds = %34, %30, %28, %25
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %64

.preheader:                                       ; preds = %.preheader.peel
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef 1) #6
  %44 = load double, ptr %43, align 8, !tbaa !5
  %45 = fsub double %32, %44
  %46 = call noundef double @_ZSt3absd(double noundef %45)
  %47 = fcmp olt double %46, 1.000000e-01
  br i1 %47, label %.loopexit68, label %.thread63

.loopexit68:                                      ; preds = %.preheader, %.preheader.peel
  %indvars.iv.lcssa = phi i64 [ 0, %.preheader.peel ], [ 1, %.preheader ]
  %48 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.9)
          to label %49 unwind label %55

49:                                               ; preds = %.loopexit68
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %indvars.iv.lcssa) #6
  %51 = load double, ptr %50, align 8, !tbaa !5
  %52 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %48, double noundef %51)
          to label %53 unwind label %55

53:                                               ; preds = %49
  %54 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull @.str.10)
          to label %57 unwind label %55

55:                                               ; preds = %53, %49, %.loopexit68
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %64

.thread63:                                        ; preds = %.preheader
  call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.12, i32 noundef 193, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test1v) #7
  unreachable

57:                                               ; preds = %53
  %58 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.13)
          to label %.preheader53 unwind label %59, !llvm.loop !9

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

61:                                               ; preds = %15
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @_ZNSt8valarrayIS_IdEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %1) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #6
  ret void

62:                                               ; preds = %15
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %64

64:                                               ; preds = %41, %59, %55, %62
  %.pn38.pn.pn = phi { ptr, i32 } [ %63, %62 ], [ %42, %41 ], [ %56, %55 ], [ %60, %59 ]
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  br label %65

65:                                               ; preds = %64, %23
  %.pn38.pn.pn.pn = phi { ptr, i32 } [ %.pn38.pn.pn, %64 ], [ %24, %23 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  br label %66

66:                                               ; preds = %65, %21
  %.pn38.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn38.pn.pn.pn, %65 ], [ %22, %21 ]
  call void @_ZNSt8valarrayIS_IdEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %1) #6
  br label %67

67:                                               ; preds = %66, %.loopexit
  %.pn38.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn38.pn.pn.pn.pn, %66 ], [ %.pn.pn49, %.loopexit ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn38.pn.pn.pn.pn.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt8valarrayIdEC2ESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(16), ptr, i64) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt8valarrayIS_IdEEC2ESt16initializer_listIS0_E(ptr noundef nonnull align 8 dereferenceable(16), ptr, i64) unnamed_addr #3 align 2

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #4

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

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

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

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


; Effective O3 passes: ADCEPass,AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass