; LLVM IR from facebookresearch/StarSpace :: src/doc_data.ll (ZNK9starspace16LayerDataHandler7convertERKNS_12ParseResultsERS1_)

; 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"

%"struct.starspace::ParseResults" = type { float, %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.25" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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 }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = 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.starspace::InternDataHandler" = type { ptr, %"class.std::shared_ptr", %"class.std::vector", i32, i32, i32, %"class.std::vector.0" }
%"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<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.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 }>
%"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] }

@.str.8 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [29 x i8], align 1
@__PRETTY_FUNCTION__._ZNK9starspace16LayerDataHandler7convertERKNS_12ParseResultsERS1_ = external hidden unnamed_addr constant [94 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [31 x i8], align 1

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

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

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

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

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

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

; Function Attrs: nounwind
declare i32 @rand() #4

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK9starspace16LayerDataHandler7convertERKNS_12ParseResultsERS1_(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(80) %1, ptr noundef nonnull align 8 dereferenceable(80) %2) unnamed_addr #2 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %14 = load ptr, ptr %4, align 8
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %15, i32 0, i32 0
  %17 = load float, ptr %16, align 8, !tbaa !9
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %18, i32 0, i32 0
  store float %17, ptr %19, align 8, !tbaa !9
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %20, i32 0, i32 1
  call void @_ZNSt6vectorISt4pairIifESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %22, i32 0, i32 2
  call void @_ZNSt6vectorISt4pairIifESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #5
  %24 = getelementptr inbounds %"class.starspace::InternDataHandler", ptr %14, i32 0, i32 1
  %25 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  %26 = getelementptr inbounds %"class.starspace::Args", ptr %25, i32 0, i32 35
  %27 = load i32, ptr %26, align 4, !tbaa !20
  %28 = icmp eq i32 %27, 0
  br i1 %28, label %29, label %72

29:                                               ; preds = %3
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %30, i32 0, i32 1
  %32 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  %33 = icmp ugt i64 %32, 0
  br i1 %33, label %34, label %35

34:                                               ; preds = %29
  br label %37

35:                                               ; preds = %29
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.8, i32 noundef 140, ptr noundef @__PRETTY_FUNCTION__._ZNK9starspace16LayerDataHandler7convertERKNS_12ParseResultsERS1_) #6
  unreachable

36:                                               ; No predecessors!
  br label %37

37:                                               ; preds = %36, %34
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %38, i32 0, i32 3
  %40 = call noundef i64 @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #5
  %41 = icmp ugt i64 %40, 0
  br i1 %41, label %42, label %43

42:                                               ; preds = %37
  br label %45

43:                                               ; preds = %37
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.8, i32 noundef 141, ptr noundef @__PRETTY_FUNCTION__._ZNK9starspace16LayerDataHandler7convertERKNS_12ParseResultsERS1_) #6
  unreachable

44:                                               ; No predecessors!
  br label %45

45:                                               ; preds = %44, %42
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %46, i32 0, i32 1
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %48, i32 0, i32 1
  %50 = getelementptr inbounds %"class.starspace::InternDataHandler", ptr %14, i32 0, i32 1
  %51 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %50) #5
  %52 = getelementptr inbounds %"class.starspace::Args", ptr %51, i32 0, i32 20
  %53 = load double, ptr %52, align 8, !tbaa !28
  %54 = fptrunc double %53 to float
  call void @_ZNK9starspace16LayerDataHandler6insertERSt6vectorISt4pairIifESaIS3_EERKS5_f(ptr noundef nonnull align 8 dereferenceable(88) %14, ptr noundef nonnull align 8 dereferenceable(24) %47, ptr noundef nonnull align 8 dereferenceable(24) %49, float noundef %54)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %55 = call i32 @rand() #5
  %56 = sext i32 %55 to i64
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %57, i32 0, i32 3
  %59 = call noundef i64 @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %58) #5
  %60 = urem i64 %56, %59
  store i64 %60, ptr %7, align 8, !tbaa !29
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %61, i32 0, i32 2
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %63, i32 0, i32 3
  %65 = load i64, ptr %7, align 8, !tbaa !29
  %66 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %64, i64 noundef %65) #5
  %67 = getelementptr inbounds %"class.starspace::InternDataHandler", ptr %14, i32 0, i32 1
  %68 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %67) #5
  %69 = getelementptr inbounds %"class.starspace::Args", ptr %68, i32 0, i32 21
  %70 = load double, ptr %69, align 8, !tbaa !30
  %71 = fptrunc double %70 to float
  call void @_ZNK9starspace16LayerDataHandler6insertERSt6vectorISt4pairIifESaIS3_EERKS5_f(ptr noundef nonnull align 8 dereferenceable(88) %14, ptr noundef nonnull align 8 dereferenceable(24) %62, ptr noundef nonnull align 8 dereferenceable(24) %66, float noundef %71)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %275

72:                                               ; preds = %3
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %73, i32 0, i32 3
  %75 = call noundef i64 @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %74) #5
  %76 = icmp ugt i64 %75, 1
  br i1 %76, label %77, label %78

77:                                               ; preds = %72
  br label %80

78:                                               ; preds = %72
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.8, i32 noundef 146, ptr noundef @__PRETTY_FUNCTION__._ZNK9starspace16LayerDataHandler7convertERKNS_12ParseResultsERS1_) #6
  unreachable

79:                                               ; No predecessors!
  br label %80

80:                                               ; preds = %79, %77
  %81 = getelementptr inbounds %"class.starspace::InternDataHandler", ptr %14, i32 0, i32 1
  %82 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %81) #5
  %83 = getelementptr inbounds %"class.starspace::Args", ptr %82, i32 0, i32 35
  %84 = load i32, ptr %83, align 4, !tbaa !20
  %85 = icmp eq i32 %84, 1
  br i1 %85, label %86, label %137

86:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %87 = call i32 @rand() #5
  %88 = sext i32 %87 to i64
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %89, i32 0, i32 3
  %91 = call noundef i64 @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %90) #5
  %92 = urem i64 %88, %91
  store i64 %92, ptr %8, align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !31
  br label %93

93:                                               ; preds = %133, %86
  %94 = load i32, ptr %9, align 4, !tbaa !31
  %95 = zext i32 %94 to i64
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %96, i32 0, i32 3
  %98 = call noundef i64 @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %97) #5
  %99 = icmp ult i64 %95, %98
  br i1 %99, label %101, label %100

100:                                              ; preds = %93
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %136

101:                                              ; preds = %93
  %102 = load i32, ptr %9, align 4, !tbaa !31
  %103 = zext i32 %102 to i64
  %104 = load i64, ptr %8, align 8, !tbaa !29
  %105 = icmp eq i64 %103, %104
  br i1 %105, label %106, label %119

106:                                              ; preds = %101
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %107, i32 0, i32 2
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %109, i32 0, i32 3
  %111 = load i32, ptr %9, align 4, !tbaa !31
  %112 = zext i32 %111 to i64
  %113 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %110, i64 noundef %112) #5
  %114 = getelementptr inbounds %"class.starspace::InternDataHandler", ptr %14, i32 0, i32 1
  %115 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %114) #5
  %116 = getelementptr inbounds %"class.starspace::Args", ptr %115, i32 0, i32 21
  %117 = load double, ptr %116, align 8, !tbaa !30
  %118 = fptrunc double %117 to float
  call void @_ZNK9starspace16LayerDataHandler6insertERSt6vectorISt4pairIifESaIS3_EERKS5_f(ptr noundef nonnull align 8 dereferenceable(88) %14, ptr noundef nonnull align 8 dereferenceable(24) %108, ptr noundef nonnull align 8 dereferenceable(24) %113, float noundef %118)
  br label %132

119:                                              ; preds = %101
  %120 = load ptr, ptr %6, align 8, !tbaa !5
  %121 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %120, i32 0, i32 1
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %122, i32 0, i32 3
  %124 = load i32, ptr %9, align 4, !tbaa !31
  %125 = zext i32 %124 to i64
  %126 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %123, i64 noundef %125) #5
  %127 = getelementptr inbounds %"class.starspace::InternDataHandler", ptr %14, i32 0, i32 1
  %128 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %127) #5
  %129 = getelementptr inbounds %"class.starspace::Args", ptr %128, i32 0, i32 20
  %130 = load double, ptr %129, align 8, !tbaa !28
  %131 = fptrunc double %130 to float
  call void @_ZNK9starspace16LayerDataHandler6insertERSt6vectorISt4pairIifESaIS3_EERKS5_f(ptr noundef nonnull align 8 dereferenceable(88) %14, ptr noundef nonnull align 8 dereferenceable(24) %121, ptr noundef nonnull align 8 dereferenceable(24) %126, float noundef %131)
  br label %132

132:                                              ; preds = %119, %106
  br label %133

133:                                              ; preds = %132
  %134 = load i32, ptr %9, align 4, !tbaa !31
  %135 = add i32 %134, 1
  store i32 %135, ptr %9, align 4, !tbaa !31
  br label %93, !llvm.loop !32

136:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %274

137:                                              ; preds = %80
  %138 = getelementptr inbounds %"class.starspace::InternDataHandler", ptr %14, i32 0, i32 1
  %139 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %138) #5
  %140 = getelementptr inbounds %"class.starspace::Args", ptr %139, i32 0, i32 35
  %141 = load i32, ptr %140, align 4, !tbaa !20
  %142 = icmp eq i32 %141, 2
  br i1 %142, label %143, label %194

143:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %144 = call i32 @rand() #5
  %145 = sext i32 %144 to i64
  %146 = load ptr, ptr %5, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %146, i32 0, i32 3
  %148 = call noundef i64 @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %147) #5
  %149 = urem i64 %145, %148
  store i64 %149, ptr %10, align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !31
  br label %150

150:                                              ; preds = %190, %143
  %151 = load i32, ptr %11, align 4, !tbaa !31
  %152 = zext i32 %151 to i64
  %153 = load ptr, ptr %5, align 8, !tbaa !5
  %154 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %153, i32 0, i32 3
  %155 = call noundef i64 @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %154) #5
  %156 = icmp ult i64 %152, %155
  br i1 %156, label %158, label %157

157:                                              ; preds = %150
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %193

158:                                              ; preds = %150
  %159 = load i32, ptr %11, align 4, !tbaa !31
  %160 = zext i32 %159 to i64
  %161 = load i64, ptr %10, align 8, !tbaa !29
  %162 = icmp eq i64 %160, %161
  br i1 %162, label %163, label %176

163:                                              ; preds = %158
  %164 = load ptr, ptr %6, align 8, !tbaa !5
  %165 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %164, i32 0, i32 1
  %166 = load ptr, ptr %5, align 8, !tbaa !5
  %167 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %166, i32 0, i32 3
  %168 = load i32, ptr %11, align 4, !tbaa !31
  %169 = zext i32 %168 to i64
  %170 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %167, i64 noundef %169) #5
  %171 = getelementptr inbounds %"class.starspace::InternDataHandler", ptr %14, i32 0, i32 1
  %172 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %171) #5
  %173 = getelementptr inbounds %"class.starspace::Args", ptr %172, i32 0, i32 20
  %174 = load double, ptr %173, align 8, !tbaa !28
  %175 = fptrunc double %174 to float
  call void @_ZNK9starspace16LayerDataHandler6insertERSt6vectorISt4pairIifESaIS3_EERKS5_f(ptr noundef nonnull align 8 dereferenceable(88) %14, ptr noundef nonnull align 8 dereferenceable(24) %165, ptr noundef nonnull align 8 dereferenceable(24) %170, float noundef %175)
  br label %189

176:                                              ; preds = %158
  %177 = load ptr, ptr %6, align 8, !tbaa !5
  %178 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %177, i32 0, i32 2
  %179 = load ptr, ptr %5, align 8, !tbaa !5
  %180 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %179, i32 0, i32 3
  %181 = load i32, ptr %11, align 4, !tbaa !31
  %182 = zext i32 %181 to i64
  %183 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %180, i64 noundef %182) #5
  %184 = getelementptr inbounds %"class.starspace::InternDataHandler", ptr %14, i32 0, i32 1
  %185 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %184) #5
  %186 = getelementptr inbounds %"class.starspace::Args", ptr %185, i32 0, i32 21
  %187 = load double, ptr %186, align 8, !tbaa !30
  %188 = fptrunc double %187 to float
  call void @_ZNK9starspace16LayerDataHandler6insertERSt6vectorISt4pairIifESaIS3_EERKS5_f(ptr noundef nonnull align 8 dereferenceable(88) %14, ptr noundef nonnull align 8 dereferenceable(24) %178, ptr noundef nonnull align 8 dereferenceable(24) %183, float noundef %188)
  br label %189

189:                                              ; preds = %176, %163
  br label %190

190:                                              ; preds = %189
  %191 = load i32, ptr %11, align 4, !tbaa !31
  %192 = add i32 %191, 1
  store i32 %192, ptr %11, align 4, !tbaa !31
  br label %150, !llvm.loop !34

193:                                              ; preds = %157
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %273

194:                                              ; preds = %137
  %195 = getelementptr inbounds %"class.starspace::InternDataHandler", ptr %14, i32 0, i32 1
  %196 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %195) #5
  %197 = getelementptr inbounds %"class.starspace::Args", ptr %196, i32 0, i32 35
  %198 = load i32, ptr %197, align 4, !tbaa !20
  %199 = icmp eq i32 %198, 3
  br i1 %199, label %200, label %244

200:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %201 = call i32 @rand() #5
  %202 = sext i32 %201 to i64
  %203 = load ptr, ptr %5, align 8, !tbaa !5
  %204 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %203, i32 0, i32 3
  %205 = call noundef i64 @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %204) #5
  %206 = urem i64 %202, %205
  store i64 %206, ptr %12, align 8, !tbaa !29
  %207 = load ptr, ptr %6, align 8, !tbaa !5
  %208 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %207, i32 0, i32 1
  %209 = load ptr, ptr %5, align 8, !tbaa !5
  %210 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %209, i32 0, i32 3
  %211 = load i64, ptr %12, align 8, !tbaa !29
  %212 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %210, i64 noundef %211) #5
  %213 = getelementptr inbounds %"class.starspace::InternDataHandler", ptr %14, i32 0, i32 1
  %214 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %213) #5
  %215 = getelementptr inbounds %"class.starspace::Args", ptr %214, i32 0, i32 20
  %216 = load double, ptr %215, align 8, !tbaa !28
  %217 = fptrunc double %216 to float
  call void @_ZNK9starspace16LayerDataHandler6insertERSt6vectorISt4pairIifESaIS3_EERKS5_f(ptr noundef nonnull align 8 dereferenceable(88) %14, ptr noundef nonnull align 8 dereferenceable(24) %208, ptr noundef nonnull align 8 dereferenceable(24) %212, float noundef %217)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  br label %218

218:                                              ; preds = %226, %200
  %219 = call i32 @rand() #5
  %220 = sext i32 %219 to i64
  %221 = load ptr, ptr %5, align 8, !tbaa !5
  %222 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %221, i32 0, i32 3
  %223 = call noundef i64 @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %222) #5
  %224 = urem i64 %220, %223
  %225 = trunc i64 %224 to i32
  store i32 %225, ptr %13, align 4, !tbaa !31
  br label %226

226:                                              ; preds = %218
  %227 = load i64, ptr %12, align 8, !tbaa !29
  %228 = load i32, ptr %13, align 4, !tbaa !31
  %229 = zext i32 %228 to i64
  %230 = icmp eq i64 %227, %229
  br i1 %230, label %218, label %231, !llvm.loop !35

231:                                              ; preds = %226
  %232 = load ptr, ptr %6, align 8, !tbaa !5
  %233 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %232, i32 0, i32 2
  %234 = load ptr, ptr %5, align 8, !tbaa !5
  %235 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %234, i32 0, i32 3
  %236 = load i32, ptr %13, align 4, !tbaa !31
  %237 = zext i32 %236 to i64
  %238 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %235, i64 noundef %237) #5
  %239 = getelementptr inbounds %"class.starspace::InternDataHandler", ptr %14, i32 0, i32 1
  %240 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %239) #5
  %241 = getelementptr inbounds %"class.starspace::Args", ptr %240, i32 0, i32 21
  %242 = load double, ptr %241, align 8, !tbaa !30
  %243 = fptrunc double %242 to float
  call void @_ZNK9starspace16LayerDataHandler6insertERSt6vectorISt4pairIifESaIS3_EERKS5_f(ptr noundef nonnull align 8 dereferenceable(88) %14, ptr noundef nonnull align 8 dereferenceable(24) %233, ptr noundef nonnull align 8 dereferenceable(24) %238, float noundef %243)
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %272

244:                                              ; preds = %194
  %245 = getelementptr inbounds %"class.starspace::InternDataHandler", ptr %14, i32 0, i32 1
  %246 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %245) #5
  %247 = getelementptr inbounds %"class.starspace::Args", ptr %246, i32 0, i32 35
  %248 = load i32, ptr %247, align 4, !tbaa !20
  %249 = icmp eq i32 %248, 4
  br i1 %249, label %250, label %271

250:                                              ; preds = %244
  %251 = load ptr, ptr %6, align 8, !tbaa !5
  %252 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %251, i32 0, i32 1
  %253 = load ptr, ptr %5, align 8, !tbaa !5
  %254 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %253, i32 0, i32 3
  %255 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %254, i64 noundef 0) #5
  %256 = getelementptr inbounds %"class.starspace::InternDataHandler", ptr %14, i32 0, i32 1
  %257 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %256) #5
  %258 = getelementptr inbounds %"class.starspace::Args", ptr %257, i32 0, i32 20
  %259 = load double, ptr %258, align 8, !tbaa !28
  %260 = fptrunc double %259 to float
  call void @_ZNK9starspace16LayerDataHandler6insertERSt6vectorISt4pairIifESaIS3_EERKS5_f(ptr noundef nonnull align 8 dereferenceable(88) %14, ptr noundef nonnull align 8 dereferenceable(24) %252, ptr noundef nonnull align 8 dereferenceable(24) %255, float noundef %260)
  %261 = load ptr, ptr %6, align 8, !tbaa !5
  %262 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %261, i32 0, i32 2
  %263 = load ptr, ptr %5, align 8, !tbaa !5
  %264 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %263, i32 0, i32 3
  %265 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %264, i64 noundef 1) #5
  %266 = getelementptr inbounds %"class.starspace::InternDataHandler", ptr %14, i32 0, i32 1
  %267 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %266) #5
  %268 = getelementptr inbounds %"class.starspace::Args", ptr %267, i32 0, i32 21
  %269 = load double, ptr %268, align 8, !tbaa !30
  %270 = fptrunc double %269 to float
  call void @_ZNK9starspace16LayerDataHandler6insertERSt6vectorISt4pairIifESaIS3_EERKS5_f(ptr noundef nonnull align 8 dereferenceable(88) %14, ptr noundef nonnull align 8 dereferenceable(24) %262, ptr noundef nonnull align 8 dereferenceable(24) %265, float noundef %270)
  br label %271

271:                                              ; preds = %250, %244
  br label %272

272:                                              ; preds = %271, %231
  br label %273

273:                                              ; preds = %272, %193
  br label %274

274:                                              ; preds = %273, %136
  br label %275

275:                                              ; preds = %274, %45
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #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 = { 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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { 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, !11, i64 0}
!10 = !{!"_ZTSN9starspace12ParseResultsE", !11, i64 0, !12, i64 8, !12, i64 32, !16, i64 56}
!11 = !{!"float", !7, i64 0}
!12 = !{!"_ZTSSt6vectorISt4pairIifESaIS1_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseISt4pairIifESaIS1_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseISt4pairIifESaIS1_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseISt4pairIifESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!16 = !{!"_ZTSSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseISt6vectorISt4pairIifESaIS2_EESaIS4_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseISt6vectorISt4pairIifESaIS2_EESaIS4_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseISt6vectorISt4pairIifESaIS2_EESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!21, !26, i64 516}
!21 = !{!"_ZTSN9starspace4ArgsE", !22, i64 0, !22, i64 32, !22, i64 64, !22, i64 96, !22, i64 128, !22, i64 160, !22, i64 192, !22, i64 224, !22, i64 256, !22, i64 288, !22, i64 320, !22, i64 352, !7, i64 384, !25, i64 392, !25, i64 400, !25, i64 408, !25, i64 416, !25, i64 424, !25, i64 432, !25, i64 440, !25, i64 448, !25, i64 456, !24, i64 464, !26, i64 472, !26, i64 476, !26, i64 480, !26, i64 484, !26, i64 488, !26, i64 492, !26, i64 496, !26, i64 500, !26, i64 504, !26, i64 508, !26, i64 512, !26, i64 516, !26, i64 520, !26, i64 524, !26, i64 528, !27, i64 532, !27, i64 533, !27, i64 534, !27, i64 535, !27, i64 536, !27, i64 537, !27, i64 538, !27, i64 539, !27, i64 540, !27, i64 541, !27, i64 542}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !23, i64 0, !24, i64 8, !7, i64 16}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!24 = !{!"long", !7, i64 0}
!25 = !{!"double", !7, i64 0}
!26 = !{!"int", !7, i64 0}
!27 = !{!"bool", !7, i64 0}
!28 = !{!21, !25, i64 440}
!29 = !{!24, !24, i64 0}
!30 = !{!21, !25, i64 448}
!31 = !{!26, !26, i64 0}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = distinct !{!34, !33}
!35 = distinct !{!35, !33}


; 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"

@.str.8 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [29 x i8], align 1
@__PRETTY_FUNCTION__._ZNK9starspace16LayerDataHandler7convertERKNS_12ParseResultsERS1_ = external hidden unnamed_addr constant [94 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [31 x i8], align 1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9starspace16LayerDataHandler6insertERSt6vectorISt4pairIifESaIS3_EERKS5_f(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), float noundef) 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 #2

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

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK9starspace16LayerDataHandler7convertERKNS_12ParseResultsERS1_(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(80) %1, ptr noundef nonnull align 8 dereferenceable(80) %2) unnamed_addr #1 align 2 {
  %4 = load float, ptr %1, align 8, !tbaa !5
  store float %4, ptr %2, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %2, i64 8
  tail call void @_ZNSt6vectorISt4pairIifESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  %6 = getelementptr inbounds i8, ptr %2, i64 32
  tail call void @_ZNSt6vectorISt4pairIifESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  %8 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  %9 = getelementptr inbounds i8, ptr %8, i64 516
  %10 = load i32, ptr %9, align 4, !tbaa !19
  %11 = icmp eq i32 %10, 0
  br i1 %11, label %12, label %30

12:                                               ; preds = %3
  %13 = getelementptr inbounds i8, ptr %1, i64 8
  %14 = tail call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #4
  %.not = icmp eq i64 %14, 0
  br i1 %.not, label %15, label %16

15:                                               ; preds = %12
  tail call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.8, i32 noundef 140, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK9starspace16LayerDataHandler7convertERKNS_12ParseResultsERS1_) #5
  unreachable

16:                                               ; preds = %12
  %17 = getelementptr inbounds i8, ptr %1, i64 56
  %18 = tail call noundef i64 @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #4
  %.not55 = icmp eq i64 %18, 0
  br i1 %.not55, label %19, label %20

19:                                               ; preds = %16
  tail call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.8, i32 noundef 141, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK9starspace16LayerDataHandler7convertERKNS_12ParseResultsERS1_) #5
  unreachable

20:                                               ; preds = %16
  %21 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  %22 = getelementptr inbounds i8, ptr %21, i64 440
  %23 = load double, ptr %22, align 8, !tbaa !27
  %24 = fptrunc double %23 to float
  tail call void @_ZNK9starspace16LayerDataHandler6insertERSt6vectorISt4pairIifESaIS3_EERKS5_f(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %13, float noundef %24)
  %25 = tail call i32 @rand() #4
  %26 = sext i32 %25 to i64
  %27 = tail call noundef i64 @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #4
  %28 = urem i64 %26, %27
  %29 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %28) #4
  br label %.loopexit.sink.split

30:                                               ; preds = %3
  %31 = getelementptr inbounds i8, ptr %1, i64 56
  %32 = tail call noundef i64 @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #4
  %33 = icmp ugt i64 %32, 1
  br i1 %33, label %35, label %34

34:                                               ; preds = %30
  tail call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.8, i32 noundef 146, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK9starspace16LayerDataHandler7convertERKNS_12ParseResultsERS1_) #5
  unreachable

35:                                               ; preds = %30
  %36 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  %37 = getelementptr inbounds i8, ptr %36, i64 516
  %38 = load i32, ptr %37, align 4, !tbaa !19
  %39 = icmp eq i32 %38, 1
  br i1 %39, label %40, label %57

40:                                               ; preds = %35
  %41 = tail call i32 @rand() #4
  %42 = sext i32 %41 to i64
  %43 = tail call noundef i64 @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #4
  %44 = urem i64 %42, %43
  %45 = tail call noundef i64 @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #4
  %.not61 = icmp eq i64 %45, 0
  br i1 %.not61, label %.loopexit, label %.lr.ph59

.lr.ph59:                                         ; preds = %40, %.lr.ph59
  %46 = phi i64 [ %54, %.lr.ph59 ], [ 0, %40 ]
  %.058 = phi i32 [ %53, %.lr.ph59 ], [ 0, %40 ]
  %47 = icmp eq i64 %44, %46
  %.84 = select i1 %47, i64 448, i64 440
  %.85 = select i1 %47, ptr %6, ptr %5
  %48 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %46) #4
  %49 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  %50 = getelementptr inbounds i8, ptr %49, i64 %.84
  %51 = load double, ptr %50, align 8, !tbaa !28
  %52 = fptrunc double %51 to float
  tail call void @_ZNK9starspace16LayerDataHandler6insertERSt6vectorISt4pairIifESaIS3_EERKS5_f(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(24) %.85, ptr noundef nonnull align 8 dereferenceable(24) %48, float noundef %52)
  %53 = add i32 %.058, 1
  %54 = zext i32 %53 to i64
  %55 = tail call noundef i64 @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #4
  %56 = icmp ugt i64 %55, %54
  br i1 %56, label %.lr.ph59, label %.loopexit, !llvm.loop !29

57:                                               ; preds = %35
  %58 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  %59 = getelementptr inbounds i8, ptr %58, i64 516
  %60 = load i32, ptr %59, align 4, !tbaa !19
  %61 = icmp eq i32 %60, 2
  br i1 %61, label %62, label %79

62:                                               ; preds = %57
  %63 = tail call i32 @rand() #4
  %64 = sext i32 %63 to i64
  %65 = tail call noundef i64 @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #4
  %66 = urem i64 %64, %65
  %67 = tail call noundef i64 @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #4
  %.not60 = icmp eq i64 %67, 0
  br i1 %.not60, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %62, %.lr.ph
  %68 = phi i64 [ %76, %.lr.ph ], [ 0, %62 ]
  %.05157 = phi i32 [ %75, %.lr.ph ], [ 0, %62 ]
  %69 = icmp eq i64 %66, %68
  %.87 = select i1 %69, i64 440, i64 448
  %.88 = select i1 %69, ptr %5, ptr %6
  %70 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %68) #4
  %71 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  %72 = getelementptr inbounds i8, ptr %71, i64 %.87
  %73 = load double, ptr %72, align 8, !tbaa !28
  %74 = fptrunc double %73 to float
  tail call void @_ZNK9starspace16LayerDataHandler6insertERSt6vectorISt4pairIifESaIS3_EERKS5_f(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(24) %.88, ptr noundef nonnull align 8 dereferenceable(24) %70, float noundef %74)
  %75 = add i32 %.05157, 1
  %76 = zext i32 %75 to i64
  %77 = tail call noundef i64 @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #4
  %78 = icmp ugt i64 %77, %76
  br i1 %78, label %.lr.ph, label %.loopexit, !llvm.loop !31

79:                                               ; preds = %57
  %80 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  %81 = getelementptr inbounds i8, ptr %80, i64 516
  %82 = load i32, ptr %81, align 4, !tbaa !19
  %83 = icmp eq i32 %82, 3
  br i1 %83, label %84, label %103

84:                                               ; preds = %79
  %85 = tail call i32 @rand() #4
  %86 = sext i32 %85 to i64
  %87 = tail call noundef i64 @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #4
  %88 = urem i64 %86, %87
  %89 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %88) #4
  %90 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  %91 = getelementptr inbounds i8, ptr %90, i64 440
  %92 = load double, ptr %91, align 8, !tbaa !27
  %93 = fptrunc double %92 to float
  tail call void @_ZNK9starspace16LayerDataHandler6insertERSt6vectorISt4pairIifESaIS3_EERKS5_f(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %89, float noundef %93)
  br label %94

94:                                               ; preds = %94, %84
  %95 = tail call i32 @rand() #4
  %96 = sext i32 %95 to i64
  %97 = tail call noundef i64 @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #4
  %98 = urem i64 %96, %97
  %99 = and i64 %98, 4294967295
  %100 = icmp eq i64 %88, %99
  br i1 %100, label %94, label %101, !llvm.loop !32

101:                                              ; preds = %94
  %102 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %99) #4
  br label %.loopexit.sink.split

103:                                              ; preds = %79
  %104 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  %105 = getelementptr inbounds i8, ptr %104, i64 516
  %106 = load i32, ptr %105, align 4, !tbaa !19
  %107 = icmp eq i32 %106, 4
  br i1 %107, label %108, label %.loopexit

108:                                              ; preds = %103
  %109 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef 0) #4
  %110 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  %111 = getelementptr inbounds i8, ptr %110, i64 440
  %112 = load double, ptr %111, align 8, !tbaa !27
  %113 = fptrunc double %112 to float
  tail call void @_ZNK9starspace16LayerDataHandler6insertERSt6vectorISt4pairIifESaIS3_EERKS5_f(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %109, float noundef %113)
  %114 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef 1) #4
  br label %.loopexit.sink.split

.loopexit.sink.split:                             ; preds = %20, %108, %101
  %.sink79 = phi ptr [ %102, %101 ], [ %114, %108 ], [ %29, %20 ]
  %115 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  %116 = getelementptr inbounds i8, ptr %115, i64 448
  %117 = load double, ptr %116, align 8, !tbaa !33
  %118 = fptrunc double %117 to float
  tail call void @_ZNK9starspace16LayerDataHandler6insertERSt6vectorISt4pairIifESaIS3_EERKS5_f(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %.sink79, float noundef %118)
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph, %.lr.ph59, %.loopexit.sink.split, %62, %40, %103
  ret void
}

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

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

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


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