; LLVM IR from ERGO-Code/HiGHS :: src/ipm/ipx/ipm.ll (ZN3ipx3IPM8CentringERNS0_4StepEd)

; 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::IPM" = type <{ ptr, ptr, ptr, ptr, double, double, i32, [4 x i8], double, i32, [4 x i8], double, i32, [4 x i8] }>

@.str.16 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [14 x i8], align 1
@__PRETTY_FUNCTION__._ZN3ipx3IPM8CentringERNS0_4StepEd = external hidden unnamed_addr constant [40 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 dso_local noundef nonnull align 8 dereferenceable(704) ptr @_ZNK3ipx7Iterate5modelEv(ptr noundef nonnull align 8 dereferenceable(296)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3ipx5Model4rowsEv(ptr noundef nonnull align 8 dereferenceable(704)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3ipx5Model4colsEv(ptr noundef nonnull align 8 dereferenceable(704)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2xlEv(ptr noundef nonnull align 8 dereferenceable(296)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2xuEv(ptr noundef nonnull align 8 dereferenceable(296)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2zlEv(ptr noundef nonnull align 8 dereferenceable(296)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2zuEv(ptr noundef nonnull align 8 dereferenceable(296)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3ipx3IPM8CentringERNS0_4StepEd(ptr noundef nonnull align 8 dereferenceable(84) %0, ptr noundef nonnull align 8 dereferenceable(96) %1, double noundef %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca double, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.std::valarray", align 8
  %15 = alloca %"class.std::valarray", align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca double, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store double %2, ptr %6, align 8, !tbaa !9
  %21 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %22 = getelementptr inbounds %"class.ipx::IPM", ptr %21, i32 0, i32 2
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  %24 = call noundef nonnull align 8 dereferenceable(704) ptr @_ZNK3ipx7Iterate5modelEv(ptr noundef nonnull align 8 dereferenceable(296) %23)
  store ptr %24, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = call noundef i32 @_ZNK3ipx5Model4rowsEv(ptr noundef nonnull align 8 dereferenceable(704) %25)
  store i32 %26, ptr %8, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = call noundef i32 @_ZNK3ipx5Model4colsEv(ptr noundef nonnull align 8 dereferenceable(704) %27)
  store i32 %28, ptr %9, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %29 = getelementptr inbounds %"class.ipx::IPM", ptr %21, i32 0, i32 2
  %30 = load ptr, ptr %29, align 8, !tbaa !11
  %31 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2xlEv(ptr noundef nonnull align 8 dereferenceable(296) %30)
  store ptr %31, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %32 = getelementptr inbounds %"class.ipx::IPM", ptr %21, i32 0, i32 2
  %33 = load ptr, ptr %32, align 8, !tbaa !11
  %34 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2xuEv(ptr noundef nonnull align 8 dereferenceable(296) %33)
  store ptr %34, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %35 = getelementptr inbounds %"class.ipx::IPM", ptr %21, i32 0, i32 2
  %36 = load ptr, ptr %35, align 8, !tbaa !11
  %37 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2zlEv(ptr noundef nonnull align 8 dereferenceable(296) %36)
  store ptr %37, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %38 = getelementptr inbounds %"class.ipx::IPM", ptr %21, i32 0, i32 2
  %39 = load ptr, ptr %38, align 8, !tbaa !11
  %40 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2zuEv(ptr noundef nonnull align 8 dereferenceable(296) %39)
  store ptr %40, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #8
  %41 = load i32, ptr %9, align 4, !tbaa !14
  %42 = load i32, ptr %8, align 4, !tbaa !14
  %43 = add nsw i32 %41, %42
  %44 = sext i32 %43 to i64
  call void @_ZNSt8valarrayIdEC2Em(ptr noundef nonnull align 8 dereferenceable(16) %14, i64 noundef %44)
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #8
  %45 = load i32, ptr %9, align 4, !tbaa !14
  %46 = load i32, ptr %8, align 4, !tbaa !14
  %47 = add nsw i32 %45, %46
  %48 = sext i32 %47 to i64
  invoke void @_ZNSt8valarrayIdEC2Em(ptr noundef nonnull align 8 dereferenceable(16) %15, i64 noundef %48)
          to label %49 unwind label %57

49:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  store double 1.000000e+00, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  store i32 0, ptr %19, align 4, !tbaa !14
  br label %50

50:                                               ; preds = %94, %49
  %51 = load i32, ptr %19, align 4, !tbaa !14
  %52 = load i32, ptr %9, align 4, !tbaa !14
  %53 = load i32, ptr %8, align 4, !tbaa !14
  %54 = add nsw i32 %52, %53
  %55 = icmp slt i32 %51, %54
  br i1 %55, label %61, label %56

56:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %97

57:                                               ; preds = %3
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %16, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %17, align 4
  br label %183

61:                                               ; preds = %50
  %62 = getelementptr inbounds %"class.ipx::IPM", ptr %21, i32 0, i32 2
  %63 = load ptr, ptr %62, align 8, !tbaa !11
  %64 = load i32, ptr %19, align 4, !tbaa !14
  %65 = invoke noundef zeroext i1 @_ZNK3ipx7Iterate14has_barrier_lbEi(ptr noundef nonnull align 8 dereferenceable(296) %63, i32 noundef %64)
          to label %66 unwind label %85

66:                                               ; preds = %61
  br i1 %65, label %67, label %89

67:                                               ; preds = %66
  %68 = load ptr, ptr %10, align 8, !tbaa !5
  %69 = load i32, ptr %19, align 4, !tbaa !14
  %70 = sext i32 %69 to i64
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %68, i64 noundef %70) #8
  %72 = load double, ptr %71, align 8, !tbaa !9
  %73 = fneg double %72
  %74 = load ptr, ptr %12, align 8, !tbaa !5
  %75 = load i32, ptr %19, align 4, !tbaa !14
  %76 = sext i32 %75 to i64
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %74, i64 noundef %76) #8
  %78 = load double, ptr %77, align 8, !tbaa !9
  %79 = load double, ptr %6, align 8, !tbaa !9
  %80 = fmul double 1.000000e+00, %79
  %81 = call double @llvm.fmuladd.f64(double %73, double %78, double %80)
  %82 = load i32, ptr %19, align 4, !tbaa !14
  %83 = sext i32 %82 to i64
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %14, i64 noundef %83) #8
  store double %81, ptr %84, align 8, !tbaa !9
  br label %93

85:                                               ; preds = %61
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %16, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %182

89:                                               ; preds = %66
  %90 = load i32, ptr %19, align 4, !tbaa !14
  %91 = sext i32 %90 to i64
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %14, i64 noundef %91) #8
  store double 0.000000e+00, ptr %92, align 8, !tbaa !9
  br label %93

93:                                               ; preds = %89, %67
  br label %94

94:                                               ; preds = %93
  %95 = load i32, ptr %19, align 4, !tbaa !14
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %19, align 4, !tbaa !14
  br label %50, !llvm.loop !15

97:                                               ; preds = %56
  %98 = invoke noundef zeroext i1 @_ZN3ipx9AllFiniteERKSt8valarrayIdE(ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %99 unwind label %102

99:                                               ; preds = %97
  br i1 %98, label %100, label %101

100:                                              ; preds = %99
  br label %107

101:                                              ; preds = %99
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.17, i32 noundef 472, ptr noundef @__PRETTY_FUNCTION__._ZN3ipx3IPM8CentringERNS0_4StepEd) #9
  unreachable

102:                                              ; preds = %176, %171, %166, %161, %157, %151, %97
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %16, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %17, align 4
  br label %182

106:                                              ; No predecessors!
  br label %107

107:                                              ; preds = %106, %100
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 0, ptr %20, align 4, !tbaa !14
  br label %108

108:                                              ; preds = %148, %107
  %109 = load i32, ptr %20, align 4, !tbaa !14
  %110 = load i32, ptr %9, align 4, !tbaa !14
  %111 = load i32, ptr %8, align 4, !tbaa !14
  %112 = add nsw i32 %110, %111
  %113 = icmp slt i32 %109, %112
  br i1 %113, label %115, label %114

114:                                              ; preds = %108
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %151

115:                                              ; preds = %108
  %116 = getelementptr inbounds %"class.ipx::IPM", ptr %21, i32 0, i32 2
  %117 = load ptr, ptr %116, align 8, !tbaa !11
  %118 = load i32, ptr %20, align 4, !tbaa !14
  %119 = invoke noundef zeroext i1 @_ZNK3ipx7Iterate14has_barrier_ubEi(ptr noundef nonnull align 8 dereferenceable(296) %117, i32 noundef %118)
          to label %120 unwind label %139

120:                                              ; preds = %115
  br i1 %119, label %121, label %143

121:                                              ; preds = %120
  %122 = load ptr, ptr %11, align 8, !tbaa !5
  %123 = load i32, ptr %20, align 4, !tbaa !14
  %124 = sext i32 %123 to i64
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %122, i64 noundef %124) #8
  %126 = load double, ptr %125, align 8, !tbaa !9
  %127 = fneg double %126
  %128 = load ptr, ptr %13, align 8, !tbaa !5
  %129 = load i32, ptr %20, align 4, !tbaa !14
  %130 = sext i32 %129 to i64
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %128, i64 noundef %130) #8
  %132 = load double, ptr %131, align 8, !tbaa !9
  %133 = load double, ptr %6, align 8, !tbaa !9
  %134 = fmul double 1.000000e+00, %133
  %135 = call double @llvm.fmuladd.f64(double %127, double %132, double %134)
  %136 = load i32, ptr %20, align 4, !tbaa !14
  %137 = sext i32 %136 to i64
  %138 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %15, i64 noundef %137) #8
  store double %135, ptr %138, align 8, !tbaa !9
  br label %147

139:                                              ; preds = %115
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %16, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %182

143:                                              ; preds = %120
  %144 = load i32, ptr %20, align 4, !tbaa !14
  %145 = sext i32 %144 to i64
  %146 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %15, i64 noundef %145) #8
  store double 0.000000e+00, ptr %146, align 8, !tbaa !9
  br label %147

147:                                              ; preds = %143, %121
  br label %148

148:                                              ; preds = %147
  %149 = load i32, ptr %20, align 4, !tbaa !14
  %150 = add nsw i32 %149, 1
  store i32 %150, ptr %20, align 4, !tbaa !14
  br label %108, !llvm.loop !17

151:                                              ; preds = %114
  %152 = invoke noundef zeroext i1 @_ZN3ipx9AllFiniteERKSt8valarrayIdE(ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %153 unwind label %102

153:                                              ; preds = %151
  br i1 %152, label %154, label %155

154:                                              ; preds = %153
  br label %157

155:                                              ; preds = %153
  call void @__assert_fail(ptr noundef @.str.18, ptr noundef @.str.17, i32 noundef 482, ptr noundef @__PRETTY_FUNCTION__._ZN3ipx3IPM8CentringERNS0_4StepEd) #9
  unreachable

156:                                              ; No predecessors!
  br label %157

157:                                              ; preds = %156, %154
  %158 = getelementptr inbounds %"class.ipx::IPM", ptr %21, i32 0, i32 2
  %159 = load ptr, ptr %158, align 8, !tbaa !11
  %160 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2rbEv(ptr noundef nonnull align 8 dereferenceable(296) %159)
          to label %161 unwind label %102

161:                                              ; preds = %157
  %162 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %160, i64 noundef 0) #8
  %163 = getelementptr inbounds %"class.ipx::IPM", ptr %21, i32 0, i32 2
  %164 = load ptr, ptr %163, align 8, !tbaa !11
  %165 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2rcEv(ptr noundef nonnull align 8 dereferenceable(296) %164)
          to label %166 unwind label %102

166:                                              ; preds = %161
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %165, i64 noundef 0) #8
  %168 = getelementptr inbounds %"class.ipx::IPM", ptr %21, i32 0, i32 2
  %169 = load ptr, ptr %168, align 8, !tbaa !11
  %170 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2rlEv(ptr noundef nonnull align 8 dereferenceable(296) %169)
          to label %171 unwind label %102

171:                                              ; preds = %166
  %172 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %170, i64 noundef 0) #8
  %173 = getelementptr inbounds %"class.ipx::IPM", ptr %21, i32 0, i32 2
  %174 = load ptr, ptr %173, align 8, !tbaa !11
  %175 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2ruEv(ptr noundef nonnull align 8 dereferenceable(296) %174)
          to label %176 unwind label %102

176:                                              ; preds = %171
  %177 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %175, i64 noundef 0) #8
  %178 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %14, i64 noundef 0) #8
  %179 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %15, i64 noundef 0) #8
  %180 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN3ipx3IPM17SolveNewtonSystemEPKdS2_S2_S2_S2_S2_RNS0_4StepE(ptr noundef nonnull align 8 dereferenceable(84) %21, ptr noundef %162, ptr noundef %167, ptr noundef %172, ptr noundef %177, ptr noundef %178, ptr noundef %179, ptr noundef nonnull align 8 dereferenceable(96) %180)
          to label %181 unwind label %102

181:                                              ; preds = %176
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  ret void

182:                                              ; preds = %139, %102, %85
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #8
  br label %183

183:                                              ; preds = %182, %57
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  br label %184

184:                                              ; preds = %183
  %185 = load ptr, ptr %16, align 8
  %186 = load i32, ptr %17, align 4
  %187 = insertvalue { ptr, i32 } poison, ptr %185, 0
  %188 = insertvalue { ptr, i32 } %187, i32 %186, 1
  resume { ptr, i32 } %188
}

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3ipx7Iterate14has_barrier_lbEi(ptr noundef nonnull align 8 dereferenceable(296), i32 noundef) #4 align 2

declare noundef zeroext i1 @_ZN3ipx9AllFiniteERKSt8valarrayIdE(ptr noundef nonnull align 8 dereferenceable(16)) #6

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3ipx7Iterate14has_barrier_ubEi(ptr noundef nonnull align 8 dereferenceable(296), i32 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3ipx3IPM17SolveNewtonSystemEPKdS2_S2_S2_S2_S2_RNS0_4StepE(ptr noundef nonnull align 8 dereferenceable(84), ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(96)) #2 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2rbEv(ptr noundef nonnull align 8 dereferenceable(296)) #6

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2rcEv(ptr noundef nonnull align 8 dereferenceable(296)) #6

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2rlEv(ptr noundef nonnull align 8 dereferenceable(296)) #6

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2ruEv(ptr noundef nonnull align 8 dereferenceable(296)) #6

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

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

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


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

@.str.16 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [14 x i8], align 1
@__PRETTY_FUNCTION__._ZN3ipx3IPM8CentringERNS0_4StepEd = external hidden unnamed_addr constant [40 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 dso_local noundef nonnull align 8 dereferenceable(704) ptr @_ZNK3ipx7Iterate5modelEv(ptr noundef nonnull align 8 dereferenceable(296)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3ipx5Model4rowsEv(ptr noundef nonnull align 8 dereferenceable(704)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3ipx5Model4colsEv(ptr noundef nonnull align 8 dereferenceable(704)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2xlEv(ptr noundef nonnull align 8 dereferenceable(296)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2xuEv(ptr noundef nonnull align 8 dereferenceable(296)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2zlEv(ptr noundef nonnull align 8 dereferenceable(296)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2zuEv(ptr noundef nonnull align 8 dereferenceable(296)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3ipx3IPM8CentringERNS0_4StepEd(ptr noundef nonnull align 8 dereferenceable(84) %0, ptr noundef nonnull align 8 dereferenceable(96) %1, double noundef %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::valarray", align 8
  %5 = alloca %"class.std::valarray", align 8
  %6 = getelementptr inbounds i8, ptr %0, i64 16
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %8 = tail call noundef nonnull align 8 dereferenceable(704) ptr @_ZNK3ipx7Iterate5modelEv(ptr noundef nonnull align 8 dereferenceable(296) %7)
  %9 = tail call noundef i32 @_ZNK3ipx5Model4rowsEv(ptr noundef nonnull align 8 dereferenceable(704) %8)
  %10 = tail call noundef i32 @_ZNK3ipx5Model4colsEv(ptr noundef nonnull align 8 dereferenceable(704) %8)
  %11 = load ptr, ptr %6, align 8, !tbaa !5
  %12 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2xlEv(ptr noundef nonnull align 8 dereferenceable(296) %11)
  %13 = load ptr, ptr %6, align 8, !tbaa !5
  %14 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2xuEv(ptr noundef nonnull align 8 dereferenceable(296) %13)
  %15 = load ptr, ptr %6, align 8, !tbaa !5
  %16 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2zlEv(ptr noundef nonnull align 8 dereferenceable(296) %15)
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  %18 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2zuEv(ptr noundef nonnull align 8 dereferenceable(296) %17)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  %19 = add nsw i32 %10, %9
  %20 = sext i32 %19 to i64
  call void @_ZNSt8valarrayIdEC2Em(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %20)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  invoke void @_ZNSt8valarrayIdEC2Em(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %20)
          to label %.preheader38 unwind label %23

.preheader38:                                     ; preds = %3
  %21 = icmp sgt i32 %19, 0
  br i1 %21, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.preheader38
  %wide.trip.count = zext nneg i32 %19 to i64
  br label %.lr.ph

._crit_edge:                                      ; preds = %35, %.preheader38
  %22 = invoke noundef zeroext i1 @_ZN3ipx9AllFiniteERKSt8valarrayIdE(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %37 unwind label %39

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

.lr.ph:                                           ; preds = %.lr.ph.preheader, %35
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %35 ]
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = trunc nuw nsw i64 %indvars.iv to i32
  %27 = call noundef zeroext i1 @_ZNK3ipx7Iterate14has_barrier_lbEi(ptr noundef nonnull align 8 dereferenceable(296) %25, i32 noundef %26)
  br i1 %27, label %28, label %35

28:                                               ; preds = %.lr.ph
  %29 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %12, i64 noundef %indvars.iv) #8
  %30 = load double, ptr %29, align 8, !tbaa !12
  %31 = fneg double %30
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %16, i64 noundef %indvars.iv) #8
  %33 = load double, ptr %32, align 8, !tbaa !12
  %34 = call double @llvm.fmuladd.f64(double %31, double %33, double %2)
  br label %35

35:                                               ; preds = %.lr.ph, %28
  %.sink = phi double [ %34, %28 ], [ 0.000000e+00, %.lr.ph ]
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %indvars.iv) #8
  store double %.sink, ptr %36, align 8, !tbaa !12
  %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 %._crit_edge, label %.lr.ph, !llvm.loop !13

37:                                               ; preds = %._crit_edge
  br i1 %22, label %.preheader, label %38

.preheader:                                       ; preds = %37
  br i1 %21, label %.lr.ph41.preheader, label %._crit_edge42

.lr.ph41.preheader:                               ; preds = %.preheader
  %wide.trip.count47 = zext nneg i32 %19 to i64
  br label %.lr.ph41

38:                                               ; preds = %37
  call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.17, i32 noundef 472, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3ipx3IPM8CentringERNS0_4StepEd) #9
  unreachable

39:                                               ; preds = %71, %67, %63, %59, %56, %._crit_edge42, %._crit_edge
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  br label %76

._crit_edge42:                                    ; preds = %52, %.preheader
  %41 = invoke noundef zeroext i1 @_ZN3ipx9AllFiniteERKSt8valarrayIdE(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %54 unwind label %39

.lr.ph41:                                         ; preds = %.lr.ph41.preheader, %52
  %indvars.iv44 = phi i64 [ 0, %.lr.ph41.preheader ], [ %indvars.iv.next45, %52 ]
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = trunc nuw nsw i64 %indvars.iv44 to i32
  %44 = call noundef zeroext i1 @_ZNK3ipx7Iterate14has_barrier_ubEi(ptr noundef nonnull align 8 dereferenceable(296) %42, i32 noundef %43)
  br i1 %44, label %45, label %52

45:                                               ; preds = %.lr.ph41
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %14, i64 noundef %indvars.iv44) #8
  %47 = load double, ptr %46, align 8, !tbaa !12
  %48 = fneg double %47
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %18, i64 noundef %indvars.iv44) #8
  %50 = load double, ptr %49, align 8, !tbaa !12
  %51 = call double @llvm.fmuladd.f64(double %48, double %50, double %2)
  br label %52

52:                                               ; preds = %.lr.ph41, %45
  %.sink50 = phi double [ %51, %45 ], [ 0.000000e+00, %.lr.ph41 ]
  %53 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %indvars.iv44) #8
  store double %.sink50, ptr %53, align 8, !tbaa !12
  %indvars.iv.next45 = add nuw nsw i64 %indvars.iv44, 1
  %exitcond48.not = icmp eq i64 %indvars.iv.next45, %wide.trip.count47
  br i1 %exitcond48.not, label %._crit_edge42, label %.lr.ph41, !llvm.loop !15

54:                                               ; preds = %._crit_edge42
  br i1 %41, label %56, label %55

55:                                               ; preds = %54
  call void @__assert_fail(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.17, i32 noundef 482, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3ipx3IPM8CentringERNS0_4StepEd) #9
  unreachable

56:                                               ; preds = %54
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2rbEv(ptr noundef nonnull align 8 dereferenceable(296) %57)
          to label %59 unwind label %39

59:                                               ; preds = %56
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %58, i64 noundef 0) #8
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2rcEv(ptr noundef nonnull align 8 dereferenceable(296) %61)
          to label %63 unwind label %39

63:                                               ; preds = %59
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %62, i64 noundef 0) #8
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2rlEv(ptr noundef nonnull align 8 dereferenceable(296) %65)
          to label %67 unwind label %39

67:                                               ; preds = %63
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %66, i64 noundef 0) #8
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2ruEv(ptr noundef nonnull align 8 dereferenceable(296) %69)
          to label %71 unwind label %39

71:                                               ; preds = %67
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %70, i64 noundef 0) #8
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef 0) #8
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef 0) #8
  invoke void @_ZN3ipx3IPM17SolveNewtonSystemEPKdS2_S2_S2_S2_S2_RNS0_4StepE(ptr noundef nonnull align 8 dereferenceable(84) %0, ptr noundef nonnull %60, ptr noundef nonnull %64, ptr noundef nonnull %68, ptr noundef nonnull %72, ptr noundef nonnull %73, ptr noundef nonnull %74, ptr noundef nonnull align 8 dereferenceable(96) %1)
          to label %75 unwind label %39

75:                                               ; preds = %71
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  ret void

76:                                               ; preds = %39, %23
  %.pn = phi { ptr, i32 } [ %40, %39 ], [ %24, %23 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  resume { ptr, i32 } %.pn
}

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

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3ipx7Iterate14has_barrier_lbEi(ptr noundef nonnull align 8 dereferenceable(296), i32 noundef) local_unnamed_addr #4 align 2

declare noundef zeroext i1 @_ZN3ipx9AllFiniteERKSt8valarrayIdE(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #6

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3ipx7Iterate14has_barrier_ubEi(ptr noundef nonnull align 8 dereferenceable(296), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3ipx3IPM17SolveNewtonSystemEPKdS2_S2_S2_S2_S2_RNS0_4StepE(ptr noundef nonnull align 8 dereferenceable(84), ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #2 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2rbEv(ptr noundef nonnull align 8 dereferenceable(296)) local_unnamed_addr #6

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2rcEv(ptr noundef nonnull align 8 dereferenceable(296)) local_unnamed_addr #6

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2rlEv(ptr noundef nonnull align 8 dereferenceable(296)) local_unnamed_addr #6

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3ipx7Iterate2ruEv(ptr noundef nonnull align 8 dereferenceable(296)) local_unnamed_addr #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 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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { "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 = { 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 #8 = { nounwind }
attributes #9 = { 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, !7, i64 16}
!6 = !{!"_ZTSN3ipx3IPME", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !10, i64 40, !11, i64 48, !10, i64 56, !11, i64 64, !10, i64 72, !11, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!10, !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


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