; LLVM IR from facebookresearch/StarSpace :: src (model)

; 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.boost::numeric::ublas::matrix_row" = type { %"class.boost::numeric::ublas::matrix_reference", i64 }
%"class.boost::numeric::ublas::matrix_reference" = type { ptr }
%"class.std::vector.52" = type { %"struct.std::_Vector_base.53" }
%"struct.std::_Vector_base.53" = type { %"struct.std::_Vector_base<starspace::Matrix<>, std::allocator<starspace::Matrix<>>>::_Vector_impl" }
%"struct.std::_Vector_base<starspace::Matrix<>, std::allocator<starspace::Matrix<>>>::_Vector_impl" = type { %"struct.std::_Vector_base<starspace::Matrix<>, std::allocator<starspace::Matrix<>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<starspace::Matrix<>, std::allocator<starspace::Matrix<>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.54" = type { i8 }
%"class.std::vector.63" = type { %"struct.std::_Vector_base.64" }
%"struct.std::_Vector_base.64" = type { %"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.65" = type { i8 }
%"class.std::vector.57" = type { %"struct.std::_Vector_base.58" }
%"struct.std::_Vector_base.58" = type { %"struct.std::_Vector_base<std::vector<std::pair<int, float>>, std::allocator<std::vector<std::pair<int, float>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<std::pair<int, float>>, std::allocator<std::vector<std::pair<int, float>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<std::pair<int, float>>, std::allocator<std::vector<std::pair<int, float>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<std::pair<int, float>>, std::allocator<std::vector<std::pair<int, float>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.13" = type { i8 }
%"class.std::vector.24" = type { %"struct.std::_Vector_base.25" }
%"struct.std::_Vector_base.25" = type { %"struct.std::_Vector_base<std::pair<int, float>, std::allocator<std::pair<int, float>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, float>, std::allocator<std::pair<int, float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, float>, std::allocator<std::pair<int, float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, float>, std::allocator<std::pair<int, float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.starspace::ParseResults" = type { float, %"class.std::vector.24", %"class.std::vector.24", %"class.std::vector.57" }
%"struct.starspace::Matrix" = type { %"class.boost::numeric::ublas::matrix" }
%"class.boost::numeric::ublas::matrix" = type { i64, i64, %"class.boost::numeric::ublas::unbounded_array" }
%"class.boost::numeric::ublas::unbounded_array" = type { [8 x i8], i64, ptr }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN9starspace3dotEN5boost7numeric5ublas10matrix_rowINS2_6matrixIfNS2_15basic_row_majorImlEENS2_15unbounded_arrayIfSaIfEEEEEEESB_(ptr noundef, ptr noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9starspace10EmbedModel10projectRHSERKSt6vectorISt4pairIifESaIS3_EERNS_6MatrixIfEE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(40)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9starspace10EmbedModel10projectLHSERKSt6vectorISt4pairIifESaIS3_EERNS_6MatrixIfEE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(40)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9starspace6MatrixIfEcvN5boost7numeric5ublas10matrix_rowINS4_6matrixIfNS4_15basic_row_majorImlEENS4_15unbounded_arrayIfSaIfEEEEEEEEv(ptr dead_on_unwind noalias writable sret(%"class.boost::numeric::ublas::matrix_row") align 8, ptr noundef nonnull align 8 dereferenceable(40)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5boost7numeric5ublas10matrix_rowINS1_6matrixIfNS1_15basic_row_majorImlEENS1_15unbounded_arrayIfSaIfEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9starspace10EmbedModel5checkERKNS_6MatrixIfEE(ptr noundef nonnull align 8 dereferenceable(40)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorISt4pairIifESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

declare void @_ZN9starspace17InternDataHandler13getRandomWordERSt6vectorISt4pairIifESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(24)) #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorISt4pairIifESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZSteqISt4pairIifESaIS1_EEbRKSt6vectorIT_T0_ES8_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9starspace6MatrixIfE3addERKS1_f(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40), float noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9starspace10EmbedModel8backwardERKSt6vectorINS_12ParseResultsESaIS2_EERKS1_IS1_ISt4pairIifESaIS8_EESaISA_EES1_INS_6MatrixIfEESaISG_EESI_RKS1_IiSaIiEEfRKS1_IfSaIfEERKS1_ISO_SaISO_EE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24), float noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef float @_ZN9starspace10EmbedModel13trainNLLBatchESt10shared_ptrINS_17InternDataHandlerEERKSt6vectorINS_12ParseResultsESaIS5_EEifb(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %3, float noundef %4, i1 noundef zeroext %5) #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca float, align 4
  %12 = alloca i8, align 1
  %13 = alloca i64, align 8
  %14 = alloca %"class.std::vector.52", align 8
  %15 = alloca %"class.std::allocator.54", align 1
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca %"class.std::vector.52", align 8
  %19 = alloca %"class.std::allocator.54", align 1
  %20 = alloca %"class.std::vector.52", align 8
  %21 = alloca %"class.std::allocator.54", align 1
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca %"class.std::vector.63", align 8
  %26 = alloca %"class.std::allocator.65", align 1
  %27 = alloca %"class.std::vector.57", align 8
  %28 = alloca %"class.std::vector.52", align 8
  %29 = alloca %"class.std::allocator.54", align 1
  %30 = alloca %"class.std::vector", align 8
  %31 = alloca %"class.std::allocator", align 1
  %32 = alloca %"class.std::vector.63", align 8
  %33 = alloca %"class.std::allocator.65", align 1
  %34 = alloca %"class.std::vector.11", align 8
  %35 = alloca i32, align 4
  %36 = alloca %"class.std::allocator.13", align 1
  %37 = alloca %"class.std::vector", align 8
  %38 = alloca %"class.std::allocator", align 1
  %39 = alloca float, align 4
  %40 = alloca i32, align 4
  %41 = alloca %"class.std::vector.24", align 8
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca %"class.std::vector.11", align 8
  %45 = alloca i32, align 4
  %46 = alloca float, align 4
  %47 = alloca %"class.boost::numeric::ublas::matrix_row", align 8
  %48 = alloca %"class.boost::numeric::ublas::matrix_row", align 8
  %49 = alloca float, align 4
  %50 = alloca i32, align 4
  %51 = alloca float, align 4
  %52 = alloca %"class.boost::numeric::ublas::matrix_row", align 8
  %53 = alloca %"class.boost::numeric::ublas::matrix_row", align 8
  %54 = alloca float, align 4
  %55 = alloca i32, align 4
  %56 = alloca i32, align 4
  %57 = alloca float, align 4
  %58 = alloca i32, align 4
  %59 = alloca i32, align 4
  %60 = alloca %"class.std::vector.52", align 8
  %61 = alloca %"class.std::vector.52", align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store i32 %3, ptr %10, align 4, !tbaa !9
  store float %4, ptr %11, align 4, !tbaa !11
  %62 = zext i1 %5 to i8
  store i8 %62, ptr %12, align 1, !tbaa !13
  %63 = load ptr, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  %65 = call noundef i64 @_ZNKSt6vectorIN9starspace12ParseResultsESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #6
  store i64 %65, ptr %13, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #6
  %66 = load i64, ptr %13, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #6
  call void @_ZNSaIN9starspace6MatrixIfEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  invoke void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %66, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %67 unwind label %79

67:                                               ; preds = %6
  call void @_ZNSt15__new_allocatorIN9starspace6MatrixIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #6
  %68 = load i64, ptr %13, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #6
  call void @_ZNSaIN9starspace6MatrixIfEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  invoke void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %68, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %69 unwind label %83

69:                                               ; preds = %67
  call void @_ZNSt15__new_allocatorIN9starspace6MatrixIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #6
  %70 = load i32, ptr %10, align 4, !tbaa !9
  %71 = sext i32 %70 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #6
  call void @_ZNSaIN9starspace6MatrixIfEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  invoke void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %71, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %72 unwind label %87

72:                                               ; preds = %69
  call void @_ZNSt15__new_allocatorIN9starspace6MatrixIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %73

73:                                               ; preds = %120, %72
  %74 = load i32, ptr %22, align 4, !tbaa !9
  %75 = sext i32 %74 to i64
  %76 = load i64, ptr %13, align 8, !tbaa !15
  %77 = icmp ult i64 %75, %76
  br i1 %77, label %91, label %78

78:                                               ; preds = %73
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %127

79:                                               ; preds = %6
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %16, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %17, align 4
  call void @_ZNSt15__new_allocatorIN9starspace6MatrixIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  br label %544

83:                                               ; preds = %67
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %16, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %17, align 4
  call void @_ZNSt15__new_allocatorIN9starspace6MatrixIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  br label %543

87:                                               ; preds = %69
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %16, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %17, align 4
  call void @_ZNSt15__new_allocatorIN9starspace6MatrixIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  br label %542

91:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %92 = load ptr, ptr %9, align 8, !tbaa !5
  %93 = load i32, ptr %22, align 4, !tbaa !9
  %94 = sext i32 %93 to i64
  %95 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN9starspace12ParseResultsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %92, i64 noundef %94) #6
  %96 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %95, i32 0, i32 1
  store ptr %96, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  %98 = load i32, ptr %22, align 4, !tbaa !9
  %99 = sext i32 %98 to i64
  %100 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN9starspace12ParseResultsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %97, i64 noundef %99) #6
  %101 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %100, i32 0, i32 2
  store ptr %101, ptr %24, align 8, !tbaa !5
  %102 = load ptr, ptr %23, align 8, !tbaa !5
  %103 = load i32, ptr %22, align 4, !tbaa !9
  %104 = sext i32 %103 to i64
  %105 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %104) #6
  invoke void @_ZN9starspace10EmbedModel10projectLHSERKSt6vectorISt4pairIifESaIS3_EERNS_6MatrixIfEE(ptr noundef nonnull align 8 dereferenceable(112) %63, ptr noundef nonnull align 8 dereferenceable(24) %102, ptr noundef nonnull align 8 dereferenceable(40) %105)
          to label %106 unwind label %123

106:                                              ; preds = %91
  %107 = load i32, ptr %22, align 4, !tbaa !9
  %108 = sext i32 %107 to i64
  %109 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %108) #6
  invoke void @_ZN9starspace10EmbedModel5checkERKNS_6MatrixIfEE(ptr noundef nonnull align 8 dereferenceable(40) %109)
          to label %110 unwind label %123

110:                                              ; preds = %106
  %111 = load ptr, ptr %24, align 8, !tbaa !5
  %112 = load i32, ptr %22, align 4, !tbaa !9
  %113 = sext i32 %112 to i64
  %114 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %113) #6
  invoke void @_ZN9starspace10EmbedModel10projectRHSERKSt6vectorISt4pairIifESaIS3_EERNS_6MatrixIfEE(ptr noundef nonnull align 8 dereferenceable(112) %63, ptr noundef nonnull align 8 dereferenceable(24) %111, ptr noundef nonnull align 8 dereferenceable(40) %114)
          to label %115 unwind label %123

115:                                              ; preds = %110
  %116 = load i32, ptr %22, align 4, !tbaa !9
  %117 = sext i32 %116 to i64
  %118 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %117) #6
  invoke void @_ZN9starspace10EmbedModel5checkERKNS_6MatrixIfEE(ptr noundef nonnull align 8 dereferenceable(40) %118)
          to label %119 unwind label %123

119:                                              ; preds = %115
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %120

120:                                              ; preds = %119
  %121 = load i32, ptr %22, align 4, !tbaa !9
  %122 = add nsw i32 %121, 1
  store i32 %122, ptr %22, align 4, !tbaa !9
  br label %73, !llvm.loop !17

123:                                              ; preds = %115, %110, %106, %91
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %16, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %541

127:                                              ; preds = %78
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #6
  %128 = load i64, ptr %13, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #6
  call void @_ZNSaISt6vectorIfSaIfEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #6
  invoke void @_ZNSt6vectorIS_IfSaIfEESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %128, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %129 unwind label %145

129:                                              ; preds = %127
  call void @_ZNSt15__new_allocatorISt6vectorIfSaIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %27) #6
  call void @_ZNSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #6
  %130 = load i64, ptr %13, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #6
  call void @_ZNSaIN9starspace6MatrixIfEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #6
  invoke void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %130, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %131 unwind label %149

131:                                              ; preds = %129
  call void @_ZNSt15__new_allocatorIN9starspace6MatrixIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #6
  %132 = load i64, ptr %13, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #6
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #6
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %132, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %133 unwind label %153

133:                                              ; preds = %131
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #6
  %134 = load i64, ptr %13, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #6
  call void @_ZNSaISt6vectorIfSaIfEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #6
  invoke void @_ZNSt6vectorIS_IfSaIfEESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %134, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %135 unwind label %157

135:                                              ; preds = %133
  call void @_ZNSt15__new_allocatorISt6vectorIfSaIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %34) #6
  %136 = load i64, ptr %13, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  store i32 0, ptr %35, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %136, ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %137 unwind label %161

137:                                              ; preds = %135
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %37) #6
  %138 = load i64, ptr %13, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #6
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #6
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %138, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %139 unwind label %165

139:                                              ; preds = %137
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #6
  store float 0.000000e+00, ptr %39, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #6
  store i32 0, ptr %40, align 4, !tbaa !9
  br label %140

140:                                              ; preds = %195, %139
  %141 = load i32, ptr %40, align 4, !tbaa !9
  %142 = load i32, ptr %10, align 4, !tbaa !9
  %143 = icmp slt i32 %141, %142
  br i1 %143, label %169, label %144

144:                                              ; preds = %140
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #6
  br label %198

145:                                              ; preds = %127
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %16, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %17, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIfSaIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #6
  br label %540

149:                                              ; preds = %129
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %16, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %17, align 4
  call void @_ZNSt15__new_allocatorIN9starspace6MatrixIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #6
  br label %539

153:                                              ; preds = %131
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %16, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %17, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #6
  br label %538

157:                                              ; preds = %133
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %16, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %17, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIfSaIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #6
  br label %537

161:                                              ; preds = %135
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %16, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %17, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  br label %536

165:                                              ; preds = %137
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %16, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %17, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #6
  br label %535

169:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 24, ptr %41) #6
  call void @_ZNSt6vectorISt4pairIifESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #6
  %170 = load i8, ptr %12, align 1, !tbaa !13, !range !19, !noundef !20
  %171 = trunc i8 %170 to i1
  br i1 %171, label %172, label %179

172:                                              ; preds = %169
  %173 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace17InternDataHandlerELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #6
  invoke void @_ZN9starspace17InternDataHandler13getRandomWordERSt6vectorISt4pairIifESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(88) %173, ptr noundef nonnull align 8 dereferenceable(24) %41)
          to label %174 unwind label %175

174:                                              ; preds = %172
  br label %185

175:                                              ; preds = %193, %189, %185, %179, %172
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %16, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %17, align 4
  call void @_ZNSt6vectorISt4pairIifESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #6
  br label %534

179:                                              ; preds = %169
  %180 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace17InternDataHandlerELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #6
  %181 = load ptr, ptr %180, align 8, !tbaa !21
  %182 = getelementptr inbounds ptr, ptr %181, i64 2
  %183 = load ptr, ptr %182, align 8
  invoke void %183(ptr noundef nonnull align 8 dereferenceable(88) %180, ptr noundef nonnull align 8 dereferenceable(24) %41)
          to label %184 unwind label %175

184:                                              ; preds = %179
  br label %185

185:                                              ; preds = %184, %174
  %186 = load i32, ptr %40, align 4, !tbaa !9
  %187 = sext i32 %186 to i64
  %188 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %187) #6
  invoke void @_ZN9starspace10EmbedModel10projectRHSERKSt6vectorISt4pairIifESaIS3_EERNS_6MatrixIfEE(ptr noundef nonnull align 8 dereferenceable(112) %63, ptr noundef nonnull align 8 dereferenceable(24) %41, ptr noundef nonnull align 8 dereferenceable(40) %188)
          to label %189 unwind label %175

189:                                              ; preds = %185
  %190 = load i32, ptr %40, align 4, !tbaa !9
  %191 = sext i32 %190 to i64
  %192 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %191) #6
  invoke void @_ZN9starspace10EmbedModel5checkERKNS_6MatrixIfEE(ptr noundef nonnull align 8 dereferenceable(40) %192)
          to label %193 unwind label %175

193:                                              ; preds = %189
  invoke void @_ZNSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(24) %41)
          to label %194 unwind label %175

194:                                              ; preds = %193
  call void @_ZNSt6vectorISt4pairIifESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #6
  br label %195

195:                                              ; preds = %194
  %196 = load i32, ptr %40, align 4, !tbaa !9
  %197 = add nsw i32 %196, 1
  store i32 %197, ptr %40, align 4, !tbaa !9
  br label %140, !llvm.loop !23

198:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #6
  store i32 0, ptr %42, align 4, !tbaa !9
  br label %199

199:                                              ; preds = %507, %198
  %200 = load i32, ptr %42, align 4, !tbaa !9
  %201 = sext i32 %200 to i64
  %202 = load i64, ptr %13, align 8, !tbaa !15
  %203 = icmp ult i64 %201, %202
  br i1 %203, label %205, label %204

204:                                              ; preds = %199
  store i32 8, ptr %43, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #6
  br label %514

205:                                              ; preds = %199
  %206 = load i32, ptr %42, align 4, !tbaa !9
  %207 = sext i32 %206 to i64
  %208 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %207) #6
  %209 = load i32, ptr %10, align 4, !tbaa !9
  %210 = sext i32 %209 to i64
  invoke void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %208, i64 noundef %210)
          to label %211 unwind label %239

211:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 24, ptr %44) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #6
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #6
  store i32 1, ptr %45, align 4, !tbaa !9
  %212 = load i32, ptr %42, align 4, !tbaa !9
  %213 = sext i32 %212 to i64
  %214 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %213) #6
  call void @_ZNSt6vectorIfSaIfEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %214) #6
  %215 = load i32, ptr %42, align 4, !tbaa !9
  %216 = sext i32 %215 to i64
  %217 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %216) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #6
  %218 = load i32, ptr %42, align 4, !tbaa !9
  %219 = sext i32 %218 to i64
  %220 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %219) #6
  invoke void @_ZN9starspace6MatrixIfEcvN5boost7numeric5ublas10matrix_rowINS4_6matrixIfNS4_15basic_row_majorImlEENS4_15unbounded_arrayIfSaIfEEEEEEEEv(ptr dead_on_unwind writable sret(%"class.boost::numeric::ublas::matrix_row") align 8 %47, ptr noundef nonnull align 8 dereferenceable(40) %220)
          to label %221 unwind label %243

221:                                              ; preds = %211
  %222 = load i32, ptr %42, align 4, !tbaa !9
  %223 = sext i32 %222 to i64
  %224 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %223) #6
  invoke void @_ZN9starspace6MatrixIfEcvN5boost7numeric5ublas10matrix_rowINS4_6matrixIfNS4_15basic_row_majorImlEENS4_15unbounded_arrayIfSaIfEEEEEEEEv(ptr dead_on_unwind writable sret(%"class.boost::numeric::ublas::matrix_row") align 8 %48, ptr noundef nonnull align 8 dereferenceable(40) %224)
          to label %225 unwind label %247

225:                                              ; preds = %221
  %226 = invoke noundef float @_ZN9starspace3dotEN5boost7numeric5ublas10matrix_rowINS2_6matrixIfNS2_15basic_row_majorImlEENS2_15unbounded_arrayIfSaIfEEEEEEESB_(ptr noundef %47, ptr noundef %48)
          to label %227 unwind label %251

227:                                              ; preds = %225
  store float %226, ptr %46, align 4, !tbaa !11
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %217, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %228 unwind label %251

228:                                              ; preds = %227
  call void @_ZN5boost7numeric5ublas10matrix_rowINS1_6matrixIfNS1_15basic_row_majorImlEENS1_15unbounded_arrayIfSaIfEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %48) #6
  call void @_ZN5boost7numeric5ublas10matrix_rowINS1_6matrixIfNS1_15basic_row_majorImlEENS1_15unbounded_arrayIfSaIfEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %47) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #6
  %229 = load i32, ptr %42, align 4, !tbaa !9
  %230 = sext i32 %229 to i64
  %231 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %230) #6
  %232 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %231, i64 noundef 0) #6
  %233 = load float, ptr %232, align 4, !tbaa !11
  store float %233, ptr %49, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #6
  store i32 0, ptr %50, align 4, !tbaa !9
  br label %234

234:                                              ; preds = %310, %228
  %235 = load i32, ptr %50, align 4, !tbaa !9
  %236 = load i32, ptr %10, align 4, !tbaa !9
  %237 = icmp slt i32 %235, %236
  br i1 %237, label %257, label %238

238:                                              ; preds = %234
  store i32 11, ptr %43, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #6
  br label %328

239:                                              ; preds = %205
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %16, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %17, align 4
  br label %513

243:                                              ; preds = %211
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %16, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %17, align 4
  br label %256

247:                                              ; preds = %221
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %16, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %17, align 4
  br label %255

251:                                              ; preds = %227, %225
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %16, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %17, align 4
  call void @_ZN5boost7numeric5ublas10matrix_rowINS1_6matrixIfNS1_15basic_row_majorImlEENS1_15unbounded_arrayIfSaIfEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %48) #6
  br label %255

255:                                              ; preds = %251, %247
  call void @_ZN5boost7numeric5ublas10matrix_rowINS1_6matrixIfNS1_15basic_row_majorImlEENS1_15unbounded_arrayIfSaIfEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %47) #6
  br label %256

256:                                              ; preds = %255, %243
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #6
  br label %512

257:                                              ; preds = %234
  %258 = load i32, ptr %42, align 4, !tbaa !9
  %259 = sext i32 %258 to i64
  %260 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %259) #6
  %261 = load i32, ptr %50, align 4, !tbaa !9
  %262 = sext i32 %261 to i64
  %263 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %260, i64 noundef %262) #6
  store float 0.000000e+00, ptr %263, align 4, !tbaa !11
  %264 = load i32, ptr %50, align 4, !tbaa !9
  %265 = sext i32 %264 to i64
  %266 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %265) #6
  %267 = load ptr, ptr %9, align 8, !tbaa !5
  %268 = load i32, ptr %42, align 4, !tbaa !9
  %269 = sext i32 %268 to i64
  %270 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN9starspace12ParseResultsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %267, i64 noundef %269) #6
  %271 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %270, i32 0, i32 2
  %272 = invoke noundef zeroext i1 @_ZSteqISt4pairIifESaIS1_EEbRKSt6vectorIT_T0_ES8_(ptr noundef nonnull align 8 dereferenceable(24) %266, ptr noundef nonnull align 8 dereferenceable(24) %271)
          to label %273 unwind label %275

273:                                              ; preds = %257
  br i1 %272, label %274, label %279

274:                                              ; preds = %273
  br label %310

275:                                              ; preds = %305, %293, %257
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %16, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %17, align 4
  br label %327

279:                                              ; preds = %273
  %280 = load i32, ptr %42, align 4, !tbaa !9
  %281 = sext i32 %280 to i64
  %282 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %281) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #6
  %283 = load i32, ptr %42, align 4, !tbaa !9
  %284 = sext i32 %283 to i64
  %285 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %284) #6
  invoke void @_ZN9starspace6MatrixIfEcvN5boost7numeric5ublas10matrix_rowINS4_6matrixIfNS4_15basic_row_majorImlEENS4_15unbounded_arrayIfSaIfEEEEEEEEv(ptr dead_on_unwind writable sret(%"class.boost::numeric::ublas::matrix_row") align 8 %52, ptr noundef nonnull align 8 dereferenceable(40) %285)
          to label %286 unwind label %313

286:                                              ; preds = %279
  %287 = load i32, ptr %50, align 4, !tbaa !9
  %288 = sext i32 %287 to i64
  %289 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %288) #6
  invoke void @_ZN9starspace6MatrixIfEcvN5boost7numeric5ublas10matrix_rowINS4_6matrixIfNS4_15basic_row_majorImlEENS4_15unbounded_arrayIfSaIfEEEEEEEEv(ptr dead_on_unwind writable sret(%"class.boost::numeric::ublas::matrix_row") align 8 %53, ptr noundef nonnull align 8 dereferenceable(40) %289)
          to label %290 unwind label %317

290:                                              ; preds = %286
  %291 = invoke noundef float @_ZN9starspace3dotEN5boost7numeric5ublas10matrix_rowINS2_6matrixIfNS2_15basic_row_majorImlEENS2_15unbounded_arrayIfSaIfEEEEEEESB_(ptr noundef %52, ptr noundef %53)
          to label %292 unwind label %321

292:                                              ; preds = %290
  store float %291, ptr %51, align 4, !tbaa !11
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %282, ptr noundef nonnull align 4 dereferenceable(4) %51)
          to label %293 unwind label %321

293:                                              ; preds = %292
  call void @_ZN5boost7numeric5ublas10matrix_rowINS1_6matrixIfNS1_15basic_row_majorImlEENS1_15unbounded_arrayIfSaIfEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %53) #6
  call void @_ZN5boost7numeric5ublas10matrix_rowINS1_6matrixIfNS1_15basic_row_majorImlEENS1_15unbounded_arrayIfSaIfEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %52) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #6
  %294 = load i32, ptr %42, align 4, !tbaa !9
  %295 = sext i32 %294 to i64
  %296 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %295) #6
  %297 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %296, i64 noundef 0) #6
  %298 = load i32, ptr %42, align 4, !tbaa !9
  %299 = sext i32 %298 to i64
  %300 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %299) #6
  %301 = load i32, ptr %45, align 4, !tbaa !9
  %302 = sext i32 %301 to i64
  %303 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %300, i64 noundef %302) #6
  %304 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %297, ptr noundef nonnull align 4 dereferenceable(4) %303)
          to label %305 unwind label %275

305:                                              ; preds = %293
  %306 = load float, ptr %304, align 4, !tbaa !11
  store float %306, ptr %49, align 4, !tbaa !11
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %44, ptr noundef nonnull align 4 dereferenceable(4) %50)
          to label %307 unwind label %275

307:                                              ; preds = %305
  %308 = load i32, ptr %45, align 4, !tbaa !9
  %309 = add nsw i32 %308, 1
  store i32 %309, ptr %45, align 4, !tbaa !9
  br label %310

310:                                              ; preds = %307, %274
  %311 = load i32, ptr %50, align 4, !tbaa !9
  %312 = add nsw i32 %311, 1
  store i32 %312, ptr %50, align 4, !tbaa !9
  br label %234, !llvm.loop !24

313:                                              ; preds = %279
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %16, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %17, align 4
  br label %326

317:                                              ; preds = %286
  %318 = landingpad { ptr, i32 }
          cleanup
  %319 = extractvalue { ptr, i32 } %318, 0
  store ptr %319, ptr %16, align 8
  %320 = extractvalue { ptr, i32 } %318, 1
  store i32 %320, ptr %17, align 4
  br label %325

321:                                              ; preds = %292, %290
  %322 = landingpad { ptr, i32 }
          cleanup
  %323 = extractvalue { ptr, i32 } %322, 0
  store ptr %323, ptr %16, align 8
  %324 = extractvalue { ptr, i32 } %322, 1
  store i32 %324, ptr %17, align 4
  call void @_ZN5boost7numeric5ublas10matrix_rowINS1_6matrixIfNS1_15basic_row_majorImlEENS1_15unbounded_arrayIfSaIfEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %53) #6
  br label %325

325:                                              ; preds = %321, %317
  call void @_ZN5boost7numeric5ublas10matrix_rowINS1_6matrixIfNS1_15basic_row_majorImlEENS1_15unbounded_arrayIfSaIfEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %52) #6
  br label %326

326:                                              ; preds = %325, %313
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #6
  br label %327

327:                                              ; preds = %326, %275
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #6
  br label %511

328:                                              ; preds = %238
  %329 = load i32, ptr %42, align 4, !tbaa !9
  %330 = sext i32 %329 to i64
  %331 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %330) #6
  store float 0.000000e+00, ptr %331, align 4, !tbaa !11
  %332 = load i32, ptr %45, align 4, !tbaa !9
  %333 = icmp eq i32 %332, 1
  br i1 %333, label %334, label %335

334:                                              ; preds = %328
  store i32 10, ptr %43, align 4
  br label %504

335:                                              ; preds = %328
  %336 = load i32, ptr %45, align 4, !tbaa !9
  %337 = sub nsw i32 %336, 1
  %338 = load i32, ptr %42, align 4, !tbaa !9
  %339 = sext i32 %338 to i64
  %340 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %339) #6
  store i32 %337, ptr %340, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #6
  store float 0.000000e+00, ptr %54, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #6
  store i32 0, ptr %55, align 4, !tbaa !9
  br label %341

341:                                              ; preds = %373, %335
  %342 = load i32, ptr %55, align 4, !tbaa !9
  %343 = load i32, ptr %45, align 4, !tbaa !9
  %344 = icmp slt i32 %342, %343
  br i1 %344, label %346, label %345

345:                                              ; preds = %341
  store i32 14, ptr %43, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #6
  br label %380

346:                                              ; preds = %341
  %347 = load i32, ptr %42, align 4, !tbaa !9
  %348 = sext i32 %347 to i64
  %349 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %348) #6
  %350 = load i32, ptr %55, align 4, !tbaa !9
  %351 = sext i32 %350 to i64
  %352 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %349, i64 noundef %351) #6
  %353 = load float, ptr %352, align 4, !tbaa !11
  %354 = load float, ptr %49, align 4, !tbaa !11
  %355 = fsub float %353, %354
  %356 = invoke noundef float @_ZSt3expf(float noundef %355)
          to label %357 unwind label %376

357:                                              ; preds = %346
  %358 = load i32, ptr %42, align 4, !tbaa !9
  %359 = sext i32 %358 to i64
  %360 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %359) #6
  %361 = load i32, ptr %55, align 4, !tbaa !9
  %362 = sext i32 %361 to i64
  %363 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %360, i64 noundef %362) #6
  store float %356, ptr %363, align 4, !tbaa !11
  %364 = load i32, ptr %42, align 4, !tbaa !9
  %365 = sext i32 %364 to i64
  %366 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %365) #6
  %367 = load i32, ptr %55, align 4, !tbaa !9
  %368 = sext i32 %367 to i64
  %369 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %366, i64 noundef %368) #6
  %370 = load float, ptr %369, align 4, !tbaa !11
  %371 = load float, ptr %54, align 4, !tbaa !11
  %372 = fadd float %371, %370
  store float %372, ptr %54, align 4, !tbaa !11
  br label %373

373:                                              ; preds = %357
  %374 = load i32, ptr %55, align 4, !tbaa !9
  %375 = add nsw i32 %374, 1
  store i32 %375, ptr %55, align 4, !tbaa !9
  br label %341, !llvm.loop !25

376:                                              ; preds = %346
  %377 = landingpad { ptr, i32 }
          cleanup
  %378 = extractvalue { ptr, i32 } %377, 0
  store ptr %378, ptr %16, align 8
  %379 = extractvalue { ptr, i32 } %377, 1
  store i32 %379, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #6
  br label %510

380:                                              ; preds = %345
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #6
  store i32 0, ptr %56, align 4, !tbaa !9
  br label %381

381:                                              ; preds = %396, %380
  %382 = load i32, ptr %56, align 4, !tbaa !9
  %383 = load i32, ptr %45, align 4, !tbaa !9
  %384 = icmp slt i32 %382, %383
  br i1 %384, label %386, label %385

385:                                              ; preds = %381
  store i32 17, ptr %43, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #6
  br label %399

386:                                              ; preds = %381
  %387 = load float, ptr %54, align 4, !tbaa !11
  %388 = load i32, ptr %42, align 4, !tbaa !9
  %389 = sext i32 %388 to i64
  %390 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %389) #6
  %391 = load i32, ptr %56, align 4, !tbaa !9
  %392 = sext i32 %391 to i64
  %393 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %390, i64 noundef %392) #6
  %394 = load float, ptr %393, align 4, !tbaa !11
  %395 = fdiv float %394, %387
  store float %395, ptr %393, align 4, !tbaa !11
  br label %396

396:                                              ; preds = %386
  %397 = load i32, ptr %56, align 4, !tbaa !9
  %398 = add nsw i32 %397, 1
  store i32 %398, ptr %56, align 4, !tbaa !9
  br label %381, !llvm.loop !26

399:                                              ; preds = %385
  %400 = load i32, ptr %42, align 4, !tbaa !9
  %401 = sext i32 %400 to i64
  %402 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %401) #6
  %403 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %402, i64 noundef 0) #6
  %404 = load float, ptr %403, align 4, !tbaa !11
  %405 = invoke noundef float @_ZSt3logf(float noundef %404)
          to label %406 unwind label %442

406:                                              ; preds = %399
  %407 = fneg float %405
  %408 = load i32, ptr %42, align 4, !tbaa !9
  %409 = sext i32 %408 to i64
  %410 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %409) #6
  store float %407, ptr %410, align 4, !tbaa !11
  %411 = load i32, ptr %42, align 4, !tbaa !9
  %412 = sext i32 %411 to i64
  %413 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %412) #6
  %414 = load float, ptr %413, align 4, !tbaa !11
  %415 = load float, ptr %39, align 4, !tbaa !11
  %416 = fadd float %415, %414
  store float %416, ptr %39, align 4, !tbaa !11
  %417 = load i32, ptr %42, align 4, !tbaa !9
  %418 = sext i32 %417 to i64
  %419 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %418) #6
  %420 = load i32, ptr %42, align 4, !tbaa !9
  %421 = sext i32 %420 to i64
  %422 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %421) #6
  %423 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN9starspace6MatrixIfEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %422, ptr noundef nonnull align 8 dereferenceable(40) %419)
          to label %424 unwind label %442

424:                                              ; preds = %406
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #6
  %425 = load i32, ptr %42, align 4, !tbaa !9
  %426 = sext i32 %425 to i64
  %427 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %426) #6
  %428 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %427, i64 noundef 0) #6
  %429 = load float, ptr %428, align 4, !tbaa !11
  %430 = fsub float %429, 1.000000e+00
  store float %430, ptr %57, align 4, !tbaa !11
  %431 = load i32, ptr %42, align 4, !tbaa !9
  %432 = sext i32 %431 to i64
  %433 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %432) #6
  %434 = getelementptr inbounds %"struct.starspace::Matrix", ptr %433, i32 0, i32 0
  %435 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN5boost7numeric5ublas6matrixIfNS1_15basic_row_majorImlEENS1_15unbounded_arrayIfSaIfEEEEmLIfEERS8_RKT_(ptr noundef nonnull align 8 dereferenceable(40) %434, ptr noundef nonnull align 4 dereferenceable(4) %57)
          to label %436 unwind label %446

436:                                              ; preds = %424
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #6
  store i32 1, ptr %58, align 4, !tbaa !9
  br label %437

437:                                              ; preds = %485, %436
  %438 = load i32, ptr %58, align 4, !tbaa !9
  %439 = load i32, ptr %45, align 4, !tbaa !9
  %440 = icmp slt i32 %438, %439
  br i1 %440, label %450, label %441

441:                                              ; preds = %437
  store i32 20, ptr %43, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #6
  br label %492

442:                                              ; preds = %406, %399
  %443 = landingpad { ptr, i32 }
          cleanup
  %444 = extractvalue { ptr, i32 } %443, 0
  store ptr %444, ptr %16, align 8
  %445 = extractvalue { ptr, i32 } %443, 1
  store i32 %445, ptr %17, align 4
  br label %510

446:                                              ; preds = %424
  %447 = landingpad { ptr, i32 }
          cleanup
  %448 = extractvalue { ptr, i32 } %447, 0
  store ptr %448, ptr %16, align 8
  %449 = extractvalue { ptr, i32 } %447, 1
  store i32 %449, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #6
  br label %510

450:                                              ; preds = %437
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #6
  %451 = load i32, ptr %58, align 4, !tbaa !9
  %452 = sub nsw i32 %451, 1
  %453 = sext i32 %452 to i64
  %454 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %453) #6
  %455 = load i32, ptr %454, align 4, !tbaa !9
  store i32 %455, ptr %59, align 4, !tbaa !9
  %456 = load i32, ptr %42, align 4, !tbaa !9
  %457 = sext i32 %456 to i64
  %458 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %457) #6
  %459 = load i32, ptr %59, align 4, !tbaa !9
  %460 = sext i32 %459 to i64
  %461 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %460) #6
  %462 = load i32, ptr %42, align 4, !tbaa !9
  %463 = sext i32 %462 to i64
  %464 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %463) #6
  %465 = load i32, ptr %58, align 4, !tbaa !9
  %466 = sext i32 %465 to i64
  %467 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %464, i64 noundef %466) #6
  %468 = load float, ptr %467, align 4, !tbaa !11
  invoke void @_ZN9starspace6MatrixIfE3addERKS1_f(ptr noundef nonnull align 8 dereferenceable(40) %458, ptr noundef nonnull align 8 dereferenceable(40) %461, float noundef %468)
          to label %469 unwind label %488

469:                                              ; preds = %450
  %470 = load i32, ptr %42, align 4, !tbaa !9
  %471 = sext i32 %470 to i64
  %472 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %471) #6
  %473 = load i32, ptr %58, align 4, !tbaa !9
  %474 = sext i32 %473 to i64
  %475 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %472, i64 noundef %474) #6
  %476 = load float, ptr %475, align 4, !tbaa !11
  %477 = load float, ptr %11, align 4, !tbaa !11
  %478 = fmul float %476, %477
  %479 = load i32, ptr %42, align 4, !tbaa !9
  %480 = sext i32 %479 to i64
  %481 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %480) #6
  %482 = load i32, ptr %59, align 4, !tbaa !9
  %483 = sext i32 %482 to i64
  %484 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %481, i64 noundef %483) #6
  store float %478, ptr %484, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #6
  br label %485

485:                                              ; preds = %469
  %486 = load i32, ptr %58, align 4, !tbaa !9
  %487 = add nsw i32 %486, 1
  store i32 %487, ptr %58, align 4, !tbaa !9
  br label %437, !llvm.loop !27

488:                                              ; preds = %450
  %489 = landingpad { ptr, i32 }
          cleanup
  %490 = extractvalue { ptr, i32 } %489, 0
  store ptr %490, ptr %16, align 8
  %491 = extractvalue { ptr, i32 } %489, 1
  store i32 %491, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #6
  br label %510

492:                                              ; preds = %441
  %493 = load i32, ptr %42, align 4, !tbaa !9
  %494 = sext i32 %493 to i64
  %495 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %494) #6
  %496 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %495, i64 noundef 0) #6
  %497 = load float, ptr %496, align 4, !tbaa !11
  %498 = fsub float %497, 1.000000e+00
  %499 = load float, ptr %11, align 4, !tbaa !11
  %500 = fmul float %498, %499
  %501 = load i32, ptr %42, align 4, !tbaa !9
  %502 = sext i32 %501 to i64
  %503 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %502) #6
  store float %500, ptr %503, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #6
  store i32 0, ptr %43, align 4
  br label %504

504:                                              ; preds = %492, %334
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #6
  %505 = load i32, ptr %43, align 4
  switch i32 %505, label %550 [
    i32 0, label %506
    i32 10, label %507
  ]

506:                                              ; preds = %504
  br label %507

507:                                              ; preds = %506, %504
  %508 = load i32, ptr %42, align 4, !tbaa !9
  %509 = add nsw i32 %508, 1
  store i32 %509, ptr %42, align 4, !tbaa !9
  br label %199, !llvm.loop !28

510:                                              ; preds = %488, %446, %442, %376
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #6
  br label %511

511:                                              ; preds = %510, %327
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #6
  br label %512

512:                                              ; preds = %511, %256
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #6
  br label %513

513:                                              ; preds = %512, %239
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #6
  br label %534

514:                                              ; preds = %204
  %515 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %60, ptr noundef nonnull align 8 dereferenceable(24) %28)
          to label %516 unwind label %521

516:                                              ; preds = %514
  invoke void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %61, ptr noundef nonnull align 8 dereferenceable(24) %14)
          to label %517 unwind label %525

517:                                              ; preds = %516
  %518 = load float, ptr %11, align 4, !tbaa !11
  invoke void @_ZN9starspace10EmbedModel8backwardERKSt6vectorINS_12ParseResultsESaIS2_EERKS1_IS1_ISt4pairIifESaIS8_EESaISA_EES1_INS_6MatrixIfEESaISG_EESI_RKS1_IiSaIiEEfRKS1_IfSaIfEERKS1_ISO_SaISO_EE(ptr noundef nonnull align 8 dereferenceable(112) %63, ptr noundef nonnull align 8 dereferenceable(24) %515, ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef %60, ptr noundef %61, ptr noundef nonnull align 8 dereferenceable(24) %34, float noundef %518, ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(24) %32)
          to label %519 unwind label %529

519:                                              ; preds = %517
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %61) #6
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #6
  %520 = load float, ptr %39, align 4, !tbaa !11
  store i32 1, ptr %43, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #6
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #6
  call void @_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #6
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #6
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #6
  call void @_ZNSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #6
  call void @_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #6
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  ret float %520

521:                                              ; preds = %514
  %522 = landingpad { ptr, i32 }
          cleanup
  %523 = extractvalue { ptr, i32 } %522, 0
  store ptr %523, ptr %16, align 8
  %524 = extractvalue { ptr, i32 } %522, 1
  store i32 %524, ptr %17, align 4
  br label %534

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

529:                                              ; preds = %517
  %530 = landingpad { ptr, i32 }
          cleanup
  %531 = extractvalue { ptr, i32 } %530, 0
  store ptr %531, ptr %16, align 8
  %532 = extractvalue { ptr, i32 } %530, 1
  store i32 %532, ptr %17, align 4
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %61) #6
  br label %533

533:                                              ; preds = %529, %525
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #6
  br label %534

534:                                              ; preds = %533, %521, %513, %175
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #6
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #6
  br label %535

535:                                              ; preds = %534, %165
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #6
  br label %536

536:                                              ; preds = %535, %161
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #6
  call void @_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #6
  br label %537

537:                                              ; preds = %536, %157
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #6
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #6
  br label %538

538:                                              ; preds = %537, %153
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #6
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #6
  br label %539

539:                                              ; preds = %538, %149
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #6
  call void @_ZNSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #6
  call void @_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  br label %540

540:                                              ; preds = %539, %145
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #6
  br label %541

541:                                              ; preds = %540, %123
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  br label %542

542:                                              ; preds = %541, %87
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  br label %543

543:                                              ; preds = %542, %83
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  br label %544

544:                                              ; preds = %543, %79
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %545

545:                                              ; preds = %544
  %546 = load ptr, ptr %16, align 8
  %547 = load i32, ptr %17, align 4
  %548 = insertvalue { ptr, i32 } poison, ptr %546, 0
  %549 = insertvalue { ptr, i32 } %548, i32 %547, 1
  resume { ptr, i32 } %549

550:                                              ; preds = %504
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3expf(float noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3logf(float noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN9starspace6MatrixIfEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN5boost7numeric5ublas6matrixIfNS1_15basic_row_majorImlEENS1_15unbounded_arrayIfSaIfEEEEmLIfEERS8_RKT_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

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

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

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

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

attributes #0 = { 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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress 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 #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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!22, !22, i64 0}
!22 = !{!"vtable pointer", !8, i64 0}
!23 = distinct !{!23, !18}
!24 = distinct !{!24, !18}
!25 = distinct !{!25, !18}
!26 = distinct !{!26, !18}
!27 = distinct !{!27, !18}
!28 = distinct !{!28, !18}


; 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.boost::numeric::ublas::matrix_row" = type { %"class.boost::numeric::ublas::matrix_reference", i64 }
%"class.boost::numeric::ublas::matrix_reference" = type { ptr }
%"class.std::vector.52" = type { %"struct.std::_Vector_base.53" }
%"struct.std::_Vector_base.53" = type { %"struct.std::_Vector_base<starspace::Matrix<>, std::allocator<starspace::Matrix<>>>::_Vector_impl" }
%"struct.std::_Vector_base<starspace::Matrix<>, std::allocator<starspace::Matrix<>>>::_Vector_impl" = type { %"struct.std::_Vector_base<starspace::Matrix<>, std::allocator<starspace::Matrix<>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<starspace::Matrix<>, std::allocator<starspace::Matrix<>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.54" = type { i8 }
%"class.std::vector.63" = type { %"struct.std::_Vector_base.64" }
%"struct.std::_Vector_base.64" = type { %"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.65" = type { i8 }
%"class.std::vector.57" = type { %"struct.std::_Vector_base.58" }
%"struct.std::_Vector_base.58" = type { %"struct.std::_Vector_base<std::vector<std::pair<int, float>>, std::allocator<std::vector<std::pair<int, float>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<std::pair<int, float>>, std::allocator<std::vector<std::pair<int, float>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<std::pair<int, float>>, std::allocator<std::vector<std::pair<int, float>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<std::pair<int, float>>, std::allocator<std::vector<std::pair<int, float>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.13" = type { i8 }
%"class.std::vector.24" = type { %"struct.std::_Vector_base.25" }
%"struct.std::_Vector_base.25" = type { %"struct.std::_Vector_base<std::pair<int, float>, std::allocator<std::pair<int, float>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, float>, std::allocator<std::pair<int, float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, float>, std::allocator<std::pair<int, float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, float>, std::allocator<std::pair<int, float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

; 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN9starspace3dotEN5boost7numeric5ublas10matrix_rowINS2_6matrixIfNS2_15basic_row_majorImlEENS2_15unbounded_arrayIfSaIfEEEEEEESB_(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9starspace10EmbedModel10projectRHSERKSt6vectorISt4pairIifESaIS3_EERNS_6MatrixIfEE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9starspace10EmbedModel10projectLHSERKSt6vectorISt4pairIifESaIS3_EERNS_6MatrixIfEE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9starspace6MatrixIfEcvN5boost7numeric5ublas10matrix_rowINS4_6matrixIfNS4_15basic_row_majorImlEENS4_15unbounded_arrayIfSaIfEEEEEEEEv(ptr dead_on_unwind noalias writable sret(%"class.boost::numeric::ublas::matrix_row") align 8, ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5boost7numeric5ublas10matrix_rowINS1_6matrixIfNS1_15basic_row_majorImlEENS1_15unbounded_arrayIfSaIfEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace17InternDataHandlerELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9starspace10EmbedModel5checkERKNS_6MatrixIfEE(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorISt4pairIifESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

declare void @_ZN9starspace17InternDataHandler13getRandomWordERSt6vectorISt4pairIifESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorISt4pairIifESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZSteqISt4pairIifESaIS1_EEbRKSt6vectorIT_T0_ES8_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9starspace6MatrixIfE3addERKS1_f(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40), float noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9starspace10EmbedModel8backwardERKSt6vectorINS_12ParseResultsESaIS2_EERKS1_IS1_ISt4pairIifESaIS8_EESaISA_EES1_INS_6MatrixIfEESaISG_EESI_RKS1_IiSaIiEEfRKS1_IfSaIfEERKS1_ISO_SaISO_EE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24), float noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef float @_ZN9starspace10EmbedModel13trainNLLBatchESt10shared_ptrINS_17InternDataHandlerEERKSt6vectorINS_12ParseResultsESaIS5_EEifb(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %3, float noundef %4, i1 noundef zeroext %5) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.std::vector.52", align 8
  %8 = alloca %"class.std::allocator.54", align 1
  %9 = alloca %"class.std::vector.52", align 8
  %10 = alloca %"class.std::allocator.54", align 1
  %11 = alloca %"class.std::vector.52", align 8
  %12 = alloca %"class.std::allocator.54", align 1
  %13 = alloca %"class.std::vector.63", align 8
  %14 = alloca %"class.std::allocator.65", align 1
  %15 = alloca %"class.std::vector.57", align 8
  %16 = alloca %"class.std::vector.52", align 8
  %17 = alloca %"class.std::allocator.54", align 1
  %18 = alloca %"class.std::vector", align 8
  %19 = alloca %"class.std::allocator", align 1
  %20 = alloca %"class.std::vector.63", align 8
  %21 = alloca %"class.std::allocator.65", align 1
  %22 = alloca %"class.std::vector.11", align 8
  %23 = alloca i32, align 4
  %24 = alloca %"class.std::allocator.13", align 1
  %25 = alloca %"class.std::vector", align 8
  %26 = alloca %"class.std::allocator", align 1
  %27 = alloca %"class.std::vector.24", align 8
  %28 = alloca %"class.std::vector.11", align 8
  %29 = alloca float, align 4
  %30 = alloca %"class.boost::numeric::ublas::matrix_row", align 8
  %31 = alloca %"class.boost::numeric::ublas::matrix_row", align 8
  %32 = alloca i32, align 4
  %33 = alloca float, align 4
  %34 = alloca %"class.boost::numeric::ublas::matrix_row", align 8
  %35 = alloca %"class.boost::numeric::ublas::matrix_row", align 8
  %36 = alloca float, align 4
  %37 = alloca %"class.std::vector.52", align 8
  %38 = alloca %"class.std::vector.52", align 8
  %39 = tail call noundef i64 @_ZNKSt6vectorIN9starspace12ParseResultsESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #6
  call void @_ZNSaIN9starspace6MatrixIfEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  invoke void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %39, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %40 unwind label %44

40:                                               ; preds = %6
  call void @_ZNSt15__new_allocatorIN9starspace6MatrixIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #6
  call void @_ZNSaIN9starspace6MatrixIfEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  invoke void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %39, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %41 unwind label %46

41:                                               ; preds = %40
  call void @_ZNSt15__new_allocatorIN9starspace6MatrixIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  %42 = sext i32 %3 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #6
  call void @_ZNSaIN9starspace6MatrixIfEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  invoke void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %42, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %43 unwind label %48

43:                                               ; preds = %41
  call void @_ZNSt15__new_allocatorIN9starspace6MatrixIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  %.not = icmp eq i64 %39, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %61, %43
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #6
  call void @_ZNSaISt6vectorIfSaIfEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  invoke void @_ZNSt6vectorIS_IfSaIfEESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %39, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %64 unwind label %79

44:                                               ; preds = %6
  %45 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIN9starspace6MatrixIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  br label %265

46:                                               ; preds = %40
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIN9starspace6MatrixIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  br label %264

48:                                               ; preds = %41
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIN9starspace6MatrixIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  br label %263

.lr.ph:                                           ; preds = %43, %61
  %indvars.iv = phi i64 [ %indvars.iv.next, %61 ], [ 0, %43 ]
  %50 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN9starspace12ParseResultsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #6
  %51 = getelementptr inbounds i8, ptr %50, i64 8
  %52 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN9starspace12ParseResultsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #6
  %53 = getelementptr inbounds i8, ptr %52, i64 32
  %54 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv) #6
  invoke void @_ZN9starspace10EmbedModel10projectLHSERKSt6vectorISt4pairIifESaIS3_EERNS_6MatrixIfEE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef nonnull align 8 dereferenceable(40) %54)
          to label %55 unwind label %62

55:                                               ; preds = %.lr.ph
  %56 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv) #6
  invoke void @_ZN9starspace10EmbedModel5checkERKNS_6MatrixIfEE(ptr noundef nonnull align 8 dereferenceable(40) %56)
          to label %57 unwind label %62

57:                                               ; preds = %55
  %58 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv) #6
  invoke void @_ZN9starspace10EmbedModel10projectRHSERKSt6vectorISt4pairIifESaIS3_EERNS_6MatrixIfEE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 8 dereferenceable(40) %58)
          to label %59 unwind label %62

59:                                               ; preds = %57
  %60 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv) #6
  invoke void @_ZN9starspace10EmbedModel5checkERKNS_6MatrixIfEE(ptr noundef nonnull align 8 dereferenceable(40) %60)
          to label %61 unwind label %62

61:                                               ; preds = %59
  %indvars.iv.next = add nuw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %39
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !5

62:                                               ; preds = %59, %57, %55, %.lr.ph
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %262

64:                                               ; preds = %._crit_edge
  call void @_ZNSt15__new_allocatorISt6vectorIfSaIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #6
  call void @_ZNSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #6
  call void @_ZNSaIN9starspace6MatrixIfEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  invoke void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %39, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %65 unwind label %81

65:                                               ; preds = %64
  call void @_ZNSt15__new_allocatorIN9starspace6MatrixIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #6
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %39, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %66 unwind label %83

66:                                               ; preds = %65
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #6
  call void @_ZNSaISt6vectorIfSaIfEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  invoke void @_ZNSt6vectorIS_IfSaIfEESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %39, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %67 unwind label %85

67:                                               ; preds = %66
  call void @_ZNSt15__new_allocatorISt6vectorIfSaIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #6
  store i32 0, ptr %23, align 4, !tbaa !7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %24) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %39, ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %68 unwind label %87

68:                                               ; preds = %67
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %25) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #6
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #6
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %39, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %69 unwind label %89

69:                                               ; preds = %68
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #6
  %70 = icmp sgt i32 %3, 0
  br i1 %70, label %.lr.ph187, label %.preheader164

.lr.ph187:                                        ; preds = %69
  %wide.trip.count221 = zext nneg i32 %3 to i64
  br i1 %5, label %.lr.ph187.split.us, label %.lr.ph187.split

.lr.ph187.split.us:                               ; preds = %.lr.ph187, %77
  %indvars.iv218 = phi i64 [ %indvars.iv.next219, %77 ], [ 0, %.lr.ph187 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %27) #6
  call void @_ZNSt6vectorISt4pairIifESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  %71 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace17InternDataHandlerELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #6
  invoke void @_ZN9starspace17InternDataHandler13getRandomWordERSt6vectorISt4pairIifESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(88) %71, ptr noundef nonnull align 8 dereferenceable(24) %27)
          to label %72 unwind label %.split.us

72:                                               ; preds = %.lr.ph187.split.us
  %73 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv218) #6
  invoke void @_ZN9starspace10EmbedModel10projectRHSERKSt6vectorISt4pairIifESaIS3_EERNS_6MatrixIfEE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(40) %73)
          to label %74 unwind label %.split.us

74:                                               ; preds = %72
  %75 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv218) #6
  invoke void @_ZN9starspace10EmbedModel5checkERKNS_6MatrixIfEE(ptr noundef nonnull align 8 dereferenceable(40) %75)
          to label %76 unwind label %.split.us

76:                                               ; preds = %74
  invoke void @_ZNSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %27)
          to label %77 unwind label %.split.us

77:                                               ; preds = %76
  call void @_ZNSt6vectorISt4pairIifESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #6
  %indvars.iv.next219 = add nuw nsw i64 %indvars.iv218, 1
  %exitcond222.not = icmp eq i64 %indvars.iv.next219, %wide.trip.count221
  br i1 %exitcond222.not, label %.preheader164, label %.lr.ph187.split.us, !llvm.loop !11

.split.us:                                        ; preds = %76, %74, %72, %.lr.ph187.split.us
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %96

.preheader164:                                    ; preds = %102, %77, %69
  br i1 %.not, label %._crit_edge209, label %.lr.ph208

79:                                               ; preds = %._crit_edge
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIfSaIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  br label %261

81:                                               ; preds = %64
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIN9starspace6MatrixIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #6
  br label %260

83:                                               ; preds = %65
  %84 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #6
  br label %259

85:                                               ; preds = %66
  %86 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIfSaIfEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #6
  br label %258

87:                                               ; preds = %67
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #6
  br label %257

89:                                               ; preds = %68
  %90 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #6
  br label %256

.lr.ph187.split:                                  ; preds = %.lr.ph187, %102
  %indvars.iv214 = phi i64 [ %indvars.iv.next215, %102 ], [ 0, %.lr.ph187 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %27) #6
  call void @_ZNSt6vectorISt4pairIifESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  %91 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace17InternDataHandlerELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #6
  %92 = load ptr, ptr %91, align 8, !tbaa !12
  %93 = getelementptr inbounds i8, ptr %92, i64 16
  %94 = load ptr, ptr %93, align 8
  invoke void %94(ptr noundef nonnull align 8 dereferenceable(88) %91, ptr noundef nonnull align 8 dereferenceable(24) %27)
          to label %97 unwind label %.split

.split:                                           ; preds = %101, %99, %97, %.lr.ph187.split
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %96

96:                                               ; preds = %.split.us, %.split
  %.us-phi = phi { ptr, i32 } [ %95, %.split ], [ %78, %.split.us ]
  call void @_ZNSt6vectorISt4pairIifESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #6
  br label %255

97:                                               ; preds = %.lr.ph187.split
  %98 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv214) #6
  invoke void @_ZN9starspace10EmbedModel10projectRHSERKSt6vectorISt4pairIifESaIS3_EERNS_6MatrixIfEE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(40) %98)
          to label %99 unwind label %.split

99:                                               ; preds = %97
  %100 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv214) #6
  invoke void @_ZN9starspace10EmbedModel5checkERKNS_6MatrixIfEE(ptr noundef nonnull align 8 dereferenceable(40) %100)
          to label %101 unwind label %.split

101:                                              ; preds = %99
  invoke void @_ZNSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %27)
          to label %102 unwind label %.split

102:                                              ; preds = %101
  call void @_ZNSt6vectorISt4pairIifESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #6
  %indvars.iv.next215 = add nuw nsw i64 %indvars.iv214, 1
  %exitcond217.not = icmp eq i64 %indvars.iv.next215, %wide.trip.count221
  br i1 %exitcond217.not, label %.preheader164, label %.lr.ph187.split, !llvm.loop !11

._crit_edge209:                                   ; preds = %243, %.preheader164
  %.0109.lcssa = phi float [ 0.000000e+00, %.preheader164 ], [ %.1110, %243 ]
  invoke void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %245 unwind label %248

.lr.ph208:                                        ; preds = %.preheader164, %243
  %indvars.iv238 = phi i64 [ %indvars.iv.next239, %243 ], [ 0, %.preheader164 ]
  %.0109206 = phi float [ %.1110, %243 ], [ 0.000000e+00, %.preheader164 ]
  %103 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %indvars.iv238) #6
  invoke void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %103, i64 noundef %42)
          to label %104 unwind label %119

104:                                              ; preds = %.lr.ph208
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %28) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #6
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #6
  %105 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv238) #6
  call void @_ZNSt6vectorIfSaIfEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %105) #6
  %106 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv238) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #6
  %107 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv238) #6
  invoke void @_ZN9starspace6MatrixIfEcvN5boost7numeric5ublas10matrix_rowINS4_6matrixIfNS4_15basic_row_majorImlEENS4_15unbounded_arrayIfSaIfEEEEEEEEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::numeric::ublas::matrix_row") align 8 %30, ptr noundef nonnull align 8 dereferenceable(40) %107)
          to label %108 unwind label %121

108:                                              ; preds = %104
  %109 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv238) #6
  invoke void @_ZN9starspace6MatrixIfEcvN5boost7numeric5ublas10matrix_rowINS4_6matrixIfNS4_15basic_row_majorImlEENS4_15unbounded_arrayIfSaIfEEEEEEEEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::numeric::ublas::matrix_row") align 8 %31, ptr noundef nonnull align 8 dereferenceable(40) %109)
          to label %110 unwind label %123

110:                                              ; preds = %108
  %111 = invoke noundef float @_ZN9starspace3dotEN5boost7numeric5ublas10matrix_rowINS2_6matrixIfNS2_15basic_row_majorImlEENS2_15unbounded_arrayIfSaIfEEEEEEESB_(ptr noundef nonnull %30, ptr noundef nonnull %31)
          to label %112 unwind label %125

112:                                              ; preds = %110
  store float %111, ptr %29, align 4, !tbaa !14
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %106, ptr noundef nonnull align 4 dereferenceable(4) %29)
          to label %113 unwind label %125

113:                                              ; preds = %112
  call void @_ZN5boost7numeric5ublas10matrix_rowINS1_6matrixIfNS1_15basic_row_majorImlEENS1_15unbounded_arrayIfSaIfEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %31) #6
  call void @_ZN5boost7numeric5ublas10matrix_rowINS1_6matrixIfNS1_15basic_row_majorImlEENS1_15unbounded_arrayIfSaIfEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #6
  %114 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv238) #6
  %115 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %114, i64 noundef 0) #6
  %116 = load float, ptr %115, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %32) #6
  store i32 0, ptr %32, align 4, !tbaa !7
  br i1 %70, label %.lr.ph191, label %._crit_edge192.thread

._crit_edge192.thread:                            ; preds = %113
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %32) #6
  br label %.sink.split

._crit_edge192:                                   ; preds = %162
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %32) #6
  %117 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv238) #6
  store float 0.000000e+00, ptr %117, align 4, !tbaa !14
  %118 = icmp eq i32 %.1106, 1
  br i1 %118, label %243, label %175

119:                                              ; preds = %.lr.ph208
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %255

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

123:                                              ; preds = %108
  %124 = landingpad { ptr, i32 }
          cleanup
  br label %127

125:                                              ; preds = %112, %110
  %126 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5boost7numeric5ublas10matrix_rowINS1_6matrixIfNS1_15basic_row_majorImlEENS1_15unbounded_arrayIfSaIfEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %31) #6
  br label %127

127:                                              ; preds = %125, %123
  %.pn138 = phi { ptr, i32 } [ %126, %125 ], [ %124, %123 ]
  call void @_ZN5boost7numeric5ublas10matrix_rowINS1_6matrixIfNS1_15basic_row_majorImlEENS1_15unbounded_arrayIfSaIfEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %30) #6
  br label %128

128:                                              ; preds = %127, %121
  %.pn138.pn = phi { ptr, i32 } [ %.pn138, %127 ], [ %122, %121 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #6
  br label %244

.lr.ph191:                                        ; preds = %113, %162
  %.0103189 = phi float [ %.1104, %162 ], [ %116, %113 ]
  %.0105188 = phi i32 [ %.1106, %162 ], [ 1, %113 ]
  %129 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %indvars.iv238) #6
  %130 = load i32, ptr %32, align 4, !tbaa !7
  %131 = sext i32 %130 to i64
  %132 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %129, i64 noundef %131) #6
  store float 0.000000e+00, ptr %132, align 4, !tbaa !14
  %133 = load i32, ptr %32, align 4, !tbaa !7
  %134 = sext i32 %133 to i64
  %135 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %134) #6
  %136 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN9starspace12ParseResultsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv238) #6
  %137 = getelementptr inbounds i8, ptr %136, i64 32
  %138 = invoke noundef zeroext i1 @_ZSteqISt4pairIifESaIS1_EEbRKSt6vectorIT_T0_ES8_(ptr noundef nonnull align 8 dereferenceable(24) %135, ptr noundef nonnull align 8 dereferenceable(24) %137)
          to label %139 unwind label %140

139:                                              ; preds = %.lr.ph191
  br i1 %138, label %162, label %142

140:                                              ; preds = %152, %.lr.ph191
  %141 = landingpad { ptr, i32 }
          cleanup
  br label %174

142:                                              ; preds = %139
  %143 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv238) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %33) #6
  %144 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv238) #6
  invoke void @_ZN9starspace6MatrixIfEcvN5boost7numeric5ublas10matrix_rowINS4_6matrixIfNS4_15basic_row_majorImlEENS4_15unbounded_arrayIfSaIfEEEEEEEEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::numeric::ublas::matrix_row") align 8 %34, ptr noundef nonnull align 8 dereferenceable(40) %144)
          to label %145 unwind label %166

145:                                              ; preds = %142
  %146 = load i32, ptr %32, align 4, !tbaa !7
  %147 = sext i32 %146 to i64
  %148 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %147) #6
  invoke void @_ZN9starspace6MatrixIfEcvN5boost7numeric5ublas10matrix_rowINS4_6matrixIfNS4_15basic_row_majorImlEENS4_15unbounded_arrayIfSaIfEEEEEEEEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::numeric::ublas::matrix_row") align 8 %35, ptr noundef nonnull align 8 dereferenceable(40) %148)
          to label %149 unwind label %168

149:                                              ; preds = %145
  %150 = invoke noundef float @_ZN9starspace3dotEN5boost7numeric5ublas10matrix_rowINS2_6matrixIfNS2_15basic_row_majorImlEENS2_15unbounded_arrayIfSaIfEEEEEEESB_(ptr noundef nonnull %34, ptr noundef nonnull %35)
          to label %151 unwind label %170

151:                                              ; preds = %149
  store float %150, ptr %33, align 4, !tbaa !14
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %143, ptr noundef nonnull align 4 dereferenceable(4) %33)
          to label %152 unwind label %170

152:                                              ; preds = %151
  call void @_ZN5boost7numeric5ublas10matrix_rowINS1_6matrixIfNS1_15basic_row_majorImlEENS1_15unbounded_arrayIfSaIfEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %35) #6
  call void @_ZN5boost7numeric5ublas10matrix_rowINS1_6matrixIfNS1_15basic_row_majorImlEENS1_15unbounded_arrayIfSaIfEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %33) #6
  %153 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv238) #6
  %154 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %153, i64 noundef 0) #6
  %155 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv238) #6
  %156 = sext i32 %.0105188 to i64
  %157 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %155, i64 noundef %156) #6
  %158 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %154, ptr noundef nonnull align 4 dereferenceable(4) %157)
  %159 = load float, ptr %158, align 4, !tbaa !14
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 4 dereferenceable(4) %32)
          to label %160 unwind label %140

160:                                              ; preds = %152
  %161 = add nsw i32 %.0105188, 1
  br label %162

162:                                              ; preds = %139, %160
  %.1106 = phi i32 [ %.0105188, %139 ], [ %161, %160 ]
  %.1104 = phi float [ %.0103189, %139 ], [ %159, %160 ]
  %163 = load i32, ptr %32, align 4, !tbaa !7
  %164 = add nsw i32 %163, 1
  store i32 %164, ptr %32, align 4, !tbaa !7
  %165 = icmp slt i32 %164, %3
  br i1 %165, label %.lr.ph191, label %._crit_edge192, !llvm.loop !16

166:                                              ; preds = %142
  %167 = landingpad { ptr, i32 }
          cleanup
  br label %173

168:                                              ; preds = %145
  %169 = landingpad { ptr, i32 }
          cleanup
  br label %172

170:                                              ; preds = %151, %149
  %171 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5boost7numeric5ublas10matrix_rowINS1_6matrixIfNS1_15basic_row_majorImlEENS1_15unbounded_arrayIfSaIfEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %35) #6
  br label %172

172:                                              ; preds = %170, %168
  %.pn143 = phi { ptr, i32 } [ %171, %170 ], [ %169, %168 ]
  call void @_ZN5boost7numeric5ublas10matrix_rowINS1_6matrixIfNS1_15basic_row_majorImlEENS1_15unbounded_arrayIfSaIfEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #6
  br label %173

173:                                              ; preds = %172, %166
  %.pn143.pn = phi { ptr, i32 } [ %.pn143, %172 ], [ %167, %166 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %33) #6
  br label %174

174:                                              ; preds = %173, %140
  %.pn146 = phi { ptr, i32 } [ %141, %140 ], [ %.pn143.pn, %173 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %32) #6
  br label %244

175:                                              ; preds = %._crit_edge192
  %176 = add nsw i32 %.1106, -1
  %177 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %indvars.iv238) #6
  store i32 %176, ptr %177, align 4, !tbaa !7
  %178 = icmp sgt i32 %.1106, 0
  br i1 %178, label %.lr.ph197.preheader, label %._crit_edge201

.lr.ph197.preheader:                              ; preds = %175
  %wide.trip.count226 = zext nneg i32 %.1106 to i64
  br label %.lr.ph197

.preheader:                                       ; preds = %.lr.ph197
  br i1 %178, label %.lr.ph200.preheader, label %._crit_edge201

.lr.ph200.preheader:                              ; preds = %.preheader
  %wide.trip.count231 = zext nneg i32 %.1106 to i64
  br label %.lr.ph200

.lr.ph197:                                        ; preds = %.lr.ph197.preheader, %.lr.ph197
  %indvars.iv223 = phi i64 [ 0, %.lr.ph197.preheader ], [ %indvars.iv.next224, %.lr.ph197 ]
  %.0102194 = phi float [ 0.000000e+00, %.lr.ph197.preheader ], [ %189, %.lr.ph197 ]
  %179 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv238) #6
  %180 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %179, i64 noundef %indvars.iv223) #6
  %181 = load float, ptr %180, align 4, !tbaa !14
  %182 = fsub float %181, %.1104
  %183 = call noundef float @_ZSt3expf(float noundef %182)
  %184 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv238) #6
  %185 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %184, i64 noundef %indvars.iv223) #6
  store float %183, ptr %185, align 4, !tbaa !14
  %186 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv238) #6
  %187 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %186, i64 noundef %indvars.iv223) #6
  %188 = load float, ptr %187, align 4, !tbaa !14
  %189 = fadd float %.0102194, %188
  %indvars.iv.next224 = add nuw nsw i64 %indvars.iv223, 1
  %exitcond227.not = icmp eq i64 %indvars.iv.next224, %wide.trip.count226
  br i1 %exitcond227.not, label %.preheader, label %.lr.ph197, !llvm.loop !17

._crit_edge201:                                   ; preds = %.lr.ph200, %175, %.preheader
  %190 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv238) #6
  %191 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %190, i64 noundef 0) #6
  %192 = load float, ptr %191, align 4, !tbaa !14
  %193 = call noundef float @_ZSt3logf(float noundef %192)
  %194 = fneg float %193
  %195 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv238) #6
  store float %194, ptr %195, align 4, !tbaa !14
  %196 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv238) #6
  %197 = load float, ptr %196, align 4, !tbaa !14
  %198 = fadd float %.0109206, %197
  %199 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv238) #6
  %200 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %indvars.iv238) #6
  %201 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN9starspace6MatrixIfEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %200, ptr noundef nonnull align 8 dereferenceable(40) %199)
          to label %206 unwind label %220

.lr.ph200:                                        ; preds = %.lr.ph200.preheader, %.lr.ph200
  %indvars.iv228 = phi i64 [ 0, %.lr.ph200.preheader ], [ %indvars.iv.next229, %.lr.ph200 ]
  %202 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv238) #6
  %203 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %202, i64 noundef %indvars.iv228) #6
  %204 = load float, ptr %203, align 4, !tbaa !14
  %205 = fdiv float %204, %189
  store float %205, ptr %203, align 4, !tbaa !14
  %indvars.iv.next229 = add nuw nsw i64 %indvars.iv228, 1
  %exitcond232.not = icmp eq i64 %indvars.iv.next229, %wide.trip.count231
  br i1 %exitcond232.not, label %._crit_edge201, label %.lr.ph200, !llvm.loop !18

206:                                              ; preds = %._crit_edge201
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %36) #6
  %207 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv238) #6
  %208 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %207, i64 noundef 0) #6
  %209 = load float, ptr %208, align 4, !tbaa !14
  %210 = fadd float %209, -1.000000e+00
  store float %210, ptr %36, align 4, !tbaa !14
  %211 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %indvars.iv238) #6
  %212 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN5boost7numeric5ublas6matrixIfNS1_15basic_row_majorImlEENS1_15unbounded_arrayIfSaIfEEEEmLIfEERS8_RKT_(ptr noundef nonnull align 8 dereferenceable(40) %211, ptr noundef nonnull align 4 dereferenceable(4) %36)
          to label %213 unwind label %222

213:                                              ; preds = %206
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %36) #6
  %214 = icmp sgt i32 %.1106, 1
  br i1 %214, label %.lr.ph204.preheader, label %._crit_edge205

.lr.ph204.preheader:                              ; preds = %213
  %wide.trip.count236 = zext nneg i32 %.1106 to i64
  br label %.lr.ph204

._crit_edge205:                                   ; preds = %233, %213
  %215 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv238) #6
  %216 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %215, i64 noundef 0) #6
  %217 = load float, ptr %216, align 4, !tbaa !14
  %218 = fadd float %217, -1.000000e+00
  %219 = fmul float %218, %4
  br label %.sink.split

220:                                              ; preds = %._crit_edge201
  %221 = landingpad { ptr, i32 }
          cleanup
  br label %244

222:                                              ; preds = %206
  %223 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %36) #6
  br label %244

.lr.ph204:                                        ; preds = %.lr.ph204.preheader, %233
  %indvars.iv233 = phi i64 [ 1, %.lr.ph204.preheader ], [ %indvars.iv.next234, %233 ]
  %224 = add nsw i64 %indvars.iv233, -1
  %225 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %224) #6
  %226 = load i32, ptr %225, align 4, !tbaa !7
  %227 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %indvars.iv238) #6
  %228 = sext i32 %226 to i64
  %229 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %228) #6
  %230 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv238) #6
  %231 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %230, i64 noundef %indvars.iv233) #6
  %232 = load float, ptr %231, align 4, !tbaa !14
  invoke void @_ZN9starspace6MatrixIfE3addERKS1_f(ptr noundef nonnull align 8 dereferenceable(40) %227, ptr noundef nonnull align 8 dereferenceable(40) %229, float noundef %232)
          to label %233 unwind label %240

233:                                              ; preds = %.lr.ph204
  %234 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv238) #6
  %235 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %234, i64 noundef %indvars.iv233) #6
  %236 = load float, ptr %235, align 4, !tbaa !14
  %237 = fmul float %236, %4
  %238 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IfSaIfEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %indvars.iv238) #6
  %239 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %238, i64 noundef %228) #6
  store float %237, ptr %239, align 4, !tbaa !14
  %indvars.iv.next234 = add nuw nsw i64 %indvars.iv233, 1
  %exitcond237.not = icmp eq i64 %indvars.iv.next234, %wide.trip.count236
  br i1 %exitcond237.not, label %._crit_edge205, label %.lr.ph204, !llvm.loop !19

240:                                              ; preds = %.lr.ph204
  %241 = landingpad { ptr, i32 }
          cleanup
  br label %244

.sink.split:                                      ; preds = %._crit_edge205, %._crit_edge192.thread
  %.sink247 = phi ptr [ %18, %._crit_edge192.thread ], [ %25, %._crit_edge205 ]
  %.sink = phi float [ 0.000000e+00, %._crit_edge192.thread ], [ %219, %._crit_edge205 ]
  %.1110.ph = phi float [ %.0109206, %._crit_edge192.thread ], [ %198, %._crit_edge205 ]
  %242 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %.sink247, i64 noundef %indvars.iv238) #6
  store float %.sink, ptr %242, align 4, !tbaa !14
  br label %243

243:                                              ; preds = %.sink.split, %._crit_edge192
  %.1110 = phi float [ %.0109206, %._crit_edge192 ], [ %.1110.ph, %.sink.split ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #6
  %indvars.iv.next239 = add nuw i64 %indvars.iv238, 1
  %exitcond241.not = icmp eq i64 %indvars.iv.next239, %39
  br i1 %exitcond241.not, label %._crit_edge209, label %.lr.ph208, !llvm.loop !20

244:                                              ; preds = %174, %240, %222, %220, %128
  %.pn146.pn.pn = phi { ptr, i32 } [ %.pn138.pn, %128 ], [ %.pn146, %174 ], [ %241, %240 ], [ %223, %222 ], [ %221, %220 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #6
  br label %255

245:                                              ; preds = %._crit_edge209
  invoke void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %246 unwind label %250

246:                                              ; preds = %245
  invoke void @_ZN9starspace10EmbedModel8backwardERKSt6vectorINS_12ParseResultsESaIS2_EERKS1_IS1_ISt4pairIifESaIS8_EESaISA_EES1_INS_6MatrixIfEESaISG_EESI_RKS1_IiSaIiEEfRKS1_IfSaIfEERKS1_ISO_SaISO_EE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull %37, ptr noundef nonnull %38, ptr noundef nonnull align 8 dereferenceable(24) %22, float noundef %4, ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %247 unwind label %252

247:                                              ; preds = %246
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #6
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #6
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #6
  call void @_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #6
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #6
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #6
  call void @_ZNSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #6
  call void @_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  ret float %.0109.lcssa

248:                                              ; preds = %._crit_edge209
  %249 = landingpad { ptr, i32 }
          cleanup
  br label %255

250:                                              ; preds = %245
  %251 = landingpad { ptr, i32 }
          cleanup
  br label %254

252:                                              ; preds = %246
  %253 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #6
  br label %254

254:                                              ; preds = %252, %250
  %.pn = phi { ptr, i32 } [ %253, %252 ], [ %251, %250 ]
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #6
  br label %255

255:                                              ; preds = %119, %244, %254, %248, %96
  %.pn151 = phi { ptr, i32 } [ %.us-phi, %96 ], [ %.pn, %254 ], [ %249, %248 ], [ %.pn146.pn.pn, %244 ], [ %120, %119 ]
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  br label %256

256:                                              ; preds = %255, %89
  %.pn151.pn = phi { ptr, i32 } [ %.pn151, %255 ], [ %90, %89 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #6
  br label %257

257:                                              ; preds = %256, %87
  %.pn151.pn.pn = phi { ptr, i32 } [ %.pn151.pn, %256 ], [ %88, %87 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #6
  call void @_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  br label %258

258:                                              ; preds = %257, %85
  %.pn151.pn.pn.pn = phi { ptr, i32 } [ %.pn151.pn.pn, %257 ], [ %86, %85 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #6
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  br label %259

259:                                              ; preds = %258, %83
  %.pn151.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn151.pn.pn.pn, %258 ], [ %84, %83 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #6
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  br label %260

260:                                              ; preds = %259, %81
  %.pn151.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn151.pn.pn.pn.pn, %259 ], [ %82, %81 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #6
  call void @_ZNSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #6
  call void @_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  br label %261

261:                                              ; preds = %260, %79
  %.pn151.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn151.pn.pn.pn.pn.pn, %260 ], [ %80, %79 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  br label %262

262:                                              ; preds = %261, %62
  %.pn159 = phi { ptr, i32 } [ %63, %62 ], [ %.pn151.pn.pn.pn.pn.pn.pn, %261 ]
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  br label %263

263:                                              ; preds = %262, %48
  %.pn159.pn = phi { ptr, i32 } [ %.pn159, %262 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  br label %264

264:                                              ; preds = %263, %46
  %.pn159.pn.pn = phi { ptr, i32 } [ %.pn159.pn, %263 ], [ %47, %46 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @_ZNSt6vectorIN9starspace6MatrixIfEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  br label %265

265:                                              ; preds = %264, %44
  %.pn159.pn.pn.pn = phi { ptr, i32 } [ %.pn159.pn.pn, %264 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  resume { ptr, i32 } %.pn159.pn.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3expf(float noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3logf(float noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN9starspace6MatrixIfEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN5boost7numeric5ublas6matrixIfNS1_15basic_row_majorImlEENS1_15unbounded_arrayIfSaIfEEEEmLIfEERS8_RKT_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

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

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

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

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

attributes #0 = { 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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress 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 #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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = distinct !{!11, !6}
!12 = !{!13, !13, i64 0}
!13 = !{!"vtable pointer", !10, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"float", !9, i64 0}
!16 = distinct !{!16, !6}
!17 = distinct !{!17, !6}
!18 = distinct !{!18, !6}
!19 = distinct !{!19, !6}
!20 = distinct !{!20, !6}


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