; LLVM IR from ERGO-Code/HiGHS :: src/mip/HighsMipAnalysis.ll (ZN16HighsMipAnalysis21reportMipSolveLpClockEb)

; 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.HighsMipAnalysis = type { ptr, %"class.std::__cxx11::basic_string", %struct.HighsTimerClock, i8, %"class.std::vector", %"class.std::vector" }
%"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] }
%struct.HighsTimerClock = type { ptr, %"class.std::vector.3" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.HighsTimer = type <{ ptr, double, i32, [4 x i8], %"class.std::vector.3", %"class.std::vector", %"class.std::vector", %"class.std::vector.8", i32, i32, i32, [4 x i8] }>
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.53 = external hidden unnamed_addr constant [133 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [169 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

declare i32 @printf(ptr noundef, ...) #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN16HighsMipAnalysis21reportMipSolveLpClockEb(ptr noundef nonnull align 8 dereferenceable(128) %0, i1 noundef zeroext %1) #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca i8, align 1
  %5 = alloca double, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %22 = zext i1 %1 to i8
  store i8 %22, ptr %4, align 1, !tbaa !9
  %23 = load ptr, ptr %3, align 8
  %24 = load i8, ptr %4, align 1, !tbaa !9, !range !11, !noundef !12
  %25 = trunc i8 %24 to i1
  br i1 %25, label %26, label %28

26:                                               ; preds = %2
  %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.53)
  br label %148

28:                                               ; preds = %2
  %29 = getelementptr inbounds %class.HighsMipAnalysis, ptr %23, i32 0, i32 3
  %30 = load i8, ptr %29, align 8, !tbaa !13, !range !11, !noundef !12
  %31 = trunc i8 %30 to i1
  br i1 %31, label %33, label %32

32:                                               ; preds = %28
  br label %148

33:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %34 = getelementptr inbounds %class.HighsMipAnalysis, ptr %23, i32 0, i32 2
  %35 = getelementptr inbounds %struct.HighsTimerClock, ptr %34, i32 0, i32 0
  %36 = load ptr, ptr %35, align 8, !tbaa !27
  %37 = call noundef double @_ZNK10HighsTimer4readEi(ptr noundef nonnull align 8 dereferenceable(132) %36, i32 noundef 0)
  store double %37, ptr %5, align 8, !tbaa !28
  %38 = load double, ptr %5, align 8, !tbaa !28
  %39 = fcmp olt double %38, 1.000000e-02
  br i1 %39, label %40, label %41

40:                                               ; preds = %33
  store i32 1, ptr %6, align 4
  br label %146

41:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %42 = getelementptr inbounds %class.HighsMipAnalysis, ptr %23, i32 0, i32 2
  %43 = getelementptr inbounds %struct.HighsTimerClock, ptr %42, i32 0, i32 1
  %44 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef 57) #4
  %45 = load i32, ptr %44, align 4, !tbaa !30
  store i32 %45, ptr %7, align 4, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %46 = getelementptr inbounds %class.HighsMipAnalysis, ptr %23, i32 0, i32 2
  %47 = getelementptr inbounds %struct.HighsTimerClock, ptr %46, i32 0, i32 1
  %48 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef 58) #4
  %49 = load i32, ptr %48, align 4, !tbaa !30
  store i32 %49, ptr %8, align 4, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %50 = getelementptr inbounds %class.HighsMipAnalysis, ptr %23, i32 0, i32 2
  %51 = getelementptr inbounds %struct.HighsTimerClock, ptr %50, i32 0, i32 1
  %52 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef 59) #4
  %53 = load i32, ptr %52, align 4, !tbaa !30
  store i32 %53, ptr %9, align 4, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %54 = getelementptr inbounds %class.HighsMipAnalysis, ptr %23, i32 0, i32 2
  %55 = getelementptr inbounds %struct.HighsTimerClock, ptr %54, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8, !tbaa !27
  %57 = getelementptr inbounds %class.HighsTimer, ptr %56, i32 0, i32 4
  %58 = load i32, ptr %7, align 4, !tbaa !30
  %59 = sext i32 %58 to i64
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %57, i64 noundef %59) #4
  %61 = load i32, ptr %60, align 4, !tbaa !30
  store i32 %61, ptr %10, align 4, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %62 = getelementptr inbounds %class.HighsMipAnalysis, ptr %23, i32 0, i32 2
  %63 = getelementptr inbounds %struct.HighsTimerClock, ptr %62, i32 0, i32 0
  %64 = load ptr, ptr %63, align 8, !tbaa !27
  %65 = getelementptr inbounds %class.HighsTimer, ptr %64, i32 0, i32 4
  %66 = load i32, ptr %8, align 4, !tbaa !30
  %67 = sext i32 %66 to i64
  %68 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %67) #4
  %69 = load i32, ptr %68, align 4, !tbaa !30
  store i32 %69, ptr %11, align 4, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %70 = getelementptr inbounds %class.HighsMipAnalysis, ptr %23, i32 0, i32 2
  %71 = getelementptr inbounds %struct.HighsTimerClock, ptr %70, i32 0, i32 0
  %72 = load ptr, ptr %71, align 8, !tbaa !27
  %73 = getelementptr inbounds %class.HighsTimer, ptr %72, i32 0, i32 4
  %74 = load i32, ptr %9, align 4, !tbaa !30
  %75 = sext i32 %74 to i64
  %76 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef %75) #4
  %77 = load i32, ptr %76, align 4, !tbaa !30
  store i32 %77, ptr %12, align 4, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %78 = load i32, ptr %10, align 4, !tbaa !30
  %79 = load i32, ptr %11, align 4, !tbaa !30
  %80 = add nsw i32 %78, %79
  store i32 %80, ptr %13, align 4, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %81 = getelementptr inbounds %class.HighsMipAnalysis, ptr %23, i32 0, i32 2
  %82 = getelementptr inbounds %struct.HighsTimerClock, ptr %81, i32 0, i32 0
  %83 = load ptr, ptr %82, align 8, !tbaa !27
  %84 = load i32, ptr %7, align 4, !tbaa !30
  %85 = call noundef double @_ZNK10HighsTimer4readEi(ptr noundef nonnull align 8 dereferenceable(132) %83, i32 noundef %84)
  store double %85, ptr %14, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %86 = getelementptr inbounds %class.HighsMipAnalysis, ptr %23, i32 0, i32 2
  %87 = getelementptr inbounds %struct.HighsTimerClock, ptr %86, i32 0, i32 0
  %88 = load ptr, ptr %87, align 8, !tbaa !27
  %89 = load i32, ptr %8, align 4, !tbaa !30
  %90 = call noundef double @_ZNK10HighsTimer4readEi(ptr noundef nonnull align 8 dereferenceable(132) %88, i32 noundef %89)
  store double %90, ptr %15, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %91 = load double, ptr %14, align 8, !tbaa !28
  %92 = load double, ptr %15, align 8, !tbaa !28
  %93 = fadd double %91, %92
  store double %93, ptr %16, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %94 = getelementptr inbounds %class.HighsMipAnalysis, ptr %23, i32 0, i32 2
  %95 = getelementptr inbounds %struct.HighsTimerClock, ptr %94, i32 0, i32 0
  %96 = load ptr, ptr %95, align 8, !tbaa !27
  %97 = load i32, ptr %9, align 4, !tbaa !30
  %98 = call noundef double @_ZNK10HighsTimer4readEi(ptr noundef nonnull align 8 dereferenceable(132) %96, i32 noundef %97)
  store double %98, ptr %17, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %99 = load double, ptr %16, align 8, !tbaa !28
  %100 = load double, ptr %5, align 8, !tbaa !28
  %101 = fdiv double %99, %100
  store double %101, ptr %18, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %102 = load double, ptr %17, align 8, !tbaa !28
  %103 = load double, ptr %5, align 8, !tbaa !28
  %104 = fdiv double %102, %103
  store double %104, ptr %19, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %105 = load i32, ptr %10, align 4, !tbaa !30
  %106 = icmp sgt i32 %105, 0
  br i1 %106, label %107, label %112

107:                                              ; preds = %41
  %108 = load double, ptr %14, align 8, !tbaa !28
  %109 = load i32, ptr %10, align 4, !tbaa !30
  %110 = sitofp i32 %109 to double
  %111 = fdiv double %108, %110
  br label %113

112:                                              ; preds = %41
  br label %113

113:                                              ; preds = %112, %107
  %114 = phi double [ %111, %107 ], [ 0.000000e+00, %112 ]
  store double %114, ptr %20, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  %115 = load i32, ptr %11, align 4, !tbaa !30
  %116 = icmp sgt i32 %115, 0
  br i1 %116, label %117, label %122

117:                                              ; preds = %113
  %118 = load double, ptr %15, align 8, !tbaa !28
  %119 = load i32, ptr %11, align 4, !tbaa !30
  %120 = sitofp i32 %119 to double
  %121 = fdiv double %118, %120
  br label %123

122:                                              ; preds = %113
  br label %123

123:                                              ; preds = %122, %117
  %124 = phi double [ %121, %117 ], [ 0.000000e+00, %122 ]
  store double %124, ptr %21, align 8, !tbaa !28
  %125 = load double, ptr %16, align 8, !tbaa !28
  %126 = load double, ptr %17, align 8, !tbaa !28
  %127 = load i32, ptr %13, align 4, !tbaa !30
  %128 = load i32, ptr %12, align 4, !tbaa !30
  %129 = load double, ptr %18, align 8, !tbaa !28
  %130 = load double, ptr %19, align 8, !tbaa !28
  %131 = load i32, ptr %11, align 4, !tbaa !30
  %132 = load double, ptr %20, align 8, !tbaa !28
  %133 = load double, ptr %21, align 8, !tbaa !28
  %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.54, double noundef %125, double noundef %126, i32 noundef %127, i32 noundef %128, double noundef %129, double noundef %130, i32 noundef %131, double noundef %132, double noundef %133)
  %135 = load i32, ptr %13, align 4, !tbaa !30
  %136 = load i32, ptr %12, align 4, !tbaa !30
  %137 = add nsw i32 %135, %136
  %138 = load i32, ptr %13, align 4, !tbaa !30
  %139 = load double, ptr %16, align 8, !tbaa !28
  %140 = load i32, ptr %12, align 4, !tbaa !30
  %141 = load double, ptr %17, align 8, !tbaa !28
  %142 = load i32, ptr %11, align 4, !tbaa !30
  %143 = load double, ptr %20, align 8, !tbaa !28
  %144 = load double, ptr %21, align 8, !tbaa !28
  %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.55, i32 noundef %137, i32 noundef %138, double noundef %139, i32 noundef %140, double noundef %141, i32 noundef %142, double noundef %143, double noundef %144)
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  store i32 0, ptr %6, align 4
  br label %146

146:                                              ; preds = %123, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  %147 = load i32, ptr %6, align 4
  switch i32 %147, label %149 [
    i32 0, label %148
    i32 1, label %148
  ]

148:                                              ; preds = %146, %146, %32, %26
  ret void

149:                                              ; preds = %146
  unreachable
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !10, i64 72}
!14 = !{!"_ZTS16HighsMipAnalysis", !6, i64 0, !15, i64 8, !18, i64 40, !10, i64 72, !23, i64 80, !23, i64 104}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !16, i64 0, !17, i64 8, !7, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTS15HighsTimerClock", !6, i64 0, !19, i64 8}
!19 = !{!"_ZTSSt6vectorIiSaIiEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSSt6vectorIdSaIdEE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!14, !6, i64 40}
!28 = !{!29, !29, i64 0}
!29 = !{!"double", !7, i64 0}
!30 = !{!31, !31, i64 0}
!31 = !{!"int", !7, i64 0}


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

@.str.53 = external hidden unnamed_addr constant [133 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [169 x i8], align 1

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZNK10HighsTimer4readEi(ptr noundef nonnull align 8 dereferenceable(132), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN16HighsMipAnalysis21reportMipSolveLpClockEb(ptr noundef nonnull align 8 dereferenceable(128) %0, i1 noundef zeroext %1) local_unnamed_addr #1 align 2 {
  br i1 %1, label %3, label %5

3:                                                ; preds = %2
  %4 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.53)
  br label %58

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %0, i64 72
  %7 = load i8, ptr %6, align 8, !tbaa !5, !range !23, !noundef !24
  %8 = trunc nuw i8 %7 to i1
  br i1 %8, label %9, label %58

9:                                                ; preds = %5
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  %11 = load ptr, ptr %10, align 8, !tbaa !25
  %12 = tail call noundef double @_ZNK10HighsTimer4readEi(ptr noundef nonnull align 8 dereferenceable(132) %11, i32 noundef 0)
  %13 = fcmp olt double %12, 1.000000e-02
  br i1 %13, label %58, label %14

14:                                               ; preds = %9
  %15 = getelementptr inbounds i8, ptr %0, i64 48
  %16 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef 57) #3
  %17 = load i32, ptr %16, align 4, !tbaa !26
  %18 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef 58) #3
  %19 = load i32, ptr %18, align 4, !tbaa !26
  %20 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef 59) #3
  %21 = load i32, ptr %20, align 4, !tbaa !26
  %22 = load ptr, ptr %10, align 8, !tbaa !25
  %23 = getelementptr inbounds i8, ptr %22, i64 24
  %24 = sext i32 %17 to i64
  %25 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %24) #3
  %26 = load i32, ptr %25, align 4, !tbaa !26
  %27 = load ptr, ptr %10, align 8, !tbaa !25
  %28 = getelementptr inbounds i8, ptr %27, i64 24
  %29 = sext i32 %19 to i64
  %30 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %29) #3
  %31 = load i32, ptr %30, align 4, !tbaa !26
  %32 = load ptr, ptr %10, align 8, !tbaa !25
  %33 = getelementptr inbounds i8, ptr %32, i64 24
  %34 = sext i32 %21 to i64
  %35 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %34) #3
  %36 = load i32, ptr %35, align 4, !tbaa !26
  %37 = add nsw i32 %31, %26
  %38 = load ptr, ptr %10, align 8, !tbaa !25
  %39 = tail call noundef double @_ZNK10HighsTimer4readEi(ptr noundef nonnull align 8 dereferenceable(132) %38, i32 noundef %17)
  %40 = load ptr, ptr %10, align 8, !tbaa !25
  %41 = tail call noundef double @_ZNK10HighsTimer4readEi(ptr noundef nonnull align 8 dereferenceable(132) %40, i32 noundef %19)
  %42 = fadd double %39, %41
  %43 = load ptr, ptr %10, align 8, !tbaa !25
  %44 = tail call noundef double @_ZNK10HighsTimer4readEi(ptr noundef nonnull align 8 dereferenceable(132) %43, i32 noundef %21)
  %45 = fdiv double %42, %12
  %46 = fdiv double %44, %12
  %47 = icmp sgt i32 %26, 0
  %48 = sitofp i32 %26 to double
  %49 = fdiv double %39, %48
  %50 = select i1 %47, double %49, double 0.000000e+00
  %51 = icmp sgt i32 %31, 0
  %52 = sitofp i32 %31 to double
  %53 = fdiv double %41, %52
  %54 = select i1 %51, double %53, double 0.000000e+00
  %55 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.54, double noundef %42, double noundef %44, i32 noundef %37, i32 noundef %36, double noundef %45, double noundef %46, i32 noundef %31, double noundef %50, double noundef %54)
  %56 = add nsw i32 %36, %37
  %57 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.55, i32 noundef %56, i32 noundef %37, double noundef %42, i32 noundef %36, double noundef %44, i32 noundef %31, double noundef %50, double noundef %54)
  br label %58

58:                                               ; preds = %14, %9, %5, %3
  ret void
}

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

attributes #0 = { nofree 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 #1 = { 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 #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 = { 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, !18, i64 72}
!6 = !{!"_ZTS16HighsMipAnalysis", !7, i64 0, !10, i64 8, !13, i64 40, !18, i64 72, !19, i64 80, !19, i64 104}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !11, i64 0, !12, i64 8, !8, i64 16}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !7, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_ZTS15HighsTimerClock", !7, i64 0, !14, i64 8}
!14 = !{!"_ZTSSt6vectorIiSaIiEE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!18 = !{!"bool", !8, i64 0}
!19 = !{!"_ZTSSt6vectorIdSaIdEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!6, !7, i64 40}
!26 = !{!27, !27, i64 0}
!27 = !{!"int", !8, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass