; LLVM IR from ERGO-Code/HiGHS :: src/ipm/ipx (conjugate_residuals)

; 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::valarray" = type { i64, ptr }
%"class.ipx::Timer" = type { %"class.std::chrono::time_point" }
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%"class.std::_Expr" = type { %"struct.std::__detail::_BinClos" }
%"struct.std::__detail::_BinClos" = type { %"class.std::__detail::_BinBase" }
%"class.std::__detail::_BinBase" = type { ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::_Expr.4" = type { %"struct.std::__detail::_BinClos.5" }
%"struct.std::__detail::_BinClos.5" = type { %"class.std::__detail::_BinBase1" }
%"class.std::__detail::_BinBase1" = type { double, ptr }
%"class.std::_Expr.6" = type { %"struct.std::__detail::_BinClos.7" }
%"struct.std::__detail::_BinClos.7" = type { %"class.std::__detail::_BinBase.8" }
%"class.std::__detail::_BinBase.8" = type { ptr, %"struct.std::__detail::_BinClos.5" }
%"class.ipx::ConjugateResiduals" = type { ptr, i32, i32, double }

@.str.11 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [14 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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3ipx18ConjugateResiduals5SolveERNS_14LinearOperatorERKSt8valarrayIdEdPKdiRS4_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(16) %2, double noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef nonnull align 8 dereferenceable(16) %6) #2 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca double, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::valarray", align 8
  %17 = alloca %"class.std::valarray", align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca %"class.std::valarray", align 8
  %21 = alloca %"class.std::valarray", align 8
  %22 = alloca double, align 8
  %23 = alloca %"class.ipx::Timer", align 8
  %24 = alloca %"class.std::_Expr", align 8
  %25 = alloca double, align 8
  %26 = alloca i32, align 4
  %27 = alloca double, align 8
  %28 = alloca i32, align 4
  %29 = alloca %"class.std::__cxx11::basic_string", align 8
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca double, align 8
  %32 = alloca double, align 8
  %33 = alloca %"class.std::_Expr.4", align 8
  %34 = alloca %"class.std::_Expr.4", align 8
  %35 = alloca double, align 8
  %36 = alloca double, align 8
  %37 = alloca %"class.std::_Expr.6", align 8
  %38 = alloca %"class.std::_Expr.4", align 8
  %39 = alloca %"class.std::_Expr.6", align 8
  %40 = alloca %"class.std::_Expr.4", align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store double %3, ptr %11, align 8, !tbaa !9
  store ptr %4, ptr %12, align 8, !tbaa !5
  store i32 %5, ptr %13, align 4, !tbaa !11
  store ptr %6, ptr %14, align 8, !tbaa !5
  %41 = load ptr, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %42 = load ptr, ptr %10, align 8, !tbaa !5
  %43 = call noundef i64 @_ZNKSt8valarrayIdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %42)
  %44 = trunc i64 %43 to i32
  store i32 %44, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #6
  %45 = load i32, ptr %15, align 4, !tbaa !11
  %46 = sext i32 %45 to i64
  call void @_ZNSt8valarrayIdEC2Em(ptr noundef nonnull align 8 dereferenceable(16) %16, i64 noundef %46)
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  %47 = load i32, ptr %15, align 4, !tbaa !11
  %48 = sext i32 %47 to i64
  invoke void @_ZNSt8valarrayIdEC2Em(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef %48)
          to label %49 unwind label %65

49:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #6
  %50 = load i32, ptr %15, align 4, !tbaa !11
  %51 = sext i32 %50 to i64
  invoke void @_ZNSt8valarrayIdEC2Em(ptr noundef nonnull align 8 dereferenceable(16) %20, i64 noundef %51)
          to label %52 unwind label %69

52:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #6
  %53 = load i32, ptr %15, align 4, !tbaa !11
  %54 = sext i32 %53 to i64
  invoke void @_ZNSt8valarrayIdEC2Em(ptr noundef nonnull align 8 dereferenceable(16) %21, i64 noundef %54)
          to label %55 unwind label %73

55:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  store double 0.000000e+00, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  invoke void @_ZN3ipx5TimerC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %56 unwind label %77

56:                                               ; preds = %55
  %57 = getelementptr inbounds %"class.ipx::ConjugateResiduals", ptr %41, i32 0, i32 1
  store i32 0, ptr %57, align 8, !tbaa !13
  %58 = getelementptr inbounds %"class.ipx::ConjugateResiduals", ptr %41, i32 0, i32 2
  store i32 0, ptr %58, align 4, !tbaa !15
  %59 = getelementptr inbounds %"class.ipx::ConjugateResiduals", ptr %41, i32 0, i32 3
  store double 0.000000e+00, ptr %59, align 8, !tbaa !16
  %60 = load i32, ptr %13, align 4, !tbaa !11
  %61 = icmp slt i32 %60, 0
  br i1 %61, label %62, label %81

62:                                               ; preds = %56
  %63 = load i32, ptr %15, align 4, !tbaa !11
  %64 = add nsw i32 %63, 100
  store i32 %64, ptr %13, align 4, !tbaa !11
  br label %81

65:                                               ; preds = %7
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %18, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %19, align 4
  br label %341

69:                                               ; preds = %49
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %18, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %19, align 4
  br label %340

73:                                               ; preds = %52
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %18, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %19, align 4
  br label %339

77:                                               ; preds = %334, %113, %111, %109, %90, %86, %81, %55
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %18, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %19, align 4
  br label %338

81:                                               ; preds = %62, %56
  %82 = load ptr, ptr %14, align 8, !tbaa !5
  %83 = invoke noundef double @_ZN3ipx7InfnormERKSt8valarrayIdE(ptr noundef nonnull align 8 dereferenceable(16) %82)
          to label %84 unwind label %77

84:                                               ; preds = %81
  %85 = fcmp oeq double %83, 0.000000e+00
  br i1 %85, label %86, label %90

86:                                               ; preds = %84
  %87 = load ptr, ptr %10, align 8, !tbaa !5
  %88 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %87)
          to label %89 unwind label %77

89:                                               ; preds = %86
  br label %109

90:                                               ; preds = %84
  %91 = load ptr, ptr %9, align 8, !tbaa !5
  %92 = load ptr, ptr %14, align 8, !tbaa !5
  invoke void @_ZN3ipx14LinearOperator5ApplyERKSt8valarrayIdERS2_Pd(ptr noundef nonnull align 8 dereferenceable(8) %91, ptr noundef nonnull align 8 dereferenceable(16) %92, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef null)
          to label %93 unwind label %77

93:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #6
  %94 = load ptr, ptr %10, align 8, !tbaa !5
  %95 = invoke { ptr, ptr } @_ZStmiIdESt5_ExprINSt8__detail8_BinClosISt7__minusSt9_ValArrayS4_T_S5_EENSt5__funIS3_S5_E11result_typeEERKSt8valarrayIS5_ESE_(ptr noundef nonnull align 8 dereferenceable(16) %94, ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %96 unwind label %105

96:                                               ; preds = %93
  %97 = getelementptr inbounds %"class.std::_Expr", ptr %24, i32 0, i32 0
  %98 = getelementptr inbounds %"struct.std::__detail::_BinClos", ptr %97, i32 0, i32 0
  %99 = getelementptr inbounds { ptr, ptr }, ptr %98, i32 0, i32 0
  %100 = extractvalue { ptr, ptr } %95, 0
  store ptr %100, ptr %99, align 8
  %101 = getelementptr inbounds { ptr, ptr }, ptr %98, i32 0, i32 1
  %102 = extractvalue { ptr, ptr } %95, 1
  store ptr %102, ptr %101, align 8
  %103 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSINSt8__detail8_BinClosISt7__minusSt9_ValArrayS5_ddEEEERS0_RKSt5_ExprIT_dE(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %24)
          to label %104 unwind label %105

104:                                              ; preds = %96
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  br label %109

105:                                              ; preds = %96, %93
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %18, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  br label %338

109:                                              ; preds = %104, %89
  %110 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN3ipx14LinearOperator5ApplyERKSt8valarrayIdERS2_Pd(ptr noundef nonnull align 8 dereferenceable(8) %110, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef %22)
          to label %111 unwind label %77

111:                                              ; preds = %109
  %112 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %113 unwind label %77

113:                                              ; preds = %111
  %114 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(16) %20)
          to label %115 unwind label %77

115:                                              ; preds = %113
  br label %116

116:                                              ; preds = %328, %115
  br label %117

117:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  store double 0.000000e+00, ptr %25, align 8, !tbaa !9
  %118 = load ptr, ptr %12, align 8, !tbaa !5
  %119 = icmp ne ptr %118, null
  br i1 %119, label %120, label %150

120:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  store i32 0, ptr %26, align 4, !tbaa !11
  br label %121

121:                                              ; preds = %142, %120
  %122 = load i32, ptr %26, align 4, !tbaa !11
  %123 = load i32, ptr %15, align 4, !tbaa !11
  %124 = icmp slt i32 %122, %123
  br i1 %124, label %126, label %125

125:                                              ; preds = %121
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  br label %149

126:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %127 = load ptr, ptr %12, align 8, !tbaa !5
  %128 = load i32, ptr %26, align 4, !tbaa !11
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds double, ptr %127, i64 %129
  %131 = load double, ptr %130, align 8, !tbaa !9
  %132 = load i32, ptr %26, align 4, !tbaa !11
  %133 = sext i32 %132 to i64
  %134 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %16, i64 noundef %133) #6
  %135 = load double, ptr %134, align 8, !tbaa !9
  %136 = fmul double %131, %135
  %137 = invoke noundef double @_ZSt3absd(double noundef %136)
          to label %138 unwind label %145

138:                                              ; preds = %126
  store double %137, ptr %27, align 8, !tbaa !9
  %139 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %140 unwind label %145

140:                                              ; preds = %138
  %141 = load double, ptr %139, align 8, !tbaa !9
  store double %141, ptr %25, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  br label %142

142:                                              ; preds = %140
  %143 = load i32, ptr %26, align 4, !tbaa !11
  %144 = add nsw i32 %143, 1
  store i32 %144, ptr %26, align 4, !tbaa !11
  br label %121, !llvm.loop !17

145:                                              ; preds = %138, %126
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %18, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  br label %333

149:                                              ; preds = %125
  br label %157

150:                                              ; preds = %117
  %151 = invoke noundef double @_ZN3ipx7InfnormERKSt8valarrayIdE(ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %152 unwind label %153

152:                                              ; preds = %150
  store double %151, ptr %25, align 8, !tbaa !9
  br label %157

153:                                              ; preds = %178, %176, %173, %171, %167, %150
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %18, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %19, align 4
  br label %333

157:                                              ; preds = %152, %149
  %158 = load double, ptr %25, align 8, !tbaa !9
  %159 = load double, ptr %11, align 8, !tbaa !9
  %160 = fcmp ole double %158, %159
  br i1 %160, label %161, label %162

161:                                              ; preds = %157
  store i32 3, ptr %28, align 4
  br label %326

162:                                              ; preds = %157
  %163 = getelementptr inbounds %"class.ipx::ConjugateResiduals", ptr %41, i32 0, i32 2
  %164 = load i32, ptr %163, align 4, !tbaa !15
  %165 = load i32, ptr %13, align 4, !tbaa !11
  %166 = icmp eq i32 %164, %165
  br i1 %166, label %167, label %215

167:                                              ; preds = %162
  %168 = getelementptr inbounds %"class.ipx::ConjugateResiduals", ptr %41, i32 0, i32 0
  %169 = load ptr, ptr %168, align 8, !tbaa !19
  %170 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3ipx7Control5DebugEi(ptr noundef nonnull align 8 dereferenceable(1496) %169, i32 noundef 3)
          to label %171 unwind label %153

171:                                              ; preds = %167
  %172 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %170, ptr noundef @.str.11)
          to label %173 unwind label %153

173:                                              ; preds = %171
  %174 = load i32, ptr %13, align 4, !tbaa !11
  %175 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %172, i32 noundef %174)
          to label %176 unwind label %153

176:                                              ; preds = %173
  %177 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %175, ptr noundef @.str.12)
          to label %178 unwind label %153

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

180:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 32, ptr %29) #6
  %181 = load double, ptr %25, align 8, !tbaa !9
  invoke void @_ZN3ipx4sci2B5cxx11Ed(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %29, double noundef %181)
          to label %182 unwind label %196

182:                                              ; preds = %180
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %179, ptr noundef nonnull align 8 dereferenceable(32) %29)
          to label %184 unwind label %200

184:                                              ; preds = %182
  %185 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %183, i8 noundef signext 44)
          to label %186 unwind label %200

186:                                              ; preds = %184
  %187 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %185, ptr noundef @.str.14)
          to label %188 unwind label %200

188:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #6
  %189 = load double, ptr %11, align 8, !tbaa !9
  invoke void @_ZN3ipx4sci2B5cxx11Ed(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %30, double noundef %189)
          to label %190 unwind label %204

190:                                              ; preds = %188
  %191 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %187, ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %192 unwind label %208

192:                                              ; preds = %190
  %193 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %191, i8 noundef signext 10)
          to label %194 unwind label %208

194:                                              ; preds = %192
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #6
  %195 = getelementptr inbounds %"class.ipx::ConjugateResiduals", ptr %41, i32 0, i32 1
  store i32 201, ptr %195, align 8, !tbaa !13
  store i32 3, ptr %28, align 4
  br label %326

196:                                              ; preds = %180
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %18, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %19, align 4
  br label %214

200:                                              ; preds = %186, %184, %182
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %18, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %19, align 4
  br label %213

204:                                              ; preds = %188
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %18, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %19, align 4
  br label %212

208:                                              ; preds = %192, %190
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %18, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #6
  br label %212

212:                                              ; preds = %208, %204
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #6
  br label %213

213:                                              ; preds = %212, %200
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #6
  br label %214

214:                                              ; preds = %213, %196
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #6
  br label %333

215:                                              ; preds = %162
  %216 = load double, ptr %22, align 8, !tbaa !9
  %217 = fcmp ole double %216, 0.000000e+00
  br i1 %217, label %218, label %220

218:                                              ; preds = %215
  %219 = getelementptr inbounds %"class.ipx::ConjugateResiduals", ptr %41, i32 0, i32 1
  store i32 202, ptr %219, align 8, !tbaa !13
  store i32 3, ptr %28, align 4
  br label %326

220:                                              ; preds = %215
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %221 = invoke noundef double @_ZN3ipx3DotERKSt8valarrayIdES3_(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %222 unwind label %231

222:                                              ; preds = %220
  store double %221, ptr %31, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %223 = load double, ptr %22, align 8, !tbaa !9
  %224 = load double, ptr %31, align 8, !tbaa !9
  %225 = fdiv double %223, %224
  store double %225, ptr %32, align 8, !tbaa !9
  %226 = load double, ptr %32, align 8, !tbaa !9
  %227 = invoke noundef zeroext i1 @_ZSt8isfinited(double noundef %226)
          to label %228 unwind label %235

228:                                              ; preds = %222
  br i1 %227, label %239, label %229

229:                                              ; preds = %228
  %230 = getelementptr inbounds %"class.ipx::ConjugateResiduals", ptr %41, i32 0, i32 1
  store i32 205, ptr %230, align 8, !tbaa !13
  store i32 3, ptr %28, align 4
  br label %325

231:                                              ; preds = %220
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %18, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %19, align 4
  br label %332

235:                                              ; preds = %222
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %18, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %19, align 4
  br label %331

239:                                              ; preds = %228
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #6
  %240 = invoke { double, ptr } @_ZStmlIdESt5_ExprINSt8__detail8_BinClosISt12__multipliesSt9_ConstantSt9_ValArrayT_S6_EENSt5__funIS3_S6_E11result_typeEERKNSt8valarrayIS6_E10value_typeERKSD_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %241 unwind label %299

241:                                              ; preds = %239
  %242 = getelementptr inbounds %"class.std::_Expr.4", ptr %33, i32 0, i32 0
  %243 = getelementptr inbounds %"struct.std::__detail::_BinClos.5", ptr %242, i32 0, i32 0
  %244 = getelementptr inbounds { double, ptr }, ptr %243, i32 0, i32 0
  %245 = extractvalue { double, ptr } %240, 0
  store double %245, ptr %244, align 8
  %246 = getelementptr inbounds { double, ptr }, ptr %243, i32 0, i32 1
  %247 = extractvalue { double, ptr } %240, 1
  store ptr %247, ptr %246, align 8
  %248 = load ptr, ptr %14, align 8, !tbaa !5
  %249 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEpLINSt8__detail8_BinClosISt12__multipliesSt9_ConstantSt9_ValArrayddEEEERS0_RKSt5_ExprIT_dE(ptr noundef nonnull align 8 dereferenceable(16) %248, ptr noundef nonnull align 8 dereferenceable(16) %33)
          to label %250 unwind label %299

250:                                              ; preds = %241
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #6
  %251 = invoke { double, ptr } @_ZStmlIdESt5_ExprINSt8__detail8_BinClosISt12__multipliesSt9_ConstantSt9_ValArrayT_S6_EENSt5__funIS3_S6_E11result_typeEERKNSt8valarrayIS6_E10value_typeERKSD_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %252 unwind label %303

252:                                              ; preds = %250
  %253 = getelementptr inbounds %"class.std::_Expr.4", ptr %34, i32 0, i32 0
  %254 = getelementptr inbounds %"struct.std::__detail::_BinClos.5", ptr %253, i32 0, i32 0
  %255 = getelementptr inbounds { double, ptr }, ptr %254, i32 0, i32 0
  %256 = extractvalue { double, ptr } %251, 0
  store double %256, ptr %255, align 8
  %257 = getelementptr inbounds { double, ptr }, ptr %254, i32 0, i32 1
  %258 = extractvalue { double, ptr } %251, 1
  store ptr %258, ptr %257, align 8
  %259 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEmIINSt8__detail8_BinClosISt12__multipliesSt9_ConstantSt9_ValArrayddEEEERS0_RKSt5_ExprIT_dE(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %34)
          to label %260 unwind label %303

260:                                              ; preds = %252
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  %261 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN3ipx14LinearOperator5ApplyERKSt8valarrayIdERS2_Pd(ptr noundef nonnull align 8 dereferenceable(8) %261, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef %35)
          to label %262 unwind label %307

262:                                              ; preds = %260
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  %263 = load double, ptr %35, align 8, !tbaa !9
  %264 = load double, ptr %22, align 8, !tbaa !9
  %265 = fdiv double %263, %264
  store double %265, ptr %36, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %37) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #6
  %266 = invoke { double, ptr } @_ZStmlIdESt5_ExprINSt8__detail8_BinClosISt12__multipliesSt9_ConstantSt9_ValArrayT_S6_EENSt5__funIS3_S6_E11result_typeEERKNSt8valarrayIS6_E10value_typeERKSD_(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %267 unwind label %311

267:                                              ; preds = %262
  %268 = getelementptr inbounds %"class.std::_Expr.4", ptr %38, i32 0, i32 0
  %269 = getelementptr inbounds %"struct.std::__detail::_BinClos.5", ptr %268, i32 0, i32 0
  %270 = getelementptr inbounds { double, ptr }, ptr %269, i32 0, i32 0
  %271 = extractvalue { double, ptr } %266, 0
  store double %271, ptr %270, align 8
  %272 = getelementptr inbounds { double, ptr }, ptr %269, i32 0, i32 1
  %273 = extractvalue { double, ptr } %266, 1
  store ptr %273, ptr %272, align 8
  invoke void @_ZStplINSt8__detail8_BinClosISt12__multipliesSt9_ConstantSt9_ValArrayddEEESt5_ExprINS1_ISt6__plusS4_S6_NT_10value_typeES8_EENSt5__funIS7_S9_E11result_typeEERKSt8valarrayIS9_ERKS6_IS8_S9_E(ptr dead_on_unwind writable sret(%"class.std::_Expr.6") align 8 %37, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %38)
          to label %274 unwind label %311

274:                                              ; preds = %267
  %275 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSINSt8__detail8_BinClosISt6__plusSt9_ValArraySt5_ExprdNS3_ISt12__multipliesSt9_ConstantS5_ddEEEEEERS0_RKS6_IT_dE(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(24) %37)
          to label %276 unwind label %311

276:                                              ; preds = %274
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %39) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #6
  %277 = invoke { double, ptr } @_ZStmlIdESt5_ExprINSt8__detail8_BinClosISt12__multipliesSt9_ConstantSt9_ValArrayT_S6_EENSt5__funIS3_S6_E11result_typeEERKNSt8valarrayIS6_E10value_typeERKSD_(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %278 unwind label %315

278:                                              ; preds = %276
  %279 = getelementptr inbounds %"class.std::_Expr.4", ptr %40, i32 0, i32 0
  %280 = getelementptr inbounds %"struct.std::__detail::_BinClos.5", ptr %279, i32 0, i32 0
  %281 = getelementptr inbounds { double, ptr }, ptr %280, i32 0, i32 0
  %282 = extractvalue { double, ptr } %277, 0
  store double %282, ptr %281, align 8
  %283 = getelementptr inbounds { double, ptr }, ptr %280, i32 0, i32 1
  %284 = extractvalue { double, ptr } %277, 1
  store ptr %284, ptr %283, align 8
  invoke void @_ZStplINSt8__detail8_BinClosISt12__multipliesSt9_ConstantSt9_ValArrayddEEESt5_ExprINS1_ISt6__plusS4_S6_NT_10value_typeES8_EENSt5__funIS7_S9_E11result_typeEERKSt8valarrayIS9_ERKS6_IS8_S9_E(ptr dead_on_unwind writable sret(%"class.std::_Expr.6") align 8 %39, ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(16) %40)
          to label %285 unwind label %315

285:                                              ; preds = %278
  %286 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSINSt8__detail8_BinClosISt6__plusSt9_ValArraySt5_ExprdNS3_ISt12__multipliesSt9_ConstantS5_ddEEEEEERS0_RKS6_IT_dE(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(24) %39)
          to label %287 unwind label %315

287:                                              ; preds = %285
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #6
  %288 = load double, ptr %35, align 8, !tbaa !9
  store double %288, ptr %22, align 8, !tbaa !9
  %289 = getelementptr inbounds %"class.ipx::ConjugateResiduals", ptr %41, i32 0, i32 2
  %290 = load i32, ptr %289, align 4, !tbaa !15
  %291 = add nsw i32 %290, 1
  store i32 %291, ptr %289, align 4, !tbaa !15
  %292 = getelementptr inbounds %"class.ipx::ConjugateResiduals", ptr %41, i32 0, i32 0
  %293 = load ptr, ptr %292, align 8, !tbaa !19
  %294 = invoke noundef i32 @_ZNK3ipx7Control14InterruptCheckEi(ptr noundef nonnull align 8 dereferenceable(1496) %293, i32 noundef -1)
          to label %295 unwind label %319

295:                                              ; preds = %287
  %296 = getelementptr inbounds %"class.ipx::ConjugateResiduals", ptr %41, i32 0, i32 1
  store i32 %294, ptr %296, align 8, !tbaa !13
  %297 = icmp ne i32 %294, 0
  br i1 %297, label %298, label %323

298:                                              ; preds = %295
  store i32 3, ptr %28, align 4
  br label %324

299:                                              ; preds = %241, %239
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %18, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #6
  br label %331

303:                                              ; preds = %252, %250
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %18, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #6
  br label %331

307:                                              ; preds = %260
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %18, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %19, align 4
  br label %330

311:                                              ; preds = %274, %267, %262
  %312 = landingpad { ptr, i32 }
          cleanup
  %313 = extractvalue { ptr, i32 } %312, 0
  store ptr %313, ptr %18, align 8
  %314 = extractvalue { ptr, i32 } %312, 1
  store i32 %314, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #6
  br label %329

315:                                              ; preds = %285, %278, %276
  %316 = landingpad { ptr, i32 }
          cleanup
  %317 = extractvalue { ptr, i32 } %316, 0
  store ptr %317, ptr %18, align 8
  %318 = extractvalue { ptr, i32 } %316, 1
  store i32 %318, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #6
  br label %329

319:                                              ; preds = %287
  %320 = landingpad { ptr, i32 }
          cleanup
  %321 = extractvalue { ptr, i32 } %320, 0
  store ptr %321, ptr %18, align 8
  %322 = extractvalue { ptr, i32 } %320, 1
  store i32 %322, ptr %19, align 4
  br label %329

323:                                              ; preds = %295
  store i32 0, ptr %28, align 4
  br label %324

324:                                              ; preds = %323, %298
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  br label %325

325:                                              ; preds = %324, %229
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  br label %326

326:                                              ; preds = %325, %218, %194, %161
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  %327 = load i32, ptr %28, align 4
  switch i32 %327, label %347 [
    i32 0, label %328
    i32 3, label %334
  ]

328:                                              ; preds = %326
  br label %116, !llvm.loop !20

329:                                              ; preds = %319, %315, %311
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  br label %330

330:                                              ; preds = %329, %307
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  br label %331

331:                                              ; preds = %330, %303, %299, %235
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  br label %332

332:                                              ; preds = %331, %231
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  br label %333

333:                                              ; preds = %332, %214, %153, %145
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br label %338

334:                                              ; preds = %326
  %335 = invoke noundef double @_ZNK3ipx5Timer7ElapsedEv(ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %336 unwind label %77

336:                                              ; preds = %334
  %337 = getelementptr inbounds %"class.ipx::ConjugateResiduals", ptr %41, i32 0, i32 3
  store double %335, ptr %337, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  ret void

338:                                              ; preds = %333, %105, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #6
  br label %339

339:                                              ; preds = %338, %73
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #6
  br label %340

340:                                              ; preds = %339, %69
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #6
  br label %341

341:                                              ; preds = %340, %65
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %342

342:                                              ; preds = %341
  %343 = load ptr, ptr %18, align 8
  %344 = load i32, ptr %19, align 4
  %345 = insertvalue { ptr, i32 } poison, ptr %343, 0
  %346 = insertvalue { ptr, i32 } %345, i32 %344, 1
  resume { ptr, i32 } %346

347:                                              ; preds = %326
  unreachable
}

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

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

declare void @_ZN3ipx5TimerC1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5

declare noundef double @_ZN3ipx7InfnormERKSt8valarrayIdE(ptr noundef nonnull align 8 dereferenceable(16)) #5

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

declare void @_ZN3ipx14LinearOperator5ApplyERKSt8valarrayIdERS2_Pd(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { ptr, ptr } @_ZStmiIdESt5_ExprINSt8__detail8_BinClosISt7__minusSt9_ValArrayS4_T_S5_EENSt5__funIS3_S5_E11result_typeEERKSt8valarrayIS5_ESE_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #4

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #4

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3ipx4sci2B5cxx11Ed(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, double noundef) #4

declare noundef double @_ZN3ipx3DotERKSt8valarrayIdES3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt8isfinited(double noundef) #1

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplINSt8__detail8_BinClosISt12__multipliesSt9_ConstantSt9_ValArrayddEEESt5_ExprINS1_ISt6__plusS4_S6_NT_10value_typeES8_EENSt5__funIS7_S9_E11result_typeEERKSt8valarrayIS9_ERKS6_IS8_S9_E(ptr dead_on_unwind noalias writable sret(%"class.std::_Expr.6") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSINSt8__detail8_BinClosISt6__plusSt9_ValArraySt5_ExprdNS3_ISt12__multipliesSt9_ConstantS5_ddEEEEEERS0_RKS6_IT_dE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

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

declare noundef double @_ZNK3ipx5Timer7ElapsedEv(ptr noundef nonnull align 8 dereferenceable(8)) #5

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

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

!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 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 8}
!14 = !{!"_ZTSN3ipx18ConjugateResidualsE", !6, i64 0, !12, i64 8, !12, i64 12, !10, i64 16}
!15 = !{!14, !12, i64 12}
!16 = !{!14, !10, i64 16}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!14, !6, i64 0}
!20 = distinct !{!20, !18}


; 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::valarray" = type { i64, ptr }
%"class.ipx::Timer" = type { %"class.std::chrono::time_point" }
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%"class.std::_Expr" = type { %"struct.std::__detail::_BinClos" }
%"struct.std::__detail::_BinClos" = type { %"class.std::__detail::_BinBase" }
%"class.std::__detail::_BinBase" = type { ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::_Expr.4" = type { %"struct.std::__detail::_BinClos.5" }
%"struct.std::__detail::_BinClos.5" = type { %"class.std::__detail::_BinBase1" }
%"class.std::__detail::_BinBase1" = type { double, ptr }
%"class.std::_Expr.6" = type { %"struct.std::__detail::_BinClos.7" }
%"struct.std::__detail::_BinClos.7" = type { %"class.std::__detail::_BinBase.8" }
%"class.std::__detail::_BinBase.8" = type { ptr, %"struct.std::__detail::_BinClos.5" }

@.str.11 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [14 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

declare i32 @__gxx_personality_v0(...)

; 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 nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3ipx18ConjugateResiduals5SolveERNS_14LinearOperatorERKSt8valarrayIdEdPKdiRS4_(ptr nocapture noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(16) %2, double noundef %3, ptr noundef readonly %4, i32 noundef %5, ptr noundef nonnull align 8 dereferenceable(16) %6) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"class.std::valarray", align 8
  %9 = alloca %"class.std::valarray", align 8
  %10 = alloca %"class.std::valarray", align 8
  %11 = alloca %"class.std::valarray", align 8
  %12 = alloca double, align 8
  %13 = alloca %"class.ipx::Timer", align 8
  %14 = alloca %"class.std::_Expr", align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca double, align 8
  %20 = alloca %"class.std::_Expr.4", align 8
  %21 = alloca %"class.std::_Expr.4", align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca %"class.std::_Expr.6", align 8
  %25 = alloca %"class.std::_Expr.4", align 8
  %26 = alloca %"class.std::_Expr.6", align 8
  %27 = alloca %"class.std::_Expr.4", align 8
  %28 = tail call noundef i64 @_ZNKSt8valarrayIdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  %29 = trunc i64 %28 to i32
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  %sext = shl i64 %28, 32
  %30 = ashr exact i64 %sext, 32
  call void @_ZNSt8valarrayIdEC2Em(ptr noundef nonnull align 8 dereferenceable(16) %8, i64 noundef %30)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #7
  invoke void @_ZNSt8valarrayIdEC2Em(ptr noundef nonnull align 8 dereferenceable(16) %9, i64 noundef %30)
          to label %31 unwind label %40

31:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #7
  invoke void @_ZNSt8valarrayIdEC2Em(ptr noundef nonnull align 8 dereferenceable(16) %10, i64 noundef %30)
          to label %32 unwind label %42

32:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #7
  invoke void @_ZNSt8valarrayIdEC2Em(ptr noundef nonnull align 8 dereferenceable(16) %11, i64 noundef %30)
          to label %33 unwind label %44

33:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  store double 0.000000e+00, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  invoke void @_ZN3ipx5TimerC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %34 unwind label %46

34:                                               ; preds = %33
  %35 = getelementptr inbounds i8, ptr %0, i64 8
  %36 = getelementptr inbounds i8, ptr %0, i64 12
  %37 = icmp slt i32 %5, 0
  %38 = add nsw i32 %29, 100
  %spec.select = select i1 %37, i32 %38, i32 %5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %35, i8 0, i64 16, i1 false)
  %39 = invoke noundef double @_ZN3ipx7InfnormERKSt8valarrayIdE(ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %48 unwind label %46

40:                                               ; preds = %7
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %199

42:                                               ; preds = %31
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %198

44:                                               ; preds = %32
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %197

46:                                               ; preds = %192, %66, %64, %63, %52, %50, %34, %33
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %196

48:                                               ; preds = %34
  %49 = fcmp oeq double %39, 0.000000e+00
  br i1 %49, label %50, label %52

50:                                               ; preds = %48
  %51 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %63 unwind label %46

52:                                               ; preds = %48
  invoke void @_ZN3ipx14LinearOperator5ApplyERKSt8valarrayIdERS2_Pd(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef null)
          to label %53 unwind label %46

53:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #7
  %54 = invoke { ptr, ptr } @_ZStmiIdESt5_ExprINSt8__detail8_BinClosISt7__minusSt9_ValArrayS4_T_S5_EENSt5__funIS3_S5_E11result_typeEERKSt8valarrayIS5_ESE_(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %55 unwind label %61

55:                                               ; preds = %53
  %56 = extractvalue { ptr, ptr } %54, 0
  store ptr %56, ptr %14, align 8
  %57 = getelementptr inbounds i8, ptr %14, i64 8
  %58 = extractvalue { ptr, ptr } %54, 1
  store ptr %58, ptr %57, align 8
  %59 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSINSt8__detail8_BinClosISt7__minusSt9_ValArrayS5_ddEEEERS0_RKSt5_ExprIT_dE(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %60 unwind label %61

60:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #7
  br label %63

61:                                               ; preds = %55, %53
  %62 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #7
  br label %196

63:                                               ; preds = %50, %60
  invoke void @_ZN3ipx14LinearOperator5ApplyERKSt8valarrayIdERS2_Pd(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull %12)
          to label %64 unwind label %46

64:                                               ; preds = %63
  %65 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %66 unwind label %46

66:                                               ; preds = %64
  %67 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %.preheader71 unwind label %46

.preheader71:                                     ; preds = %66
  %.not = icmp eq ptr %4, null
  %68 = icmp sgt i32 %29, 0
  %69 = getelementptr inbounds i8, ptr %20, i64 8
  %70 = getelementptr inbounds i8, ptr %21, i64 8
  %71 = getelementptr inbounds i8, ptr %25, i64 8
  %72 = getelementptr inbounds i8, ptr %27, i64 8
  %wide.trip.count = and i64 %28, 2147483647
  br label %73

73:                                               ; preds = %.preheader71, %187
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  store double 0.000000e+00, ptr %15, align 8, !tbaa !5
  br i1 %.not, label %82, label %.preheader

.preheader:                                       ; preds = %73
  br i1 %68, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %.preheader, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  %74 = getelementptr inbounds double, ptr %4, i64 %indvars.iv
  %75 = load double, ptr %74, align 8, !tbaa !5
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %8, i64 noundef %indvars.iv) #7
  %77 = load double, ptr %76, align 8, !tbaa !5
  %78 = fmul double %75, %77
  %79 = call noundef double @_ZSt3absd(double noundef %78)
  store double %79, ptr %16, align 8, !tbaa !5
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16)
  %81 = load double, ptr %80, align 8, !tbaa !5
  store double %81, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph, !llvm.loop !9

82:                                               ; preds = %73
  %83 = invoke noundef double @_ZN3ipx7InfnormERKSt8valarrayIdE(ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %84 unwind label %.loopexit72

84:                                               ; preds = %82
  store double %83, ptr %15, align 8, !tbaa !5
  br label %.loopexit

.loopexit72:                                      ; preds = %82
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %191

.loopexit.split-lp:                               ; preds = %90, %93, %95, %97, %99
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %191

.loopexit:                                        ; preds = %.lr.ph, %.preheader, %84
  %85 = phi double [ 0.000000e+00, %.preheader ], [ %83, %84 ], [ %81, %.lr.ph ]
  %86 = fcmp ugt double %85, %3
  br i1 %86, label %87, label %.thread

87:                                               ; preds = %.loopexit
  %88 = load i32, ptr %36, align 4, !tbaa !11
  %89 = icmp eq i32 %88, %spec.select
  br i1 %89, label %90, label %126

90:                                               ; preds = %87
  %91 = load ptr, ptr %0, align 8, !tbaa !15
  %92 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3ipx7Control5DebugEi(ptr noundef nonnull align 8 dereferenceable(1496) %91, i32 noundef 3)
          to label %93 unwind label %.loopexit.split-lp

93:                                               ; preds = %90
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %92, ptr noundef nonnull @.str.11)
          to label %95 unwind label %.loopexit.split-lp

95:                                               ; preds = %93
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %94, i32 noundef %spec.select)
          to label %97 unwind label %.loopexit.split-lp

97:                                               ; preds = %95
  %98 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %96, ptr noundef nonnull @.str.12)
          to label %99 unwind label %.loopexit.split-lp

99:                                               ; preds = %97
  %100 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %98, ptr noundef nonnull @.str.13)
          to label %101 unwind label %.loopexit.split-lp

101:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #7
  %102 = load double, ptr %15, align 8, !tbaa !5
  invoke void @_ZN3ipx4sci2B5cxx11Ed(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %17, double noundef %102)
          to label %103 unwind label %115

103:                                              ; preds = %101
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %100, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %105 unwind label %117

105:                                              ; preds = %103
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %104, i8 noundef signext 44)
          to label %107 unwind label %117

107:                                              ; preds = %105
  %108 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %106, ptr noundef nonnull @.str.14)
          to label %109 unwind label %117

109:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #7
  invoke void @_ZN3ipx4sci2B5cxx11Ed(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %18, double noundef %3)
          to label %110 unwind label %119

110:                                              ; preds = %109
  %111 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %108, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %112 unwind label %121

112:                                              ; preds = %110
  %113 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %111, i8 noundef signext 10)
          to label %114 unwind label %121

114:                                              ; preds = %112
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #7
  br label %.thread.sink.split

115:                                              ; preds = %101
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %125

117:                                              ; preds = %107, %105, %103
  %118 = landingpad { ptr, i32 }
          cleanup
  br label %124

119:                                              ; preds = %109
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %123

121:                                              ; preds = %112, %110
  %122 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  br label %123

123:                                              ; preds = %121, %119
  %.pn55 = phi { ptr, i32 } [ %122, %121 ], [ %120, %119 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #7
  br label %124

124:                                              ; preds = %123, %117
  %.pn55.pn = phi { ptr, i32 } [ %.pn55, %123 ], [ %118, %117 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  br label %125

125:                                              ; preds = %124, %115
  %.pn55.pn.pn = phi { ptr, i32 } [ %.pn55.pn, %124 ], [ %116, %115 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #7
  br label %191

126:                                              ; preds = %87
  %127 = load double, ptr %12, align 8, !tbaa !5
  %128 = fcmp ugt double %127, 0.000000e+00
  br i1 %128, label %129, label %.thread.sink.split

129:                                              ; preds = %126
  %130 = invoke noundef double @_ZN3ipx3DotERKSt8valarrayIdES3_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %131 unwind label %136

131:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  %132 = load double, ptr %12, align 8, !tbaa !5
  %133 = fdiv double %132, %130
  store double %133, ptr %19, align 8, !tbaa !5
  %134 = call noundef zeroext i1 @_ZSt8isfinited(double noundef %133)
  br i1 %134, label %138, label %135

135:                                              ; preds = %131
  store i32 205, ptr %35, align 8, !tbaa !16
  br label %.thread68

136:                                              ; preds = %129
  %137 = landingpad { ptr, i32 }
          cleanup
  br label %191

138:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #7
  %139 = invoke { double, ptr } @_ZStmlIdESt5_ExprINSt8__detail8_BinClosISt12__multipliesSt9_ConstantSt9_ValArrayT_S6_EENSt5__funIS3_S6_E11result_typeEERKNSt8valarrayIS6_E10value_typeERKSD_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %140 unwind label %175

140:                                              ; preds = %138
  %141 = extractvalue { double, ptr } %139, 0
  store double %141, ptr %20, align 8
  %142 = extractvalue { double, ptr } %139, 1
  store ptr %142, ptr %69, align 8
  %143 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEpLINSt8__detail8_BinClosISt12__multipliesSt9_ConstantSt9_ValArrayddEEEERS0_RKSt5_ExprIT_dE(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %20)
          to label %144 unwind label %175

144:                                              ; preds = %140
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #7
  %145 = invoke { double, ptr } @_ZStmlIdESt5_ExprINSt8__detail8_BinClosISt12__multipliesSt9_ConstantSt9_ValArrayT_S6_EENSt5__funIS3_S6_E11result_typeEERKNSt8valarrayIS6_E10value_typeERKSD_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %146 unwind label %177

146:                                              ; preds = %144
  %147 = extractvalue { double, ptr } %145, 0
  store double %147, ptr %21, align 8
  %148 = extractvalue { double, ptr } %145, 1
  store ptr %148, ptr %70, align 8
  %149 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEmIINSt8__detail8_BinClosISt12__multipliesSt9_ConstantSt9_ValArrayddEEEERS0_RKSt5_ExprIT_dE(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %150 unwind label %177

150:                                              ; preds = %146
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #7
  invoke void @_ZN3ipx14LinearOperator5ApplyERKSt8valarrayIdERS2_Pd(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull %22)
          to label %151 unwind label %179

151:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #7
  %152 = load double, ptr %22, align 8, !tbaa !5
  %153 = load double, ptr %12, align 8, !tbaa !5
  %154 = fdiv double %152, %153
  store double %154, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #7
  %155 = invoke { double, ptr } @_ZStmlIdESt5_ExprINSt8__detail8_BinClosISt12__multipliesSt9_ConstantSt9_ValArrayT_S6_EENSt5__funIS3_S6_E11result_typeEERKNSt8valarrayIS6_E10value_typeERKSD_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %156 unwind label %181

156:                                              ; preds = %151
  %157 = extractvalue { double, ptr } %155, 0
  store double %157, ptr %25, align 8
  %158 = extractvalue { double, ptr } %155, 1
  store ptr %158, ptr %71, align 8
  invoke void @_ZStplINSt8__detail8_BinClosISt12__multipliesSt9_ConstantSt9_ValArrayddEEESt5_ExprINS1_ISt6__plusS4_S6_NT_10value_typeES8_EENSt5__funIS7_S9_E11result_typeEERKSt8valarrayIS9_ERKS6_IS8_S9_E(ptr dead_on_unwind nonnull writable sret(%"class.std::_Expr.6") align 8 %24, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %159 unwind label %181

159:                                              ; preds = %156
  %160 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSINSt8__detail8_BinClosISt6__plusSt9_ValArraySt5_ExprdNS3_ISt12__multipliesSt9_ConstantS5_ddEEEEEERS0_RKS6_IT_dE(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(24) %24)
          to label %161 unwind label %181

161:                                              ; preds = %159
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %26) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #7
  %162 = invoke { double, ptr } @_ZStmlIdESt5_ExprINSt8__detail8_BinClosISt12__multipliesSt9_ConstantSt9_ValArrayT_S6_EENSt5__funIS3_S6_E11result_typeEERKNSt8valarrayIS6_E10value_typeERKSD_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %163 unwind label %183

163:                                              ; preds = %161
  %164 = extractvalue { double, ptr } %162, 0
  store double %164, ptr %27, align 8
  %165 = extractvalue { double, ptr } %162, 1
  store ptr %165, ptr %72, align 8
  invoke void @_ZStplINSt8__detail8_BinClosISt12__multipliesSt9_ConstantSt9_ValArrayddEEESt5_ExprINS1_ISt6__plusS4_S6_NT_10value_typeES8_EENSt5__funIS7_S9_E11result_typeEERKSt8valarrayIS9_ERKS6_IS8_S9_E(ptr dead_on_unwind nonnull writable sret(%"class.std::_Expr.6") align 8 %26, ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %27)
          to label %166 unwind label %183

166:                                              ; preds = %163
  %167 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSINSt8__detail8_BinClosISt6__plusSt9_ValArraySt5_ExprdNS3_ISt12__multipliesSt9_ConstantS5_ddEEEEEERS0_RKS6_IT_dE(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %168 unwind label %183

168:                                              ; preds = %166
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %26) #7
  %169 = load double, ptr %22, align 8, !tbaa !5
  store double %169, ptr %12, align 8, !tbaa !5
  %170 = load i32, ptr %36, align 4, !tbaa !11
  %171 = add nsw i32 %170, 1
  store i32 %171, ptr %36, align 4, !tbaa !11
  %172 = load ptr, ptr %0, align 8, !tbaa !15
  %173 = invoke noundef i32 @_ZNK3ipx7Control14InterruptCheckEi(ptr noundef nonnull align 8 dereferenceable(1496) %172, i32 noundef -1)
          to label %174 unwind label %185

174:                                              ; preds = %168
  store i32 %173, ptr %35, align 8, !tbaa !16
  %.not54 = icmp eq i32 %173, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  br i1 %.not54, label %187, label %.thread68

175:                                              ; preds = %140, %138
  %176 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #7
  br label %190

177:                                              ; preds = %146, %144
  %178 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #7
  br label %190

179:                                              ; preds = %150
  %180 = landingpad { ptr, i32 }
          cleanup
  br label %189

181:                                              ; preds = %159, %156, %151
  %182 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #7
  br label %188

183:                                              ; preds = %166, %163, %161
  %184 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %26) #7
  br label %188

185:                                              ; preds = %168
  %186 = landingpad { ptr, i32 }
          cleanup
  br label %188

.thread.sink.split:                               ; preds = %126, %114
  %.sink = phi i32 [ 201, %114 ], [ 202, %126 ]
  store i32 %.sink, ptr %35, align 8, !tbaa !16
  br label %.thread

.thread:                                          ; preds = %.loopexit, %.thread.sink.split
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  br label %192

.thread68:                                        ; preds = %174, %135
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  br label %192

187:                                              ; preds = %174
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  br label %73

188:                                              ; preds = %185, %183, %181
  %.pn = phi { ptr, i32 } [ %186, %185 ], [ %184, %183 ], [ %182, %181 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  br label %189

189:                                              ; preds = %188, %179
  %.pn.pn = phi { ptr, i32 } [ %.pn, %188 ], [ %180, %179 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  br label %190

190:                                              ; preds = %189, %177, %175
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %189 ], [ %178, %177 ], [ %176, %175 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  br label %191

191:                                              ; preds = %.loopexit72, %.loopexit.split-lp, %136, %190, %125
  %.pn55.pn.pn.pn = phi { ptr, i32 } [ %.pn55.pn.pn, %125 ], [ %.pn.pn.pn, %190 ], [ %137, %136 ], [ %lpad.loopexit, %.loopexit72 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  br label %196

192:                                              ; preds = %.thread68, %.thread
  %193 = invoke noundef double @_ZNK3ipx5Timer7ElapsedEv(ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %194 unwind label %46

194:                                              ; preds = %192
  %195 = getelementptr inbounds i8, ptr %0, i64 16
  store double %193, ptr %195, align 8, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  ret void

196:                                              ; preds = %191, %61, %46
  %.pn60 = phi { ptr, i32 } [ %47, %46 ], [ %.pn55.pn.pn.pn, %191 ], [ %62, %61 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  br label %197

197:                                              ; preds = %196, %44
  %.pn60.pn = phi { ptr, i32 } [ %.pn60, %196 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  br label %198

198:                                              ; preds = %197, %42
  %.pn60.pn.pn = phi { ptr, i32 } [ %.pn60.pn, %197 ], [ %43, %42 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  br label %199

199:                                              ; preds = %198, %40
  %.pn60.pn.pn.pn = phi { ptr, i32 } [ %.pn60.pn.pn, %198 ], [ %41, %40 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  resume { ptr, i32 } %.pn60.pn.pn.pn
}

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

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

declare void @_ZN3ipx5TimerC1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5

declare noundef double @_ZN3ipx7InfnormERKSt8valarrayIdE(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5

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

declare void @_ZN3ipx14LinearOperator5ApplyERKSt8valarrayIdERS2_Pd(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #5

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

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

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

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3ipx7Control5DebugEi(ptr noundef nonnull align 8 dereferenceable(1496), i32 noundef) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3ipx4sci2B5cxx11Ed(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, double noundef) local_unnamed_addr #4

declare noundef double @_ZN3ipx3DotERKSt8valarrayIdES3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt8isfinited(double noundef) local_unnamed_addr #1

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplINSt8__detail8_BinClosISt12__multipliesSt9_ConstantSt9_ValArrayddEEESt5_ExprINS1_ISt6__plusS4_S6_NT_10value_typeES8_EENSt5__funIS7_S9_E11result_typeEERKSt8valarrayIS9_ERKS6_IS8_S9_E(ptr dead_on_unwind noalias writable sret(%"class.std::_Expr.6") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSINSt8__detail8_BinClosISt6__plusSt9_ValArraySt5_ExprdNS3_ISt12__multipliesSt9_ConstantS5_ddEEEEEERS0_RKS6_IT_dE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

declare noundef i32 @_ZNK3ipx7Control14InterruptCheckEi(ptr noundef nonnull align 8 dereferenceable(1496), i32 noundef) local_unnamed_addr #5

declare noundef double @_ZNK3ipx5Timer7ElapsedEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

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

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

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass