; LLVM IR from TrainingByPackt/CPP-Data-Structures-and-Algorithm-Design-Principles :: Lesson4/Activity10 (mapreduce_wordcount)

; 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::lock_guard" = type { ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"struct.std::pair" = type <{ %"struct.std::_Rb_tree_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"struct.std::pair.9" = type { %"class.std::__cxx11::basic_string", %"class.std::shared_ptr.11" }
%"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.11" = type { %"class.std::__shared_ptr.12" }
%"class.std::__shared_ptr.12" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.boost::filesystem::path" = type { %"class.std::__cxx11::basic_string" }
%"class.mapreduce::datasource::detail::file_handler.2" = type { ptr, %"class.std::shared_ptr.3" }
%"class.std::shared_ptr.3" = type { %"class.std::__shared_ptr.4" }
%"class.std::__shared_ptr.4" = type { ptr, %"class.std::__shared_count" }
%"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data" = type { %"class.std::map", %"class.std::mutex", %"class.std::__cxx11::basic_string" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::shared_ptr<mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data::detail>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::shared_ptr<mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data::detail>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::shared_ptr<mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data::detail>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::shared_ptr<mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data::detail>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%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 }
%"struct.std::pair.14" = type { %"class.std::__cxx11::basic_string", %"class.std::shared_ptr.11" }
%"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data::detail" = type { %"class.boost::iostreams::mapped_file", i64, i64 }
%"class.boost::iostreams::mapped_file" = type { [8 x i8], %"class.boost::iostreams::mapped_file_source" }
%"class.boost::iostreams::mapped_file_source" = type { %"class.boost::shared_ptr" }
%"class.boost::shared_ptr" = type { ptr, %"class.boost::detail::shared_count" }
%"class.boost::detail::shared_count" = type { ptr }
%"struct.mapreduce::specification" = type { i64, i64, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i64 }
%"struct.std::pair.16" = type { ptr, i64 }

@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.2 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [160 x i8], align 1
@__PRETTY_FUNCTION__._ZNK9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE8get_dataERKS8_RSC_ = external hidden unnamed_addr constant [280 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [24 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare i32 @__gxx_personality_v0(...)

; 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: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE8get_dataERKS8_RSC_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(16) %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.std::lock_guard", align 8
  %9 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %13 = alloca %"struct.std::pair", align 8
  %14 = alloca %"struct.std::pair.9", align 8
  %15 = alloca %"class.std::shared_ptr.11", align 8
  %16 = alloca { ptr, i8 }, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca %"class.boost::filesystem::path", align 8
  %21 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %22 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %23 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %24 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %25 = alloca ptr, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %30 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %31 = getelementptr inbounds %"class.mapreduce::datasource::detail::file_handler.2", ptr %30, i32 0, i32 1
  %32 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4dataELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %31) #7
  %33 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data", ptr %32, i32 0, i32 1
  call void @_ZNSt10lock_guardISt5mutexEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(40) %33)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS6_S0_IPKcmEE4data6detailEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %34 = getelementptr inbounds %"class.mapreduce::datasource::detail::file_handler.2", ptr %30, i32 0, i32 1
  %35 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4dataELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %34) #7
  %36 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data", ptr %35, i32 0, i32 2
  %37 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %36) #7
  br i1 %37, label %38, label %137

38:                                               ; preds = %3
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %"class.mapreduce::datasource::detail::file_handler.2", ptr %30, i32 0, i32 1
  %41 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4dataELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %40) #7
  %42 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data", ptr %41, i32 0, i32 2
  %43 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 8 dereferenceable(32) %39)
          to label %44 unwind label %71

44:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #7
  %45 = getelementptr inbounds %"class.mapreduce::datasource::detail::file_handler.2", ptr %30, i32 0, i32 1
  %46 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4dataELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %45) #7
  %47 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data", ptr %46, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 48, ptr %14) #7
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #7
  invoke void @_ZSt11make_sharedIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailEJEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueESJ_E4typeEEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.11") align 8 %15)
          to label %49 unwind label %75

49:                                               ; preds = %44
  invoke void @_ZSt9make_pairIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS5_St4pairIPKcmEE4data6detailEEESD_INSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENSL_INSM_IT0_E4typeEE6__typeEEOSN_OSS_(ptr dead_on_unwind writable sret(%"struct.std::pair.9") align 8 %14, ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %50 unwind label %79

50:                                               ; preds = %49
  %51 = invoke { ptr, i8 } @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS5_St4pairIPKcmEE4data6detailEESt4lessIS5_ESaISB_IKS5_SI_EEE6insertISB_IS5_SI_EEENSt9enable_ifIXsr16is_constructibleISM_T_EE5valueESB_ISt17_Rb_tree_iteratorISM_EbEE4typeEOSS_(ptr noundef nonnull align 8 dereferenceable(48) %47, ptr noundef nonnull align 8 dereferenceable(48) %14)
          to label %52 unwind label %83

52:                                               ; preds = %50
  store { ptr, i8 } %51, ptr %16, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %16, i64 9, i1 false)
  %53 = getelementptr inbounds %"struct.std::pair", ptr %13, i32 0, i32 0
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS6_S0_IPKcmEE4data6detailEEEEC2ERKSt17_Rb_tree_iteratorISK_E(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %53) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %12, i64 8, i1 false), !tbaa.struct !9
  call void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS5_S_IPKcmEE4data6detailEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #7
  call void @_ZNSt12__shared_ptrIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %54 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS6_S0_IPKcmEE4data6detailEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %55 = getelementptr inbounds %"struct.std::pair.14", ptr %54, i32 0, i32 1
  store ptr %55, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %56 = load ptr, ptr %17, align 8, !tbaa !5
  %57 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %56) #7
  %58 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data::detail", ptr %57, i32 0, i32 0
  store ptr %58, ptr %18, align 8, !tbaa !5
  %59 = load ptr, ptr %18, align 8, !tbaa !5
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN5boost9iostreams11mapped_file4openINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRKT_St13_Ios_Openmodeml(ptr noundef nonnull align 8 dereferenceable(24) %59, ptr noundef nonnull align 8 dereferenceable(32) %60, i32 noundef 8, i64 noundef -1, i64 noundef 0)
          to label %61 unwind label %89

61:                                               ; preds = %52
  %62 = load ptr, ptr %18, align 8, !tbaa !5
  %63 = invoke noundef zeroext i1 @_ZNK5boost9iostreams11mapped_file7is_openEv(ptr noundef nonnull align 8 dereferenceable(24) %62)
          to label %64 unwind label %89

64:                                               ; preds = %61
  br i1 %63, label %93, label %65

65:                                               ; preds = %64
  %66 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.2)
          to label %67 unwind label %89

67:                                               ; preds = %65
  %68 = load ptr, ptr %6, align 8, !tbaa !5
  %69 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef nonnull align 8 dereferenceable(32) %68)
          to label %70 unwind label %89

70:                                               ; preds = %67
  store i1 false, ptr %4, align 1
  store i32 1, ptr %19, align 4
  br label %124

71:                                               ; preds = %38
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %10, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %11, align 4
  br label %280

75:                                               ; preds = %44
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %10, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %11, align 4
  br label %88

79:                                               ; preds = %49
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %10, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %11, align 4
  br label %87

83:                                               ; preds = %50
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %10, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %11, align 4
  call void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS5_S_IPKcmEE4data6detailEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #7
  br label %87

87:                                               ; preds = %83, %79
  call void @_ZNSt12__shared_ptrIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  br label %88

88:                                               ; preds = %87, %75
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %280

89:                                               ; preds = %108, %97, %67, %65, %61, %52
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %10, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %11, align 4
  br label %136

93:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #7
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN5boost10filesystem4pathC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %94)
          to label %95 unwind label %127

95:                                               ; preds = %93
  %96 = invoke noundef i64 @_ZN5boost10filesystem9file_sizeERKNS0_4pathE(ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %97 unwind label %131

97:                                               ; preds = %95
  %98 = load ptr, ptr %17, align 8, !tbaa !5
  %99 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %98) #7
  %100 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data::detail", ptr %99, i32 0, i32 1
  store i64 %96, ptr %100, align 8, !tbaa !10
  call void @_ZN5boost10filesystem4pathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #7
  %101 = getelementptr inbounds %"class.mapreduce::datasource::detail::file_handler.2", ptr %30, i32 0, i32 0
  %102 = load ptr, ptr %101, align 8, !tbaa !17
  %103 = getelementptr inbounds %"struct.mapreduce::specification", ptr %102, i32 0, i32 4
  %104 = load ptr, ptr %17, align 8, !tbaa !5
  %105 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %104) #7
  %106 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data::detail", ptr %105, i32 0, i32 1
  %107 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %103, ptr noundef nonnull align 8 dereferenceable(8) %106)
          to label %108 unwind label %89

108:                                              ; preds = %97
  %109 = load i64, ptr %107, align 8, !tbaa !22
  %110 = load ptr, ptr %17, align 8, !tbaa !5
  %111 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %110) #7
  %112 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data::detail", ptr %111, i32 0, i32 2
  store i64 %109, ptr %112, align 8, !tbaa !23
  %113 = load ptr, ptr %18, align 8, !tbaa !5
  %114 = invoke noundef ptr @_ZNK5boost9iostreams11mapped_file10const_dataEv(ptr noundef nonnull align 8 dereferenceable(24) %113)
          to label %115 unwind label %89

115:                                              ; preds = %108
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = getelementptr inbounds %"struct.std::pair.16", ptr %116, i32 0, i32 0
  store ptr %114, ptr %117, align 8, !tbaa !24
  %118 = load ptr, ptr %17, align 8, !tbaa !5
  %119 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %118) #7
  %120 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data::detail", ptr %119, i32 0, i32 2
  %121 = load i64, ptr %120, align 8, !tbaa !23
  %122 = load ptr, ptr %7, align 8, !tbaa !5
  %123 = getelementptr inbounds %"struct.std::pair.16", ptr %122, i32 0, i32 1
  store i64 %121, ptr %123, align 8, !tbaa !26
  store i32 0, ptr %19, align 4
  br label %124

124:                                              ; preds = %115, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  %125 = load i32, ptr %19, align 4
  switch i32 %125, label %278 [
    i32 0, label %126
  ]

126:                                              ; preds = %124
  br label %218

127:                                              ; preds = %93
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %10, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %11, align 4
  br label %135

131:                                              ; preds = %95
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %10, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %11, align 4
  call void @_ZN5boost10filesystem4pathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  br label %135

135:                                              ; preds = %131, %127
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #7
  br label %136

136:                                              ; preds = %135, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %280

137:                                              ; preds = %3
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = getelementptr inbounds %"class.mapreduce::datasource::detail::file_handler.2", ptr %30, i32 0, i32 1
  %140 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4dataELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %139) #7
  %141 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data", ptr %140, i32 0, i32 2
  %142 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %138, ptr noundef nonnull align 8 dereferenceable(32) %141) #7
  br i1 %142, label %143, label %144

143:                                              ; preds = %137
  br label %146

144:                                              ; preds = %137
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef 125, ptr noundef @__PRETTY_FUNCTION__._ZNK9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE8get_dataERKS8_RSC_) #8
  unreachable

145:                                              ; No predecessors!
  br label %146

146:                                              ; preds = %145, %143
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %147 = getelementptr inbounds %"class.mapreduce::datasource::detail::file_handler.2", ptr %30, i32 0, i32 1
  %148 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4dataELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %147) #7
  %149 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data", ptr %148, i32 0, i32 0
  %150 = load ptr, ptr %6, align 8, !tbaa !5
  %151 = invoke ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS5_St4pairIPKcmEE4data6detailEESt4lessIS5_ESaISB_IKS5_SI_EEE4findERSL_(ptr noundef nonnull align 8 dereferenceable(48) %149, ptr noundef nonnull align 8 dereferenceable(32) %150)
          to label %152 unwind label %162

152:                                              ; preds = %146
  %153 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %22, i32 0, i32 0
  store ptr %151, ptr %153, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS6_S0_IPKcmEE4data6detailEEEEC2ERKSt17_Rb_tree_iteratorISK_E(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %21, i64 8, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %154 = getelementptr inbounds %"class.mapreduce::datasource::detail::file_handler.2", ptr %30, i32 0, i32 1
  %155 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4dataELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %154) #7
  %156 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data", ptr %155, i32 0, i32 0
  %157 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS5_St4pairIPKcmEE4data6detailEESt4lessIS5_ESaISB_IKS5_SI_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %156) #7
  %158 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %24, i32 0, i32 0
  store ptr %157, ptr %158, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS6_S0_IPKcmEE4data6detailEEEEC2ERKSt17_Rb_tree_iteratorISK_E(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  %159 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS6_S0_IPKcmEE4data6detailEEEESN_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  br i1 %159, label %160, label %161

160:                                              ; preds = %152
  br label %167

161:                                              ; preds = %152
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.4, i32 noundef 127, ptr noundef @__PRETTY_FUNCTION__._ZNK9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE8get_dataERKS8_RSC_) #8
  unreachable

162:                                              ; preds = %146
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %10, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %280

166:                                              ; No predecessors!
  br label %167

167:                                              ; preds = %166, %160
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %168 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS6_S0_IPKcmEE4data6detailEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %169 = getelementptr inbounds %"struct.std::pair.14", ptr %168, i32 0, i32 1
  store ptr %169, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %170 = load ptr, ptr %25, align 8, !tbaa !5
  %171 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %170) #7
  %172 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data::detail", ptr %171, i32 0, i32 2
  %173 = load i64, ptr %172, align 8, !tbaa !23
  %174 = getelementptr inbounds %"class.mapreduce::datasource::detail::file_handler.2", ptr %30, i32 0, i32 0
  %175 = load ptr, ptr %174, align 8, !tbaa !17
  %176 = getelementptr inbounds %"struct.mapreduce::specification", ptr %175, i32 0, i32 4
  %177 = load i64, ptr %176, align 8, !tbaa !27
  %178 = add nsw i64 %173, %177
  store i64 %178, ptr %27, align 8, !tbaa !22
  %179 = load ptr, ptr %25, align 8, !tbaa !5
  %180 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %179) #7
  %181 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data::detail", ptr %180, i32 0, i32 1
  %182 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %181)
          to label %183 unwind label %209

183:                                              ; preds = %167
  %184 = load i64, ptr %182, align 8, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  store i64 %184, ptr %26, align 8, !tbaa !22
  %185 = load ptr, ptr %25, align 8, !tbaa !5
  %186 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %185) #7
  %187 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data::detail", ptr %186, i32 0, i32 0
  %188 = invoke noundef ptr @_ZNK5boost9iostreams11mapped_file10const_dataEv(ptr noundef nonnull align 8 dereferenceable(24) %187)
          to label %189 unwind label %213

189:                                              ; preds = %183
  %190 = load ptr, ptr %25, align 8, !tbaa !5
  %191 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %190) #7
  %192 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data::detail", ptr %191, i32 0, i32 2
  %193 = load i64, ptr %192, align 8, !tbaa !23
  %194 = getelementptr inbounds i8, ptr %188, i64 %193
  %195 = load ptr, ptr %7, align 8, !tbaa !5
  %196 = getelementptr inbounds %"struct.std::pair.16", ptr %195, i32 0, i32 0
  store ptr %194, ptr %196, align 8, !tbaa !24
  %197 = load i64, ptr %26, align 8, !tbaa !22
  %198 = load ptr, ptr %25, align 8, !tbaa !5
  %199 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %198) #7
  %200 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data::detail", ptr %199, i32 0, i32 2
  %201 = load i64, ptr %200, align 8, !tbaa !23
  %202 = sub i64 %197, %201
  %203 = load ptr, ptr %7, align 8, !tbaa !5
  %204 = getelementptr inbounds %"struct.std::pair.16", ptr %203, i32 0, i32 1
  store i64 %202, ptr %204, align 8, !tbaa !26
  %205 = load i64, ptr %26, align 8, !tbaa !22
  %206 = load ptr, ptr %25, align 8, !tbaa !5
  %207 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %206) #7
  %208 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data::detail", ptr %207, i32 0, i32 2
  store i64 %205, ptr %208, align 8, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %218

209:                                              ; preds = %167
  %210 = landingpad { ptr, i32 }
          cleanup
  %211 = extractvalue { ptr, i32 } %210, 0
  store ptr %211, ptr %10, align 8
  %212 = extractvalue { ptr, i32 } %210, 1
  store i32 %212, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  br label %217

213:                                              ; preds = %183
  %214 = landingpad { ptr, i32 }
          cleanup
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %10, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %11, align 4
  br label %217

217:                                              ; preds = %213, %209
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %280

218:                                              ; preds = %189, %126
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %219 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS6_S0_IPKcmEE4data6detailEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %220 = getelementptr inbounds %"struct.std::pair.14", ptr %219, i32 0, i32 1
  store ptr %220, ptr %28, align 8, !tbaa !5
  %221 = load ptr, ptr %28, align 8, !tbaa !5
  %222 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %221) #7
  %223 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data::detail", ptr %222, i32 0, i32 2
  %224 = load i64, ptr %223, align 8, !tbaa !23
  %225 = load ptr, ptr %28, align 8, !tbaa !5
  %226 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %225) #7
  %227 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data::detail", ptr %226, i32 0, i32 1
  %228 = load i64, ptr %227, align 8, !tbaa !10
  %229 = icmp eq i64 %224, %228
  br i1 %229, label %230, label %234

230:                                              ; preds = %218
  %231 = getelementptr inbounds %"class.mapreduce::datasource::detail::file_handler.2", ptr %30, i32 0, i32 1
  %232 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4dataELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %231) #7
  %233 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data", ptr %232, i32 0, i32 2
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5clearEv(ptr noundef nonnull align 8 dereferenceable(32) %233) #7
  br label %277

234:                                              ; preds = %218
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %235 = load ptr, ptr %7, align 8, !tbaa !5
  %236 = getelementptr inbounds %"struct.std::pair.16", ptr %235, i32 0, i32 0
  %237 = load ptr, ptr %236, align 8, !tbaa !24
  %238 = load ptr, ptr %7, align 8, !tbaa !5
  %239 = getelementptr inbounds %"struct.std::pair.16", ptr %238, i32 0, i32 1
  %240 = load i64, ptr %239, align 8, !tbaa !26
  %241 = getelementptr inbounds i8, ptr %237, i64 %240
  store ptr %241, ptr %29, align 8, !tbaa !5
  br label %242

242:                                              ; preds = %264, %234
  %243 = load ptr, ptr %29, align 8, !tbaa !5
  %244 = load i8, ptr %243, align 1, !tbaa !31
  %245 = sext i8 %244 to i32
  %246 = icmp ne i32 %245, 10
  br i1 %246, label %247, label %262

247:                                              ; preds = %242
  %248 = load ptr, ptr %29, align 8, !tbaa !5
  %249 = load i8, ptr %248, align 1, !tbaa !31
  %250 = sext i8 %249 to i32
  %251 = icmp ne i32 %250, 13
  br i1 %251, label %252, label %262

252:                                              ; preds = %247
  %253 = load ptr, ptr %28, align 8, !tbaa !5
  %254 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %253) #7
  %255 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data::detail", ptr %254, i32 0, i32 2
  %256 = load i64, ptr %255, align 8, !tbaa !23
  %257 = load ptr, ptr %28, align 8, !tbaa !5
  %258 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %257) #7
  %259 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data::detail", ptr %258, i32 0, i32 1
  %260 = load i64, ptr %259, align 8, !tbaa !10
  %261 = icmp ne i64 %256, %260
  br label %262

262:                                              ; preds = %252, %247, %242
  %263 = phi i1 [ false, %247 ], [ false, %242 ], [ %261, %252 ]
  br i1 %263, label %264, label %276

264:                                              ; preds = %262
  %265 = load ptr, ptr %29, align 8, !tbaa !5
  %266 = getelementptr inbounds i8, ptr %265, i32 1
  store ptr %266, ptr %29, align 8, !tbaa !5
  %267 = load ptr, ptr %7, align 8, !tbaa !5
  %268 = getelementptr inbounds %"struct.std::pair.16", ptr %267, i32 0, i32 1
  %269 = load i64, ptr %268, align 8, !tbaa !26
  %270 = add i64 %269, 1
  store i64 %270, ptr %268, align 8, !tbaa !26
  %271 = load ptr, ptr %28, align 8, !tbaa !5
  %272 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %271) #7
  %273 = getelementptr inbounds %"struct.mapreduce::datasource::detail::file_handler<std::__cxx11::basic_string<char>, std::pair<const char *, unsigned long>>::data::detail", ptr %272, i32 0, i32 2
  %274 = load i64, ptr %273, align 8, !tbaa !23
  %275 = add nsw i64 %274, 1
  store i64 %275, ptr %273, align 8, !tbaa !23
  br label %242, !llvm.loop !32

276:                                              ; preds = %262
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  br label %277

277:                                              ; preds = %276, %230
  store i1 true, ptr %4, align 1
  store i32 1, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br label %278

278:                                              ; preds = %277, %124
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @_ZNSt10lock_guardISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  %279 = load i1, ptr %4, align 1
  ret i1 %279

280:                                              ; preds = %217, %162, %136, %88, %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @_ZNSt10lock_guardISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %281

281:                                              ; preds = %280
  %282 = load ptr, ptr %10, align 8
  %283 = load i32, ptr %11, align 4
  %284 = insertvalue { ptr, i32 } poison, ptr %282, 0
  %285 = insertvalue { ptr, i32 } %284, i32 %283, 1
  resume { ptr, i32 } %285
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS5_St4pairIPKcmEE4data6detailEESt4lessIS5_ESaISB_IKS5_SI_EEE6insertISB_IS5_SI_EEENSt9enable_ifIXsr16is_constructibleISM_T_EE5valueESB_ISt17_Rb_tree_iteratorISM_EbEE4typeEOSS_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS5_St4pairIPKcmEE4data6detailEEESD_INSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENSL_INSM_IT0_E4typeEE6__typeEEOSN_OSS_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.9") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_sharedIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailEJEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueESJ_E4typeEEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.11") align 8) #3

; 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) #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS5_S_IPKcmEE4data6detailEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #5 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK5boost9iostreams11mapped_file7is_openEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #3

; 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) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN5boost10filesystem9file_sizeERKNS0_4pathE(ptr noundef nonnull align 8 dereferenceable(32)) #3

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10lock_guardISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { 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 #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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i64 0, i64 8, !5}
!10 = !{!11, !16, i64 24}
!11 = !{!"_ZTSN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailE", !12, i64 0, !16, i64 24, !16, i64 32}
!12 = !{!"_ZTSN5boost9iostreams11mapped_fileE", !13, i64 8}
!13 = !{!"_ZTSN5boost9iostreams18mapped_file_sourceE", !14, i64 0}
!14 = !{!"_ZTSN5boost10shared_ptrINS_9iostreams6detail16mapped_file_implEEE", !6, i64 0, !15, i64 8}
!15 = !{!"_ZTSN5boost6detail12shared_countE", !6, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!18, !6, i64 0}
!18 = !{!"_ZTSN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEEE", !6, i64 0, !19, i64 8}
!19 = !{!"_ZTSSt10shared_ptrIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4dataEE", !20, i64 0}
!20 = !{!"_ZTSSt12__shared_ptrIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4dataELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !21, i64 8}
!21 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!22 = !{!16, !16, i64 0}
!23 = !{!11, !16, i64 32}
!24 = !{!25, !6, i64 0}
!25 = !{!"_ZTSSt4pairIPKcmE", !6, i64 0, !16, i64 8}
!26 = !{!25, !16, i64 8}
!27 = !{!28, !16, i64 80}
!28 = !{!"_ZTSN9mapreduce13specificationE", !16, i64 0, !16, i64 8, !29, i64 16, !29, i64 48, !16, i64 80}
!29 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !30, i64 0, !16, i64 8, !7, i64 16}
!30 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!31 = !{!7, !7, i64 0}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}


; 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::lock_guard" = type { ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"struct.std::pair" = type <{ %"struct.std::_Rb_tree_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"struct.std::pair.9" = type { %"class.std::__cxx11::basic_string", %"class.std::shared_ptr.11" }
%"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.11" = type { %"class.std::__shared_ptr.12" }
%"class.std::__shared_ptr.12" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.boost::filesystem::path" = type { %"class.std::__cxx11::basic_string" }

@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.2 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [160 x i8], align 1
@__PRETTY_FUNCTION__._ZNK9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE8get_dataERKS8_RSC_ = external hidden unnamed_addr constant [280 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [24 x i8], align 1

; 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

declare i32 @__gxx_personality_v0(...)

; 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: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE8get_dataERKS8_RSC_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr nocapture noundef nonnull align 8 dereferenceable(16) %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::lock_guard", align 8
  %5 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %6 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %7 = alloca %"struct.std::pair", align 8
  %8 = alloca %"struct.std::pair.9", align 8
  %9 = alloca %"class.std::shared_ptr.11", align 8
  %10 = alloca %"class.boost::filesystem::path", align 8
  %11 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %12 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %13 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %14 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %15 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %16 = getelementptr inbounds i8, ptr %0, i64 8
  %17 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4dataELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  %18 = getelementptr inbounds i8, ptr %17, i64 48
  call void @_ZNSt10lock_guardISt5mutexEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(40) %18)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS6_S0_IPKcmEE4data6detailEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  %19 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4dataELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  %20 = getelementptr inbounds i8, ptr %19, i64 88
  %21 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  %22 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4dataELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  %23 = getelementptr inbounds i8, ptr %22, i64 88
  br i1 %21, label %24, label %79

24:                                               ; preds = %3
  %25 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %26 unwind label %43

26:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  %27 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4dataELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  invoke void @_ZSt11make_sharedIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailEJEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueESJ_E4typeEEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.11") align 8 %9)
          to label %28 unwind label %45

28:                                               ; preds = %26
  invoke void @_ZSt9make_pairIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS5_St4pairIPKcmEE4data6detailEEESD_INSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENSL_INSM_IT0_E4typeEE6__typeEEOSN_OSS_(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.9") align 8 %8, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %29 unwind label %47

29:                                               ; preds = %28
  %30 = invoke { ptr, i8 } @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS5_St4pairIPKcmEE4data6detailEESt4lessIS5_ESaISB_IKS5_SI_EEE6insertISB_IS5_SI_EEENSt9enable_ifIXsr16is_constructibleISM_T_EE5valueESB_ISt17_Rb_tree_iteratorISM_EbEE4typeEOSS_(ptr noundef nonnull align 8 dereferenceable(48) %27, ptr noundef nonnull align 8 dereferenceable(48) %8)
          to label %31 unwind label %49

31:                                               ; preds = %29
  %.fca.0.extract = extractvalue { ptr, i8 } %30, 0
  %.fca.1.extract = extractvalue { ptr, i8 } %30, 1
  store ptr %.fca.0.extract, ptr %7, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  store i8 %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS6_S0_IPKcmEE4data6detailEEEEC2ERKSt17_Rb_tree_iteratorISK_E(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  %32 = load i64, ptr %6, align 8, !tbaa !5
  store i64 %32, ptr %5, align 8, !tbaa !5
  call void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS5_S_IPKcmEE4data6detailEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #6
  call void @_ZNSt12__shared_ptrIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  %33 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS6_S0_IPKcmEE4data6detailEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  %34 = getelementptr inbounds i8, ptr %33, i64 32
  %35 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %34) #6
  invoke void @_ZN5boost9iostreams11mapped_file4openINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRKT_St13_Ios_Openmodeml(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef 8, i64 noundef -1, i64 noundef 0)
          to label %36 unwind label %53

36:                                               ; preds = %31
  %37 = invoke noundef zeroext i1 @_ZNK5boost9iostreams11mapped_file7is_openEv(ptr noundef nonnull align 8 dereferenceable(24) %35)
          to label %38 unwind label %53

38:                                               ; preds = %36
  br i1 %37, label %55, label %39

39:                                               ; preds = %38
  %40 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.2)
          to label %41 unwind label %53

41:                                               ; preds = %39
  %42 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %.critedge unwind label %53

43:                                               ; preds = %24
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %158

45:                                               ; preds = %26
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %52

47:                                               ; preds = %28
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %51

49:                                               ; preds = %29
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS5_S_IPKcmEE4data6detailEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #6
  br label %51

51:                                               ; preds = %49, %47
  %.pn = phi { ptr, i32 } [ %50, %49 ], [ %48, %47 ]
  call void @_ZNSt12__shared_ptrIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  br label %52

52:                                               ; preds = %51, %45
  %.pn.pn = phi { ptr, i32 } [ %.pn, %51 ], [ %46, %45 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %158

53:                                               ; preds = %58, %41, %39, %36, %31
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %158

55:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #6
  invoke void @_ZN5boost10filesystem4pathC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %56 unwind label %74

56:                                               ; preds = %55
  %57 = invoke noundef i64 @_ZN5boost10filesystem9file_sizeERKNS0_4pathE(ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %58 unwind label %76

58:                                               ; preds = %56
  %59 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %34) #6
  %60 = getelementptr inbounds i8, ptr %59, i64 24
  store i64 %57, ptr %60, align 8, !tbaa !9
  call void @_ZN5boost10filesystem4pathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #6
  %61 = load ptr, ptr %0, align 8, !tbaa !16
  %62 = getelementptr inbounds i8, ptr %61, i64 80
  %63 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %34) #6
  %64 = getelementptr inbounds i8, ptr %63, i64 24
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef nonnull align 8 dereferenceable(8) %64)
  %66 = load i64, ptr %65, align 8, !tbaa !21
  %67 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %34) #6
  %68 = getelementptr inbounds i8, ptr %67, i64 32
  store i64 %66, ptr %68, align 8, !tbaa !22
  %69 = invoke noundef ptr @_ZNK5boost9iostreams11mapped_file10const_dataEv(ptr noundef nonnull align 8 dereferenceable(24) %35)
          to label %.thread unwind label %53

.thread:                                          ; preds = %58
  store ptr %69, ptr %2, align 8, !tbaa !23
  %70 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %34) #6
  %71 = getelementptr inbounds i8, ptr %70, i64 32
  %72 = load i64, ptr %71, align 8, !tbaa !22
  %73 = getelementptr inbounds i8, ptr %2, i64 8
  store i64 %72, ptr %73, align 8, !tbaa !25
  br label %123

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

76:                                               ; preds = %56
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5boost10filesystem4pathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  br label %78

78:                                               ; preds = %76, %74
  %.pn54 = phi { ptr, i32 } [ %77, %76 ], [ %75, %74 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #6
  br label %158

79:                                               ; preds = %3
  %80 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(32) %23) #6
  br i1 %80, label %82, label %81

81:                                               ; preds = %79
  call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, i32 noundef 125, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE8get_dataERKS8_RSC_) #7
  unreachable

82:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %83 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4dataELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  %84 = invoke ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS5_St4pairIPKcmEE4data6detailEESt4lessIS5_ESaISB_IKS5_SI_EEE4findERSL_(ptr noundef nonnull align 8 dereferenceable(48) %83, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %85 unwind label %91

85:                                               ; preds = %82
  store ptr %84, ptr %12, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS6_S0_IPKcmEE4data6detailEEEEC2ERKSt17_Rb_tree_iteratorISK_E(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  %86 = load i64, ptr %11, align 8, !tbaa !5
  store i64 %86, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %87 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4dataELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  %88 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS5_St4pairIPKcmEE4data6detailEESt4lessIS5_ESaISB_IKS5_SI_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %87) #6
  store ptr %88, ptr %14, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS6_S0_IPKcmEE4data6detailEEEEC2ERKSt17_Rb_tree_iteratorISK_E(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  %89 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS6_S0_IPKcmEE4data6detailEEEESN_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br i1 %89, label %93, label %90

90:                                               ; preds = %85
  call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.4, i32 noundef 127, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE8get_dataERKS8_RSC_) #7
  unreachable

91:                                               ; preds = %82
  %92 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  br label %158

93:                                               ; preds = %85
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  %94 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS6_S0_IPKcmEE4data6detailEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  %95 = getelementptr inbounds i8, ptr %94, i64 32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %96 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %95) #6
  %97 = getelementptr inbounds i8, ptr %96, i64 32
  %98 = load i64, ptr %97, align 8, !tbaa !22
  %99 = load ptr, ptr %0, align 8, !tbaa !16
  %100 = getelementptr inbounds i8, ptr %99, i64 80
  %101 = load i64, ptr %100, align 8, !tbaa !26
  %102 = add nsw i64 %101, %98
  store i64 %102, ptr %15, align 8, !tbaa !21
  %103 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %95) #6
  %104 = getelementptr inbounds i8, ptr %103, i64 24
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %104)
  %106 = load i64, ptr %105, align 8, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  %107 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %95) #6
  %108 = invoke noundef ptr @_ZNK5boost9iostreams11mapped_file10const_dataEv(ptr noundef nonnull align 8 dereferenceable(24) %107)
          to label %109 unwind label %121

109:                                              ; preds = %93
  %110 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %95) #6
  %111 = getelementptr inbounds i8, ptr %110, i64 32
  %112 = load i64, ptr %111, align 8, !tbaa !22
  %113 = getelementptr inbounds i8, ptr %108, i64 %112
  store ptr %113, ptr %2, align 8, !tbaa !23
  %114 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %95) #6
  %115 = getelementptr inbounds i8, ptr %114, i64 32
  %116 = load i64, ptr %115, align 8, !tbaa !22
  %117 = sub i64 %106, %116
  %118 = getelementptr inbounds i8, ptr %2, i64 8
  store i64 %117, ptr %118, align 8, !tbaa !25
  %119 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %95) #6
  %120 = getelementptr inbounds i8, ptr %119, i64 32
  store i64 %106, ptr %120, align 8, !tbaa !22
  br label %123

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

123:                                              ; preds = %.thread, %109
  %124 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS6_S0_IPKcmEE4data6detailEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  %125 = getelementptr inbounds i8, ptr %124, i64 32
  %126 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %125) #6
  %127 = getelementptr inbounds i8, ptr %126, i64 32
  %128 = load i64, ptr %127, align 8, !tbaa !22
  %129 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %125) #6
  %130 = getelementptr inbounds i8, ptr %129, i64 24
  %131 = load i64, ptr %130, align 8, !tbaa !9
  %132 = icmp eq i64 %128, %131
  br i1 %132, label %133, label %136

133:                                              ; preds = %123
  %134 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4dataELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  %135 = getelementptr inbounds i8, ptr %134, i64 88
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5clearEv(ptr noundef nonnull align 8 dereferenceable(32) %135) #6
  br label %.critedge

136:                                              ; preds = %123
  %137 = load ptr, ptr %2, align 8, !tbaa !23
  %138 = getelementptr inbounds i8, ptr %2, i64 8
  %139 = load i64, ptr %138, align 8, !tbaa !25
  %140 = getelementptr inbounds i8, ptr %137, i64 %139
  br label %141

141:                                              ; preds = %150, %136
  %.0 = phi ptr [ %140, %136 ], [ %151, %150 ]
  %142 = load i8, ptr %.0, align 1, !tbaa !30
  switch i8 %142, label %143 [
    i8 10, label %.critedge
    i8 13, label %.critedge
  ]

143:                                              ; preds = %141
  %144 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %125) #6
  %145 = getelementptr inbounds i8, ptr %144, i64 32
  %146 = load i64, ptr %145, align 8, !tbaa !22
  %147 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %125) #6
  %148 = getelementptr inbounds i8, ptr %147, i64 24
  %149 = load i64, ptr %148, align 8, !tbaa !9
  %.not60 = icmp eq i64 %146, %149
  br i1 %.not60, label %.critedge, label %150

150:                                              ; preds = %143
  %151 = getelementptr inbounds i8, ptr %.0, i64 1
  %152 = load i64, ptr %138, align 8, !tbaa !25
  %153 = add i64 %152, 1
  store i64 %153, ptr %138, align 8, !tbaa !25
  %154 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %125) #6
  %155 = getelementptr inbounds i8, ptr %154, i64 32
  %156 = load i64, ptr %155, align 8, !tbaa !22
  %157 = add nsw i64 %156, 1
  store i64 %157, ptr %155, align 8, !tbaa !22
  br label %141, !llvm.loop !31

.critedge:                                        ; preds = %141, %141, %143, %41, %133
  %.1 = phi i1 [ true, %133 ], [ false, %41 ], [ true, %143 ], [ true, %141 ], [ true, %141 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @_ZNSt10lock_guardISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  ret i1 %.1

158:                                              ; preds = %53, %78, %121, %91, %52, %43
  %.pn56.pn = phi { ptr, i32 } [ %.pn.pn, %52 ], [ %44, %43 ], [ %122, %121 ], [ %92, %91 ], [ %54, %53 ], [ %.pn54, %78 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @_ZNSt10lock_guardISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  resume { ptr, i32 } %.pn56.pn
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS5_St4pairIPKcmEE4data6detailEESt4lessIS5_ESaISB_IKS5_SI_EEE6insertISB_IS5_SI_EEENSt9enable_ifIXsr16is_constructibleISM_T_EE5valueESB_ISt17_Rb_tree_iteratorISM_EbEE4typeEOSS_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS5_St4pairIPKcmEE4data6detailEEESD_INSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENSL_INSM_IT0_E4typeEE6__typeEEOSN_OSS_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.9") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_sharedIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailEJEESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueESJ_E4typeEEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.11") align 8) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN9mapreduce10datasource6detail12file_handlerIS5_S_IPKcmEE4data6detailEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK5boost9iostreams11mapped_file7is_openEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

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

; 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 #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN5boost10filesystem9file_sizeERKNS0_4pathE(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10lock_guardISt5mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 #6 = { nounwind }
attributes #7 = { 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 24}
!10 = !{!"_ZTSN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4data6detailE", !11, i64 0, !15, i64 24, !15, i64 32}
!11 = !{!"_ZTSN5boost9iostreams11mapped_fileE", !12, i64 8}
!12 = !{!"_ZTSN5boost9iostreams18mapped_file_sourceE", !13, i64 0}
!13 = !{!"_ZTSN5boost10shared_ptrINS_9iostreams6detail16mapped_file_implEEE", !6, i64 0, !14, i64 8}
!14 = !{!"_ZTSN5boost6detail12shared_countE", !6, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!17, !6, i64 0}
!17 = !{!"_ZTSN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEEE", !6, i64 0, !18, i64 8}
!18 = !{!"_ZTSSt10shared_ptrIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4dataEE", !19, i64 0}
!19 = !{!"_ZTSSt12__shared_ptrIN9mapreduce10datasource6detail12file_handlerINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIPKcmEE4dataELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !20, i64 8}
!20 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!21 = !{!15, !15, i64 0}
!22 = !{!10, !15, i64 32}
!23 = !{!24, !6, i64 0}
!24 = !{!"_ZTSSt4pairIPKcmE", !6, i64 0, !15, i64 8}
!25 = !{!24, !15, i64 8}
!26 = !{!27, !15, i64 80}
!27 = !{!"_ZTSN9mapreduce13specificationE", !15, i64 0, !15, i64 8, !28, i64 16, !28, i64 48, !15, i64 80}
!28 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !29, i64 0, !15, i64 8, !7, i64 16}
!29 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!30 = !{!7, !7, i64 0}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass