; LLVM IR from ERGO-Code/HiGHS :: src/test (DevKkt)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%class.HighsCDouble = type { double, double }
%"struct.presolve::dev_kkt_check::KktConditionDetails" = type { i32, double, double, i32, i32 }
%"struct.presolve::dev_kkt_check::State" = type { i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.44 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [69 x i8], align 1
@__PRETTY_FUNCTION__._ZN8presolve13dev_kkt_check29checkStationarityOfLagrangianERKNS0_5StateERNS0_19KktConditionDetailsE = external hidden unnamed_addr constant [98 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [48 x i8], align 1

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8presolve13dev_kkt_check29checkStationarityOfLagrangianERKNS0_5StateERNS0_19KktConditionDetailsE(ptr noundef nonnull align 8 dereferenceable(168) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) #5 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca double, align 8
  %8 = alloca %class.HighsCDouble, align 8
  %9 = alloca %class.HighsCDouble, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %class.HighsCDouble, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = getelementptr inbounds %"struct.presolve::dev_kkt_check::KktConditionDetails", ptr %13, i32 0, i32 0
  store i32 4, ptr %14, align 8, !tbaa !9
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds %"struct.presolve::dev_kkt_check::KktConditionDetails", ptr %15, i32 0, i32 3
  store i32 0, ptr %16, align 8, !tbaa !14
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %"struct.presolve::dev_kkt_check::KktConditionDetails", ptr %17, i32 0, i32 4
  store i32 0, ptr %18, align 4, !tbaa !15
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %"struct.presolve::dev_kkt_check::KktConditionDetails", ptr %19, i32 0, i32 1
  store double 0.000000e+00, ptr %20, align 8, !tbaa !16
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %"struct.presolve::dev_kkt_check::KktConditionDetails", ptr %21, i32 0, i32 2
  store double 0.000000e+00, ptr %22, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  store i32 0, ptr %5, align 4, !tbaa !18
  br label %23

23:                                               ; preds = %180, %2
  %24 = load i32, ptr %5, align 4, !tbaa !18
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %"struct.presolve::dev_kkt_check::State", ptr %25, i32 0, i32 0
  %27 = load i32, ptr %26, align 8, !tbaa !19
  %28 = icmp slt i32 %24, %27
  br i1 %28, label %30, label %29

29:                                               ; preds = %23
  store i32 2, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  br label %183

30:                                               ; preds = %23
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.presolve::dev_kkt_check::State", ptr %31, i32 0, i32 14
  %33 = load ptr, ptr %32, align 8, !tbaa !21
  %34 = load i32, ptr %5, align 4, !tbaa !18
  %35 = sext i32 %34 to i64
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %35) #8
  %37 = load i32, ptr %36, align 4, !tbaa !18
  %38 = icmp ne i32 %37, 0
  br i1 %38, label %39, label %179

39:                                               ; preds = %30
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.presolve::dev_kkt_check::KktConditionDetails", ptr %40, i32 0, i32 3
  %42 = load i32, ptr %41, align 8, !tbaa !14
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %41, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  store double 0.000000e+00, ptr %7, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #8
  %44 = load ptr, ptr %3, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.presolve::dev_kkt_check::State", ptr %44, i32 0, i32 9
  %46 = load ptr, ptr %45, align 8, !tbaa !23
  %47 = load i32, ptr %5, align 4, !tbaa !18
  %48 = sext i32 %47 to i64
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %48) #8
  %50 = load double, ptr %49, align 8, !tbaa !22
  call void @_ZN12HighsCDoubleC2Ed(ptr noundef nonnull align 8 dereferenceable(16) %9, double noundef %50)
  %51 = load ptr, ptr %3, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.presolve::dev_kkt_check::State", ptr %51, i32 0, i32 17
  %53 = load ptr, ptr %52, align 8, !tbaa !24
  %54 = load i32, ptr %5, align 4, !tbaa !18
  %55 = sext i32 %54 to i64
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %55) #8
  %57 = load double, ptr %56, align 8, !tbaa !22
  %58 = call { double, double } @_ZNK12HighsCDoublemiEd(ptr noundef nonnull align 8 dereferenceable(16) %9, double noundef %57)
  %59 = getelementptr inbounds { double, double }, ptr %8, i32 0, i32 0
  %60 = extractvalue { double, double } %58, 0
  store double %60, ptr %59, align 8
  %61 = getelementptr inbounds { double, double }, ptr %8, i32 0, i32 1
  %62 = extractvalue { double, double } %58, 1
  store double %62, ptr %61, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  %63 = load ptr, ptr %3, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.presolve::dev_kkt_check::State", ptr %63, i32 0, i32 2
  %65 = load ptr, ptr %64, align 8, !tbaa !25
  %66 = load i32, ptr %5, align 4, !tbaa !18
  %67 = sext i32 %66 to i64
  %68 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %67) #8
  %69 = load i32, ptr %68, align 4, !tbaa !18
  store i32 %69, ptr %10, align 4, !tbaa !18
  br label %70

70:                                               ; preds = %133, %39
  %71 = load i32, ptr %10, align 4, !tbaa !18
  %72 = load ptr, ptr %3, align 8, !tbaa !5
  %73 = getelementptr inbounds %"struct.presolve::dev_kkt_check::State", ptr %72, i32 0, i32 3
  %74 = load ptr, ptr %73, align 8, !tbaa !26
  %75 = load i32, ptr %5, align 4, !tbaa !18
  %76 = sext i32 %75 to i64
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %74, i64 noundef %76) #8
  %78 = load i32, ptr %77, align 4, !tbaa !18
  %79 = icmp slt i32 %71, %78
  br i1 %79, label %81, label %80

80:                                               ; preds = %70
  store i32 5, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  br label %136

81:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.presolve::dev_kkt_check::State", ptr %82, i32 0, i32 4
  %84 = load ptr, ptr %83, align 8, !tbaa !27
  %85 = load i32, ptr %10, align 4, !tbaa !18
  %86 = sext i32 %85 to i64
  %87 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %86) #8
  %88 = load i32, ptr %87, align 4, !tbaa !18
  store i32 %88, ptr %11, align 4, !tbaa !18
  %89 = load i32, ptr %11, align 4, !tbaa !18
  %90 = icmp sge i32 %89, 0
  br i1 %90, label %91, label %97

91:                                               ; preds = %81
  %92 = load i32, ptr %11, align 4, !tbaa !18
  %93 = load ptr, ptr %3, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.presolve::dev_kkt_check::State", ptr %93, i32 0, i32 1
  %95 = load i32, ptr %94, align 4, !tbaa !28
  %96 = icmp slt i32 %92, %95
  br label %97

97:                                               ; preds = %91, %81
  %98 = phi i1 [ false, %81 ], [ %96, %91 ]
  br i1 %98, label %99, label %100

99:                                               ; preds = %97
  br label %102

100:                                              ; preds = %97
  call void @__assert_fail(ptr noundef @.str.44, ptr noundef @.str.45, i32 noundef 316, ptr noundef @__PRETTY_FUNCTION__._ZN8presolve13dev_kkt_check29checkStationarityOfLagrangianERKNS0_5StateERNS0_19KktConditionDetailsE) #9
  unreachable

101:                                              ; No predecessors!
  br label %102

102:                                              ; preds = %101, %99
  %103 = load ptr, ptr %3, align 8, !tbaa !5
  %104 = getelementptr inbounds %"struct.presolve::dev_kkt_check::State", ptr %103, i32 0, i32 15
  %105 = load ptr, ptr %104, align 8, !tbaa !29
  %106 = load i32, ptr %11, align 4, !tbaa !18
  %107 = sext i32 %106 to i64
  %108 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %107) #8
  %109 = load i32, ptr %108, align 4, !tbaa !18
  %110 = icmp ne i32 %109, 0
  br i1 %110, label %111, label %132

111:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #8
  %112 = load ptr, ptr %3, align 8, !tbaa !5
  %113 = getelementptr inbounds %"struct.presolve::dev_kkt_check::State", ptr %112, i32 0, i32 19
  %114 = load ptr, ptr %113, align 8, !tbaa !30
  %115 = load i32, ptr %11, align 4, !tbaa !18
  %116 = sext i32 %115 to i64
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %114, i64 noundef %116) #8
  %118 = load double, ptr %117, align 8, !tbaa !22
  %119 = load ptr, ptr %3, align 8, !tbaa !5
  %120 = getelementptr inbounds %"struct.presolve::dev_kkt_check::State", ptr %119, i32 0, i32 5
  %121 = load ptr, ptr %120, align 8, !tbaa !31
  %122 = load i32, ptr %10, align 4, !tbaa !18
  %123 = sext i32 %122 to i64
  %124 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %121, i64 noundef %123) #8
  %125 = load double, ptr %124, align 8, !tbaa !22
  %126 = fmul double %118, %125
  %127 = call { double, double } @_ZNK12HighsCDoublemiEd(ptr noundef nonnull align 8 dereferenceable(16) %8, double noundef %126)
  %128 = getelementptr inbounds { double, double }, ptr %12, i32 0, i32 0
  %129 = extractvalue { double, double } %127, 0
  store double %129, ptr %128, align 8
  %130 = getelementptr inbounds { double, double }, ptr %12, i32 0, i32 1
  %131 = extractvalue { double, double } %127, 1
  store double %131, ptr %130, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %12, i64 16, i1 false), !tbaa.struct !32
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  br label %132

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

133:                                              ; preds = %132
  %134 = load i32, ptr %10, align 4, !tbaa !18
  %135 = add nsw i32 %134, 1
  store i32 %135, ptr %10, align 4, !tbaa !18
  br label %70, !llvm.loop !33

136:                                              ; preds = %80
  %137 = call noundef double @_ZNK12HighsCDoublecvdEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %138 = call double @llvm.fabs.f64(double %137)
  %139 = fcmp ogt double %138, 0x3E7AD7F29ABCAF48
  br i1 %139, label %140, label %154

140:                                              ; preds = %136
  %141 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.46)
  %142 = load i32, ptr %5, align 4, !tbaa !18
  %143 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %141, i32 noundef %142)
  %144 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %143, ptr noundef @.str.47)
  %145 = load i32, ptr %5, align 4, !tbaa !18
  %146 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %144, i32 noundef %145)
  %147 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %146, ptr noundef @.str.48)
  %148 = call noundef double @_ZNK12HighsCDoublecvdEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %149 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %147, double noundef %148)
  %150 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %149, ptr noundef @.str.49)
  %151 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %150, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %152 = call noundef double @_ZNK12HighsCDoublecvdEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %153 = call double @llvm.fabs.f64(double %152)
  store double %153, ptr %7, align 8, !tbaa !22
  br label %154

154:                                              ; preds = %140, %136
  %155 = load double, ptr %7, align 8, !tbaa !22
  %156 = fcmp ogt double %155, 0.000000e+00
  br i1 %156, label %157, label %178

157:                                              ; preds = %154
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = getelementptr inbounds %"struct.presolve::dev_kkt_check::KktConditionDetails", ptr %158, i32 0, i32 4
  %160 = load i32, ptr %159, align 4, !tbaa !15
  %161 = add nsw i32 %160, 1
  store i32 %161, ptr %159, align 4, !tbaa !15
  %162 = load double, ptr %7, align 8, !tbaa !22
  %163 = load double, ptr %7, align 8, !tbaa !22
  %164 = load ptr, ptr %4, align 8, !tbaa !5
  %165 = getelementptr inbounds %"struct.presolve::dev_kkt_check::KktConditionDetails", ptr %164, i32 0, i32 2
  %166 = load double, ptr %165, align 8, !tbaa !17
  %167 = call double @llvm.fmuladd.f64(double %162, double %163, double %166)
  store double %167, ptr %165, align 8, !tbaa !17
  %168 = load ptr, ptr %4, align 8, !tbaa !5
  %169 = getelementptr inbounds %"struct.presolve::dev_kkt_check::KktConditionDetails", ptr %168, i32 0, i32 1
  %170 = load double, ptr %169, align 8, !tbaa !16
  %171 = load double, ptr %7, align 8, !tbaa !22
  %172 = fcmp olt double %170, %171
  br i1 %172, label %173, label %177

173:                                              ; preds = %157
  %174 = load double, ptr %7, align 8, !tbaa !22
  %175 = load ptr, ptr %4, align 8, !tbaa !5
  %176 = getelementptr inbounds %"struct.presolve::dev_kkt_check::KktConditionDetails", ptr %175, i32 0, i32 1
  store double %174, ptr %176, align 8, !tbaa !16
  br label %177

177:                                              ; preds = %173, %157
  br label %178

178:                                              ; preds = %177, %154
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  br label %179

179:                                              ; preds = %178, %30
  br label %180

180:                                              ; preds = %179
  %181 = load i32, ptr %5, align 4, !tbaa !18
  %182 = add nsw i32 %181, 1
  store i32 %182, ptr %5, align 4, !tbaa !18
  br label %23, !llvm.loop !35

183:                                              ; preds = %29
  %184 = load ptr, ptr %4, align 8, !tbaa !5
  %185 = getelementptr inbounds %"struct.presolve::dev_kkt_check::KktConditionDetails", ptr %184, i32 0, i32 4
  %186 = load i32, ptr %185, align 4, !tbaa !15
  %187 = icmp eq i32 %186, 0
  br i1 %187, label %188, label %190

188:                                              ; preds = %183
  %189 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.50)
  br label %192

190:                                              ; preds = %183
  %191 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.51)
  br label %192

192:                                              ; preds = %190, %188
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK12HighsCDoublemiEd(ptr noundef nonnull align 8 dereferenceable(16), double noundef) #5 align 2

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !11, i64 0}
!10 = !{!"_ZTSN8presolve13dev_kkt_check19KktConditionDetailsE", !11, i64 0, !12, i64 8, !12, i64 16, !13, i64 24, !13, i64 28}
!11 = !{!"_ZTSN8presolve13dev_kkt_check12KktConditionE", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!10, !13, i64 24}
!15 = !{!10, !13, i64 28}
!16 = !{!10, !12, i64 8}
!17 = !{!10, !12, i64 16}
!18 = !{!13, !13, i64 0}
!19 = !{!20, !13, i64 0}
!20 = !{!"_ZTSN8presolve13dev_kkt_check5StateE", !13, i64 0, !13, i64 4, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160}
!21 = !{!20, !6, i64 104}
!22 = !{!12, !12, i64 0}
!23 = !{!20, !6, i64 64}
!24 = !{!20, !6, i64 128}
!25 = !{!20, !6, i64 8}
!26 = !{!20, !6, i64 16}
!27 = !{!20, !6, i64 24}
!28 = !{!20, !13, i64 4}
!29 = !{!20, !6, i64 112}
!30 = !{!20, !6, i64 144}
!31 = !{!20, !6, i64 32}
!32 = !{i64 0, i64 8, !22, i64 8, i64 8, !22}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = distinct !{!35, !34}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%class.HighsCDouble = type { double, double }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.44 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [69 x i8], align 1
@__PRETTY_FUNCTION__._ZN8presolve13dev_kkt_check29checkStationarityOfLagrangianERKNS0_5StateERNS0_19KktConditionDetailsE = external hidden unnamed_addr constant [98 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [48 x i8], align 1

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

; Function Attrs: 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 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8presolve13dev_kkt_check29checkStationarityOfLagrangianERKNS0_5StateERNS0_19KktConditionDetailsE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(168) %0, ptr nocapture noundef nonnull align 8 dereferenceable(32) %1) local_unnamed_addr #4 {
  %3 = alloca %class.HighsCDouble, align 8
  %4 = alloca %class.HighsCDouble, align 8
  store i32 4, ptr %1, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %1, i64 24
  %6 = getelementptr inbounds i8, ptr %1, i64 28
  %7 = getelementptr inbounds i8, ptr %1, i64 8
  %8 = getelementptr inbounds i8, ptr %1, i64 16
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %7, i8 0, i64 24, i1 false)
  %9 = load i32, ptr %0, align 8, !tbaa !12
  %10 = icmp sgt i32 %9, 0
  br i1 %10, label %.lr.ph54, label %._crit_edge55.thread

.lr.ph54:                                         ; preds = %2
  %11 = getelementptr inbounds i8, ptr %0, i64 104
  %12 = getelementptr inbounds i8, ptr %0, i64 64
  %13 = getelementptr inbounds i8, ptr %0, i64 128
  %14 = getelementptr inbounds i8, ptr %3, i64 8
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  %16 = getelementptr inbounds i8, ptr %0, i64 16
  %17 = getelementptr inbounds i8, ptr %0, i64 24
  %18 = getelementptr inbounds i8, ptr %0, i64 4
  %19 = getelementptr inbounds i8, ptr %0, i64 112
  %20 = getelementptr inbounds i8, ptr %0, i64 144
  %21 = getelementptr inbounds i8, ptr %0, i64 32
  br label %23

._crit_edge55:                                    ; preds = %100
  %.pre = load i32, ptr %6, align 4, !tbaa !15
  %22 = icmp eq i32 %.pre, 0
  %spec.select = select i1 %22, ptr @.str.50, ptr @.str.51
  br label %._crit_edge55.thread

23:                                               ; preds = %.lr.ph54, %100
  %indvars.iv57 = phi i64 [ 0, %.lr.ph54 ], [ %indvars.iv.next58, %100 ]
  %24 = load ptr, ptr %11, align 8, !tbaa !16
  %25 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv57) #8
  %26 = load i32, ptr %25, align 4, !tbaa !17
  %.not = icmp eq i32 %26, 0
  br i1 %.not, label %100, label %27

27:                                               ; preds = %23
  %28 = load i32, ptr %5, align 8, !tbaa !18
  %29 = add nsw i32 %28, 1
  store i32 %29, ptr %5, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  %30 = load ptr, ptr %12, align 8, !tbaa !19
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv57) #8
  %32 = load double, ptr %31, align 8, !tbaa !20
  call void @_ZN12HighsCDoubleC2Ed(ptr noundef nonnull align 8 dereferenceable(16) %4, double noundef %32)
  %33 = load ptr, ptr %13, align 8, !tbaa !21
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %indvars.iv57) #8
  %35 = load double, ptr %34, align 8, !tbaa !20
  %36 = call { double, double } @_ZNK12HighsCDoublemiEd(ptr noundef nonnull align 8 dereferenceable(16) %4, double noundef %35)
  %37 = extractvalue { double, double } %36, 0
  store double %37, ptr %3, align 8
  %38 = extractvalue { double, double } %36, 1
  store double %38, ptr %14, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  %39 = load ptr, ptr %15, align 8, !tbaa !22
  %40 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %indvars.iv57) #8
  %41 = load i32, ptr %40, align 4, !tbaa !17
  %42 = load ptr, ptr %16, align 8, !tbaa !23
  %43 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %indvars.iv57) #8
  %44 = load i32, ptr %43, align 4, !tbaa !17
  %45 = icmp slt i32 %41, %44
  br i1 %45, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %27
  %46 = sext i32 %41 to i64
  br label %.lr.ph

._crit_edge:                                      ; preds = %72, %27
  %47 = call noundef double @_ZNK12HighsCDoublecvdEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  %48 = call double @llvm.fabs.f64(double %47)
  %49 = fcmp ogt double %48, 0x3E7AD7F29ABCAF48
  br i1 %49, label %78, label %.thread

.lr.ph:                                           ; preds = %.lr.ph.preheader, %72
  %indvars.iv = phi i64 [ %46, %.lr.ph.preheader ], [ %indvars.iv.next, %72 ]
  %50 = load ptr, ptr %17, align 8, !tbaa !24
  %51 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %50, i64 noundef %indvars.iv) #8
  %52 = load i32, ptr %51, align 4, !tbaa !17
  %53 = icmp sgt i32 %52, -1
  %54 = load i32, ptr %18, align 4
  %55 = icmp slt i32 %52, %54
  %or.cond = select i1 %53, i1 %55, i1 false
  br i1 %or.cond, label %56, label %.critedge

.critedge:                                        ; preds = %.lr.ph
  call void @__assert_fail(ptr noundef nonnull @.str.44, ptr noundef nonnull @.str.45, i32 noundef 316, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8presolve13dev_kkt_check29checkStationarityOfLagrangianERKNS0_5StateERNS0_19KktConditionDetailsE) #9
  unreachable

56:                                               ; preds = %.lr.ph
  %57 = load ptr, ptr %19, align 8, !tbaa !25
  %58 = zext nneg i32 %52 to i64
  %59 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %57, i64 noundef %58) #8
  %60 = load i32, ptr %59, align 4, !tbaa !17
  %.not46 = icmp eq i32 %60, 0
  br i1 %.not46, label %72, label %61

61:                                               ; preds = %56
  %62 = load ptr, ptr %20, align 8, !tbaa !26
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %58) #8
  %64 = load double, ptr %63, align 8, !tbaa !20
  %65 = load ptr, ptr %21, align 8, !tbaa !27
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %indvars.iv) #8
  %67 = load double, ptr %66, align 8, !tbaa !20
  %68 = fmul double %64, %67
  %69 = call { double, double } @_ZNK12HighsCDoublemiEd(ptr noundef nonnull align 8 dereferenceable(16) %3, double noundef %68)
  %70 = extractvalue { double, double } %69, 0
  %71 = extractvalue { double, double } %69, 1
  store double %70, ptr %3, align 8, !tbaa !20
  store double %71, ptr %14, align 8, !tbaa !20
  br label %72

72:                                               ; preds = %61, %56
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %73 = load ptr, ptr %16, align 8, !tbaa !23
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef %indvars.iv57) #8
  %75 = load i32, ptr %74, align 4, !tbaa !17
  %76 = sext i32 %75 to i64
  %77 = icmp slt i64 %indvars.iv.next, %76
  br i1 %77, label %.lr.ph, label %._crit_edge, !llvm.loop !28

78:                                               ; preds = %._crit_edge
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.46)
  %80 = trunc nuw nsw i64 %indvars.iv57 to i32
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %79, i32 noundef %80)
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef nonnull @.str.47)
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %82, i32 noundef %80)
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %83, ptr noundef nonnull @.str.48)
  %85 = call noundef double @_ZNK12HighsCDoublecvdEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %84, double noundef %85)
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %86, ptr noundef nonnull @.str.49)
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %87, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %89 = call noundef double @_ZNK12HighsCDoublecvdEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  %90 = call double @llvm.fabs.f64(double %89)
  %91 = fcmp ueq double %89, 0.000000e+00
  br i1 %91, label %.thread, label %92

92:                                               ; preds = %78
  %93 = load i32, ptr %6, align 4, !tbaa !15
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %6, align 4, !tbaa !15
  %95 = load double, ptr %8, align 8, !tbaa !30
  %96 = call double @llvm.fmuladd.f64(double %89, double %89, double %95)
  store double %96, ptr %8, align 8, !tbaa !30
  %97 = load double, ptr %7, align 8, !tbaa !31
  %98 = fcmp olt double %97, %90
  br i1 %98, label %99, label %.thread

99:                                               ; preds = %92
  store double %90, ptr %7, align 8, !tbaa !31
  br label %.thread

.thread:                                          ; preds = %._crit_edge, %92, %99, %78
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8
  br label %100

100:                                              ; preds = %23, %.thread
  %indvars.iv.next58 = add nuw nsw i64 %indvars.iv57, 1
  %101 = load i32, ptr %0, align 8, !tbaa !12
  %102 = sext i32 %101 to i64
  %103 = icmp slt i64 %indvars.iv.next58, %102
  br i1 %103, label %23, label %._crit_edge55, !llvm.loop !32

._crit_edge55.thread:                             ; preds = %._crit_edge55, %2
  %.str.51.sink = phi ptr [ @.str.50, %2 ], [ %spec.select, %._crit_edge55 ]
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull %.str.51.sink)
  ret void
}

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

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

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

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

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

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 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 0}
!6 = !{!"_ZTSN8presolve13dev_kkt_check19KktConditionDetailsE", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !11, i64 28}
!7 = !{!"_ZTSN8presolve13dev_kkt_check12KktConditionE", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"_ZTSN8presolve13dev_kkt_check5StateE", !11, i64 0, !11, i64 4, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!6, !11, i64 28}
!16 = !{!13, !14, i64 104}
!17 = !{!11, !11, i64 0}
!18 = !{!6, !11, i64 24}
!19 = !{!13, !14, i64 64}
!20 = !{!10, !10, i64 0}
!21 = !{!13, !14, i64 128}
!22 = !{!13, !14, i64 8}
!23 = !{!13, !14, i64 16}
!24 = !{!13, !14, i64 24}
!25 = !{!13, !14, i64 112}
!26 = !{!13, !14, i64 144}
!27 = !{!13, !14, i64 32}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!6, !10, i64 16}
!31 = !{!6, !10, i64 8}
!32 = distinct !{!32, !29}


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