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

; 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::TrainingSet" = type { ptr, i32, i32, i32, i8, ptr, i8, i32, double, double, i32, %"class.SGTELIB::Matrix", %"class.SGTELIB::Matrix", %"class.SGTELIB::Matrix", %"class.SGTELIB::Matrix", %"class.SGTELIB::Matrix", i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, double }

@.str = external hidden unnamed_addr constant [16 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [16 x i8], align 1

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

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

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) #1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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 #3 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7SGTELIB11TrainingSet28partial_reset_and_add_pointsERKNS_6MatrixES3_(ptr noundef nonnull align 8 dereferenceable(504) %0, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(56) %2) #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.SGTELIB::Matrix", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::allocator", align 1
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %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 %"class.SGTELIB::Matrix", align 8
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.std::allocator", align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %22 = load ptr, ptr %5, align 8
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = call noundef i32 @_ZNK7SGTELIB6Matrix11get_nb_colsEv(ptr noundef nonnull align 8 dereferenceable(56) %23)
  %25 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 2
  %26 = load i32, ptr %25, align 4, !tbaa !9
  %27 = icmp ne i32 %24, %26
  br i1 %27, label %34, label %28

28:                                               ; preds = %3
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = call noundef i32 @_ZNK7SGTELIB6Matrix11get_nb_colsEv(ptr noundef nonnull align 8 dereferenceable(56) %29)
  %31 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 3
  %32 = load i32, ptr %31, align 8, !tbaa !18
  %33 = icmp ne i32 %30, %32
  br i1 %33, label %34, label %35

34:                                               ; preds = %28, %3
  store i1 false, ptr %4, align 1
  br label %191

35:                                               ; preds = %28
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 11
  %38 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %37, ptr noundef nonnull align 8 dereferenceable(56) %36)
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  %40 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 12
  %41 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %40, ptr noundef nonnull align 8 dereferenceable(56) %39)
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = call noundef i32 @_ZNK7SGTELIB6Matrix11get_nb_rowsEv(ptr noundef nonnull align 8 dereferenceable(56) %42)
  %44 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 1
  store i32 %43, ptr %44, align 8, !tbaa !19
  %45 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 16
  store i32 -1, ptr %45, align 8, !tbaa !20
  %46 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 17
  store i32 -1, ptr %46, align 4, !tbaa !21
  %47 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 18
  store i32 -1, ptr %47, align 8, !tbaa !22
  %48 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 26
  store i32 -1, ptr %48, align 8, !tbaa !23
  %49 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 27
  store i32 -1, ptr %49, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !25
  br label %50

50:                                               ; preds = %67, %35
  %51 = load i32, ptr %8, align 4, !tbaa !25
  %52 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 2
  %53 = load i32, ptr %52, align 4, !tbaa !9
  %54 = icmp slt i32 %51, %53
  br i1 %54, label %56, label %55

55:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %70

56:                                               ; preds = %50
  %57 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 19
  %58 = load ptr, ptr %57, align 8, !tbaa !26
  %59 = load i32, ptr %8, align 4, !tbaa !25
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds double, ptr %58, i64 %60
  store double 0.000000e+00, ptr %61, align 8, !tbaa !27
  %62 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 20
  %63 = load ptr, ptr %62, align 8, !tbaa !28
  %64 = load i32, ptr %8, align 4, !tbaa !25
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds double, ptr %63, i64 %65
  store double 0.000000e+00, ptr %66, align 8, !tbaa !27
  br label %67

67:                                               ; preds = %56
  %68 = load i32, ptr %8, align 4, !tbaa !25
  %69 = add nsw i32 %68, 1
  store i32 %69, ptr %8, align 4, !tbaa !25
  br label %50, !llvm.loop !29

70:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 1, ptr %9, align 4, !tbaa !25
  br label %71

71:                                               ; preds = %88, %70
  %72 = load i32, ptr %9, align 4, !tbaa !25
  %73 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 3
  %74 = load i32, ptr %73, align 8, !tbaa !18
  %75 = icmp slt i32 %72, %74
  br i1 %75, label %77, label %76

76:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %91

77:                                               ; preds = %71
  %78 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 28
  %79 = load ptr, ptr %78, align 8, !tbaa !31
  %80 = load i32, ptr %9, align 4, !tbaa !25
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds double, ptr %79, i64 %81
  store double 0.000000e+00, ptr %82, align 8, !tbaa !27
  %83 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 29
  %84 = load ptr, ptr %83, align 8, !tbaa !32
  %85 = load i32, ptr %9, align 4, !tbaa !25
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds double, ptr %84, i64 %86
  store double 0.000000e+00, ptr %87, align 8, !tbaa !27
  br label %88

88:                                               ; preds = %77
  %89 = load i32, ptr %9, align 4, !tbaa !25
  %90 = add nsw i32 %89, 1
  store i32 %90, ptr %9, align 4, !tbaa !25
  br label %71, !llvm.loop !33

91:                                               ; preds = %76
  %92 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 5
  %93 = load ptr, ptr %92, align 8, !tbaa !34
  %94 = getelementptr inbounds i32, ptr %93, i64 0
  store i32 0, ptr %94, align 4, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 1, ptr %10, align 4, !tbaa !25
  br label %95

95:                                               ; preds = %117, %91
  %96 = load i32, ptr %10, align 4, !tbaa !25
  %97 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 3
  %98 = load i32, ptr %97, align 8, !tbaa !18
  %99 = icmp slt i32 %96, %98
  br i1 %99, label %101, label %100

100:                                              ; preds = %95
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %120

101:                                              ; preds = %95
  %102 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 5
  %103 = load ptr, ptr %102, align 8, !tbaa !34
  %104 = load i32, ptr %10, align 4, !tbaa !25
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds i32, ptr %103, i64 %105
  store i32 1, ptr %106, align 4, !tbaa !35
  %107 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 28
  %108 = load ptr, ptr %107, align 8, !tbaa !31
  %109 = load i32, ptr %10, align 4, !tbaa !25
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds double, ptr %108, i64 %110
  store double 0.000000e+00, ptr %111, align 8, !tbaa !27
  %112 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 29
  %113 = load ptr, ptr %112, align 8, !tbaa !32
  %114 = load i32, ptr %10, align 4, !tbaa !25
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds double, ptr %113, i64 %115
  store double 0.000000e+00, ptr %116, align 8, !tbaa !27
  br label %117

117:                                              ; preds = %101
  %118 = load i32, ptr %10, align 4, !tbaa !25
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr %10, align 4, !tbaa !25
  br label %95, !llvm.loop !37

120:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 56, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %121 unwind label %149

121:                                              ; preds = %120
  %122 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 1
  %123 = load i32, ptr %122, align 8, !tbaa !19
  %124 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 2
  %125 = load i32, ptr %124, align 4, !tbaa !9
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %11, ptr noundef nonnull align 8 dereferenceable(32) %12, i32 noundef %123, i32 noundef %125)
          to label %126 unwind label %153

126:                                              ; preds = %121
  %127 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 13
  %128 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %127, ptr noundef nonnull align 8 dereferenceable(56) %11)
          to label %129 unwind label %157

129:                                              ; preds = %126
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %11) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 56, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %130 unwind label %163

130:                                              ; preds = %129
  %131 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 1
  %132 = load i32, ptr %131, align 8, !tbaa !19
  %133 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 3
  %134 = load i32, ptr %133, align 8, !tbaa !18
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %16, ptr noundef nonnull align 8 dereferenceable(32) %17, i32 noundef %132, i32 noundef %134)
          to label %135 unwind label %167

135:                                              ; preds = %130
  %136 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 14
  %137 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %136, ptr noundef nonnull align 8 dereferenceable(56) %16)
          to label %138 unwind label %171

138:                                              ; preds = %135
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %16) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 56, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %139 unwind label %177

139:                                              ; preds = %138
  %140 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 1
  %141 = load i32, ptr %140, align 8, !tbaa !19
  %142 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 1
  %143 = load i32, ptr %142, align 8, !tbaa !19
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %19, ptr noundef nonnull align 8 dereferenceable(32) %20, i32 noundef %141, i32 noundef %143)
          to label %144 unwind label %181

144:                                              ; preds = %139
  %145 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 15
  %146 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %145, ptr noundef nonnull align 8 dereferenceable(56) %19)
          to label %147 unwind label %185

147:                                              ; preds = %144
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %19) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %19) #6
  %148 = getelementptr inbounds %"class.SGTELIB::TrainingSet", ptr %22, i32 0, i32 4
  store i8 0, ptr %148, align 4, !tbaa !38
  store i1 true, ptr %4, align 1
  br label %191

149:                                              ; preds = %120
  %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 %162

153:                                              ; preds = %121
  %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 = %126
  %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 @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %11) #6
  br label %161

161:                                              ; preds = %157, %153
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %162

162:                                              ; preds = %161, %149
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %11) #6
  br label %193

163:                                              ; preds = %129
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %14, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %15, align 4
  br label %176

167:                                              ; preds = %130
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %14, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %15, align 4
  br label %175

171:                                              ; preds = %135
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %14, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %15, align 4
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %16) #6
  br label %175

175:                                              ; preds = %171, %167
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  br label %176

176:                                              ; preds = %175, %163
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %16) #6
  br label %193

177:                                              ; preds = %138
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %14, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %15, align 4
  br label %190

181:                                              ; preds = %139
  %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 %189

185:                                              ; preds = %144
  %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
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %19) #6
  br label %189

189:                                              ; preds = %185, %181
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  br label %190

190:                                              ; preds = %189, %177
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %19) #6
  br label %193

191:                                              ; preds = %147, %34
  %192 = load i1, ptr %4, align 1
  ret i1 %192

193:                                              ; preds = %190, %176, %162
  %194 = load ptr, ptr %14, align 8
  %195 = load i32, ptr %15, align 4
  %196 = insertvalue { ptr, i32 } poison, ptr %194, 0
  %197 = insertvalue { ptr, i32 } %196, i32 %195, 1
  resume { ptr, i32 } %197
}

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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, !11, i64 12}
!10 = !{!"_ZTSN7SGTELIB11TrainingSetE", !11, i64 8, !11, i64 12, !11, i64 16, !12, i64 20, !6, i64 24, !12, i64 32, !11, i64 36, !13, i64 40, !13, i64 48, !11, i64 56, !14, i64 64, !14, i64 120, !14, i64 176, !14, i64 232, !14, i64 288, !11, i64 344, !11, i64 348, !11, i64 352, !6, i64 360, !6, i64 368, !6, i64 376, !6, i64 384, !6, i64 392, !6, i64 400, !6, i64 408, !11, i64 416, !11, i64 420, !6, i64 424, !6, i64 432, !6, i64 440, !6, i64 448, !6, i64 456, !6, i64 464, !6, i64 472, !6, i64 480, !6, i64 488, !13, i64 496}
!11 = !{!"int", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = !{!"_ZTSN7SGTELIB6MatrixE", !15, i64 8, !11, i64 40, !11, i64 44, !6, i64 48}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !16, i64 0, !17, i64 8, !7, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!10, !11, i64 16}
!19 = !{!10, !11, i64 8}
!20 = !{!10, !11, i64 344}
!21 = !{!10, !11, i64 348}
!22 = !{!10, !11, i64 352}
!23 = !{!10, !11, i64 416}
!24 = !{!10, !11, i64 420}
!25 = !{!11, !11, i64 0}
!26 = !{!10, !6, i64 360}
!27 = !{!13, !13, i64 0}
!28 = !{!10, !6, i64 368}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!10, !6, i64 424}
!32 = !{!10, !6, i64 432}
!33 = distinct !{!33, !30}
!34 = !{!10, !6, i64 24}
!35 = !{!36, !36, i64 0}
!36 = !{!"_ZTSN7SGTELIB5bbo_tE", !7, i64 0}
!37 = distinct !{!37, !30}
!38 = !{!10, !12, i64 20}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.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 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [16 x i8], align 1

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

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

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) #1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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 #3 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7SGTELIB11TrainingSet28partial_reset_and_add_pointsERKNS_6MatrixES3_(ptr noundef nonnull align 8 dereferenceable(504) %0, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(56) %2) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.SGTELIB::Matrix", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::allocator", align 1
  %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.SGTELIB::Matrix", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = tail call noundef i32 @_ZNK7SGTELIB6Matrix11get_nb_colsEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  %14 = getelementptr inbounds i8, ptr %0, i64 12
  %15 = load i32, ptr %14, align 4, !tbaa !5
  %.not = icmp eq i32 %13, %15
  br i1 %.not, label %16, label %162

16:                                               ; preds = %3
  %17 = tail call noundef i32 @_ZNK7SGTELIB6Matrix11get_nb_colsEv(ptr noundef nonnull align 8 dereferenceable(56) %2)
  %18 = getelementptr inbounds i8, ptr %0, i64 16
  %19 = load i32, ptr %18, align 8, !tbaa !17
  %.not32 = icmp eq i32 %17, %19
  br i1 %.not32, label %20, label %162

20:                                               ; preds = %16
  %21 = getelementptr inbounds i8, ptr %0, i64 64
  %22 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %21, ptr noundef nonnull align 8 dereferenceable(56) %1)
  %23 = getelementptr inbounds i8, ptr %0, i64 120
  %24 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %23, ptr noundef nonnull align 8 dereferenceable(56) %2)
  %25 = tail call noundef i32 @_ZNK7SGTELIB6Matrix11get_nb_rowsEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  %26 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 %25, ptr %26, align 8, !tbaa !18
  %27 = getelementptr inbounds i8, ptr %0, i64 344
  store i32 -1, ptr %27, align 8, !tbaa !19
  %28 = getelementptr inbounds i8, ptr %0, i64 348
  store i32 -1, ptr %28, align 4, !tbaa !20
  %29 = getelementptr inbounds i8, ptr %0, i64 352
  store i32 -1, ptr %29, align 8, !tbaa !21
  %30 = getelementptr inbounds i8, ptr %0, i64 416
  store i32 -1, ptr %30, align 8, !tbaa !22
  %31 = getelementptr inbounds i8, ptr %0, i64 420
  store i32 -1, ptr %31, align 4, !tbaa !23
  %32 = load i32, ptr %14, align 4, !tbaa !5
  %33 = icmp sgt i32 %32, 0
  br i1 %33, label %.lr.ph, label %.preheader

.lr.ph:                                           ; preds = %20
  %34 = getelementptr inbounds i8, ptr %0, i64 360
  %35 = load ptr, ptr %34, align 8, !tbaa !24
  %36 = getelementptr inbounds i8, ptr %0, i64 368
  %37 = load ptr, ptr %36, align 8, !tbaa !25
  %wide.trip.count = zext nneg i32 %32 to i64
  %min.iters.check = icmp ult i32 %32, 4
  %38 = ptrtoint ptr %37 to i64
  %39 = ptrtoint ptr %35 to i64
  %40 = sub i64 %38, %39
  %diff.check = icmp ult i64 %40, 32
  %or.cond = select i1 %min.iters.check, i1 true, i1 %diff.check
  br i1 %or.cond, label %scalar.ph.preheader, label %vector.ph

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph ], [ %n.vec, %middle.block ]
  %xtraiter = and i64 %wide.trip.count, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader, %scalar.ph.prol
  %indvars.iv.prol = phi i64 [ %indvars.iv.next.prol, %scalar.ph.prol ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %scalar.ph.prol ], [ 0, %scalar.ph.preheader ]
  %41 = getelementptr inbounds double, ptr %35, i64 %indvars.iv.prol
  store double 0.000000e+00, ptr %41, align 8, !tbaa !26
  %42 = getelementptr inbounds double, ptr %37, i64 %indvars.iv.prol
  store double 0.000000e+00, ptr %42, align 8, !tbaa !26
  %indvars.iv.next.prol = add nuw nsw i64 %indvars.iv.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol, !llvm.loop !27

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %scalar.ph.preheader ], [ %indvars.iv.next.prol, %scalar.ph.prol ]
  %43 = sub nsw i64 %indvars.iv.ph, %wide.trip.count
  %44 = icmp ugt i64 %43, -4
  br i1 %44, label %.preheader, label %scalar.ph

vector.ph:                                        ; preds = %.lr.ph
  %n.vec = and i64 %wide.trip.count, 2147483644
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %45 = getelementptr inbounds double, ptr %35, i64 %index
  %46 = getelementptr inbounds i8, ptr %45, i64 16
  store <2 x double> zeroinitializer, ptr %45, align 8, !tbaa !26
  store <2 x double> zeroinitializer, ptr %46, align 8, !tbaa !26
  %47 = getelementptr inbounds double, ptr %37, i64 %index
  %48 = getelementptr inbounds i8, ptr %47, i64 16
  store <2 x double> zeroinitializer, ptr %47, align 8, !tbaa !26
  store <2 x double> zeroinitializer, ptr %48, align 8, !tbaa !26
  %index.next = add nuw i64 %index, 4
  %49 = icmp eq i64 %index.next, %n.vec
  br i1 %49, label %middle.block, label %vector.body, !llvm.loop !29

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %.preheader, label %scalar.ph.preheader

.preheader:                                       ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block, %20
  %50 = load i32, ptr %18, align 8, !tbaa !17
  %51 = icmp sgt i32 %50, 1
  br i1 %51, label %.lr.ph44, label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %.preheader
  %52 = getelementptr inbounds i8, ptr %0, i64 24
  %53 = load ptr, ptr %52, align 8, !tbaa !33
  store i32 0, ptr %53, align 4, !tbaa !34
  br label %._crit_edge48

.lr.ph44:                                         ; preds = %.preheader
  %54 = getelementptr inbounds i8, ptr %0, i64 424
  %55 = load ptr, ptr %54, align 8, !tbaa !36
  %56 = getelementptr inbounds i8, ptr %0, i64 432
  %57 = load ptr, ptr %56, align 8, !tbaa !37
  %wide.trip.count53 = zext nneg i32 %50 to i64
  %58 = add nsw i64 %wide.trip.count53, -1
  %min.iters.check64 = icmp ult i32 %50, 5
  %59 = ptrtoint ptr %57 to i64
  %60 = ptrtoint ptr %55 to i64
  %61 = sub i64 %59, %60
  %diff.check61 = icmp ult i64 %61, 32
  %or.cond92 = select i1 %min.iters.check64, i1 true, i1 %diff.check61
  br i1 %or.cond92, label %scalar.ph63.preheader, label %vector.ph65

scalar.ph63.preheader:                            ; preds = %middle.block62, %.lr.ph44
  %indvars.iv50.ph = phi i64 [ 1, %.lr.ph44 ], [ %ind.end, %middle.block62 ]
  %62 = sub nsw i64 %wide.trip.count53, %indvars.iv50.ph
  %xtraiter96 = and i64 %62, 3
  %lcmp.mod97.not = icmp eq i64 %xtraiter96, 0
  br i1 %lcmp.mod97.not, label %scalar.ph63.prol.loopexit, label %scalar.ph63.prol

scalar.ph63.prol:                                 ; preds = %scalar.ph63.preheader, %scalar.ph63.prol
  %indvars.iv50.prol = phi i64 [ %indvars.iv.next51.prol, %scalar.ph63.prol ], [ %indvars.iv50.ph, %scalar.ph63.preheader ]
  %prol.iter98 = phi i64 [ %prol.iter98.next, %scalar.ph63.prol ], [ 0, %scalar.ph63.preheader ]
  %63 = getelementptr inbounds double, ptr %55, i64 %indvars.iv50.prol
  store double 0.000000e+00, ptr %63, align 8, !tbaa !26
  %64 = getelementptr inbounds double, ptr %57, i64 %indvars.iv50.prol
  store double 0.000000e+00, ptr %64, align 8, !tbaa !26
  %indvars.iv.next51.prol = add nuw nsw i64 %indvars.iv50.prol, 1
  %prol.iter98.next = add i64 %prol.iter98, 1
  %prol.iter98.cmp.not = icmp eq i64 %prol.iter98.next, %xtraiter96
  br i1 %prol.iter98.cmp.not, label %scalar.ph63.prol.loopexit, label %scalar.ph63.prol, !llvm.loop !38

scalar.ph63.prol.loopexit:                        ; preds = %scalar.ph63.prol, %scalar.ph63.preheader
  %indvars.iv50.unr = phi i64 [ %indvars.iv50.ph, %scalar.ph63.preheader ], [ %indvars.iv.next51.prol, %scalar.ph63.prol ]
  %65 = sub nsw i64 %indvars.iv50.ph, %wide.trip.count53
  %66 = icmp ugt i64 %65, -4
  br i1 %66, label %._crit_edge, label %scalar.ph63

vector.ph65:                                      ; preds = %.lr.ph44
  %n.vec67 = and i64 %58, -4
  %ind.end = or disjoint i64 %n.vec67, 1
  br label %vector.body69

vector.body69:                                    ; preds = %vector.body69, %vector.ph65
  %index70 = phi i64 [ 0, %vector.ph65 ], [ %index.next71, %vector.body69 ]
  %offset.idx = or disjoint i64 %index70, 1
  %67 = getelementptr inbounds double, ptr %55, i64 %offset.idx
  %68 = getelementptr inbounds i8, ptr %67, i64 16
  store <2 x double> zeroinitializer, ptr %67, align 8, !tbaa !26
  store <2 x double> zeroinitializer, ptr %68, align 8, !tbaa !26
  %69 = getelementptr inbounds double, ptr %57, i64 %offset.idx
  %70 = getelementptr inbounds i8, ptr %69, i64 16
  store <2 x double> zeroinitializer, ptr %69, align 8, !tbaa !26
  store <2 x double> zeroinitializer, ptr %70, align 8, !tbaa !26
  %index.next71 = add nuw i64 %index70, 4
  %71 = icmp eq i64 %index.next71, %n.vec67
  br i1 %71, label %middle.block62, label %vector.body69, !llvm.loop !39

middle.block62:                                   ; preds = %vector.body69
  %cmp.n72 = icmp eq i64 %58, %n.vec67
  br i1 %cmp.n72, label %._crit_edge, label %scalar.ph63.preheader

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.3, %scalar.ph ], [ %indvars.iv.unr, %scalar.ph.prol.loopexit ]
  %72 = getelementptr inbounds double, ptr %35, i64 %indvars.iv
  store double 0.000000e+00, ptr %72, align 8, !tbaa !26
  %73 = getelementptr inbounds double, ptr %37, i64 %indvars.iv
  store double 0.000000e+00, ptr %73, align 8, !tbaa !26
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %74 = getelementptr inbounds double, ptr %35, i64 %indvars.iv.next
  store double 0.000000e+00, ptr %74, align 8, !tbaa !26
  %75 = getelementptr inbounds double, ptr %37, i64 %indvars.iv.next
  store double 0.000000e+00, ptr %75, align 8, !tbaa !26
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %76 = getelementptr inbounds double, ptr %35, i64 %indvars.iv.next.1
  store double 0.000000e+00, ptr %76, align 8, !tbaa !26
  %77 = getelementptr inbounds double, ptr %37, i64 %indvars.iv.next.1
  store double 0.000000e+00, ptr %77, align 8, !tbaa !26
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %78 = getelementptr inbounds double, ptr %35, i64 %indvars.iv.next.2
  store double 0.000000e+00, ptr %78, align 8, !tbaa !26
  %79 = getelementptr inbounds double, ptr %37, i64 %indvars.iv.next.2
  store double 0.000000e+00, ptr %79, align 8, !tbaa !26
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, %wide.trip.count
  br i1 %exitcond.not.3, label %.preheader, label %scalar.ph, !llvm.loop !40

._crit_edge:                                      ; preds = %scalar.ph63.prol.loopexit, %scalar.ph63, %middle.block62
  %80 = getelementptr inbounds i8, ptr %0, i64 24
  %81 = load ptr, ptr %80, align 8, !tbaa !33
  store i32 0, ptr %81, align 4, !tbaa !34
  br i1 %51, label %.lr.ph47, label %._crit_edge48

.lr.ph47:                                         ; preds = %._crit_edge
  %82 = getelementptr inbounds i8, ptr %0, i64 424
  %83 = load ptr, ptr %82, align 8, !tbaa !36
  %84 = getelementptr inbounds i8, ptr %0, i64 432
  %85 = load ptr, ptr %84, align 8, !tbaa !37
  %wide.trip.count58 = zext nneg i32 %50 to i64
  %86 = add nsw i64 %wide.trip.count53, -1
  %min.iters.check77 = icmp ult i32 %50, 5
  %87 = ptrtoint ptr %85 to i64
  %88 = ptrtoint ptr %83 to i64
  %89 = sub i64 %87, %88
  %diff.check74 = icmp ult i64 %89, 32
  %or.cond95 = select i1 %min.iters.check77, i1 true, i1 %diff.check74
  br i1 %or.cond95, label %scalar.ph76.preheader, label %vector.ph78

scalar.ph76.preheader:                            ; preds = %middle.block75, %.lr.ph47
  %indvars.iv55.ph = phi i64 [ 1, %.lr.ph47 ], [ %ind.end81, %middle.block75 ]
  %90 = and i64 %wide.trip.count53, 1
  %lcmp.mod100.not.not = icmp eq i64 %90, 0
  br i1 %lcmp.mod100.not.not, label %scalar.ph76.prol, label %scalar.ph76.prol.loopexit

scalar.ph76.prol:                                 ; preds = %scalar.ph76.preheader
  %91 = getelementptr inbounds i32, ptr %81, i64 %indvars.iv55.ph
  store i32 1, ptr %91, align 4, !tbaa !34
  %92 = getelementptr inbounds double, ptr %83, i64 %indvars.iv55.ph
  store double 0.000000e+00, ptr %92, align 8, !tbaa !26
  %93 = getelementptr inbounds double, ptr %85, i64 %indvars.iv55.ph
  store double 0.000000e+00, ptr %93, align 8, !tbaa !26
  %indvars.iv.next56.prol = add nuw nsw i64 %indvars.iv55.ph, 1
  br label %scalar.ph76.prol.loopexit

scalar.ph76.prol.loopexit:                        ; preds = %scalar.ph76.prol, %scalar.ph76.preheader
  %indvars.iv55.unr = phi i64 [ %indvars.iv55.ph, %scalar.ph76.preheader ], [ %indvars.iv.next56.prol, %scalar.ph76.prol ]
  %94 = add nsw i64 %wide.trip.count53, -1
  %95 = icmp eq i64 %indvars.iv55.ph, %94
  br i1 %95, label %._crit_edge48, label %scalar.ph76

vector.ph78:                                      ; preds = %.lr.ph47
  %n.vec80 = and i64 %86, -4
  %ind.end81 = or disjoint i64 %n.vec80, 1
  br label %vector.body83

vector.body83:                                    ; preds = %vector.body83, %vector.ph78
  %index84 = phi i64 [ 0, %vector.ph78 ], [ %index.next86, %vector.body83 ]
  %offset.idx85 = or disjoint i64 %index84, 1
  %96 = getelementptr inbounds i32, ptr %81, i64 %offset.idx85
  %97 = getelementptr inbounds i8, ptr %96, i64 8
  store <2 x i32> <i32 1, i32 1>, ptr %96, align 4, !tbaa !34
  store <2 x i32> <i32 1, i32 1>, ptr %97, align 4, !tbaa !34
  %98 = getelementptr inbounds double, ptr %83, i64 %offset.idx85
  %99 = getelementptr inbounds i8, ptr %98, i64 16
  store <2 x double> zeroinitializer, ptr %98, align 8, !tbaa !26
  store <2 x double> zeroinitializer, ptr %99, align 8, !tbaa !26
  %100 = getelementptr inbounds double, ptr %85, i64 %offset.idx85
  %101 = getelementptr inbounds i8, ptr %100, i64 16
  store <2 x double> zeroinitializer, ptr %100, align 8, !tbaa !26
  store <2 x double> zeroinitializer, ptr %101, align 8, !tbaa !26
  %index.next86 = add nuw i64 %index84, 4
  %102 = icmp eq i64 %index.next86, %n.vec80
  br i1 %102, label %middle.block75, label %vector.body83, !llvm.loop !41

middle.block75:                                   ; preds = %vector.body83
  %cmp.n87 = icmp eq i64 %86, %n.vec80
  br i1 %cmp.n87, label %._crit_edge48, label %scalar.ph76.preheader

scalar.ph63:                                      ; preds = %scalar.ph63.prol.loopexit, %scalar.ph63
  %indvars.iv50 = phi i64 [ %indvars.iv.next51.3, %scalar.ph63 ], [ %indvars.iv50.unr, %scalar.ph63.prol.loopexit ]
  %103 = getelementptr inbounds double, ptr %55, i64 %indvars.iv50
  store double 0.000000e+00, ptr %103, align 8, !tbaa !26
  %104 = getelementptr inbounds double, ptr %57, i64 %indvars.iv50
  store double 0.000000e+00, ptr %104, align 8, !tbaa !26
  %indvars.iv.next51 = add nuw nsw i64 %indvars.iv50, 1
  %105 = getelementptr inbounds double, ptr %55, i64 %indvars.iv.next51
  store double 0.000000e+00, ptr %105, align 8, !tbaa !26
  %106 = getelementptr inbounds double, ptr %57, i64 %indvars.iv.next51
  store double 0.000000e+00, ptr %106, align 8, !tbaa !26
  %indvars.iv.next51.1 = add nuw nsw i64 %indvars.iv50, 2
  %107 = getelementptr inbounds double, ptr %55, i64 %indvars.iv.next51.1
  store double 0.000000e+00, ptr %107, align 8, !tbaa !26
  %108 = getelementptr inbounds double, ptr %57, i64 %indvars.iv.next51.1
  store double 0.000000e+00, ptr %108, align 8, !tbaa !26
  %indvars.iv.next51.2 = add nuw nsw i64 %indvars.iv50, 3
  %109 = getelementptr inbounds double, ptr %55, i64 %indvars.iv.next51.2
  store double 0.000000e+00, ptr %109, align 8, !tbaa !26
  %110 = getelementptr inbounds double, ptr %57, i64 %indvars.iv.next51.2
  store double 0.000000e+00, ptr %110, align 8, !tbaa !26
  %indvars.iv.next51.3 = add nuw nsw i64 %indvars.iv50, 4
  %exitcond54.not.3 = icmp eq i64 %indvars.iv.next51.3, %wide.trip.count53
  br i1 %exitcond54.not.3, label %._crit_edge, label %scalar.ph63, !llvm.loop !42

._crit_edge48:                                    ; preds = %scalar.ph76.prol.loopexit, %scalar.ph76, %middle.block75, %._crit_edge.thread, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %117 unwind label %138

scalar.ph76:                                      ; preds = %scalar.ph76.prol.loopexit, %scalar.ph76
  %indvars.iv55 = phi i64 [ %indvars.iv.next56.1, %scalar.ph76 ], [ %indvars.iv55.unr, %scalar.ph76.prol.loopexit ]
  %111 = getelementptr inbounds i32, ptr %81, i64 %indvars.iv55
  store i32 1, ptr %111, align 4, !tbaa !34
  %112 = getelementptr inbounds double, ptr %83, i64 %indvars.iv55
  store double 0.000000e+00, ptr %112, align 8, !tbaa !26
  %113 = getelementptr inbounds double, ptr %85, i64 %indvars.iv55
  store double 0.000000e+00, ptr %113, align 8, !tbaa !26
  %indvars.iv.next56 = add nuw nsw i64 %indvars.iv55, 1
  %114 = getelementptr inbounds i32, ptr %81, i64 %indvars.iv.next56
  store i32 1, ptr %114, align 4, !tbaa !34
  %115 = getelementptr inbounds double, ptr %83, i64 %indvars.iv.next56
  store double 0.000000e+00, ptr %115, align 8, !tbaa !26
  %116 = getelementptr inbounds double, ptr %85, i64 %indvars.iv.next56
  store double 0.000000e+00, ptr %116, align 8, !tbaa !26
  %indvars.iv.next56.1 = add nuw nsw i64 %indvars.iv55, 2
  %exitcond59.not.1 = icmp eq i64 %indvars.iv.next56.1, %wide.trip.count58
  br i1 %exitcond59.not.1, label %._crit_edge48, label %scalar.ph76, !llvm.loop !43

117:                                              ; preds = %._crit_edge48
  %118 = load i32, ptr %26, align 8, !tbaa !18
  %119 = load i32, ptr %14, align 4, !tbaa !5
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull align 8 dereferenceable(32) %5, i32 noundef %118, i32 noundef %119)
          to label %120 unwind label %140

120:                                              ; preds = %117
  %121 = getelementptr inbounds i8, ptr %0, i64 176
  %122 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %121, ptr noundef nonnull align 8 dereferenceable(56) %4)
          to label %123 unwind label %142

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

124:                                              ; preds = %123
  %125 = load i32, ptr %26, align 8, !tbaa !18
  %126 = load i32, ptr %18, align 8, !tbaa !17
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 8 dereferenceable(32) %8, i32 noundef %125, i32 noundef %126)
          to label %127 unwind label %148

127:                                              ; preds = %124
  %128 = getelementptr inbounds i8, ptr %0, i64 232
  %129 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %128, ptr noundef nonnull align 8 dereferenceable(56) %7)
          to label %130 unwind label %150

130:                                              ; preds = %127
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %131 unwind label %154

131:                                              ; preds = %130
  %132 = load i32, ptr %26, align 8, !tbaa !18
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %10, ptr noundef nonnull align 8 dereferenceable(32) %11, i32 noundef %132, i32 noundef %132)
          to label %133 unwind label %156

133:                                              ; preds = %131
  %134 = getelementptr inbounds i8, ptr %0, i64 288
  %135 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7SGTELIB6MatrixaSERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %134, ptr noundef nonnull align 8 dereferenceable(56) %10)
          to label %136 unwind label %158

136:                                              ; preds = %133
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %10) #6
  %137 = getelementptr inbounds i8, ptr %0, i64 20
  store i8 0, ptr %137, align 4, !tbaa !44
  br label %162

138:                                              ; preds = %._crit_edge48
  %139 = landingpad { ptr, i32 }
          cleanup
  br label %145

140:                                              ; preds = %117
  %141 = landingpad { ptr, i32 }
          cleanup
  br label %144

142:                                              ; preds = %120
  %143 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %4) #6
  br label %144

144:                                              ; preds = %142, %140
  %.pn = phi { ptr, i32 } [ %143, %142 ], [ %141, %140 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  br label %145

145:                                              ; preds = %144, %138
  %.pn.pn = phi { ptr, i32 } [ %.pn, %144 ], [ %139, %138 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #6
  br label %163

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

148:                                              ; preds = %124
  %149 = landingpad { ptr, i32 }
          cleanup
  br label %152

150:                                              ; preds = %127
  %151 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #6
  br label %152

152:                                              ; preds = %150, %148
  %.pn35 = phi { ptr, i32 } [ %151, %150 ], [ %149, %148 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  br label %153

153:                                              ; preds = %152, %146
  %.pn35.pn = phi { ptr, i32 } [ %.pn35, %152 ], [ %147, %146 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #6
  br label %163

154:                                              ; preds = %130
  %155 = landingpad { ptr, i32 }
          cleanup
  br label %161

156:                                              ; preds = %131
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %160

158:                                              ; preds = %133
  %159 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #6
  br label %160

160:                                              ; preds = %158, %156
  %.pn38 = phi { ptr, i32 } [ %159, %158 ], [ %157, %156 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  br label %161

161:                                              ; preds = %160, %154
  %.pn38.pn = phi { ptr, i32 } [ %.pn38, %160 ], [ %155, %154 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %10) #6
  br label %163

162:                                              ; preds = %3, %16, %136
  %.031 = phi i1 [ true, %136 ], [ false, %16 ], [ false, %3 ]
  ret i1 %.031

163:                                              ; preds = %161, %153, %145
  %.pn38.pn.pn = phi { ptr, i32 } [ %.pn38.pn, %161 ], [ %.pn35.pn, %153 ], [ %.pn.pn, %145 ]
  resume { ptr, i32 } %.pn38.pn.pn
}

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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, !7, i64 12}
!6 = !{!"_ZTSN7SGTELIB11TrainingSetE", !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 20, !11, i64 24, !10, i64 32, !7, i64 36, !12, i64 40, !12, i64 48, !7, i64 56, !13, i64 64, !13, i64 120, !13, i64 176, !13, i64 232, !13, i64 288, !7, i64 344, !7, i64 348, !7, i64 352, !11, i64 360, !11, i64 368, !11, i64 376, !11, i64 384, !11, i64 392, !11, i64 400, !11, i64 408, !7, i64 416, !7, i64 420, !11, i64 424, !11, i64 432, !11, i64 440, !11, i64 448, !11, i64 456, !11, i64 464, !11, i64 472, !11, i64 480, !11, i64 488, !12, i64 496}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"double", !8, i64 0}
!13 = !{!"_ZTSN7SGTELIB6MatrixE", !14, i64 8, !7, i64 40, !7, i64 44, !11, i64 48}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !15, i64 0, !16, i64 8, !8, i64 16}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !11, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = !{!6, !7, i64 16}
!18 = !{!6, !7, i64 8}
!19 = !{!6, !7, i64 344}
!20 = !{!6, !7, i64 348}
!21 = !{!6, !7, i64 352}
!22 = !{!6, !7, i64 416}
!23 = !{!6, !7, i64 420}
!24 = !{!6, !11, i64 360}
!25 = !{!6, !11, i64 368}
!26 = !{!12, !12, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.unroll.disable"}
!29 = distinct !{!29, !30, !31, !32}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!"llvm.loop.isvectorized", i32 1}
!32 = !{!"llvm.loop.unroll.runtime.disable"}
!33 = !{!6, !11, i64 24}
!34 = !{!35, !35, i64 0}
!35 = !{!"_ZTSN7SGTELIB5bbo_tE", !8, i64 0}
!36 = !{!6, !11, i64 424}
!37 = !{!6, !11, i64 432}
!38 = distinct !{!38, !28}
!39 = distinct !{!39, !30, !31, !32}
!40 = distinct !{!40, !30, !31}
!41 = distinct !{!41, !30, !31, !32}
!42 = distinct !{!42, !30, !31}
!43 = distinct !{!43, !30, !31}
!44 = !{!6, !10, i64 20}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,SROAPass,SimplifyCFGPass,TailCallElimPass