; LLVM IR from ERGO-Code/HiGHS :: src/util/HFactor.ll (ZNK7HFactor9getInvertEv)

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

%struct.InvertibleRepresentation = type { %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector.10" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = 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.HFactor = type { double, double, i32, %"class.std::vector", %"class.std::vector", %"class.std::vector", %struct.RefactorInfo, i32, i32, i32, i32, i32, i32, i32, double, i8, ptr, ptr, ptr, ptr, double, double, i32, double, %"class.std::unique_ptr", %struct.HighsLogOptions, i8, i8, i32, i32, ptr, i32, %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.15", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", i32, i32, %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %class.HVectorBase }
%struct.RefactorInfo = type { i8, %"class.std::vector", %"class.std::vector", %"class.std::vector.3", double }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<signed char, std::allocator<signed char>>::_Vector_impl" }
%"struct.std::_Vector_base<signed char, std::allocator<signed char>>::_Vector_impl" = type { %"struct.std::_Vector_base<signed char, std::allocator<signed char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<signed char, std::allocator<signed char>>::_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.9" }
%"struct.std::_Head_base.9" = type { 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.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.HVectorBase = type { i32, i32, %"class.std::vector", %"class.std::vector.10", double, %"class.std::vector.15", %"class.std::vector", ptr, i8, i32, %"class.std::vector", %"class.std::vector.10" }

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7HFactor9getInvertEv(ptr dead_on_unwind noalias writable sret(%struct.InvertibleRepresentation) align 8 %0, ptr noundef nonnull align 8 dereferenceable(1912) %1) #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %8 = load ptr, ptr %4, align 8
  store i1 false, ptr %5, align 1
  call void @_ZN24InvertibleRepresentationC2Ev(ptr noundef nonnull align 8 dereferenceable(600) %0) #2
  %9 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 62
  %10 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 0
  %11 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %12 unwind label %110

12:                                               ; preds = %2
  %13 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 61
  %14 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 1
  %15 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %16 unwind label %110

16:                                               ; preds = %12
  %17 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 63
  %18 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 2
  %19 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %20 unwind label %110

20:                                               ; preds = %16
  %21 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 64
  %22 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 3
  %23 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(24) %21)
          to label %24 unwind label %110

24:                                               ; preds = %20
  %25 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 65
  %26 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 4
  %27 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %25)
          to label %28 unwind label %110

28:                                               ; preds = %24
  %29 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 66
  %30 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 5
  %31 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %32 unwind label %110

32:                                               ; preds = %28
  %33 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 67
  %34 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 6
  %35 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 8 dereferenceable(24) %33)
          to label %36 unwind label %110

36:                                               ; preds = %32
  %37 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 68
  %38 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 7
  %39 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 8 dereferenceable(24) %37)
          to label %40 unwind label %110

40:                                               ; preds = %36
  %41 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 69
  %42 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 8
  %43 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %42, ptr noundef nonnull align 8 dereferenceable(24) %41)
          to label %44 unwind label %110

44:                                               ; preds = %40
  %45 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 70
  %46 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 9
  %47 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %46, ptr noundef nonnull align 8 dereferenceable(24) %45)
          to label %48 unwind label %110

48:                                               ; preds = %44
  %49 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 71
  %50 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 10
  %51 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %50, ptr noundef nonnull align 8 dereferenceable(24) %49)
          to label %52 unwind label %110

52:                                               ; preds = %48
  %53 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 74
  %54 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 11
  %55 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %54, ptr noundef nonnull align 8 dereferenceable(24) %53)
          to label %56 unwind label %110

56:                                               ; preds = %52
  %57 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 75
  %58 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 12
  %59 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %58, ptr noundef nonnull align 8 dereferenceable(24) %57)
          to label %60 unwind label %110

60:                                               ; preds = %56
  %61 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 76
  %62 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 13
  %63 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %62, ptr noundef nonnull align 8 dereferenceable(24) %61)
          to label %64 unwind label %110

64:                                               ; preds = %60
  %65 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 77
  %66 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 14
  %67 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %66, ptr noundef nonnull align 8 dereferenceable(24) %65)
          to label %68 unwind label %110

68:                                               ; preds = %64
  %69 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 78
  %70 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 15
  %71 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %70, ptr noundef nonnull align 8 dereferenceable(24) %69)
          to label %72 unwind label %110

72:                                               ; preds = %68
  %73 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 79
  %74 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 16
  %75 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %74, ptr noundef nonnull align 8 dereferenceable(24) %73)
          to label %76 unwind label %110

76:                                               ; preds = %72
  %77 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 80
  %78 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 17
  %79 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %78, ptr noundef nonnull align 8 dereferenceable(24) %77)
          to label %80 unwind label %110

80:                                               ; preds = %76
  %81 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 81
  %82 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 18
  %83 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %82, ptr noundef nonnull align 8 dereferenceable(24) %81)
          to label %84 unwind label %110

84:                                               ; preds = %80
  %85 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 82
  %86 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 19
  %87 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %86, ptr noundef nonnull align 8 dereferenceable(24) %85)
          to label %88 unwind label %110

88:                                               ; preds = %84
  %89 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 85
  %90 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 20
  %91 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %90, ptr noundef nonnull align 8 dereferenceable(24) %89)
          to label %92 unwind label %110

92:                                               ; preds = %88
  %93 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 86
  %94 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 21
  %95 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %94, ptr noundef nonnull align 8 dereferenceable(24) %93)
          to label %96 unwind label %110

96:                                               ; preds = %92
  %97 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 87
  %98 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 22
  %99 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %98, ptr noundef nonnull align 8 dereferenceable(24) %97)
          to label %100 unwind label %110

100:                                              ; preds = %96
  %101 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 84
  %102 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 23
  %103 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %102, ptr noundef nonnull align 8 dereferenceable(24) %101)
          to label %104 unwind label %110

104:                                              ; preds = %100
  %105 = getelementptr inbounds %class.HFactor, ptr %8, i32 0, i32 83
  %106 = getelementptr inbounds %struct.InvertibleRepresentation, ptr %0, i32 0, i32 24
  %107 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %106, ptr noundef nonnull align 8 dereferenceable(24) %105)
          to label %108 unwind label %110

108:                                              ; preds = %104
  store i1 true, ptr %5, align 1
  %109 = load i1, ptr %5, align 1
  br i1 %109, label %115, label %114

110:                                              ; preds = %104, %100, %96, %92, %88, %84, %80, %76, %72, %68, %64, %60, %56, %52, %48, %44, %40, %36, %32, %28, %24, %20, %16, %12, %2
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %6, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %7, align 4
  call void @_ZN24InvertibleRepresentationD2Ev(ptr noundef nonnull align 8 dereferenceable(600) %0) #2
  br label %116

114:                                              ; preds = %108
  call void @_ZN24InvertibleRepresentationD2Ev(ptr noundef nonnull align 8 dereferenceable(600) %0) #2
  br label %115

115:                                              ; preds = %114, %108
  ret void

116:                                              ; preds = %110
  %117 = load ptr, ptr %6, align 8
  %118 = load i32, ptr %7, align 4
  %119 = insertvalue { ptr, i32 } poison, ptr %117, 0
  %120 = insertvalue { ptr, i32 } %119, i32 %118, 1
  resume { ptr, i32 } %120
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN24InvertibleRepresentationC2Ev(ptr noundef nonnull align 8 dereferenceable(600)) unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN24InvertibleRepresentationD2Ev(ptr noundef nonnull align 8 dereferenceable(600)) unnamed_addr #1 align 2

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 = { 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 #2 = { 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"}


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

%struct.InvertibleRepresentation = type { %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector.10" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = 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 }

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7HFactor9getInvertEv(ptr dead_on_unwind noalias nonnull writable sret(%struct.InvertibleRepresentation) align 8 %0, ptr noundef nonnull align 8 dereferenceable(1912) %1) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN24InvertibleRepresentationC2Ev(ptr noundef nonnull align 8 dereferenceable(600) %0) #2
  %3 = getelementptr inbounds i8, ptr %1, i64 1152
  %4 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %5 unwind label %101

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %1, i64 1128
  %7 = getelementptr inbounds i8, ptr %0, i64 24
  %8 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %9 unwind label %101

9:                                                ; preds = %5
  %10 = getelementptr inbounds i8, ptr %1, i64 1176
  %11 = getelementptr inbounds i8, ptr %0, i64 48
  %12 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %13 unwind label %101

13:                                               ; preds = %9
  %14 = getelementptr inbounds i8, ptr %1, i64 1200
  %15 = getelementptr inbounds i8, ptr %0, i64 72
  %16 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %14)
          to label %17 unwind label %101

17:                                               ; preds = %13
  %18 = getelementptr inbounds i8, ptr %1, i64 1224
  %19 = getelementptr inbounds i8, ptr %0, i64 96
  %20 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %18)
          to label %21 unwind label %101

21:                                               ; preds = %17
  %22 = getelementptr inbounds i8, ptr %1, i64 1248
  %23 = getelementptr inbounds i8, ptr %0, i64 120
  %24 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(24) %22)
          to label %25 unwind label %101

25:                                               ; preds = %21
  %26 = getelementptr inbounds i8, ptr %1, i64 1272
  %27 = getelementptr inbounds i8, ptr %0, i64 144
  %28 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %29 unwind label %101

29:                                               ; preds = %25
  %30 = getelementptr inbounds i8, ptr %1, i64 1296
  %31 = getelementptr inbounds i8, ptr %0, i64 168
  %32 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(24) %30)
          to label %33 unwind label %101

33:                                               ; preds = %29
  %34 = getelementptr inbounds i8, ptr %1, i64 1320
  %35 = getelementptr inbounds i8, ptr %0, i64 192
  %36 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(24) %34)
          to label %37 unwind label %101

37:                                               ; preds = %33
  %38 = getelementptr inbounds i8, ptr %1, i64 1344
  %39 = getelementptr inbounds i8, ptr %0, i64 216
  %40 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 8 dereferenceable(24) %38)
          to label %41 unwind label %101

41:                                               ; preds = %37
  %42 = getelementptr inbounds i8, ptr %1, i64 1368
  %43 = getelementptr inbounds i8, ptr %0, i64 240
  %44 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 8 dereferenceable(24) %42)
          to label %45 unwind label %101

45:                                               ; preds = %41
  %46 = getelementptr inbounds i8, ptr %1, i64 1400
  %47 = getelementptr inbounds i8, ptr %0, i64 264
  %48 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %47, ptr noundef nonnull align 8 dereferenceable(24) %46)
          to label %49 unwind label %101

49:                                               ; preds = %45
  %50 = getelementptr inbounds i8, ptr %1, i64 1424
  %51 = getelementptr inbounds i8, ptr %0, i64 288
  %52 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef nonnull align 8 dereferenceable(24) %50)
          to label %53 unwind label %101

53:                                               ; preds = %49
  %54 = getelementptr inbounds i8, ptr %1, i64 1448
  %55 = getelementptr inbounds i8, ptr %0, i64 312
  %56 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %55, ptr noundef nonnull align 8 dereferenceable(24) %54)
          to label %57 unwind label %101

57:                                               ; preds = %53
  %58 = getelementptr inbounds i8, ptr %1, i64 1472
  %59 = getelementptr inbounds i8, ptr %0, i64 336
  %60 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %59, ptr noundef nonnull align 8 dereferenceable(24) %58)
          to label %61 unwind label %101

61:                                               ; preds = %57
  %62 = getelementptr inbounds i8, ptr %1, i64 1496
  %63 = getelementptr inbounds i8, ptr %0, i64 360
  %64 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 8 dereferenceable(24) %62)
          to label %65 unwind label %101

65:                                               ; preds = %61
  %66 = getelementptr inbounds i8, ptr %1, i64 1520
  %67 = getelementptr inbounds i8, ptr %0, i64 384
  %68 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %67, ptr noundef nonnull align 8 dereferenceable(24) %66)
          to label %69 unwind label %101

69:                                               ; preds = %65
  %70 = getelementptr inbounds i8, ptr %1, i64 1544
  %71 = getelementptr inbounds i8, ptr %0, i64 408
  %72 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %71, ptr noundef nonnull align 8 dereferenceable(24) %70)
          to label %73 unwind label %101

73:                                               ; preds = %69
  %74 = getelementptr inbounds i8, ptr %1, i64 1568
  %75 = getelementptr inbounds i8, ptr %0, i64 432
  %76 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %75, ptr noundef nonnull align 8 dereferenceable(24) %74)
          to label %77 unwind label %101

77:                                               ; preds = %73
  %78 = getelementptr inbounds i8, ptr %1, i64 1592
  %79 = getelementptr inbounds i8, ptr %0, i64 456
  %80 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %79, ptr noundef nonnull align 8 dereferenceable(24) %78)
          to label %81 unwind label %101

81:                                               ; preds = %77
  %82 = getelementptr inbounds i8, ptr %1, i64 1664
  %83 = getelementptr inbounds i8, ptr %0, i64 480
  %84 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %83, ptr noundef nonnull align 8 dereferenceable(24) %82)
          to label %85 unwind label %101

85:                                               ; preds = %81
  %86 = getelementptr inbounds i8, ptr %1, i64 1688
  %87 = getelementptr inbounds i8, ptr %0, i64 504
  %88 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %87, ptr noundef nonnull align 8 dereferenceable(24) %86)
          to label %89 unwind label %101

89:                                               ; preds = %85
  %90 = getelementptr inbounds i8, ptr %1, i64 1712
  %91 = getelementptr inbounds i8, ptr %0, i64 528
  %92 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %91, ptr noundef nonnull align 8 dereferenceable(24) %90)
          to label %93 unwind label %101

93:                                               ; preds = %89
  %94 = getelementptr inbounds i8, ptr %1, i64 1640
  %95 = getelementptr inbounds i8, ptr %0, i64 552
  %96 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %95, ptr noundef nonnull align 8 dereferenceable(24) %94)
          to label %97 unwind label %101

97:                                               ; preds = %93
  %98 = getelementptr inbounds i8, ptr %1, i64 1616
  %99 = getelementptr inbounds i8, ptr %0, i64 576
  %100 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %99, ptr noundef nonnull align 8 dereferenceable(24) %98)
          to label %103 unwind label %101

101:                                              ; preds = %97, %93, %89, %85, %81, %77, %73, %69, %65, %61, %57, %53, %49, %45, %41, %37, %33, %29, %25, %21, %17, %13, %9, %5, %2
  %102 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN24InvertibleRepresentationD2Ev(ptr noundef nonnull align 8 dereferenceable(600) %0) #2
  resume { ptr, i32 } %102

103:                                              ; preds = %97
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN24InvertibleRepresentationC2Ev(ptr noundef nonnull align 8 dereferenceable(600)) unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN24InvertibleRepresentationD2Ev(ptr noundef nonnull align 8 dereferenceable(600)) unnamed_addr #1 align 2

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 = { 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 #2 = { 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)"}


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