; LLVM IR from facebookresearch/StarSpace :: src/starspace.ll (ZN9starspace9StarSpace8evaluateEv)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::vector.83" = type { %"struct.std::_Vector_base.84" }
%"struct.std::_Vector_base.84" = type { %"struct.std::_Vector_base<std::thread, std::allocator<std::thread>>::_Vector_impl" }
%"struct.std::_Vector_base<std::thread, std::allocator<std::thread>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::thread, std::allocator<std::thread>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::thread, std::allocator<std::thread>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.88" = type { %"struct.std::_Vector_base.89" }
%"struct.std::_Vector_base.89" = type { %"struct.std::_Vector_base<starspace::Metrics, std::allocator<starspace::Metrics>>::_Vector_impl" }
%"struct.std::_Vector_base<starspace::Metrics, std::allocator<starspace::Metrics>>::_Vector_impl" = type { %"struct.std::_Vector_base<starspace::Metrics, std::allocator<starspace::Metrics>>::_Vector_impl_data" }
%"struct.std::_Vector_base<starspace::Metrics, std::allocator<starspace::Metrics>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.90" = type { i8 }
%"class.std::vector.93" = type { %"struct.std::_Vector_base.94" }
%"struct.std::_Vector_base.94" = type { %"struct.std::_Vector_base<std::vector<std::pair<float, int>>, std::allocator<std::vector<std::pair<float, int>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<std::pair<float, int>>, std::allocator<std::vector<std::pair<float, int>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<std::pair<float, int>>, std::allocator<std::vector<std::pair<float, int>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<std::pair<float, int>>, std::allocator<std::vector<std::pair<float, int>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.95" = type { i8 }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<starspace::ParseResults, std::allocator<starspace::ParseResults>>::_Vector_impl" }
%"struct.std::_Vector_base<starspace::ParseResults, std::allocator<starspace::ParseResults>>::_Vector_impl" = type { %"struct.std::_Vector_base<starspace::ParseResults, std::allocator<starspace::ParseResults>>::_Vector_impl_data" }
%"struct.std::_Vector_base<starspace::ParseResults, std::allocator<starspace::ParseResults>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon.98 = type { ptr, ptr, ptr, ptr }
%"class.std::thread" = type { %"class.std::thread::id" }
%"class.std::thread::id" = type { i64 }
%class.anon.99 = type <{ %class.anon.98, i32, i32, i32, [4 x i8] }>
%"class.__gnu_cxx::__normal_iterator.100" = type { ptr }
%"struct.starspace::Metrics" = type { float, float, float, float, float, i32 }
%"class.std::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.46 }
%union.anon.46 = type { i32 }
%"class.__gnu_cxx::__normal_iterator.101" = type { ptr }
%"struct.std::pair.78" = type { float, i32 }
%"class.starspace::StarSpace" = type { %"class.std::__cxx11::basic_string", %"class.std::shared_ptr", %"class.std::vector", %"class.std::shared_ptr.3", %"class.std::shared_ptr.6", %"class.std::shared_ptr.9", %"class.std::shared_ptr.9", %"class.std::shared_ptr.9", %"class.std::shared_ptr.12", %"class.std::vector.15" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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::shared_ptr.3" = type { %"class.std::__shared_ptr.4" }
%"class.std::__shared_ptr.4" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.6" = type { %"class.std::__shared_ptr.7" }
%"class.std::__shared_ptr.7" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.9" = type { %"class.std::__shared_ptr.10" }
%"class.std::__shared_ptr.10" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.12" = type { %"class.std::__shared_ptr.13" }
%"class.std::__shared_ptr.13" = type { ptr, %"class.std::__shared_count" }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = 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.starspace::Args" = type <{ %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i8, [7 x i8], double, double, double, double, double, double, double, double, double, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }>
%"struct.starspace::ParseResults" = type { float, %"class.std::vector.28", %"class.std::vector.28", %"class.std::vector" }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = 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 }

@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.10 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [17 x i8], align 1
@__PRETTY_FUNCTION__._ZN9starspace9StarSpace8evaluateEv = external hidden unnamed_addr constant [38 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [2 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9starspace9StarSpace8evaluateEv(ptr noundef nonnull align 8 dereferenceable(192) %0) #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::vector.83", align 8
  %6 = alloca %"class.std::vector.88", align 8
  %7 = alloca %"class.std::allocator.90", align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::vector.93", align 8
  %11 = alloca %"class.std::allocator.95", align 1
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::vector.23", align 8
  %14 = alloca %class.anon.98, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca %"class.std::thread", align 8
  %21 = alloca %class.anon.99, align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.100", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.100", align 8
  %25 = alloca ptr, align 8
  %26 = alloca %"struct.starspace::Metrics", align 4
  %27 = alloca i32, align 4
  %28 = alloca %"class.std::basic_ofstream", align 8
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca ptr, align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.101", align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator.101", align 8
  %34 = alloca %"struct.std::pair.78", align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %35 = load ptr, ptr %2, align 8
  %36 = getelementptr inbounds %"class.starspace::StarSpace", ptr %35, i32 0, i32 1
  %37 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %36) #8
  %38 = getelementptr inbounds %"class.starspace::Args", ptr %37, i32 0, i32 35
  %39 = load i32, ptr %38, align 4, !tbaa !9
  %40 = icmp eq i32 %39, 5
  br i1 %40, label %41, label %43

41:                                               ; preds = %1
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.39)
  call void @exit(i32 noundef 1) #9
  unreachable

43:                                               ; preds = %1
  %44 = getelementptr inbounds %"class.starspace::StarSpace", ptr %35, i32 0, i32 1
  %45 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %44) #8
  %46 = getelementptr inbounds %"class.starspace::Args", ptr %45, i32 0, i32 20
  store double 0.000000e+00, ptr %46, align 8, !tbaa !17
  %47 = getelementptr inbounds %"class.starspace::StarSpace", ptr %35, i32 0, i32 1
  %48 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %47) #8
  %49 = getelementptr inbounds %"class.starspace::Args", ptr %48, i32 0, i32 21
  store double 0.000000e+00, ptr %49, align 8, !tbaa !18
  call void @_ZN9starspace9StarSpace12loadBaseDocsEv(ptr noundef nonnull align 8 dereferenceable(192) %35)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #8
  %50 = getelementptr inbounds %"class.starspace::StarSpace", ptr %35, i32 0, i32 7
  %51 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace17InternDataHandlerELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %50) #8
  %52 = call noundef i64 @_ZNK9starspace17InternDataHandler7getSizeEv(ptr noundef nonnull align 8 dereferenceable(88) %51)
  %53 = trunc i64 %52 to i32
  store i32 %53, ptr %3, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #8
  %54 = getelementptr inbounds %"class.starspace::StarSpace", ptr %35, i32 0, i32 1
  %55 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %54) #8
  %56 = getelementptr inbounds %"class.starspace::Args", ptr %55, i32 0, i32 28
  %57 = load i32, ptr %56, align 8, !tbaa !20
  store i32 %57, ptr %4, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #8
  call void @_ZNSt6vectorISt6threadSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #8
  %58 = load i32, ptr %4, align 4, !tbaa !19
  %59 = sext i32 %58 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #8
  call void @_ZNSaIN9starspace7MetricsEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  invoke void @_ZNSt6vectorIN9starspace7MetricsESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %59, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %60 unwind label %76

60:                                               ; preds = %43
  call void @_ZNSt15__new_allocatorIN9starspace7MetricsEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #8
  %61 = load i32, ptr %3, align 4, !tbaa !19
  %62 = sext i32 %61 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #8
  call void @_ZNSaISt6vectorISt4pairIfiESaIS1_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  invoke void @_ZNSt6vectorIS_ISt4pairIfiESaIS1_EESaIS3_EEC2EmRKS4_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %62, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %63 unwind label %80

63:                                               ; preds = %60
  call void @_ZNSt15__new_allocatorISt6vectorISt4pairIfiESaIS2_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  %64 = load i32, ptr %3, align 4, !tbaa !19
  %65 = sitofp i32 %64 to float
  %66 = load i32, ptr %4, align 4, !tbaa !19
  %67 = sitofp i32 %66 to float
  %68 = fdiv float %65, %67
  %69 = invoke noundef float @_ZSt4ceilf(float noundef %68)
          to label %70 unwind label %84

70:                                               ; preds = %63
  %71 = fptosi float %69 to i32
  store i32 %71, ptr %12, align 4, !tbaa !19
  %72 = load i32, ptr %12, align 4, !tbaa !19
  %73 = icmp sgt i32 %72, 0
  br i1 %73, label %74, label %75

74:                                               ; preds = %70
  br label %89

75:                                               ; preds = %70
  call void @__assert_fail(ptr noundef @.str.40, ptr noundef @.str.10, i32 noundef 436, ptr noundef @__PRETTY_FUNCTION__._ZN9starspace9StarSpace8evaluateEv) #9
  unreachable

76:                                               ; preds = %43
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %8, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIN9starspace7MetricsEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #8
  br label %335

80:                                               ; preds = %60
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %8, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %9, align 4
  call void @_ZNSt15__new_allocatorISt6vectorISt4pairIfiESaIS2_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #8
  br label %334

84:                                               ; preds = %63
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %8, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %9, align 4
  br label %333

88:                                               ; No predecessors!
  br label %89

89:                                               ; preds = %88, %74
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #8
  call void @_ZNSt6vectorIN9starspace12ParseResultsESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  %90 = getelementptr inbounds %"class.starspace::StarSpace", ptr %35, i32 0, i32 7
  %91 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace17InternDataHandlerELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %90) #8
  %92 = load i32, ptr %3, align 4, !tbaa !19
  invoke void @_ZN9starspace17InternDataHandler16getNextKExamplesEiRSt6vectorINS_12ParseResultsESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(88) %91, i32 noundef %92, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %93 unwind label %103

93:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #8
  %94 = getelementptr inbounds %class.anon.98, ptr %14, i32 0, i32 0
  store ptr %6, ptr %94, align 8, !tbaa !5
  %95 = getelementptr inbounds %class.anon.98, ptr %14, i32 0, i32 1
  store ptr %35, ptr %95, align 8, !tbaa !21
  %96 = getelementptr inbounds %class.anon.98, ptr %14, i32 0, i32 2
  store ptr %13, ptr %96, align 8, !tbaa !5
  %97 = getelementptr inbounds %class.anon.98, ptr %14, i32 0, i32 3
  store ptr %10, ptr %97, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  store i32 0, ptr %15, align 4, !tbaa !19
  br label %98

98:                                               ; preds = %145, %93
  %99 = load i32, ptr %15, align 4, !tbaa !19
  %100 = load i32, ptr %4, align 4, !tbaa !19
  %101 = icmp slt i32 %99, %100
  br i1 %101, label %107, label %102

102:                                              ; preds = %98
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  br label %159

103:                                              ; preds = %89
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %8, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %9, align 4
  br label %332

107:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  %108 = load i32, ptr %15, align 4, !tbaa !19
  %109 = load i32, ptr %12, align 4, !tbaa !19
  %110 = mul nsw i32 %108, %109
  store i32 %110, ptr %17, align 4, !tbaa !19
  %111 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %112 unwind label %125

112:                                              ; preds = %107
  %113 = load i32, ptr %111, align 4, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  store i32 %113, ptr %16, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %114 = load i32, ptr %16, align 4, !tbaa !19
  %115 = load i32, ptr %12, align 4, !tbaa !19
  %116 = add nsw i32 %114, %115
  store i32 %116, ptr %19, align 4, !tbaa !19
  %117 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %118 unwind label %129

118:                                              ; preds = %112
  %119 = load i32, ptr %117, align 4, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  store i32 %119, ptr %18, align 4, !tbaa !19
  %120 = load i32, ptr %18, align 4, !tbaa !19
  %121 = load i32, ptr %16, align 4, !tbaa !19
  %122 = icmp sge i32 %120, %121
  br i1 %122, label %123, label %124

123:                                              ; preds = %118
  br label %134

124:                                              ; preds = %118
  call void @__assert_fail(ptr noundef @.str.41, ptr noundef @.str.10, i32 noundef 452, ptr noundef @__PRETTY_FUNCTION__._ZN9starspace9StarSpace8evaluateEv) #9
  unreachable

125:                                              ; preds = %107
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %8, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  br label %158

129:                                              ; preds = %112
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %8, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %157

133:                                              ; No predecessors!
  br label %134

134:                                              ; preds = %133, %123
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %21) #8
  %135 = getelementptr inbounds %class.anon.99, ptr %21, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %135, ptr align 8 %14, i64 32, i1 false), !tbaa.struct !23
  %136 = getelementptr inbounds %class.anon.99, ptr %21, i32 0, i32 1
  %137 = load i32, ptr %15, align 4, !tbaa !19
  store i32 %137, ptr %136, align 8, !tbaa !24
  %138 = getelementptr inbounds %class.anon.99, ptr %21, i32 0, i32 2
  %139 = load i32, ptr %16, align 4, !tbaa !19
  store i32 %139, ptr %138, align 4, !tbaa !26
  %140 = getelementptr inbounds %class.anon.99, ptr %21, i32 0, i32 3
  %141 = load i32, ptr %18, align 4, !tbaa !19
  store i32 %141, ptr %140, align 8, !tbaa !27
  invoke void @"_ZNSt6threadC2IZN9starspace9StarSpace8evaluateEvE3$_1JEvEEOT_DpOT0_"(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(44) %21)
          to label %142 unwind label %148

142:                                              ; preds = %134
  %143 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt6threadSaIS0_EE12emplace_backIJS0_EEERS0_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %144 unwind label %152

144:                                              ; preds = %142
  call void @_ZNSt6threadD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  br label %145

145:                                              ; preds = %144
  %146 = load i32, ptr %15, align 4, !tbaa !19
  %147 = add nsw i32 %146, 1
  store i32 %147, ptr %15, align 4, !tbaa !19
  br label %98, !llvm.loop !28

148:                                              ; preds = %134
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %8, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %9, align 4
  br label %156

152:                                              ; preds = %142
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %8, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %9, align 4
  call void @_ZNSt6threadD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  br label %156

156:                                              ; preds = %152, %148
  call void @llvm.lifetime.end.p0(i64 48, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %157

157:                                              ; preds = %156, %129
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %158

158:                                              ; preds = %157, %125
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  br label %331

159:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  store ptr %5, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %160 = load ptr, ptr %22, align 8, !tbaa !5
  %161 = call ptr @_ZNSt6vectorISt6threadSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %160) #8
  %162 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.100", ptr %23, i32 0, i32 0
  store ptr %161, ptr %162, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %163 = load ptr, ptr %22, align 8, !tbaa !5
  %164 = call ptr @_ZNSt6vectorISt6threadSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %163) #8
  %165 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.100", ptr %24, i32 0, i32 0
  store ptr %164, ptr %165, align 8
  br label %166

166:                                              ; preds = %173, %159
  %167 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt6threadSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  br i1 %167, label %169, label %168

168:                                              ; preds = %166
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %179

169:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %170 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt6threadSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  store ptr %170, ptr %25, align 8, !tbaa !5
  %171 = load ptr, ptr %25, align 8, !tbaa !5
  invoke void @_ZNSt6thread4joinEv(ptr noundef nonnull align 8 dereferenceable(8) %171)
          to label %172 unwind label %175

172:                                              ; preds = %169
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %173

173:                                              ; preds = %172
  %174 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt6threadSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  br label %166

175:                                              ; preds = %169
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %8, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %331

179:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #8
  invoke void @_ZN9starspace7Metrics5clearEv(ptr noundef nonnull align 4 dereferenceable(24) %26)
          to label %180 unwind label %186

180:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  store i32 0, ptr %27, align 4, !tbaa !19
  br label %181

181:                                              ; preds = %210, %180
  %182 = load i32, ptr %27, align 4, !tbaa !19
  %183 = load i32, ptr %4, align 4, !tbaa !19
  %184 = icmp slt i32 %182, %183
  br i1 %184, label %190, label %185

185:                                              ; preds = %181
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  br label %213

186:                                              ; preds = %214, %213, %179
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %8, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %9, align 4
  br label %330

190:                                              ; preds = %181
  %191 = getelementptr inbounds %"class.starspace::StarSpace", ptr %35, i32 0, i32 1
  %192 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %191) #8
  %193 = getelementptr inbounds %"class.starspace::Args", ptr %192, i32 0, i32 40
  %194 = load i8, ptr %193, align 1, !tbaa !30, !range !31, !noundef !32
  %195 = trunc i8 %194 to i1
  br i1 %195, label %196, label %205

196:                                              ; preds = %190
  %197 = load i32, ptr %27, align 4, !tbaa !19
  %198 = sext i32 %197 to i64
  %199 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZNSt6vectorIN9starspace7MetricsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %198) #8
  invoke void @_ZN9starspace7Metrics5printEv(ptr noundef nonnull align 4 dereferenceable(24) %199)
          to label %200 unwind label %201

200:                                              ; preds = %196
  br label %205

201:                                              ; preds = %205, %196
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %8, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  br label %330

205:                                              ; preds = %200, %190
  %206 = load i32, ptr %27, align 4, !tbaa !19
  %207 = sext i32 %206 to i64
  %208 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZNSt6vectorIN9starspace7MetricsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %207) #8
  invoke void @_ZN9starspace7Metrics3addERKS0_(ptr noundef nonnull align 4 dereferenceable(24) %26, ptr noundef nonnull align 4 dereferenceable(24) %208)
          to label %209 unwind label %201

209:                                              ; preds = %205
  br label %210

210:                                              ; preds = %209
  %211 = load i32, ptr %27, align 4, !tbaa !19
  %212 = add nsw i32 %211, 1
  store i32 %212, ptr %27, align 4, !tbaa !19
  br label %181, !llvm.loop !33

213:                                              ; preds = %185
  invoke void @_ZN9starspace7Metrics7averageEv(ptr noundef nonnull align 4 dereferenceable(24) %26)
          to label %214 unwind label %186

214:                                              ; preds = %213
  invoke void @_ZN9starspace7Metrics5printEv(ptr noundef nonnull align 4 dereferenceable(24) %26)
          to label %215 unwind label %186

215:                                              ; preds = %214
  %216 = getelementptr inbounds %"class.starspace::StarSpace", ptr %35, i32 0, i32 1
  %217 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %216) #8
  %218 = getelementptr inbounds %"class.starspace::Args", ptr %217, i32 0, i32 3
  %219 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %218) #8
  br i1 %219, label %329, label %220

220:                                              ; preds = %215
  call void @llvm.lifetime.start.p0(i64 512, ptr %28) #8
  %221 = getelementptr inbounds %"class.starspace::StarSpace", ptr %35, i32 0, i32 1
  %222 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %221) #8
  %223 = getelementptr inbounds %"class.starspace::Args", ptr %222, i32 0, i32 3
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %28, ptr noundef nonnull align 8 dereferenceable(32) %223, i32 noundef 16)
          to label %224 unwind label %230

224:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  store i32 0, ptr %29, align 4, !tbaa !19
  br label %225

225:                                              ; preds = %317, %224
  %226 = load i32, ptr %29, align 4, !tbaa !19
  %227 = load i32, ptr %3, align 4, !tbaa !19
  %228 = icmp slt i32 %226, %227
  br i1 %228, label %234, label %229

229:                                              ; preds = %225
  store i32 10, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  br label %321

230:                                              ; preds = %220
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %8, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %9, align 4
  br label %328

234:                                              ; preds = %225
  %235 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef @.str.42)
          to label %236 unwind label %268

236:                                              ; preds = %234
  %237 = load i32, ptr %29, align 4, !tbaa !19
  %238 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %235, i32 noundef %237)
          to label %239 unwind label %268

239:                                              ; preds = %236
  %240 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %238, ptr noundef @.str.43)
          to label %241 unwind label %268

241:                                              ; preds = %239
  %242 = load i32, ptr %29, align 4, !tbaa !19
  %243 = sext i32 %242 to i64
  %244 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNSt6vectorIN9starspace12ParseResultsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %243) #8
  %245 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %244, i32 0, i32 1
  invoke void @_ZN9starspace9StarSpace8printDocERSoRKSt6vectorISt4pairIifESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(192) %35, ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(24) %245)
          to label %246 unwind label %268

246:                                              ; preds = %241
  %247 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef @.str.44)
          to label %248 unwind label %268

248:                                              ; preds = %246
  %249 = load i32, ptr %29, align 4, !tbaa !19
  %250 = sext i32 %249 to i64
  %251 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNSt6vectorIN9starspace12ParseResultsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %250) #8
  %252 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %251, i32 0, i32 2
  invoke void @_ZN9starspace9StarSpace8printDocERSoRKSt6vectorISt4pairIifESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(192) %35, ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(24) %252)
          to label %253 unwind label %268

253:                                              ; preds = %248
  %254 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef @.str.45)
          to label %255 unwind label %268

255:                                              ; preds = %253
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %256 = load i32, ptr %29, align 4, !tbaa !19
  %257 = sext i32 %256 to i64
  %258 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt4pairIfiESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %257) #8
  store ptr %258, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %259 = load ptr, ptr %31, align 8, !tbaa !5
  %260 = call ptr @_ZNSt6vectorISt4pairIfiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %259) #8
  %261 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.101", ptr %32, i32 0, i32 0
  store ptr %260, ptr %261, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %262 = load ptr, ptr %31, align 8, !tbaa !5
  %263 = call ptr @_ZNSt6vectorISt4pairIfiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %262) #8
  %264 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.101", ptr %33, i32 0, i32 0
  store ptr %263, ptr %264, align 8
  br label %265

265:                                              ; preds = %312, %255
  %266 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIfiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  br i1 %266, label %272, label %267

267:                                              ; preds = %265
  store i32 13, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %314

268:                                              ; preds = %314, %253, %248, %246, %241, %239, %236, %234
  %269 = landingpad { ptr, i32 }
          cleanup
  %270 = extractvalue { ptr, i32 } %269, 0
  store ptr %270, ptr %8, align 8
  %271 = extractvalue { ptr, i32 } %269, 1
  store i32 %271, ptr %9, align 4
  br label %320

272:                                              ; preds = %265
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %273 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIfiESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 4 %273, i64 8, i1 false)
  %274 = getelementptr inbounds %"struct.std::pair.78", ptr %34, i32 0, i32 1
  %275 = load i32, ptr %274, align 4, !tbaa !34
  %276 = icmp eq i32 %275, 0
  br i1 %276, label %277, label %295

277:                                              ; preds = %272
  %278 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef @.str.46)
          to label %279 unwind label %291

279:                                              ; preds = %277
  %280 = getelementptr inbounds %"struct.std::pair.78", ptr %34, i32 0, i32 0
  %281 = load float, ptr %280, align 4, !tbaa !37
  %282 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %278, float noundef %281)
          to label %283 unwind label %291

283:                                              ; preds = %279
  %284 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %282, ptr noundef @.str.47)
          to label %285 unwind label %291

285:                                              ; preds = %283
  %286 = load i32, ptr %29, align 4, !tbaa !19
  %287 = sext i32 %286 to i64
  %288 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNSt6vectorIN9starspace12ParseResultsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %287) #8
  %289 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %288, i32 0, i32 2
  invoke void @_ZN9starspace9StarSpace8printDocERSoRKSt6vectorISt4pairIifESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(192) %35, ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(24) %289)
          to label %290 unwind label %291

290:                                              ; preds = %285
  br label %311

291:                                              ; preds = %303, %301, %297, %295, %285, %283, %279, %277
  %292 = landingpad { ptr, i32 }
          cleanup
  %293 = extractvalue { ptr, i32 } %292, 0
  store ptr %293, ptr %8, align 8
  %294 = extractvalue { ptr, i32 } %292, 1
  store i32 %294, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %320

295:                                              ; preds = %272
  %296 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef @.str.48)
          to label %297 unwind label %291

297:                                              ; preds = %295
  %298 = getelementptr inbounds %"struct.std::pair.78", ptr %34, i32 0, i32 0
  %299 = load float, ptr %298, align 4, !tbaa !37
  %300 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %296, float noundef %299)
          to label %301 unwind label %291

301:                                              ; preds = %297
  %302 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %300, ptr noundef @.str.47)
          to label %303 unwind label %291

303:                                              ; preds = %301
  %304 = getelementptr inbounds %"class.starspace::StarSpace", ptr %35, i32 0, i32 2
  %305 = getelementptr inbounds %"struct.std::pair.78", ptr %34, i32 0, i32 1
  %306 = load i32, ptr %305, align 4, !tbaa !34
  %307 = sub nsw i32 %306, 1
  %308 = sext i32 %307 to i64
  %309 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %304, i64 noundef %308) #8
  invoke void @_ZN9starspace9StarSpace8printDocERSoRKSt6vectorISt4pairIifESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(192) %35, ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(24) %309)
          to label %310 unwind label %291

310:                                              ; preds = %303
  br label %311

311:                                              ; preds = %310, %290
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  br label %312

312:                                              ; preds = %311
  %313 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIfiESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  br label %265

314:                                              ; preds = %267
  %315 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef @.str.49)
          to label %316 unwind label %268

316:                                              ; preds = %314
  br label %317

317:                                              ; preds = %316
  %318 = load i32, ptr %29, align 4, !tbaa !19
  %319 = add nsw i32 %318, 1
  store i32 %319, ptr %29, align 4, !tbaa !19
  br label %225, !llvm.loop !38

320:                                              ; preds = %291, %268
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  br label %327

321:                                              ; preds = %229
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %28)
          to label %322 unwind label %323

322:                                              ; preds = %321
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %28) #8
  call void @llvm.lifetime.end.p0(i64 512, ptr %28) #8
  br label %329

323:                                              ; preds = %321
  %324 = landingpad { ptr, i32 }
          cleanup
  %325 = extractvalue { ptr, i32 } %324, 0
  store ptr %325, ptr %8, align 8
  %326 = extractvalue { ptr, i32 } %324, 1
  store i32 %326, ptr %9, align 4
  br label %327

327:                                              ; preds = %323, %320
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %28) #8
  br label %328

328:                                              ; preds = %327, %230
  call void @llvm.lifetime.end.p0(i64 512, ptr %28) #8
  br label %330

329:                                              ; preds = %322, %215
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #8
  call void @_ZNSt6vectorIN9starspace12ParseResultsESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @_ZNSt6vectorIS_ISt4pairIfiESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #8
  call void @_ZNSt6vectorIN9starspace7MetricsESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #8
  call void @_ZNSt6vectorISt6threadSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  ret void

330:                                              ; preds = %328, %201, %186
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #8
  br label %331

331:                                              ; preds = %330, %175, %158
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #8
  br label %332

332:                                              ; preds = %331, %103
  call void @_ZNSt6vectorIN9starspace12ParseResultsESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #8
  br label %333

333:                                              ; preds = %332, %84
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @_ZNSt6vectorIS_ISt4pairIfiESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  br label %334

334:                                              ; preds = %333, %80
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #8
  call void @_ZNSt6vectorIN9starspace7MetricsESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  br label %335

335:                                              ; preds = %334, %76
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #8
  call void @_ZNSt6vectorISt6threadSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  br label %336

336:                                              ; preds = %335
  %337 = load ptr, ptr %8, align 8
  %338 = load i32, ptr %9, align 4
  %339 = insertvalue { ptr, i32 } poison, ptr %337, 0
  %340 = insertvalue { ptr, i32 } %339, i32 %338, 1
  resume { ptr, i32 } %340
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK9starspace17InternDataHandler7getSizeEv(ptr noundef nonnull align 8 dereferenceable(88)) #1 align 2

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

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

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

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

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

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

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

declare void @_ZN9starspace17InternDataHandler16getNextKExamplesEiRSt6vectorINS_12ParseResultsESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24)) #5

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt6threadC2IZN9starspace9StarSpace8evaluateEvE3$_1JEvEEOT_DpOT0_"(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(44)) unnamed_addr #4 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt6threadSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #7

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

declare void @_ZNSt6thread4joinEv(ptr noundef nonnull align 8 dereferenceable(8)) #5

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIfiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #7

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

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

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

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

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { noreturn 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, !15, i64 516}
!10 = !{!"_ZTSN9starspace4ArgsE", !11, i64 0, !11, i64 32, !11, i64 64, !11, i64 96, !11, i64 128, !11, i64 160, !11, i64 192, !11, i64 224, !11, i64 256, !11, i64 288, !11, i64 320, !11, i64 352, !7, i64 384, !14, i64 392, !14, i64 400, !14, i64 408, !14, i64 416, !14, i64 424, !14, i64 432, !14, i64 440, !14, i64 448, !14, i64 456, !13, i64 464, !15, i64 472, !15, i64 476, !15, i64 480, !15, i64 484, !15, i64 488, !15, i64 492, !15, i64 496, !15, i64 500, !15, i64 504, !15, i64 508, !15, i64 512, !15, i64 516, !15, i64 520, !15, i64 524, !15, i64 528, !16, i64 532, !16, i64 533, !16, i64 534, !16, i64 535, !16, i64 536, !16, i64 537, !16, i64 538, !16, i64 539, !16, i64 540, !16, i64 541, !16, i64 542}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !13, i64 8, !7, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{!10, !14, i64 440}
!18 = !{!10, !14, i64 448}
!19 = !{!15, !15, i64 0}
!20 = !{!10, !15, i64 488}
!21 = !{!22, !6, i64 8}
!22 = !{!"_ZTSZN9starspace9StarSpace8evaluateEvE3$_0", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!23 = !{i64 0, i64 8, !5, i64 8, i64 8, !5, i64 16, i64 8, !5, i64 24, i64 8, !5}
!24 = !{!25, !15, i64 32}
!25 = !{!"_ZTSZN9starspace9StarSpace8evaluateEvE3$_1", !22, i64 0, !15, i64 32, !15, i64 36, !15, i64 40}
!26 = !{!25, !15, i64 36}
!27 = !{!25, !15, i64 40}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!10, !16, i64 533}
!31 = !{i8 0, i8 2}
!32 = !{}
!33 = distinct !{!33, !29}
!34 = !{!35, !15, i64 4}
!35 = !{!"_ZTSSt4pairIfiE", !36, i64 0, !15, i64 4}
!36 = !{!"float", !7, i64 0}
!37 = !{!35, !36, i64 0}
!38 = distinct !{!38, !29}


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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::vector.83" = type { %"struct.std::_Vector_base.84" }
%"struct.std::_Vector_base.84" = type { %"struct.std::_Vector_base<std::thread, std::allocator<std::thread>>::_Vector_impl" }
%"struct.std::_Vector_base<std::thread, std::allocator<std::thread>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::thread, std::allocator<std::thread>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::thread, std::allocator<std::thread>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.88" = type { %"struct.std::_Vector_base.89" }
%"struct.std::_Vector_base.89" = type { %"struct.std::_Vector_base<starspace::Metrics, std::allocator<starspace::Metrics>>::_Vector_impl" }
%"struct.std::_Vector_base<starspace::Metrics, std::allocator<starspace::Metrics>>::_Vector_impl" = type { %"struct.std::_Vector_base<starspace::Metrics, std::allocator<starspace::Metrics>>::_Vector_impl_data" }
%"struct.std::_Vector_base<starspace::Metrics, std::allocator<starspace::Metrics>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.90" = type { i8 }
%"class.std::vector.93" = type { %"struct.std::_Vector_base.94" }
%"struct.std::_Vector_base.94" = type { %"struct.std::_Vector_base<std::vector<std::pair<float, int>>, std::allocator<std::vector<std::pair<float, int>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<std::pair<float, int>>, std::allocator<std::vector<std::pair<float, int>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<std::pair<float, int>>, std::allocator<std::vector<std::pair<float, int>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<std::pair<float, int>>, std::allocator<std::vector<std::pair<float, int>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.95" = type { i8 }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<starspace::ParseResults, std::allocator<starspace::ParseResults>>::_Vector_impl" }
%"struct.std::_Vector_base<starspace::ParseResults, std::allocator<starspace::ParseResults>>::_Vector_impl" = type { %"struct.std::_Vector_base<starspace::ParseResults, std::allocator<starspace::ParseResults>>::_Vector_impl_data" }
%"struct.std::_Vector_base<starspace::ParseResults, std::allocator<starspace::ParseResults>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::thread" = type { %"class.std::thread::id" }
%"class.std::thread::id" = type { i64 }
%class.anon.99 = type <{ %class.anon.98, i32, i32, i32, [4 x i8] }>
%class.anon.98 = type { ptr, ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.100" = type { ptr }
%"struct.starspace::Metrics" = type { float, float, float, float, float, i32 }
%"class.std::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.46 }
%union.anon.46 = type { i32 }
%"class.__gnu_cxx::__normal_iterator.101" = type { ptr }

@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.10 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [17 x i8], align 1
@__PRETTY_FUNCTION__._ZN9starspace9StarSpace8evaluateEv = external hidden unnamed_addr constant [38 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [2 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9starspace7Metrics5clearEv(ptr noundef nonnull align 4 dereferenceable(24)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9starspace9StarSpace8evaluateEv(ptr noundef nonnull align 8 dereferenceable(192) %0) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca %"class.std::vector.83", align 8
  %4 = alloca %"class.std::vector.88", align 8
  %5 = alloca %"class.std::allocator.90", align 1
  %6 = alloca %"class.std::vector.93", align 8
  %7 = alloca %"class.std::allocator.95", align 1
  %8 = alloca %"class.std::vector.23", align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::thread", align 8
  %12 = alloca %class.anon.99, align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.100", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.100", align 8
  %15 = alloca %"struct.starspace::Metrics", align 4
  %16 = alloca %"class.std::basic_ofstream", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.101", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.101", align 8
  %19 = getelementptr inbounds i8, ptr %0, i64 32
  %20 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  %21 = getelementptr inbounds i8, ptr %20, i64 516
  %22 = load i32, ptr %21, align 4, !tbaa !5
  %23 = icmp eq i32 %22, 5
  br i1 %23, label %24, label %26

24:                                               ; preds = %1
  %25 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.39)
  tail call void @exit(i32 noundef 1) #8
  unreachable

26:                                               ; preds = %1
  %27 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  %28 = getelementptr inbounds i8, ptr %27, i64 440
  store double 0.000000e+00, ptr %28, align 8, !tbaa !16
  %29 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  %30 = getelementptr inbounds i8, ptr %29, i64 448
  store double 0.000000e+00, ptr %30, align 8, !tbaa !17
  tail call void @_ZN9starspace9StarSpace12loadBaseDocsEv(ptr noundef nonnull align 8 dereferenceable(192) %0)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  %31 = getelementptr inbounds i8, ptr %0, i64 136
  %32 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace17InternDataHandlerELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %31) #7
  %33 = tail call noundef i64 @_ZNK9starspace17InternDataHandler7getSizeEv(ptr noundef nonnull align 8 dereferenceable(88) %32)
  %34 = trunc i64 %33 to i32
  store i32 %34, ptr %2, align 4, !tbaa !18
  %35 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  %36 = getelementptr inbounds i8, ptr %35, i64 488
  %37 = load i32, ptr %36, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #7
  call void @_ZNSt6vectorISt6threadSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #7
  %38 = sext i32 %37 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #7
  call void @_ZNSaIN9starspace7MetricsEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  invoke void @_ZNSt6vectorIN9starspace7MetricsESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %38, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %39 unwind label %51

39:                                               ; preds = %26
  call void @_ZNSt15__new_allocatorIN9starspace7MetricsEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #7
  %40 = load i32, ptr %2, align 4, !tbaa !18
  %41 = sext i32 %40 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #7
  call void @_ZNSaISt6vectorISt4pairIfiESaIS1_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  invoke void @_ZNSt6vectorIS_ISt4pairIfiESaIS1_EESaIS3_EEC2EmRKS4_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %41, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %42 unwind label %53

42:                                               ; preds = %39
  call void @_ZNSt15__new_allocatorISt6vectorISt4pairIfiESaIS2_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  %43 = load i32, ptr %2, align 4, !tbaa !18
  %44 = sitofp i32 %43 to float
  %45 = sitofp i32 %37 to float
  %46 = fdiv float %44, %45
  %47 = call noundef float @_ZSt4ceilf(float noundef %46)
  %48 = fptosi float %47 to i32
  %49 = icmp sgt i32 %48, 0
  br i1 %49, label %55, label %50

50:                                               ; preds = %42
  call void @__assert_fail(ptr noundef nonnull @.str.40, ptr noundef nonnull @.str.10, i32 noundef 436, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN9starspace9StarSpace8evaluateEv) #8
  unreachable

51:                                               ; preds = %26
  %52 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIN9starspace7MetricsEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #7
  br label %180

53:                                               ; preds = %39
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorISt4pairIfiESaIS2_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  br label %179

55:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #7
  call void @_ZNSt6vectorIN9starspace12ParseResultsESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  %56 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace17InternDataHandlerELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %31) #7
  %57 = load i32, ptr %2, align 4, !tbaa !18
  invoke void @_ZN9starspace17InternDataHandler16getNextKExamplesEiRSt6vectorINS_12ParseResultsESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(88) %56, i32 noundef %57, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %.preheader65 unwind label %65

.preheader65:                                     ; preds = %55
  %58 = icmp sgt i32 %37, 0
  br i1 %58, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader65
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %12, i64 8
  %.sroa.627.0..sroa_idx = getelementptr inbounds i8, ptr %12, i64 16
  %.sroa.7.0..sroa_idx = getelementptr inbounds i8, ptr %12, i64 24
  %59 = getelementptr inbounds i8, ptr %12, i64 32
  %60 = getelementptr inbounds i8, ptr %12, i64 36
  %61 = getelementptr inbounds i8, ptr %12, i64 40
  br label %67

._crit_edge:                                      ; preds = %78, %.preheader65
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %62 = call ptr @_ZNSt6vectorISt6threadSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  store ptr %62, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %63 = call ptr @_ZNSt6vectorISt6threadSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  store ptr %63, ptr %14, align 8
  %64 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt6threadSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  br i1 %64, label %.lr.ph68, label %._crit_edge69

65:                                               ; preds = %55
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %178

67:                                               ; preds = %.lr.ph, %78
  %.04766 = phi i32 [ 0, %.lr.ph ], [ %79, %78 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #7
  %68 = mul nuw nsw i32 %.04766, %48
  store i32 %68, ptr %9, align 4, !tbaa !18
  %69 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %70 = load i32, ptr %69, align 4, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  %71 = add nsw i32 %70, %48
  store i32 %71, ptr %10, align 4, !tbaa !18
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %73 = load i32, ptr %72, align 4, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  %.not = icmp slt i32 %73, %70
  br i1 %.not, label %74, label %75

74:                                               ; preds = %67
  call void @__assert_fail(ptr noundef nonnull @.str.41, ptr noundef nonnull @.str.10, i32 noundef 452, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN9starspace9StarSpace8evaluateEv) #8
  unreachable

75:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #7
  store ptr %4, ptr %12, align 8, !tbaa !20
  store ptr %0, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !20
  store ptr %8, ptr %.sroa.627.0..sroa_idx, align 8, !tbaa !20
  store ptr %6, ptr %.sroa.7.0..sroa_idx, align 8, !tbaa !20
  store i32 %.04766, ptr %59, align 8, !tbaa !21
  store i32 %70, ptr %60, align 4, !tbaa !24
  store i32 %73, ptr %61, align 8, !tbaa !25
  invoke void @"_ZNSt6threadC2IZN9starspace9StarSpace8evaluateEvE3$_1JEvEEOT_DpOT0_"(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(44) %12)
          to label %76 unwind label %80

76:                                               ; preds = %75
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt6threadSaIS0_EE12emplace_backIJS0_EEERS0_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %78 unwind label %82

78:                                               ; preds = %76
  call void @_ZNSt6threadD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  %79 = add nuw nsw i32 %.04766, 1
  %exitcond.not = icmp eq i32 %79, %37
  br i1 %exitcond.not, label %._crit_edge, label %67, !llvm.loop !26

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

82:                                               ; preds = %76
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6threadD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  br label %84

84:                                               ; preds = %82, %80
  %.pn59 = phi { ptr, i32 } [ %83, %82 ], [ %81, %80 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  br label %178

._crit_edge69:                                    ; preds = %86, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #7
  call void @_ZN9starspace7Metrics5clearEv(ptr noundef nonnull align 4 dereferenceable(24) %15)
  br i1 %58, label %.lr.ph72.preheader, label %._crit_edge73

.lr.ph72.preheader:                               ; preds = %._crit_edge69
  %wide.trip.count = zext nneg i32 %37 to i64
  br label %.lr.ph72

.lr.ph68:                                         ; preds = %._crit_edge, %86
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt6threadSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  invoke void @_ZNSt6thread4joinEv(ptr noundef nonnull align 8 dereferenceable(8) %85)
          to label %86 unwind label %89

86:                                               ; preds = %.lr.ph68
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt6threadSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  %88 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt6threadSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  br i1 %88, label %.lr.ph68, label %._crit_edge69

89:                                               ; preds = %.lr.ph68
  %90 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br label %178

._crit_edge73:                                    ; preds = %101, %._crit_edge69
  call void @_ZN9starspace7Metrics7averageEv(ptr noundef nonnull align 4 dereferenceable(24) %15)
  invoke void @_ZN9starspace7Metrics5printEv(ptr noundef nonnull align 4 dereferenceable(24) %15)
          to label %103 unwind label %91

91:                                               ; preds = %._crit_edge73
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %177

.lr.ph72:                                         ; preds = %.lr.ph72.preheader, %101
  %indvars.iv = phi i64 [ 0, %.lr.ph72.preheader ], [ %indvars.iv.next, %101 ]
  %93 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  %94 = getelementptr inbounds i8, ptr %93, i64 533
  %95 = load i8, ptr %94, align 1, !tbaa !28, !range !29, !noundef !30
  %96 = trunc nuw i8 %95 to i1
  br i1 %96, label %97, label %101

97:                                               ; preds = %.lr.ph72
  %98 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZNSt6vectorIN9starspace7MetricsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv) #7
  invoke void @_ZN9starspace7Metrics5printEv(ptr noundef nonnull align 4 dereferenceable(24) %98)
          to label %101 unwind label %99

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

101:                                              ; preds = %97, %.lr.ph72
  %102 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZNSt6vectorIN9starspace7MetricsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv) #7
  call void @_ZN9starspace7Metrics3addERKS0_(ptr noundef nonnull align 4 dereferenceable(24) %15, ptr noundef nonnull align 4 dereferenceable(24) %102)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond81.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond81.not, label %._crit_edge73, label %.lr.ph72, !llvm.loop !31

103:                                              ; preds = %._crit_edge73
  %104 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  %105 = getelementptr inbounds i8, ptr %104, i64 96
  %106 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %105) #7
  br i1 %106, label %176, label %107

107:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %16) #7
  %108 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  %109 = getelementptr inbounds i8, ptr %108, i64 96
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %16, ptr noundef nonnull align 8 dereferenceable(32) %109, i32 noundef 16)
          to label %.preheader unwind label %113

.preheader:                                       ; preds = %107
  %110 = load i32, ptr %2, align 4, !tbaa !18
  %111 = icmp sgt i32 %110, 0
  br i1 %111, label %.lr.ph78, label %._crit_edge79

.lr.ph78:                                         ; preds = %.preheader
  %112 = getelementptr inbounds i8, ptr %0, i64 48
  br label %115

._crit_edge79:                                    ; preds = %167, %.preheader
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %16)
          to label %171 unwind label %172

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

115:                                              ; preds = %.lr.ph78, %167
  %indvars.iv82 = phi i64 [ 0, %.lr.ph78 ], [ %indvars.iv.next83, %167 ]
  %116 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull @.str.42)
          to label %117 unwind label %138

117:                                              ; preds = %115
  %118 = trunc nuw nsw i64 %indvars.iv82 to i32
  %119 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %116, i32 noundef %118)
          to label %120 unwind label %138

120:                                              ; preds = %117
  %121 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %119, ptr noundef nonnull @.str.43)
          to label %122 unwind label %138

122:                                              ; preds = %120
  %123 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNSt6vectorIN9starspace12ParseResultsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv82) #7
  %124 = getelementptr inbounds i8, ptr %123, i64 8
  invoke void @_ZN9starspace9StarSpace8printDocERSoRKSt6vectorISt4pairIifESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(192) %0, ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(24) %124)
          to label %125 unwind label %138

125:                                              ; preds = %122
  %126 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull @.str.44)
          to label %127 unwind label %138

127:                                              ; preds = %125
  %128 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNSt6vectorIN9starspace12ParseResultsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv82) #7
  %129 = getelementptr inbounds i8, ptr %128, i64 32
  invoke void @_ZN9starspace9StarSpace8printDocERSoRKSt6vectorISt4pairIifESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(192) %0, ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(24) %129)
          to label %130 unwind label %138

130:                                              ; preds = %127
  %131 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull @.str.45)
          to label %132 unwind label %138

132:                                              ; preds = %130
  %133 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt4pairIfiESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv82) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  %134 = call ptr @_ZNSt6vectorISt4pairIfiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %133) #7
  store ptr %134, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  %135 = call ptr @_ZNSt6vectorISt4pairIfiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %133) #7
  store ptr %135, ptr %18, align 8
  %136 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIfiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  br i1 %136, label %.lr.ph75, label %._crit_edge76

._crit_edge76:                                    ; preds = %164, %132
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  %137 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull @.str.49)
          to label %167 unwind label %138

138:                                              ; preds = %._crit_edge76, %130, %127, %125, %122, %120, %117, %115
  %139 = landingpad { ptr, i32 }
          cleanup
  br label %174

.lr.ph75:                                         ; preds = %132, %164
  %140 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIfiESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  %.sroa.0.0.copyload = load float, ptr %140, align 4
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %140, i64 4
  %.sroa.6.0.copyload = load i32, ptr %.sroa.6.0..sroa_idx, align 4
  %141 = icmp eq i32 %.sroa.6.0.copyload, 0
  br i1 %141, label %142, label %153

142:                                              ; preds = %.lr.ph75
  %143 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull @.str.46)
          to label %144 unwind label %151

144:                                              ; preds = %142
  %145 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %143, float noundef %.sroa.0.0.copyload)
          to label %146 unwind label %151

146:                                              ; preds = %144
  %147 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %145, ptr noundef nonnull @.str.47)
          to label %148 unwind label %151

148:                                              ; preds = %146
  %149 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNSt6vectorIN9starspace12ParseResultsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv82) #7
  %150 = getelementptr inbounds i8, ptr %149, i64 32
  br label %.invoke

151:                                              ; preds = %.invoke, %157, %155, %153, %146, %144, %142
  %152 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  br label %174

153:                                              ; preds = %.lr.ph75
  %154 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull @.str.48)
          to label %155 unwind label %151

155:                                              ; preds = %153
  %156 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %154, float noundef %.sroa.0.0.copyload)
          to label %157 unwind label %151

157:                                              ; preds = %155
  %158 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %156, ptr noundef nonnull @.str.47)
          to label %159 unwind label %151

159:                                              ; preds = %157
  %160 = add nsw i32 %.sroa.6.0.copyload, -1
  %161 = sext i32 %160 to i64
  %162 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %112, i64 noundef %161) #7
  br label %.invoke

.invoke:                                          ; preds = %148, %159
  %163 = phi ptr [ %162, %159 ], [ %150, %148 ]
  invoke void @_ZN9starspace9StarSpace8printDocERSoRKSt6vectorISt4pairIifESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(192) %0, ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(24) %163)
          to label %164 unwind label %151

164:                                              ; preds = %.invoke
  %165 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIfiESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  %166 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIfiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  br i1 %166, label %.lr.ph75, label %._crit_edge76

167:                                              ; preds = %._crit_edge76
  %indvars.iv.next83 = add nuw nsw i64 %indvars.iv82, 1
  %168 = load i32, ptr %2, align 4, !tbaa !18
  %169 = sext i32 %168 to i64
  %170 = icmp slt i64 %indvars.iv.next83, %169
  br i1 %170, label %115, label %._crit_edge79, !llvm.loop !32

171:                                              ; preds = %._crit_edge79
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %16) #7
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %16) #7
  br label %176

172:                                              ; preds = %._crit_edge79
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %174

174:                                              ; preds = %138, %151, %172
  %.pn.pn = phi { ptr, i32 } [ %173, %172 ], [ %152, %151 ], [ %139, %138 ]
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %16) #7
  br label %175

175:                                              ; preds = %174, %113
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %174 ], [ %114, %113 ]
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %16) #7
  br label %177

176:                                              ; preds = %171, %103
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  call void @_ZNSt6vectorIN9starspace12ParseResultsESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @_ZNSt6vectorIS_ISt4pairIfiESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @_ZNSt6vectorIN9starspace7MetricsESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  call void @_ZNSt6vectorISt6threadSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  ret void

177:                                              ; preds = %175, %99, %91
  %.pn57 = phi { ptr, i32 } [ %100, %99 ], [ %.pn.pn.pn, %175 ], [ %92, %91 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  br label %178

178:                                              ; preds = %84, %89, %177, %65
  %.pn59.pn.pn = phi { ptr, i32 } [ %66, %65 ], [ %.pn59, %84 ], [ %90, %89 ], [ %.pn57, %177 ]
  call void @_ZNSt6vectorIN9starspace12ParseResultsESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @_ZNSt6vectorIS_ISt4pairIfiESaIS1_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  br label %179

179:                                              ; preds = %178, %53
  %.pn59.pn.pn.pn = phi { ptr, i32 } [ %.pn59.pn.pn, %178 ], [ %54, %53 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @_ZNSt6vectorIN9starspace7MetricsESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  br label %180

180:                                              ; preds = %179, %51
  %.pn59.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn59.pn.pn.pn, %179 ], [ %52, %51 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  call void @_ZNSt6vectorISt6threadSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  resume { ptr, i32 } %.pn59.pn.pn.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK9starspace17InternDataHandler7getSizeEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #1 align 2

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

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

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

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

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

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

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

declare void @_ZN9starspace17InternDataHandler16getNextKExamplesEiRSt6vectorINS_12ParseResultsESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt6threadC2IZN9starspace9StarSpace8evaluateEvE3$_1JEvEEOT_DpOT0_"(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(44)) unnamed_addr #4 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt6threadSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

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

declare void @_ZNSt6thread4joinEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9starspace7Metrics7averageEv(ptr noundef nonnull align 4 dereferenceable(24)) local_unnamed_addr #1 align 2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIfiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

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

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { noreturn 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, !14, i64 516}
!6 = !{!"_ZTSN9starspace4ArgsE", !7, i64 0, !7, i64 32, !7, i64 64, !7, i64 96, !7, i64 128, !7, i64 160, !7, i64 192, !7, i64 224, !7, i64 256, !7, i64 288, !7, i64 320, !7, i64 352, !10, i64 384, !13, i64 392, !13, i64 400, !13, i64 408, !13, i64 416, !13, i64 424, !13, i64 432, !13, i64 440, !13, i64 448, !13, i64 456, !12, i64 464, !14, i64 472, !14, i64 476, !14, i64 480, !14, i64 484, !14, i64 488, !14, i64 492, !14, i64 496, !14, i64 500, !14, i64 504, !14, i64 508, !14, i64 512, !14, i64 516, !14, i64 520, !14, i64 524, !14, i64 528, !15, i64 532, !15, i64 533, !15, i64 534, !15, i64 535, !15, i64 536, !15, i64 537, !15, i64 538, !15, i64 539, !15, i64 540, !15, i64 541, !15, i64 542}
!7 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !8, i64 0, !12, i64 8, !10, i64 16}
!8 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"double", !10, i64 0}
!14 = !{!"int", !10, i64 0}
!15 = !{!"bool", !10, i64 0}
!16 = !{!6, !13, i64 440}
!17 = !{!6, !13, i64 448}
!18 = !{!14, !14, i64 0}
!19 = !{!6, !14, i64 488}
!20 = !{!9, !9, i64 0}
!21 = !{!22, !14, i64 32}
!22 = !{!"_ZTSZN9starspace9StarSpace8evaluateEvE3$_1", !23, i64 0, !14, i64 32, !14, i64 36, !14, i64 40}
!23 = !{!"_ZTSZN9starspace9StarSpace8evaluateEvE3$_0", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24}
!24 = !{!22, !14, i64 36}
!25 = !{!22, !14, i64 40}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!6, !15, i64 533}
!29 = !{i8 0, i8 2}
!30 = !{}
!31 = distinct !{!31, !27}
!32 = distinct !{!32, !27}


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