; LLVM IR from buresjan/optim_lbm :: nomad/ext/sgtelib/src (sgtelib)

; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.SGTELIB::Matrix" = type { ptr, %"class.std::__cxx11::basic_string", i32, i32, ptr }
%"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.std::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.9 }
%union.anon.9 = type { i32 }
%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::allocator.0" = type { i8 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [13 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: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7SGTELIB14sgtelib_serverERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb(ptr noundef nonnull align 8 dereferenceable(32) %0, i1 noundef zeroext %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i8, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.SGTELIB::Matrix", align 8
  %8 = alloca %"class.SGTELIB::Matrix", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.SGTELIB::Matrix", align 8
  %12 = alloca %"class.SGTELIB::Matrix", align 8
  %13 = alloca %"class.SGTELIB::Matrix", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i8, align 1
  %19 = alloca %"class.std::basic_ofstream", align 8
  %20 = alloca %"class.std::basic_ifstream", align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator.0", align 1
  %23 = alloca %"class.SGTELIB::Matrix", align 8
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator.0", align 1
  %26 = alloca %"class.SGTELIB::Matrix", align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator.0", align 1
  %29 = alloca %"class.std::__cxx11::basic_string", align 8
  %30 = alloca %"class.std::allocator.0", align 1
  %31 = alloca i8, align 1
  %32 = alloca %"class.SGTELIB::Matrix", align 8
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::allocator.0", align 1
  %35 = alloca %"class.SGTELIB::Matrix", align 8
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca %"class.std::allocator.0", align 1
  %38 = alloca %"class.SGTELIB::Matrix", align 8
  %39 = alloca %"class.std::__cxx11::basic_string", align 8
  %40 = alloca %"class.std::allocator.0", align 1
  %41 = alloca %"class.SGTELIB::Matrix", align 8
  %42 = alloca %"class.std::__cxx11::basic_string", align 8
  %43 = alloca %"class.std::allocator.0", align 1
  %44 = alloca %"class.SGTELIB::Matrix", align 8
  %45 = alloca %"class.std::__cxx11::basic_string", align 8
  %46 = alloca %"class.std::allocator.0", align 1
  %47 = alloca %"class.std::__cxx11::basic_string", align 8
  %48 = alloca %"class.std::allocator.0", align 1
  %49 = alloca %"class.std::__cxx11::basic_string", align 8
  %50 = alloca %"class.std::allocator.0", align 1
  %51 = alloca %"class.std::__cxx11::basic_string", align 8
  %52 = alloca %"class.std::allocator.0", align 1
  %53 = alloca %"class.std::__cxx11::basic_string", align 8
  %54 = alloca %"class.std::allocator.0", align 1
  %55 = alloca %"class.std::__cxx11::basic_string", align 8
  %56 = alloca %"class.std::allocator.0", align 1
  %57 = alloca i8, align 1
  %58 = alloca %"class.SGTELIB::Matrix", align 8
  %59 = alloca %"class.SGTELIB::Matrix", align 8
  %60 = alloca %"class.SGTELIB::Matrix", align 8
  %61 = alloca %"class.SGTELIB::Matrix", align 8
  %62 = alloca %"class.SGTELIB::Matrix", align 8
  %63 = alloca %"class.SGTELIB::Matrix", align 8
  %64 = alloca %"class.SGTELIB::Matrix", align 8
  %65 = alloca %"class.SGTELIB::Matrix", align 8
  %66 = alloca %"class.std::__cxx11::basic_string", align 8
  %67 = alloca %"class.std::allocator.0", align 1
  %68 = alloca %"class.std::__cxx11::basic_string", align 8
  %69 = alloca %"class.std::allocator.0", align 1
  %70 = alloca %"class.std::__cxx11::basic_string", align 8
  %71 = alloca %"class.std::allocator.0", align 1
  %72 = alloca %"class.std::__cxx11::basic_string", align 8
  %73 = alloca %"class.std::allocator.0", align 1
  %74 = alloca %"class.std::__cxx11::basic_string", align 8
  %75 = alloca %"class.std::allocator.0", align 1
  %76 = alloca i8, align 1
  %77 = alloca %"class.std::__cxx11::basic_string", align 8
  %78 = alloca i32, align 4
  %79 = alloca %"class.SGTELIB::Matrix", align 8
  %80 = alloca %"class.SGTELIB::Matrix", align 8
  %81 = alloca i32, align 4
  %82 = alloca %"class.std::__cxx11::basic_string", align 8
  %83 = alloca %"class.std::allocator.0", align 1
  %84 = alloca i8, align 1
  %85 = alloca %"class.std::__cxx11::basic_string", align 8
  %86 = alloca %"class.std::allocator.0", align 1
  %87 = alloca %"class.std::__cxx11::basic_string", align 8
  %88 = alloca %"class.std::allocator.0", align 1
  %89 = alloca i8, align 1
  %90 = alloca %"class.std::__cxx11::basic_string", align 8
  %91 = alloca %"class.std::allocator.0", align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  %92 = zext i1 %1 to i8
  store i8 %92, ptr %4, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #9
  store ptr null, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  store ptr null, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 56, ptr %7) #9
  call void @_ZN7SGTELIB6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %7)
  call void @llvm.lifetime.start.p0(i64 56, ptr %8) #9
  invoke void @_ZN7SGTELIB6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %8)
          to label %93 unwind label %134

93:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 56, ptr %11) #9
  invoke void @_ZN7SGTELIB6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %11)
          to label %94 unwind label %138

94:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 56, ptr %12) #9
  invoke void @_ZN7SGTELIB6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %12)
          to label %95 unwind label %142

95:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 56, ptr %13) #9
  invoke void @_ZN7SGTELIB6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %13)
          to label %96 unwind label %146

96:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  %97 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.50)
          to label %98 unwind label %150

98:                                               ; preds = %96
  %99 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.51)
          to label %100 unwind label %150

100:                                              ; preds = %98
  %101 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.52)
          to label %102 unwind label %150

102:                                              ; preds = %100
  %103 = invoke i32 @system(ptr noundef @.str.53)
          to label %104 unwind label %150

104:                                              ; preds = %102
  %105 = trunc i32 %103 to i8
  %106 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %105)
          to label %107 unwind label %150

107:                                              ; preds = %104
  %108 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.54)
          to label %109 unwind label %150

109:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  store i32 0, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  store i32 0, ptr %16, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  store i32 0, ptr %17, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #9
  %110 = load i8, ptr %4, align 1, !tbaa !9, !range !13, !noundef !14
  %111 = trunc i8 %110 to i1
  %112 = zext i1 %111 to i8
  store i8 %112, ptr %18, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 512, ptr %19) #9
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(248) %19)
          to label %113 unwind label %154

113:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 520, ptr %20) #9
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %20)
          to label %114 unwind label %158

114:                                              ; preds = %113
  br label %115

115:                                              ; preds = %1170, %114
  br label %116

116:                                              ; preds = %115
  invoke void @_ZN7SGTELIB4waitEd(double noundef 1.000000e-02)
          to label %117 unwind label %162

117:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef @.str.55, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %118 unwind label %166

118:                                              ; preds = %117
  %119 = invoke noundef zeroext i1 @_ZN7SGTELIB6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %120 unwind label %170

120:                                              ; preds = %118
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #9
  br i1 %119, label %121, label %278

121:                                              ; preds = %120
  %122 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.56)
          to label %123 unwind label %162

123:                                              ; preds = %121
  store i32 0, ptr %15, align 4, !tbaa !11
  %124 = invoke i32 @system(ptr noundef @.str.57)
          to label %125 unwind label %162

125:                                              ; preds = %123
  %126 = trunc i32 %124 to i8
  %127 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %126)
          to label %128 unwind label %162

128:                                              ; preds = %125
  %129 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %130 = trunc i8 %129 to i1
  br i1 %130, label %131, label %175

131:                                              ; preds = %128
  %132 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.58)
          to label %133 unwind label %162

133:                                              ; preds = %131
  br label %175

134:                                              ; preds = %2
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %9, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %10, align 4
  br label %1190

138:                                              ; preds = %93
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %9, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %10, align 4
  br label %1189

142:                                              ; preds = %94
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %9, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %10, align 4
  br label %1188

146:                                              ; preds = %95
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %9, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %10, align 4
  br label %1187

150:                                              ; preds = %107, %104, %102, %100, %98, %96
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %9, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %10, align 4
  br label %1186

154:                                              ; preds = %109
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %9, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %10, align 4
  br label %1185

158:                                              ; preds = %113
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %9, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %10, align 4
  br label %1184

162:                                              ; preds = %1180, %1178, %1175, %1173, %1171, %1151, %1148, %1146, %1137, %1071, %1060, %1054, %1052, %1040, %1037, %1035, %1032, %1030, %1018, %1015, %1013, %1011, %1009, %945, %943, %941, %937, %935, %781, %779, %777, %773, %771, %559, %557, %555, %551, %549, %292, %290, %288, %284, %282, %274, %268, %266, %262, %259, %248, %246, %243, %239, %236, %233, %225, %223, %221, %219, %186, %131, %125, %123, %121, %116
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %9, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %10, align 4
  br label %1183

166:                                              ; preds = %117
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %9, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %10, align 4
  br label %174

170:                                              ; preds = %118
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %9, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  br label %174

174:                                              ; preds = %170, %166
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #9
  br label %1183

175:                                              ; preds = %133, %128
  call void @llvm.lifetime.start.p0(i64 56, ptr %23) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef @.str.59, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %176 unwind label %188

176:                                              ; preds = %175
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %23, ptr noundef nonnull align 8 dereferenceable(32) %24)
          to label %177 unwind label %192

177:                                              ; preds = %176
  %178 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 8 dereferenceable(56) %23)
          to label %179 unwind label %196

179:                                              ; preds = %177
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %23) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %23) #9
  call void @llvm.lifetime.start.p0(i64 56, ptr %26) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef @.str.60, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %180 unwind label %202

180:                                              ; preds = %179
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %26, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %181 unwind label %206

181:                                              ; preds = %180
  %182 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %8, ptr noundef nonnull align 8 dereferenceable(56) %26)
          to label %183 unwind label %210

183:                                              ; preds = %181
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %26) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %26) #9
  %184 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %185 = trunc i8 %184 to i1
  br i1 %185, label %186, label %216

186:                                              ; preds = %183
  invoke void @_ZNK7SGTELIB6Matrix13display_shortERSo(ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout)
          to label %187 unwind label %162

187:                                              ; preds = %186
  br label %216

188:                                              ; preds = %175
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %9, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %10, align 4
  br label %201

192:                                              ; preds = %176
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %9, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %10, align 4
  br label %200

196:                                              ; preds = %177
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %9, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %10, align 4
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %23) #9
  br label %200

200:                                              ; preds = %196, %192
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #9
  br label %201

201:                                              ; preds = %200, %188
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %23) #9
  br label %1183

202:                                              ; preds = %179
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %9, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %10, align 4
  br label %215

206:                                              ; preds = %180
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %9, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %10, align 4
  br label %214

210:                                              ; preds = %181
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %9, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %10, align 4
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %26) #9
  br label %214

214:                                              ; preds = %210, %206
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  br label %215

215:                                              ; preds = %214, %202
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %26) #9
  br label %1183

216:                                              ; preds = %187, %183
  %217 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %218 = trunc i8 %217 to i1
  br i1 %218, label %219, label %221

219:                                              ; preds = %216
  invoke void @_ZNK7SGTELIB6Matrix13display_shortERSo(ptr noundef nonnull align 8 dereferenceable(56) %8, ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout)
          to label %220 unwind label %162

220:                                              ; preds = %219
  br label %221

221:                                              ; preds = %220, %216
  %222 = invoke noundef i32 @_ZNK7SGTELIB6Matrix11get_nb_rowsEv(ptr noundef nonnull align 8 dereferenceable(56) %7)
          to label %223 unwind label %162

223:                                              ; preds = %221
  %224 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %222)
          to label %225 unwind label %162

225:                                              ; preds = %223
  %226 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %224, ptr noundef @.str.61)
          to label %227 unwind label %162

227:                                              ; preds = %225
  %228 = load ptr, ptr %6, align 8, !tbaa !5
  %229 = icmp ne ptr %228, null
  br i1 %229, label %256, label %230

230:                                              ; preds = %227
  %231 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %232 = trunc i8 %231 to i1
  br i1 %232, label %233, label %236

233:                                              ; preds = %230
  %234 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.62)
          to label %235 unwind label %162

235:                                              ; preds = %233
  br label %236

236:                                              ; preds = %235, %230
  %237 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 504) #10
          to label %238 unwind label %162

238:                                              ; preds = %236
  invoke void @_ZN7SGTELIB11TrainingSetC1ERKNS_6MatrixES3_(ptr noundef nonnull align 8 dereferenceable(504) %237, ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 8 dereferenceable(56) %8)
          to label %239 unwind label %252

239:                                              ; preds = %238
  store ptr %237, ptr %5, align 8, !tbaa !5
  %240 = load ptr, ptr %5, align 8, !tbaa !5
  %241 = load ptr, ptr %3, align 8, !tbaa !5
  %242 = invoke noundef ptr @_ZN7SGTELIB17Surrogate_FactoryERNS_11TrainingSetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(504) %240, ptr noundef nonnull align 8 dereferenceable(32) %241)
          to label %243 unwind label %162

243:                                              ; preds = %239
  store ptr %242, ptr %6, align 8, !tbaa !5
  %244 = load ptr, ptr %5, align 8, !tbaa !5
  %245 = invoke noundef i32 @_ZNK7SGTELIB11TrainingSet14get_output_dimEv(ptr noundef nonnull align 8 dereferenceable(504) %244)
          to label %246 unwind label %162

246:                                              ; preds = %243
  store i32 %245, ptr %17, align 4, !tbaa !11
  %247 = invoke i32 @system(ptr noundef @.str.63)
          to label %248 unwind label %162

248:                                              ; preds = %246
  %249 = trunc i32 %247 to i8
  %250 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %249)
          to label %251 unwind label %162

251:                                              ; preds = %248
  br label %266

252:                                              ; preds = %238
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %9, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %10, align 4
  call void @_ZdlPvm(ptr noundef %237, i64 noundef 504) #11
  br label %1183

256:                                              ; preds = %227
  %257 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %258 = trunc i8 %257 to i1
  br i1 %258, label %259, label %262

259:                                              ; preds = %256
  %260 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.64)
          to label %261 unwind label %162

261:                                              ; preds = %259
  br label %262

262:                                              ; preds = %261, %256
  %263 = load ptr, ptr %5, align 8, !tbaa !5
  %264 = invoke noundef zeroext i1 @_ZN7SGTELIB11TrainingSet10add_pointsERKNS_6MatrixES3_(ptr noundef nonnull align 8 dereferenceable(504) %263, ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 8 dereferenceable(56) %8)
          to label %265 unwind label %162

265:                                              ; preds = %262
  br label %266

266:                                              ; preds = %265, %251
  %267 = invoke i32 @system(ptr noundef @.str.65)
          to label %268 unwind label %162

268:                                              ; preds = %266
  %269 = trunc i32 %267 to i8
  %270 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %269)
          to label %271 unwind label %162

271:                                              ; preds = %268
  %272 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %273 = trunc i8 %272 to i1
  br i1 %273, label %274, label %277

274:                                              ; preds = %271
  %275 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.66)
          to label %276 unwind label %162

276:                                              ; preds = %274
  br label %277

277:                                              ; preds = %276, %271
  br label %1170

278:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 32, ptr %29) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef @.str.67, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %279 unwind label %311

279:                                              ; preds = %278
  %280 = invoke noundef zeroext i1 @_ZN7SGTELIB6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %29)
          to label %281 unwind label %315

281:                                              ; preds = %279
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #9
  br i1 %280, label %282, label %545

282:                                              ; preds = %281
  %283 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.68)
          to label %284 unwind label %162

284:                                              ; preds = %282
  %285 = load i32, ptr %15, align 4, !tbaa !11
  %286 = add nsw i32 %285, 1
  store i32 %286, ptr %15, align 4, !tbaa !11
  %287 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %283, i32 noundef %285)
          to label %288 unwind label %162

288:                                              ; preds = %284
  %289 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %287, ptr noundef @.str.21)
          to label %290 unwind label %162

290:                                              ; preds = %288
  %291 = invoke i32 @system(ptr noundef @.str.69)
          to label %292 unwind label %162

292:                                              ; preds = %290
  %293 = trunc i32 %291 to i8
  %294 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %293)
          to label %295 unwind label %162

295:                                              ; preds = %292
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #9
  store i8 0, ptr %31, align 1, !tbaa !9
  %296 = load ptr, ptr %6, align 8, !tbaa !5
  %297 = icmp ne ptr %296, null
  br i1 %297, label %298, label %335

298:                                              ; preds = %295
  %299 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %300 = trunc i8 %299 to i1
  br i1 %300, label %301, label %324

301:                                              ; preds = %298
  %302 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.70)
          to label %303 unwind label %320

303:                                              ; preds = %301
  %304 = load ptr, ptr %5, align 8, !tbaa !5
  %305 = invoke noundef i32 @_ZNK7SGTELIB11TrainingSet13get_nb_pointsEv(ptr noundef nonnull align 8 dereferenceable(504) %304)
          to label %306 unwind label %320

306:                                              ; preds = %303
  %307 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %302, i32 noundef %305)
          to label %308 unwind label %320

308:                                              ; preds = %306
  %309 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %307, ptr noundef @.str.71)
          to label %310 unwind label %320

310:                                              ; preds = %308
  br label %324

311:                                              ; preds = %278
  %312 = landingpad { ptr, i32 }
          cleanup
  %313 = extractvalue { ptr, i32 } %312, 0
  store ptr %313, ptr %9, align 8
  %314 = extractvalue { ptr, i32 } %312, 1
  store i32 %314, ptr %10, align 4
  br label %319

315:                                              ; preds = %279
  %316 = landingpad { ptr, i32 }
          cleanup
  %317 = extractvalue { ptr, i32 } %316, 0
  store ptr %317, ptr %9, align 8
  %318 = extractvalue { ptr, i32 } %316, 1
  store i32 %318, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #9
  br label %319

319:                                              ; preds = %315, %311
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #9
  br label %1183

320:                                              ; preds = %504, %498, %496, %495, %494, %493, %492, %491, %482, %479, %474, %471, %469, %466, %460, %455, %450, %377, %345, %338, %331, %324, %308, %306, %303, %301
  %321 = landingpad { ptr, i32 }
          cleanup
  %322 = extractvalue { ptr, i32 } %321, 0
  store ptr %322, ptr %9, align 8
  %323 = extractvalue { ptr, i32 } %321, 1
  store i32 %323, ptr %10, align 4
  br label %544

324:                                              ; preds = %310, %298
  %325 = load ptr, ptr %6, align 8, !tbaa !5
  %326 = invoke noundef zeroext i1 @_ZN7SGTELIB9Surrogate5buildEv(ptr noundef nonnull align 8 dereferenceable(985) %325)
          to label %327 unwind label %320

327:                                              ; preds = %324
  %328 = zext i1 %326 to i8
  store i8 %328, ptr %31, align 1, !tbaa !9
  %329 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %330 = trunc i8 %329 to i1
  br i1 %330, label %331, label %334

331:                                              ; preds = %327
  %332 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZNK7SGTELIB9Surrogate7displayERSo(ptr noundef nonnull align 8 dereferenceable(985) %332, ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout)
          to label %333 unwind label %320

333:                                              ; preds = %331
  br label %334

334:                                              ; preds = %333, %327
  br label %335

335:                                              ; preds = %334, %295
  %336 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %337 = trunc i8 %336 to i1
  br i1 %337, label %338, label %341

338:                                              ; preds = %335
  %339 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.72)
          to label %340 unwind label %320

340:                                              ; preds = %338
  br label %341

341:                                              ; preds = %340, %335
  call void @llvm.lifetime.start.p0(i64 56, ptr %32) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef @.str.73, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %342 unwind label %380

342:                                              ; preds = %341
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %32, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %343 unwind label %384

343:                                              ; preds = %342
  %344 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 8 dereferenceable(56) %32)
          to label %345 unwind label %388

345:                                              ; preds = %343
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %32) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %32) #9
  %346 = invoke noundef i32 @_ZNK7SGTELIB6Matrix11get_nb_rowsEv(ptr noundef nonnull align 8 dereferenceable(56) %7)
          to label %347 unwind label %320

347:                                              ; preds = %345
  store i32 %346, ptr %16, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 56, ptr %35) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef @.str.25, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %348 unwind label %394

348:                                              ; preds = %347
  %349 = load i32, ptr %16, align 4, !tbaa !11
  %350 = load i32, ptr %17, align 4, !tbaa !11
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %35, ptr noundef nonnull align 8 dereferenceable(32) %36, i32 noundef %349, i32 noundef %350)
          to label %351 unwind label %398

351:                                              ; preds = %348
  %352 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %8, ptr noundef nonnull align 8 dereferenceable(56) %35)
          to label %353 unwind label %402

353:                                              ; preds = %351
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %35) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %35) #9
  call void @llvm.lifetime.start.p0(i64 56, ptr %38) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %39) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef @.str.74, ptr noundef nonnull align 1 dereferenceable(1) %40)
          to label %354 unwind label %408

354:                                              ; preds = %353
  %355 = load i32, ptr %16, align 4, !tbaa !11
  %356 = load i32, ptr %17, align 4, !tbaa !11
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %38, ptr noundef nonnull align 8 dereferenceable(32) %39, i32 noundef %355, i32 noundef %356)
          to label %357 unwind label %412

357:                                              ; preds = %354
  %358 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %11, ptr noundef nonnull align 8 dereferenceable(56) %38)
          to label %359 unwind label %416

359:                                              ; preds = %357
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %38) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %38) #9
  call void @llvm.lifetime.start.p0(i64 56, ptr %41) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %42) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef @.str.75, ptr noundef nonnull align 1 dereferenceable(1) %43)
          to label %360 unwind label %422

360:                                              ; preds = %359
  %361 = load i32, ptr %16, align 4, !tbaa !11
  %362 = load i32, ptr %17, align 4, !tbaa !11
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %41, ptr noundef nonnull align 8 dereferenceable(32) %42, i32 noundef %361, i32 noundef %362)
          to label %363 unwind label %426

363:                                              ; preds = %360
  %364 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %12, ptr noundef nonnull align 8 dereferenceable(56) %41)
          to label %365 unwind label %430

365:                                              ; preds = %363
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %41) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %41) #9
  call void @llvm.lifetime.start.p0(i64 56, ptr %44) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %45) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %46) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef @.str.76, ptr noundef nonnull align 1 dereferenceable(1) %46)
          to label %366 unwind label %436

366:                                              ; preds = %365
  %367 = load i32, ptr %16, align 4, !tbaa !11
  %368 = load i32, ptr %17, align 4, !tbaa !11
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %44, ptr noundef nonnull align 8 dereferenceable(32) %45, i32 noundef %367, i32 noundef %368)
          to label %369 unwind label %440

369:                                              ; preds = %366
  %370 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %13, ptr noundef nonnull align 8 dereferenceable(56) %44)
          to label %371 unwind label %444

371:                                              ; preds = %369
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %44) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %44) #9
  %372 = load i8, ptr %31, align 1, !tbaa !9, !range !13, !noundef !14
  %373 = trunc i8 %372 to i1
  br i1 %373, label %374, label %463

374:                                              ; preds = %371
  %375 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %376 = trunc i8 %375 to i1
  br i1 %376, label %377, label %450

377:                                              ; preds = %374
  %378 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.77)
          to label %379 unwind label %320

379:                                              ; preds = %377
  br label %450

380:                                              ; preds = %341
  %381 = landingpad { ptr, i32 }
          cleanup
  %382 = extractvalue { ptr, i32 } %381, 0
  store ptr %382, ptr %9, align 8
  %383 = extractvalue { ptr, i32 } %381, 1
  store i32 %383, ptr %10, align 4
  br label %393

384:                                              ; preds = %342
  %385 = landingpad { ptr, i32 }
          cleanup
  %386 = extractvalue { ptr, i32 } %385, 0
  store ptr %386, ptr %9, align 8
  %387 = extractvalue { ptr, i32 } %385, 1
  store i32 %387, ptr %10, align 4
  br label %392

388:                                              ; preds = %343
  %389 = landingpad { ptr, i32 }
          cleanup
  %390 = extractvalue { ptr, i32 } %389, 0
  store ptr %390, ptr %9, align 8
  %391 = extractvalue { ptr, i32 } %389, 1
  store i32 %391, ptr %10, align 4
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %32) #9
  br label %392

392:                                              ; preds = %388, %384
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  br label %393

393:                                              ; preds = %392, %380
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %32) #9
  br label %544

394:                                              ; preds = %347
  %395 = landingpad { ptr, i32 }
          cleanup
  %396 = extractvalue { ptr, i32 } %395, 0
  store ptr %396, ptr %9, align 8
  %397 = extractvalue { ptr, i32 } %395, 1
  store i32 %397, ptr %10, align 4
  br label %407

398:                                              ; preds = %348
  %399 = landingpad { ptr, i32 }
          cleanup
  %400 = extractvalue { ptr, i32 } %399, 0
  store ptr %400, ptr %9, align 8
  %401 = extractvalue { ptr, i32 } %399, 1
  store i32 %401, ptr %10, align 4
  br label %406

402:                                              ; preds = %351
  %403 = landingpad { ptr, i32 }
          cleanup
  %404 = extractvalue { ptr, i32 } %403, 0
  store ptr %404, ptr %9, align 8
  %405 = extractvalue { ptr, i32 } %403, 1
  store i32 %405, ptr %10, align 4
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %35) #9
  br label %406

406:                                              ; preds = %402, %398
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #9
  br label %407

407:                                              ; preds = %406, %394
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %35) #9
  br label %544

408:                                              ; preds = %353
  %409 = landingpad { ptr, i32 }
          cleanup
  %410 = extractvalue { ptr, i32 } %409, 0
  store ptr %410, ptr %9, align 8
  %411 = extractvalue { ptr, i32 } %409, 1
  store i32 %411, ptr %10, align 4
  br label %421

412:                                              ; preds = %354
  %413 = landingpad { ptr, i32 }
          cleanup
  %414 = extractvalue { ptr, i32 } %413, 0
  store ptr %414, ptr %9, align 8
  %415 = extractvalue { ptr, i32 } %413, 1
  store i32 %415, ptr %10, align 4
  br label %420

416:                                              ; preds = %357
  %417 = landingpad { ptr, i32 }
          cleanup
  %418 = extractvalue { ptr, i32 } %417, 0
  store ptr %418, ptr %9, align 8
  %419 = extractvalue { ptr, i32 } %417, 1
  store i32 %419, ptr %10, align 4
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %38) #9
  br label %420

420:                                              ; preds = %416, %412
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #9
  br label %421

421:                                              ; preds = %420, %408
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %38) #9
  br label %544

422:                                              ; preds = %359
  %423 = landingpad { ptr, i32 }
          cleanup
  %424 = extractvalue { ptr, i32 } %423, 0
  store ptr %424, ptr %9, align 8
  %425 = extractvalue { ptr, i32 } %423, 1
  store i32 %425, ptr %10, align 4
  br label %435

426:                                              ; preds = %360
  %427 = landingpad { ptr, i32 }
          cleanup
  %428 = extractvalue { ptr, i32 } %427, 0
  store ptr %428, ptr %9, align 8
  %429 = extractvalue { ptr, i32 } %427, 1
  store i32 %429, ptr %10, align 4
  br label %434

430:                                              ; preds = %363
  %431 = landingpad { ptr, i32 }
          cleanup
  %432 = extractvalue { ptr, i32 } %431, 0
  store ptr %432, ptr %9, align 8
  %433 = extractvalue { ptr, i32 } %431, 1
  store i32 %433, ptr %10, align 4
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %41) #9
  br label %434

434:                                              ; preds = %430, %426
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #9
  br label %435

435:                                              ; preds = %434, %422
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %41) #9
  br label %544

436:                                              ; preds = %365
  %437 = landingpad { ptr, i32 }
          cleanup
  %438 = extractvalue { ptr, i32 } %437, 0
  store ptr %438, ptr %9, align 8
  %439 = extractvalue { ptr, i32 } %437, 1
  store i32 %439, ptr %10, align 4
  br label %449

440:                                              ; preds = %366
  %441 = landingpad { ptr, i32 }
          cleanup
  %442 = extractvalue { ptr, i32 } %441, 0
  store ptr %442, ptr %9, align 8
  %443 = extractvalue { ptr, i32 } %441, 1
  store i32 %443, ptr %10, align 4
  br label %448

444:                                              ; preds = %369
  %445 = landingpad { ptr, i32 }
          cleanup
  %446 = extractvalue { ptr, i32 } %445, 0
  store ptr %446, ptr %9, align 8
  %447 = extractvalue { ptr, i32 } %445, 1
  store i32 %447, ptr %10, align 4
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %44) #9
  br label %448

448:                                              ; preds = %444, %440
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #9
  br label %449

449:                                              ; preds = %448, %436
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %44) #9
  br label %544

450:                                              ; preds = %379, %374
  %451 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN7SGTELIB9Surrogate7predictERKNS_6MatrixEPS1_S4_S4_S4_(ptr noundef nonnull align 8 dereferenceable(985) %451, ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef %8, ptr noundef %11, ptr noundef %12, ptr noundef %13)
          to label %452 unwind label %320

452:                                              ; preds = %450
  %453 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %454 = trunc i8 %453 to i1
  br i1 %454, label %455, label %457

455:                                              ; preds = %452
  invoke void @_ZNK7SGTELIB6Matrix13display_shortERSo(ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout)
          to label %456 unwind label %320

456:                                              ; preds = %455
  br label %457

457:                                              ; preds = %456, %452
  %458 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %459 = trunc i8 %458 to i1
  br i1 %459, label %460, label %462

460:                                              ; preds = %457
  invoke void @_ZNK7SGTELIB6Matrix13display_shortERSo(ptr noundef nonnull align 8 dereferenceable(56) %8, ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout)
          to label %461 unwind label %320

461:                                              ; preds = %460
  br label %462

462:                                              ; preds = %461, %457
  br label %476

463:                                              ; preds = %371
  %464 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %465 = trunc i8 %464 to i1
  br i1 %465, label %466, label %469

466:                                              ; preds = %463
  %467 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.78)
          to label %468 unwind label %320

468:                                              ; preds = %466
  br label %469

469:                                              ; preds = %468, %463
  %470 = invoke i32 @system(ptr noundef @.str.79)
          to label %471 unwind label %320

471:                                              ; preds = %469
  %472 = trunc i32 %470 to i8
  %473 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %472)
          to label %474 unwind label %320

474:                                              ; preds = %471
  invoke void @_ZN7SGTELIB6Matrix4fillEd(ptr noundef nonnull align 8 dereferenceable(56) %8, double noundef 0x7FEFFFFFFFFFFFFF)
          to label %475 unwind label %320

475:                                              ; preds = %474
  br label %476

476:                                              ; preds = %475, %462
  %477 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %478 = trunc i8 %477 to i1
  br i1 %478, label %479, label %482

479:                                              ; preds = %476
  %480 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.80)
          to label %481 unwind label %320

481:                                              ; preds = %479
  br label %482

482:                                              ; preds = %481, %476
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %19, ptr noundef @.str.73, i32 noundef 16)
          to label %483 unwind label %320

483:                                              ; preds = %482
  call void @llvm.lifetime.start.p0(i64 32, ptr %47) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %48) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef @.str.81, ptr noundef nonnull align 1 dereferenceable(1) %48)
          to label %484 unwind label %507

484:                                              ; preds = %483
  invoke void @_ZN7SGTELIB6Matrix8set_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %8, ptr noundef nonnull align 8 dereferenceable(32) %47)
          to label %485 unwind label %511

485:                                              ; preds = %484
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %49) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %50) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef @.str.74, ptr noundef nonnull align 1 dereferenceable(1) %50)
          to label %486 unwind label %516

486:                                              ; preds = %485
  invoke void @_ZN7SGTELIB6Matrix8set_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %11, ptr noundef nonnull align 8 dereferenceable(32) %49)
          to label %487 unwind label %520

487:                                              ; preds = %486
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %51) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %52) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef @.str.75, ptr noundef nonnull align 1 dereferenceable(1) %52)
          to label %488 unwind label %525

488:                                              ; preds = %487
  invoke void @_ZN7SGTELIB6Matrix8set_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %12, ptr noundef nonnull align 8 dereferenceable(32) %51)
          to label %489 unwind label %529

489:                                              ; preds = %488
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %51) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %53) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %54) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef @.str.76, ptr noundef nonnull align 1 dereferenceable(1) %54)
          to label %490 unwind label %534

490:                                              ; preds = %489
  invoke void @_ZN7SGTELIB6Matrix8set_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %13, ptr noundef nonnull align 8 dereferenceable(32) %53)
          to label %491 unwind label %538

491:                                              ; preds = %490
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %54) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %53) #9
  invoke void @_ZNK7SGTELIB6Matrix7displayERSo(ptr noundef nonnull align 8 dereferenceable(56) %8, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %492 unwind label %320

492:                                              ; preds = %491
  invoke void @_ZNK7SGTELIB6Matrix7displayERSo(ptr noundef nonnull align 8 dereferenceable(56) %11, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %493 unwind label %320

493:                                              ; preds = %492
  invoke void @_ZNK7SGTELIB6Matrix7displayERSo(ptr noundef nonnull align 8 dereferenceable(56) %12, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %494 unwind label %320

494:                                              ; preds = %493
  invoke void @_ZNK7SGTELIB6Matrix7displayERSo(ptr noundef nonnull align 8 dereferenceable(56) %13, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %495 unwind label %320

495:                                              ; preds = %494
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %19)
          to label %496 unwind label %320

496:                                              ; preds = %495
  %497 = invoke i32 @system(ptr noundef @.str.82)
          to label %498 unwind label %320

498:                                              ; preds = %496
  %499 = trunc i32 %497 to i8
  %500 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %499)
          to label %501 unwind label %320

501:                                              ; preds = %498
  %502 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %503 = trunc i8 %502 to i1
  br i1 %503, label %504, label %543

504:                                              ; preds = %501
  %505 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.66)
          to label %506 unwind label %320

506:                                              ; preds = %504
  br label %543

507:                                              ; preds = %483
  %508 = landingpad { ptr, i32 }
          cleanup
  %509 = extractvalue { ptr, i32 } %508, 0
  store ptr %509, ptr %9, align 8
  %510 = extractvalue { ptr, i32 } %508, 1
  store i32 %510, ptr %10, align 4
  br label %515

511:                                              ; preds = %484
  %512 = landingpad { ptr, i32 }
          cleanup
  %513 = extractvalue { ptr, i32 } %512, 0
  store ptr %513, ptr %9, align 8
  %514 = extractvalue { ptr, i32 } %512, 1
  store i32 %514, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #9
  br label %515

515:                                              ; preds = %511, %507
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #9
  br label %544

516:                                              ; preds = %485
  %517 = landingpad { ptr, i32 }
          cleanup
  %518 = extractvalue { ptr, i32 } %517, 0
  store ptr %518, ptr %9, align 8
  %519 = extractvalue { ptr, i32 } %517, 1
  store i32 %519, ptr %10, align 4
  br label %524

520:                                              ; preds = %486
  %521 = landingpad { ptr, i32 }
          cleanup
  %522 = extractvalue { ptr, i32 } %521, 0
  store ptr %522, ptr %9, align 8
  %523 = extractvalue { ptr, i32 } %521, 1
  store i32 %523, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #9
  br label %524

524:                                              ; preds = %520, %516
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #9
  br label %544

525:                                              ; preds = %487
  %526 = landingpad { ptr, i32 }
          cleanup
  %527 = extractvalue { ptr, i32 } %526, 0
  store ptr %527, ptr %9, align 8
  %528 = extractvalue { ptr, i32 } %526, 1
  store i32 %528, ptr %10, align 4
  br label %533

529:                                              ; preds = %488
  %530 = landingpad { ptr, i32 }
          cleanup
  %531 = extractvalue { ptr, i32 } %530, 0
  store ptr %531, ptr %9, align 8
  %532 = extractvalue { ptr, i32 } %530, 1
  store i32 %532, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #9
  br label %533

533:                                              ; preds = %529, %525
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %51) #9
  br label %544

534:                                              ; preds = %489
  %535 = landingpad { ptr, i32 }
          cleanup
  %536 = extractvalue { ptr, i32 } %535, 0
  store ptr %536, ptr %9, align 8
  %537 = extractvalue { ptr, i32 } %535, 1
  store i32 %537, ptr %10, align 4
  br label %542

538:                                              ; preds = %490
  %539 = landingpad { ptr, i32 }
          cleanup
  %540 = extractvalue { ptr, i32 } %539, 0
  store ptr %540, ptr %9, align 8
  %541 = extractvalue { ptr, i32 } %539, 1
  store i32 %541, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #9
  br label %542

542:                                              ; preds = %538, %534
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %54) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %53) #9
  br label %544

543:                                              ; preds = %506, %501
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #9
  br label %1169

544:                                              ; preds = %542, %533, %524, %515, %449, %435, %421, %407, %393, %320
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #9
  br label %1183

545:                                              ; preds = %281
  call void @llvm.lifetime.start.p0(i64 32, ptr %55) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %56) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef @.str.83, ptr noundef nonnull align 1 dereferenceable(1) %56)
          to label %546 unwind label %570

546:                                              ; preds = %545
  %547 = invoke noundef zeroext i1 @_ZN7SGTELIB6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %55)
          to label %548 unwind label %574

548:                                              ; preds = %546
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #9
  br i1 %547, label %549, label %767

549:                                              ; preds = %548
  %550 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.84)
          to label %551 unwind label %162

551:                                              ; preds = %549
  %552 = load i32, ptr %15, align 4, !tbaa !11
  %553 = add nsw i32 %552, 1
  store i32 %553, ptr %15, align 4, !tbaa !11
  %554 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %550, i32 noundef %552)
          to label %555 unwind label %162

555:                                              ; preds = %551
  %556 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %554, ptr noundef @.str.21)
          to label %557 unwind label %162

557:                                              ; preds = %555
  %558 = invoke i32 @system(ptr noundef @.str.85)
          to label %559 unwind label %162

559:                                              ; preds = %557
  %560 = trunc i32 %558 to i8
  %561 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %560)
          to label %562 unwind label %162

562:                                              ; preds = %559
  call void @llvm.lifetime.start.p0(i64 1, ptr %57) #9
  store i8 0, ptr %57, align 1, !tbaa !9
  %563 = load ptr, ptr %6, align 8, !tbaa !5
  %564 = icmp ne ptr %563, null
  br i1 %564, label %565, label %583

565:                                              ; preds = %562
  %566 = load ptr, ptr %6, align 8, !tbaa !5
  %567 = invoke noundef zeroext i1 @_ZN7SGTELIB9Surrogate5buildEv(ptr noundef nonnull align 8 dereferenceable(985) %566)
          to label %568 unwind label %579

568:                                              ; preds = %565
  %569 = zext i1 %567 to i8
  store i8 %569, ptr %57, align 1, !tbaa !9
  br label %583

570:                                              ; preds = %545
  %571 = landingpad { ptr, i32 }
          cleanup
  %572 = extractvalue { ptr, i32 } %571, 0
  store ptr %572, ptr %9, align 8
  %573 = extractvalue { ptr, i32 } %571, 1
  store i32 %573, ptr %10, align 4
  br label %578

574:                                              ; preds = %546
  %575 = landingpad { ptr, i32 }
          cleanup
  %576 = extractvalue { ptr, i32 } %575, 0
  store ptr %576, ptr %9, align 8
  %577 = extractvalue { ptr, i32 } %575, 1
  store i32 %577, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #9
  br label %578

578:                                              ; preds = %574, %570
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #9
  br label %1183

579:                                              ; preds = %598, %594, %592, %589, %565
  %580 = landingpad { ptr, i32 }
          cleanup
  %581 = extractvalue { ptr, i32 } %580, 0
  store ptr %581, ptr %9, align 8
  %582 = extractvalue { ptr, i32 } %580, 1
  store i32 %582, ptr %10, align 4
  br label %766

583:                                              ; preds = %568, %562
  %584 = load i8, ptr %57, align 1, !tbaa !9, !range !13, !noundef !14
  %585 = trunc i8 %584 to i1
  br i1 %585, label %598, label %586

586:                                              ; preds = %583
  %587 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %588 = trunc i8 %587 to i1
  br i1 %588, label %589, label %592

589:                                              ; preds = %586
  %590 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.78)
          to label %591 unwind label %579

591:                                              ; preds = %589
  br label %592

592:                                              ; preds = %591, %586
  %593 = invoke i32 @system(ptr noundef @.str.79)
          to label %594 unwind label %579

594:                                              ; preds = %592
  %595 = trunc i32 %593 to i8
  %596 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %595)
          to label %597 unwind label %579

597:                                              ; preds = %594
  br label %601

598:                                              ; preds = %583
  %599 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZNK7SGTELIB9Surrogate7displayERSo(ptr noundef nonnull align 8 dereferenceable(985) %599, ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout)
          to label %600 unwind label %579

600:                                              ; preds = %598
  br label %601

601:                                              ; preds = %600, %597
  call void @llvm.lifetime.start.p0(i64 56, ptr %58) #9
  invoke void @_ZN7SGTELIB6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %58)
          to label %602 unwind label %625

602:                                              ; preds = %601
  call void @llvm.lifetime.start.p0(i64 56, ptr %59) #9
  invoke void @_ZN7SGTELIB6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %59)
          to label %603 unwind label %629

603:                                              ; preds = %602
  call void @llvm.lifetime.start.p0(i64 56, ptr %60) #9
  invoke void @_ZN7SGTELIB6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %60)
          to label %604 unwind label %633

604:                                              ; preds = %603
  call void @llvm.lifetime.start.p0(i64 56, ptr %61) #9
  invoke void @_ZN7SGTELIB6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %61)
          to label %605 unwind label %637

605:                                              ; preds = %604
  %606 = load i8, ptr %57, align 1, !tbaa !9, !range !13, !noundef !14
  %607 = trunc i8 %606 to i1
  br i1 %607, label %608, label %677

608:                                              ; preds = %605
  call void @llvm.lifetime.start.p0(i64 56, ptr %62) #9
  %609 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN7SGTELIB9Surrogate13get_matrix_ZhEv(ptr dead_on_unwind writable sret(%"class.SGTELIB::Matrix") align 8 %62, ptr noundef nonnull align 8 dereferenceable(985) %609)
          to label %610 unwind label %641

610:                                              ; preds = %608
  %611 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %58, ptr noundef nonnull align 8 dereferenceable(56) %62)
          to label %612 unwind label %645

612:                                              ; preds = %610
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %62) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %62) #9
  call void @llvm.lifetime.start.p0(i64 56, ptr %63) #9
  %613 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN7SGTELIB9Surrogate13get_matrix_ShEv(ptr dead_on_unwind writable sret(%"class.SGTELIB::Matrix") align 8 %63, ptr noundef nonnull align 8 dereferenceable(985) %613)
          to label %614 unwind label %650

614:                                              ; preds = %612
  %615 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %59, ptr noundef nonnull align 8 dereferenceable(56) %63)
          to label %616 unwind label %654

616:                                              ; preds = %614
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %63) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %63) #9
  call void @llvm.lifetime.start.p0(i64 56, ptr %64) #9
  %617 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN7SGTELIB9Surrogate13get_matrix_ZvEv(ptr dead_on_unwind writable sret(%"class.SGTELIB::Matrix") align 8 %64, ptr noundef nonnull align 8 dereferenceable(985) %617)
          to label %618 unwind label %659

618:                                              ; preds = %616
  %619 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %60, ptr noundef nonnull align 8 dereferenceable(56) %64)
          to label %620 unwind label %663

620:                                              ; preds = %618
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %64) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %64) #9
  call void @llvm.lifetime.start.p0(i64 56, ptr %65) #9
  %621 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN7SGTELIB9Surrogate13get_matrix_SvEv(ptr dead_on_unwind writable sret(%"class.SGTELIB::Matrix") align 8 %65, ptr noundef nonnull align 8 dereferenceable(985) %621)
          to label %622 unwind label %668

622:                                              ; preds = %620
  %623 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %61, ptr noundef nonnull align 8 dereferenceable(56) %65)
          to label %624 unwind label %672

624:                                              ; preds = %622
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %65) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %65) #9
  br label %693

625:                                              ; preds = %601
  %626 = landingpad { ptr, i32 }
          cleanup
  %627 = extractvalue { ptr, i32 } %626, 0
  store ptr %627, ptr %9, align 8
  %628 = extractvalue { ptr, i32 } %626, 1
  store i32 %628, ptr %10, align 4
  br label %765

629:                                              ; preds = %602
  %630 = landingpad { ptr, i32 }
          cleanup
  %631 = extractvalue { ptr, i32 } %630, 0
  store ptr %631, ptr %9, align 8
  %632 = extractvalue { ptr, i32 } %630, 1
  store i32 %632, ptr %10, align 4
  br label %764

633:                                              ; preds = %603
  %634 = landingpad { ptr, i32 }
          cleanup
  %635 = extractvalue { ptr, i32 } %634, 0
  store ptr %635, ptr %9, align 8
  %636 = extractvalue { ptr, i32 } %634, 1
  store i32 %636, ptr %10, align 4
  br label %763

637:                                              ; preds = %604
  %638 = landingpad { ptr, i32 }
          cleanup
  %639 = extractvalue { ptr, i32 } %638, 0
  store ptr %639, ptr %9, align 8
  %640 = extractvalue { ptr, i32 } %638, 1
  store i32 %640, ptr %10, align 4
  br label %762

641:                                              ; preds = %608
  %642 = landingpad { ptr, i32 }
          cleanup
  %643 = extractvalue { ptr, i32 } %642, 0
  store ptr %643, ptr %9, align 8
  %644 = extractvalue { ptr, i32 } %642, 1
  store i32 %644, ptr %10, align 4
  br label %649

645:                                              ; preds = %610
  %646 = landingpad { ptr, i32 }
          cleanup
  %647 = extractvalue { ptr, i32 } %646, 0
  store ptr %647, ptr %9, align 8
  %648 = extractvalue { ptr, i32 } %646, 1
  store i32 %648, ptr %10, align 4
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %62) #9
  br label %649

649:                                              ; preds = %645, %641
  call void @llvm.lifetime.end.p0(i64 56, ptr %62) #9
  br label %761

650:                                              ; preds = %612
  %651 = landingpad { ptr, i32 }
          cleanup
  %652 = extractvalue { ptr, i32 } %651, 0
  store ptr %652, ptr %9, align 8
  %653 = extractvalue { ptr, i32 } %651, 1
  store i32 %653, ptr %10, align 4
  br label %658

654:                                              ; preds = %614
  %655 = landingpad { ptr, i32 }
          cleanup
  %656 = extractvalue { ptr, i32 } %655, 0
  store ptr %656, ptr %9, align 8
  %657 = extractvalue { ptr, i32 } %655, 1
  store i32 %657, ptr %10, align 4
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %63) #9
  br label %658

658:                                              ; preds = %654, %650
  call void @llvm.lifetime.end.p0(i64 56, ptr %63) #9
  br label %761

659:                                              ; preds = %616
  %660 = landingpad { ptr, i32 }
          cleanup
  %661 = extractvalue { ptr, i32 } %660, 0
  store ptr %661, ptr %9, align 8
  %662 = extractvalue { ptr, i32 } %660, 1
  store i32 %662, ptr %10, align 4
  br label %667

663:                                              ; preds = %618
  %664 = landingpad { ptr, i32 }
          cleanup
  %665 = extractvalue { ptr, i32 } %664, 0
  store ptr %665, ptr %9, align 8
  %666 = extractvalue { ptr, i32 } %664, 1
  store i32 %666, ptr %10, align 4
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %64) #9
  br label %667

667:                                              ; preds = %663, %659
  call void @llvm.lifetime.end.p0(i64 56, ptr %64) #9
  br label %761

668:                                              ; preds = %620
  %669 = landingpad { ptr, i32 }
          cleanup
  %670 = extractvalue { ptr, i32 } %669, 0
  store ptr %670, ptr %9, align 8
  %671 = extractvalue { ptr, i32 } %669, 1
  store i32 %671, ptr %10, align 4
  br label %676

672:                                              ; preds = %622
  %673 = landingpad { ptr, i32 }
          cleanup
  %674 = extractvalue { ptr, i32 } %673, 0
  store ptr %674, ptr %9, align 8
  %675 = extractvalue { ptr, i32 } %673, 1
  store i32 %675, ptr %10, align 4
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %65) #9
  br label %676

676:                                              ; preds = %672, %668
  call void @llvm.lifetime.end.p0(i64 56, ptr %65) #9
  br label %761

677:                                              ; preds = %605
  %678 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %679 = trunc i8 %678 to i1
  br i1 %679, label %680, label %687

680:                                              ; preds = %677
  %681 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.78)
          to label %682 unwind label %683

682:                                              ; preds = %680
  br label %687

683:                                              ; preds = %721, %715, %713, %712, %711, %710, %709, %708, %699, %696, %689, %687, %680
  %684 = landingpad { ptr, i32 }
          cleanup
  %685 = extractvalue { ptr, i32 } %684, 0
  store ptr %685, ptr %9, align 8
  %686 = extractvalue { ptr, i32 } %684, 1
  store i32 %686, ptr %10, align 4
  br label %761

687:                                              ; preds = %682, %677
  %688 = invoke i32 @system(ptr noundef @.str.79)
          to label %689 unwind label %683

689:                                              ; preds = %687
  %690 = trunc i32 %688 to i8
  %691 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %690)
          to label %692 unwind label %683

692:                                              ; preds = %689
  br label %693

693:                                              ; preds = %692, %624
  %694 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %695 = trunc i8 %694 to i1
  br i1 %695, label %696, label %699

696:                                              ; preds = %693
  %697 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.80)
          to label %698 unwind label %683

698:                                              ; preds = %696
  br label %699

699:                                              ; preds = %698, %693
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %19, ptr noundef @.str.86, i32 noundef 16)
          to label %700 unwind label %683

700:                                              ; preds = %699
  call void @llvm.lifetime.start.p0(i64 32, ptr %66) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %67) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %67) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %66, ptr noundef @.str.87, ptr noundef nonnull align 1 dereferenceable(1) %67)
          to label %701 unwind label %724

701:                                              ; preds = %700
  invoke void @_ZN7SGTELIB6Matrix8set_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %58, ptr noundef nonnull align 8 dereferenceable(32) %66)
          to label %702 unwind label %728

702:                                              ; preds = %701
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %67) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %67) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %66) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %68) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %69) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %68, ptr noundef @.str.88, ptr noundef nonnull align 1 dereferenceable(1) %69)
          to label %703 unwind label %733

703:                                              ; preds = %702
  invoke void @_ZN7SGTELIB6Matrix8set_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %59, ptr noundef nonnull align 8 dereferenceable(32) %68)
          to label %704 unwind label %737

704:                                              ; preds = %703
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %69) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %68) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %70) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %71) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %70, ptr noundef @.str.89, ptr noundef nonnull align 1 dereferenceable(1) %71)
          to label %705 unwind label %742

705:                                              ; preds = %704
  invoke void @_ZN7SGTELIB6Matrix8set_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %60, ptr noundef nonnull align 8 dereferenceable(32) %70)
          to label %706 unwind label %746

706:                                              ; preds = %705
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %71) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %70) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %72) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %73) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef @.str.90, ptr noundef nonnull align 1 dereferenceable(1) %73)
          to label %707 unwind label %751

707:                                              ; preds = %706
  invoke void @_ZN7SGTELIB6Matrix8set_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %61, ptr noundef nonnull align 8 dereferenceable(32) %72)
          to label %708 unwind label %755

708:                                              ; preds = %707
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %73) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %72) #9
  invoke void @_ZNK7SGTELIB6Matrix7displayERSo(ptr noundef nonnull align 8 dereferenceable(56) %58, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %709 unwind label %683

709:                                              ; preds = %708
  invoke void @_ZNK7SGTELIB6Matrix7displayERSo(ptr noundef nonnull align 8 dereferenceable(56) %59, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %710 unwind label %683

710:                                              ; preds = %709
  invoke void @_ZNK7SGTELIB6Matrix7displayERSo(ptr noundef nonnull align 8 dereferenceable(56) %60, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %711 unwind label %683

711:                                              ; preds = %710
  invoke void @_ZNK7SGTELIB6Matrix7displayERSo(ptr noundef nonnull align 8 dereferenceable(56) %61, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %712 unwind label %683

712:                                              ; preds = %711
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %19)
          to label %713 unwind label %683

713:                                              ; preds = %712
  %714 = invoke i32 @system(ptr noundef @.str.91)
          to label %715 unwind label %683

715:                                              ; preds = %713
  %716 = trunc i32 %714 to i8
  %717 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %716)
          to label %718 unwind label %683

718:                                              ; preds = %715
  %719 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %720 = trunc i8 %719 to i1
  br i1 %720, label %721, label %760

721:                                              ; preds = %718
  %722 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.66)
          to label %723 unwind label %683

723:                                              ; preds = %721
  br label %760

724:                                              ; preds = %700
  %725 = landingpad { ptr, i32 }
          cleanup
  %726 = extractvalue { ptr, i32 } %725, 0
  store ptr %726, ptr %9, align 8
  %727 = extractvalue { ptr, i32 } %725, 1
  store i32 %727, ptr %10, align 4
  br label %732

728:                                              ; preds = %701
  %729 = landingpad { ptr, i32 }
          cleanup
  %730 = extractvalue { ptr, i32 } %729, 0
  store ptr %730, ptr %9, align 8
  %731 = extractvalue { ptr, i32 } %729, 1
  store i32 %731, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #9
  br label %732

732:                                              ; preds = %728, %724
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %67) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %67) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %66) #9
  br label %761

733:                                              ; preds = %702
  %734 = landingpad { ptr, i32 }
          cleanup
  %735 = extractvalue { ptr, i32 } %734, 0
  store ptr %735, ptr %9, align 8
  %736 = extractvalue { ptr, i32 } %734, 1
  store i32 %736, ptr %10, align 4
  br label %741

737:                                              ; preds = %703
  %738 = landingpad { ptr, i32 }
          cleanup
  %739 = extractvalue { ptr, i32 } %738, 0
  store ptr %739, ptr %9, align 8
  %740 = extractvalue { ptr, i32 } %738, 1
  store i32 %740, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #9
  br label %741

741:                                              ; preds = %737, %733
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %69) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %68) #9
  br label %761

742:                                              ; preds = %704
  %743 = landingpad { ptr, i32 }
          cleanup
  %744 = extractvalue { ptr, i32 } %743, 0
  store ptr %744, ptr %9, align 8
  %745 = extractvalue { ptr, i32 } %743, 1
  store i32 %745, ptr %10, align 4
  br label %750

746:                                              ; preds = %705
  %747 = landingpad { ptr, i32 }
          cleanup
  %748 = extractvalue { ptr, i32 } %747, 0
  store ptr %748, ptr %9, align 8
  %749 = extractvalue { ptr, i32 } %747, 1
  store i32 %749, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #9
  br label %750

750:                                              ; preds = %746, %742
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %71) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %70) #9
  br label %761

751:                                              ; preds = %706
  %752 = landingpad { ptr, i32 }
          cleanup
  %753 = extractvalue { ptr, i32 } %752, 0
  store ptr %753, ptr %9, align 8
  %754 = extractvalue { ptr, i32 } %752, 1
  store i32 %754, ptr %10, align 4
  br label %759

755:                                              ; preds = %707
  %756 = landingpad { ptr, i32 }
          cleanup
  %757 = extractvalue { ptr, i32 } %756, 0
  store ptr %757, ptr %9, align 8
  %758 = extractvalue { ptr, i32 } %756, 1
  store i32 %758, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #9
  br label %759

759:                                              ; preds = %755, %751
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %73) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %72) #9
  br label %761

760:                                              ; preds = %723, %718
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %61) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %61) #9
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %60) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %60) #9
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %59) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %59) #9
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %58) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %58) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #9
  br label %1168

761:                                              ; preds = %759, %750, %741, %732, %683, %676, %667, %658, %649
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %61) #9
  br label %762

762:                                              ; preds = %761, %637
  call void @llvm.lifetime.end.p0(i64 56, ptr %61) #9
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %60) #9
  br label %763

763:                                              ; preds = %762, %633
  call void @llvm.lifetime.end.p0(i64 56, ptr %60) #9
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %59) #9
  br label %764

764:                                              ; preds = %763, %629
  call void @llvm.lifetime.end.p0(i64 56, ptr %59) #9
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %58) #9
  br label %765

765:                                              ; preds = %764, %625
  call void @llvm.lifetime.end.p0(i64 56, ptr %58) #9
  br label %766

766:                                              ; preds = %765, %579
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #9
  br label %1183

767:                                              ; preds = %548
  call void @llvm.lifetime.start.p0(i64 32, ptr %74) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %75) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %75) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %74, ptr noundef @.str.92, ptr noundef nonnull align 1 dereferenceable(1) %75)
          to label %768 unwind label %792

768:                                              ; preds = %767
  %769 = invoke noundef zeroext i1 @_ZN7SGTELIB6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %74)
          to label %770 unwind label %796

770:                                              ; preds = %768
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %74) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %75) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %75) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %74) #9
  br i1 %769, label %771, label %931

771:                                              ; preds = %770
  %772 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.93)
          to label %773 unwind label %162

773:                                              ; preds = %771
  %774 = load i32, ptr %15, align 4, !tbaa !11
  %775 = add nsw i32 %774, 1
  store i32 %775, ptr %15, align 4, !tbaa !11
  %776 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %772, i32 noundef %774)
          to label %777 unwind label %162

777:                                              ; preds = %773
  %778 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %776, ptr noundef @.str.21)
          to label %779 unwind label %162

779:                                              ; preds = %777
  %780 = invoke i32 @system(ptr noundef @.str.94)
          to label %781 unwind label %162

781:                                              ; preds = %779
  %782 = trunc i32 %780 to i8
  %783 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %782)
          to label %784 unwind label %162

784:                                              ; preds = %781
  call void @llvm.lifetime.start.p0(i64 1, ptr %76) #9
  store i8 0, ptr %76, align 1, !tbaa !9
  %785 = load ptr, ptr %6, align 8, !tbaa !5
  %786 = icmp ne ptr %785, null
  br i1 %786, label %787, label %805

787:                                              ; preds = %784
  %788 = load ptr, ptr %6, align 8, !tbaa !5
  %789 = invoke noundef zeroext i1 @_ZN7SGTELIB9Surrogate5buildEv(ptr noundef nonnull align 8 dereferenceable(985) %788)
          to label %790 unwind label %801

790:                                              ; preds = %787
  %791 = zext i1 %789 to i8
  store i8 %791, ptr %76, align 1, !tbaa !9
  br label %805

792:                                              ; preds = %767
  %793 = landingpad { ptr, i32 }
          cleanup
  %794 = extractvalue { ptr, i32 } %793, 0
  store ptr %794, ptr %9, align 8
  %795 = extractvalue { ptr, i32 } %793, 1
  store i32 %795, ptr %10, align 4
  br label %800

796:                                              ; preds = %768
  %797 = landingpad { ptr, i32 }
          cleanup
  %798 = extractvalue { ptr, i32 } %797, 0
  store ptr %798, ptr %9, align 8
  %799 = extractvalue { ptr, i32 } %797, 1
  store i32 %799, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %74) #9
  br label %800

800:                                              ; preds = %796, %792
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %75) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %75) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %74) #9
  br label %1183

801:                                              ; preds = %816, %814, %811, %787
  %802 = landingpad { ptr, i32 }
          cleanup
  %803 = extractvalue { ptr, i32 } %802, 0
  store ptr %803, ptr %9, align 8
  %804 = extractvalue { ptr, i32 } %802, 1
  store i32 %804, ptr %10, align 4
  br label %930

805:                                              ; preds = %790, %784
  %806 = load i8, ptr %76, align 1, !tbaa !9, !range !13, !noundef !14
  %807 = trunc i8 %806 to i1
  br i1 %807, label %820, label %808

808:                                              ; preds = %805
  %809 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %810 = trunc i8 %809 to i1
  br i1 %810, label %811, label %814

811:                                              ; preds = %808
  %812 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.78)
          to label %813 unwind label %801

813:                                              ; preds = %811
  br label %814

814:                                              ; preds = %813, %808
  %815 = invoke i32 @system(ptr noundef @.str.79)
          to label %816 unwind label %801

816:                                              ; preds = %814
  %817 = trunc i32 %815 to i8
  %818 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %817)
          to label %819 unwind label %801

819:                                              ; preds = %816
  br label %820

820:                                              ; preds = %819, %805
  call void @llvm.lifetime.start.p0(i64 32, ptr %77) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %78) #9
  call void @llvm.lifetime.start.p0(i64 56, ptr %79) #9
  invoke void @_ZN7SGTELIB6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %79)
          to label %821 unwind label %835

821:                                              ; preds = %820
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %20, ptr noundef @.str.95, i32 noundef 8)
          to label %822 unwind label %839

822:                                              ; preds = %821
  %823 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(32) %77)
          to label %824 unwind label %839

824:                                              ; preds = %822
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256) %20)
          to label %825 unwind label %839

825:                                              ; preds = %824
  %826 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %827 = trunc i8 %826 to i1
  br i1 %827, label %828, label %843

828:                                              ; preds = %825
  %829 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.96)
          to label %830 unwind label %839

830:                                              ; preds = %828
  %831 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %829, ptr noundef nonnull align 8 dereferenceable(32) %77)
          to label %832 unwind label %839

832:                                              ; preds = %830
  %833 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %831, ptr noundef @.str.21)
          to label %834 unwind label %839

834:                                              ; preds = %832
  br label %843

835:                                              ; preds = %820
  %836 = landingpad { ptr, i32 }
          cleanup
  %837 = extractvalue { ptr, i32 } %836, 0
  store ptr %837, ptr %9, align 8
  %838 = extractvalue { ptr, i32 } %836, 1
  store i32 %838, ptr %10, align 4
  br label %929

839:                                              ; preds = %924, %918, %916, %915, %912, %851, %848, %843, %832, %830, %828, %824, %822, %821
  %840 = landingpad { ptr, i32 }
          cleanup
  %841 = extractvalue { ptr, i32 } %840, 0
  store ptr %841, ptr %9, align 8
  %842 = extractvalue { ptr, i32 } %840, 1
  store i32 %842, ptr %10, align 4
  br label %928

843:                                              ; preds = %834, %825
  %844 = invoke noundef i32 @_ZN7SGTELIB18str_to_metric_typeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %77)
          to label %845 unwind label %839

845:                                              ; preds = %843
  store i32 %844, ptr %78, align 4, !tbaa !15
  %846 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %847 = trunc i8 %846 to i1
  br i1 %847, label %848, label %851

848:                                              ; preds = %845
  %849 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.80)
          to label %850 unwind label %839

850:                                              ; preds = %848
  br label %851

851:                                              ; preds = %850, %845
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %19, ptr noundef @.str.95, i32 noundef 16)
          to label %852 unwind label %839

852:                                              ; preds = %851
  %853 = load i8, ptr %76, align 1, !tbaa !9, !range !13, !noundef !14
  %854 = trunc i8 %853 to i1
  br i1 %854, label %855, label %912

855:                                              ; preds = %852
  call void @llvm.lifetime.start.p0(i64 56, ptr %80) #9
  %856 = load ptr, ptr %6, align 8, !tbaa !5
  %857 = load i32, ptr %78, align 4, !tbaa !15
  invoke void @_ZN7SGTELIB9Surrogate10get_metricENS_8metric_tE(ptr dead_on_unwind writable sret(%"class.SGTELIB::Matrix") align 8 %80, ptr noundef nonnull align 8 dereferenceable(985) %856, i32 noundef %857)
          to label %858 unwind label %867

858:                                              ; preds = %855
  %859 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %79, ptr noundef nonnull align 8 dereferenceable(56) %80)
          to label %860 unwind label %871

860:                                              ; preds = %858
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %80) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %80) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %81) #9
  store i32 0, ptr %81, align 4, !tbaa !11
  br label %861

861:                                              ; preds = %908, %860
  %862 = load i32, ptr %81, align 4, !tbaa !11
  %863 = invoke noundef i32 @_ZNK7SGTELIB6Matrix11get_nb_colsEv(ptr noundef nonnull align 8 dereferenceable(56) %79)
          to label %864 unwind label %876

864:                                              ; preds = %861
  %865 = icmp slt i32 %862, %863
  br i1 %865, label %880, label %866

866:                                              ; preds = %864
  call void @llvm.lifetime.end.p0(i64 4, ptr %81) #9
  br label %911

867:                                              ; preds = %855
  %868 = landingpad { ptr, i32 }
          cleanup
  %869 = extractvalue { ptr, i32 } %868, 0
  store ptr %869, ptr %9, align 8
  %870 = extractvalue { ptr, i32 } %868, 1
  store i32 %870, ptr %10, align 4
  br label %875

871:                                              ; preds = %858
  %872 = landingpad { ptr, i32 }
          cleanup
  %873 = extractvalue { ptr, i32 } %872, 0
  store ptr %873, ptr %9, align 8
  %874 = extractvalue { ptr, i32 } %872, 1
  store i32 %874, ptr %10, align 4
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %80) #9
  br label %875

875:                                              ; preds = %871, %867
  call void @llvm.lifetime.end.p0(i64 56, ptr %80) #9
  br label %928

876:                                              ; preds = %904, %901, %898, %896, %893, %891, %886, %883, %880, %861
  %877 = landingpad { ptr, i32 }
          cleanup
  %878 = extractvalue { ptr, i32 } %877, 0
  store ptr %878, ptr %9, align 8
  %879 = extractvalue { ptr, i32 } %877, 1
  store i32 %879, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %81) #9
  br label %928

880:                                              ; preds = %864
  %881 = load i32, ptr %81, align 4, !tbaa !11
  %882 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7SGTELIB6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(56) %79, i32 noundef %881)
          to label %883 unwind label %876

883:                                              ; preds = %880
  %884 = load double, ptr %882, align 8, !tbaa !17
  %885 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %19, double noundef %884)
          to label %886 unwind label %876

886:                                              ; preds = %883
  %887 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %885, ptr noundef @.str.14)
          to label %888 unwind label %876

888:                                              ; preds = %886
  %889 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %890 = trunc i8 %889 to i1
  br i1 %890, label %891, label %907

891:                                              ; preds = %888
  %892 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.97)
          to label %893 unwind label %876

893:                                              ; preds = %891
  %894 = load i32, ptr %81, align 4, !tbaa !11
  %895 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %892, i32 noundef %894)
          to label %896 unwind label %876

896:                                              ; preds = %893
  %897 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %895, ptr noundef @.str.98)
          to label %898 unwind label %876

898:                                              ; preds = %896
  %899 = load i32, ptr %81, align 4, !tbaa !11
  %900 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7SGTELIB6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(56) %79, i32 noundef %899)
          to label %901 unwind label %876

901:                                              ; preds = %898
  %902 = load double, ptr %900, align 8, !tbaa !17
  %903 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %897, double noundef %902)
          to label %904 unwind label %876

904:                                              ; preds = %901
  %905 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %903, ptr noundef @.str.21)
          to label %906 unwind label %876

906:                                              ; preds = %904
  br label %907

907:                                              ; preds = %906, %888
  br label %908

908:                                              ; preds = %907
  %909 = load i32, ptr %81, align 4, !tbaa !11
  %910 = add nsw i32 %909, 1
  store i32 %910, ptr %81, align 4, !tbaa !11
  br label %861, !llvm.loop !19

911:                                              ; preds = %866
  br label %915

912:                                              ; preds = %852
  %913 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %19, i32 noundef -1)
          to label %914 unwind label %839

914:                                              ; preds = %912
  br label %915

915:                                              ; preds = %914, %911
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %19)
          to label %916 unwind label %839

916:                                              ; preds = %915
  %917 = invoke i32 @system(ptr noundef @.str.99)
          to label %918 unwind label %839

918:                                              ; preds = %916
  %919 = trunc i32 %917 to i8
  %920 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %919)
          to label %921 unwind label %839

921:                                              ; preds = %918
  %922 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %923 = trunc i8 %922 to i1
  br i1 %923, label %924, label %927

924:                                              ; preds = %921
  %925 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.66)
          to label %926 unwind label %839

926:                                              ; preds = %924
  br label %927

927:                                              ; preds = %926, %921
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %79) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %79) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %78) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %77) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %76) #9
  br label %1167

928:                                              ; preds = %876, %875, %839
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %79) #9
  br label %929

929:                                              ; preds = %928, %835
  call void @llvm.lifetime.end.p0(i64 56, ptr %79) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %78) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %77) #9
  br label %930

930:                                              ; preds = %929, %801
  call void @llvm.lifetime.end.p0(i64 1, ptr %76) #9
  br label %1183

931:                                              ; preds = %770
  call void @llvm.lifetime.start.p0(i64 32, ptr %82) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %83) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %83) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %82, ptr noundef @.str.100, ptr noundef nonnull align 1 dereferenceable(1) %83)
          to label %932 unwind label %956

932:                                              ; preds = %931
  %933 = invoke noundef zeroext i1 @_ZN7SGTELIB6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %82)
          to label %934 unwind label %960

934:                                              ; preds = %932
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %82) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %83) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %83) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %82) #9
  br i1 %933, label %935, label %1005

935:                                              ; preds = %934
  %936 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.101)
          to label %937 unwind label %162

937:                                              ; preds = %935
  %938 = load i32, ptr %15, align 4, !tbaa !11
  %939 = add nsw i32 %938, 1
  store i32 %939, ptr %15, align 4, !tbaa !11
  %940 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %936, i32 noundef %938)
          to label %941 unwind label %162

941:                                              ; preds = %937
  %942 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %940, ptr noundef @.str.21)
          to label %943 unwind label %162

943:                                              ; preds = %941
  %944 = invoke i32 @system(ptr noundef @.str.102)
          to label %945 unwind label %162

945:                                              ; preds = %943
  %946 = trunc i32 %944 to i8
  %947 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %946)
          to label %948 unwind label %162

948:                                              ; preds = %945
  call void @llvm.lifetime.start.p0(i64 1, ptr %84) #9
  store i8 0, ptr %84, align 1, !tbaa !9
  %949 = load ptr, ptr %6, align 8, !tbaa !5
  %950 = icmp ne ptr %949, null
  br i1 %950, label %951, label %969

951:                                              ; preds = %948
  %952 = load ptr, ptr %6, align 8, !tbaa !5
  %953 = invoke noundef zeroext i1 @_ZN7SGTELIB9Surrogate5buildEv(ptr noundef nonnull align 8 dereferenceable(985) %952)
          to label %954 unwind label %965

954:                                              ; preds = %951
  %955 = zext i1 %953 to i8
  store i8 %955, ptr %84, align 1, !tbaa !9
  br label %969

956:                                              ; preds = %931
  %957 = landingpad { ptr, i32 }
          cleanup
  %958 = extractvalue { ptr, i32 } %957, 0
  store ptr %958, ptr %9, align 8
  %959 = extractvalue { ptr, i32 } %957, 1
  store i32 %959, ptr %10, align 4
  br label %964

960:                                              ; preds = %932
  %961 = landingpad { ptr, i32 }
          cleanup
  %962 = extractvalue { ptr, i32 } %961, 0
  store ptr %962, ptr %9, align 8
  %963 = extractvalue { ptr, i32 } %961, 1
  store i32 %963, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %82) #9
  br label %964

964:                                              ; preds = %960, %956
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %83) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %83) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %82) #9
  br label %1183

965:                                              ; preds = %1001, %995, %993, %990, %987, %980, %978, %975, %951
  %966 = landingpad { ptr, i32 }
          cleanup
  %967 = extractvalue { ptr, i32 } %966, 0
  store ptr %967, ptr %9, align 8
  %968 = extractvalue { ptr, i32 } %966, 1
  store i32 %968, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %84) #9
  br label %1183

969:                                              ; preds = %954, %948
  %970 = load i8, ptr %84, align 1, !tbaa !9, !range !13, !noundef !14
  %971 = trunc i8 %970 to i1
  br i1 %971, label %984, label %972

972:                                              ; preds = %969
  %973 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %974 = trunc i8 %973 to i1
  br i1 %974, label %975, label %978

975:                                              ; preds = %972
  %976 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.78)
          to label %977 unwind label %965

977:                                              ; preds = %975
  br label %978

978:                                              ; preds = %977, %972
  %979 = invoke i32 @system(ptr noundef @.str.79)
          to label %980 unwind label %965

980:                                              ; preds = %978
  %981 = trunc i32 %979 to i8
  %982 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %981)
          to label %983 unwind label %965

983:                                              ; preds = %980
  br label %984

984:                                              ; preds = %983, %969
  %985 = load i8, ptr %84, align 1, !tbaa !9, !range !13, !noundef !14
  %986 = trunc i8 %985 to i1
  br i1 %986, label %987, label %990

987:                                              ; preds = %984
  %988 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZNK7SGTELIB9Surrogate7displayERSo(ptr noundef nonnull align 8 dereferenceable(985) %988, ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout)
          to label %989 unwind label %965

989:                                              ; preds = %987
  br label %993

990:                                              ; preds = %984
  %991 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.103)
          to label %992 unwind label %965

992:                                              ; preds = %990
  br label %993

993:                                              ; preds = %992, %989
  %994 = invoke i32 @system(ptr noundef @.str.104)
          to label %995 unwind label %965

995:                                              ; preds = %993
  %996 = trunc i32 %994 to i8
  %997 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %996)
          to label %998 unwind label %965

998:                                              ; preds = %995
  %999 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %1000 = trunc i8 %999 to i1
  br i1 %1000, label %1001, label %1004

1001:                                             ; preds = %998
  %1002 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.66)
          to label %1003 unwind label %965

1003:                                             ; preds = %1001
  br label %1004

1004:                                             ; preds = %1003, %998
  call void @llvm.lifetime.end.p0(i64 1, ptr %84) #9
  br label %1166

1005:                                             ; preds = %934
  call void @llvm.lifetime.start.p0(i64 32, ptr %85) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %86) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %86) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %85, ptr noundef @.str.105, ptr noundef nonnull align 1 dereferenceable(1) %86)
          to label %1006 unwind label %1043

1006:                                             ; preds = %1005
  %1007 = invoke noundef zeroext i1 @_ZN7SGTELIB6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %85)
          to label %1008 unwind label %1047

1008:                                             ; preds = %1006
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %85) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %86) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %86) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %85) #9
  br i1 %1007, label %1009, label %1064

1009:                                             ; preds = %1008
  %1010 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.106)
          to label %1011 unwind label %162

1011:                                             ; preds = %1009
  %1012 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1010, ptr noundef @.str.21)
          to label %1013 unwind label %162

1013:                                             ; preds = %1011
  %1014 = invoke i32 @system(ptr noundef @.str.107)
          to label %1015 unwind label %162

1015:                                             ; preds = %1013
  %1016 = trunc i32 %1014 to i8
  %1017 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %1016)
          to label %1018 unwind label %162

1018:                                             ; preds = %1015
  %1019 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN7SGTELIB16surrogate_deleteEPNS_9SurrogateE(ptr noundef %1019)
          to label %1020 unwind label %162

1020:                                             ; preds = %1018
  %1021 = load ptr, ptr %5, align 8, !tbaa !5
  %1022 = icmp eq ptr %1021, null
  br i1 %1022, label %1027, label %1023

1023:                                             ; preds = %1020
  %1024 = load ptr, ptr %1021, align 8, !tbaa !21
  %1025 = getelementptr inbounds ptr, ptr %1024, i64 1
  %1026 = load ptr, ptr %1025, align 8
  call void %1026(ptr noundef nonnull align 8 dereferenceable(504) %1021) #9
  br label %1027

1027:                                             ; preds = %1023, %1020
  store ptr null, ptr %5, align 8, !tbaa !5
  store ptr null, ptr %6, align 8, !tbaa !5
  %1028 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %1029 = trunc i8 %1028 to i1
  br i1 %1029, label %1030, label %1052

1030:                                             ; preds = %1027
  %1031 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.108)
          to label %1032 unwind label %162

1032:                                             ; preds = %1030
  %1033 = load ptr, ptr %6, align 8, !tbaa !5
  %1034 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPKv(ptr noundef nonnull align 8 dereferenceable(8) %1031, ptr noundef %1033)
          to label %1035 unwind label %162

1035:                                             ; preds = %1032
  %1036 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1034, ptr noundef @.str.109)
          to label %1037 unwind label %162

1037:                                             ; preds = %1035
  %1038 = load ptr, ptr %5, align 8, !tbaa !5
  %1039 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPKv(ptr noundef nonnull align 8 dereferenceable(8) %1036, ptr noundef %1038)
          to label %1040 unwind label %162

1040:                                             ; preds = %1037
  %1041 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1039, ptr noundef @.str.21)
          to label %1042 unwind label %162

1042:                                             ; preds = %1040
  br label %1052

1043:                                             ; preds = %1005
  %1044 = landingpad { ptr, i32 }
          cleanup
  %1045 = extractvalue { ptr, i32 } %1044, 0
  store ptr %1045, ptr %9, align 8
  %1046 = extractvalue { ptr, i32 } %1044, 1
  store i32 %1046, ptr %10, align 4
  br label %1051

1047:                                             ; preds = %1006
  %1048 = landingpad { ptr, i32 }
          cleanup
  %1049 = extractvalue { ptr, i32 } %1048, 0
  store ptr %1049, ptr %9, align 8
  %1050 = extractvalue { ptr, i32 } %1048, 1
  store i32 %1050, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %85) #9
  br label %1051

1051:                                             ; preds = %1047, %1043
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %86) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %86) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %85) #9
  br label %1183

1052:                                             ; preds = %1042, %1027
  %1053 = invoke i32 @system(ptr noundef @.str.110)
          to label %1054 unwind label %162

1054:                                             ; preds = %1052
  %1055 = trunc i32 %1053 to i8
  %1056 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %1055)
          to label %1057 unwind label %162

1057:                                             ; preds = %1054
  %1058 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %1059 = trunc i8 %1058 to i1
  br i1 %1059, label %1060, label %1063

1060:                                             ; preds = %1057
  %1061 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.66)
          to label %1062 unwind label %162

1062:                                             ; preds = %1060
  br label %1063

1063:                                             ; preds = %1062, %1057
  br label %1165

1064:                                             ; preds = %1008
  call void @llvm.lifetime.start.p0(i64 32, ptr %87) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %88) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %88) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %87, ptr noundef @.str.111, ptr noundef nonnull align 1 dereferenceable(1) %88)
          to label %1065 unwind label %1074

1065:                                             ; preds = %1064
  %1066 = invoke noundef zeroext i1 @_ZN7SGTELIB6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %87)
          to label %1067 unwind label %1078

1067:                                             ; preds = %1065
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %87) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %88) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %88) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %87) #9
  br i1 %1066, label %1068, label %1133

1068:                                             ; preds = %1067
  %1069 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %1070 = trunc i8 %1069 to i1
  br i1 %1070, label %1071, label %1083

1071:                                             ; preds = %1068
  %1072 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.112)
          to label %1073 unwind label %162

1073:                                             ; preds = %1071
  br label %1083

1074:                                             ; preds = %1064
  %1075 = landingpad { ptr, i32 }
          cleanup
  %1076 = extractvalue { ptr, i32 } %1075, 0
  store ptr %1076, ptr %9, align 8
  %1077 = extractvalue { ptr, i32 } %1075, 1
  store i32 %1077, ptr %10, align 4
  br label %1082

1078:                                             ; preds = %1065
  %1079 = landingpad { ptr, i32 }
          cleanup
  %1080 = extractvalue { ptr, i32 } %1079, 0
  store ptr %1080, ptr %9, align 8
  %1081 = extractvalue { ptr, i32 } %1079, 1
  store i32 %1081, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %87) #9
  br label %1082

1082:                                             ; preds = %1078, %1074
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %88) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %88) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %87) #9
  br label %1183

1083:                                             ; preds = %1073, %1068
  call void @llvm.lifetime.start.p0(i64 1, ptr %89) #9
  store i8 0, ptr %89, align 1, !tbaa !9
  %1084 = load ptr, ptr %6, align 8, !tbaa !5
  %1085 = icmp ne ptr %1084, null
  br i1 %1085, label %1086, label %1108

1086:                                             ; preds = %1083
  %1087 = load i8, ptr %18, align 1, !tbaa !9, !range !13, !noundef !14
  %1088 = trunc i8 %1087 to i1
  br i1 %1088, label %1089, label %1103

1089:                                             ; preds = %1086
  %1090 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.70)
          to label %1091 unwind label %1099

1091:                                             ; preds = %1089
  %1092 = load ptr, ptr %5, align 8, !tbaa !5
  %1093 = invoke noundef i32 @_ZNK7SGTELIB11TrainingSet13get_nb_pointsEv(ptr noundef nonnull align 8 dereferenceable(504) %1092)
          to label %1094 unwind label %1099

1094:                                             ; preds = %1091
  %1095 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %1090, i32 noundef %1093)
          to label %1096 unwind label %1099

1096:                                             ; preds = %1094
  %1097 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1095, ptr noundef @.str.71)
          to label %1098 unwind label %1099

1098:                                             ; preds = %1096
  br label %1103

1099:                                             ; preds = %1129, %1127, %1123, %1121, %1119, %1115, %1113, %1111, %1103, %1096, %1094, %1091, %1089
  %1100 = landingpad { ptr, i32 }
          cleanup
  %1101 = extractvalue { ptr, i32 } %1100, 0
  store ptr %1101, ptr %9, align 8
  %1102 = extractvalue { ptr, i32 } %1100, 1
  store i32 %1102, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %89) #9
  br label %1183

1103:                                             ; preds = %1098, %1086
  %1104 = load ptr, ptr %6, align 8, !tbaa !5
  %1105 = invoke noundef zeroext i1 @_ZN7SGTELIB9Surrogate5buildEv(ptr noundef nonnull align 8 dereferenceable(985) %1104)
          to label %1106 unwind label %1099

1106:                                             ; preds = %1103
  %1107 = zext i1 %1105 to i8
  store i8 %1107, ptr %89, align 1, !tbaa !9
  br label %1108

1108:                                             ; preds = %1106, %1083
  %1109 = load i8, ptr %89, align 1, !tbaa !9, !range !13, !noundef !14
  %1110 = trunc i8 %1109 to i1
  br i1 %1110, label %1111, label %1119

1111:                                             ; preds = %1108
  %1112 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.113)
          to label %1113 unwind label %1099

1113:                                             ; preds = %1111
  %1114 = invoke i32 @system(ptr noundef @.str.114)
          to label %1115 unwind label %1099

1115:                                             ; preds = %1113
  %1116 = trunc i32 %1114 to i8
  %1117 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %1116)
          to label %1118 unwind label %1099

1118:                                             ; preds = %1115
  br label %1127

1119:                                             ; preds = %1108
  %1120 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.115)
          to label %1121 unwind label %1099

1121:                                             ; preds = %1119
  %1122 = invoke i32 @system(ptr noundef @.str.116)
          to label %1123 unwind label %1099

1123:                                             ; preds = %1121
  %1124 = trunc i32 %1122 to i8
  %1125 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %1124)
          to label %1126 unwind label %1099

1126:                                             ; preds = %1123
  br label %1127

1127:                                             ; preds = %1126, %1118
  %1128 = invoke i32 @system(ptr noundef @.str.117)
          to label %1129 unwind label %1099

1129:                                             ; preds = %1127
  %1130 = trunc i32 %1128 to i8
  %1131 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %1130)
          to label %1132 unwind label %1099

1132:                                             ; preds = %1129
  call void @llvm.lifetime.end.p0(i64 1, ptr %89) #9
  br label %1164

1133:                                             ; preds = %1067
  call void @llvm.lifetime.start.p0(i64 32, ptr %90) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %91) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %91) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %90, ptr noundef @.str.118, ptr noundef nonnull align 1 dereferenceable(1) %91)
          to label %1134 unwind label %1154

1134:                                             ; preds = %1133
  %1135 = invoke noundef zeroext i1 @_ZN7SGTELIB6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %90)
          to label %1136 unwind label %1158

1136:                                             ; preds = %1134
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %90) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %91) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %91) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %90) #9
  br i1 %1135, label %1137, label %1163

1137:                                             ; preds = %1136
  %1138 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN7SGTELIB16surrogate_deleteEPNS_9SurrogateE(ptr noundef %1138)
          to label %1139 unwind label %162

1139:                                             ; preds = %1137
  %1140 = load ptr, ptr %5, align 8, !tbaa !5
  %1141 = icmp eq ptr %1140, null
  br i1 %1141, label %1146, label %1142

1142:                                             ; preds = %1139
  %1143 = load ptr, ptr %1140, align 8, !tbaa !21
  %1144 = getelementptr inbounds ptr, ptr %1143, i64 1
  %1145 = load ptr, ptr %1144, align 8
  call void %1145(ptr noundef nonnull align 8 dereferenceable(504) %1140) #9
  br label %1146

1146:                                             ; preds = %1142, %1139
  %1147 = invoke i32 @system(ptr noundef @.str.119)
          to label %1148 unwind label %162

1148:                                             ; preds = %1146
  %1149 = trunc i32 %1147 to i8
  %1150 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %1149)
          to label %1151 unwind label %162

1151:                                             ; preds = %1148
  %1152 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.120)
          to label %1153 unwind label %162

1153:                                             ; preds = %1151
  br label %1171

1154:                                             ; preds = %1133
  %1155 = landingpad { ptr, i32 }
          cleanup
  %1156 = extractvalue { ptr, i32 } %1155, 0
  store ptr %1156, ptr %9, align 8
  %1157 = extractvalue { ptr, i32 } %1155, 1
  store i32 %1157, ptr %10, align 4
  br label %1162

1158:                                             ; preds = %1134
  %1159 = landingpad { ptr, i32 }
          cleanup
  %1160 = extractvalue { ptr, i32 } %1159, 0
  store ptr %1160, ptr %9, align 8
  %1161 = extractvalue { ptr, i32 } %1159, 1
  store i32 %1161, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %90) #9
  br label %1162

1162:                                             ; preds = %1158, %1154
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %91) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %91) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %90) #9
  br label %1183

1163:                                             ; preds = %1136
  br label %1164

1164:                                             ; preds = %1163, %1132
  br label %1165

1165:                                             ; preds = %1164, %1063
  br label %1166

1166:                                             ; preds = %1165, %1004
  br label %1167

1167:                                             ; preds = %1166, %927
  br label %1168

1168:                                             ; preds = %1167, %760
  br label %1169

1169:                                             ; preds = %1168, %543
  br label %1170

1170:                                             ; preds = %1169, %277
  br label %115, !llvm.loop !23

1171:                                             ; preds = %1153
  %1172 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.121)
          to label %1173 unwind label %162

1173:                                             ; preds = %1171
  %1174 = invoke i32 @system(ptr noundef @.str.122)
          to label %1175 unwind label %162

1175:                                             ; preds = %1173
  %1176 = trunc i32 %1174 to i8
  %1177 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 noundef signext %1176)
          to label %1178 unwind label %162

1178:                                             ; preds = %1175
  %1179 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.54)
          to label %1180 unwind label %162

1180:                                             ; preds = %1178
  %1181 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.123)
          to label %1182 unwind label %162

1182:                                             ; preds = %1180
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %20) #9
  call void @llvm.lifetime.end.p0(i64 520, ptr %20) #9
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %19) #9
  call void @llvm.lifetime.end.p0(i64 512, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #9
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %13) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %13) #9
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %12) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %12) #9
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %11) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %11) #9
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %8) #9
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  ret void

1183:                                             ; preds = %1162, %1099, %1082, %1051, %965, %964, %930, %800, %766, %578, %544, %319, %252, %215, %201, %174, %162
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %20) #9
  br label %1184

1184:                                             ; preds = %1183, %158
  call void @llvm.lifetime.end.p0(i64 520, ptr %20) #9
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %19) #9
  br label %1185

1185:                                             ; preds = %1184, %154
  call void @llvm.lifetime.end.p0(i64 512, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  br label %1186

1186:                                             ; preds = %1185, %150
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #9
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %13) #9
  br label %1187

1187:                                             ; preds = %1186, %146
  call void @llvm.lifetime.end.p0(i64 56, ptr %13) #9
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %12) #9
  br label %1188

1188:                                             ; preds = %1187, %142
  call void @llvm.lifetime.end.p0(i64 56, ptr %12) #9
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %11) #9
  br label %1189

1189:                                             ; preds = %1188, %138
  call void @llvm.lifetime.end.p0(i64 56, ptr %11) #9
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #9
  br label %1190

1190:                                             ; preds = %1189, %134
  call void @llvm.lifetime.end.p0(i64 56, ptr %8) #9
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  br label %1191

1191:                                             ; preds = %1190
  %1192 = load ptr, ptr %9, align 8
  %1193 = load i32, ptr %10, align 4
  %1194 = insertvalue { ptr, i32 } poison, ptr %1192, 0
  %1195 = insertvalue { ptr, i32 } %1194, i32 %1193, 1
  resume { ptr, i32 } %1195
}

declare void @_ZN7SGTELIB6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) #4

declare noundef zeroext i1 @_ZN7SGTELIB6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32)) #4

declare void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56)) #4

; Function Attrs: nounwind
declare void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #5

declare void @_ZN7SGTELIB11TrainingSetC1ERKNS_6MatrixES3_(ptr noundef nonnull align 8 dereferenceable(504), ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #4

declare noundef ptr @_ZN7SGTELIB17Surrogate_FactoryERNS_11TrainingSetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(504), ptr noundef nonnull align 8 dereferenceable(32)) #4

declare noundef zeroext i1 @_ZN7SGTELIB9Surrogate5buildEv(ptr noundef nonnull align 8 dereferenceable(985)) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7SGTELIB6Matrix11get_nb_rowsEv(ptr noundef nonnull align 8 dereferenceable(56)) #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7SGTELIB6Matrix11get_nb_colsEv(ptr noundef nonnull align 8 dereferenceable(56)) #6 align 2

declare void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, i32 noundef) unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7SGTELIB6Matrix8set_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

declare void @_ZNK7SGTELIB6Matrix7displayERSo(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) #4

declare noundef i32 @_ZN7SGTELIB18str_to_metric_typeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32)) #4

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

declare void @_ZN7SGTELIB16surrogate_deleteEPNS_9SurrogateE(ptr noundef) #4

declare i32 @system(ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(248)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #2 align 2

declare void @_ZN7SGTELIB4waitEd(double noundef) #4

declare void @_ZNK7SGTELIB6Matrix13display_shortERSo(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) #4

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #4

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #7

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7SGTELIB11TrainingSet14get_output_dimEv(ptr noundef nonnull align 8 dereferenceable(504)) #1 align 2

declare noundef zeroext i1 @_ZN7SGTELIB11TrainingSet10add_pointsERKNS_6MatrixES3_(ptr noundef nonnull align 8 dereferenceable(504), ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7SGTELIB11TrainingSet13get_nb_pointsEv(ptr noundef nonnull align 8 dereferenceable(504)) #1 align 2

declare void @_ZNK7SGTELIB9Surrogate7displayERSo(ptr noundef nonnull align 8 dereferenceable(985), ptr noundef nonnull align 8 dereferenceable(8)) #4

declare void @_ZN7SGTELIB9Surrogate7predictERKNS_6MatrixEPS1_S4_S4_S4_(ptr noundef nonnull align 8 dereferenceable(985), ptr noundef nonnull align 8 dereferenceable(56), ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

declare void @_ZN7SGTELIB6Matrix4fillEd(ptr noundef nonnull align 8 dereferenceable(56), double noundef) #4

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248), ptr noundef, i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248)) #2 align 2

declare void @_ZN7SGTELIB9Surrogate13get_matrix_ZhEv(ptr dead_on_unwind writable sret(%"class.SGTELIB::Matrix") align 8, ptr noundef nonnull align 8 dereferenceable(985)) #4

declare void @_ZN7SGTELIB9Surrogate13get_matrix_ShEv(ptr dead_on_unwind writable sret(%"class.SGTELIB::Matrix") align 8, ptr noundef nonnull align 8 dereferenceable(985)) #4

declare void @_ZN7SGTELIB9Surrogate13get_matrix_ZvEv(ptr dead_on_unwind writable sret(%"class.SGTELIB::Matrix") align 8, ptr noundef nonnull align 8 dereferenceable(985)) #4

declare void @_ZN7SGTELIB9Surrogate13get_matrix_SvEv(ptr dead_on_unwind writable sret(%"class.SGTELIB::Matrix") align 8, ptr noundef nonnull align 8 dereferenceable(985)) #4

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef, i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256)) #2 align 2

declare void @_ZN7SGTELIB9Surrogate10get_metricENS_8metric_tE(ptr dead_on_unwind writable sret(%"class.SGTELIB::Matrix") align 8, ptr noundef nonnull align 8 dereferenceable(985), i32 noundef) #4

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN7SGTELIB6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPKv(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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 = { 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 = { inlinehint 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind "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 #6 = { 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 #7 = { nobuiltin allocsize(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 #8 = { nobuiltin 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 #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"_ZTSN7SGTELIB8metric_tE", !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"double", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!22, !22, i64 0}
!22 = !{!"vtable pointer", !8, i64 0}
!23 = distinct !{!23, !20}


; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.SGTELIB::Matrix" = type { ptr, %"class.std::__cxx11::basic_string", i32, i32, ptr }
%"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.std::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.9 }
%union.anon.9 = type { i32 }
%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::allocator.0" = type { i8 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7SGTELIB14sgtelib_serverERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb(ptr noundef nonnull align 8 dereferenceable(32) %0, i1 noundef zeroext %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.SGTELIB::Matrix", align 8
  %4 = alloca %"class.SGTELIB::Matrix", align 8
  %5 = alloca %"class.SGTELIB::Matrix", align 8
  %6 = alloca %"class.SGTELIB::Matrix", align 8
  %7 = alloca %"class.SGTELIB::Matrix", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::basic_ofstream", align 8
  %10 = alloca %"class.std::basic_ifstream", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator.0", align 1
  %13 = alloca %"class.SGTELIB::Matrix", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator.0", align 1
  %16 = alloca %"class.SGTELIB::Matrix", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator.0", align 1
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator.0", align 1
  %21 = alloca %"class.SGTELIB::Matrix", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::allocator.0", align 1
  %24 = alloca %"class.SGTELIB::Matrix", align 8
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::allocator.0", align 1
  %27 = alloca %"class.SGTELIB::Matrix", align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator.0", align 1
  %30 = alloca %"class.SGTELIB::Matrix", align 8
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.std::allocator.0", align 1
  %33 = alloca %"class.SGTELIB::Matrix", align 8
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"class.std::allocator.0", align 1
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca %"class.std::allocator.0", align 1
  %38 = alloca %"class.std::__cxx11::basic_string", align 8
  %39 = alloca %"class.std::allocator.0", align 1
  %40 = alloca %"class.std::__cxx11::basic_string", align 8
  %41 = alloca %"class.std::allocator.0", align 1
  %42 = alloca %"class.std::__cxx11::basic_string", align 8
  %43 = alloca %"class.std::allocator.0", align 1
  %44 = alloca %"class.std::__cxx11::basic_string", align 8
  %45 = alloca %"class.std::allocator.0", align 1
  %46 = alloca %"class.SGTELIB::Matrix", align 8
  %47 = alloca %"class.SGTELIB::Matrix", align 8
  %48 = alloca %"class.SGTELIB::Matrix", align 8
  %49 = alloca %"class.SGTELIB::Matrix", align 8
  %50 = alloca %"class.SGTELIB::Matrix", align 8
  %51 = alloca %"class.SGTELIB::Matrix", align 8
  %52 = alloca %"class.SGTELIB::Matrix", align 8
  %53 = alloca %"class.SGTELIB::Matrix", align 8
  %54 = alloca %"class.std::__cxx11::basic_string", align 8
  %55 = alloca %"class.std::allocator.0", align 1
  %56 = alloca %"class.std::__cxx11::basic_string", align 8
  %57 = alloca %"class.std::allocator.0", align 1
  %58 = alloca %"class.std::__cxx11::basic_string", align 8
  %59 = alloca %"class.std::allocator.0", align 1
  %60 = alloca %"class.std::__cxx11::basic_string", align 8
  %61 = alloca %"class.std::allocator.0", align 1
  %62 = alloca %"class.std::__cxx11::basic_string", align 8
  %63 = alloca %"class.std::allocator.0", align 1
  %64 = alloca %"class.std::__cxx11::basic_string", align 8
  %65 = alloca %"class.SGTELIB::Matrix", align 8
  %66 = alloca %"class.SGTELIB::Matrix", align 8
  %67 = alloca %"class.std::__cxx11::basic_string", align 8
  %68 = alloca %"class.std::allocator.0", align 1
  %69 = alloca %"class.std::__cxx11::basic_string", align 8
  %70 = alloca %"class.std::allocator.0", align 1
  %71 = alloca %"class.std::__cxx11::basic_string", align 8
  %72 = alloca %"class.std::allocator.0", align 1
  %73 = alloca %"class.std::__cxx11::basic_string", align 8
  %74 = alloca %"class.std::allocator.0", align 1
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %3) #10
  call void @_ZN7SGTELIB6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %3)
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %4) #10
  invoke void @_ZN7SGTELIB6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %4)
          to label %75 unwind label %107

75:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %5) #10
  invoke void @_ZN7SGTELIB6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %5)
          to label %76 unwind label %109

76:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %6) #10
  invoke void @_ZN7SGTELIB6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %6)
          to label %77 unwind label %111

77:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %7) #10
  invoke void @_ZN7SGTELIB6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %7)
          to label %78 unwind label %113

78:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  %79 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.50)
          to label %80 unwind label %115

80:                                               ; preds = %78
  %81 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.51)
          to label %82 unwind label %115

82:                                               ; preds = %80
  %83 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.52)
          to label %84 unwind label %115

84:                                               ; preds = %82
  %85 = invoke i32 @system(ptr noundef nonnull @.str.53)
          to label %86 unwind label %115

86:                                               ; preds = %84
  %87 = trunc i32 %85 to i8
  %88 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %87)
          to label %89 unwind label %115

89:                                               ; preds = %86
  %90 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.54)
          to label %91 unwind label %115

91:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %9) #10
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(248) %9)
          to label %92 unwind label %117

92:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %10) #10
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %10)
          to label %.preheader unwind label %119

.preheader:                                       ; preds = %92, %.preheader.backedge
  %.0102 = phi i32 [ %.0102.be, %.preheader.backedge ], [ 0, %92 ]
  %.099 = phi i32 [ %.099.be, %.preheader.backedge ], [ 0, %92 ]
  %.096 = phi ptr [ %.096.be, %.preheader.backedge ], [ null, %92 ]
  %.092 = phi ptr [ %.092.be, %.preheader.backedge ], [ null, %92 ]
  invoke void @_ZN7SGTELIB4waitEd(double noundef 1.000000e-02)
          to label %93 unwind label %.loopexit275

93:                                               ; preds = %.preheader
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.55, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %94 unwind label %121

94:                                               ; preds = %93
  %95 = invoke noundef zeroext i1 @_ZN7SGTELIB6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %96 unwind label %123

96:                                               ; preds = %94
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #10
  br i1 %95, label %97, label %187

97:                                               ; preds = %96
  %98 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.56)
          to label %99 unwind label %.loopexit275

99:                                               ; preds = %97
  %100 = invoke i32 @system(ptr noundef nonnull @.str.57)
          to label %101 unwind label %.loopexit275

101:                                              ; preds = %99
  %102 = trunc i32 %100 to i8
  %103 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %102)
          to label %104 unwind label %.loopexit275

104:                                              ; preds = %101
  br i1 %1, label %105, label %126

105:                                              ; preds = %104
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.58)
          to label %126 unwind label %.loopexit275

107:                                              ; preds = %2
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %768

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

111:                                              ; preds = %76
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %766

113:                                              ; preds = %77
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %765

115:                                              ; preds = %89, %86, %84, %82, %80, %78
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %764

117:                                              ; preds = %91
  %118 = landingpad { ptr, i32 }
          cleanup
  br label %763

119:                                              ; preds = %92
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %762

.loopexit275:                                     ; preds = %.preheader, %97, %99, %101, %105, %135, %152, %.critedge, %155, %159, %161, %164, %166, %169, %175, %177, %179, %181, %185, %191, %193, %196, %198, %200, %348, %350, %353, %355, %357, %490, %492, %495, %497, %499, %606, %608, %611, %613, %615, %650, %652, %654, %656, %659, %667, %669, %671, %673, %675, %682, %684, %688, %695
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %761

.loopexit.split-lp:                               ; preds = %730, %737, %739, %742, %749, %751, %753, %756, %758
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %761

121:                                              ; preds = %93
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %125

123:                                              ; preds = %94
  %124 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #10
  br label %125

125:                                              ; preds = %123, %121
  %.pn = phi { ptr, i32 } [ %124, %123 ], [ %122, %121 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #10
  br label %761

126:                                              ; preds = %105, %104
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %13) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull @.str.59, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %127 unwind label %136

127:                                              ; preds = %126
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %13, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %128 unwind label %138

128:                                              ; preds = %127
  %129 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(56) %13)
          to label %130 unwind label %140

130:                                              ; preds = %128
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %13) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %13) #10
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %16) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull @.str.60, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %131 unwind label %144

131:                                              ; preds = %130
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %16, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %132 unwind label %146

132:                                              ; preds = %131
  %133 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull align 8 dereferenceable(56) %16)
          to label %134 unwind label %148

134:                                              ; preds = %132
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %16) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %16) #10
  br i1 %1, label %135, label %.critedge

135:                                              ; preds = %134
  invoke void @_ZNK7SGTELIB6Matrix13display_shortERSo(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout)
          to label %152 unwind label %.loopexit275

136:                                              ; preds = %126
  %137 = landingpad { ptr, i32 }
          cleanup
  br label %143

138:                                              ; preds = %127
  %139 = landingpad { ptr, i32 }
          cleanup
  br label %142

140:                                              ; preds = %128
  %141 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %13) #10
  br label %142

142:                                              ; preds = %140, %138
  %.pn233 = phi { ptr, i32 } [ %141, %140 ], [ %139, %138 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #10
  br label %143

143:                                              ; preds = %142, %136
  %.pn233.pn = phi { ptr, i32 } [ %.pn233, %142 ], [ %137, %136 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %13) #10
  br label %761

144:                                              ; preds = %130
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %151

146:                                              ; preds = %131
  %147 = landingpad { ptr, i32 }
          cleanup
  br label %150

148:                                              ; preds = %132
  %149 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %16) #10
  br label %150

150:                                              ; preds = %148, %146
  %.pn236 = phi { ptr, i32 } [ %149, %148 ], [ %147, %146 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  br label %151

151:                                              ; preds = %150, %144
  %.pn236.pn = phi { ptr, i32 } [ %.pn236, %150 ], [ %145, %144 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %16) #10
  br label %761

152:                                              ; preds = %135
  invoke void @_ZNK7SGTELIB6Matrix13display_shortERSo(ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout)
          to label %.critedge unwind label %.loopexit275

.critedge:                                        ; preds = %134, %152
  %153 = call noundef i32 @_ZNK7SGTELIB6Matrix11get_nb_rowsEv(ptr noundef nonnull align 8 dereferenceable(56) %3)
  %154 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %153)
          to label %155 unwind label %.loopexit275

155:                                              ; preds = %.critedge
  %156 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %154, ptr noundef nonnull @.str.61)
          to label %157 unwind label %.loopexit275

157:                                              ; preds = %155
  %.not239 = icmp eq ptr %.096, null
  br i1 %.not239, label %158, label %174

158:                                              ; preds = %157
  br i1 %1, label %159, label %161

159:                                              ; preds = %158
  %160 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.62)
          to label %161 unwind label %.loopexit275

161:                                              ; preds = %159, %158
  %162 = invoke noalias noundef nonnull dereferenceable(504) ptr @_Znwm(i64 noundef 504) #11
          to label %163 unwind label %.loopexit275

163:                                              ; preds = %161
  invoke void @_ZN7SGTELIB11TrainingSetC1ERKNS_6MatrixES3_(ptr noundef nonnull align 8 dereferenceable(504) %162, ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(56) %4)
          to label %164 unwind label %172

164:                                              ; preds = %163
  %165 = invoke noundef ptr @_ZN7SGTELIB17Surrogate_FactoryERNS_11TrainingSetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(504) %162, ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %166 unwind label %.loopexit275

166:                                              ; preds = %164
  %167 = call noundef i32 @_ZNK7SGTELIB11TrainingSet14get_output_dimEv(ptr noundef nonnull align 8 dereferenceable(504) %162)
  %168 = invoke i32 @system(ptr noundef nonnull @.str.63)
          to label %169 unwind label %.loopexit275

169:                                              ; preds = %166
  %170 = trunc i32 %168 to i8
  %171 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %170)
          to label %179 unwind label %.loopexit275

172:                                              ; preds = %163
  %173 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %162, i64 noundef 504) #12
  br label %761

174:                                              ; preds = %157
  br i1 %1, label %175, label %177

175:                                              ; preds = %174
  %176 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.64)
          to label %177 unwind label %.loopexit275

177:                                              ; preds = %175, %174
  %178 = invoke noundef zeroext i1 @_ZN7SGTELIB11TrainingSet10add_pointsERKNS_6MatrixES3_(ptr noundef nonnull align 8 dereferenceable(504) %.092, ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(56) %4)
          to label %179 unwind label %.loopexit275

179:                                              ; preds = %177, %169
  %.1100 = phi i32 [ %.099, %177 ], [ %167, %169 ]
  %.197 = phi ptr [ %.096, %177 ], [ %165, %169 ]
  %.1 = phi ptr [ %.092, %177 ], [ %162, %169 ]
  %180 = invoke i32 @system(ptr noundef nonnull @.str.65)
          to label %181 unwind label %.loopexit275

181:                                              ; preds = %179
  %182 = trunc i32 %180 to i8
  %183 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %182)
          to label %184 unwind label %.loopexit275

184:                                              ; preds = %181
  br i1 %1, label %185, label %.preheader.backedge

185:                                              ; preds = %184
  %186 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.66)
          to label %.preheader.backedge unwind label %.loopexit275

187:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @.str.67, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %188 unwind label %212

188:                                              ; preds = %187
  %189 = invoke noundef zeroext i1 @_ZN7SGTELIB6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %190 unwind label %214

190:                                              ; preds = %188
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #10
  br i1 %189, label %191, label %344

191:                                              ; preds = %190
  %192 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.68)
          to label %193 unwind label %.loopexit275

193:                                              ; preds = %191
  %194 = add nsw i32 %.0102, 1
  %195 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %192, i32 noundef %.0102)
          to label %196 unwind label %.loopexit275

196:                                              ; preds = %193
  %197 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %195, ptr noundef nonnull @.str.21)
          to label %198 unwind label %.loopexit275

198:                                              ; preds = %196
  %199 = invoke i32 @system(ptr noundef nonnull @.str.69)
          to label %200 unwind label %.loopexit275

200:                                              ; preds = %198
  %201 = trunc i32 %199 to i8
  %202 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %201)
          to label %203 unwind label %.loopexit275

203:                                              ; preds = %200
  %.not207 = icmp eq ptr %.096, null
  br i1 %.not207, label %223, label %204

204:                                              ; preds = %203
  br i1 %1, label %205, label %219

205:                                              ; preds = %204
  %206 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.70)
          to label %207 unwind label %217

207:                                              ; preds = %205
  %208 = call noundef i32 @_ZNK7SGTELIB11TrainingSet13get_nb_pointsEv(ptr noundef nonnull align 8 dereferenceable(504) %.092)
  %209 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %206, i32 noundef %208)
          to label %210 unwind label %217

210:                                              ; preds = %207
  %211 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %209, ptr noundef nonnull @.str.71)
          to label %219 unwind label %217

212:                                              ; preds = %187
  %213 = landingpad { ptr, i32 }
          cleanup
  br label %216

214:                                              ; preds = %188
  %215 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #10
  br label %216

216:                                              ; preds = %214, %212
  %.pn161 = phi { ptr, i32 } [ %215, %214 ], [ %213, %212 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #10
  br label %761

217:                                              ; preds = %322, %318, %316, %315, %314, %313, %312, %311, %.critedge251, %.critedge250.thread, %301, %298, %296, %294, %292, %291, %289, %247, %.thread, %222, %219, %210, %207, %205
  %218 = landingpad { ptr, i32 }
          cleanup
  br label %761

219:                                              ; preds = %210, %204
  %220 = invoke noundef zeroext i1 @_ZN7SGTELIB9Surrogate5buildEv(ptr noundef nonnull align 8 dereferenceable(985) %.096)
          to label %221 unwind label %217

221:                                              ; preds = %219
  br i1 %1, label %222, label %.thread259

222:                                              ; preds = %221
  invoke void @_ZNK7SGTELIB9Surrogate7displayERSo(ptr noundef nonnull align 8 dereferenceable(985) %.096, ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout)
          to label %.thread unwind label %217

223:                                              ; preds = %203
  br i1 %1, label %.thread, label %.thread259

.thread:                                          ; preds = %222, %223
  %.095.shrunk258 = phi i1 [ false, %223 ], [ %220, %222 ]
  %224 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.72)
          to label %.thread259 unwind label %217

.thread259:                                       ; preds = %221, %.thread, %223
  %.095.shrunk257 = phi i1 [ %.095.shrunk258, %.thread ], [ false, %223 ], [ %220, %221 ]
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %21) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull @.str.73, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %225 unwind label %249

225:                                              ; preds = %.thread259
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %21, ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %226 unwind label %251

226:                                              ; preds = %225
  %227 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(56) %21)
          to label %228 unwind label %253

228:                                              ; preds = %226
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %21) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %21) #10
  %229 = call noundef i32 @_ZNK7SGTELIB6Matrix11get_nb_rowsEv(ptr noundef nonnull align 8 dereferenceable(56) %3)
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %24) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %25) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull @.str.25, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %230 unwind label %257

230:                                              ; preds = %228
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %24, ptr noundef nonnull align 8 dereferenceable(32) %25, i32 noundef %229, i32 noundef %.099)
          to label %231 unwind label %259

231:                                              ; preds = %230
  %232 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull align 8 dereferenceable(56) %24)
          to label %233 unwind label %261

233:                                              ; preds = %231
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %24) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %24) #10
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %27) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %28) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull @.str.74, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %234 unwind label %265

234:                                              ; preds = %233
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %27, ptr noundef nonnull align 8 dereferenceable(32) %28, i32 noundef %229, i32 noundef %.099)
          to label %235 unwind label %267

235:                                              ; preds = %234
  %236 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %5, ptr noundef nonnull align 8 dereferenceable(56) %27)
          to label %237 unwind label %269

237:                                              ; preds = %235
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %27) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %27) #10
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %30) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %31) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %32) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull @.str.75, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %238 unwind label %273

238:                                              ; preds = %237
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %30, ptr noundef nonnull align 8 dereferenceable(32) %31, i32 noundef %229, i32 noundef %.099)
          to label %239 unwind label %275

239:                                              ; preds = %238
  %240 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %6, ptr noundef nonnull align 8 dereferenceable(56) %30)
          to label %241 unwind label %277

241:                                              ; preds = %239
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %30) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %30) #10
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %33) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %34) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %35) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull @.str.76, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %242 unwind label %281

242:                                              ; preds = %241
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %33, ptr noundef nonnull align 8 dereferenceable(32) %34, i32 noundef %229, i32 noundef %.099)
          to label %243 unwind label %283

243:                                              ; preds = %242
  %244 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 8 dereferenceable(56) %33)
          to label %245 unwind label %285

245:                                              ; preds = %243
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %33) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %33) #10
  br i1 %.095.shrunk257, label %246, label %293

246:                                              ; preds = %245
  br i1 %1, label %247, label %289

247:                                              ; preds = %246
  %248 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.77)
          to label %289 unwind label %217

249:                                              ; preds = %.thread259
  %250 = landingpad { ptr, i32 }
          cleanup
  br label %256

251:                                              ; preds = %225
  %252 = landingpad { ptr, i32 }
          cleanup
  br label %255

253:                                              ; preds = %226
  %254 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %21) #10
  br label %255

255:                                              ; preds = %253, %251
  %.pn208 = phi { ptr, i32 } [ %254, %253 ], [ %252, %251 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #10
  br label %256

256:                                              ; preds = %255, %249
  %.pn208.pn = phi { ptr, i32 } [ %.pn208, %255 ], [ %250, %249 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %21) #10
  br label %761

257:                                              ; preds = %228
  %258 = landingpad { ptr, i32 }
          cleanup
  br label %264

259:                                              ; preds = %230
  %260 = landingpad { ptr, i32 }
          cleanup
  br label %263

261:                                              ; preds = %231
  %262 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %24) #10
  br label %263

263:                                              ; preds = %261, %259
  %.pn211 = phi { ptr, i32 } [ %262, %261 ], [ %260, %259 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #10
  br label %264

264:                                              ; preds = %263, %257
  %.pn211.pn = phi { ptr, i32 } [ %.pn211, %263 ], [ %258, %257 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %24) #10
  br label %761

265:                                              ; preds = %233
  %266 = landingpad { ptr, i32 }
          cleanup
  br label %272

267:                                              ; preds = %234
  %268 = landingpad { ptr, i32 }
          cleanup
  br label %271

269:                                              ; preds = %235
  %270 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %27) #10
  br label %271

271:                                              ; preds = %269, %267
  %.pn214 = phi { ptr, i32 } [ %270, %269 ], [ %268, %267 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #10
  br label %272

272:                                              ; preds = %271, %265
  %.pn214.pn = phi { ptr, i32 } [ %.pn214, %271 ], [ %266, %265 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %27) #10
  br label %761

273:                                              ; preds = %237
  %274 = landingpad { ptr, i32 }
          cleanup
  br label %280

275:                                              ; preds = %238
  %276 = landingpad { ptr, i32 }
          cleanup
  br label %279

277:                                              ; preds = %239
  %278 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %30) #10
  br label %279

279:                                              ; preds = %277, %275
  %.pn217 = phi { ptr, i32 } [ %278, %277 ], [ %276, %275 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #10
  br label %280

280:                                              ; preds = %279, %273
  %.pn217.pn = phi { ptr, i32 } [ %.pn217, %279 ], [ %274, %273 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %30) #10
  br label %761

281:                                              ; preds = %241
  %282 = landingpad { ptr, i32 }
          cleanup
  br label %288

283:                                              ; preds = %242
  %284 = landingpad { ptr, i32 }
          cleanup
  br label %287

285:                                              ; preds = %243
  %286 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %33) #10
  br label %287

287:                                              ; preds = %285, %283
  %.pn220 = phi { ptr, i32 } [ %286, %285 ], [ %284, %283 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #10
  br label %288

288:                                              ; preds = %287, %281
  %.pn220.pn = phi { ptr, i32 } [ %.pn220, %287 ], [ %282, %281 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %33) #10
  br label %761

289:                                              ; preds = %247, %246
  invoke void @_ZN7SGTELIB9Surrogate7predictERKNS_6MatrixEPS1_S4_S4_S4_(ptr noundef nonnull align 8 dereferenceable(985) %.096, ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7)
          to label %290 unwind label %217

290:                                              ; preds = %289
  br i1 %1, label %291, label %.critedge251

291:                                              ; preds = %290
  invoke void @_ZNK7SGTELIB6Matrix13display_shortERSo(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout)
          to label %292 unwind label %217

292:                                              ; preds = %291
  invoke void @_ZNK7SGTELIB6Matrix13display_shortERSo(ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout)
          to label %.critedge250.thread unwind label %217

293:                                              ; preds = %245
  br i1 %1, label %294, label %296

294:                                              ; preds = %293
  %295 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.78)
          to label %296 unwind label %217

296:                                              ; preds = %294, %293
  %297 = invoke i32 @system(ptr noundef nonnull @.str.79)
          to label %298 unwind label %217

298:                                              ; preds = %296
  %299 = trunc i32 %297 to i8
  %300 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %299)
          to label %301 unwind label %217

301:                                              ; preds = %298
  invoke void @_ZN7SGTELIB6Matrix4fillEd(ptr noundef nonnull align 8 dereferenceable(56) %4, double noundef 0x7FEFFFFFFFFFFFFF)
          to label %.critedge250 unwind label %217

.critedge250:                                     ; preds = %301
  br i1 %1, label %.critedge250.thread, label %.critedge251

.critedge250.thread:                              ; preds = %292, %.critedge250
  %302 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.80)
          to label %.critedge251 unwind label %217

.critedge251:                                     ; preds = %290, %.critedge250.thread, %.critedge250
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %9, ptr noundef nonnull @.str.73, i32 noundef 16)
          to label %303 unwind label %217

303:                                              ; preds = %.critedge251
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %36) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %37) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull @.str.81, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %304 unwind label %324

304:                                              ; preds = %303
  invoke void @_ZN7SGTELIB6Matrix8set_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull align 8 dereferenceable(32) %36)
          to label %305 unwind label %326

305:                                              ; preds = %304
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %37) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %38) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %39) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef nonnull @.str.74, ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %306 unwind label %329

306:                                              ; preds = %305
  invoke void @_ZN7SGTELIB6Matrix8set_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %5, ptr noundef nonnull align 8 dereferenceable(32) %38)
          to label %307 unwind label %331

307:                                              ; preds = %306
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %39) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %40) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %41) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull @.str.75, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %308 unwind label %334

308:                                              ; preds = %307
  invoke void @_ZN7SGTELIB6Matrix8set_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %6, ptr noundef nonnull align 8 dereferenceable(32) %40)
          to label %309 unwind label %336

309:                                              ; preds = %308
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %41) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %42) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %43) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull @.str.76, ptr noundef nonnull align 1 dereferenceable(1) %43)
          to label %310 unwind label %339

310:                                              ; preds = %309
  invoke void @_ZN7SGTELIB6Matrix8set_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 8 dereferenceable(32) %42)
          to label %311 unwind label %341

311:                                              ; preds = %310
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %43) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %42) #10
  invoke void @_ZNK7SGTELIB6Matrix7displayERSo(ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %312 unwind label %217

312:                                              ; preds = %311
  invoke void @_ZNK7SGTELIB6Matrix7displayERSo(ptr noundef nonnull align 8 dereferenceable(56) %5, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %313 unwind label %217

313:                                              ; preds = %312
  invoke void @_ZNK7SGTELIB6Matrix7displayERSo(ptr noundef nonnull align 8 dereferenceable(56) %6, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %314 unwind label %217

314:                                              ; preds = %313
  invoke void @_ZNK7SGTELIB6Matrix7displayERSo(ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %315 unwind label %217

315:                                              ; preds = %314
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %9)
          to label %316 unwind label %217

316:                                              ; preds = %315
  %317 = invoke i32 @system(ptr noundef nonnull @.str.82)
          to label %318 unwind label %217

318:                                              ; preds = %316
  %319 = trunc i32 %317 to i8
  %320 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %319)
          to label %321 unwind label %217

321:                                              ; preds = %318
  br i1 %1, label %322, label %.preheader.backedge

322:                                              ; preds = %321
  %323 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.66)
          to label %.preheader.backedge unwind label %217

324:                                              ; preds = %303
  %325 = landingpad { ptr, i32 }
          cleanup
  br label %328

326:                                              ; preds = %304
  %327 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #10
  br label %328

328:                                              ; preds = %326, %324
  %.pn223 = phi { ptr, i32 } [ %327, %326 ], [ %325, %324 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %37) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #10
  br label %761

329:                                              ; preds = %305
  %330 = landingpad { ptr, i32 }
          cleanup
  br label %333

331:                                              ; preds = %306
  %332 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #10
  br label %333

333:                                              ; preds = %331, %329
  %.pn225 = phi { ptr, i32 } [ %332, %331 ], [ %330, %329 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %39) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #10
  br label %761

334:                                              ; preds = %307
  %335 = landingpad { ptr, i32 }
          cleanup
  br label %338

336:                                              ; preds = %308
  %337 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #10
  br label %338

338:                                              ; preds = %336, %334
  %.pn227 = phi { ptr, i32 } [ %337, %336 ], [ %335, %334 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %41) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #10
  br label %761

339:                                              ; preds = %309
  %340 = landingpad { ptr, i32 }
          cleanup
  br label %343

341:                                              ; preds = %310
  %342 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #10
  br label %343

343:                                              ; preds = %341, %339
  %.pn229 = phi { ptr, i32 } [ %342, %341 ], [ %340, %339 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %43) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %42) #10
  br label %761

344:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %44) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %45) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull @.str.83, ptr noundef nonnull align 1 dereferenceable(1) %45)
          to label %345 unwind label %363

345:                                              ; preds = %344
  %346 = invoke noundef zeroext i1 @_ZN7SGTELIB6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %44)
          to label %347 unwind label %365

347:                                              ; preds = %345
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %45) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %44) #10
  br i1 %346, label %348, label %486

348:                                              ; preds = %347
  %349 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.84)
          to label %350 unwind label %.loopexit275

350:                                              ; preds = %348
  %351 = add nsw i32 %.0102, 1
  %352 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %349, i32 noundef %.0102)
          to label %353 unwind label %.loopexit275

353:                                              ; preds = %350
  %354 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %352, ptr noundef nonnull @.str.21)
          to label %355 unwind label %.loopexit275

355:                                              ; preds = %353
  %356 = invoke i32 @system(ptr noundef nonnull @.str.85)
          to label %357 unwind label %.loopexit275

357:                                              ; preds = %355
  %358 = trunc i32 %356 to i8
  %359 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %358)
          to label %360 unwind label %.loopexit275

360:                                              ; preds = %357
  %.not183 = icmp eq ptr %.096, null
  br i1 %.not183, label %.thread261, label %361

361:                                              ; preds = %360
  %362 = invoke noundef zeroext i1 @_ZN7SGTELIB9Surrogate5buildEv(ptr noundef nonnull align 8 dereferenceable(985) %.096)
          to label %370 unwind label %368

363:                                              ; preds = %344
  %364 = landingpad { ptr, i32 }
          cleanup
  br label %367

365:                                              ; preds = %345
  %366 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #10
  br label %367

367:                                              ; preds = %365, %363
  %.pn163 = phi { ptr, i32 } [ %366, %365 ], [ %364, %363 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %45) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %44) #10
  br label %761

368:                                              ; preds = %378, %375, %373, %371, %361
  %369 = landingpad { ptr, i32 }
          cleanup
  br label %761

370:                                              ; preds = %361
  br i1 %362, label %378, label %.thread261

.thread261:                                       ; preds = %360, %370
  br i1 %1, label %371, label %373

371:                                              ; preds = %.thread261
  %372 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.78)
          to label %373 unwind label %368

373:                                              ; preds = %371, %.thread261
  %374 = invoke i32 @system(ptr noundef nonnull @.str.79)
          to label %375 unwind label %368

375:                                              ; preds = %373
  %376 = trunc i32 %374 to i8
  %377 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %376)
          to label %379 unwind label %368

378:                                              ; preds = %370
  invoke void @_ZNK7SGTELIB9Surrogate7displayERSo(ptr noundef nonnull align 8 dereferenceable(985) %.096, ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout)
          to label %379 unwind label %368

379:                                              ; preds = %378, %375
  %.094263 = phi i1 [ true, %378 ], [ false, %375 ]
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %46) #10
  invoke void @_ZN7SGTELIB6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %46)
          to label %380 unwind label %397

380:                                              ; preds = %379
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %47) #10
  invoke void @_ZN7SGTELIB6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %47)
          to label %381 unwind label %399

381:                                              ; preds = %380
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %48) #10
  invoke void @_ZN7SGTELIB6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %48)
          to label %382 unwind label %401

382:                                              ; preds = %381
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %49) #10
  invoke void @_ZN7SGTELIB6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %49)
          to label %383 unwind label %403

383:                                              ; preds = %382
  br i1 %.094263, label %384, label %425

384:                                              ; preds = %383
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %50) #10
  invoke void @_ZN7SGTELIB9Surrogate13get_matrix_ZhEv(ptr dead_on_unwind nonnull writable sret(%"class.SGTELIB::Matrix") align 8 %50, ptr noundef nonnull align 8 dereferenceable(985) %.096)
          to label %385 unwind label %405

385:                                              ; preds = %384
  %386 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %46, ptr noundef nonnull align 8 dereferenceable(56) %50)
          to label %387 unwind label %407

387:                                              ; preds = %385
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %50) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %50) #10
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %51) #10
  invoke void @_ZN7SGTELIB9Surrogate13get_matrix_ShEv(ptr dead_on_unwind nonnull writable sret(%"class.SGTELIB::Matrix") align 8 %51, ptr noundef nonnull align 8 dereferenceable(985) %.096)
          to label %388 unwind label %410

388:                                              ; preds = %387
  %389 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %47, ptr noundef nonnull align 8 dereferenceable(56) %51)
          to label %390 unwind label %412

390:                                              ; preds = %388
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %51) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %51) #10
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %52) #10
  invoke void @_ZN7SGTELIB9Surrogate13get_matrix_ZvEv(ptr dead_on_unwind nonnull writable sret(%"class.SGTELIB::Matrix") align 8 %52, ptr noundef nonnull align 8 dereferenceable(985) %.096)
          to label %391 unwind label %415

391:                                              ; preds = %390
  %392 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %48, ptr noundef nonnull align 8 dereferenceable(56) %52)
          to label %393 unwind label %417

393:                                              ; preds = %391
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %52) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %52) #10
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %53) #10
  invoke void @_ZN7SGTELIB9Surrogate13get_matrix_SvEv(ptr dead_on_unwind nonnull writable sret(%"class.SGTELIB::Matrix") align 8 %53, ptr noundef nonnull align 8 dereferenceable(985) %.096)
          to label %394 unwind label %420

394:                                              ; preds = %393
  %395 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %49, ptr noundef nonnull align 8 dereferenceable(56) %53)
          to label %396 unwind label %422

396:                                              ; preds = %394
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %53) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %53) #10
  br label %435

397:                                              ; preds = %379
  %398 = landingpad { ptr, i32 }
          cleanup
  br label %485

399:                                              ; preds = %380
  %400 = landingpad { ptr, i32 }
          cleanup
  br label %484

401:                                              ; preds = %381
  %402 = landingpad { ptr, i32 }
          cleanup
  br label %483

403:                                              ; preds = %382
  %404 = landingpad { ptr, i32 }
          cleanup
  br label %482

405:                                              ; preds = %384
  %406 = landingpad { ptr, i32 }
          cleanup
  br label %409

407:                                              ; preds = %385
  %408 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %50) #10
  br label %409

409:                                              ; preds = %407, %405
  %.pn184 = phi { ptr, i32 } [ %408, %407 ], [ %406, %405 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %50) #10
  br label %481

410:                                              ; preds = %387
  %411 = landingpad { ptr, i32 }
          cleanup
  br label %414

412:                                              ; preds = %388
  %413 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %51) #10
  br label %414

414:                                              ; preds = %412, %410
  %.pn186 = phi { ptr, i32 } [ %413, %412 ], [ %411, %410 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %51) #10
  br label %481

415:                                              ; preds = %390
  %416 = landingpad { ptr, i32 }
          cleanup
  br label %419

417:                                              ; preds = %391
  %418 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %52) #10
  br label %419

419:                                              ; preds = %417, %415
  %.pn188 = phi { ptr, i32 } [ %418, %417 ], [ %416, %415 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %52) #10
  br label %481

420:                                              ; preds = %393
  %421 = landingpad { ptr, i32 }
          cleanup
  br label %424

422:                                              ; preds = %394
  %423 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %53) #10
  br label %424

424:                                              ; preds = %422, %420
  %.pn190 = phi { ptr, i32 } [ %423, %422 ], [ %421, %420 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %53) #10
  br label %481

425:                                              ; preds = %383
  br i1 %1, label %426, label %430

426:                                              ; preds = %425
  %427 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.78)
          to label %430 unwind label %428

428:                                              ; preds = %458, %454, %452, %451, %450, %449, %448, %447, %438, %436, %432, %430, %426
  %429 = landingpad { ptr, i32 }
          cleanup
  br label %481

430:                                              ; preds = %426, %425
  %431 = invoke i32 @system(ptr noundef nonnull @.str.79)
          to label %432 unwind label %428

432:                                              ; preds = %430
  %433 = trunc i32 %431 to i8
  %434 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %433)
          to label %435 unwind label %428

435:                                              ; preds = %432, %396
  br i1 %1, label %436, label %438

436:                                              ; preds = %435
  %437 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.80)
          to label %438 unwind label %428

438:                                              ; preds = %436, %435
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %9, ptr noundef nonnull @.str.86, i32 noundef 16)
          to label %439 unwind label %428

439:                                              ; preds = %438
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %54) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %55) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %55) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef nonnull @.str.87, ptr noundef nonnull align 1 dereferenceable(1) %55)
          to label %440 unwind label %460

440:                                              ; preds = %439
  invoke void @_ZN7SGTELIB6Matrix8set_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %46, ptr noundef nonnull align 8 dereferenceable(32) %54)
          to label %441 unwind label %462

441:                                              ; preds = %440
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %55) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %55) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %54) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %56) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %57) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %56, ptr noundef nonnull @.str.88, ptr noundef nonnull align 1 dereferenceable(1) %57)
          to label %442 unwind label %465

442:                                              ; preds = %441
  invoke void @_ZN7SGTELIB6Matrix8set_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %47, ptr noundef nonnull align 8 dereferenceable(32) %56)
          to label %443 unwind label %467

443:                                              ; preds = %442
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %57) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %56) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %58) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %59) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %58, ptr noundef nonnull @.str.89, ptr noundef nonnull align 1 dereferenceable(1) %59)
          to label %444 unwind label %470

444:                                              ; preds = %443
  invoke void @_ZN7SGTELIB6Matrix8set_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %48, ptr noundef nonnull align 8 dereferenceable(32) %58)
          to label %445 unwind label %472

445:                                              ; preds = %444
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %59) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %58) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %60) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %61) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef nonnull @.str.90, ptr noundef nonnull align 1 dereferenceable(1) %61)
          to label %446 unwind label %475

446:                                              ; preds = %445
  invoke void @_ZN7SGTELIB6Matrix8set_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56) %49, ptr noundef nonnull align 8 dereferenceable(32) %60)
          to label %447 unwind label %477

447:                                              ; preds = %446
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %61) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %60) #10
  invoke void @_ZNK7SGTELIB6Matrix7displayERSo(ptr noundef nonnull align 8 dereferenceable(56) %46, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %448 unwind label %428

448:                                              ; preds = %447
  invoke void @_ZNK7SGTELIB6Matrix7displayERSo(ptr noundef nonnull align 8 dereferenceable(56) %47, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %449 unwind label %428

449:                                              ; preds = %448
  invoke void @_ZNK7SGTELIB6Matrix7displayERSo(ptr noundef nonnull align 8 dereferenceable(56) %48, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %450 unwind label %428

450:                                              ; preds = %449
  invoke void @_ZNK7SGTELIB6Matrix7displayERSo(ptr noundef nonnull align 8 dereferenceable(56) %49, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %451 unwind label %428

451:                                              ; preds = %450
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %9)
          to label %452 unwind label %428

452:                                              ; preds = %451
  %453 = invoke i32 @system(ptr noundef nonnull @.str.91)
          to label %454 unwind label %428

454:                                              ; preds = %452
  %455 = trunc i32 %453 to i8
  %456 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %455)
          to label %457 unwind label %428

457:                                              ; preds = %454
  br i1 %1, label %458, label %480

458:                                              ; preds = %457
  %459 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.66)
          to label %480 unwind label %428

460:                                              ; preds = %439
  %461 = landingpad { ptr, i32 }
          cleanup
  br label %464

462:                                              ; preds = %440
  %463 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #10
  br label %464

464:                                              ; preds = %462, %460
  %.pn192 = phi { ptr, i32 } [ %463, %462 ], [ %461, %460 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %55) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %55) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %54) #10
  br label %481

465:                                              ; preds = %441
  %466 = landingpad { ptr, i32 }
          cleanup
  br label %469

467:                                              ; preds = %442
  %468 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #10
  br label %469

469:                                              ; preds = %467, %465
  %.pn194 = phi { ptr, i32 } [ %468, %467 ], [ %466, %465 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %57) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %56) #10
  br label %481

470:                                              ; preds = %443
  %471 = landingpad { ptr, i32 }
          cleanup
  br label %474

472:                                              ; preds = %444
  %473 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #10
  br label %474

474:                                              ; preds = %472, %470
  %.pn196 = phi { ptr, i32 } [ %473, %472 ], [ %471, %470 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %59) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %58) #10
  br label %481

475:                                              ; preds = %445
  %476 = landingpad { ptr, i32 }
          cleanup
  br label %479

477:                                              ; preds = %446
  %478 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #10
  br label %479

479:                                              ; preds = %477, %475
  %.pn198 = phi { ptr, i32 } [ %478, %477 ], [ %476, %475 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %61) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %60) #10
  br label %481

480:                                              ; preds = %458, %457
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %49) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %49) #10
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %48) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %48) #10
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %47) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %47) #10
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %46) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %46) #10
  br label %.preheader.backedge

481:                                              ; preds = %479, %474, %469, %464, %428, %424, %419, %414, %409
  %.pn200 = phi { ptr, i32 } [ %429, %428 ], [ %.pn198, %479 ], [ %.pn196, %474 ], [ %.pn194, %469 ], [ %.pn192, %464 ], [ %.pn190, %424 ], [ %.pn188, %419 ], [ %.pn186, %414 ], [ %.pn184, %409 ]
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %49) #10
  br label %482

482:                                              ; preds = %481, %403
  %.pn200.pn = phi { ptr, i32 } [ %.pn200, %481 ], [ %404, %403 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %49) #10
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %48) #10
  br label %483

483:                                              ; preds = %482, %401
  %.pn200.pn.pn = phi { ptr, i32 } [ %.pn200.pn, %482 ], [ %402, %401 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %48) #10
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %47) #10
  br label %484

484:                                              ; preds = %483, %399
  %.pn200.pn.pn.pn = phi { ptr, i32 } [ %.pn200.pn.pn, %483 ], [ %400, %399 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %47) #10
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %46) #10
  br label %485

485:                                              ; preds = %484, %397
  %.pn200.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn200.pn.pn.pn, %484 ], [ %398, %397 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %46) #10
  br label %761

486:                                              ; preds = %347
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %62) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %63) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %63) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %62, ptr noundef nonnull @.str.92, ptr noundef nonnull align 1 dereferenceable(1) %63)
          to label %487 unwind label %505

487:                                              ; preds = %486
  %488 = invoke noundef zeroext i1 @_ZN7SGTELIB6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %62)
          to label %489 unwind label %507

489:                                              ; preds = %487
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %63) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %63) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %62) #10
  br i1 %488, label %490, label %602

490:                                              ; preds = %489
  %491 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.93)
          to label %492 unwind label %.loopexit275

492:                                              ; preds = %490
  %493 = add nsw i32 %.0102, 1
  %494 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %491, i32 noundef %.0102)
          to label %495 unwind label %.loopexit275

495:                                              ; preds = %492
  %496 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %494, ptr noundef nonnull @.str.21)
          to label %497 unwind label %.loopexit275

497:                                              ; preds = %495
  %498 = invoke i32 @system(ptr noundef nonnull @.str.94)
          to label %499 unwind label %.loopexit275

499:                                              ; preds = %497
  %500 = trunc i32 %498 to i8
  %501 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %500)
          to label %502 unwind label %.loopexit275

502:                                              ; preds = %499
  %.not176 = icmp eq ptr %.096, null
  br i1 %.not176, label %.thread265, label %503

503:                                              ; preds = %502
  %504 = invoke noundef zeroext i1 @_ZN7SGTELIB9Surrogate5buildEv(ptr noundef nonnull align 8 dereferenceable(985) %.096)
          to label %512 unwind label %510

505:                                              ; preds = %486
  %506 = landingpad { ptr, i32 }
          cleanup
  br label %509

507:                                              ; preds = %487
  %508 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #10
  br label %509

509:                                              ; preds = %507, %505
  %.pn165 = phi { ptr, i32 } [ %508, %507 ], [ %506, %505 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %63) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %63) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %62) #10
  br label %761

510:                                              ; preds = %517, %515, %513, %503
  %511 = landingpad { ptr, i32 }
          cleanup
  br label %761

512:                                              ; preds = %503
  br i1 %504, label %520, label %.thread265

.thread265:                                       ; preds = %502, %512
  br i1 %1, label %513, label %515

513:                                              ; preds = %.thread265
  %514 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.78)
          to label %515 unwind label %510

515:                                              ; preds = %513, %.thread265
  %516 = invoke i32 @system(ptr noundef nonnull @.str.79)
          to label %517 unwind label %510

517:                                              ; preds = %515
  %518 = trunc i32 %516 to i8
  %519 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %518)
          to label %520 unwind label %510

520:                                              ; preds = %517, %512
  %.093268 = phi i1 [ false, %517 ], [ true, %512 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %64) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #10
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %65) #10
  invoke void @_ZN7SGTELIB6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %65)
          to label %521 unwind label %532

521:                                              ; preds = %520
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %10, ptr noundef nonnull @.str.95, i32 noundef 8)
          to label %522 unwind label %534

522:                                              ; preds = %521
  %523 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(32) %64)
          to label %524 unwind label %534

524:                                              ; preds = %522
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256) %10)
          to label %525 unwind label %534

525:                                              ; preds = %524
  br i1 %1, label %526, label %536

526:                                              ; preds = %525
  %527 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.96)
          to label %528 unwind label %534

528:                                              ; preds = %526
  %529 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %527, ptr noundef nonnull align 8 dereferenceable(32) %64)
          to label %530 unwind label %534

530:                                              ; preds = %528
  %531 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %529, ptr noundef nonnull @.str.21)
          to label %536 unwind label %534

532:                                              ; preds = %520
  %533 = landingpad { ptr, i32 }
          cleanup
  br label %601

534:                                              ; preds = %597, %593, %591, %.loopexit, %589, %541, %539, %536, %530, %528, %526, %524, %522, %521
  %535 = landingpad { ptr, i32 }
          cleanup
  br label %600

536:                                              ; preds = %530, %525
  %537 = invoke noundef i32 @_ZN7SGTELIB18str_to_metric_typeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %64)
          to label %538 unwind label %534

538:                                              ; preds = %536
  br i1 %1, label %539, label %541

539:                                              ; preds = %538
  %540 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.80)
          to label %541 unwind label %534

541:                                              ; preds = %539, %538
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %9, ptr noundef nonnull @.str.95, i32 noundef 16)
          to label %542 unwind label %534

542:                                              ; preds = %541
  br i1 %.093268, label %543, label %589

543:                                              ; preds = %542
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %66) #10
  invoke void @_ZN7SGTELIB9Surrogate10get_metricENS_8metric_tE(ptr dead_on_unwind nonnull writable sret(%"class.SGTELIB::Matrix") align 8 %66, ptr noundef nonnull align 8 dereferenceable(985) %.096, i32 noundef %537)
          to label %544 unwind label %573

544:                                              ; preds = %543
  %545 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %65, ptr noundef nonnull align 8 dereferenceable(56) %66)
          to label %546 unwind label %575

546:                                              ; preds = %544
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %66) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %66) #10
  %547 = call noundef i32 @_ZNK7SGTELIB6Matrix11get_nb_colsEv(ptr noundef nonnull align 8 dereferenceable(56) %65)
  %548 = icmp sgt i32 %547, 0
  br i1 %548, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %546
  br i1 %1, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph, %568
  %.091432.us = phi i32 [ %569, %568 ], [ 0, %.lr.ph ]
  %549 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7SGTELIB6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(56) %65, i32 noundef %.091432.us)
          to label %550 unwind label %.split.us

550:                                              ; preds = %.lr.ph.split.us
  %551 = load double, ptr %549, align 8, !tbaa !5
  %552 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %9, double noundef %551)
          to label %553 unwind label %.split.us

553:                                              ; preds = %550
  %554 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %552, ptr noundef nonnull @.str.14)
          to label %555 unwind label %.split.us

555:                                              ; preds = %553
  %556 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.97)
          to label %557 unwind label %.split.us

557:                                              ; preds = %555
  %558 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %556, i32 noundef %.091432.us)
          to label %559 unwind label %.split.us

559:                                              ; preds = %557
  %560 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %558, ptr noundef nonnull @.str.98)
          to label %561 unwind label %.split.us

561:                                              ; preds = %559
  %562 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7SGTELIB6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(56) %65, i32 noundef %.091432.us)
          to label %563 unwind label %.split.us

563:                                              ; preds = %561
  %564 = load double, ptr %562, align 8, !tbaa !5
  %565 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %560, double noundef %564)
          to label %566 unwind label %.split.us

566:                                              ; preds = %563
  %567 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %565, ptr noundef nonnull @.str.21)
          to label %568 unwind label %.split.us

568:                                              ; preds = %566
  %569 = add nuw nsw i32 %.091432.us, 1
  %570 = call noundef i32 @_ZNK7SGTELIB6Matrix11get_nb_colsEv(ptr noundef nonnull align 8 dereferenceable(56) %65)
  %571 = icmp slt i32 %569, %570
  br i1 %571, label %.lr.ph.split.us, label %.loopexit, !llvm.loop !9

.split.us:                                        ; preds = %566, %563, %561, %559, %557, %555, %553, %550, %.lr.ph.split.us
  %572 = landingpad { ptr, i32 }
          cleanup
  br label %600

573:                                              ; preds = %543
  %574 = landingpad { ptr, i32 }
          cleanup
  br label %577

575:                                              ; preds = %544
  %576 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %66) #10
  br label %577

577:                                              ; preds = %575, %573
  %.pn177 = phi { ptr, i32 } [ %576, %575 ], [ %574, %573 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %66) #10
  br label %600

.split:                                           ; preds = %583, %580, %.lr.ph.split
  %578 = landingpad { ptr, i32 }
          cleanup
  br label %600

.lr.ph.split:                                     ; preds = %.lr.ph, %585
  %.091432 = phi i32 [ %586, %585 ], [ 0, %.lr.ph ]
  %579 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7SGTELIB6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(56) %65, i32 noundef %.091432)
          to label %580 unwind label %.split

580:                                              ; preds = %.lr.ph.split
  %581 = load double, ptr %579, align 8, !tbaa !5
  %582 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %9, double noundef %581)
          to label %583 unwind label %.split

583:                                              ; preds = %580
  %584 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %582, ptr noundef nonnull @.str.14)
          to label %585 unwind label %.split

585:                                              ; preds = %583
  %586 = add nuw nsw i32 %.091432, 1
  %587 = call noundef i32 @_ZNK7SGTELIB6Matrix11get_nb_colsEv(ptr noundef nonnull align 8 dereferenceable(56) %65)
  %588 = icmp slt i32 %586, %587
  br i1 %588, label %.lr.ph.split, label %.loopexit, !llvm.loop !9

589:                                              ; preds = %542
  %590 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef -1)
          to label %.loopexit unwind label %534

.loopexit:                                        ; preds = %585, %568, %546, %589
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %9)
          to label %591 unwind label %534

591:                                              ; preds = %.loopexit
  %592 = invoke i32 @system(ptr noundef nonnull @.str.99)
          to label %593 unwind label %534

593:                                              ; preds = %591
  %594 = trunc i32 %592 to i8
  %595 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %594)
          to label %596 unwind label %534

596:                                              ; preds = %593
  br i1 %1, label %597, label %599

597:                                              ; preds = %596
  %598 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.66)
          to label %599 unwind label %534

599:                                              ; preds = %597, %596
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %65) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %65) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %64) #10
  br label %.preheader.backedge

600:                                              ; preds = %.split, %.split.us, %577, %534
  %.pn179 = phi { ptr, i32 } [ %535, %534 ], [ %.pn177, %577 ], [ %578, %.split ], [ %572, %.split.us ]
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %65) #10
  br label %601

601:                                              ; preds = %600, %532
  %.pn179.pn = phi { ptr, i32 } [ %.pn179, %600 ], [ %533, %532 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %65) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %64) #10
  br label %761

602:                                              ; preds = %489
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %67) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %68) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %67, ptr noundef nonnull @.str.100, ptr noundef nonnull align 1 dereferenceable(1) %68)
          to label %603 unwind label %621

603:                                              ; preds = %602
  %604 = invoke noundef zeroext i1 @_ZN7SGTELIB6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %67)
          to label %605 unwind label %623

605:                                              ; preds = %603
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %68) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %67) #10
  br i1 %604, label %606, label %646

606:                                              ; preds = %605
  %607 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.101)
          to label %608 unwind label %.loopexit275

608:                                              ; preds = %606
  %609 = add nsw i32 %.0102, 1
  %610 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %607, i32 noundef %.0102)
          to label %611 unwind label %.loopexit275

611:                                              ; preds = %608
  %612 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %610, ptr noundef nonnull @.str.21)
          to label %613 unwind label %.loopexit275

613:                                              ; preds = %611
  %614 = invoke i32 @system(ptr noundef nonnull @.str.102)
          to label %615 unwind label %.loopexit275

615:                                              ; preds = %613
  %616 = trunc i32 %614 to i8
  %617 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %616)
          to label %618 unwind label %.loopexit275

618:                                              ; preds = %615
  %.not175 = icmp eq ptr %.096, null
  br i1 %.not175, label %.thread269, label %619

619:                                              ; preds = %618
  %620 = invoke noundef zeroext i1 @_ZN7SGTELIB9Surrogate5buildEv(ptr noundef nonnull align 8 dereferenceable(985) %.096)
          to label %628 unwind label %626

621:                                              ; preds = %602
  %622 = landingpad { ptr, i32 }
          cleanup
  br label %625

623:                                              ; preds = %603
  %624 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #10
  br label %625

625:                                              ; preds = %623, %621
  %.pn167 = phi { ptr, i32 } [ %624, %623 ], [ %622, %621 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %68) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %67) #10
  br label %761

626:                                              ; preds = %644, %640, %638, %636, %.critedge253, %633, %631, %629, %619
  %627 = landingpad { ptr, i32 }
          cleanup
  br label %761

628:                                              ; preds = %619
  br i1 %620, label %.critedge253, label %.thread269

.thread269:                                       ; preds = %618, %628
  br i1 %1, label %629, label %631

629:                                              ; preds = %.thread269
  %630 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.78)
          to label %631 unwind label %626

631:                                              ; preds = %629, %.thread269
  %632 = invoke i32 @system(ptr noundef nonnull @.str.79)
          to label %633 unwind label %626

633:                                              ; preds = %631
  %634 = trunc i32 %632 to i8
  %635 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %634)
          to label %636 unwind label %626

.critedge253:                                     ; preds = %628
  invoke void @_ZNK7SGTELIB9Surrogate7displayERSo(ptr noundef nonnull align 8 dereferenceable(985) %.096, ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout)
          to label %638 unwind label %626

636:                                              ; preds = %633
  %637 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.103)
          to label %638 unwind label %626

638:                                              ; preds = %636, %.critedge253
  %639 = invoke i32 @system(ptr noundef nonnull @.str.104)
          to label %640 unwind label %626

640:                                              ; preds = %638
  %641 = trunc i32 %639 to i8
  %642 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %641)
          to label %643 unwind label %626

643:                                              ; preds = %640
  br i1 %1, label %644, label %.preheader.backedge

644:                                              ; preds = %643
  %645 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.66)
          to label %.preheader.backedge unwind label %626

646:                                              ; preds = %605
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %69) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %70) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %69, ptr noundef nonnull @.str.105, ptr noundef nonnull align 1 dereferenceable(1) %70)
          to label %647 unwind label %677

647:                                              ; preds = %646
  %648 = invoke noundef zeroext i1 @_ZN7SGTELIB6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %69)
          to label %649 unwind label %679

649:                                              ; preds = %647
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %70) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %69) #10
  br i1 %648, label %650, label %690

650:                                              ; preds = %649
  %651 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.106)
          to label %652 unwind label %.loopexit275

652:                                              ; preds = %650
  %653 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %651, ptr noundef nonnull @.str.21)
          to label %654 unwind label %.loopexit275

654:                                              ; preds = %652
  %655 = invoke i32 @system(ptr noundef nonnull @.str.107)
          to label %656 unwind label %.loopexit275

656:                                              ; preds = %654
  %657 = trunc i32 %655 to i8
  %658 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %657)
          to label %659 unwind label %.loopexit275

659:                                              ; preds = %656
  invoke void @_ZN7SGTELIB16surrogate_deleteEPNS_9SurrogateE(ptr noundef %.096)
          to label %660 unwind label %.loopexit275

660:                                              ; preds = %659
  %661 = icmp eq ptr %.092, null
  br i1 %661, label %666, label %662

662:                                              ; preds = %660
  %663 = load ptr, ptr %.092, align 8, !tbaa !11
  %664 = getelementptr inbounds i8, ptr %663, i64 8
  %665 = load ptr, ptr %664, align 8
  call void %665(ptr noundef nonnull align 8 dereferenceable(504) %.092) #10
  br label %666

666:                                              ; preds = %662, %660
  br i1 %1, label %667, label %682

667:                                              ; preds = %666
  %668 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.108)
          to label %669 unwind label %.loopexit275

669:                                              ; preds = %667
  %670 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPKv(ptr noundef nonnull align 8 dereferenceable(8) %668, ptr noundef null)
          to label %671 unwind label %.loopexit275

671:                                              ; preds = %669
  %672 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %670, ptr noundef nonnull @.str.109)
          to label %673 unwind label %.loopexit275

673:                                              ; preds = %671
  %674 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPKv(ptr noundef nonnull align 8 dereferenceable(8) %672, ptr noundef null)
          to label %675 unwind label %.loopexit275

675:                                              ; preds = %673
  %676 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %674, ptr noundef nonnull @.str.21)
          to label %682 unwind label %.loopexit275

677:                                              ; preds = %646
  %678 = landingpad { ptr, i32 }
          cleanup
  br label %681

679:                                              ; preds = %647
  %680 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #10
  br label %681

681:                                              ; preds = %679, %677
  %.pn169 = phi { ptr, i32 } [ %680, %679 ], [ %678, %677 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %70) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %69) #10
  br label %761

682:                                              ; preds = %675, %666
  %683 = invoke i32 @system(ptr noundef nonnull @.str.110)
          to label %684 unwind label %.loopexit275

684:                                              ; preds = %682
  %685 = trunc i32 %683 to i8
  %686 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %685)
          to label %687 unwind label %.loopexit275

687:                                              ; preds = %684
  br i1 %1, label %688, label %.preheader.backedge

688:                                              ; preds = %687
  %689 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.66)
          to label %.preheader.backedge unwind label %.loopexit275

690:                                              ; preds = %649
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %71) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %72) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %72) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %71, ptr noundef nonnull @.str.111, ptr noundef nonnull align 1 dereferenceable(1) %72)
          to label %691 unwind label %697

691:                                              ; preds = %690
  %692 = invoke noundef zeroext i1 @_ZN7SGTELIB6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %71)
          to label %693 unwind label %699

693:                                              ; preds = %691
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %71) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %72) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %72) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %71) #10
  br i1 %692, label %694, label %726

694:                                              ; preds = %693
  br i1 %1, label %695, label %.thread272

695:                                              ; preds = %694
  %696 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.112)
          to label %702 unwind label %.loopexit275

697:                                              ; preds = %690
  %698 = landingpad { ptr, i32 }
          cleanup
  br label %701

699:                                              ; preds = %691
  %700 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %71) #10
  br label %701

701:                                              ; preds = %699, %697
  %.pn171 = phi { ptr, i32 } [ %700, %699 ], [ %698, %697 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %72) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %72) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %71) #10
  br label %761

702:                                              ; preds = %695
  %.not = icmp eq ptr %.096, null
  br i1 %.not, label %.critedge255, label %703

.thread272:                                       ; preds = %694
  %.not273 = icmp eq ptr %.096, null
  br i1 %.not273, label %.critedge255, label %.thread274

703:                                              ; preds = %702
  %704 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.70)
          to label %705 unwind label %710

705:                                              ; preds = %703
  %706 = call noundef i32 @_ZNK7SGTELIB11TrainingSet13get_nb_pointsEv(ptr noundef nonnull align 8 dereferenceable(504) %.092)
  %707 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %704, i32 noundef %706)
          to label %708 unwind label %710

708:                                              ; preds = %705
  %709 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %707, ptr noundef nonnull @.str.71)
          to label %.thread274 unwind label %710

710:                                              ; preds = %.invoke751, %.invoke, %723, %721, %.critedge255, %714, %.thread274, %708, %705, %703
  %711 = landingpad { ptr, i32 }
          cleanup
  br label %761

.thread274:                                       ; preds = %.thread272, %708
  %712 = invoke noundef zeroext i1 @_ZN7SGTELIB9Surrogate5buildEv(ptr noundef nonnull align 8 dereferenceable(985) %.096)
          to label %713 unwind label %710

713:                                              ; preds = %.thread274
  br i1 %712, label %714, label %.critedge255

714:                                              ; preds = %713
  %715 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.113)
          to label %.invoke751 unwind label %710

.critedge255:                                     ; preds = %.thread272, %702, %713
  %716 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.115)
          to label %.invoke751 unwind label %710

.invoke751:                                       ; preds = %.critedge255, %714
  %717 = phi ptr [ @.str.114, %714 ], [ @.str.116, %.critedge255 ]
  %718 = invoke i32 @system(ptr noundef nonnull %717)
          to label %.invoke unwind label %710

.invoke:                                          ; preds = %.invoke751
  %719 = trunc i32 %718 to i8
  %720 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %719)
          to label %721 unwind label %710

721:                                              ; preds = %.invoke
  %722 = invoke i32 @system(ptr noundef nonnull @.str.117)
          to label %723 unwind label %710

723:                                              ; preds = %721
  %724 = trunc i32 %722 to i8
  %725 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %724)
          to label %.preheader.backedge unwind label %710

.preheader.backedge:                              ; preds = %723, %643, %644, %321, %322, %599, %688, %687, %729, %480, %184, %185
  %.0102.be = phi i32 [ 0, %185 ], [ 0, %184 ], [ %351, %480 ], [ %493, %599 ], [ %.0102, %688 ], [ %.0102, %687 ], [ %.0102, %729 ], [ %194, %322 ], [ %194, %321 ], [ %609, %644 ], [ %609, %643 ], [ %.0102, %723 ]
  %.099.be = phi i32 [ %.1100, %185 ], [ %.1100, %184 ], [ %.099, %480 ], [ %.099, %599 ], [ %.099, %688 ], [ %.099, %687 ], [ %.099, %729 ], [ %.099, %322 ], [ %.099, %321 ], [ %.099, %644 ], [ %.099, %643 ], [ %.099, %723 ]
  %.096.be = phi ptr [ %.197, %185 ], [ %.197, %184 ], [ %.096, %480 ], [ %.096, %599 ], [ null, %688 ], [ null, %687 ], [ %.096, %729 ], [ %.096, %322 ], [ %.096, %321 ], [ %.096, %644 ], [ %.096, %643 ], [ %.096, %723 ]
  %.092.be = phi ptr [ %.1, %185 ], [ %.1, %184 ], [ %.092, %480 ], [ %.092, %599 ], [ null, %688 ], [ null, %687 ], [ %.092, %729 ], [ %.092, %322 ], [ %.092, %321 ], [ %.092, %644 ], [ %.092, %643 ], [ %.092, %723 ]
  br label %.preheader, !llvm.loop !13

726:                                              ; preds = %693
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %73) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %74) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %73, ptr noundef nonnull @.str.118, ptr noundef nonnull align 1 dereferenceable(1) %74)
          to label %727 unwind label %744

727:                                              ; preds = %726
  %728 = invoke noundef zeroext i1 @_ZN7SGTELIB6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %73)
          to label %729 unwind label %746

729:                                              ; preds = %727
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %74) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %73) #10
  br i1 %728, label %730, label %.preheader.backedge

730:                                              ; preds = %729
  invoke void @_ZN7SGTELIB16surrogate_deleteEPNS_9SurrogateE(ptr noundef %.096)
          to label %731 unwind label %.loopexit.split-lp

731:                                              ; preds = %730
  %732 = icmp eq ptr %.092, null
  br i1 %732, label %737, label %733

733:                                              ; preds = %731
  %734 = load ptr, ptr %.092, align 8, !tbaa !11
  %735 = getelementptr inbounds i8, ptr %734, i64 8
  %736 = load ptr, ptr %735, align 8
  call void %736(ptr noundef nonnull align 8 dereferenceable(504) %.092) #10
  br label %737

737:                                              ; preds = %733, %731
  %738 = invoke i32 @system(ptr noundef nonnull @.str.119)
          to label %739 unwind label %.loopexit.split-lp

739:                                              ; preds = %737
  %740 = trunc i32 %738 to i8
  %741 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %740)
          to label %742 unwind label %.loopexit.split-lp

742:                                              ; preds = %739
  %743 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.120)
          to label %749 unwind label %.loopexit.split-lp

744:                                              ; preds = %726
  %745 = landingpad { ptr, i32 }
          cleanup
  br label %748

746:                                              ; preds = %727
  %747 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #10
  br label %748

748:                                              ; preds = %746, %744
  %.pn173 = phi { ptr, i32 } [ %747, %746 ], [ %745, %744 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %74) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %73) #10
  br label %761

749:                                              ; preds = %742
  %750 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.121)
          to label %751 unwind label %.loopexit.split-lp

751:                                              ; preds = %749
  %752 = invoke i32 @system(ptr noundef nonnull @.str.122)
          to label %753 unwind label %.loopexit.split-lp

753:                                              ; preds = %751
  %754 = trunc i32 %752 to i8
  %755 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %754)
          to label %756 unwind label %.loopexit.split-lp

756:                                              ; preds = %753
  %757 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.54)
          to label %758 unwind label %.loopexit.split-lp

758:                                              ; preds = %756
  %759 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.123)
          to label %760 unwind label %.loopexit.split-lp

760:                                              ; preds = %758
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %10) #10
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %10) #10
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %9) #10
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %9) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #10
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #10
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %6) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %6) #10
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %5) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %5) #10
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %4) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #10
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #10
  ret void

761:                                              ; preds = %.loopexit275, %.loopexit.split-lp, %510, %601, %368, %485, %217, %256, %264, %272, %280, %288, %328, %333, %338, %343, %748, %710, %701, %681, %626, %625, %509, %367, %216, %172, %151, %143, %125
  %.pn240 = phi { ptr, i32 } [ %173, %172 ], [ %.pn236.pn, %151 ], [ %.pn233.pn, %143 ], [ %627, %626 ], [ %711, %710 ], [ %.pn173, %748 ], [ %.pn171, %701 ], [ %.pn169, %681 ], [ %.pn167, %625 ], [ %.pn165, %509 ], [ %.pn163, %367 ], [ %.pn161, %216 ], [ %.pn, %125 ], [ %218, %217 ], [ %.pn229, %343 ], [ %.pn227, %338 ], [ %.pn225, %333 ], [ %.pn223, %328 ], [ %.pn220.pn, %288 ], [ %.pn217.pn, %280 ], [ %.pn214.pn, %272 ], [ %.pn211.pn, %264 ], [ %.pn208.pn, %256 ], [ %.pn200.pn.pn.pn.pn, %485 ], [ %369, %368 ], [ %.pn179.pn, %601 ], [ %511, %510 ], [ %lpad.loopexit, %.loopexit275 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %10) #10
  br label %762

762:                                              ; preds = %761, %119
  %.pn240.pn = phi { ptr, i32 } [ %.pn240, %761 ], [ %120, %119 ]
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %10) #10
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %9) #10
  br label %763

763:                                              ; preds = %762, %117
  %.pn240.pn.pn = phi { ptr, i32 } [ %.pn240.pn, %762 ], [ %118, %117 ]
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %9) #10
  br label %764

764:                                              ; preds = %763, %115
  %.pn240.pn.pn.pn = phi { ptr, i32 } [ %.pn240.pn.pn, %763 ], [ %116, %115 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #10
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #10
  br label %765

765:                                              ; preds = %764, %113
  %.pn240.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn240.pn.pn.pn, %764 ], [ %114, %113 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #10
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %6) #10
  br label %766

766:                                              ; preds = %765, %111
  %.pn240.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn240.pn.pn.pn.pn, %765 ], [ %112, %111 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %6) #10
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %5) #10
  br label %767

767:                                              ; preds = %766, %109
  %.pn240.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn240.pn.pn.pn.pn.pn, %766 ], [ %110, %109 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %5) #10
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %4) #10
  br label %768

768:                                              ; preds = %767, %107
  %.pn240.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn240.pn.pn.pn.pn.pn.pn, %767 ], [ %108, %107 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #10
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #10
  resume { ptr, i32 } %.pn240.pn.pn.pn.pn.pn.pn.pn
}

declare void @_ZN7SGTELIB6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN7SGTELIB6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

declare void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #5

declare void @_ZN7SGTELIB11TrainingSetC1ERKNS_6MatrixES3_(ptr noundef nonnull align 8 dereferenceable(504), ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #4

declare noundef ptr @_ZN7SGTELIB17Surrogate_FactoryERNS_11TrainingSetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(504), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN7SGTELIB9Surrogate5buildEv(ptr noundef nonnull align 8 dereferenceable(985)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7SGTELIB6Matrix11get_nb_rowsEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7SGTELIB6Matrix11get_nb_colsEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #6 align 2

declare void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, i32 noundef) unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7SGTELIB6Matrix8set_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

declare void @_ZNK7SGTELIB6Matrix7displayERSo(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

declare noundef i32 @_ZN7SGTELIB18str_to_metric_typeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) local_unnamed_addr #2 align 2

declare void @_ZN7SGTELIB16surrogate_deleteEPNS_9SurrogateE(ptr noundef) local_unnamed_addr #4

; Function Attrs: nofree
declare noundef i32 @system(ptr nocapture noundef readonly) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(248)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #2 align 2

declare void @_ZN7SGTELIB4waitEd(double noundef) local_unnamed_addr #4

declare void @_ZNK7SGTELIB6Matrix13display_shortERSo(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #4

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #8

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #9

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7SGTELIB11TrainingSet14get_output_dimEv(ptr noundef nonnull align 8 dereferenceable(504)) local_unnamed_addr #1 align 2

declare noundef zeroext i1 @_ZN7SGTELIB11TrainingSet10add_pointsERKNS_6MatrixES3_(ptr noundef nonnull align 8 dereferenceable(504), ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7SGTELIB11TrainingSet13get_nb_pointsEv(ptr noundef nonnull align 8 dereferenceable(504)) local_unnamed_addr #1 align 2

declare void @_ZNK7SGTELIB9Surrogate7displayERSo(ptr noundef nonnull align 8 dereferenceable(985), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

declare void @_ZN7SGTELIB9Surrogate7predictERKNS_6MatrixEPS1_S4_S4_S4_(ptr noundef nonnull align 8 dereferenceable(985), ptr noundef nonnull align 8 dereferenceable(56), ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare void @_ZN7SGTELIB6Matrix4fillEd(ptr noundef nonnull align 8 dereferenceable(56), double noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248), ptr noundef, i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248)) local_unnamed_addr #2 align 2

declare void @_ZN7SGTELIB9Surrogate13get_matrix_ZhEv(ptr dead_on_unwind writable sret(%"class.SGTELIB::Matrix") align 8, ptr noundef nonnull align 8 dereferenceable(985)) local_unnamed_addr #4

declare void @_ZN7SGTELIB9Surrogate13get_matrix_ShEv(ptr dead_on_unwind writable sret(%"class.SGTELIB::Matrix") align 8, ptr noundef nonnull align 8 dereferenceable(985)) local_unnamed_addr #4

declare void @_ZN7SGTELIB9Surrogate13get_matrix_ZvEv(ptr dead_on_unwind writable sret(%"class.SGTELIB::Matrix") align 8, ptr noundef nonnull align 8 dereferenceable(985)) local_unnamed_addr #4

declare void @_ZN7SGTELIB9Surrogate13get_matrix_SvEv(ptr dead_on_unwind writable sret(%"class.SGTELIB::Matrix") align 8, ptr noundef nonnull align 8 dereferenceable(985)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef, i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #2 align 2

declare void @_ZN7SGTELIB9Surrogate10get_metricENS_8metric_tE(ptr dead_on_unwind writable sret(%"class.SGTELIB::Matrix") align 8, ptr noundef nonnull align 8 dereferenceable(985), i32 noundef) local_unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN7SGTELIB6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248)) unnamed_addr #1 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { inlinehint 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind "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 #6 = { 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 #7 = { nofree "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 #8 = { nobuiltin allocsize(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 #9 = { nobuiltin 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 #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin 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"}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = distinct !{!13, !10}


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