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

; 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.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::allocator" = type { i8 }
%"class.SGTELIB::Surrogate" = type <{ ptr, ptr, %"class.SGTELIB::Surrogate_Parameters", i32, i32, i32, i32, i32, i32, i8, [7 x i8], ptr, ptr, ptr, ptr, %"class.std::__cxx11::list", %"class.std::map", double, %"class.std::basic_ofstream", i8, [7 x i8] }>
%"class.SGTELIB::Surrogate_Parameters" = type { ptr, i32, i32, i32, i32, i32, double, i32, double, i32, i32, i32, %"class.SGTELIB::Matrix", i32, i32, i32, double, double, double, double, %"class.SGTELIB::Matrix", i32, i32, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, i32 }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<int, std::allocator<int>>::_List_impl" }
%"struct.std::__cxx11::_List_base<int, std::allocator<int>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<SGTELIB::metric_t, std::pair<const SGTELIB::metric_t, SGTELIB::Matrix>, std::_Select1st<std::pair<const SGTELIB::metric_t, SGTELIB::Matrix>>, std::less<SGTELIB::metric_t>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<SGTELIB::metric_t, std::pair<const SGTELIB::metric_t, SGTELIB::Matrix>, std::_Select1st<std::pair<const SGTELIB::metric_t, SGTELIB::Matrix>>, std::less<SGTELIB::metric_t>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"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" }
%"class.std::locale" = type { ptr }
%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.6 }
%union.anon.6 = type { i32 }
%"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.SGTELIB::Surrogate_Ensemble" = type { %"class.SGTELIB::Surrogate.base", i32, i32, %"class.std::vector", ptr, ptr }
%"class.SGTELIB::Surrogate.base" = type <{ ptr, ptr, %"class.SGTELIB::Surrogate_Parameters", i32, i32, i32, i32, i32, i32, i8, [7 x i8], ptr, ptr, ptr, ptr, %"class.std::__cxx11::list", %"class.std::map", double, %"class.std::basic_ofstream", i8 }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<SGTELIB::Surrogate *, std::allocator<SGTELIB::Surrogate *>>::_Vector_impl" }
%"struct.std::_Vector_base<SGTELIB::Surrogate *, std::allocator<SGTELIB::Surrogate *>>::_Vector_impl" = type { %"struct.std::_Vector_base<SGTELIB::Surrogate *, std::allocator<SGTELIB::Surrogate *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<SGTELIB::Surrogate *, std::allocator<SGTELIB::Surrogate *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.15 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [4 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; 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 @_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: 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 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 #3

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7SGTELIB20Surrogate_Parameters10get_weightEv(ptr dead_on_unwind noalias writable sret(%"class.SGTELIB::Matrix") align 8, ptr noundef nonnull align 8 dereferenceable(312)) #2 align 2

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #7

declare void @_ZN7SGTELIB6Matrix3setEiid(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, i32 noundef, double noundef) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #7

; 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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7SGTELIB18Surrogate_Ensemble15predict_privateERKNS_6MatrixEPS1_S4_S4_S4_(ptr noundef nonnull align 8 dereferenceable(1040) %0, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.SGTELIB::Matrix", align 8
  %14 = alloca ptr, 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::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator", align 1
  %21 = alloca i1, align 1
  %22 = alloca ptr, align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator", align 1
  %25 = alloca i1, align 1
  %26 = alloca ptr, align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator", align 1
  %29 = alloca i1, align 1
  %30 = alloca ptr, align 8
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.std::allocator", align 1
  %33 = alloca i1, align 1
  %34 = alloca ptr, align 8
  %35 = alloca %"class.std::__cxx11::basic_string", align 8
  %36 = alloca %"class.std::allocator", align 1
  %37 = alloca i1, align 1
  %38 = alloca double, align 8
  %39 = alloca double, align 8
  %40 = alloca double, align 8
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !5
  %49 = load ptr, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 56, ptr %13) #9
  %50 = getelementptr inbounds %"class.SGTELIB::Surrogate", ptr %49, i32 0, i32 2
  call void @_ZNK7SGTELIB20Surrogate_Parameters10get_weightEv(ptr dead_on_unwind writable sret(%"class.SGTELIB::Matrix") align 8 %13, ptr noundef nonnull align 8 dereferenceable(312) %50)
  %51 = load ptr, ptr %10, align 8, !tbaa !5
  %52 = icmp ne ptr %51, null
  br i1 %52, label %70, label %53

53:                                               ; preds = %6
  %54 = load ptr, ptr %11, align 8, !tbaa !5
  %55 = icmp ne ptr %54, null
  br i1 %55, label %70, label %56

56:                                               ; preds = %53
  %57 = load ptr, ptr %12, align 8, !tbaa !5
  %58 = icmp ne ptr %57, null
  br i1 %58, label %70, label %59

59:                                               ; preds = %56
  %60 = load ptr, ptr %8, align 8, !tbaa !5
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  %62 = load ptr, ptr %49, align 8, !tbaa !9
  %63 = getelementptr inbounds ptr, ptr %62, i64 4
  %64 = load ptr, ptr %63, align 8
  invoke void %64(ptr noundef nonnull align 8 dereferenceable(1040) %49, ptr noundef nonnull align 8 dereferenceable(56) %60, ptr noundef %61)
          to label %65 unwind label %66

65:                                               ; preds = %59
  store i32 1, ptr %16, align 4
  br label %551

66:                                               ; preds = %59
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %14, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %15, align 4
  br label %561

70:                                               ; preds = %56, %53, %6
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = invoke noundef i32 @_ZNK7SGTELIB6Matrix11get_nb_rowsEv(ptr noundef nonnull align 8 dereferenceable(56) %71)
          to label %73 unwind label %84

73:                                               ; preds = %70
  store i32 %72, ptr %17, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #9
  store i8 0, ptr %18, align 1, !tbaa !13
  %74 = load ptr, ptr %9, align 8, !tbaa !5
  %75 = icmp ne ptr %74, null
  br i1 %75, label %104, label %76

76:                                               ; preds = %73
  %77 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #10
          to label %78 unwind label %88

78:                                               ; preds = %76
  store i1 true, ptr %21, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef @.str.16, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %79 unwind label %92

79:                                               ; preds = %78
  %80 = load i32, ptr %17, align 4, !tbaa !11
  %81 = getelementptr inbounds %"class.SGTELIB::Surrogate", ptr %49, i32 0, i32 4
  %82 = load i32, ptr %81, align 4, !tbaa !15
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %77, ptr noundef nonnull align 8 dereferenceable(32) %19, i32 noundef %80, i32 noundef %82)
          to label %83 unwind label %96

83:                                               ; preds = %79
  store i1 false, ptr %21, align 1
  store ptr %77, ptr %9, align 8, !tbaa !5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #9
  store i8 1, ptr %18, align 1, !tbaa !13
  br label %104

84:                                               ; preds = %70
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %14, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %15, align 4
  br label %560

88:                                               ; preds = %121, %115, %109, %104, %76
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %14, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %15, align 4
  br label %559

92:                                               ; preds = %78
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %14, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %15, align 4
  br label %100

96:                                               ; preds = %79
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %14, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  br label %100

100:                                              ; preds = %96, %92
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #9
  %101 = load i1, ptr %21, align 1
  br i1 %101, label %102, label %103

102:                                              ; preds = %100
  call void @_ZdlPvm(ptr noundef %77, i64 noundef 56) #11
  br label %103

103:                                              ; preds = %102, %100
  br label %559

104:                                              ; preds = %83, %73
  %105 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN7SGTELIB6Matrix4fillEd(ptr noundef nonnull align 8 dereferenceable(56) %105, double noundef 0.000000e+00)
          to label %106 unwind label %88

106:                                              ; preds = %104
  %107 = load ptr, ptr %10, align 8, !tbaa !5
  %108 = icmp ne ptr %107, null
  br i1 %108, label %109, label %112

109:                                              ; preds = %106
  %110 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN7SGTELIB6Matrix4fillEd(ptr noundef nonnull align 8 dereferenceable(56) %110, double noundef 0.000000e+00)
          to label %111 unwind label %88

111:                                              ; preds = %109
  br label %112

112:                                              ; preds = %111, %106
  %113 = load ptr, ptr %11, align 8, !tbaa !5
  %114 = icmp ne ptr %113, null
  br i1 %114, label %115, label %118

115:                                              ; preds = %112
  %116 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZN7SGTELIB6Matrix4fillEd(ptr noundef nonnull align 8 dereferenceable(56) %116, double noundef 0.000000e+00)
          to label %117 unwind label %88

117:                                              ; preds = %115
  br label %118

118:                                              ; preds = %117, %112
  %119 = load ptr, ptr %12, align 8, !tbaa !5
  %120 = icmp ne ptr %119, null
  br i1 %120, label %121, label %124

121:                                              ; preds = %118
  %122 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZN7SGTELIB6Matrix4fillEd(ptr noundef nonnull align 8 dereferenceable(56) %122, double noundef 0.000000e+00)
          to label %123 unwind label %88

123:                                              ; preds = %121
  br label %124

124:                                              ; preds = %123, %118
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  %125 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #10
          to label %126 unwind label %149

126:                                              ; preds = %124
  store i1 true, ptr %25, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef @.str.15, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %127 unwind label %153

127:                                              ; preds = %126
  %128 = load i32, ptr %17, align 4, !tbaa !11
  %129 = getelementptr inbounds %"class.SGTELIB::Surrogate", ptr %49, i32 0, i32 4
  %130 = load i32, ptr %129, align 4, !tbaa !15
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %125, ptr noundef nonnull align 8 dereferenceable(32) %23, i32 noundef %128, i32 noundef %130)
          to label %131 unwind label %157

131:                                              ; preds = %127
  store i1 false, ptr %25, align 1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #9
  store ptr %125, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  %132 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #10
          to label %133 unwind label %165

133:                                              ; preds = %131
  store i1 true, ptr %29, align 1
  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.17, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %134 unwind label %169

134:                                              ; preds = %133
  %135 = load i32, ptr %17, align 4, !tbaa !11
  %136 = getelementptr inbounds %"class.SGTELIB::Surrogate", ptr %49, i32 0, i32 4
  %137 = load i32, ptr %136, align 4, !tbaa !15
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %132, ptr noundef nonnull align 8 dereferenceable(32) %27, i32 noundef %135, i32 noundef %137)
          to label %138 unwind label %173

138:                                              ; preds = %134
  store i1 false, ptr %29, align 1
  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
  store ptr %132, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  %139 = load ptr, ptr %12, align 8, !tbaa !5
  %140 = icmp ne ptr %139, null
  br i1 %140, label %141, label %197

141:                                              ; preds = %138
  %142 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #10
          to label %143 unwind label %181

143:                                              ; preds = %141
  store i1 true, ptr %33, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef @.str.18, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %144 unwind label %185

144:                                              ; preds = %143
  %145 = load i32, ptr %17, align 4, !tbaa !11
  %146 = getelementptr inbounds %"class.SGTELIB::Surrogate", ptr %49, i32 0, i32 4
  %147 = load i32, ptr %146, align 4, !tbaa !15
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %142, ptr noundef nonnull align 8 dereferenceable(32) %31, i32 noundef %145, i32 noundef %147)
          to label %148 unwind label %189

148:                                              ; preds = %144
  store i1 false, ptr %33, align 1
  store ptr %142, ptr %30, align 8, !tbaa !5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  br label %198

149:                                              ; preds = %124
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %14, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %15, align 4
  br label %558

153:                                              ; preds = %126
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %14, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %15, align 4
  br label %161

157:                                              ; preds = %127
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %14, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  br label %161

161:                                              ; preds = %157, %153
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #9
  %162 = load i1, ptr %25, align 1
  br i1 %162, label %163, label %164

163:                                              ; preds = %161
  call void @_ZdlPvm(ptr noundef %125, i64 noundef 56) #11
  br label %164

164:                                              ; preds = %163, %161
  br label %558

165:                                              ; preds = %131
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %14, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %15, align 4
  br label %557

169:                                              ; preds = %133
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %14, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %15, align 4
  br label %177

173:                                              ; preds = %134
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %14, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  br label %177

177:                                              ; preds = %173, %169
  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
  %178 = load i1, ptr %29, align 1
  br i1 %178, label %179, label %180

179:                                              ; preds = %177
  call void @_ZdlPvm(ptr noundef %132, i64 noundef 56) #11
  br label %180

180:                                              ; preds = %179, %177
  br label %557

181:                                              ; preds = %141
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %14, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %15, align 4
  br label %556

185:                                              ; preds = %143
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %14, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %15, align 4
  br label %193

189:                                              ; preds = %144
  %190 = landingpad { ptr, i32 }
          cleanup
  %191 = extractvalue { ptr, i32 } %190, 0
  store ptr %191, ptr %14, align 8
  %192 = extractvalue { ptr, i32 } %190, 1
  store i32 %192, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  br label %193

193:                                              ; preds = %189, %185
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  %194 = load i1, ptr %33, align 1
  br i1 %194, label %195, label %196

195:                                              ; preds = %193
  call void @_ZdlPvm(ptr noundef %142, i64 noundef 56) #11
  br label %196

196:                                              ; preds = %195, %193
  br label %556

197:                                              ; preds = %138
  store ptr null, ptr %30, align 8, !tbaa !5
  br label %198

198:                                              ; preds = %197, %148
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #9
  %199 = load ptr, ptr %11, align 8, !tbaa !5
  %200 = icmp ne ptr %199, null
  br i1 %200, label %201, label %225

201:                                              ; preds = %198
  %202 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #10
          to label %203 unwind label %209

203:                                              ; preds = %201
  store i1 true, ptr %37, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %204 unwind label %213

204:                                              ; preds = %203
  %205 = load i32, ptr %17, align 4, !tbaa !11
  %206 = getelementptr inbounds %"class.SGTELIB::Surrogate", ptr %49, i32 0, i32 4
  %207 = load i32, ptr %206, align 4, !tbaa !15
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %202, ptr noundef nonnull align 8 dereferenceable(32) %35, i32 noundef %205, i32 noundef %207)
          to label %208 unwind label %217

208:                                              ; preds = %204
  store i1 false, ptr %37, align 1
  store ptr %202, ptr %34, align 8, !tbaa !5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #9
  br label %226

209:                                              ; preds = %201
  %210 = landingpad { ptr, i32 }
          cleanup
  %211 = extractvalue { ptr, i32 } %210, 0
  store ptr %211, ptr %14, align 8
  %212 = extractvalue { ptr, i32 } %210, 1
  store i32 %212, ptr %15, align 4
  br label %555

213:                                              ; preds = %203
  %214 = landingpad { ptr, i32 }
          cleanup
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %14, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %15, align 4
  br label %221

217:                                              ; preds = %204
  %218 = landingpad { ptr, i32 }
          cleanup
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %14, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #9
  br label %221

221:                                              ; preds = %217, %213
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #9
  %222 = load i1, ptr %37, align 1
  br i1 %222, label %223, label %224

223:                                              ; preds = %221
  call void @_ZdlPvm(ptr noundef %202, i64 noundef 56) #11
  br label %224

224:                                              ; preds = %223, %221
  br label %555

225:                                              ; preds = %198
  store ptr null, ptr %34, align 8, !tbaa !5
  br label %226

226:                                              ; preds = %225, %208
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #9
  store i32 0, ptr %41, align 4, !tbaa !11
  br label %227

227:                                              ; preds = %441, %226
  %228 = load i32, ptr %41, align 4, !tbaa !11
  %229 = getelementptr inbounds %"class.SGTELIB::Surrogate_Ensemble", ptr %49, i32 0, i32 1
  %230 = load i32, ptr %229, align 4, !tbaa !51
  %231 = icmp slt i32 %228, %230
  br i1 %231, label %233, label %232

232:                                              ; preds = %227
  store i32 2, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  br label %445

233:                                              ; preds = %227
  %234 = getelementptr inbounds %"class.SGTELIB::Surrogate_Ensemble", ptr %49, i32 0, i32 4
  %235 = load ptr, ptr %234, align 8, !tbaa !57
  %236 = load i32, ptr %41, align 4, !tbaa !11
  %237 = sext i32 %236 to i64
  %238 = getelementptr inbounds i8, ptr %235, i64 %237
  %239 = load i8, ptr %238, align 1, !tbaa !13, !range !58, !noundef !59
  %240 = trunc i8 %239 to i1
  br i1 %240, label %241, label %440

241:                                              ; preds = %233
  %242 = getelementptr inbounds %"class.SGTELIB::Surrogate_Ensemble", ptr %49, i32 0, i32 3
  %243 = load i32, ptr %41, align 4, !tbaa !11
  %244 = sext i32 %243 to i64
  %245 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7SGTELIB9SurrogateESaIS2_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %242, i64 noundef %244)
          to label %246 unwind label %263

246:                                              ; preds = %241
  %247 = load ptr, ptr %245, align 8, !tbaa !5
  %248 = load ptr, ptr %8, align 8, !tbaa !5
  %249 = load ptr, ptr %22, align 8, !tbaa !5
  %250 = load ptr, ptr %26, align 8, !tbaa !5
  %251 = load ptr, ptr %34, align 8, !tbaa !5
  %252 = load ptr, ptr %30, align 8, !tbaa !5
  %253 = load ptr, ptr %247, align 8, !tbaa !9
  %254 = getelementptr inbounds ptr, ptr %253, i64 3
  %255 = load ptr, ptr %254, align 8
  invoke void %255(ptr noundef nonnull align 8 dereferenceable(985) %247, ptr noundef nonnull align 8 dereferenceable(56) %248, ptr noundef %249, ptr noundef %250, ptr noundef %251, ptr noundef %252)
          to label %256 unwind label %263

256:                                              ; preds = %246
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #9
  store i32 0, ptr %42, align 4, !tbaa !11
  br label %257

257:                                              ; preds = %435, %256
  %258 = load i32, ptr %42, align 4, !tbaa !11
  %259 = getelementptr inbounds %"class.SGTELIB::Surrogate", ptr %49, i32 0, i32 4
  %260 = load i32, ptr %259, align 4, !tbaa !15
  %261 = icmp slt i32 %258, %260
  br i1 %261, label %267, label %262

262:                                              ; preds = %257
  store i32 5, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  br label %439

263:                                              ; preds = %246, %241
  %264 = landingpad { ptr, i32 }
          cleanup
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %14, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %15, align 4
  br label %444

267:                                              ; preds = %257
  %268 = load i32, ptr %41, align 4, !tbaa !11
  %269 = load i32, ptr %42, align 4, !tbaa !11
  %270 = invoke noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %13, i32 noundef %268, i32 noundef %269)
          to label %271 unwind label %284

271:                                              ; preds = %267
  store double %270, ptr %38, align 8, !tbaa !60
  %272 = load double, ptr %38, align 8, !tbaa !60
  %273 = getelementptr inbounds %"class.SGTELIB::Surrogate_Ensemble", ptr %49, i32 0, i32 1
  %274 = load i32, ptr %273, align 4, !tbaa !51
  %275 = sitofp i32 %274 to double
  %276 = fdiv double 1.000000e-13, %275
  %277 = fcmp ogt double %272, %276
  br i1 %277, label %278, label %434

278:                                              ; preds = %271
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #9
  store i32 0, ptr %43, align 4, !tbaa !11
  br label %279

279:                                              ; preds = %306, %278
  %280 = load i32, ptr %43, align 4, !tbaa !11
  %281 = load i32, ptr %17, align 4, !tbaa !11
  %282 = icmp slt i32 %280, %281
  br i1 %282, label %288, label %283

283:                                              ; preds = %279
  store i32 8, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #9
  br label %313

284:                                              ; preds = %361, %267
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %14, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %15, align 4
  br label %438

288:                                              ; preds = %279
  %289 = load ptr, ptr %22, align 8, !tbaa !5
  %290 = load i32, ptr %43, align 4, !tbaa !11
  %291 = load i32, ptr %42, align 4, !tbaa !11
  %292 = invoke noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %289, i32 noundef %290, i32 noundef %291)
          to label %293 unwind label %309

293:                                              ; preds = %288
  store double %292, ptr %39, align 8, !tbaa !60
  %294 = load ptr, ptr %9, align 8, !tbaa !5
  %295 = load i32, ptr %43, align 4, !tbaa !11
  %296 = load i32, ptr %42, align 4, !tbaa !11
  %297 = load ptr, ptr %9, align 8, !tbaa !5
  %298 = load i32, ptr %43, align 4, !tbaa !11
  %299 = load i32, ptr %42, align 4, !tbaa !11
  %300 = invoke noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %297, i32 noundef %298, i32 noundef %299)
          to label %301 unwind label %309

301:                                              ; preds = %293
  %302 = load double, ptr %38, align 8, !tbaa !60
  %303 = load double, ptr %39, align 8, !tbaa !60
  %304 = call double @llvm.fmuladd.f64(double %302, double %303, double %300)
  invoke void @_ZN7SGTELIB6Matrix3setEiid(ptr noundef nonnull align 8 dereferenceable(56) %294, i32 noundef %295, i32 noundef %296, double noundef %304)
          to label %305 unwind label %309

305:                                              ; preds = %301
  br label %306

306:                                              ; preds = %305
  %307 = load i32, ptr %43, align 4, !tbaa !11
  %308 = add nsw i32 %307, 1
  store i32 %308, ptr %43, align 4, !tbaa !11
  br label %279, !llvm.loop !61

309:                                              ; preds = %301, %293, %288
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %14, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #9
  br label %438

313:                                              ; preds = %283
  %314 = load ptr, ptr %10, align 8, !tbaa !5
  %315 = icmp ne ptr %314, null
  br i1 %315, label %316, label %358

316:                                              ; preds = %313
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #9
  store i32 0, ptr %44, align 4, !tbaa !11
  br label %317

317:                                              ; preds = %350, %316
  %318 = load i32, ptr %44, align 4, !tbaa !11
  %319 = load i32, ptr %17, align 4, !tbaa !11
  %320 = icmp slt i32 %318, %319
  br i1 %320, label %322, label %321

321:                                              ; preds = %317
  store i32 11, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #9
  br label %357

322:                                              ; preds = %317
  %323 = load ptr, ptr %22, align 8, !tbaa !5
  %324 = load i32, ptr %44, align 4, !tbaa !11
  %325 = load i32, ptr %42, align 4, !tbaa !11
  %326 = invoke noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %323, i32 noundef %324, i32 noundef %325)
          to label %327 unwind label %353

327:                                              ; preds = %322
  store double %326, ptr %39, align 8, !tbaa !60
  %328 = load ptr, ptr %26, align 8, !tbaa !5
  %329 = load i32, ptr %44, align 4, !tbaa !11
  %330 = load i32, ptr %42, align 4, !tbaa !11
  %331 = invoke noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %328, i32 noundef %329, i32 noundef %330)
          to label %332 unwind label %353

332:                                              ; preds = %327
  store double %331, ptr %40, align 8, !tbaa !60
  %333 = load ptr, ptr %10, align 8, !tbaa !5
  %334 = load i32, ptr %44, align 4, !tbaa !11
  %335 = load i32, ptr %42, align 4, !tbaa !11
  %336 = load ptr, ptr %10, align 8, !tbaa !5
  %337 = load i32, ptr %44, align 4, !tbaa !11
  %338 = load i32, ptr %42, align 4, !tbaa !11
  %339 = invoke noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %336, i32 noundef %337, i32 noundef %338)
          to label %340 unwind label %353

340:                                              ; preds = %332
  %341 = load double, ptr %38, align 8, !tbaa !60
  %342 = load double, ptr %40, align 8, !tbaa !60
  %343 = load double, ptr %40, align 8, !tbaa !60
  %344 = load double, ptr %39, align 8, !tbaa !60
  %345 = load double, ptr %39, align 8, !tbaa !60
  %346 = fmul double %344, %345
  %347 = call double @llvm.fmuladd.f64(double %342, double %343, double %346)
  %348 = call double @llvm.fmuladd.f64(double %341, double %347, double %339)
  invoke void @_ZN7SGTELIB6Matrix3setEiid(ptr noundef nonnull align 8 dereferenceable(56) %333, i32 noundef %334, i32 noundef %335, double noundef %348)
          to label %349 unwind label %353

349:                                              ; preds = %340
  br label %350

350:                                              ; preds = %349
  %351 = load i32, ptr %44, align 4, !tbaa !11
  %352 = add nsw i32 %351, 1
  store i32 %352, ptr %44, align 4, !tbaa !11
  br label %317, !llvm.loop !63

353:                                              ; preds = %340, %332, %327, %322
  %354 = landingpad { ptr, i32 }
          cleanup
  %355 = extractvalue { ptr, i32 } %354, 0
  store ptr %355, ptr %14, align 8
  %356 = extractvalue { ptr, i32 } %354, 1
  store i32 %356, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #9
  br label %438

357:                                              ; preds = %321
  br label %358

358:                                              ; preds = %357, %313
  %359 = load ptr, ptr %11, align 8, !tbaa !5
  %360 = icmp ne ptr %359, null
  br i1 %360, label %361, label %399

361:                                              ; preds = %358
  %362 = getelementptr inbounds %"class.SGTELIB::Surrogate", ptr %49, i32 0, i32 1
  %363 = load ptr, ptr %362, align 8, !tbaa !64
  %364 = load i32, ptr %42, align 4, !tbaa !11
  %365 = invoke noundef i32 @_ZNK7SGTELIB11TrainingSet7get_bboEi(ptr noundef nonnull align 8 dereferenceable(504) %363, i32 noundef %364)
          to label %366 unwind label %284

366:                                              ; preds = %361
  %367 = icmp eq i32 %365, 0
  br i1 %367, label %368, label %399

368:                                              ; preds = %366
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #9
  store i32 0, ptr %45, align 4, !tbaa !11
  br label %369

369:                                              ; preds = %391, %368
  %370 = load i32, ptr %45, align 4, !tbaa !11
  %371 = load i32, ptr %17, align 4, !tbaa !11
  %372 = icmp slt i32 %370, %371
  br i1 %372, label %374, label %373

373:                                              ; preds = %369
  store i32 14, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #9
  br label %398

374:                                              ; preds = %369
  %375 = load ptr, ptr %11, align 8, !tbaa !5
  %376 = load i32, ptr %45, align 4, !tbaa !11
  %377 = load i32, ptr %42, align 4, !tbaa !11
  %378 = load ptr, ptr %11, align 8, !tbaa !5
  %379 = load i32, ptr %45, align 4, !tbaa !11
  %380 = load i32, ptr %42, align 4, !tbaa !11
  %381 = invoke noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %378, i32 noundef %379, i32 noundef %380)
          to label %382 unwind label %394

382:                                              ; preds = %374
  %383 = load double, ptr %38, align 8, !tbaa !60
  %384 = load ptr, ptr %34, align 8, !tbaa !5
  %385 = load i32, ptr %45, align 4, !tbaa !11
  %386 = load i32, ptr %42, align 4, !tbaa !11
  %387 = invoke noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %384, i32 noundef %385, i32 noundef %386)
          to label %388 unwind label %394

388:                                              ; preds = %382
  %389 = call double @llvm.fmuladd.f64(double %383, double %387, double %381)
  invoke void @_ZN7SGTELIB6Matrix3setEiid(ptr noundef nonnull align 8 dereferenceable(56) %375, i32 noundef %376, i32 noundef %377, double noundef %389)
          to label %390 unwind label %394

390:                                              ; preds = %388
  br label %391

391:                                              ; preds = %390
  %392 = load i32, ptr %45, align 4, !tbaa !11
  %393 = add nsw i32 %392, 1
  store i32 %393, ptr %45, align 4, !tbaa !11
  br label %369, !llvm.loop !65

394:                                              ; preds = %388, %382, %374
  %395 = landingpad { ptr, i32 }
          cleanup
  %396 = extractvalue { ptr, i32 } %395, 0
  store ptr %396, ptr %14, align 8
  %397 = extractvalue { ptr, i32 } %395, 1
  store i32 %397, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #9
  br label %438

398:                                              ; preds = %373
  br label %399

399:                                              ; preds = %398, %366, %358
  %400 = load ptr, ptr %12, align 8, !tbaa !5
  %401 = icmp ne ptr %400, null
  br i1 %401, label %402, label %433

402:                                              ; preds = %399
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #9
  store i32 0, ptr %46, align 4, !tbaa !11
  br label %403

403:                                              ; preds = %425, %402
  %404 = load i32, ptr %46, align 4, !tbaa !11
  %405 = load i32, ptr %17, align 4, !tbaa !11
  %406 = icmp slt i32 %404, %405
  br i1 %406, label %408, label %407

407:                                              ; preds = %403
  store i32 17, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #9
  br label %432

408:                                              ; preds = %403
  %409 = load ptr, ptr %12, align 8, !tbaa !5
  %410 = load i32, ptr %46, align 4, !tbaa !11
  %411 = load i32, ptr %42, align 4, !tbaa !11
  %412 = load ptr, ptr %12, align 8, !tbaa !5
  %413 = load i32, ptr %46, align 4, !tbaa !11
  %414 = load i32, ptr %42, align 4, !tbaa !11
  %415 = invoke noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %412, i32 noundef %413, i32 noundef %414)
          to label %416 unwind label %428

416:                                              ; preds = %408
  %417 = load double, ptr %38, align 8, !tbaa !60
  %418 = load ptr, ptr %30, align 8, !tbaa !5
  %419 = load i32, ptr %46, align 4, !tbaa !11
  %420 = load i32, ptr %42, align 4, !tbaa !11
  %421 = invoke noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %418, i32 noundef %419, i32 noundef %420)
          to label %422 unwind label %428

422:                                              ; preds = %416
  %423 = call double @llvm.fmuladd.f64(double %417, double %421, double %415)
  invoke void @_ZN7SGTELIB6Matrix3setEiid(ptr noundef nonnull align 8 dereferenceable(56) %409, i32 noundef %410, i32 noundef %411, double noundef %423)
          to label %424 unwind label %428

424:                                              ; preds = %422
  br label %425

425:                                              ; preds = %424
  %426 = load i32, ptr %46, align 4, !tbaa !11
  %427 = add nsw i32 %426, 1
  store i32 %427, ptr %46, align 4, !tbaa !11
  br label %403, !llvm.loop !66

428:                                              ; preds = %422, %416, %408
  %429 = landingpad { ptr, i32 }
          cleanup
  %430 = extractvalue { ptr, i32 } %429, 0
  store ptr %430, ptr %14, align 8
  %431 = extractvalue { ptr, i32 } %429, 1
  store i32 %431, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #9
  br label %438

432:                                              ; preds = %407
  br label %433

433:                                              ; preds = %432, %399
  br label %434

434:                                              ; preds = %433, %271
  br label %435

435:                                              ; preds = %434
  %436 = load i32, ptr %42, align 4, !tbaa !11
  %437 = add nsw i32 %436, 1
  store i32 %437, ptr %42, align 4, !tbaa !11
  br label %257, !llvm.loop !67

438:                                              ; preds = %428, %394, %353, %309, %284
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  br label %444

439:                                              ; preds = %262
  br label %440

440:                                              ; preds = %439, %233
  br label %441

441:                                              ; preds = %440
  %442 = load i32, ptr %41, align 4, !tbaa !11
  %443 = add nsw i32 %442, 1
  store i32 %443, ptr %41, align 4, !tbaa !11
  br label %227, !llvm.loop !68

444:                                              ; preds = %438, %263
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  br label %554

445:                                              ; preds = %232
  %446 = load ptr, ptr %10, align 8, !tbaa !5
  %447 = icmp ne ptr %446, null
  br i1 %447, label %448, label %495

448:                                              ; preds = %445
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #9
  store i32 0, ptr %47, align 4, !tbaa !11
  br label %449

449:                                              ; preds = %491, %448
  %450 = load i32, ptr %47, align 4, !tbaa !11
  %451 = getelementptr inbounds %"class.SGTELIB::Surrogate", ptr %49, i32 0, i32 4
  %452 = load i32, ptr %451, align 4, !tbaa !15
  %453 = icmp slt i32 %450, %452
  br i1 %453, label %455, label %454

454:                                              ; preds = %449
  store i32 20, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #9
  br label %494

455:                                              ; preds = %449
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #9
  store i32 0, ptr %48, align 4, !tbaa !11
  br label %456

456:                                              ; preds = %483, %455
  %457 = load i32, ptr %48, align 4, !tbaa !11
  %458 = load i32, ptr %17, align 4, !tbaa !11
  %459 = icmp slt i32 %457, %458
  br i1 %459, label %461, label %460

460:                                              ; preds = %456
  store i32 23, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #9
  br label %490

461:                                              ; preds = %456
  %462 = load ptr, ptr %9, align 8, !tbaa !5
  %463 = load i32, ptr %48, align 4, !tbaa !11
  %464 = load i32, ptr %47, align 4, !tbaa !11
  %465 = invoke noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %462, i32 noundef %463, i32 noundef %464)
          to label %466 unwind label %486

466:                                              ; preds = %461
  store double %465, ptr %39, align 8, !tbaa !60
  %467 = load ptr, ptr %10, align 8, !tbaa !5
  %468 = load i32, ptr %48, align 4, !tbaa !11
  %469 = load i32, ptr %47, align 4, !tbaa !11
  %470 = invoke noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %467, i32 noundef %468, i32 noundef %469)
          to label %471 unwind label %486

471:                                              ; preds = %466
  %472 = load double, ptr %39, align 8, !tbaa !60
  %473 = load double, ptr %39, align 8, !tbaa !60
  %474 = fneg double %472
  %475 = call double @llvm.fmuladd.f64(double %474, double %473, double %470)
  store double %475, ptr %40, align 8, !tbaa !60
  %476 = load ptr, ptr %10, align 8, !tbaa !5
  %477 = load i32, ptr %48, align 4, !tbaa !11
  %478 = load i32, ptr %47, align 4, !tbaa !11
  %479 = load double, ptr %40, align 8, !tbaa !60
  %480 = call double @llvm.fabs.f64(double %479)
  %481 = call double @sqrt(double noundef %480) #9
  invoke void @_ZN7SGTELIB6Matrix3setEiid(ptr noundef nonnull align 8 dereferenceable(56) %476, i32 noundef %477, i32 noundef %478, double noundef %481)
          to label %482 unwind label %486

482:                                              ; preds = %471
  br label %483

483:                                              ; preds = %482
  %484 = load i32, ptr %48, align 4, !tbaa !11
  %485 = add nsw i32 %484, 1
  store i32 %485, ptr %48, align 4, !tbaa !11
  br label %456, !llvm.loop !69

486:                                              ; preds = %471, %466, %461
  %487 = landingpad { ptr, i32 }
          cleanup
  %488 = extractvalue { ptr, i32 } %487, 0
  store ptr %488, ptr %14, align 8
  %489 = extractvalue { ptr, i32 } %487, 1
  store i32 %489, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #9
  br label %554

490:                                              ; preds = %460
  br label %491

491:                                              ; preds = %490
  %492 = load i32, ptr %47, align 4, !tbaa !11
  %493 = add nsw i32 %492, 1
  store i32 %493, ptr %47, align 4, !tbaa !11
  br label %449, !llvm.loop !70

494:                                              ; preds = %454
  br label %495

495:                                              ; preds = %494, %445
  %496 = load i8, ptr %18, align 1, !tbaa !13, !range !58, !noundef !59
  %497 = trunc i8 %496 to i1
  br i1 %497, label %498, label %506

498:                                              ; preds = %495
  %499 = load ptr, ptr %9, align 8, !tbaa !5
  %500 = icmp eq ptr %499, null
  br i1 %500, label %505, label %501

501:                                              ; preds = %498
  %502 = load ptr, ptr %499, align 8, !tbaa !9
  %503 = getelementptr inbounds ptr, ptr %502, i64 1
  %504 = load ptr, ptr %503, align 8
  call void %504(ptr noundef nonnull align 8 dereferenceable(56) %499) #9
  br label %505

505:                                              ; preds = %501, %498
  br label %506

506:                                              ; preds = %505, %495
  %507 = load ptr, ptr %22, align 8, !tbaa !5
  %508 = icmp ne ptr %507, null
  br i1 %508, label %509, label %517

509:                                              ; preds = %506
  %510 = load ptr, ptr %22, align 8, !tbaa !5
  %511 = icmp eq ptr %510, null
  br i1 %511, label %516, label %512

512:                                              ; preds = %509
  %513 = load ptr, ptr %510, align 8, !tbaa !9
  %514 = getelementptr inbounds ptr, ptr %513, i64 1
  %515 = load ptr, ptr %514, align 8
  call void %515(ptr noundef nonnull align 8 dereferenceable(56) %510) #9
  br label %516

516:                                              ; preds = %512, %509
  br label %517

517:                                              ; preds = %516, %506
  %518 = load ptr, ptr %26, align 8, !tbaa !5
  %519 = icmp ne ptr %518, null
  br i1 %519, label %520, label %528

520:                                              ; preds = %517
  %521 = load ptr, ptr %26, align 8, !tbaa !5
  %522 = icmp eq ptr %521, null
  br i1 %522, label %527, label %523

523:                                              ; preds = %520
  %524 = load ptr, ptr %521, align 8, !tbaa !9
  %525 = getelementptr inbounds ptr, ptr %524, i64 1
  %526 = load ptr, ptr %525, align 8
  call void %526(ptr noundef nonnull align 8 dereferenceable(56) %521) #9
  br label %527

527:                                              ; preds = %523, %520
  br label %528

528:                                              ; preds = %527, %517
  %529 = load ptr, ptr %34, align 8, !tbaa !5
  %530 = icmp ne ptr %529, null
  br i1 %530, label %531, label %539

531:                                              ; preds = %528
  %532 = load ptr, ptr %34, align 8, !tbaa !5
  %533 = icmp eq ptr %532, null
  br i1 %533, label %538, label %534

534:                                              ; preds = %531
  %535 = load ptr, ptr %532, align 8, !tbaa !9
  %536 = getelementptr inbounds ptr, ptr %535, i64 1
  %537 = load ptr, ptr %536, align 8
  call void %537(ptr noundef nonnull align 8 dereferenceable(56) %532) #9
  br label %538

538:                                              ; preds = %534, %531
  br label %539

539:                                              ; preds = %538, %528
  %540 = load ptr, ptr %30, align 8, !tbaa !5
  %541 = icmp ne ptr %540, null
  br i1 %541, label %542, label %550

542:                                              ; preds = %539
  %543 = load ptr, ptr %30, align 8, !tbaa !5
  %544 = icmp eq ptr %543, null
  br i1 %544, label %549, label %545

545:                                              ; preds = %542
  %546 = load ptr, ptr %543, align 8, !tbaa !9
  %547 = getelementptr inbounds ptr, ptr %546, i64 1
  %548 = load ptr, ptr %547, align 8
  call void %548(ptr noundef nonnull align 8 dereferenceable(56) %543) #9
  br label %549

549:                                              ; preds = %545, %542
  br label %550

550:                                              ; preds = %549, %539
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  store i32 0, ptr %16, align 4
  br label %551

551:                                              ; preds = %550, %65
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %13) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %13) #9
  %552 = load i32, ptr %16, align 4
  switch i32 %552, label %567 [
    i32 0, label %553
    i32 1, label %553
  ]

553:                                              ; preds = %551, %551
  ret void

554:                                              ; preds = %486, %444
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  br label %555

555:                                              ; preds = %554, %224, %209
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  br label %556

556:                                              ; preds = %555, %196, %181
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  br label %557

557:                                              ; preds = %556, %180, %165
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  br label %558

558:                                              ; preds = %557, %164, %149
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  br label %559

559:                                              ; preds = %558, %103, %88
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #9
  br label %560

560:                                              ; preds = %559, %84
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  br label %561

561:                                              ; preds = %560, %66
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %13) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %13) #9
  br label %562

562:                                              ; preds = %561
  %563 = load ptr, ptr %14, align 8
  %564 = load i32, ptr %15, align 4
  %565 = insertvalue { ptr, i32 } poison, ptr %563, 0
  %566 = insertvalue { ptr, i32 } %565, i32 %564, 1
  resume { ptr, i32 } %566

567:                                              ; preds = %551
  unreachable
}

; Function Attrs: nounwind
declare double @sqrt(double noundef) #4

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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "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 = { 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 #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { 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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!16, !12, i64 332}
!16 = !{!"_ZTSN7SGTELIB9SurrogateE", !6, i64 8, !17, i64 16, !12, i64 328, !12, i64 332, !12, i64 336, !12, i64 340, !12, i64 344, !12, i64 348, !14, i64 352, !6, i64 360, !6, i64 368, !6, i64 376, !6, i64 384, !30, i64 392, !35, i64 416, !21, i64 464, !43, i64 472, !14, i64 984}
!17 = !{!"_ZTSN7SGTELIB20Surrogate_ParametersE", !18, i64 8, !12, i64 12, !19, i64 16, !20, i64 20, !19, i64 24, !21, i64 32, !19, i64 40, !21, i64 48, !19, i64 56, !22, i64 60, !19, i64 64, !23, i64 72, !27, i64 128, !19, i64 132, !28, i64 136, !21, i64 144, !21, i64 152, !21, i64 160, !21, i64 168, !23, i64 176, !19, i64 232, !29, i64 236, !24, i64 240, !24, i64 272, !12, i64 304, !12, i64 308}
!18 = !{!"_ZTSN7SGTELIB7model_tE", !7, i64 0}
!19 = !{!"_ZTSN7SGTELIB14param_status_tE", !7, i64 0}
!20 = !{!"_ZTSN7SGTELIB8kernel_tE", !7, i64 0}
!21 = !{!"double", !7, i64 0}
!22 = !{!"_ZTSN7SGTELIB10distance_tE", !7, i64 0}
!23 = !{!"_ZTSN7SGTELIB6MatrixE", !24, i64 8, !12, i64 40, !12, i64 44, !6, i64 48}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !25, i64 0, !26, i64 8, !7, i64 16}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!26 = !{!"long", !7, i64 0}
!27 = !{!"_ZTSN7SGTELIB8weight_tE", !7, i64 0}
!28 = !{!"_ZTSN7SGTELIB13uncertainty_tE", !7, i64 0}
!29 = !{!"_ZTSN7SGTELIB8metric_tE", !7, i64 0}
!30 = !{!"_ZTSNSt7__cxx114listIiSaIiEEE", !31, i64 0}
!31 = !{!"_ZTSNSt7__cxx1110_List_baseIiSaIiEEE", !32, i64 0}
!32 = !{!"_ZTSNSt7__cxx1110_List_baseIiSaIiEE10_List_implE", !33, i64 0}
!33 = !{!"_ZTSNSt8__detail17_List_node_headerE", !34, i64 0, !26, i64 16}
!34 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!35 = !{!"_ZTSSt3mapIN7SGTELIB8metric_tENS0_6MatrixESt4lessIS1_ESaISt4pairIKS1_S2_EEE", !36, i64 0}
!36 = !{!"_ZTSSt8_Rb_treeIN7SGTELIB8metric_tESt4pairIKS1_NS0_6MatrixEESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE", !37, i64 0}
!37 = !{!"_ZTSNSt8_Rb_treeIN7SGTELIB8metric_tESt4pairIKS1_NS0_6MatrixEESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !38, i64 0, !40, i64 8}
!38 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN7SGTELIB8metric_tEEE", !39, i64 0}
!39 = !{!"_ZTSSt4lessIN7SGTELIB8metric_tEE"}
!40 = !{!"_ZTSSt15_Rb_tree_header", !41, i64 0, !26, i64 32}
!41 = !{!"_ZTSSt18_Rb_tree_node_base", !42, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!42 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!43 = !{!"_ZTSSt14basic_ofstreamIcSt11char_traitsIcEE", !44, i64 0, !45, i64 8}
!44 = !{!"_ZTSSo"}
!45 = !{!"_ZTSSt13basic_filebufIcSt11char_traitsIcEE", !46, i64 0, !7, i64 64, !48, i64 104, !49, i64 120, !50, i64 124, !50, i64 132, !50, i64 140, !6, i64 152, !26, i64 160, !14, i64 168, !14, i64 169, !14, i64 170, !7, i64 171, !6, i64 176, !6, i64 184, !14, i64 192, !6, i64 200, !6, i64 208, !26, i64 216, !6, i64 224, !6, i64 232}
!46 = !{!"_ZTSSt15basic_streambufIcSt11char_traitsIcEE", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !47, i64 56}
!47 = !{!"_ZTSSt6locale", !6, i64 0}
!48 = !{!"_ZTSSt12__basic_fileIcE", !6, i64 0, !14, i64 8}
!49 = !{!"_ZTSSt13_Ios_Openmode", !7, i64 0}
!50 = !{!"_ZTS11__mbstate_t", !12, i64 0, !7, i64 4}
!51 = !{!52, !12, i64 988}
!52 = !{!"_ZTSN7SGTELIB18Surrogate_EnsembleE", !16, i64 0, !12, i64 988, !12, i64 992, !53, i64 1000, !6, i64 1024, !6, i64 1032}
!53 = !{!"_ZTSSt6vectorIPN7SGTELIB9SurrogateESaIS2_EE", !54, i64 0}
!54 = !{!"_ZTSSt12_Vector_baseIPN7SGTELIB9SurrogateESaIS2_EE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseIPN7SGTELIB9SurrogateESaIS2_EE12_Vector_implE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseIPN7SGTELIB9SurrogateESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!57 = !{!52, !6, i64 1024}
!58 = !{i8 0, i8 2}
!59 = !{}
!60 = !{!21, !21, i64 0}
!61 = distinct !{!61, !62}
!62 = !{!"llvm.loop.mustprogress"}
!63 = distinct !{!63, !62}
!64 = !{!16, !6, i64 8}
!65 = distinct !{!65, !62}
!66 = distinct !{!66, !62}
!67 = distinct !{!67, !62}
!68 = distinct !{!68, !62}
!69 = distinct !{!69, !62}
!70 = distinct !{!70, !62}


; 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.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::allocator" = type { i8 }

@.str.15 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [4 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; 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 @_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: 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 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 #3

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7SGTELIB20Surrogate_Parameters10get_weightEv(ptr dead_on_unwind noalias writable sret(%"class.SGTELIB::Matrix") align 8, ptr noundef nonnull align 8 dereferenceable(312)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK7SGTELIB11TrainingSet7get_bboEi(ptr noundef nonnull align 8 dereferenceable(504), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #7

declare void @_ZN7SGTELIB6Matrix3setEiid(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, i32 noundef, double noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #7

; 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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7SGTELIB18Surrogate_Ensemble15predict_privateERKNS_6MatrixEPS1_S4_S4_S4_(ptr noundef nonnull align 8 dereferenceable(1040) %0, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.SGTELIB::Matrix", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator", align 1
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::allocator", align 1
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator", align 1
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %7) #10
  %18 = getelementptr inbounds i8, ptr %0, i64 16
  call void @_ZNK7SGTELIB20Surrogate_Parameters10get_weightEv(ptr dead_on_unwind nonnull writable sret(%"class.SGTELIB::Matrix") align 8 %7, ptr noundef nonnull align 8 dereferenceable(312) %18)
  %19 = icmp ne ptr %3, null
  %20 = icmp ne ptr %4, null
  %or.cond = or i1 %19, %20
  %21 = icmp ne ptr %5, null
  %or.cond3 = or i1 %or.cond, %21
  br i1 %or.cond3, label %28, label %22

22:                                               ; preds = %6
  %23 = load ptr, ptr %0, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %23, i64 32
  %25 = load ptr, ptr %24, align 8
  invoke void %25(ptr noundef nonnull align 8 dereferenceable(1040) %0, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef %2)
          to label %214 unwind label %26

26:                                               ; preds = %22
  %27 = landingpad { ptr, i32 }
          cleanup
  br label %215

28:                                               ; preds = %6
  %29 = call noundef i32 @_ZNK7SGTELIB6Matrix11get_nb_rowsEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %30, label %44

30:                                               ; preds = %28
  %31 = invoke noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #11
          to label %32 unwind label %37

32:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull @.str.16, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %33 unwind label %39

33:                                               ; preds = %32
  %34 = getelementptr inbounds i8, ptr %0, i64 332
  %35 = load i32, ptr %34, align 4, !tbaa !8
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %31, ptr noundef nonnull align 8 dereferenceable(32) %8, i32 noundef %29, i32 noundef %35)
          to label %36 unwind label %41

36:                                               ; preds = %33
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #10
  br label %44

37:                                               ; preds = %50, %48, %46, %44, %30
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %215

39:                                               ; preds = %32
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %43

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

43:                                               ; preds = %41, %39
  %.pn = phi { ptr, i32 } [ %42, %41 ], [ %40, %39 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #10
  call void @_ZdlPvm(ptr noundef nonnull %31, i64 noundef 56) #12
  br label %215

44:                                               ; preds = %36, %28
  %.0144 = phi ptr [ %2, %28 ], [ %31, %36 ]
  invoke void @_ZN7SGTELIB6Matrix4fillEd(ptr noundef nonnull align 8 dereferenceable(56) %.0144, double noundef 0.000000e+00)
          to label %45 unwind label %37

45:                                               ; preds = %44
  br i1 %19, label %46, label %47

46:                                               ; preds = %45
  invoke void @_ZN7SGTELIB6Matrix4fillEd(ptr noundef nonnull align 8 dereferenceable(56) %3, double noundef 0.000000e+00)
          to label %47 unwind label %37

47:                                               ; preds = %46, %45
  br i1 %20, label %48, label %49

48:                                               ; preds = %47
  invoke void @_ZN7SGTELIB6Matrix4fillEd(ptr noundef nonnull align 8 dereferenceable(56) %4, double noundef 0.000000e+00)
          to label %49 unwind label %37

49:                                               ; preds = %48, %47
  br i1 %21, label %50, label %51

50:                                               ; preds = %49
  invoke void @_ZN7SGTELIB6Matrix4fillEd(ptr noundef nonnull align 8 dereferenceable(56) %5, double noundef 0.000000e+00)
          to label %51 unwind label %37

51:                                               ; preds = %50, %49
  %52 = invoke noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #11
          to label %53 unwind label %69

53:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @.str.15, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %54 unwind label %71

54:                                               ; preds = %53
  %55 = getelementptr inbounds i8, ptr %0, i64 332
  %56 = load i32, ptr %55, align 4, !tbaa !8
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %52, ptr noundef nonnull align 8 dereferenceable(32) %10, i32 noundef %29, i32 noundef %56)
          to label %57 unwind label %73

57:                                               ; preds = %54
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #10
  %58 = invoke noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #11
          to label %59 unwind label %76

59:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull @.str.17, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %60 unwind label %78

60:                                               ; preds = %59
  %61 = load i32, ptr %55, align 4, !tbaa !8
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %58, ptr noundef nonnull align 8 dereferenceable(32) %12, i32 noundef %29, i32 noundef %61)
          to label %62 unwind label %80

62:                                               ; preds = %60
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #10
  br i1 %21, label %63, label %90

63:                                               ; preds = %62
  %64 = invoke noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #11
          to label %65 unwind label %83

65:                                               ; preds = %63
  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.18, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %66 unwind label %85

66:                                               ; preds = %65
  %67 = load i32, ptr %55, align 4, !tbaa !8
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %64, ptr noundef nonnull align 8 dereferenceable(32) %14, i32 noundef %29, i32 noundef %67)
          to label %68 unwind label %87

68:                                               ; preds = %66
  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
  br label %90

69:                                               ; preds = %51
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %215

71:                                               ; preds = %53
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %75

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

75:                                               ; preds = %73, %71
  %.pn174 = phi { ptr, i32 } [ %74, %73 ], [ %72, %71 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #10
  call void @_ZdlPvm(ptr noundef nonnull %52, i64 noundef 56) #12
  br label %215

76:                                               ; preds = %57
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %215

78:                                               ; preds = %59
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %82

80:                                               ; preds = %60
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #10
  br label %82

82:                                               ; preds = %80, %78
  %.pn176 = phi { ptr, i32 } [ %81, %80 ], [ %79, %78 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #10
  call void @_ZdlPvm(ptr noundef nonnull %58, i64 noundef 56) #12
  br label %215

83:                                               ; preds = %63
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %215

85:                                               ; preds = %65
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %89

87:                                               ; preds = %66
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #10
  br label %89

89:                                               ; preds = %87, %85
  %.pn178 = phi { ptr, i32 } [ %88, %87 ], [ %86, %85 ]
  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 @_ZdlPvm(ptr noundef nonnull %64, i64 noundef 56) #12
  br label %215

90:                                               ; preds = %62, %68
  %.0146 = phi ptr [ %64, %68 ], [ null, %62 ]
  br i1 %20, label %91, label %104

91:                                               ; preds = %90
  %92 = invoke noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #11
          to label %93 unwind label %97

93:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %94 unwind label %99

94:                                               ; preds = %93
  %95 = load i32, ptr %55, align 4, !tbaa !8
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %92, ptr noundef nonnull align 8 dereferenceable(32) %16, i32 noundef %29, i32 noundef %95)
          to label %96 unwind label %101

96:                                               ; preds = %94
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #10
  br label %104

97:                                               ; preds = %91
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %215

99:                                               ; preds = %93
  %100 = landingpad { ptr, i32 }
          cleanup
  br label %103

101:                                              ; preds = %94
  %102 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  br label %103

103:                                              ; preds = %101, %99
  %.pn180 = phi { ptr, i32 } [ %102, %101 ], [ %100, %99 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #10
  call void @_ZdlPvm(ptr noundef nonnull %92, i64 noundef 56) #12
  br label %215

104:                                              ; preds = %90, %96
  %.0145 = phi ptr [ %92, %96 ], [ null, %90 ]
  %105 = getelementptr inbounds i8, ptr %0, i64 988
  %106 = load i32, ptr %105, align 4, !tbaa !48
  %107 = icmp sgt i32 %106, 0
  br i1 %107, label %.lr.ph219, label %._crit_edge220

.lr.ph219:                                        ; preds = %104
  %108 = getelementptr inbounds i8, ptr %0, i64 1024
  %109 = getelementptr inbounds i8, ptr %0, i64 1000
  %110 = icmp sgt i32 %29, 0
  %111 = getelementptr inbounds i8, ptr %0, i64 8
  %112 = icmp slt i32 %29, 1
  %brmerge.not = and i1 %110, %19
  %brmerge234.not = and i1 %110, %21
  br label %128

._crit_edge220:                                   ; preds = %.loopexit203, %104
  %113 = load i32, ptr %55, align 4
  %114 = icmp sgt i32 %113, 0
  %or.cond226 = select i1 %19, i1 %114, i1 false
  %115 = icmp sgt i32 %29, 0
  %or.cond244 = and i1 %or.cond226, %115
  br i1 %or.cond244, label %.preheader.us, label %.loopexit

.preheader.us:                                    ; preds = %._crit_edge220, %._crit_edge223.us
  %.0137224.us = phi i32 [ %124, %._crit_edge223.us ], [ 0, %._crit_edge220 ]
  br label %116

116:                                              ; preds = %.preheader.us, %122
  %.0221.us = phi i32 [ 0, %.preheader.us ], [ %123, %122 ]
  %117 = call noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %.0144, i32 noundef %.0221.us, i32 noundef %.0137224.us)
  %118 = call noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %3, i32 noundef %.0221.us, i32 noundef %.0137224.us)
  %119 = fneg double %117
  %120 = call double @llvm.fmuladd.f64(double %119, double %117, double %118)
  %121 = call double @llvm.fabs.f64(double %120)
  %sqrt.us = call double @llvm.sqrt.f64(double %121)
  invoke void @_ZN7SGTELIB6Matrix3setEiid(ptr noundef nonnull align 8 dereferenceable(56) %3, i32 noundef %.0221.us, i32 noundef %.0137224.us, double noundef %sqrt.us)
          to label %122 unwind label %.split.us

122:                                              ; preds = %116
  %123 = add nuw nsw i32 %.0221.us, 1
  %exitcond242.not = icmp eq i32 %123, %29
  br i1 %exitcond242.not, label %._crit_edge223.us, label %116, !llvm.loop !54

._crit_edge223.us:                                ; preds = %122
  %124 = add nuw nsw i32 %.0137224.us, 1
  %125 = load i32, ptr %55, align 4, !tbaa !8
  %126 = icmp slt i32 %124, %125
  br i1 %126, label %.preheader.us, label %.loopexit, !llvm.loop !56

.split.us:                                        ; preds = %116
  %127 = landingpad { ptr, i32 }
          cleanup
  br label %215

128:                                              ; preds = %.lr.ph219, %.loopexit203
  %indvars.iv = phi i64 [ 0, %.lr.ph219 ], [ %indvars.iv.next, %.loopexit203 ]
  %129 = load ptr, ptr %108, align 8, !tbaa !57
  %130 = getelementptr inbounds i8, ptr %129, i64 %indvars.iv
  %131 = load i8, ptr %130, align 1, !tbaa !58, !range !59, !noundef !60
  %132 = trunc nuw i8 %131 to i1
  br i1 %132, label %133, label %.loopexit203

133:                                              ; preds = %128
  %134 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7SGTELIB9SurrogateESaIS2_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %109, i64 noundef %indvars.iv)
          to label %135 unwind label %143

135:                                              ; preds = %133
  %136 = load ptr, ptr %134, align 8, !tbaa !61
  %137 = load ptr, ptr %136, align 8, !tbaa !5
  %138 = getelementptr inbounds i8, ptr %137, i64 24
  %139 = load ptr, ptr %138, align 8
  invoke void %139(ptr noundef nonnull align 8 dereferenceable(985) %136, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull %52, ptr noundef nonnull %58, ptr noundef %.0145, ptr noundef %.0146)
          to label %.preheader202 unwind label %143

.preheader202:                                    ; preds = %135
  %140 = load i32, ptr %55, align 4, !tbaa !8
  %141 = icmp sgt i32 %140, 0
  br i1 %141, label %.lr.ph215.preheader, label %.loopexit203

.lr.ph215.preheader:                              ; preds = %.preheader202
  %142 = trunc nuw nsw i64 %indvars.iv to i32
  br label %.lr.ph215

143:                                              ; preds = %135, %133
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %215

.lr.ph215:                                        ; preds = %.lr.ph215.preheader, %.loopexit196
  %.0142211 = phi i32 [ %188, %.loopexit196 ], [ 0, %.lr.ph215.preheader ]
  %145 = call noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %7, i32 noundef %142, i32 noundef %.0142211)
  %146 = load i32, ptr %105, align 4, !tbaa !48
  %147 = sitofp i32 %146 to double
  %148 = fdiv double 1.000000e-13, %147
  %149 = fcmp ogt double %145, %148
  br i1 %149, label %.preheader201, label %.loopexit196

.preheader201:                                    ; preds = %.lr.ph215
  br i1 %110, label %.lr.ph, label %.loopexit200

._crit_edge:                                      ; preds = %155
  br i1 %brmerge.not, label %.lr.ph206, label %.loopexit200

150:                                              ; preds = %169
  %151 = landingpad { ptr, i32 }
          cleanup
  br label %215

.lr.ph:                                           ; preds = %.preheader201, %155
  %.0141204 = phi i32 [ %156, %155 ], [ 0, %.preheader201 ]
  %152 = call noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %52, i32 noundef %.0141204, i32 noundef %.0142211)
  %153 = call noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %.0144, i32 noundef %.0141204, i32 noundef %.0142211)
  %154 = call double @llvm.fmuladd.f64(double %145, double %152, double %153)
  invoke void @_ZN7SGTELIB6Matrix3setEiid(ptr noundef nonnull align 8 dereferenceable(56) %.0144, i32 noundef %.0141204, i32 noundef %.0142211, double noundef %154)
          to label %155 unwind label %157

155:                                              ; preds = %.lr.ph
  %156 = add nuw nsw i32 %.0141204, 1
  %exitcond.not = icmp eq i32 %156, %29
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !62

157:                                              ; preds = %.lr.ph
  %158 = landingpad { ptr, i32 }
          cleanup
  br label %215

.lr.ph206:                                        ; preds = %._crit_edge, %165
  %.0140205 = phi i32 [ %166, %165 ], [ 0, %._crit_edge ]
  %159 = call noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %52, i32 noundef %.0140205, i32 noundef %.0142211)
  %160 = call noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %58, i32 noundef %.0140205, i32 noundef %.0142211)
  %161 = call noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %3, i32 noundef %.0140205, i32 noundef %.0142211)
  %162 = fmul double %159, %159
  %163 = call double @llvm.fmuladd.f64(double %160, double %160, double %162)
  %164 = call double @llvm.fmuladd.f64(double %145, double %163, double %161)
  invoke void @_ZN7SGTELIB6Matrix3setEiid(ptr noundef nonnull align 8 dereferenceable(56) %3, i32 noundef %.0140205, i32 noundef %.0142211, double noundef %164)
          to label %165 unwind label %167

165:                                              ; preds = %.lr.ph206
  %166 = add nuw nsw i32 %.0140205, 1
  %exitcond238.not = icmp eq i32 %166, %29
  br i1 %exitcond238.not, label %.loopexit200, label %.lr.ph206, !llvm.loop !63

167:                                              ; preds = %.lr.ph206
  %168 = landingpad { ptr, i32 }
          cleanup
  br label %215

.loopexit200:                                     ; preds = %165, %.preheader201, %._crit_edge
  br i1 %20, label %169, label %.loopexit198

169:                                              ; preds = %.loopexit200
  %170 = load ptr, ptr %111, align 8, !tbaa !64
  %171 = invoke noundef i32 @_ZNK7SGTELIB11TrainingSet7get_bboEi(ptr noundef nonnull align 8 dereferenceable(504) %170, i32 noundef %.0142211)
          to label %172 unwind label %150

172:                                              ; preds = %169
  %173 = icmp ne i32 %171, 0
  %brmerge231 = or i1 %173, %112
  br i1 %brmerge231, label %.loopexit198, label %.lr.ph208

.lr.ph208:                                        ; preds = %172, %177
  %.0139207 = phi i32 [ %178, %177 ], [ 0, %172 ]
  %174 = call noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %4, i32 noundef %.0139207, i32 noundef %.0142211)
  %175 = call noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %.0145, i32 noundef %.0139207, i32 noundef %.0142211)
  %176 = call double @llvm.fmuladd.f64(double %145, double %175, double %174)
  invoke void @_ZN7SGTELIB6Matrix3setEiid(ptr noundef nonnull align 8 dereferenceable(56) %4, i32 noundef %.0139207, i32 noundef %.0142211, double noundef %176)
          to label %177 unwind label %179

177:                                              ; preds = %.lr.ph208
  %178 = add nuw nsw i32 %.0139207, 1
  %exitcond239.not = icmp eq i32 %178, %29
  br i1 %exitcond239.not, label %.loopexit198, label %.lr.ph208, !llvm.loop !65

179:                                              ; preds = %.lr.ph208
  %180 = landingpad { ptr, i32 }
          cleanup
  br label %215

.loopexit198:                                     ; preds = %177, %172, %.loopexit200
  br i1 %brmerge234.not, label %.lr.ph210, label %.loopexit196

.lr.ph210:                                        ; preds = %.loopexit198, %184
  %.0138209 = phi i32 [ %185, %184 ], [ 0, %.loopexit198 ]
  %181 = call noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %5, i32 noundef %.0138209, i32 noundef %.0142211)
  %182 = call noundef double @_ZNK7SGTELIB6Matrix3getEii(ptr noundef nonnull align 8 dereferenceable(56) %.0146, i32 noundef %.0138209, i32 noundef %.0142211)
  %183 = call double @llvm.fmuladd.f64(double %145, double %182, double %181)
  invoke void @_ZN7SGTELIB6Matrix3setEiid(ptr noundef nonnull align 8 dereferenceable(56) %5, i32 noundef %.0138209, i32 noundef %.0142211, double noundef %183)
          to label %184 unwind label %186

184:                                              ; preds = %.lr.ph210
  %185 = add nuw nsw i32 %.0138209, 1
  %exitcond240.not = icmp eq i32 %185, %29
  br i1 %exitcond240.not, label %.loopexit196, label %.lr.ph210, !llvm.loop !66

186:                                              ; preds = %.lr.ph210
  %187 = landingpad { ptr, i32 }
          cleanup
  br label %215

.loopexit196:                                     ; preds = %184, %.loopexit198, %.lr.ph215
  %188 = add nuw nsw i32 %.0142211, 1
  %189 = load i32, ptr %55, align 4, !tbaa !8
  %190 = icmp slt i32 %188, %189
  br i1 %190, label %.lr.ph215, label %.loopexit203, !llvm.loop !67

.loopexit203:                                     ; preds = %.loopexit196, %.preheader202, %128
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %191 = load i32, ptr %105, align 4, !tbaa !48
  %192 = sext i32 %191 to i64
  %193 = icmp slt i64 %indvars.iv.next, %192
  br i1 %193, label %128, label %._crit_edge220, !llvm.loop !68

.loopexit:                                        ; preds = %._crit_edge223.us, %._crit_edge220
  br i1 %.not, label %194, label %198

194:                                              ; preds = %.loopexit
  %195 = load ptr, ptr %.0144, align 8, !tbaa !5
  %196 = getelementptr inbounds i8, ptr %195, i64 8
  %197 = load ptr, ptr %196, align 8
  call void %197(ptr noundef nonnull align 8 dereferenceable(56) %.0144) #10
  br label %198

198:                                              ; preds = %194, %.loopexit
  %199 = load ptr, ptr %52, align 8, !tbaa !5
  %200 = getelementptr inbounds i8, ptr %199, i64 8
  %201 = load ptr, ptr %200, align 8
  call void %201(ptr noundef nonnull align 8 dereferenceable(56) %52) #10
  %202 = load ptr, ptr %58, align 8, !tbaa !5
  %203 = getelementptr inbounds i8, ptr %202, i64 8
  %204 = load ptr, ptr %203, align 8
  call void %204(ptr noundef nonnull align 8 dereferenceable(56) %58) #10
  %.not182 = icmp eq ptr %.0145, null
  br i1 %.not182, label %209, label %205

205:                                              ; preds = %198
  %206 = load ptr, ptr %.0145, align 8, !tbaa !5
  %207 = getelementptr inbounds i8, ptr %206, i64 8
  %208 = load ptr, ptr %207, align 8
  call void %208(ptr noundef nonnull align 8 dereferenceable(56) %.0145) #10
  br label %209

209:                                              ; preds = %205, %198
  %.not183 = icmp eq ptr %.0146, null
  br i1 %.not183, label %214, label %210

210:                                              ; preds = %209
  %211 = load ptr, ptr %.0146, align 8, !tbaa !5
  %212 = getelementptr inbounds i8, ptr %211, i64 8
  %213 = load ptr, ptr %212, align 8
  call void %213(ptr noundef nonnull align 8 dereferenceable(56) %.0146) #10
  br label %214

214:                                              ; preds = %209, %210, %22
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #10
  ret void

215:                                              ; preds = %37, %43, %76, %82, %97, %103, %143, %186, %179, %167, %157, %150, %.split.us, %89, %83, %75, %69, %26
  %.pn184.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %27, %26 ], [ %38, %37 ], [ %.pn, %43 ], [ %.pn174, %75 ], [ %70, %69 ], [ %.pn176, %82 ], [ %77, %76 ], [ %.pn178, %89 ], [ %84, %83 ], [ %.pn180, %103 ], [ %98, %97 ], [ %127, %.split.us ], [ %144, %143 ], [ %158, %157 ], [ %168, %167 ], [ %180, %179 ], [ %187, %186 ], [ %151, %150 ]
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #10
  resume { ptr, i32 } %.pn184.pn.pn.pn.pn.pn.pn.pn.pn
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.sqrt.f64(double) #9

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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "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 = { 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 #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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !14, i64 332}
!9 = !{!"_ZTSN7SGTELIB9SurrogateE", !10, i64 8, !12, i64 16, !14, i64 328, !14, i64 332, !14, i64 336, !14, i64 340, !14, i64 344, !14, i64 348, !26, i64 352, !10, i64 360, !10, i64 368, !10, i64 376, !10, i64 384, !27, i64 392, !32, i64 416, !17, i64 464, !40, i64 472, !26, i64 984}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!"_ZTSN7SGTELIB20Surrogate_ParametersE", !13, i64 8, !14, i64 12, !15, i64 16, !16, i64 20, !15, i64 24, !17, i64 32, !15, i64 40, !17, i64 48, !15, i64 56, !18, i64 60, !15, i64 64, !19, i64 72, !23, i64 128, !15, i64 132, !24, i64 136, !17, i64 144, !17, i64 152, !17, i64 160, !17, i64 168, !19, i64 176, !15, i64 232, !25, i64 236, !20, i64 240, !20, i64 272, !14, i64 304, !14, i64 308}
!13 = !{!"_ZTSN7SGTELIB7model_tE", !11, i64 0}
!14 = !{!"int", !11, i64 0}
!15 = !{!"_ZTSN7SGTELIB14param_status_tE", !11, i64 0}
!16 = !{!"_ZTSN7SGTELIB8kernel_tE", !11, i64 0}
!17 = !{!"double", !11, i64 0}
!18 = !{!"_ZTSN7SGTELIB10distance_tE", !11, i64 0}
!19 = !{!"_ZTSN7SGTELIB6MatrixE", !20, i64 8, !14, i64 40, !14, i64 44, !10, i64 48}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !21, i64 0, !22, i64 8, !11, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !10, i64 0}
!22 = !{!"long", !11, i64 0}
!23 = !{!"_ZTSN7SGTELIB8weight_tE", !11, i64 0}
!24 = !{!"_ZTSN7SGTELIB13uncertainty_tE", !11, i64 0}
!25 = !{!"_ZTSN7SGTELIB8metric_tE", !11, i64 0}
!26 = !{!"bool", !11, i64 0}
!27 = !{!"_ZTSNSt7__cxx114listIiSaIiEEE", !28, i64 0}
!28 = !{!"_ZTSNSt7__cxx1110_List_baseIiSaIiEEE", !29, i64 0}
!29 = !{!"_ZTSNSt7__cxx1110_List_baseIiSaIiEE10_List_implE", !30, i64 0}
!30 = !{!"_ZTSNSt8__detail17_List_node_headerE", !31, i64 0, !22, i64 16}
!31 = !{!"_ZTSNSt8__detail15_List_node_baseE", !10, i64 0, !10, i64 8}
!32 = !{!"_ZTSSt3mapIN7SGTELIB8metric_tENS0_6MatrixESt4lessIS1_ESaISt4pairIKS1_S2_EEE", !33, i64 0}
!33 = !{!"_ZTSSt8_Rb_treeIN7SGTELIB8metric_tESt4pairIKS1_NS0_6MatrixEESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE", !34, i64 0}
!34 = !{!"_ZTSNSt8_Rb_treeIN7SGTELIB8metric_tESt4pairIKS1_NS0_6MatrixEESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !35, i64 0, !37, i64 8}
!35 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN7SGTELIB8metric_tEEE", !36, i64 0}
!36 = !{!"_ZTSSt4lessIN7SGTELIB8metric_tEE"}
!37 = !{!"_ZTSSt15_Rb_tree_header", !38, i64 0, !22, i64 32}
!38 = !{!"_ZTSSt18_Rb_tree_node_base", !39, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!39 = !{!"_ZTSSt14_Rb_tree_color", !11, i64 0}
!40 = !{!"_ZTSSt14basic_ofstreamIcSt11char_traitsIcEE", !41, i64 0, !42, i64 8}
!41 = !{!"_ZTSSo"}
!42 = !{!"_ZTSSt13basic_filebufIcSt11char_traitsIcEE", !43, i64 0, !11, i64 64, !45, i64 104, !46, i64 120, !47, i64 124, !47, i64 132, !47, i64 140, !10, i64 152, !22, i64 160, !26, i64 168, !26, i64 169, !26, i64 170, !11, i64 171, !10, i64 176, !10, i64 184, !26, i64 192, !10, i64 200, !10, i64 208, !22, i64 216, !10, i64 224, !10, i64 232}
!43 = !{!"_ZTSSt15basic_streambufIcSt11char_traitsIcEE", !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !44, i64 56}
!44 = !{!"_ZTSSt6locale", !10, i64 0}
!45 = !{!"_ZTSSt12__basic_fileIcE", !10, i64 0, !26, i64 8}
!46 = !{!"_ZTSSt13_Ios_Openmode", !11, i64 0}
!47 = !{!"_ZTS11__mbstate_t", !14, i64 0, !11, i64 4}
!48 = !{!49, !14, i64 988}
!49 = !{!"_ZTSN7SGTELIB18Surrogate_EnsembleE", !9, i64 0, !14, i64 988, !14, i64 992, !50, i64 1000, !10, i64 1024, !10, i64 1032}
!50 = !{!"_ZTSSt6vectorIPN7SGTELIB9SurrogateESaIS2_EE", !51, i64 0}
!51 = !{!"_ZTSSt12_Vector_baseIPN7SGTELIB9SurrogateESaIS2_EE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIPN7SGTELIB9SurrogateESaIS2_EE12_Vector_implE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIPN7SGTELIB9SurrogateESaIS2_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!54 = distinct !{!54, !55}
!55 = !{!"llvm.loop.mustprogress"}
!56 = distinct !{!56, !55}
!57 = !{!49, !10, i64 1024}
!58 = !{!26, !26, i64 0}
!59 = !{i8 0, i8 2}
!60 = !{}
!61 = !{!10, !10, i64 0}
!62 = distinct !{!62, !55}
!63 = distinct !{!63, !55}
!64 = !{!9, !10, i64 8}
!65 = distinct !{!65, !55}
!66 = distinct !{!66, !55}
!67 = distinct !{!67, !55}
!68 = distinct !{!68, !55}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass