; LLVM IR from ERGO-Code/HiGHS :: src/simplex/HighsSimplexAnalysis.ll (ZN20HighsSimplexAnalysis19summaryReportFactorEv)

; 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.HighsSimplexAnalysis = type { ptr, %"class.std::vector.23", %"class.std::vector.23", ptr, i32, i32, i32, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %struct.HighsLogOptions, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, %"class.std::__cxx11::basic_string", double, double, double, double, double, double, double, double, double, double, double, double, i32, i32, double, double, i32, double, double, i32, double, double, double, double, double, double, double, double, double, double, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x i8], %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, double, double, i32, double, double, i32, i32, double, double, %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.28", %"class.std::unique_ptr", i32, i32, i32, i32, double, double, double, double, double, double, double, double, double, double, i32, i32, double, double, double, i8, double, double, i32, i32, i32, i32, i32, double, double, double, double, double, double, double, double, double, i32, i32, [10 x %"struct.HighsSimplexAnalysis::AnIterOpRec"], i32, i32, [22 x %"struct.HighsSimplexAnalysis::AnIterTraceRec"], [12 x i32], [3 x i32], [4 x i8], %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<HighsTimerClock, std::allocator<HighsTimerClock>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsTimerClock, std::allocator<HighsTimerClock>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsTimerClock, std::allocator<HighsTimerClock>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsTimerClock, std::allocator<HighsTimerClock>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.HighsLogOptions = type <{ ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::function", ptr, i8, [7 x i8] }>
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"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.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<TranStageAnalysis, std::allocator<TranStageAnalysis>>::_Vector_impl" }
%"struct.std::_Vector_base<TranStageAnalysis, std::allocator<TranStageAnalysis>>::_Vector_impl" = type { %"struct.std::_Vector_base<TranStageAnalysis, std::allocator<TranStageAnalysis>>::_Vector_impl_data" }
%"struct.std::_Vector_base<TranStageAnalysis, std::allocator<TranStageAnalysis>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.34" }
%"struct.std::_Head_base.34" = type { ptr }
%"struct.HighsSimplexAnalysis::AnIterOpRec" = type { double, double, i32, i32, i32, i32, double, i32, %"class.std::__cxx11::basic_string", %struct.HighsValueDistribution }
%"struct.HighsSimplexAnalysis::AnIterTraceRec" = type { double, double, [10 x double], double, i32, i32, i32 }
%struct.HighsValueDistribution = type <{ %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, i32, i32, [4 x i8], double, double, %"class.std::vector", %"class.std::vector.3", i32, [4 x i8] }>
%"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 }
%struct.TranStageAnalysis = type <{ %"class.std::__cxx11::basic_string", %struct.HighsScatterData, i32, i32, i32, i32, i32, [4 x i8] }>
%struct.HighsScatterData = type <{ i32, i32, i32, [4 x i8], %"class.std::vector", %"class.std::vector", i8, [7 x i8], double, double, double, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x i8] }>

@.str.155 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [70 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 nonnull align 8 dereferenceable(212) ptr @_ZNSt6vectorI17TranStageAnalysisSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN20HighsSimplexAnalysis19summaryReportFactorEv(ptr noundef nonnull align 8 dereferenceable(8576) %0) #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %9 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %10

10:                                               ; preds = %55, %1
  %11 = load i32, ptr %3, align 4, !tbaa !9
  %12 = icmp slt i32 %11, 6
  br i1 %12, label %14, label %13

13:                                               ; preds = %10
  store i32 2, ptr %4, align 4
  br label %58

14:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %15 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %9, i32 0, i32 103
  %16 = load i32, ptr %3, align 4, !tbaa !9
  %17 = sext i32 %16 to i64
  %18 = call noundef nonnull align 8 dereferenceable(212) ptr @_ZNSt6vectorI17TranStageAnalysisSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %17) #4
  store ptr %18, ptr %5, align 8, !tbaa !5
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.TranStageAnalysis, ptr %19, i32 0, i32 0
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %20)
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.TranStageAnalysis, ptr %21, i32 0, i32 1
  invoke void @_Z36printScatterDataRegressionComparisonNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK16HighsScatterData(ptr noundef %6, ptr noundef nonnull align 8 dereferenceable(156) %22)
          to label %23 unwind label %29

23:                                               ; preds = %14
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #4
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.TranStageAnalysis, ptr %24, i32 0, i32 2
  %26 = load i32, ptr %25, align 8, !tbaa !11
  %27 = icmp ne i32 %26, 0
  br i1 %27, label %33, label %28

28:                                               ; preds = %23
  store i32 1, ptr %4, align 4
  br label %52

29:                                               ; preds = %14
  %30 = landingpad { ptr, i32 }
          cleanup
  %31 = extractvalue { ptr, i32 } %30, 0
  store ptr %31, ptr %7, align 8
  %32 = extractvalue { ptr, i32 } %30, 1
  store i32 %32, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  br label %61

33:                                               ; preds = %23
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.TranStageAnalysis, ptr %34, i32 0, i32 2
  %36 = load i32, ptr %35, align 8, !tbaa !11
  %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.155, i32 noundef %36)
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.TranStageAnalysis, ptr %38, i32 0, i32 3
  %40 = load i32, ptr %39, align 4, !tbaa !23
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.TranStageAnalysis, ptr %41, i32 0, i32 4
  %43 = load i32, ptr %42, align 8, !tbaa !24
  %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.156, i32 noundef %40, i32 noundef %43)
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.TranStageAnalysis, ptr %45, i32 0, i32 5
  %47 = load i32, ptr %46, align 4, !tbaa !25
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.TranStageAnalysis, ptr %48, i32 0, i32 6
  %50 = load i32, ptr %49, align 8, !tbaa !26
  %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.157, i32 noundef %47, i32 noundef %50)
  store i32 0, ptr %4, align 4
  br label %52

52:                                               ; preds = %33, %28
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  %53 = load i32, ptr %4, align 4
  switch i32 %53, label %58 [
    i32 0, label %54
  ]

54:                                               ; preds = %52
  br label %55

55:                                               ; preds = %54
  %56 = load i32, ptr %3, align 4, !tbaa !9
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %3, align 4, !tbaa !9
  br label %10, !llvm.loop !27

58:                                               ; preds = %52, %13
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  %59 = load i32, ptr %4, align 4
  switch i32 %59, label %66 [
    i32 2, label %60
    i32 1, label %60
  ]

60:                                               ; preds = %58, %58
  ret void

61:                                               ; preds = %29
  %62 = load ptr, ptr %7, align 8
  %63 = load i32, ptr %8, align 4
  %64 = insertvalue { ptr, i32 } poison, ptr %62, 0
  %65 = insertvalue { ptr, i32 } %64, i32 %63, 1
  resume { ptr, i32 } %65

66:                                               ; preds = %58
  unreachable
}

declare void @_Z36printScatterDataRegressionComparisonNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK16HighsScatterData(ptr noundef, ptr noundef nonnull align 8 dereferenceable(156)) #2

; 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 #3 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 = { "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 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, !10, i64 192}
!12 = !{!"_ZTS17TranStageAnalysis", !13, i64 0, !16, i64 32, !10, i64 192, !10, i64 196, !10, i64 200, !10, i64 204, !10, i64 208}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !14, i64 0, !15, i64 8, !7, i64 16}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTS16HighsScatterData", !10, i64 0, !10, i64 4, !10, i64 8, !17, i64 16, !17, i64 40, !21, i64 64, !22, i64 72, !22, i64 80, !22, i64 88, !22, i64 96, !22, i64 104, !22, i64 112, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152}
!17 = !{!"_ZTSSt6vectorIdSaIdEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"bool", !7, i64 0}
!22 = !{!"double", !7, i64 0}
!23 = !{!12, !10, i64 196}
!24 = !{!12, !10, i64 200}
!25 = !{!12, !10, i64 204}
!26 = !{!12, !10, i64 208}
!27 = distinct !{!27, !28}
!28 = !{!"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"

%"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.155 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [70 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN20HighsSimplexAnalysis19summaryReportFactorEv(ptr noundef nonnull align 8 dereferenceable(8576) %0) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = getelementptr inbounds i8, ptr %0, i64 2344
  %4 = tail call noundef nonnull align 8 dereferenceable(212) ptr @_ZNSt6vectorI17TranStageAnalysisSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(32) %4)
  %5 = getelementptr inbounds i8, ptr %4, i64 32
  invoke void @_Z36printScatterDataRegressionComparisonNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK16HighsScatterData(ptr noundef nonnull %2, ptr noundef nonnull align 8 dereferenceable(156) %5)
          to label %6 unwind label %9

6:                                                ; preds = %1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #4
  %7 = getelementptr inbounds i8, ptr %4, i64 192
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %.not.not = icmp eq i32 %8, 0
  br i1 %.not.not, label %.critedge, label %11

9:                                                ; preds = %79, %62, %45, %28, %11, %1
  %10 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #4
  resume { ptr, i32 } %10

11:                                               ; preds = %6
  %12 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.155, i32 noundef %8)
  %13 = getelementptr inbounds i8, ptr %4, i64 196
  %14 = load i32, ptr %13, align 4, !tbaa !21
  %15 = getelementptr inbounds i8, ptr %4, i64 200
  %16 = load i32, ptr %15, align 8, !tbaa !22
  %17 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.156, i32 noundef %14, i32 noundef %16)
  %18 = getelementptr inbounds i8, ptr %4, i64 204
  %19 = load i32, ptr %18, align 4, !tbaa !23
  %20 = getelementptr inbounds i8, ptr %4, i64 208
  %21 = load i32, ptr %20, align 8, !tbaa !24
  %22 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.157, i32 noundef %19, i32 noundef %21)
  %23 = call noundef nonnull align 8 dereferenceable(212) ptr @_ZNSt6vectorI17TranStageAnalysisSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(32) %23)
  %24 = getelementptr inbounds i8, ptr %23, i64 32
  invoke void @_Z36printScatterDataRegressionComparisonNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK16HighsScatterData(ptr noundef nonnull %2, ptr noundef nonnull align 8 dereferenceable(156) %24)
          to label %25 unwind label %9

25:                                               ; preds = %11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #4
  %26 = getelementptr inbounds i8, ptr %23, i64 192
  %27 = load i32, ptr %26, align 8, !tbaa !5
  %.not.not.1 = icmp eq i32 %27, 0
  br i1 %.not.not.1, label %.critedge, label %28

28:                                               ; preds = %25
  %29 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.155, i32 noundef %27)
  %30 = getelementptr inbounds i8, ptr %23, i64 196
  %31 = load i32, ptr %30, align 4, !tbaa !21
  %32 = getelementptr inbounds i8, ptr %23, i64 200
  %33 = load i32, ptr %32, align 8, !tbaa !22
  %34 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.156, i32 noundef %31, i32 noundef %33)
  %35 = getelementptr inbounds i8, ptr %23, i64 204
  %36 = load i32, ptr %35, align 4, !tbaa !23
  %37 = getelementptr inbounds i8, ptr %23, i64 208
  %38 = load i32, ptr %37, align 8, !tbaa !24
  %39 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.157, i32 noundef %36, i32 noundef %38)
  %40 = call noundef nonnull align 8 dereferenceable(212) ptr @_ZNSt6vectorI17TranStageAnalysisSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 2) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(32) %40)
  %41 = getelementptr inbounds i8, ptr %40, i64 32
  invoke void @_Z36printScatterDataRegressionComparisonNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK16HighsScatterData(ptr noundef nonnull %2, ptr noundef nonnull align 8 dereferenceable(156) %41)
          to label %42 unwind label %9

42:                                               ; preds = %28
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #4
  %43 = getelementptr inbounds i8, ptr %40, i64 192
  %44 = load i32, ptr %43, align 8, !tbaa !5
  %.not.not.2 = icmp eq i32 %44, 0
  br i1 %.not.not.2, label %.critedge, label %45

45:                                               ; preds = %42
  %46 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.155, i32 noundef %44)
  %47 = getelementptr inbounds i8, ptr %40, i64 196
  %48 = load i32, ptr %47, align 4, !tbaa !21
  %49 = getelementptr inbounds i8, ptr %40, i64 200
  %50 = load i32, ptr %49, align 8, !tbaa !22
  %51 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.156, i32 noundef %48, i32 noundef %50)
  %52 = getelementptr inbounds i8, ptr %40, i64 204
  %53 = load i32, ptr %52, align 4, !tbaa !23
  %54 = getelementptr inbounds i8, ptr %40, i64 208
  %55 = load i32, ptr %54, align 8, !tbaa !24
  %56 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.157, i32 noundef %53, i32 noundef %55)
  %57 = call noundef nonnull align 8 dereferenceable(212) ptr @_ZNSt6vectorI17TranStageAnalysisSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 3) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(32) %57)
  %58 = getelementptr inbounds i8, ptr %57, i64 32
  invoke void @_Z36printScatterDataRegressionComparisonNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK16HighsScatterData(ptr noundef nonnull %2, ptr noundef nonnull align 8 dereferenceable(156) %58)
          to label %59 unwind label %9

59:                                               ; preds = %45
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #4
  %60 = getelementptr inbounds i8, ptr %57, i64 192
  %61 = load i32, ptr %60, align 8, !tbaa !5
  %.not.not.3 = icmp eq i32 %61, 0
  br i1 %.not.not.3, label %.critedge, label %62

62:                                               ; preds = %59
  %63 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.155, i32 noundef %61)
  %64 = getelementptr inbounds i8, ptr %57, i64 196
  %65 = load i32, ptr %64, align 4, !tbaa !21
  %66 = getelementptr inbounds i8, ptr %57, i64 200
  %67 = load i32, ptr %66, align 8, !tbaa !22
  %68 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.156, i32 noundef %65, i32 noundef %67)
  %69 = getelementptr inbounds i8, ptr %57, i64 204
  %70 = load i32, ptr %69, align 4, !tbaa !23
  %71 = getelementptr inbounds i8, ptr %57, i64 208
  %72 = load i32, ptr %71, align 8, !tbaa !24
  %73 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.157, i32 noundef %70, i32 noundef %72)
  %74 = call noundef nonnull align 8 dereferenceable(212) ptr @_ZNSt6vectorI17TranStageAnalysisSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 4) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(32) %74)
  %75 = getelementptr inbounds i8, ptr %74, i64 32
  invoke void @_Z36printScatterDataRegressionComparisonNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK16HighsScatterData(ptr noundef nonnull %2, ptr noundef nonnull align 8 dereferenceable(156) %75)
          to label %76 unwind label %9

76:                                               ; preds = %62
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #4
  %77 = getelementptr inbounds i8, ptr %74, i64 192
  %78 = load i32, ptr %77, align 8, !tbaa !5
  %.not.not.4 = icmp eq i32 %78, 0
  br i1 %.not.not.4, label %.critedge, label %79

79:                                               ; preds = %76
  %80 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.155, i32 noundef %78)
  %81 = getelementptr inbounds i8, ptr %74, i64 196
  %82 = load i32, ptr %81, align 4, !tbaa !21
  %83 = getelementptr inbounds i8, ptr %74, i64 200
  %84 = load i32, ptr %83, align 8, !tbaa !22
  %85 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.156, i32 noundef %82, i32 noundef %84)
  %86 = getelementptr inbounds i8, ptr %74, i64 204
  %87 = load i32, ptr %86, align 4, !tbaa !23
  %88 = getelementptr inbounds i8, ptr %74, i64 208
  %89 = load i32, ptr %88, align 8, !tbaa !24
  %90 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.157, i32 noundef %87, i32 noundef %89)
  %91 = call noundef nonnull align 8 dereferenceable(212) ptr @_ZNSt6vectorI17TranStageAnalysisSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 5) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(32) %91)
  %92 = getelementptr inbounds i8, ptr %91, i64 32
  invoke void @_Z36printScatterDataRegressionComparisonNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK16HighsScatterData(ptr noundef nonnull %2, ptr noundef nonnull align 8 dereferenceable(156) %92)
          to label %93 unwind label %9

93:                                               ; preds = %79
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #4
  %94 = getelementptr inbounds i8, ptr %91, i64 192
  %95 = load i32, ptr %94, align 8, !tbaa !5
  %.not.not.5 = icmp eq i32 %95, 0
  br i1 %.not.not.5, label %.critedge, label %96

96:                                               ; preds = %93
  %97 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.155, i32 noundef %95)
  %98 = getelementptr inbounds i8, ptr %91, i64 196
  %99 = load i32, ptr %98, align 4, !tbaa !21
  %100 = getelementptr inbounds i8, ptr %91, i64 200
  %101 = load i32, ptr %100, align 8, !tbaa !22
  %102 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.156, i32 noundef %99, i32 noundef %101)
  %103 = getelementptr inbounds i8, ptr %91, i64 204
  %104 = load i32, ptr %103, align 4, !tbaa !23
  %105 = getelementptr inbounds i8, ptr %91, i64 208
  %106 = load i32, ptr %105, align 8, !tbaa !24
  %107 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.157, i32 noundef %104, i32 noundef %106)
  br label %.critedge

.critedge:                                        ; preds = %96, %93, %76, %59, %42, %25, %6
  ret void
}

declare void @_Z36printScatterDataRegressionComparisonNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK16HighsScatterData(ptr noundef, ptr noundef nonnull align 8 dereferenceable(156)) local_unnamed_addr #3

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

attributes #0 = { 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 #1 = { 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 #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 = { "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, !14, i64 192}
!6 = !{!"_ZTS17TranStageAnalysis", !7, i64 0, !13, i64 32, !14, i64 192, !14, i64 196, !14, i64 200, !14, i64 204, !14, i64 208}
!7 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !8, i64 0, !12, i64 8, !10, i64 16}
!8 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"_ZTS16HighsScatterData", !14, i64 0, !14, i64 4, !14, i64 8, !15, i64 16, !15, i64 40, !19, i64 64, !20, i64 72, !20, i64 80, !20, i64 88, !20, i64 96, !20, i64 104, !20, i64 112, !14, i64 120, !14, i64 124, !14, i64 128, !14, i64 132, !14, i64 136, !14, i64 140, !14, i64 144, !14, i64 148, !14, i64 152}
!14 = !{!"int", !10, i64 0}
!15 = !{!"_ZTSSt6vectorIdSaIdEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!19 = !{!"bool", !10, i64 0}
!20 = !{!"double", !10, i64 0}
!21 = !{!6, !14, i64 196}
!22 = !{!6, !14, i64 200}
!23 = !{!6, !14, i64 204}
!24 = !{!6, !14, i64 208}


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