; LLVM IR from ERGO-Code/HiGHS :: src/lp_data/HighsInfo.ll (Z9checkInfoRK15HighsLogOptionsRKSt6vectorIP10InfoRecordSaIS4_EE)

; 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::__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.InfoRecord = type <{ ptr, i32, [4 x i8], %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i8, [7 x i8] }>
%class.InfoRecordInt64 = type { %class.InfoRecord.base, ptr, i64 }
%class.InfoRecord.base = type <{ ptr, i32, [4 x i8], %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i8 }>
%class.InfoRecordInt = type <{ %class.InfoRecord.base, [7 x i8], ptr, i32, [4 x i8] }>
%class.InfoRecordDouble = type { %class.InfoRecord.base, ptr, double }

@.str.52 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [24 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 nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIP10InfoRecordSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

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

declare void @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89), i32 noundef, ptr noundef, ...) #3

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z9checkInfoRK15HighsLogOptionsRKSt6vectorIP10InfoRecordSaIS4_EE(ptr noundef nonnull align 8 dereferenceable(89) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) #4 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca i32, align 4
  %27 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #5
  store i8 0, ptr %6, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = call noundef i64 @_ZNKSt6vectorIP10InfoRecordSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #5
  %30 = trunc i64 %29 to i32
  store i32 %30, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !11
  br label %31

31:                                               ; preds = %275, %2
  %32 = load i32, ptr %8, align 4, !tbaa !11
  %33 = load i32, ptr %7, align 4, !tbaa !11
  %34 = icmp slt i32 %32, %33
  br i1 %34, label %36, label %35

35:                                               ; preds = %31
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %279

36:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #5
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = load i32, ptr %8, align 4, !tbaa !11
  %39 = sext i32 %38 to i64
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP10InfoRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %39) #5
  %41 = load ptr, ptr %40, align 8, !tbaa !5
  %42 = getelementptr inbounds %class.InfoRecord, ptr %41, i32 0, i32 3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %42)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = load i32, ptr %8, align 4, !tbaa !11
  %45 = sext i32 %44 to i64
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP10InfoRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %45) #5
  %47 = load ptr, ptr %46, align 8, !tbaa !5
  %48 = getelementptr inbounds %class.InfoRecord, ptr %47, i32 0, i32 1
  %49 = load i32, ptr %48, align 8, !tbaa !13
  store i32 %49, ptr %11, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !11
  br label %50

50:                                               ; preds = %85, %36
  %51 = load i32, ptr %12, align 4, !tbaa !11
  %52 = load i32, ptr %7, align 4, !tbaa !11
  %53 = icmp slt i32 %51, %52
  br i1 %53, label %55, label %54

54:                                               ; preds = %50
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %89

55:                                               ; preds = %50
  %56 = load i32, ptr %12, align 4, !tbaa !11
  %57 = load i32, ptr %8, align 4, !tbaa !11
  %58 = icmp eq i32 %56, %57
  br i1 %58, label %59, label %60

59:                                               ; preds = %55
  br label %85

60:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #5
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = load i32, ptr %12, align 4, !tbaa !11
  %63 = sext i32 %62 to i64
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP10InfoRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef %63) #5
  %65 = load ptr, ptr %64, align 8, !tbaa !5
  %66 = getelementptr inbounds %class.InfoRecord, ptr %65, i32 0, i32 3
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %66)
          to label %67 unwind label %76

67:                                               ; preds = %60
  %68 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  br i1 %68, label %69, label %84

69:                                               ; preds = %67
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = load i32, ptr %8, align 4, !tbaa !11
  %72 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  %73 = load i32, ptr %12, align 4, !tbaa !11
  %74 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %70, i32 noundef 5, ptr noundef @.str.52, i32 noundef %71, ptr noundef %72, i32 noundef %73, ptr noundef %74)
          to label %75 unwind label %80

75:                                               ; preds = %69
  store i8 1, ptr %6, align 1, !tbaa !9
  br label %84

76:                                               ; preds = %60
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %14, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %15, align 4
  br label %88

80:                                               ; preds = %69
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %14, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  br label %88

84:                                               ; preds = %75, %67
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #5
  br label %85

85:                                               ; preds = %84, %59
  %86 = load i32, ptr %12, align 4, !tbaa !11
  %87 = add nsw i32 %86, 1
  store i32 %87, ptr %12, align 4, !tbaa !11
  br label %50, !llvm.loop !20

88:                                               ; preds = %80, %76
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %278

89:                                               ; preds = %54
  %90 = load i32, ptr %11, align 4, !tbaa !19
  %91 = icmp eq i32 %90, -1
  br i1 %91, label %92, label %150

92:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %93 = load ptr, ptr %5, align 8, !tbaa !5
  %94 = load i32, ptr %8, align 4, !tbaa !11
  %95 = sext i32 %94 to i64
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP10InfoRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %93, i64 noundef %95) #5
  %97 = load ptr, ptr %96, align 8, !tbaa !5
  %98 = getelementptr inbounds %class.InfoRecordInt64, ptr %97, i64 0
  store ptr %98, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %99 = load ptr, ptr %16, align 8, !tbaa !5
  %100 = getelementptr inbounds %class.InfoRecordInt64, ptr %99, i32 0, i32 1
  %101 = load ptr, ptr %100, align 8, !tbaa !22
  store ptr %101, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %18, align 4, !tbaa !11
  br label %102

102:                                              ; preds = %146, %92
  %103 = load i32, ptr %18, align 4, !tbaa !11
  %104 = load i32, ptr %7, align 4, !tbaa !11
  %105 = icmp slt i32 %103, %104
  br i1 %105, label %107, label %106

106:                                              ; preds = %102
  store i32 8, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %149

107:                                              ; preds = %102
  %108 = load i32, ptr %18, align 4, !tbaa !11
  %109 = load i32, ptr %8, align 4, !tbaa !11
  %110 = icmp eq i32 %108, %109
  br i1 %110, label %111, label %112

111:                                              ; preds = %107
  br label %146

112:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = load i32, ptr %18, align 4, !tbaa !11
  %115 = sext i32 %114 to i64
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP10InfoRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %113, i64 noundef %115) #5
  %117 = load ptr, ptr %116, align 8, !tbaa !5
  %118 = getelementptr inbounds %class.InfoRecordInt64, ptr %117, i64 0
  store ptr %118, ptr %19, align 8, !tbaa !5
  %119 = load ptr, ptr %19, align 8, !tbaa !5
  %120 = getelementptr inbounds %class.InfoRecord, ptr %119, i32 0, i32 1
  %121 = load i32, ptr %120, align 8, !tbaa !13
  %122 = icmp eq i32 %121, -1
  br i1 %122, label %123, label %145

123:                                              ; preds = %112
  %124 = load ptr, ptr %19, align 8, !tbaa !5
  %125 = getelementptr inbounds %class.InfoRecordInt64, ptr %124, i32 0, i32 1
  %126 = load ptr, ptr %125, align 8, !tbaa !22
  %127 = load ptr, ptr %17, align 8, !tbaa !5
  %128 = icmp eq ptr %126, %127
  br i1 %128, label %129, label %144

129:                                              ; preds = %123
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  %131 = load i32, ptr %8, align 4, !tbaa !11
  %132 = load ptr, ptr %16, align 8, !tbaa !5
  %133 = getelementptr inbounds %class.InfoRecord, ptr %132, i32 0, i32 3
  %134 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %133) #5
  %135 = load i32, ptr %18, align 4, !tbaa !11
  %136 = load ptr, ptr %19, align 8, !tbaa !5
  %137 = getelementptr inbounds %class.InfoRecord, ptr %136, i32 0, i32 3
  %138 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %137) #5
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %130, i32 noundef 5, ptr noundef @.str.53, i32 noundef %131, ptr noundef %134, i32 noundef %135, ptr noundef %138)
          to label %139 unwind label %140

139:                                              ; preds = %129
  store i8 1, ptr %6, align 1, !tbaa !9
  br label %144

140:                                              ; preds = %129
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %14, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %278

144:                                              ; preds = %139, %123
  br label %145

145:                                              ; preds = %144, %112
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %146

146:                                              ; preds = %145, %111
  %147 = load i32, ptr %18, align 4, !tbaa !11
  %148 = add nsw i32 %147, 1
  store i32 %148, ptr %18, align 4, !tbaa !11
  br label %102, !llvm.loop !24

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

150:                                              ; preds = %89
  %151 = load i32, ptr %11, align 4, !tbaa !19
  %152 = icmp eq i32 %151, 1
  br i1 %152, label %153, label %211

153:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %154 = load ptr, ptr %5, align 8, !tbaa !5
  %155 = load i32, ptr %8, align 4, !tbaa !11
  %156 = sext i32 %155 to i64
  %157 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP10InfoRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %154, i64 noundef %156) #5
  %158 = load ptr, ptr %157, align 8, !tbaa !5
  %159 = getelementptr inbounds %class.InfoRecordInt, ptr %158, i64 0
  store ptr %159, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %160 = load ptr, ptr %20, align 8, !tbaa !5
  %161 = getelementptr inbounds %class.InfoRecordInt, ptr %160, i32 0, i32 2
  %162 = load ptr, ptr %161, align 8, !tbaa !25
  store ptr %162, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  store i32 0, ptr %22, align 4, !tbaa !11
  br label %163

163:                                              ; preds = %207, %153
  %164 = load i32, ptr %22, align 4, !tbaa !11
  %165 = load i32, ptr %7, align 4, !tbaa !11
  %166 = icmp slt i32 %164, %165
  br i1 %166, label %168, label %167

167:                                              ; preds = %163
  store i32 11, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  br label %210

168:                                              ; preds = %163
  %169 = load i32, ptr %22, align 4, !tbaa !11
  %170 = load i32, ptr %8, align 4, !tbaa !11
  %171 = icmp eq i32 %169, %170
  br i1 %171, label %172, label %173

172:                                              ; preds = %168
  br label %207

173:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %174 = load ptr, ptr %5, align 8, !tbaa !5
  %175 = load i32, ptr %22, align 4, !tbaa !11
  %176 = sext i32 %175 to i64
  %177 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP10InfoRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %174, i64 noundef %176) #5
  %178 = load ptr, ptr %177, align 8, !tbaa !5
  %179 = getelementptr inbounds %class.InfoRecordInt, ptr %178, i64 0
  store ptr %179, ptr %23, align 8, !tbaa !5
  %180 = load ptr, ptr %23, align 8, !tbaa !5
  %181 = getelementptr inbounds %class.InfoRecord, ptr %180, i32 0, i32 1
  %182 = load i32, ptr %181, align 8, !tbaa !13
  %183 = icmp eq i32 %182, 1
  br i1 %183, label %184, label %206

184:                                              ; preds = %173
  %185 = load ptr, ptr %23, align 8, !tbaa !5
  %186 = getelementptr inbounds %class.InfoRecordInt, ptr %185, i32 0, i32 2
  %187 = load ptr, ptr %186, align 8, !tbaa !25
  %188 = load ptr, ptr %21, align 8, !tbaa !5
  %189 = icmp eq ptr %187, %188
  br i1 %189, label %190, label %205

190:                                              ; preds = %184
  %191 = load ptr, ptr %4, align 8, !tbaa !5
  %192 = load i32, ptr %8, align 4, !tbaa !11
  %193 = load ptr, ptr %20, align 8, !tbaa !5
  %194 = getelementptr inbounds %class.InfoRecord, ptr %193, i32 0, i32 3
  %195 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %194) #5
  %196 = load i32, ptr %22, align 4, !tbaa !11
  %197 = load ptr, ptr %23, align 8, !tbaa !5
  %198 = getelementptr inbounds %class.InfoRecord, ptr %197, i32 0, i32 3
  %199 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %198) #5
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %191, i32 noundef 5, ptr noundef @.str.53, i32 noundef %192, ptr noundef %195, i32 noundef %196, ptr noundef %199)
          to label %200 unwind label %201

200:                                              ; preds = %190
  store i8 1, ptr %6, align 1, !tbaa !9
  br label %205

201:                                              ; preds = %190
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %14, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br label %278

205:                                              ; preds = %200, %184
  br label %206

206:                                              ; preds = %205, %173
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  br label %207

207:                                              ; preds = %206, %172
  %208 = load i32, ptr %22, align 4, !tbaa !11
  %209 = add nsw i32 %208, 1
  store i32 %209, ptr %22, align 4, !tbaa !11
  br label %163, !llvm.loop !27

210:                                              ; preds = %167
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br label %273

211:                                              ; preds = %150
  %212 = load i32, ptr %11, align 4, !tbaa !19
  %213 = icmp eq i32 %212, 2
  br i1 %213, label %214, label %272

214:                                              ; preds = %211
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %215 = load ptr, ptr %5, align 8, !tbaa !5
  %216 = load i32, ptr %8, align 4, !tbaa !11
  %217 = sext i32 %216 to i64
  %218 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP10InfoRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %215, i64 noundef %217) #5
  %219 = load ptr, ptr %218, align 8, !tbaa !5
  %220 = getelementptr inbounds %class.InfoRecordDouble, ptr %219, i64 0
  store ptr %220, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %221 = load ptr, ptr %24, align 8, !tbaa !5
  %222 = getelementptr inbounds %class.InfoRecordDouble, ptr %221, i32 0, i32 1
  %223 = load ptr, ptr %222, align 8, !tbaa !28
  store ptr %223, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  store i32 0, ptr %26, align 4, !tbaa !11
  br label %224

224:                                              ; preds = %268, %214
  %225 = load i32, ptr %26, align 4, !tbaa !11
  %226 = load i32, ptr %7, align 4, !tbaa !11
  %227 = icmp slt i32 %225, %226
  br i1 %227, label %229, label %228

228:                                              ; preds = %224
  store i32 14, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  br label %271

229:                                              ; preds = %224
  %230 = load i32, ptr %26, align 4, !tbaa !11
  %231 = load i32, ptr %8, align 4, !tbaa !11
  %232 = icmp eq i32 %230, %231
  br i1 %232, label %233, label %234

233:                                              ; preds = %229
  br label %268

234:                                              ; preds = %229
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %235 = load ptr, ptr %5, align 8, !tbaa !5
  %236 = load i32, ptr %26, align 4, !tbaa !11
  %237 = sext i32 %236 to i64
  %238 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP10InfoRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %235, i64 noundef %237) #5
  %239 = load ptr, ptr %238, align 8, !tbaa !5
  %240 = getelementptr inbounds %class.InfoRecordDouble, ptr %239, i64 0
  store ptr %240, ptr %27, align 8, !tbaa !5
  %241 = load ptr, ptr %27, align 8, !tbaa !5
  %242 = getelementptr inbounds %class.InfoRecord, ptr %241, i32 0, i32 1
  %243 = load i32, ptr %242, align 8, !tbaa !13
  %244 = icmp eq i32 %243, 2
  br i1 %244, label %245, label %267

245:                                              ; preds = %234
  %246 = load ptr, ptr %27, align 8, !tbaa !5
  %247 = getelementptr inbounds %class.InfoRecordDouble, ptr %246, i32 0, i32 1
  %248 = load ptr, ptr %247, align 8, !tbaa !28
  %249 = load ptr, ptr %25, align 8, !tbaa !5
  %250 = icmp eq ptr %248, %249
  br i1 %250, label %251, label %266

251:                                              ; preds = %245
  %252 = load ptr, ptr %4, align 8, !tbaa !5
  %253 = load i32, ptr %8, align 4, !tbaa !11
  %254 = load ptr, ptr %24, align 8, !tbaa !5
  %255 = getelementptr inbounds %class.InfoRecord, ptr %254, i32 0, i32 3
  %256 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %255) #5
  %257 = load i32, ptr %26, align 4, !tbaa !11
  %258 = load ptr, ptr %27, align 8, !tbaa !5
  %259 = getelementptr inbounds %class.InfoRecord, ptr %258, i32 0, i32 3
  %260 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %259) #5
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %252, i32 noundef 5, ptr noundef @.str.53, i32 noundef %253, ptr noundef %256, i32 noundef %257, ptr noundef %260)
          to label %261 unwind label %262

261:                                              ; preds = %251
  store i8 1, ptr %6, align 1, !tbaa !9
  br label %266

262:                                              ; preds = %251
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %14, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %278

266:                                              ; preds = %261, %245
  br label %267

267:                                              ; preds = %266, %234
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  br label %268

268:                                              ; preds = %267, %233
  %269 = load i32, ptr %26, align 4, !tbaa !11
  %270 = add nsw i32 %269, 1
  store i32 %270, ptr %26, align 4, !tbaa !11
  br label %224, !llvm.loop !31

271:                                              ; preds = %228
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %272

272:                                              ; preds = %271, %211
  br label %273

273:                                              ; preds = %272, %210
  br label %274

274:                                              ; preds = %273, %149
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #5
  br label %275

275:                                              ; preds = %274
  %276 = load i32, ptr %8, align 4, !tbaa !11
  %277 = add nsw i32 %276, 1
  store i32 %277, ptr %8, align 4, !tbaa !11
  br label %31, !llvm.loop !32

278:                                              ; preds = %262, %201, %140, %88
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #5
  br label %287

279:                                              ; preds = %35
  %280 = load i8, ptr %6, align 1, !tbaa !9, !range !33, !noundef !34
  %281 = trunc i8 %280 to i1
  br i1 %281, label %282, label %283

282:                                              ; preds = %279
  store i32 2, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %285

283:                                              ; preds = %279
  %284 = load ptr, ptr %4, align 8, !tbaa !5
  call void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %284, i32 noundef 1, ptr noundef @.str.54)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %285

285:                                              ; preds = %283, %282
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #5
  %286 = load i32, ptr %3, align 4
  ret i32 %286

287:                                              ; preds = %278
  %288 = load ptr, ptr %14, align 8
  %289 = load i32, ptr %15, align 4
  %290 = insertvalue { ptr, i32 } poison, ptr %288, 0
  %291 = insertvalue { ptr, i32 } %290, i32 %289, 1
  resume { ptr, i32 } %291
}

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 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 = { 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 #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 = { 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 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !15, i64 8}
!14 = !{!"_ZTS10InfoRecord", !15, i64 8, !16, i64 16, !16, i64 48, !10, i64 80}
!15 = !{!"_ZTS13HighsInfoType", !7, i64 0}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !17, i64 0, !18, i64 8, !7, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!15, !15, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!23, !6, i64 88}
!23 = !{!"_ZTS15InfoRecordInt64", !14, i64 0, !6, i64 88, !18, i64 96}
!24 = distinct !{!24, !21}
!25 = !{!26, !6, i64 88}
!26 = !{!"_ZTS13InfoRecordInt", !14, i64 0, !6, i64 88, !12, i64 96}
!27 = distinct !{!27, !21}
!28 = !{!29, !6, i64 88}
!29 = !{!"_ZTS16InfoRecordDouble", !14, i64 0, !6, i64 88, !30, i64 96}
!30 = !{!"double", !7, i64 0}
!31 = distinct !{!31, !21}
!32 = distinct !{!32, !21}
!33 = !{i8 0, i8 2}
!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::__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] }

@.str.52 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [24 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 nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIP10InfoRecordSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

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

declare void @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89), i32 noundef, ptr noundef, ...) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 3) i32 @_Z9checkInfoRK15HighsLogOptionsRKSt6vectorIP10InfoRecordSaIS4_EE(ptr noundef nonnull align 8 dereferenceable(89) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = tail call noundef i64 @_ZNKSt6vectorIP10InfoRecordSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  %6 = trunc i64 %5 to i32
  %7 = icmp sgt i32 %6, 0
  br i1 %7, label %.lr.ph127, label %.critedge

.lr.ph127:                                        ; preds = %2
  %wide.trip.count146 = and i64 %5, 2147483647
  br label %.lr.ph.preheader

._crit_edge128:                                   ; preds = %.loopexit
  br i1 %.13, label %113, label %.critedge

.lr.ph.preheader:                                 ; preds = %.loopexit, %.lr.ph127
  %indvars.iv144 = phi i64 [ 0, %.lr.ph127 ], [ %indvars.iv.next145, %.loopexit ]
  %.080125 = phi i1 [ false, %.lr.ph127 ], [ %.13, %.loopexit ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5
  %8 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP10InfoRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv144) #5
  %9 = load ptr, ptr %8, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %9, i64 16
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %10)
  %11 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP10InfoRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv144) #5
  %12 = load ptr, ptr %11, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %12, i64 8
  %14 = load i32, ptr %13, align 8, !tbaa !9
  %15 = trunc nuw nsw i64 %indvars.iv144 to i32
  br label %.lr.ph

._crit_edge:                                      ; preds = %32
  switch i32 %14, label %.loopexit [
    i32 -1, label %.lr.ph121
    i32 1, label %.lr.ph116
    i32 2, label %.lr.ph111
  ]

.lr.ph:                                           ; preds = %.lr.ph.preheader, %32
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %32 ]
  %.1107 = phi i1 [ %.080125, %.lr.ph.preheader ], [ %.3, %32 ]
  %16 = icmp eq i64 %indvars.iv, %indvars.iv144
  br i1 %16, label %32, label %17

17:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #5
  %18 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP10InfoRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv) #5
  %19 = load ptr, ptr %18, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %19, i64 16
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %21 unwind label %27

21:                                               ; preds = %17
  %22 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  br i1 %22, label %23, label %31

23:                                               ; preds = %21
  %24 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  %25 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  %26 = trunc nuw nsw i64 %indvars.iv to i32
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 5, ptr noundef nonnull @.str.52, i32 noundef %15, ptr noundef %24, i32 noundef %26, ptr noundef %25)
          to label %31 unwind label %29

27:                                               ; preds = %17
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %33

29:                                               ; preds = %23
  %30 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  br label %33

31:                                               ; preds = %23, %21
  %.2 = phi i1 [ %.1107, %21 ], [ true, %23 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #5
  br label %32

32:                                               ; preds = %.lr.ph, %31
  %.3 = phi i1 [ %.1107, %.lr.ph ], [ %.2, %31 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count146
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !16

33:                                               ; preds = %29, %27
  %.pn = phi { ptr, i32 } [ %30, %29 ], [ %28, %27 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #5
  br label %112

.lr.ph121:                                        ; preds = %._crit_edge
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP10InfoRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv144) #5
  %35 = load ptr, ptr %34, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %35, i64 88
  %37 = load ptr, ptr %36, align 8, !tbaa !18
  %38 = getelementptr inbounds i8, ptr %35, i64 16
  %39 = trunc nuw nsw i64 %indvars.iv144 to i32
  br label %40

40:                                               ; preds = %.lr.ph121, %59
  %indvars.iv140 = phi i64 [ 0, %.lr.ph121 ], [ %indvars.iv.next141, %59 ]
  %.4119 = phi i1 [ %.3, %.lr.ph121 ], [ %.6, %59 ]
  %41 = icmp eq i64 %indvars.iv140, %indvars.iv144
  br i1 %41, label %59, label %42

42:                                               ; preds = %40
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP10InfoRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv140) #5
  %44 = load ptr, ptr %43, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %44, i64 8
  %46 = load i32, ptr %45, align 8, !tbaa !9
  %47 = icmp eq i32 %46, -1
  br i1 %47, label %48, label %59

48:                                               ; preds = %42
  %49 = getelementptr inbounds i8, ptr %44, i64 88
  %50 = load ptr, ptr %49, align 8, !tbaa !18
  %51 = icmp eq ptr %50, %37
  br i1 %51, label %52, label %59

52:                                               ; preds = %48
  %53 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %38) #5
  %54 = getelementptr inbounds i8, ptr %44, i64 16
  %55 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %54) #5
  %56 = trunc nuw nsw i64 %indvars.iv140 to i32
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 5, ptr noundef nonnull @.str.53, i32 noundef %39, ptr noundef %53, i32 noundef %56, ptr noundef %55)
          to label %59 unwind label %57

57:                                               ; preds = %52
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %112

59:                                               ; preds = %42, %48, %52, %40
  %.6 = phi i1 [ %.4119, %40 ], [ %.4119, %48 ], [ %.4119, %42 ], [ true, %52 ]
  %indvars.iv.next141 = add nuw nsw i64 %indvars.iv140, 1
  %exitcond143.not = icmp eq i64 %indvars.iv.next141, %wide.trip.count146
  br i1 %exitcond143.not, label %.loopexit, label %40, !llvm.loop !20

.lr.ph116:                                        ; preds = %._crit_edge
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP10InfoRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv144) #5
  %61 = load ptr, ptr %60, align 8, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %61, i64 88
  %63 = load ptr, ptr %62, align 8, !tbaa !21
  %64 = getelementptr inbounds i8, ptr %61, i64 16
  %65 = trunc nuw nsw i64 %indvars.iv144 to i32
  br label %66

66:                                               ; preds = %.lr.ph116, %85
  %indvars.iv136 = phi i64 [ 0, %.lr.ph116 ], [ %indvars.iv.next137, %85 ]
  %.7114 = phi i1 [ %.3, %.lr.ph116 ], [ %.9, %85 ]
  %67 = icmp eq i64 %indvars.iv136, %indvars.iv144
  br i1 %67, label %85, label %68

68:                                               ; preds = %66
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP10InfoRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv136) #5
  %70 = load ptr, ptr %69, align 8, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %70, i64 8
  %72 = load i32, ptr %71, align 8, !tbaa !9
  %73 = icmp eq i32 %72, 1
  br i1 %73, label %74, label %85

74:                                               ; preds = %68
  %75 = getelementptr inbounds i8, ptr %70, i64 88
  %76 = load ptr, ptr %75, align 8, !tbaa !21
  %77 = icmp eq ptr %76, %63
  br i1 %77, label %78, label %85

78:                                               ; preds = %74
  %79 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %64) #5
  %80 = getelementptr inbounds i8, ptr %70, i64 16
  %81 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %80) #5
  %82 = trunc nuw nsw i64 %indvars.iv136 to i32
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 5, ptr noundef nonnull @.str.53, i32 noundef %65, ptr noundef %79, i32 noundef %82, ptr noundef %81)
          to label %85 unwind label %83

83:                                               ; preds = %78
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %112

85:                                               ; preds = %68, %74, %78, %66
  %.9 = phi i1 [ %.7114, %66 ], [ %.7114, %74 ], [ %.7114, %68 ], [ true, %78 ]
  %indvars.iv.next137 = add nuw nsw i64 %indvars.iv136, 1
  %exitcond139.not = icmp eq i64 %indvars.iv.next137, %wide.trip.count146
  br i1 %exitcond139.not, label %.loopexit, label %66, !llvm.loop !24

.lr.ph111:                                        ; preds = %._crit_edge
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP10InfoRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv144) #5
  %87 = load ptr, ptr %86, align 8, !tbaa !5
  %88 = getelementptr inbounds i8, ptr %87, i64 88
  %89 = load ptr, ptr %88, align 8, !tbaa !25
  %90 = getelementptr inbounds i8, ptr %87, i64 16
  %91 = trunc nuw nsw i64 %indvars.iv144 to i32
  br label %92

92:                                               ; preds = %.lr.ph111, %111
  %indvars.iv132 = phi i64 [ 0, %.lr.ph111 ], [ %indvars.iv.next133, %111 ]
  %.10108 = phi i1 [ %.3, %.lr.ph111 ], [ %.12, %111 ]
  %93 = icmp eq i64 %indvars.iv132, %indvars.iv144
  br i1 %93, label %111, label %94

94:                                               ; preds = %92
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP10InfoRecordSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv132) #5
  %96 = load ptr, ptr %95, align 8, !tbaa !5
  %97 = getelementptr inbounds i8, ptr %96, i64 8
  %98 = load i32, ptr %97, align 8, !tbaa !9
  %99 = icmp eq i32 %98, 2
  br i1 %99, label %100, label %111

100:                                              ; preds = %94
  %101 = getelementptr inbounds i8, ptr %96, i64 88
  %102 = load ptr, ptr %101, align 8, !tbaa !25
  %103 = icmp eq ptr %102, %89
  br i1 %103, label %104, label %111

104:                                              ; preds = %100
  %105 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %90) #5
  %106 = getelementptr inbounds i8, ptr %96, i64 16
  %107 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %106) #5
  %108 = trunc nuw nsw i64 %indvars.iv132 to i32
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 5, ptr noundef nonnull @.str.53, i32 noundef %91, ptr noundef %105, i32 noundef %108, ptr noundef %107)
          to label %111 unwind label %109

109:                                              ; preds = %104
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %112

111:                                              ; preds = %94, %100, %104, %92
  %.12 = phi i1 [ %.10108, %92 ], [ %.10108, %100 ], [ %.10108, %94 ], [ true, %104 ]
  %indvars.iv.next133 = add nuw nsw i64 %indvars.iv132, 1
  %exitcond135.not = icmp eq i64 %indvars.iv.next133, %wide.trip.count146
  br i1 %exitcond135.not, label %.loopexit, label %92, !llvm.loop !28

.loopexit:                                        ; preds = %111, %85, %59, %._crit_edge
  %.13 = phi i1 [ %.3, %._crit_edge ], [ %.6, %59 ], [ %.9, %85 ], [ %.12, %111 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  %indvars.iv.next145 = add nuw nsw i64 %indvars.iv144, 1
  %exitcond147.not = icmp eq i64 %indvars.iv.next145, %wide.trip.count146
  br i1 %exitcond147.not, label %._crit_edge128, label %.lr.ph.preheader, !llvm.loop !29

112:                                              ; preds = %109, %83, %57, %33
  %.pn.pn = phi { ptr, i32 } [ %.pn, %33 ], [ %58, %57 ], [ %84, %83 ], [ %110, %109 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  resume { ptr, i32 } %.pn.pn

.critedge:                                        ; preds = %2, %._crit_edge128
  call void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 1, ptr noundef nonnull @.str.54)
  br label %113

113:                                              ; preds = %._crit_edge128, %.critedge
  %.0 = phi i32 [ 0, %.critedge ], [ 2, %._crit_edge128 ]
  ret i32 %.0
}

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

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 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 = { "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 = { 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 8}
!10 = !{!"_ZTS10InfoRecord", !11, i64 8, !12, i64 16, !12, i64 48, !15, i64 80}
!11 = !{!"_ZTS13HighsInfoType", !7, i64 0}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !13, i64 0, !14, i64 8, !7, i64 16}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !6, i64 88}
!19 = !{!"_ZTS15InfoRecordInt64", !10, i64 0, !6, i64 88, !14, i64 96}
!20 = distinct !{!20, !17}
!21 = !{!22, !6, i64 88}
!22 = !{!"_ZTS13InfoRecordInt", !10, i64 0, !6, i64 88, !23, i64 96}
!23 = !{!"int", !7, i64 0}
!24 = distinct !{!24, !17}
!25 = !{!26, !6, i64 88}
!26 = !{!"_ZTS16InfoRecordDouble", !10, i64 0, !6, i64 88, !27, i64 96}
!27 = !{!"double", !7, i64 0}
!28 = distinct !{!28, !17}
!29 = distinct !{!29, !17}


; Effective O3 passes: AggressiveInstCombinePass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass