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

; 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_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 }

@.str.3 = external hidden unnamed_addr constant [99 x i8], align 1
@_ZTIN7SGTELIB9ExceptionE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.8 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [5 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7SGTELIB20Surrogate_Parameters12set_defaultsEv(ptr noundef nonnull align 8 dereferenceable(312) %0) #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.SGTELIB::Matrix", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::allocator", align 1
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.SGTELIB::Matrix", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca i1, align 1
  %16 = alloca %"class.SGTELIB::Matrix", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator", align 1
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator", align 1
  %25 = alloca i1, align 1
  store ptr %0, ptr %2, align 8, !tbaa !5
  %26 = load ptr, ptr %2, align 8
  %27 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 25
  store i32 100, ptr %27, align 8, !tbaa !9
  %28 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 22
  store i32 9, ptr %28, align 4, !tbaa !24
  %29 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 10
  store i32 0, ptr %29, align 4, !tbaa !25
  %30 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 11
  store i32 0, ptr %30, align 8, !tbaa !26
  %31 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 21
  store i32 0, ptr %31, align 8, !tbaa !27
  %32 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 14
  store i32 2, ptr %32, align 4, !tbaa !28
  %33 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 8
  store double 1.000000e-03, ptr %33, align 8, !tbaa !29
  %34 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 6
  store double 1.000000e+00, ptr %34, align 8, !tbaa !30
  %35 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 4
  store i32 0, ptr %35, align 4, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 56, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef @.str.99, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %36 unwind label %48

36:                                               ; preds = %1
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef 0, i32 noundef 0)
          to label %37 unwind label %52

37:                                               ; preds = %36
  %38 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 20
  %39 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %38, ptr noundef nonnull align 8 dereferenceable(56) %3)
          to label %40 unwind label %56

40:                                               ; preds = %37
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 56, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %41 unwind label %62

41:                                               ; preds = %40
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %8, ptr noundef nonnull align 8 dereferenceable(32) %9, i32 noundef 0, i32 noundef 0)
          to label %42 unwind label %66

42:                                               ; preds = %41
  %43 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 12
  %44 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %43, ptr noundef nonnull align 8 dereferenceable(56) %8)
          to label %45 unwind label %70

45:                                               ; preds = %42
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr %8) #5
  %46 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 1
  %47 = load i32, ptr %46, align 8, !tbaa !32
  switch i32 %47, label %177 [
    i32 0, label %76
    i32 1, label %76
    i32 9, label %76
    i32 8, label %98
    i32 3, label %125
    i32 4, label %125
    i32 5, label %125
    i32 6, label %130
    i32 10, label %137
    i32 11, label %148
    i32 12, label %161
    i32 13, label %166
    i32 7, label %199
  ]

48:                                               ; preds = %1
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %6, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %7, align 4
  br label %61

52:                                               ; preds = %36
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %6, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %7, align 4
  br label %60

56:                                               ; preds = %37
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %6, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %7, align 4
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #5
  br label %60

60:                                               ; preds = %56, %52
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  br label %61

61:                                               ; preds = %60, %48
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr %3) #5
  br label %202

62:                                               ; preds = %40
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %6, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %7, align 4
  br label %75

66:                                               ; preds = %41
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %6, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %7, align 4
  br label %74

70:                                               ; preds = %42
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %6, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %7, align 4
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #5
  br label %74

74:                                               ; preds = %70, %66
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  br label %75

75:                                               ; preds = %74, %62
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr %8) #5
  br label %202

76:                                               ; preds = %45, %45, %45
  store i1 true, ptr %15, align 1
  %77 = call ptr @__cxa_allocate_exception(i64 112) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %78 unwind label %81

78:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.68, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %79 unwind label %85

79:                                               ; preds = %78
  invoke void @_ZN7SGTELIB9ExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiS8_(ptr noundef nonnull align 8 dereferenceable(112) %77, ptr noundef nonnull align 8 dereferenceable(32) %11, i32 noundef 657, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %80 unwind label %89

80:                                               ; preds = %79
  store i1 false, ptr %15, align 1
  invoke void @__cxa_throw(ptr %77, ptr @_ZTIN7SGTELIB9ExceptionE, ptr @_ZN7SGTELIB9ExceptionD2Ev) #6
          to label %207 unwind label %89

81:                                               ; preds = %76
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %6, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %7, align 4
  br label %94

85:                                               ; preds = %78
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %6, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %7, align 4
  br label %93

89:                                               ; preds = %80, %79
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %6, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  br label %93

93:                                               ; preds = %89, %85
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  br label %94

94:                                               ; preds = %93, %81
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #5
  %95 = load i1, ptr %15, align 1
  br i1 %95, label %96, label %97

96:                                               ; preds = %94
  call void @__cxa_free_exception(ptr %77) #5
  br label %97

97:                                               ; preds = %96, %94
  br label %202

98:                                               ; preds = %45
  %99 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 10
  store i32 0, ptr %99, align 4, !tbaa !25
  %100 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 11
  store i32 0, ptr %100, align 8, !tbaa !26
  %101 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 8
  store double 0x3C9CD2B297D889BC, ptr %101, align 8, !tbaa !29
  %102 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 9
  store i32 1, ptr %102, align 8, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 56, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef @.str.99, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %103 unwind label %111

103:                                              ; preds = %98
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %16, ptr noundef nonnull align 8 dereferenceable(32) %17, i32 noundef 1, i32 noundef 2)
          to label %104 unwind label %115

104:                                              ; preds = %103
  %105 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 20
  %106 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %105, ptr noundef nonnull align 8 dereferenceable(56) %16)
          to label %107 unwind label %119

107:                                              ; preds = %104
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %16) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  store double 2.000000e+00, ptr %19, align 8, !tbaa !34
  %108 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 20
  call void @_ZN7SGTELIB6Matrix3setEiid(ptr noundef nonnull align 8 dereferenceable(56) %108, i32 noundef 0, i32 noundef 0, double noundef 2.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  store double 1.000000e+00, ptr %20, align 8, !tbaa !34
  %109 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 20
  call void @_ZN7SGTELIB6Matrix3setEiid(ptr noundef nonnull align 8 dereferenceable(56) %109, i32 noundef 0, i32 noundef 1, double noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  %110 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 21
  store i32 1, ptr %110, align 8, !tbaa !27
  br label %199

111:                                              ; preds = %98
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %6, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %7, align 4
  br label %124

115:                                              ; preds = %103
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %6, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %7, align 4
  br label %123

119:                                              ; preds = %104
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %6, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %7, align 4
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %16) #5
  br label %123

123:                                              ; preds = %119, %115
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  br label %124

124:                                              ; preds = %123, %111
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr %16) #5
  br label %202

125:                                              ; preds = %45, %45, %45
  %126 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 2
  store i32 2, ptr %126, align 4, !tbaa !35
  %127 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 3
  store i32 0, ptr %127, align 8, !tbaa !36
  %128 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 8
  store double 1.000000e-03, ptr %128, align 8, !tbaa !29
  %129 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 9
  store i32 0, ptr %129, align 8, !tbaa !33
  br label %199

130:                                              ; preds = %45
  %131 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 4
  store i32 0, ptr %131, align 4, !tbaa !31
  %132 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 5
  store i32 0, ptr %132, align 8, !tbaa !37
  %133 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 6
  store double 5.000000e+00, ptr %133, align 8, !tbaa !30
  %134 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 7
  store i32 1, ptr %134, align 8, !tbaa !38
  %135 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 10
  store i32 0, ptr %135, align 4, !tbaa !25
  %136 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 11
  store i32 0, ptr %136, align 8, !tbaa !26
  br label %199

137:                                              ; preds = %45
  %138 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 4
  store i32 9, ptr %138, align 4, !tbaa !31
  %139 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 5
  store i32 0, ptr %139, align 8, !tbaa !37
  %140 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 6
  store double 1.000000e+00, ptr %140, align 8, !tbaa !30
  %141 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 7
  store i32 1, ptr %141, align 8, !tbaa !38
  %142 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 10
  store i32 0, ptr %142, align 4, !tbaa !25
  %143 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 11
  store i32 0, ptr %143, align 8, !tbaa !26
  %144 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 8
  store double 1.000000e-03, ptr %144, align 8, !tbaa !29
  %145 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 9
  store i32 0, ptr %145, align 8, !tbaa !33
  %146 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 23
  %147 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %146, ptr noundef @.str.100)
  br label %199

148:                                              ; preds = %45
  %149 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 6
  store double 1.000000e+00, ptr %149, align 8, !tbaa !30
  %150 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 7
  store i32 1, ptr %150, align 8, !tbaa !38
  %151 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 4
  store i32 0, ptr %151, align 4, !tbaa !31
  %152 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 5
  store i32 0, ptr %152, align 8, !tbaa !37
  %153 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 10
  store i32 0, ptr %153, align 4, !tbaa !25
  %154 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 11
  store i32 0, ptr %154, align 8, !tbaa !26
  %155 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 2
  store i32 2, ptr %155, align 4, !tbaa !35
  %156 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 3
  store i32 0, ptr %156, align 8, !tbaa !36
  %157 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 8
  store double 1.000000e-03, ptr %157, align 8, !tbaa !29
  %158 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 9
  store i32 0, ptr %158, align 8, !tbaa !33
  %159 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 23
  %160 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %159, ptr noundef @.str.76)
  br label %199

161:                                              ; preds = %45
  %162 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 13
  store i32 0, ptr %162, align 8, !tbaa !39
  %163 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 14
  store i32 2, ptr %163, align 4, !tbaa !28
  %164 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 23
  %165 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %164, ptr noundef @.str.101)
  br label %199

166:                                              ; preds = %45
  %167 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 22
  store i32 7, ptr %167, align 4, !tbaa !24
  %168 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 13
  store i32 2, ptr %168, align 8, !tbaa !39
  %169 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 14
  store i32 2, ptr %169, align 4, !tbaa !28
  %170 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 15
  store i32 0, ptr %170, align 8, !tbaa !40
  %171 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 16
  store double 1.000000e-03, ptr %171, align 8, !tbaa !41
  %172 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 17
  store double 1.000000e+01, ptr %172, align 8, !tbaa !42
  %173 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 18
  store double 3.000000e+00, ptr %173, align 8, !tbaa !43
  %174 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 19
  store double 1.000000e-01, ptr %174, align 8, !tbaa !44
  %175 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 23
  %176 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %175, ptr noundef @.str.101)
  br label %199

177:                                              ; preds = %45
  store i1 true, ptr %25, align 1
  %178 = call ptr @__cxa_allocate_exception(i64 112) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %179 unwind label %182

179:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef @.str.84, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %180 unwind label %186

180:                                              ; preds = %179
  invoke void @_ZN7SGTELIB9ExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiS8_(ptr noundef nonnull align 8 dereferenceable(112) %178, ptr noundef nonnull align 8 dereferenceable(32) %21, i32 noundef 741, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %181 unwind label %190

181:                                              ; preds = %180
  store i1 false, ptr %25, align 1
  invoke void @__cxa_throw(ptr %178, ptr @_ZTIN7SGTELIB9ExceptionE, ptr @_ZN7SGTELIB9ExceptionD2Ev) #6
          to label %207 unwind label %190

182:                                              ; preds = %177
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %6, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %7, align 4
  br label %195

186:                                              ; preds = %179
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %6, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %7, align 4
  br label %194

190:                                              ; preds = %181, %180
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %6, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #5
  br label %194

194:                                              ; preds = %190, %186
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #5
  br label %195

195:                                              ; preds = %194, %182
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #5
  %196 = load i1, ptr %25, align 1
  br i1 %196, label %197, label %198

197:                                              ; preds = %195
  call void @__cxa_free_exception(ptr %178) #5
  br label %198

198:                                              ; preds = %197, %195
  br label %202

199:                                              ; preds = %166, %161, %148, %137, %130, %125, %107, %45
  %200 = getelementptr inbounds %"class.SGTELIB::Surrogate_Parameters", ptr %26, i32 0, i32 24
  %201 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %200, ptr noundef @.str.102)
  ret void

202:                                              ; preds = %198, %124, %97, %75, %61
  %203 = load ptr, ptr %6, align 8
  %204 = load i32, ptr %7, align 4
  %205 = insertvalue { ptr, i32 } poison, ptr %203, 0
  %206 = insertvalue { ptr, i32 } %205, i32 %204, 1
  resume { ptr, i32 } %206

207:                                              ; preds = %181, %80
  unreachable
}

; 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: nounwind
declare void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #2

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

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

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

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

declare ptr @__cxa_allocate_exception(i64)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7SGTELIB9ExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiS8_(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

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

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @__cxa_free_exception(ptr)

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

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn }

!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, !12, i64 304}
!10 = !{!"_ZTSN7SGTELIB20Surrogate_ParametersE", !11, i64 8, !12, i64 12, !13, i64 16, !14, i64 20, !13, i64 24, !15, i64 32, !13, i64 40, !15, i64 48, !13, i64 56, !16, i64 60, !13, i64 64, !17, i64 72, !21, i64 128, !13, i64 132, !22, i64 136, !15, i64 144, !15, i64 152, !15, i64 160, !15, i64 168, !17, i64 176, !13, i64 232, !23, i64 236, !18, i64 240, !18, i64 272, !12, i64 304, !12, i64 308}
!11 = !{!"_ZTSN7SGTELIB7model_tE", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTSN7SGTELIB14param_status_tE", !7, i64 0}
!14 = !{!"_ZTSN7SGTELIB8kernel_tE", !7, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = !{!"_ZTSN7SGTELIB10distance_tE", !7, i64 0}
!17 = !{!"_ZTSN7SGTELIB6MatrixE", !18, i64 8, !12, i64 40, !12, i64 44, !6, i64 48}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !19, i64 0, !20, i64 8, !7, i64 16}
!19 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!20 = !{!"long", !7, i64 0}
!21 = !{!"_ZTSN7SGTELIB8weight_tE", !7, i64 0}
!22 = !{!"_ZTSN7SGTELIB13uncertainty_tE", !7, i64 0}
!23 = !{!"_ZTSN7SGTELIB8metric_tE", !7, i64 0}
!24 = !{!10, !23, i64 236}
!25 = !{!10, !16, i64 60}
!26 = !{!10, !13, i64 64}
!27 = !{!10, !13, i64 232}
!28 = !{!10, !13, i64 132}
!29 = !{!10, !15, i64 48}
!30 = !{!10, !15, i64 32}
!31 = !{!10, !14, i64 20}
!32 = !{!10, !11, i64 8}
!33 = !{!10, !13, i64 56}
!34 = !{!15, !15, i64 0}
!35 = !{!10, !12, i64 12}
!36 = !{!10, !13, i64 16}
!37 = !{!10, !13, i64 24}
!38 = !{!10, !13, i64 40}
!39 = !{!10, !21, i64 128}
!40 = !{!10, !22, i64 136}
!41 = !{!10, !15, i64 144}
!42 = !{!10, !15, i64 152}
!43 = !{!10, !15, i64 160}
!44 = !{!10, !15, i64 168}


; 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.3 = external hidden unnamed_addr constant [99 x i8], align 1
@_ZTIN7SGTELIB9ExceptionE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.8 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [5 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7SGTELIB20Surrogate_Parameters12set_defaultsEv(ptr noundef nonnull align 8 dereferenceable(312) %0) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.SGTELIB::Matrix", align 8
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::allocator", align 1
  %5 = alloca %"class.SGTELIB::Matrix", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator", align 1
  %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.SGTELIB::Matrix", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator", align 1
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = getelementptr inbounds i8, ptr %0, i64 304
  store i32 100, ptr %19, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %0, i64 236
  store i32 9, ptr %20, align 4, !tbaa !23
  %21 = getelementptr inbounds i8, ptr %0, i64 60
  store i32 0, ptr %21, align 4, !tbaa !24
  %22 = getelementptr inbounds i8, ptr %0, i64 64
  store i32 0, ptr %22, align 8, !tbaa !25
  %23 = getelementptr inbounds i8, ptr %0, i64 232
  store i32 0, ptr %23, align 8, !tbaa !26
  %24 = getelementptr inbounds i8, ptr %0, i64 132
  store i32 2, ptr %24, align 4, !tbaa !27
  %25 = getelementptr inbounds i8, ptr %0, i64 48
  store double 1.000000e-03, ptr %25, align 8, !tbaa !28
  %26 = getelementptr inbounds i8, ptr %0, i64 32
  store double 1.000000e+00, ptr %26, align 8, !tbaa !29
  %27 = getelementptr inbounds i8, ptr %0, i64 20
  store i32 0, ptr %27, align 4, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.99, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %28 unwind label %40

28:                                               ; preds = %1
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef 0, i32 noundef 0)
          to label %29 unwind label %42

29:                                               ; preds = %28
  %30 = getelementptr inbounds i8, ptr %0, i64 176
  %31 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %30, ptr noundef nonnull align 8 dereferenceable(56) %2)
          to label %32 unwind label %44

32:                                               ; preds = %29
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %2) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %33 unwind label %48

33:                                               ; preds = %32
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %5, ptr noundef nonnull align 8 dereferenceable(32) %6, i32 noundef 0, i32 noundef 0)
          to label %34 unwind label %50

34:                                               ; preds = %33
  %35 = getelementptr inbounds i8, ptr %0, i64 72
  %36 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %35, ptr noundef nonnull align 8 dereferenceable(56) %5)
          to label %37 unwind label %52

37:                                               ; preds = %34
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %5) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %5) #5
  %38 = getelementptr inbounds i8, ptr %0, i64 8
  %39 = load i32, ptr %38, align 8, !tbaa !31
  switch i32 %39, label %112 [
    i32 0, label %56
    i32 1, label %56
    i32 9, label %56
    i32 8, label %68
    i32 3, label %82
    i32 4, label %82
    i32 5, label %82
    i32 6, label %86
    i32 10, label %89
    i32 11, label %95
    i32 12, label %101
    i32 13, label %105
    i32 7, label %124
  ]

40:                                               ; preds = %1
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %47

42:                                               ; preds = %28
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %46

44:                                               ; preds = %29
  %45 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %2) #5
  br label %46

46:                                               ; preds = %44, %42
  %.pn = phi { ptr, i32 } [ %45, %44 ], [ %43, %42 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  br label %47

47:                                               ; preds = %46, %40
  %.pn.pn = phi { ptr, i32 } [ %.pn, %46 ], [ %41, %40 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %2) #5
  br label %127

48:                                               ; preds = %32
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %55

50:                                               ; preds = %33
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %54

52:                                               ; preds = %34
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %5) #5
  br label %54

54:                                               ; preds = %52, %50
  %.pn23 = phi { ptr, i32 } [ %53, %52 ], [ %51, %50 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  br label %55

55:                                               ; preds = %54, %48
  %.pn23.pn = phi { ptr, i32 } [ %.pn23, %54 ], [ %49, %48 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %5) #5
  br label %127

56:                                               ; preds = %37, %37, %37
  %57 = call ptr @__cxa_allocate_exception(i64 112) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %58 unwind label %.thread

58:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @.str.68, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %59 unwind label %62

59:                                               ; preds = %58
  invoke void @_ZN7SGTELIB9ExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiS8_(ptr noundef nonnull align 8 dereferenceable(112) %57, ptr noundef nonnull align 8 dereferenceable(32) %8, i32 noundef 657, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %60 unwind label %64

60:                                               ; preds = %59
  invoke void @__cxa_throw(ptr nonnull %57, ptr nonnull @_ZTIN7SGTELIB9ExceptionE, ptr nonnull @_ZN7SGTELIB9ExceptionD2Ev) #6
          to label %128 unwind label %64

.thread:                                          ; preds = %56
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #5
  br label %67

62:                                               ; preds = %58
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %66

64:                                               ; preds = %60, %59
  %.018 = phi i1 [ false, %60 ], [ true, %59 ]
  %65 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  br label %66

66:                                               ; preds = %62, %64
  %.119 = phi i1 [ %.018, %64 ], [ true, %62 ]
  %.pn29 = phi { ptr, i32 } [ %65, %64 ], [ %63, %62 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #5
  br i1 %.119, label %67, label %127

67:                                               ; preds = %.thread, %66
  %.pn29.pn38 = phi { ptr, i32 } [ %61, %.thread ], [ %.pn29, %66 ]
  call void @__cxa_free_exception(ptr %57) #5
  br label %127

68:                                               ; preds = %37
  store i32 0, ptr %21, align 4, !tbaa !24
  store i32 0, ptr %22, align 8, !tbaa !25
  store double 0x3C9CD2B297D889BC, ptr %25, align 8, !tbaa !28
  %69 = getelementptr inbounds i8, ptr %0, i64 56
  store i32 1, ptr %69, align 8, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str.99, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %70 unwind label %74

70:                                               ; preds = %68
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %12, ptr noundef nonnull align 8 dereferenceable(32) %13, i32 noundef 1, i32 noundef 2)
          to label %71 unwind label %76

71:                                               ; preds = %70
  %72 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %30, ptr noundef nonnull align 8 dereferenceable(56) %12)
          to label %73 unwind label %78

73:                                               ; preds = %71
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %12) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %12) #5
  call void @_ZN7SGTELIB6Matrix3setEiid(ptr noundef nonnull align 8 dereferenceable(56) %30, i32 noundef 0, i32 noundef 0, double noundef 2.000000e+00)
  call void @_ZN7SGTELIB6Matrix3setEiid(ptr noundef nonnull align 8 dereferenceable(56) %30, i32 noundef 0, i32 noundef 1, double noundef 1.000000e+00)
  store i32 1, ptr %23, align 8, !tbaa !26
  br label %124

74:                                               ; preds = %68
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %81

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

78:                                               ; preds = %71
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %12) #5
  br label %80

80:                                               ; preds = %78, %76
  %.pn26 = phi { ptr, i32 } [ %79, %78 ], [ %77, %76 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  br label %81

81:                                               ; preds = %80, %74
  %.pn26.pn = phi { ptr, i32 } [ %.pn26, %80 ], [ %75, %74 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %12) #5
  br label %127

82:                                               ; preds = %37, %37, %37
  %83 = getelementptr inbounds i8, ptr %0, i64 12
  store i32 2, ptr %83, align 4, !tbaa !33
  %84 = getelementptr inbounds i8, ptr %0, i64 16
  store i32 0, ptr %84, align 8, !tbaa !34
  store double 1.000000e-03, ptr %25, align 8, !tbaa !28
  %85 = getelementptr inbounds i8, ptr %0, i64 56
  store i32 0, ptr %85, align 8, !tbaa !32
  br label %124

86:                                               ; preds = %37
  store i32 0, ptr %27, align 4, !tbaa !30
  %87 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 0, ptr %87, align 8, !tbaa !35
  store double 5.000000e+00, ptr %26, align 8, !tbaa !29
  %88 = getelementptr inbounds i8, ptr %0, i64 40
  store i32 1, ptr %88, align 8, !tbaa !36
  store i32 0, ptr %21, align 4, !tbaa !24
  store i32 0, ptr %22, align 8, !tbaa !25
  br label %124

89:                                               ; preds = %37
  store i32 9, ptr %27, align 4, !tbaa !30
  %90 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 0, ptr %90, align 8, !tbaa !35
  store double 1.000000e+00, ptr %26, align 8, !tbaa !29
  %91 = getelementptr inbounds i8, ptr %0, i64 40
  store i32 1, ptr %91, align 8, !tbaa !36
  store i32 0, ptr %21, align 4, !tbaa !24
  store i32 0, ptr %22, align 8, !tbaa !25
  store double 1.000000e-03, ptr %25, align 8, !tbaa !28
  %92 = getelementptr inbounds i8, ptr %0, i64 56
  store i32 0, ptr %92, align 8, !tbaa !32
  %93 = getelementptr inbounds i8, ptr %0, i64 240
  %94 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %93, ptr noundef nonnull @.str.100)
  br label %124

95:                                               ; preds = %37
  store double 1.000000e+00, ptr %26, align 8, !tbaa !29
  %96 = getelementptr inbounds i8, ptr %0, i64 40
  store i32 1, ptr %96, align 8, !tbaa !36
  store i32 0, ptr %21, align 4, !tbaa !24
  store i32 0, ptr %22, align 8, !tbaa !25
  %97 = getelementptr inbounds i8, ptr %0, i64 12
  store <4 x i32> <i32 2, i32 0, i32 0, i32 0>, ptr %97, align 4, !tbaa !37
  store double 1.000000e-03, ptr %25, align 8, !tbaa !28
  %98 = getelementptr inbounds i8, ptr %0, i64 56
  store i32 0, ptr %98, align 8, !tbaa !32
  %99 = getelementptr inbounds i8, ptr %0, i64 240
  %100 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %99, ptr noundef nonnull @.str.76)
  br label %124

101:                                              ; preds = %37
  %102 = getelementptr inbounds i8, ptr %0, i64 128
  store i32 0, ptr %102, align 8, !tbaa !38
  store i32 2, ptr %24, align 4, !tbaa !27
  %103 = getelementptr inbounds i8, ptr %0, i64 240
  %104 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %103, ptr noundef nonnull @.str.101)
  br label %124

105:                                              ; preds = %37
  store i32 7, ptr %20, align 4, !tbaa !23
  %106 = getelementptr inbounds i8, ptr %0, i64 128
  store i32 2, ptr %106, align 8, !tbaa !38
  store i32 2, ptr %24, align 4, !tbaa !27
  %107 = getelementptr inbounds i8, ptr %0, i64 136
  store i32 0, ptr %107, align 8, !tbaa !39
  %108 = getelementptr inbounds i8, ptr %0, i64 144
  store <2 x double> <double 1.000000e-03, double 1.000000e+01>, ptr %108, align 8, !tbaa !40
  %109 = getelementptr inbounds i8, ptr %0, i64 160
  store <2 x double> <double 3.000000e+00, double 1.000000e-01>, ptr %109, align 8, !tbaa !40
  %110 = getelementptr inbounds i8, ptr %0, i64 240
  %111 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %110, ptr noundef nonnull @.str.101)
  br label %124

112:                                              ; preds = %37
  %113 = call ptr @__cxa_allocate_exception(i64 112) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %114 unwind label %.thread39

114:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull @.str.84, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %115 unwind label %118

115:                                              ; preds = %114
  invoke void @_ZN7SGTELIB9ExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiS8_(ptr noundef nonnull align 8 dereferenceable(112) %113, ptr noundef nonnull align 8 dereferenceable(32) %15, i32 noundef 741, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %116 unwind label %120

116:                                              ; preds = %115
  invoke void @__cxa_throw(ptr nonnull %113, ptr nonnull @_ZTIN7SGTELIB9ExceptionE, ptr nonnull @_ZN7SGTELIB9ExceptionD2Ev) #6
          to label %128 unwind label %120

.thread39:                                        ; preds = %112
  %117 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #5
  br label %123

118:                                              ; preds = %114
  %119 = landingpad { ptr, i32 }
          cleanup
  br label %122

120:                                              ; preds = %116, %115
  %.0 = phi i1 [ false, %116 ], [ true, %115 ]
  %121 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  br label %122

122:                                              ; preds = %118, %120
  %.pn32 = phi { ptr, i32 } [ %121, %120 ], [ %119, %118 ]
  %.1 = phi i1 [ %.0, %120 ], [ true, %118 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #5
  br i1 %.1, label %123, label %127

123:                                              ; preds = %.thread39, %122
  %.pn32.pn42 = phi { ptr, i32 } [ %117, %.thread39 ], [ %.pn32, %122 ]
  call void @__cxa_free_exception(ptr %113) #5
  br label %127

124:                                              ; preds = %105, %101, %95, %89, %86, %82, %73, %37
  %125 = getelementptr inbounds i8, ptr %0, i64 272
  %126 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %125, ptr noundef nonnull @.str.102)
  ret void

127:                                              ; preds = %122, %123, %66, %67, %81, %55, %47
  %.pn32.pn.pn = phi { ptr, i32 } [ %.pn32.pn42, %123 ], [ %.pn32, %122 ], [ %.pn26.pn, %81 ], [ %.pn29.pn38, %67 ], [ %.pn29, %66 ], [ %.pn23.pn, %55 ], [ %.pn.pn, %47 ]
  resume { ptr, i32 } %.pn32.pn.pn

128:                                              ; preds = %116, %60
  unreachable
}

; 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: nounwind
declare void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #2

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

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

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7SGTELIB9ExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiS8_(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

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

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn }

!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, !10, i64 304}
!6 = !{!"_ZTSN7SGTELIB20Surrogate_ParametersE", !7, i64 8, !10, i64 12, !11, i64 16, !12, i64 20, !11, i64 24, !13, i64 32, !11, i64 40, !13, i64 48, !11, i64 56, !14, i64 60, !11, i64 64, !15, i64 72, !20, i64 128, !11, i64 132, !21, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !15, i64 176, !11, i64 232, !22, i64 236, !16, i64 240, !16, i64 272, !10, i64 304, !10, i64 308}
!7 = !{!"_ZTSN7SGTELIB7model_tE", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTSN7SGTELIB14param_status_tE", !8, i64 0}
!12 = !{!"_ZTSN7SGTELIB8kernel_tE", !8, i64 0}
!13 = !{!"double", !8, i64 0}
!14 = !{!"_ZTSN7SGTELIB10distance_tE", !8, i64 0}
!15 = !{!"_ZTSN7SGTELIB6MatrixE", !16, i64 8, !10, i64 40, !10, i64 44, !18, i64 48}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !17, i64 0, !19, i64 8, !8, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !18, i64 0}
!18 = !{!"any pointer", !8, i64 0}
!19 = !{!"long", !8, i64 0}
!20 = !{!"_ZTSN7SGTELIB8weight_tE", !8, i64 0}
!21 = !{!"_ZTSN7SGTELIB13uncertainty_tE", !8, i64 0}
!22 = !{!"_ZTSN7SGTELIB8metric_tE", !8, i64 0}
!23 = !{!6, !22, i64 236}
!24 = !{!6, !14, i64 60}
!25 = !{!6, !11, i64 64}
!26 = !{!6, !11, i64 232}
!27 = !{!6, !11, i64 132}
!28 = !{!6, !13, i64 48}
!29 = !{!6, !13, i64 32}
!30 = !{!6, !12, i64 20}
!31 = !{!6, !7, i64 8}
!32 = !{!6, !11, i64 56}
!33 = !{!6, !10, i64 12}
!34 = !{!6, !11, i64 16}
!35 = !{!6, !11, i64 24}
!36 = !{!6, !11, i64 40}
!37 = !{!8, !8, i64 0}
!38 = !{!6, !20, i64 128}
!39 = !{!6, !21, i64 136}
!40 = !{!13, !13, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass