; LLVM IR from ERGO-Code/HiGHS :: src/lp_data (HighsModelUtils)

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

@.str.53 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [31 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: mustprogress uwtable
define dso_local void @_Z18analyseModelBoundsRK15HighsLogOptionsPKciRKSt6vectorIdSaIdEES8_(ptr noundef nonnull align 8 dereferenceable(89) %0, ptr noundef %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4) #1 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  %17 = load i32, ptr %8, align 4, !tbaa !9
  %18 = icmp eq i32 %17, 0
  br i1 %18, label %19, label %20

19:                                               ; preds = %5
  br label %145

20:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %21

21:                                               ; preds = %79, %20
  %22 = load i32, ptr %16, align 4, !tbaa !9
  %23 = load i32, ptr %8, align 4, !tbaa !9
  %24 = icmp slt i32 %22, %23
  br i1 %24, label %26, label %25

25:                                               ; preds = %21
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %82

26:                                               ; preds = %21
  %27 = load ptr, ptr %9, align 8, !tbaa !5
  %28 = load i32, ptr %16, align 4, !tbaa !9
  %29 = sext i32 %28 to i64
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %29) #4
  %31 = load double, ptr %30, align 8, !tbaa !11
  %32 = fneg double %31
  %33 = call noundef zeroext i1 @_Z16highs_isInfinityd(double noundef %32)
  br i1 %33, label %34, label %48

34:                                               ; preds = %26
  %35 = load ptr, ptr %10, align 8, !tbaa !5
  %36 = load i32, ptr %16, align 4, !tbaa !9
  %37 = sext i32 %36 to i64
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %37) #4
  %39 = load double, ptr %38, align 8, !tbaa !11
  %40 = call noundef zeroext i1 @_Z16highs_isInfinityd(double noundef %39)
  br i1 %40, label %41, label %44

41:                                               ; preds = %34
  %42 = load i32, ptr %11, align 4, !tbaa !9
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %11, align 4, !tbaa !9
  br label %47

44:                                               ; preds = %34
  %45 = load i32, ptr %13, align 4, !tbaa !9
  %46 = add nsw i32 %45, 1
  store i32 %46, ptr %13, align 4, !tbaa !9
  br label %47

47:                                               ; preds = %44, %41
  br label %78

48:                                               ; preds = %26
  %49 = load ptr, ptr %10, align 8, !tbaa !5
  %50 = load i32, ptr %16, align 4, !tbaa !9
  %51 = sext i32 %50 to i64
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %51) #4
  %53 = load double, ptr %52, align 8, !tbaa !11
  %54 = call noundef zeroext i1 @_Z16highs_isInfinityd(double noundef %53)
  br i1 %54, label %55, label %58

55:                                               ; preds = %48
  %56 = load i32, ptr %12, align 4, !tbaa !9
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %12, align 4, !tbaa !9
  br label %77

58:                                               ; preds = %48
  %59 = load ptr, ptr %9, align 8, !tbaa !5
  %60 = load i32, ptr %16, align 4, !tbaa !9
  %61 = sext i32 %60 to i64
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %61) #4
  %63 = load double, ptr %62, align 8, !tbaa !11
  %64 = load ptr, ptr %10, align 8, !tbaa !5
  %65 = load i32, ptr %16, align 4, !tbaa !9
  %66 = sext i32 %65 to i64
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %64, i64 noundef %66) #4
  %68 = load double, ptr %67, align 8, !tbaa !11
  %69 = fcmp olt double %63, %68
  br i1 %69, label %70, label %73

70:                                               ; preds = %58
  %71 = load i32, ptr %14, align 4, !tbaa !9
  %72 = add nsw i32 %71, 1
  store i32 %72, ptr %14, align 4, !tbaa !9
  br label %76

73:                                               ; preds = %58
  %74 = load i32, ptr %15, align 4, !tbaa !9
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %15, align 4, !tbaa !9
  br label %76

76:                                               ; preds = %73, %70
  br label %77

77:                                               ; preds = %76, %55
  br label %78

78:                                               ; preds = %77, %47
  br label %79

79:                                               ; preds = %78
  %80 = load i32, ptr %16, align 4, !tbaa !9
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %16, align 4, !tbaa !9
  br label %21, !llvm.loop !13

82:                                               ; preds = %25
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = load i32, ptr %8, align 4, !tbaa !9
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  call void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %83, i32 noundef 1, ptr noundef @.str.53, i32 noundef %84, ptr noundef %85)
  %86 = load i32, ptr %11, align 4, !tbaa !9
  %87 = icmp sgt i32 %86, 0
  br i1 %87, label %88, label %95

88:                                               ; preds = %82
  %89 = load ptr, ptr %6, align 8, !tbaa !5
  %90 = load i32, ptr %11, align 4, !tbaa !9
  %91 = load i32, ptr %11, align 4, !tbaa !9
  %92 = mul nsw i32 100, %91
  %93 = load i32, ptr %8, align 4, !tbaa !9
  %94 = sdiv i32 %92, %93
  call void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %89, i32 noundef 1, ptr noundef @.str.54, i32 noundef %90, i32 noundef %94)
  br label %95

95:                                               ; preds = %88, %82
  %96 = load i32, ptr %12, align 4, !tbaa !9
  %97 = icmp sgt i32 %96, 0
  br i1 %97, label %98, label %105

98:                                               ; preds = %95
  %99 = load ptr, ptr %6, align 8, !tbaa !5
  %100 = load i32, ptr %12, align 4, !tbaa !9
  %101 = load i32, ptr %12, align 4, !tbaa !9
  %102 = mul nsw i32 100, %101
  %103 = load i32, ptr %8, align 4, !tbaa !9
  %104 = sdiv i32 %102, %103
  call void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %99, i32 noundef 1, ptr noundef @.str.55, i32 noundef %100, i32 noundef %104)
  br label %105

105:                                              ; preds = %98, %95
  %106 = load i32, ptr %13, align 4, !tbaa !9
  %107 = icmp sgt i32 %106, 0
  br i1 %107, label %108, label %115

108:                                              ; preds = %105
  %109 = load ptr, ptr %6, align 8, !tbaa !5
  %110 = load i32, ptr %13, align 4, !tbaa !9
  %111 = load i32, ptr %13, align 4, !tbaa !9
  %112 = mul nsw i32 100, %111
  %113 = load i32, ptr %8, align 4, !tbaa !9
  %114 = sdiv i32 %112, %113
  call void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %109, i32 noundef 1, ptr noundef @.str.56, i32 noundef %110, i32 noundef %114)
  br label %115

115:                                              ; preds = %108, %105
  %116 = load i32, ptr %14, align 4, !tbaa !9
  %117 = icmp sgt i32 %116, 0
  br i1 %117, label %118, label %125

118:                                              ; preds = %115
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  %120 = load i32, ptr %14, align 4, !tbaa !9
  %121 = load i32, ptr %14, align 4, !tbaa !9
  %122 = mul nsw i32 100, %121
  %123 = load i32, ptr %8, align 4, !tbaa !9
  %124 = sdiv i32 %122, %123
  call void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %119, i32 noundef 1, ptr noundef @.str.57, i32 noundef %120, i32 noundef %124)
  br label %125

125:                                              ; preds = %118, %115
  %126 = load i32, ptr %15, align 4, !tbaa !9
  %127 = icmp sgt i32 %126, 0
  br i1 %127, label %128, label %135

128:                                              ; preds = %125
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  %130 = load i32, ptr %15, align 4, !tbaa !9
  %131 = load i32, ptr %15, align 4, !tbaa !9
  %132 = mul nsw i32 100, %131
  %133 = load i32, ptr %8, align 4, !tbaa !9
  %134 = sdiv i32 %132, %133
  call void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %129, i32 noundef 1, ptr noundef @.str.58, i32 noundef %130, i32 noundef %134)
  br label %135

135:                                              ; preds = %128, %125
  %136 = load ptr, ptr %6, align 8, !tbaa !5
  %137 = load ptr, ptr %7, align 8, !tbaa !5
  call void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %136, i32 noundef 1, ptr noundef @.str.59, ptr noundef %137)
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = load i32, ptr %8, align 4, !tbaa !9
  %140 = load i32, ptr %11, align 4, !tbaa !9
  %141 = load i32, ptr %12, align 4, !tbaa !9
  %142 = load i32, ptr %13, align 4, !tbaa !9
  %143 = load i32, ptr %14, align 4, !tbaa !9
  %144 = load i32, ptr %15, align 4, !tbaa !9
  call void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %138, i32 noundef 1, ptr noundef @.str.60, i32 noundef %139, i32 noundef %140, i32 noundef %141, i32 noundef %142, i32 noundef %143, i32 noundef %144)
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, 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
  br label %145

145:                                              ; preds = %135, %19
  ret void
}

declare noundef zeroext i1 @_Z16highs_isInfinityd(double noundef) #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) #3 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


; 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 [24 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [31 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z18analyseModelBoundsRK15HighsLogOptionsPKciRKSt6vectorIdSaIdEES8_(ptr noundef nonnull align 8 dereferenceable(89) %0, ptr noundef %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4) local_unnamed_addr #0 {
  %6 = icmp eq i32 %2, 0
  br i1 %6, label %59, label %.preheader

.preheader:                                       ; preds = %5
  %7 = icmp sgt i32 %2, 0
  br i1 %7, label %.lr.ph.preheader, label %.thread118

.thread118:                                       ; preds = %.preheader
  tail call void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 1, ptr noundef nonnull @.str.53, i32 noundef %2, ptr noundef %1)
  br label %58

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

._crit_edge:                                      ; preds = %34
  tail call void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 1, ptr noundef nonnull @.str.53, i32 noundef %2, ptr noundef %1)
  %8 = icmp sgt i32 %.163, 0
  br i1 %8, label %35, label %38

.lr.ph:                                           ; preds = %.lr.ph.preheader, %34
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %34 ]
  %.05569 = phi i32 [ 0, %.lr.ph.preheader ], [ %.1, %34 ]
  %.05668 = phi i32 [ 0, %.lr.ph.preheader ], [ %.157, %34 ]
  %.05867 = phi i32 [ 0, %.lr.ph.preheader ], [ %.159, %34 ]
  %.06066 = phi i32 [ 0, %.lr.ph.preheader ], [ %.161, %34 ]
  %.06265 = phi i32 [ 0, %.lr.ph.preheader ], [ %.163, %34 ]
  %9 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #3
  %10 = load double, ptr %9, align 8, !tbaa !5
  %11 = fneg double %10
  %12 = tail call noundef zeroext i1 @_Z16highs_isInfinityd(double noundef %11)
  %13 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv) #3
  %14 = load double, ptr %13, align 8, !tbaa !5
  %15 = tail call noundef zeroext i1 @_Z16highs_isInfinityd(double noundef %14)
  br i1 %12, label %16, label %21

16:                                               ; preds = %.lr.ph
  br i1 %15, label %17, label %19

17:                                               ; preds = %16
  %18 = add nsw i32 %.06265, 1
  br label %34

19:                                               ; preds = %16
  %20 = add nsw i32 %.05867, 1
  br label %34

21:                                               ; preds = %.lr.ph
  br i1 %15, label %22, label %24

22:                                               ; preds = %21
  %23 = add nsw i32 %.06066, 1
  br label %34

24:                                               ; preds = %21
  %25 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #3
  %26 = load double, ptr %25, align 8, !tbaa !5
  %27 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv) #3
  %28 = load double, ptr %27, align 8, !tbaa !5
  %29 = fcmp olt double %26, %28
  br i1 %29, label %30, label %32

30:                                               ; preds = %24
  %31 = add nsw i32 %.05668, 1
  br label %34

32:                                               ; preds = %24
  %33 = add nsw i32 %.05569, 1
  br label %34

34:                                               ; preds = %19, %17, %30, %32, %22
  %.163 = phi i32 [ %18, %17 ], [ %.06265, %19 ], [ %.06265, %22 ], [ %.06265, %30 ], [ %.06265, %32 ]
  %.161 = phi i32 [ %.06066, %17 ], [ %.06066, %19 ], [ %23, %22 ], [ %.06066, %30 ], [ %.06066, %32 ]
  %.159 = phi i32 [ %.05867, %17 ], [ %20, %19 ], [ %.05867, %22 ], [ %.05867, %30 ], [ %.05867, %32 ]
  %.157 = phi i32 [ %.05668, %17 ], [ %.05668, %19 ], [ %.05668, %22 ], [ %31, %30 ], [ %.05668, %32 ]
  %.1 = phi i32 [ %.05569, %17 ], [ %.05569, %19 ], [ %.05569, %22 ], [ %.05569, %30 ], [ %33, %32 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !9

35:                                               ; preds = %._crit_edge
  %36 = mul nuw nsw i32 %.163, 100
  %37 = udiv i32 %36, %2
  tail call void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 1, ptr noundef nonnull @.str.54, i32 noundef %.163, i32 noundef %37)
  br label %38

38:                                               ; preds = %35, %._crit_edge
  %39 = icmp sgt i32 %.161, 0
  br i1 %39, label %40, label %43

40:                                               ; preds = %38
  %41 = mul nuw nsw i32 %.161, 100
  %42 = udiv i32 %41, %2
  tail call void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 1, ptr noundef nonnull @.str.55, i32 noundef %.161, i32 noundef %42)
  br label %43

43:                                               ; preds = %40, %38
  %44 = icmp sgt i32 %.159, 0
  br i1 %44, label %45, label %48

45:                                               ; preds = %43
  %46 = mul nuw nsw i32 %.159, 100
  %47 = udiv i32 %46, %2
  tail call void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 1, ptr noundef nonnull @.str.56, i32 noundef %.159, i32 noundef %47)
  br label %48

48:                                               ; preds = %45, %43
  %49 = icmp sgt i32 %.157, 0
  br i1 %49, label %50, label %53

50:                                               ; preds = %48
  %51 = mul nuw nsw i32 %.157, 100
  %52 = udiv i32 %51, %2
  tail call void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 1, ptr noundef nonnull @.str.57, i32 noundef %.157, i32 noundef %52)
  br label %53

53:                                               ; preds = %50, %48
  %54 = icmp sgt i32 %.1, 0
  br i1 %54, label %55, label %58

55:                                               ; preds = %53
  %56 = mul nuw nsw i32 %.1, 100
  %57 = udiv i32 %56, %2
  tail call void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 1, ptr noundef nonnull @.str.58, i32 noundef %.1, i32 noundef %57)
  br label %58

58:                                               ; preds = %.thread118, %55, %53
  %.055.lcssa8591106113128 = phi i32 [ 0, %.thread118 ], [ %.1, %55 ], [ %.1, %53 ]
  %.056.lcssa8492105114127 = phi i32 [ 0, %.thread118 ], [ %.157, %55 ], [ %.157, %53 ]
  %.058.lcssa8393104115126 = phi i32 [ 0, %.thread118 ], [ %.159, %55 ], [ %.159, %53 ]
  %.060.lcssa8294103116125 = phi i32 [ 0, %.thread118 ], [ %.161, %55 ], [ %.161, %53 ]
  %.062.lcssa8195102117124 = phi i32 [ 0, %.thread118 ], [ %.163, %55 ], [ %.163, %53 ]
  tail call void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 1, ptr noundef nonnull @.str.59, ptr noundef %1)
  tail call void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %0, i32 noundef 1, ptr noundef nonnull @.str.60, i32 noundef %2, i32 noundef %.062.lcssa8195102117124, i32 noundef %.060.lcssa8294103116125, i32 noundef %.058.lcssa8393104115126, i32 noundef %.056.lcssa8492105114127, i32 noundef %.055.lcssa8591106113128)
  br label %59

59:                                               ; preds = %5, %58
  ret void
}

declare noundef zeroext i1 @_Z16highs_isInfinityd(double noundef) local_unnamed_addr #1

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

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

attributes #0 = { 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 #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 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, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


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